* fix(module: TreeSelect): value binding on datasource was changed
* update selection after value changed
* tree datasource change
* invoke state changed
* clean up
* clean up
* feat(module: ReuseTabs): support separate the tab from the page
* fix event invoke
* disable reuse for pages
* missing ScanReuseTabsPageAttribute
* fix ReusePages in ReuseTabs
* avoid loop ref
* fix:(module:datepicker): OnChange event in Docs project
add(module:datepicker): generic OnPanelChange event
add(module:datepicker): generic OnChange event
fix(module:datepicker): DateTimeKind is not preserved
add(module:datepicker): DateTimeOffset unit tests
add(module:datepicker): add DateTimeOffset to range picker unit tests
add(module:datepicker): refactor unit tests
fix(module:datepicker): DateTime.Kind is not preserved
feat(module: datepicker). Add DateTimeOffset, DateOnly, TimeOnly support
* fix(module:datepicker): unit test fails
* fix: moment helper test fails in VS Test Explorer in some cases
See https://xunit.net/faq/theory-data-stability-in-vs
* update the docs and demo
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale
* fix date locale
* refactor the scroll method
* fix ShortestDayNames
* update the doc
* perf: avoid memory leak #1834
Avoid memory leak by remove the exclusive parameter and logic in the code block on AddEventListener method in DomEventService class.
The following are the components affected:
components/affix/Affix.razor.cs
components/anchor/Anchor.razor.cs
components/carousel/Carousel.razor.cs
components/core/Component/Overlay/Overlay.razor.cs
components/core/Component/Overlay/OverlayTrigger.razor.cs
components/core/JsInterop/DomEventService.cs
components/descriptions/Descriptions.razor.cs
components/dropdown/DropdownButton.cs
components/grid/Row.razor.cs
components/input/Input.cs
components/input/TextArea.razor.cs
components/layout/Sider.razor.cs
components/list/ListItem.razor.cs
components/select/Select.razor.cs
components/select/internal/SelectContent.razor.cs
components/slider/Slider.razor.cs
components/table/Table.razor.cs
components/tabs/Tabs.razor.cs
* fix override AddEventListener method in AntDesign.TestKit project
* add register/remove event listerner for exclusive use in DomEventService class
* move _dotNetObjects to DomEventListerner class/service, so that users not required to maintain it in each component.
* * move share/reuse dom event listerner methods to DomEventListerner class
* remove method 'AddEventListener' that no longer exists in DomEventService class in AntDesign.TestKit project
* * change the component referring to an IDomEventListerner interface instead of a concrete class,
so that the component can be tested via a mock TestDomEventListerner.
* introduce DisposeShared and Dispose method in DomEventListerner to ease user remove callback from DomEventListerner
* register IDomEventListerner into DI container instead of create manually
* fix FormatKey
* fix FormatKey
* fix tests
* fix test
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: use ResizeObserver Api instead of window.resize
* fix(module:select): fall back to window.resize in IE11.
* fix(module:domEventService): switch from IsIE11 to IsResizeObserverSupported
* fix: Console.WriteLine removed
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* set focus when the password button is clicked
* add methods for selection
* set selectionStart after Focus
* fix typescript
* set selectionEnd as well
* fix a stupid if-condition-bug
* remove checks for element
* add selectionStart to getDomInfo
* get selectionStart from Element
* delete unneeded js method
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* 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
* 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>
* feat(module: confirm): support blocking to get the result of confirm
* refactor: change modalservice Confirm return value,add ConfirmAsync FUNC
* feat: add ConfirmService
* fix: button text
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat: add icon list for demo page of icon
* feat: add copy function for icon list
* feat: get existed icon
* feat: remove some blanks in list.razor
* feat: remove some blanks
* fix: default value is outline for icon list
* fix: click to copy for icon list
* feat: add async to load icon list
* feat: update iconlistService
* chore: update icons
* fix: icon load async
* feat: add application icons in IconlistServices
* fix: remove the exist icon from existed catogory if duplicated
* fix: add @key for list items
* fix: revert the change
Co-authored-by: ElderJames <shunjiey@hotmail.com>