Commit Graph

1466 Commits

Author SHA1 Message Date
Pat Hartl
7be4807c47
feat(module: modal): support customized header (#3579)
* feat(module: form): Add Method and FormName parameter for Form (#3608)

* Add Method parameter

* Add also the FormName parameter

* add documentation

* update documentation

* use Name instead of new FormName

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: select): Add FilterExpression on select for customize how to filter when searching (#3656)

* Add FilterExpression on select for customize how to filter when searching

* Remove CultureInfo as parameter for filter.

Update example and documentation.

* Change FilterExpression to send the SelectOptionItem instead of the label to have more options to make the search.

* Add test for filterExpression to check is working fine with the default and custom.

* feat(module: comment): avatar placement (#3670)

* feat(module: tabs): add  CreatePage method for reusetabs (#3671)

* Update ReuseTabsService.cs

pr3660

* Update ReuseTabsService.cs

* Update ReuseTabsService.cs

* refactor

* fix build error

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* Add Header RenderFragment parameter to dialogs for customizable headers

* refactor header

* add a demo

---------

Co-authored-by: Sebastian Jura <sebajura1234@gmail.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: jxcproject <cazyyan86@163.com>
2024-03-01 22:36:19 +08:00
jxcproject
d4270a9eae feat(module: tabs): add CreatePage method for reusetabs (#3671)
* Update ReuseTabsService.cs

pr3660

* Update ReuseTabsService.cs

* Update ReuseTabsService.cs

* refactor

* fix build error

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-29 23:50:50 +08:00
James Yeung
d75d1bb042 feat(module: comment): avatar placement (#3670) 2024-02-29 23:50:50 +08:00
Magehernan
5d530947ff feat(module: select): Add FilterExpression on select for customize how to filter when searching (#3656)
* Add FilterExpression on select for customize how to filter when searching

* Remove CultureInfo as parameter for filter.

Update example and documentation.

* Change FilterExpression to send the SelectOptionItem instead of the label to have more options to make the search.

* Add test for filterExpression to check is working fine with the default and custom.
2024-02-29 23:50:50 +08:00
Sebastian Jura
507a0b0cf5 feat(module: form): Add Method and FormName parameter for Form (#3608)
* Add Method parameter

* Add also the FormName parameter

* add documentation

* update documentation

* use Name instead of new FormName

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-29 23:50:50 +08:00
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
James Yeung
a049dcb487
fix(module: table): can't clear the selected rows if they were not on the current page (#3566) 2023-12-11 21:24:05 +08:00
James Yeung
2df1693414
feat(module: table): add ExpandAll and CollapseAll methods. (#3491)
* feat(module: table): add ExpandAll and CollapseAll methods.

* update the demo
2023-12-08 08:41:56 +08:00
Noah Potash
dade3d08e1
fix(module: upload): Use System.IO.Path.GetExtension instead of Substring to support filenames without extensions (#3553) (#3554)
Co-authored-by: Noah Potash <noah.potash@outbreaklabs.com>
2023-12-07 08:33:12 +08:00
Yury Zuev
cb47c1a244
fix(module: textarea): missing disabled style affix-wrapper-disabled doesn't append" (#3538)
* fix: when TextArea in disabled state the "affix-wrapper-disabled"
   didn't append to span

Co-authored-by: Yuriy Zuev <yuriy.zuev@swtecnn.com>
2023-12-07 00:11:13 +08:00
James Yeung
b25ce24c42
fix(module: select): clear selectd option when the default value isn't in the options (#3529)
* fix(module: select): clear selectd option when the default value isn't in the options

* add a test
2023-12-03 21:34:34 +08:00
James Yeung
2a02d3b02f
refactor(module: table): Change some components to render fragments, reducing allocation and avoid side effects cause by life cycle (#3545) 2023-12-03 20:25:31 +08:00
James Yeung
f177ec1b6b
fix(module: table): clear the row state after page index was changed in client resource mode (#3546) 2023-12-03 20:16:15 +08:00
James Yeung
32c2a12a7d
fix(module: table): the data of row did't update after it's data source was changed (#3544) 2023-12-02 00:09:25 +08:00
James Yeung
50c13245cd
fix(module: core): enum name supports localization (#3536) 2023-12-01 00:30:45 +08:00
James Yeung
57bdf4b01e
fix(module: radio): checked effect in ssr (#3532) 2023-12-01 00:30:18 +08:00
James Yeung
8e2ee560b5
feat(moduel: checkbox): fix ssr style (#3535) 2023-12-01 00:29:49 +08:00
James Yeung
8200bc9f18
fix(module: tree): two-way binding for check/select/expand (#3520)
* fix(module: tree): two-way binding

* fix expand

* fix two way binding check/expand/select
2023-11-19 18:24:10 +08:00
James Yeung
6a0bb0b26b merge master to feature 2023-11-19 17:48:04 +08:00
James Yeung
1ed06b76a1
fix(module: tabs): default to open first pinned page with reusetabs (#3519) 2023-11-19 17:26:25 +08:00
James Yeung
b670ee3eb5
refactor: rename RenderMode to RerenderStrategy (#3515) 2023-11-16 23:10:54 +08:00
James Yeung
65593eaec0
chore: enable GenerateDocumentationFile (#3511)
Co-authored-by: James <yangshunjie@yesmro.cn>
2023-11-16 21:30:26 +08:00
James Yeung
dbb1978563
refactor(module: table): reorganize the selection of rows (#3502)
* refactor(module: selection): reorganize the selection of rows

* hold the selected rows

* fix select all

* fix select all

* fix header checkbox Indeterminate status

* fix children selection

* select all within children

* fix CheckStrictly

* fix children cache

* use hashcode as the key of cache

* fix refrence loop

* fix circular reference expand

* clean up

* fix invoke table selected rows after check

* clean up

* prevent selected rows was changed multiple times

* update bunit
2023-11-16 13:05:43 +08:00
James Yeung
1409c277b5
chore: update Blazor to .NET 8 (#3514)
* update Blazor to .NET 8

* commont NetAnalyzers

* fix bunit bug

* fix tests
2023-11-16 12:33:01 +08:00
James Yeung
42028661d0
feat(module: watermark): add Watermark component (#3441) 2023-11-16 00:26:57 +08:00
ldsenow
a2fa9b7926
fix(module: select): Selected value will be reset when ValidateOnChange is on (#3508)
* #3355 Fixed Selected value will be reset when ValidateOnChange is on

* #3355 Fixed the unit tests around the selection source change

---------

Co-authored-by: Leishi L <lluo@octet.com>
2023-11-15 22:41:45 +08:00
Alex Kryvdyk
ed0e864946
fix(module: datepicker): ArgumentOutOfRangeException in TimePicker (#3501)
* fix:(module:datepicker): ArgumentOutOfRangeException in TimePicker

* fix the issue

* add: TimePicker unit tests

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-11-12 16:30:07 +08:00
Key Roche
161aef5507
feat(module: mentions): Add dynamic async loading of mentions (#3503)
* Add dynamic async loading of mentions along with more tests.

* Make symbol a parameter
2023-11-09 19:58:53 +08:00
James Yeung
6f6b75835a
fix(module: TreeSelect): value binding on datasource was changed (#3492)
* fix(module: TreeSelect): value binding on datasource was changed

* update selection after value changed

* tree datasource change

* invoke state changed

* clean up

* clean up
2023-11-08 00:24:48 +08:00
James Yeung
ede6b57f36
feat(module: table): add row grouping (#3487)
* feat(module: table): add row grouping

* fix cell title

* add grouping row class

* revert header menu

* fix the docs
2023-11-07 23:18:38 +08:00
Alex Kryvdyk
46eba4291b
fix(module: datepicker): RangePicker focus not cleared (#3488)
* fix(module:datepicker): RangePicker focus not cleared

* fix:(module:datepicker): Enter/Tab keys clear the value

* fix:(module:datepicker): remove invalid unit test
2023-11-07 13:14:23 +08:00
James Yeung
eb8295d7fb
fix(module: table): setup RowKey EqualityComparer for caches (#3483)
* fix(module: table): setup RowKey EqualityComparer for caches

* update the docs

* fix the doc
2023-11-02 22:29:50 +08:00
James Yeung
ca773e02bd
test(module: layout): add test case for layout and sider (#3477) 2023-10-30 00:11:53 +08:00
James Yeung
a36bb8dd74
fix(module: layout): NoTrigger not effect when CollapsedWidth is zero (#3476) 2023-10-29 21:02:53 +08:00
James Yeung
e1f3be5874
fix(module: table): supports datasource of abstract classes (#3475) 2023-10-29 18:40:07 +08:00
James Yeung
c9d95e31a8
feat(module: ReuseTabs): support separate the tab from the page (#3467)
* 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
2023-10-29 16:52:01 +08:00
James Yeung
54d821e6ec
fix(module: input): fix incorrectly validation and required message (#3474)
* fix(module: input): fix incorrectly validation and required message

* add tests
2023-10-29 16:34:02 +08:00
James Yeung
bd8d3fe3e4
fix(module: modal): support two-way binding for Visible parameter (#3466) 2023-10-25 23:23:37 +08:00
James Yeung
108672deae
fix(module: table): row selection shouldn't need the selection column (#3465)
* fix(module: table): row selection shouldn't need the selection column

* fix DataTable demo

* fix loop
2023-10-25 23:05:12 +08:00
James Yeung
27b9084a52 merge feature to master 2023-10-22 19:35:09 +08:00
fork
7578335076
feat(module: Input): Add MaxLength parameter for InputNumber (#3455)
* Add MaxLength parameter for InputNumber

Add MaxLength parameter for InputNumber.

* Set Maxlength default value to null

* Update API doc of InputNumber

* Set MaxLength type to nullable
2023-10-22 07:14:37 +08:00
rhodon-jargon
cb88c530a8
fix(module: table): Incorrect deselection in virtualized table (#3282)
* fix(module: table): Correctly deselect all rows in radio selection with a virtualized table

* Implement internal inteface method correctly

* fix(module: table): Fix correctly rerendering selection components, selecting tree data

* Add documentation comments

* Fix bind-SelectedRows

---------

Co-authored-by: Rhodon <rhodonvantilburg@gmail.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-10-21 23:45:37 +08:00
James Yeung
bb0e043b07
fix(module: input): can't change value on blur when composition inputting (#3462) 2023-10-21 14:16:30 +08:00
m-khrapunov
a2eb720d55
feat(module: table): make filter input focus on dropdown visible (#3450)
* feat(module: select): add virtualization support (#2654)

* add virtualization support

* fix doc

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* add(module: table): filter input focus on dropdown visible

* fix netstandard 2.1 build error

* Revert "fix netstandard 2.1 build error"

This reverts commit 489c50ca9dddc20df3f8c5071d6ef528fedc925b.

* Revert "add(module: table): filter input focus on dropdown visible"

This reverts commit c0589e32a5e7f4f9bf44b59b5348a160ffb8e56a.

* add(module: table): filter input focus on dropdown visible

* clean code format and demo

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-10-20 00:31:04 +08:00
James Yeung
f469aea9a7
fix(module: datepicker): the reference value of initValue (#3459)
* fix initValue reference

* fix name
2023-10-20 00:21:04 +08:00
Alex Kryvdyk
6b0a8f45de
feat(module: datepicker): Add DateTimeOffset, DateOnly, TimeOnly support (#3443)
* 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>
2023-10-19 00:44:03 +08:00
LeaFrock
faa26e202d fix(module: rangepicker): override ResetValue so that Reset works in a form 2023-10-18 23:08:35 +08:00
James Yeung
6c2591ab34
feat(module: table): add RowKey parameter for row data compare (#3439)
* feat(module: table): add RowKey parameter for row data compare

* add docs
2023-10-14 21:00:39 +08:00
rhodon-jargon
6eb2f2e558
feat(module: table): Allow custom Field filters (#3279)
* feat(module: table): Refactor FilterExpression to FieldFilterType, allow custom Field filters

* feat(module: table): Add DefaultFilters property

* fix(module: table): Calculate _hasFilterSelected when DefaultFilters is set

* Remove Resharper settings file

* Fix generate columns example

* Add CustomFieldFilter demo, filtering by a color's brightness

* add Chinese description

* fix docs

* Change IFieldFilterType.SupportsCompareOperator to SupportedCompareOperators, returning an IEnumerable
Small fixes

* fix locale

* fix the docs

* refactor SupportedCompareOperators

* fix build error

---------

Co-authored-by: Rhodon <rhodonvantilburg@gmail.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: James Yeung <shunjiev5@hotmail.com>
2023-10-14 20:38:10 +08:00
huhangfei
22c60b4e79
fix(module: form): use DisplayAttribute.GetName() for localization support (#3426) 2023-10-14 13:14:30 +08:00
llp1520
050822297d
feat(module: image): add drag and drop for preview images (#3394)
* Optimized drag and drop image method增加预览image时的拖动和滚轮缩放功能,增加缩放级数

增加预览image时的拖动和滚轮缩放功能,增加缩放级数

* delete data-src

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-10-13 06:16:18 +08:00
petertorocsik
b9877303b6
feat(module: button): add multithreaded wasm compatibility on .NET 8 RC1 platform to avoid error about dedicated worker using in JS interop. (#3451) 2023-10-09 13:26:19 +08:00
agolub-s
8e60219b35
feat(module: datepicker): add mask to DatePickerBase for input value constraint (#3120)
* Add support multiple date formats for DatePickerBase

* Fix test

* Extend docs

* Fix merge

* Revert "Add support multiple date formats for DatePickerBase"

This reverts commit 9021dcdd

* Refactoring. Add mask property for DatePickerBase. For input value constraint.

* Some fixes

* Refactoring

* Add value converter for MaskInput

* Some fix

* fix Chinese

* Refactoring

* Fix tests

* Fix tests

* clean up

* Fix tests

* Pass mask to RangePicker

* Fix AvatarTests

* Fix merge

* Stage

* Stabilized tests

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-10-05 17:24:16 +08:00
James Yeung
f301bea650
fix(module: table): avoid selection disabled at the time that there are no rows (#3436) 2023-09-21 07:33:54 +08:00
agolub-s
766045ce64
fix (module: select): Fix showing the arrow in SelectContent when mode is multiple (#3430)
* Fix showing the arrow in SelectContent when mode is multiple

* Fix naming
2023-09-20 06:59:57 +08:00
James Yeung
be29487d7a merge mater to feature 2023-09-16 17:59:07 +08:00
James Yeung
00fc044c86
chore: hosting the site with .NET 8 (#3428)
* chore: hosting the site with .NET 8

* update dotnet sdk setup actions

* fix build
2023-09-15 22:36:45 +08:00
James Yeung
730a1273b0
fix(module: button): avoid fire OnClick when it is Loading (#3414) 2023-09-10 23:25:00 +08:00
James Yeung
8a95ce2136
fix(module: table): avoid disabled selection would be selected when select-all checked (#3419) 2023-09-10 21:44:33 +08:00
Park Jeongyong
e07437373b
fix(i18n): ko-KR locale Confim And Form (#3415) 2023-09-05 22:18:37 +08:00
James Yeung
eec9413557
feat(module: table): add resizable columns (#3340)
* feat(module: table): add resizable column

* add preview

* fix style
2023-09-04 00:20:28 +08:00
zxyao
1915f6c9a5
fix(module: modal): centered conflict maximizable style (#3403) 2023-09-03 16:01:01 +08:00
James Yeung
2908ed7d46
fix(module: autocomplete): dropdown resize (#3402) 2023-08-27 16:38:44 +08:00
zxyao
7524e40f40
fix(module: notification): change sync statehaschanged to async (#3400) 2023-08-24 22:33:00 +08:00
James Yeung
b5df6d5ce5
fix(module: table): reset PageIndex when filters and sorters change (#3397) 2023-08-22 23:53:20 +08:00
James Yeung
d05f24dd84
feat(module: tabs): reusetabs support reload page inside blazor (#3396)
* feat(module: tabs): reusetabs support reload page inside blazor

* add locale
2023-08-21 21:57:30 +08:00
zxyao
4c93480036
feat(module: modal): add horizontal resizable (#3311)
* feat(module: modal): add resizable paramter

* fix: class and id in modal component usage
2023-08-20 01:10:48 +08:00
Brian Weiss
26b4d948c0
feat(module: tabs): support keyboard navigation (#3320)
* fix(module: tabs): Add support for "Enter" pressed on tab.

* Fix formatting.

* Remove white space

* support arrow key navigating

* fix tests

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-08-20 00:55:44 +08:00
James Yeung
0a6d75a14b
feat(module: statistic): add CultureInfo to support localization number format (#3299) 2023-08-19 22:17:02 +08:00
Li
1f0cbe0985
feat(module: select): add ListboxStyle parameter to handle selectlist display style (#3288)
* add 'Select' parameter ListboxStyle to handle selectlist display style

* add 'Select' parameter ListboxStyle to documentation
2023-08-19 22:04:11 +08:00
Manuele Lucchi
20b825d881
feat(module: table): Added FilterTemplate (#3285)
* Added FilterTemplate and EN documentation

* Decommented NavMenu

* Revert "Added FilterTemplate and EN documentation"

This reverts commit e5d53a0047e62803b147f0b733da101b0abb5bdd.

* Updated code to respect review requests

* uncommented some code pieces to make it build

* refactor default filter dropdown

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-08-18 00:21:43 +08:00
agolub-s
b329aa68d0
feat(module: datepicker): Add 'ChangeOnClose' to apply the entered value when the panel is closed (#3087)
* Add EnterOnBlur for DatePickerBase. Add clear value on input empty value when AllowClear.

* Fix click on suffix icon in Calendar.

* Add docs

* Add support multiple date formats for DatePickerBase

* Fix docs

* Fix docs

* Fix docs

* Fix

* Fix

* Fix test

* Extend docs

* Revert "Add support multiple date formats for DatePickerBase"

This reverts commit 179667d0

* rename ChangeOnBlur

* rename ChangeOnClose

* Fix tests

* Fix review

* Fix docs

* Fix build

* Fix tests

* fix docs

* fix docs

* revert doc

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Aleksandr Golub <deanornys@gmail.com>
2023-08-15 23:44:33 +08:00
James Yeung
f9b8800602
feat(module: drawer): add VisibleChanged for two-way binding support (#3333)
* feat(module: drawer): add VisibleChanged for two-way binding support

* update demo

* fix build
2023-08-15 23:03:11 +08:00
James Yeung
4dbb7cc7d7
feat(module: collapse): implement expand animation (#3389)
* feat(module: collapse): implement expand animation

* add collapse montion

* clean
2023-08-13 21:57:36 +08:00
James Yeung
4fafd9c499
feat(module: tree): add ExpandAll/CollapseAll TreeNode (#3336)
* feat(module: tree): add ExpandAll/CollapseAll TreeNode

expand/collapse node and expand/collapse all child nodes

https://github.com/ant-design-blazor/ant-design-blazor/issues/2370

* refactoring

* refactor rename Switch to SwitchAllNodes

* add expand for load data asynchronously

* fix demo

* refactor(module: tree): remove Switch

* Update components/tree/TreeNode.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* Update components/tree/TreeNode.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* refactor(module: tree) ExpandAll/CollapseAll in only tree

* fix(module: tree) fix demo ExpandAllChild/CollapseAllChild

---------

Co-authored-by: ardia <gilyazov.aidar@gmail.com>
2023-08-08 23:17:29 +08:00
James Yeung
b731d69d75
fix(module: progress): text wrapping issue of the line type (#3387)
* fix(module: progress): text wrapping issue of the line type

* fix size
2023-08-06 17:59:00 +08:00
James Yeung
fa29124c80
feat(module: tabs): ReuseTabs support specific the PinUrl for the routes which contains parameters (#3363)
* feat(module: datepicker): support specific popup placement (#3345)

* feat(module: datepicker): support specific popup placement

* remove tsx

* feat(module: tabs): ReuseTabs support specific the PinUrl for the routes which contains parameters
2023-08-05 22:12:33 +08:00
Peter Ha
362bc90e44
feat(module: select): add aria-label to select option (#3385)
adds the aria-label to the select option element

Co-authored-by: Peter Ha <peter.ha@roininconsulting.net>
2023-08-05 14:13:38 +08:00
Peter Ha
511d904cf7
feat(module: input): adds required attribute to input elements. (#3383)
* feat(module:input) adds required attribute to input elements.

when a form variable is decorated with the required validation, the required attribute is added to the input html

no breaking changes

* changed public to internal

* changed public to internal

* fixed null exception

---------

Co-authored-by: Peter Ha <peter.ha@roininconsulting.net>
2023-08-05 14:12:37 +08:00
Peter Ha
b5ff091f12
feat(module: input): when input fails validation, add the aria-invalid… (#3378)
* feat(module:input): when input fails validation, add the aria-invalid attribute

when an input fails validation, the aria-invalid attribute is added for accessibility

no breaking changes

* added check if attribute already added

* address unit test fail for placeholder

---------

Co-authored-by: Peter Ha <peter.ha@roininconsulting.net>
2023-08-05 14:11:16 +08:00
James Yeung
33816a1f92
fix(module: input): null check for the js of textarea resizable (#3382) 2023-08-01 22:55:55 +08:00
James Yeung
e5e8c7db71
feat(module: tabs): add order options for pinned tabs in reusetabs (#3335) 2023-08-01 22:08:43 +08:00
James Yeung
eb3594db08 feat(module: tabs): add keepalive parameter to choose whether to keep the page state (#3334) 2023-08-01 00:35:40 +08:00
James Yeung
4972324cfd feat(module: datepicker): support specific popup placement (#3345)
* feat(module: datepicker): support specific popup placement

* remove tsx
2023-08-01 00:35:39 +08:00
James Yeung
c541b46c01
fix(module: tree): would not invoke CheckedKeys changed while CheckStrictly was set (#3379) 2023-07-30 18:01:51 +08:00
James Yeung
9826983a8f
fix(module: checkbox): passing disabled value to templated options from checkbox group (#3365)
* fix(module: checkbox): passing disabled value to templated options from checkbox group

* fix tests
2023-07-27 22:48:11 +08:00
James Yeung
9f5beb99b5
fix(module: core): check ContainsKey for shared event subscriptions store of DomEventListener (#3364) 2023-07-27 22:40:47 +08:00
Luuk Glorie
ed68adf35e
feat(module: select): add AutoFocus to select base component (#3375)
Add AutoFocus to select components to provide same functionalty as other input components
2023-07-27 22:23:58 +08:00
James Yeung
a49127c190
fix(module: input): incorrect html structure of TextArea icons (#3367)
* fix(module: input): incorrect html structure of TextArea icons

* fix tests
2023-07-27 08:14:58 +08:00
James Yeung
a5db6629da
fix(module: menu): missing null check (#3368)
* fix(module: menu): missing null check

* fix null check
2023-07-26 23:35:31 +08:00
James Yeung
8767980082
fix(module: form): Help message change (#3373) 2023-07-26 22:54:07 +08:00
Peter Ha
c559bd321e
feat(module: icon): icon role attribute change now assignable, does not change default behavior (#3370)
when a screen reader parses an icon, it sees the role attribute has a value of 'img'. in the case where we don't want the screen reader to read the icon, the role can be assigned a blank value and the role attribute will not be added. instead, the aria-hidden attribute will be added with a value of 'true'

no breaking changes
2023-07-25 23:30:30 +08:00
James Yeung
f9cfdc54e3
fix(module: tabs): throwing navigate exceptiion while base path was set (#3362) 2023-07-23 16:00:50 +08:00
YongQuan
595a70fec5
fix(module: tree): Multiple should not take effect when Ctrl is not pressed. (#3350)
* fix(module: tree): Multiple should not take effect when Ctrl is not pressed.

* Skip listening CtrlKey for TreeSelect

* change the generic type to KeyboardEventArgs

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-07-13 21:43:00 +08:00
James Yeung
dbf8780844
fix(module: icons): compatible with bootstrap (#3348)
* fix(module: icons): compatible with bootstrap

* fix icon class
2023-07-13 00:10:00 +08:00
James Yeung
6f994d3b7d
docs: Optimize the performance of document navigation (#3347)
* docs: Optimize the performance of document navigation

* fix infinite loop

* add lock json files

* fix

* fix contributor list

* fix contributorlist
2023-07-11 23:38:58 +08:00
James Yeung
51930fc360
fix(module: steps): missing RTL style (#3343) 2023-07-05 21:21:12 +08:00
Life-is-Peachy
81693b616a
i18n: fix ru-RU locale date format (#3342) 2023-07-04 19:06:44 +08:00
James Yeung
79f1e8ea0e
fix(module: menu): MenuItem unselect incorrectly when menu was inline and collapsed (#3338) 2023-07-02 23:48:42 +08:00
James Yeung
055f814626
fix(module: table): avoid exception at DisposeAsync method (#3337) 2023-07-02 21:29:54 +08:00
zxyao
5ecffb3102
fix(module: drawer): scroll not enable when page url changed (#3316)
* fix(module: drawer): scroll not enable when page url change

* remove NavigationManager dependence

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-07-02 16:43:23 +08:00