* 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>
* fix(module:select): value no longer reset on datasource set
* fix(module:select): dataSource change detection
* fix: improve datasource detection
add item & set value in SelectOption
* tests: scenario from issue #1207
* fix: DataSourceEqualityComparer default
* fix: second opening of focus in modal fails if DestroyOnClose is false
* fix: confirm cannot get focus element
* fix: set ConfirmAutoFocusButton is OK
* fix: module ImagePreview cannot close on second click
* fix: blur active element when comfirm focus element is disabled
* Update Tag compliance with Blazor conventions
Add the missing 'd' to CheckedChanged callback in order to properly support two ways binding on the Checked property
* Fix references to renamed method in Tag component
* Update tests for Tag
Co-authored-by: Stefano Drussi <stefano.driussi@hotmail.it>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* use date in datetime filter
* fix spelling errors
* Restore changes and add Date and Month FilterCompareOperator
* hide time when filter date or month
* Remove the month FilterCompareOperator
* add locale data
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:rangePicker): year & month skip
* fix(module:rangePicker): extra space removed on 2nd picker
* fix(module:rangePicker): when ShowTime, click on OK moves to other picker
* fix(module:rangePicker): adjust year skip button
* fix(module:rangePicker): focus issue resolution
* fix(module:rangePicker): remove incorrect value from input
Co-authored-by: James Yeung <shunjiey@hotmail.com>