Commit Graph

1361 Commits

Author SHA1 Message Date
zxyao
bfb9e3a56f
fix(module: modal): repeated cleaning dom (#3665) (#3673)
* fix: repeated cleaning dom

* fix: OOM

* fix build

* fix lint

* remove the event handler

* remove handler after element was deleted

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-28 23:29:48 +08:00
zxyao
28e195806d
fix(module: message): Message non thread safe (#3698)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-28 23:29:00 +08:00
agolub-s
2fb0dcfeee
fix(module: select): Disable showing placeholder when input string is not null (#3701) 2024-02-28 23:04:08 +08:00
edwardbarford
d6f88c2bb4
fix(module: select): run OnValueChange from OnParametersSet when form ValidateOnChange = true (#3703)
When the parent Form has ValidateOnChange = true the OnValueChange method needs to be executed
when OnParametersSet executes in order to set the newly selected
option.
2024-02-27 22:13:38 +08:00
James Yeung
3213255d23
fix(module: table): DateField filter would throw exception when property type is nullable. (#3704) 2024-02-27 20:07:51 +08:00
James Yeung
d6bb7be446
chore: add eslint (#3702)
* setup eslint

* fix eslint issues

* add lint check in PR checks
2024-02-27 12:42:10 +08:00
Zonciu Liang
474008e867
feat(module: form): add dynamic model support to Form component powered by DataIndex (#3612)
* feat: add DataIndex support to Form component

* fix validation

* fix:(module: form): model change event when using Name

* fix demo

* fix dictionary binding

* revert changes

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-25 18:11:43 +08:00
James Yeung
d9426244f8
fix(module: select): incorrect html title for selected item label (#3695) 2024-02-23 08:53:32 +08:00
James Yeung
e68b3a0446
feat(module: select): support table select (#3693) 2024-02-22 23:11:23 +08:00
James Yeung
c31fd48874
fix(module: radio): checked style issue cause by preent default (#3694) 2024-02-22 22:47:51 +08:00
thirking
f3e0ec96e1
fix(module: table): fixed header shadow style (#3691)
Co-authored-by: thirking <king2381955@sina.com>
2024-02-21 23:57:42 +08:00
thirking
28e2da5b47
fix(module: table): default scrollbar style (#3668)
* fix default scroll style

* add client dimension service

* update demo

---------

Co-authored-by: thirking <king2381955@sina.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-20 23:50:25 +08:00
m-khrapunov
0f0a18429b
fix(module: table): filter carriage jump (#3683) 2024-02-20 22:46:14 +08:00
James Yeung
c3b3947ccd
fix(module: table): remove loading and show no data when datasource is abstract and empty (#3688) 2024-02-20 22:44:41 +08:00
James Yeung
1b8a9c3a93
fix(module: select): DropdownRender doesn't pass original content into renderfargment (#3675)
* fix(module: select): dropdown render doesn't pass original content into renderfargment

* fix select box width

* fix aria-label
2024-02-08 12:58:16 +08:00
thirking
bc4041eefc
fix(module: card): enable change tab size in card (#3661)
Co-authored-by: thirking <king2381955@sina.com>
2024-02-05 12:33:36 +08:00
Sebastian Jura
a9841a873b
fix(module: segmented): fix label in SegmentedOption constructor (#3659) 2024-02-02 08:28:36 +08:00
zxyao
84c3c5ffe1
refactor(module: modal): the implementation of dragger (#3647) 2024-01-31 19:54:13 +08:00
James Yeung
ca4de37e59
fix(module: select): disabled the search input box (#3655) 2024-01-28 22:27:52 +08:00
James Yeung
00334c7dcb
fix(module: collapse): Accordion doesn't work (#3646) 2024-01-22 23:32:27 +08:00
Magehernan
6be332a220
fix(module: select): Fix scroll in select not working correctly when EnableVirtualization is true. (#3625)
* (module: select) Fix scroll in select not working correctly when EnableVirtualization is true.

* Go back to original code.

Implemente more simple but works fine without need of complex changes.
Added to demo other select with single item and default.
2024-01-21 17:47:53 +08:00
James Yeung
bdc1e4f827
fix(module: table): selection works incorrectly (#3635)
* fix(module: table): selectall work incorrectly

* fix cache

* update demo

* prerender load datasource every time
2024-01-17 23:06:09 +08:00
zxyao
58d5c7956c
fix(module: modal): js exceptions (#3634) 2024-01-17 22:55:11 +08:00
zxyao
4284527638
fix(module: modal): dom instance clear when url changed (#3613) (#3630)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-01-14 23:59:04 +08:00
James Yeung
92fc594240
fix(module: select): placholder doesn't hide correctly (#3628) 2024-01-13 02:12:42 +08:00
James Yeung
5d02b0b53e
fix(module: table): should flush cache only pagging (#3620) 2024-01-09 19:48:43 +08:00
James Yeung
8585feb5d0
fix(module: table): thrown exception when property type is char (#3617) 2024-01-09 07:57:35 +08:00
James Yeung
b619e4bc1a
fix(module: table): UnselectAll() was not work (#3618) 2024-01-09 07:55:10 +08:00
James Yeung
8726233478
fix(module: menu): wrong judge (#3614) 2024-01-07 22:03:31 +08:00
James Yeung
6a4147a5a2
feat: add more options for js initializers (#3610)
* add more options for js initializers

* update the doc
2024-01-04 22:06:25 +08:00
James Yeung
f9332f2f53
fix(module: table): caches page data multiple times on remote data source mode (#3611) 2024-01-04 22:04:41 +08:00
James Yeung
8cbb511630
fix(module: table): avoid duplicated row key (#3594) 2023-12-26 23:54:18 +08:00
James Yeung
fed59ee5b8
fix(module: select): avoid selected item being set to 0 when the default value of TItem is 0 (#3595) 2023-12-26 23:36:33 +08:00
James Yeung
15b4a81a51
feat: add support for custom script/style import locations (#3596)
* feat: add support for custom script/style import locations

* fix test
2023-12-26 23:20:16 +08:00
James Yeung
42c8304222
Merge pull request #3590 from ant-design-blazor/feature
Merge feature to master
2023-12-26 00:02:52 +08:00
MarvelTiter_yaoqinglin
4451315af1
feat(module: select): add LabelProperty, ValueProperty and DisabledPredicate as expression-style api (#3569)
* fix(module: select):add parameter for SelectOption component which should be used when SelectOption was created directly and TItem is different with TItemValue

* feat(module: select): add parameter that support use delegate to set option label and value

* rename XXXGetter to OptionXXXExpression

* rename OptionXXXExpression to OptionXXXProperty

* refactor

* fix tests

* fix test

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-12-25 23:23:04 +08:00
James Yeung
157cc3974d
fix(module: select): avoid search value binding while the IME is during composition status (#3583)
* fix(module: select): avoid search value binding while the IME is during  composition status

* fix whitespace was ignored in search box
2023-12-25 23:18:39 +08:00
James Yeung
33a32d7398
fix(module: tree): need to show all nodes while search value is empty (#3587) 2023-12-25 22:46:37 +08:00
James Yeung
a790691187
feat(module: radio): add button style support for RadioGroup with options (#3589)
* feat(module: radio): add button style support for RadioGroup with options

* fix test
2023-12-25 22:40:28 +08:00
James Yeung
b5bd1893a8
feat(module: menu): add submenu collapse montion (#3395)
* feat(module: menu): add submenu collapse montion

* add Animation parameter
2023-12-24 23:58:16 +08:00
James Yeung
8d16de6953
fix(module: table): rows can't rerender in some cases (#3586) 2023-12-24 22:02:20 +08:00
James Yeung
70212f6eb3
fix(module: input): hide the clear icon when the input was disabled (#3585) 2023-12-24 21:46:49 +08:00
James Yeung
452ec76986
feat(module: collapse): add Animation parameter (#3562) 2023-12-23 17:41:07 +08:00
James Yeung
befc310746
fix(module: input): textarea missing rows attribute (#3561)
* fix(module: input): textarea missing rows attribute

* fix tests
2023-12-23 14:38:37 +08:00
zxyao
fd73cc980f
fix(module select): simulate setTimeout, ensure that the click event is processed properly (#3525)
* fix(module select): dom symmetrical difference event

* refactor: selector

* fix: test

fix: bunit cannot handle js event

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-12-23 11:23:16 +08:00
m-khrapunov
517fee6316
fix(module: table): JSException on filter input autofocus (#3543)
* fix(module: table): JSException on filter input autofocus

* fix FilterDropdownOnVisibleChange signature
2023-12-21 22:31:20 +08:00
James Yeung
4b8d70401e
feat(core): setup JS initializers (#3557)
* feat(core): setup js initializers

* remove the script importing section from docs
2023-12-21 22:09:41 +08:00
James Yeung
977467909c
feat(module: flex): add flex component (#3547)
* feat(module: flex): add flex

* add doc and demo
2023-12-20 23:33:20 +08:00
James Yeung
487cb08a73
feat(module: tabs): reusetabs supports the interactive auto mode (#3564)
* add a entity to store the routedata

* reusetabs interactive

* avoid null routedata

* only need reload first page on browser

* fix ReuseTabsRouteData

* fix resue tabs navigate exception

* fix reusetabs page rendering

* fix
2023-12-20 23:30:15 +08:00
James Yeung
d303d9cdb8
fix(module: table): clear the selection state after pages was changed outside (#3577) 2023-12-19 21:44:23 +08:00