Commit Graph

1285 Commits

Author SHA1 Message Date
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
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