* 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>
* 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>
* (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: add table filter
* add filter buttons
* fix filter menu
* make filter work
* support multiple filters
* delete the old files
* support single select
* 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
* 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>