* fix(module: dropdown): default PlacementType is incorrect in RTL mode
* fix(module: datepicker): not correct in RTL mode
* fix(module: datepicker): styles is incorrect when switch to LTR from RTL
Co-authored-by: James Yeung <shunjiey@hotmail.com>
feat(module:table): add support for Display attribute
Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.
Closes#1278
* refactor: support to use the same template for confirm and modal
* refactor: support to use the same template for drawer
* refactor: separate interface IOkCancelRef
* chore: modify EventUtil class summary
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:table): guard against false entries in _dataSourceCache
* fix(module:table): perf - double to single render on datasource change
* fix(module:table): perf optimization to avoid multiple renders
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:select): add loading for multiple mode
* fix(module:select): selected items duplication for multiple mode when values changed outside the component
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: datepicker): DatePicker DisabledDate works incorect
* test(module: dateHelperTests): modify test case
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: Form lable supports left alignment
* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs
* Delete Col.razor.cs
* no message
* PR:1292
* typo LabelAlign
* add the property in Col instead FormItem
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:rate): prevent reset to default value
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* (fix) Table ExpandableRow not working with ActionColumn #1284
* Add Tree Button Expand on Action Columm.
Check the position of Selection Column when calculate the position for expand button on tree mode and expand mode.
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* fix null reference exception
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* add description to chart documentation
* translate general configuration to english.
* apply trailling color and adjust documentation a bit
* remove typo
* apply trail color for circle type aswell
* fix Chinese demo doc
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix: add class name prefix for zoom and slide-up animations.
* fix(module: popconfirm): fix animation
* fix(module: popover): correct animation, sync de
* Add TestDomEventService to TestBase
* chore(tests): update to net5
* feat(testdomeventservice): override eventdomservice to null
* fix(AddEventListener): make AddEventListener virtual
* feat(test): add basic overlay test
* fix(name): make name .cs
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:select): reset value when changed to non-existing
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:select) _setLabel not needed for non-tags
fix for exception when label is a property with getter only
* fix(module:select): bind-Value lock if changed outside component
* fix(module:Select): overlay reposition SelectContent resize
* fix(module: modal): sync animation class name with official
* fix(module: message): sync animation class name with official
* fix(module: notification): sync animation class name with official
* fix(module:TextArea): sizing bug for components outside viewport
* fix(module:textarea): single js method to get textarea info
* fix(module:textArea): clean up unnecessary slice
* fix(module:textarea): autosize has proper effect
* chore: adjusting the release cycle and versioning
* fix(module:textarea): resize on type fix
* fix white line
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* refactor(module: select): use Func to get or set value instead of reflection
* refactor(module: select): add delegate cache
* chore: add DelegateCacheKeyComparer
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: add table filter
* add filter buttons
* fix filter menu
* make filter work
* support multiple filters
* delete the old files
* support single select
* fix(module:datepicker):date typing, enter behavior, overlay toggle, key navigation
* fix(module:datetime): picker value set to previous on key actions
* fix(module:select): new tag item label and value fix
* fix: interop firefox "Permission Denied" fix
* fix(module:select): prefixIcon styling and positioning
* feat: Add a pull-down effect to Cascader (integrated Overlay components)
* switch trigger to unbound div
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix(module:datepicker): incorrect date format strings fix
culture set takes effect
fallback to default local when locale json does not exist
* fix(module:datepicker): do not replace Locale if is set in attribute
* Update Step.razor.cs
I believe that we should be invoking a State Change here. Currently the navigation is not working otherwise.
* Update Step.razor.cs
Resolved error from Disposal
* fix(module:overlay): remove obsolete js call
check for Ref.Id before any js operation on it
* fix(module:table): js interop exceptions on dispose
* docs(module:slider): typo fix
* docs(module:spider): typ
* fix(module:form): form.reset() will make new editContext
fixes 947
* fix(module:form): validation is reset when model changes
fixes 851
fixes 982
fixes 991
* feat(module:form): validation reset method
* Added Static class IconType for intellisense
* Added: Static Class Generator
* move the generator file to cli
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat(module:overlay): OverlayTrigger not bound to a div
* feat(module:overlay): OverlayTrigger not bound to a div
* feat(module:overlay): Logic transfer to single Overlay
* feat(module:overlay): remove obsolete duplication
* feat(module:Tooltip): Add for unbounded oncontextmenu event handler
* feat(module:tooltip): unbound js event listeners remove
* docs(module:tooltip): unbound explanation
* fix(module:button): attach Ref to top level html element @ref
* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div
* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation
* feat(module:OverlayTrigger): common logic relocation
* feat(module:overlaytrigger): Overlay not bound to a div
* feat(module:DatePicker): Overlay not bound to a div
* feat(module:select): Overlay not boud to div
* fix(module:select): onclickarrow event relocation
* fix(module:select): rename Show to OnArrowClick
* feat(module:avatar): Overlay not bound to a div
* docs(module:avatar): demo switch to unbound version
* feat(module:autocomplete): partial OverlayTrigger not bound to a div
* feat(module:slider): tooltip
* docs(module:slider): tooltip
* fix(module:overlay): add SetVisible method
* feat: set Ref where missing, performance
components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix
* fix: revert changes (accidental)
* feat(module:upload): tooltip with unbound usage
* feat(module:table): column use of unbound tooltip
* feat(module:autocomplete):overlay unbound from div
* fix(module:upload): missing div restore
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: date-picker): year would out of range
* prevent out of range
* add two methods
* fix(module: datepicker): out of range error
* fix: decadePanel is still out of range
Co-authored-by: 钟迪龙 <musicvs@163.com>
* fix(module:DatePicker): input OnClick has new event handler
* fix(module:DateTime): remove misleading reliance on picker index
* fix(module: DatePicker & RangePicker): DefaultValue type change
DefaultValue type change to align with Value type
* fix(module:rangepicker): add default values helper with tests
* fix(module:datepicker): ChangePickerValue action declaration fix
Picker value is served based on input index (start/end)
* fix(module:DatePicker): optimization
ViewStartDate, MaxRow & MaxCol do not cause refresh if not changed
* fix(module:DatePicker): min date fix
ArgumentOutOfRangeException fix for dates before DateTime.MinValue
* fix(module:RangePicker): sorted values
Values get ordered on set
* fix(module:DatePicker): OneOf switch to TValue
* fix(module:DatePicker): code optimization and PickerValue fix
PickerValue fix gets first panel value and evaluates second panel value
* fix(module:DatePicker): default values evaluation
* fix(module:RangePicker): default picker value fix
* docs(module:DatePicker): switch to TValue for DefaultValue
* fix(module:RangePicker): other value picker fix
* fix(module:RangePicker): on value init include DefaultValue
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Issue#915,and fix the issue that can not render correctly when change carousel DotPosition
* Resolve exception exception of server side when refresh the browser.
* Fix Fade style.
* refactor(module: modal): refactor the code of Modal, Confirm and Dialog
refactor details:
- Add DialogWrapper compontent to control the logic of dialog removal from DOM
- Add the appropriate folders for Dialog, Modal, and Confirm
- Remove methods with the same logic but different names in ConfirmService
- Split Title into Title (string) and Titletemplate (renderfragment)
- Add comments to code
- Rename ConfirmDialog to Confirm
- Specification of method name in ConfirmService
- Adjust the time of throttle function for draggabe modal
- Extract the common part of ModalOptions, ConfirmOptions and DialogOptions as DialogOptionsBase
* refactor: move DefaultCloseIcon etc. static members to DialogOptionsBase
* docs(module: modal): update docs
* fix: dialog incorrect waiting
* fix: pickup missing pr/7
* Expose SubMenu's Placement
The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.
* Try fix#922
I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.
* Just optimize code style
* fix(module:slider): drag lag and reposition fix
remove unnecessary check from OnMouseMove
change position calculation - remove handle size
* fix(module:slider): text select issue while slider drag fix
* fix: remove the style
* clean value
* fix(module:slider): text select while slider drag fix
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* Implement optional key debouncing
* Fixes & refactor
* Force update value on blur
* Only change value on blur if debounce is disabled
* fix: default to enable debounce and change value on blur directly
Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix(module: alert): make description element visible if passed in ChildContent (#875)
* docs(module: alert): modified example - instead of Description parameter ChildContent is used (#875)
* fix:(module: slider): changed to lock to clicked edge
add new OnMouseDownEdge event handler to razor and base class to detect which edge was clicked
add new helper method IsMoveInEdgeBoundary and helper variables
add IsMoveInEdgeBoundary evaluation to OnMouseMove and OnMouseUp event handlers to detec if
value update needs to run
feature: added click-able edges to support forcing of left/right scenarios
* fix:(module:slider): Range property replaced with nullable backing field.
Evaluation of Range is happening in getter (only first time).
Removed evaluation of Range from OnInitialized().
* fix:(module:slider): Reset _leftValue & _rightValue when both change.
Fixes the prolem when both lef&right values are changing significantly compared to original values.
* fix:(module:slider): single edge slider was broken after previous commits
changed IsMoveInEdgeBoundary method to handle null event arguments
added OnMouseDownEdge event to single edged slider
* fix(module:slider): change Value evaluation to handle reversed order
value property is overridden to ensure the delivered tuple is in ascending order
fixes#867
* fix(module:slider): change evaluation of left and right values
fixes#865
* fix(module:slider) reverse parameter is refreshing styles on change
fixes #
* feat(module: table): add TitleTemplate for column title
* fix: action column templated title and add a demo
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat(module: form): make the form validator customizable
* docs: simplify form custom validators demo
* modify the demo
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* start trying to add a different first day of the week based on localization.
* add first day of week parameter and get weekday local from .net
* fix some issues
* extend demo
* remove no longed needed Locale parameter
* fix range for selection
* add german localization
* add entry for API section
* remove obsolet things from the react ant documentation
* add description to chart documentation
* translate general configuration to english.
* code cleanup
* use LocalProvider to get first day of week.
* use localeprovider instead of date picker localization
* remove no longer used parameter
* delete no longer used interface
* change from enum to string due to parsing issue.
* add missing formats and use culture info from localprovider
* correct locales
* us Sunday as a default
* remove no longer used culture info parameter
* adjust locales
* add parameter for Locale instead of directly accessing it.
* add inheritance to access locale
* typo
* readd culture info parameter
* fixes for locale jsons
* adjust demo and api
* small adjustments on docs, set monday in chinese as first day of the week.
* use locale in calendar as well.
* adjust docs
* use enum
* adjust demo
* adjust for different starting date.
* add defaults for DatePickerLocale
* add short week days to locale files
* use days from locale file
* code cleanup
use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.
* not sure about the chinese translation so I remove them
* Revert "not sure about the chinese translation so I remove them"
This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
* fix(module: modal): throw error when using ModalService (#807)
If ModalOptions.AfterClose is null, the exception will be thrown: delegate to an instance method cannot have null 'this'
* refactor: use automatic properties for ModalOptions
* Add OnRowClick to Table component
This adds a new Parameter to the Table component called OnRowClick that will trigger whenever a user clicks on any of the rows in the table.
* Updated Table row click to pass RowData
* refactor: clean code
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* Fix ribbon syle
Text color was same as background color.
* Ribbon documentation
Added two ribbon examples with color set (preset and custom)
* fix : badgeribbon html content
Html content must be the same as in the react version
* revert changes
We don't change less files. They are copied from react version.
* revert
* tests: fix badgeribbon unit tests
Modified expected html to match markup from react version.
* Update tests/badge/RibbonTests.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>