Commit Graph

1315 Commits

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