* 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>
* fix: the issue #762 switch loading icon has a little shift
* test: comment the table tests provisionally
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix: hide footer from range time picker so no duplicate footer
* fix: invoke onopenchange for datepicker when panel state changes
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix: rangepicker parameter error
* refactor: use EventCallback instead of Action
* refactor: use EventCallback instead of Action
* fix: rename the class name
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix(module: transfer): Fixed multiple issues
fix(module: transfer): Added localization support (LocaleProvider.CurrentLocale.Transfer). Property name is 'Locale'. #645
fix(module: transfer): Fixed no data image.
fix(module: transfer): Header alignment
fix(module: transfer): Fixed header count suffix
fix(module: transfer): Fixed a bug in the checkbox state if there is 'no item' or no 'not deactivated' item in the selection list.
fix(module: transfer): Duplicate item filter bug fixed (#711)
feat(module: transfer): Added clear button to the filter input
feat(module: transfer): Filter option is now InvariantCultureIgnoreCase (please change it if there is a problem with chinese language)
style(module: transfer): removed unused usings, fixed some style issues
docs(module: transfer): Added Local Property description - Please take a look at the chinese version (Google translate)
* Update index.zh-CN.md
Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* ### tree enhancement
1. change `TreeNode`'s `ChildNodes` accessbility to public
2. add `FindFirstOrDefaultNode` funcation
3. add `ExpandToNode` function
* fix `FindFirstOrDefaultNode` not correct recursive problem
* Update components/tree/TreeNode.razor.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor: change the name of ModalRef to ConfirmRef
in order to create a Modal dialog in service mode
BREAKING CHANGE: all using of ModalRef must rename to ConfirmRef
* refactor: chang the name of ModalTemplate to ConfirmTemplate
in order to create a Modal dialog in service mode
BREAKING CHANGE: all using of ModalTemplate must rename to ConfirmTemplate
* feat(module: modal): support creating Modal dialog from ModalService
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Replaced IdGeneratorHelper with DI service that can be replaced by user
* removed license comments and unnecessary usings
* check Id null before assigning autogenerated id
* fix: unit test
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* When Panel is set as active, call parent Collapse in case it is in a accordion mode, Allow shortcut Toggle method and always null-check referenced Collapse.
* Alllow de/activating child Panels by their keys.
* docs: update the demo and api doc
Co-authored-by: James Yeung <shunjiey@hotmail.com>