Commit Graph

450 Commits

Author SHA1 Message Date
zxyao
d3434398e3 feat(module: notification): add NotificationRef support (#1498)
* feat: add NotificationRef support

* docs: update docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-16 21:55:44 +08:00
James Yeung
bfb5e4f396 merge 0.8.1 to feature 2021-05-16 19:58:03 +08:00
anranruye
7967828f2e fix(module: input): fix Input component for Guid type (#1510)
* fix(module:input): fix Input component for Guid type

* docs(module:input): add Guid generic sample code

* fix(module:input): add a comment to explain the change
2021-05-12 00:17:49 +08:00
zxyao
29b2c764a4 docs: update docs for modal dragging (#1497) 2021-05-11 11:18:46 +08:00
Andrzej Bakun
8fb2d262e6 fix(module: inputNumber): allow culture info to format input (#1480)
* fix(module:inputnumber): allow culture info to format input

* docs(module:inputnumber): demo & docs

* fix translation

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-05-08 09:21:46 +00:00
James Yeung
23dc3352a7 feat(module: cascader): support showSearch (#1484)
* feat(module: cascader): support showSearch

* add empty dropdown

* fix clear icon
2021-05-08 15:31:38 +08:00
anranruye
aa3114f643 feat(module: table): add built-in filter for enum types, support null value for List filter type (#1439)
* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type

* feat(module:table): throw an exception for composable enum types when use built-in filter

* Revert "feat(module:table): throw an exception for composable enum types when use built-in filter"

This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46.

* feat(module:table): add support for null value localization

* docs(module: table): update for enum build-in filter

* feat(module:table): add built-in filter for composable enum types

* docs(module: table): update for enum built-in filter

* feat(module: table): add enum built-in filter

* feat: add static constructor to EnumHelper

Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
2021-05-08 13:00:52 +08:00
Andrzej Bakun
9509603489 fix(module: select): support IEnumerable in form (#1460)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 05:42:19 +00:00
James Yeung
4ea72e2720 fix(module: cascader): add SelectedNodesChanged and invoke it after clear selected (#1437) 2021-04-29 14:31:03 +08:00
ldsenow
7b7ab782c6 feat(module: table): add Hidden for columns (#1410) 2021-04-26 17:35:01 +08:00
ldsenow
64979aef3c feat(module: table): add pagination template (#1409) 2021-04-25 14:09:24 +08:00
Andrzej Bakun
555fdb9a43 fix(module: checkbox & switch): Checked parameter binding (#1394)
* fix(module:checkbox): allow binding to Checked parameter

* fix(module:switch): allow binding to Checked parameter

* fix(modules): checkbox & switch get AntInputBoolComponentBase class

* test(module:switch): add tests

* test(module:checkbox): add tests

* test(module:divider): simplify by using id:ignore

* docs(module:checkbox): bind example

* docs(module:switch): bind example

* fix(module:switch): add Control + docs + tests

* feat(module:checkboxgroup): add layout and mixed mode

* fix: review comments + tests

* fix(module:checkboxgroup): parameter name should be MixedMode

added more tests

* fix demo

* fix(module:checkboxgroup): allow toggling between modes

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-25 01:04:21 +08:00
Zonciu Liang
d0e40fbdfd refactor: replace PropertyAccessHelper to PathHelper (#1386)
* feat(module: core): add member path helper

* refactor(module: table): replace PropertyAccessHelper to PathHelper

* docs: replace path-based-property-access to member-path-helper

* refactor(module: select): replace SelectItemPropertyHelper to PathHelpe
2021-04-24 13:07:27 +08:00
zxyao
8a4bebc313 feat(module: modal): support define modal's style in ModalOptions (#1400) 2021-04-21 22:31:47 +08:00
James Yeung
efbdf684d3 fix(module: tag): closable typo and delete mode (#1393)
* fix(module: tag): closable typo and delete mode

* return early
2021-04-21 10:01:48 +08:00
Zonciu Liang
4a680e6b76 fix(module: table): Unify FieldName, add DisplayAttribute for DiplayName, fix Filter for DataIndex (#1372)
* fix(module: table): Unify FieldName value

* fix(module: table): Get column name from DisplayAttribute

* fix(module: table): Filter for DataIndex

* docs(module: table): Intuitive sorterCompare for Filter demo

* fix(module: table): fix header title doesn't display when Sortable is false

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-17 16:27:52 +00:00
James Yeung
105cfa2e8d fix(module: affix): can't affix while OffsetTop is zero (#1373)
* fix(module: affix): can't affix while OffsetTop is zero

* use affixed setter for rerendering

* limit rerendering
2021-04-17 14:43:42 +08:00
Andrzej Bakun
1e5464d396 fix(module: input): add WrapperStyle (#1351)
* fix(module:input): add WrapperStyle

* translate the doc

* Update index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 07:43:29 +00:00
ElderJames
3742969a32 fix merge conflicts 2021-04-15 13:50:34 +08:00
ElderJames
433d376739 merge master into feature 2021-04-15 12:55:36 +08:00
ElderJames
d4a7e29b77 fix doc assets 2021-04-15 12:26:00 +08:00
skystardust
54259ea62a fix(module: affix): affix to the viewport (#1327) (#1335)
* fix(module: affix): affix to the viewport (#1327)

* fix target to element

* rename to target selector

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-14 23:20:36 +08:00
Andrzej Bakun
1903e65b52 docs(module: form): IsModified sample fix (#1344) 2021-04-14 13:33:07 +08:00
Andrzej Bakun
d64388c0ab feat(module: select): Select responsive max tag count (#1338)
* feat(module:select): add MaxTagTextLength, MaxTagCount & MaxTagPlaceHolder

* feat(module:select): responsive maxTagCount using window.resize

* docs(module:select): MaxTagCount functionality

* fix docs

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-13 13:12:18 +08:00
Jason Luo
002331df8b fix(module: result): modify status unsuccessfully after initialization(#1328) (#1336)
* fix(module:result): modify status unsuccessfully after initialization(#1328)

* fix(module:result): determine whether the Icon is empty string(#1328)

* doc: add changeTheResult demo(#1328)

* delete some lines
2021-04-12 18:22:38 +08:00
YMohd
9ff708eb31 feat(module: table): add build-in filters (#1267)
* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* tablefilter-moreoptions

* fix demo and docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-11 01:11:19 +08:00
James Yeung
0b738663a1 docs: dynamic primary color changing (#1332)
* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script
2021-04-10 12:34:41 +08:00
Zonciu Liang
ea69864204 feat(module: pagination): add TotalBoundaryShowSizeChanger parameter (#1325)
* feat(module: pagination): add TotalBoundaryShowSizeChanger

* docs(module: pagination): update API

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-09 14:17:20 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
70e724d630 fix(module: select): Select overlay resize & allow growing (#1309)
* feat(module:select): allow overlay to match item width

* fix(module:select): resize selectbox on window resize

* docs(module:select): add new parameters

* fix(module:select): add DropdownMatchSelectWidth & DropdownMaxWidth

* fix(module:select): apply same layout as antD

apply same behavior as antD for backspace
split code to default/multiple&tags
always focus on input for search-able
handle overflow & ellipsis for to long items
rendering optimization for SelectContent

* fix(module:select): backspace functionality limit
2021-04-08 22:17:44 +08:00
James Yeung
7f6fee4c33 docs: fix default css link (#1318) 2021-04-07 12:32:26 +08:00
James Yeung
6a8036ca57 feat(module: space): add wrap, split and size array (#1314) 2021-04-06 14:20:29 +08:00
Zonciu Liang
7c87716137 docs(module: table): fix RouterPagging demo (#1313) 2021-04-05 22:04:22 +08:00
Patrick
3da9e703fa feat(module: alert): add message template and loop banner demo (#1250)
* feat(Alert): added alert loop component

* fix: move cmp into main

* feat: add parameters for looping text

* feat: add new messages loop

* fix: create new internal looptext cmp

* doc: add demo

* doc: add demo markdown

* doc: update alert api

* doc: update cn docs

* fix: add missing dependency

* fix: update param name

* impleement loop text with css

* fix the document

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 19:03:18 +08:00
zxyao
31aac9f914 refactor: unified use of FeedbackComponent for modal comfirm and drawer (#1263)
* refactor: support to use the same template for confirm and modal

* refactor: support to use the same template for drawer

* refactor: separate interface IOkCancelRef

* chore: modify EventUtil class summary

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 15:40:54 +08:00
James Yeung
194caa37fb docs: add changelog in document (#1306) 2021-04-04 00:54:18 +08:00
James Yeung
f8ec6256ba fix(module: grid): missing flex and wrap style (#1296)
* fix(module: grid): missing flex style

* remove the old md file

* fix demos

* fix build error

* fix no warp class
2021-04-03 23:36:46 +08:00
Andrzej Bakun
1d4ea440fa fix(module: textarea): default to empty string (#1305)
* 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:textarea): add parameter DefaultToEmptyString

* fix(module:textarea): occasional crashes of js in firefox

* docs(module:input): added new param DefaultToEmptyString

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 15:22:11 +08:00
Andrzej Bakun
f5216bed80 feat(module: upload): missing and new event (#1302)
* feat(module:upload): missing and new event

* docs(module:upload): new events (missing Chinese)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 00:45:55 +08:00
Zonciu Liang
3bf616b735 fix(module: table): fix DataIndex Column with incorrect sorting and filter (#1295)
* refactor(module: table): Unify the behavior of Field and DataIndex

* fix(module: table): Fix DataIndex Column doesn't refresh

* doc(module: table): add DataIndex column filter demo

* doc(module: table): fix Blazor table

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 15:54:56 +00:00
ldsenow
527f39456b feat(module: form): Add LabelTemplate for FormItem (#1293)
Co-authored-by: Leishi <lluo@octet.com>
2021-04-02 23:10:37 +08:00
James Yeung
822ce2dd36 feat: add built-in themes (#1286)
* feat: add themes

* add docs theming styles

* fix the RTL for FixedWidgets

* fix aliyun theme

* fix docs style
2021-03-31 19:23:32 +08:00
TimChen
004777367d feat(module: tag): add closing event (#1268)
* tag add onclosing
event

* clean code

* translate the comment

* translation

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-31 19:23:30 +08:00
James Yeung
d2e9c4b247 feat(module: config-provider): support RTL (#1238)
* feat(module: config-provider): support RTL

* add rtl for each component

* fix rtl for pagination

* add rtl for overlay
2021-03-31 19:23:26 +08:00
Zonciu Liang
d7ce701daa refactor(module: pagination): cover the apis of react (#1220) 2021-03-31 19:03:00 +08:00
James Yeung
1181673273 feat(module: table): add summary (#1218)
* feat(module: table): add summary row

* feat: add fixed summary cell
2021-03-31 19:02:57 +08:00
James Yeung
0b065dfb63 docs: add the copyright of .NET Foundation (#1272) 2021-03-23 17:38:41 +08:00
loogn
0d914efb2a docs: add bulmarazor link (#1245) 2021-03-12 18:45:12 +08:00
Nino Padrutt
a5b612d892 fix(module: progress): add missing trailing color (#1241)
* add description to chart documentation

* translate general configuration to english.

* apply trailling color and adjust documentation a bit

* remove typo

* apply trail color for circle type aswell

* fix Chinese demo doc

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-03-12 15:47:55 +08:00
Zonciu Liang
da55e9e7e8 fix(animation): missing prefix (#1243)
* fix: add class name prefix for zoom and slide-up animations.

* fix(module: popconfirm): fix animation

* fix(module: popover): correct animation, sync de
2021-03-12 15:46:48 +08:00
James Yeung
818e33227f docs: fix some demo issues (#1224) 2021-03-09 13:50:53 +08:00
James Yeung
56ae64007d docs: add contributors list (#1217) 2021-03-08 00:20:41 +08:00
James Yeung
ca4dfaaf04 fix(module: badge): color behavior (#1216)
* fix(module: badge): color behaviour

* fix sup refleshing
2021-03-07 17:54:40 +08:00
James Yeung
91206103d1 fix(module: divider): style was default to plain (#1215) 2021-03-07 12:19:57 +08:00
James Yeung
853eef8244 fix(module: table): invoke OnChange twice on pagination was changed (#1211)
* fix(module: table): invoke OnChange twice on pagination was changed

* fix preview ci
2021-03-06 10:20:41 +08:00
James Yeung
ad99e38fce fix(module: table): bring OnRowClick back (#1200) 2021-03-04 17:31:48 +08:00
qinhuaihe
cc4a7bbf13 feat(module: table): add on row and cell (#1175)
* fix(module:table): set selectedRows exception

* fix(module:table): set selectedRows exception

* fix(module: tree) selected highlight confusion

* Revert "fix(module: tree) selected highlight confusion"

This reverts commit 91300ac664f8dcebc20f1a96e21f8afc1fac079d.

* fix(module: tree): remove the IsFixed attribute

* feat(module: table): add table onrow method

* feat(module: table) add onrow method to table column

* feat(module: table) add onrow method to table column

* feat(module: table) add onheaderrow and onheadercell methods to table

* feat(module: table) fix doc encoding

* fix demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-01 23:47:16 +08:00
James Yeung
4065869806 feat(module: table): add filters (#1178)
* feat: add table filter

* add filter buttons

* fix filter menu

* make filter work

* support multiple filters

* delete the old files

* support single select
2021-02-27 23:55:48 +08:00
ElderJames
08fec90cd3 docs: add a dialog to navigate to gitee.io for chinese 2021-02-24 23:57:59 +08:00
ElderJames
3a3bfc0545 update docs 2021-02-23 15:30:46 +08:00
Andrzej Bakun
1082a29941 fix(module: grid): gutter (#1158)
* fix(module:row): grid gutter switch to row-gap

* docs(module:grid): gutter docs in sync with react antDesign

* add DefaultBreakpoint

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-02-23 05:38:05 +00:00
James Yeung
0c13eb7198 docs(module: table): add editable cell/row demo (#1152)
* feat(module: table): add editable cell demo

* add editable row de
2021-02-22 11:29:56 +08:00
笨木头
314b07daf9 feat(model: overlay): add boundary detection adjustment (#1109)
* feat(model: overlay): add boundary detection and orientation adjustment

* feat: suport inview and inscroll mode
2021-02-09 10:01:42 +08:00
ElderJames
7e80607ff0 rename the docs project 2021-02-06 20:15:46 +08:00
James Yeung
93310a1d14 docs: fix anchor and improvement (#1107)
* docs: fix anchor and improvement

* fix docsearch

* fix docsearch action
2021-02-06 19:27:48 +08:00
James Yeung
af300c6ecc fix(module: table): missing value for the sort property of SortModel (#1105) 2021-02-06 00:55:46 +08:00
Andrzej Bakun
ea061850ec fix(module: select): multiple fixes and optimizations (#1087)
* fix(module:select): multiple select & tags & tokenization fix

performance optimizations
add PrefixIcon
keep focus on selected item

* fix(module:select): on clear button make first active

* docs(module:select): reflect changes
2021-02-04 23:40:47 +08:00
James Yeung
e6076271c0 feat(module: menu): add menu item tooltip and submenu trigger type (#1082)
* feat(module: menu): add menuitem tooltip and submenu trigger type

* add the doc
2021-02-04 16:21:56 +08:00
MutatePat
a469dfa103 docs: Fix for G2Plot <script> tag (#1077)
* Update index.en-US.md

fix url for charts

* Update index.zh-CN.md

fix url for charts

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-04 01:19:28 +00:00
James Yeung
5b14e8e975 fix(menu): collapsed follow sider (#1069)
* fix(menu): collapsed follow sider

* clean the code

* fix DefaultOpenKeys

* refactor the updae mode method
2021-02-03 14:38:59 +08:00
Zonciu Liang
ea412b24ec feat(core): access object's property by path-based string (#1056)
* fix: DataIndex access maybe null object

* feat: access object's property by path-based string

* doc: update Table DataIndex demo

* doc: correct Table/demo/custom-row-style.md file encoding

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-31 01:25:25 +08:00
James Yeung
def6eca435 feat(module: image): add preview group (#1059) 2021-01-30 22:39:56 +08:00
James Yeung
50cb65956a fix(module: table): mistaken sortable (#1058) 2021-01-30 22:21:26 +08:00
Andrzej Bakun
e7b01d509c fix(module: table): table exception on refresh (#1040)
* 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
2021-01-25 12:53:19 +08:00
James Yeung
c9656ca227 feat(module: image): add image component (#1038)
* feat(module: image): add image

* add image preview

* add locale
2021-01-25 02:05:18 +08:00
matt
e40f93127d feat(module: table): add RowClassName (#1031)
* feat(module: table): add row styling

* docs: add RowClassName to docs

* docs: add custom row style subtext

* feat(module: table): add ExpandedRowClassName

* remove RowClassName for expand row

* add chinese doc

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:56:27 +08:00
cqgis
080d4dda43 feat(module: table): add sort directions and default sort order (#778)
* feat: table  column sort add sortway support singleness or mutiple

* fix: error method name

* add sort directions

* delete useless property

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:52:57 +08:00
James Yeung
f4b8e51e1e feat(module: card): add a separate action component and demos for click event (#1030) 2021-01-23 01:18:05 +08:00
Zonciu Liang
75f01993b1 chore: fix SolutionDir for building (#1011) 2021-01-23 01:15:23 +08:00
Porkopek
93b58cbb42 feat(module: icon): Added Static class IconType for intellisense (#987)
* Added Static class IconType for intellisense

* Added: Static Class Generator

* move the generator file to cli

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-22 15:07:28 +08:00
James Yeung
8d50b1cb1a fix(module: table): selection was broken with scroll y (#1020) 2021-01-22 09:56:51 +08:00
Andrzej Bakun
ea46422738 feat(module: menu): Add Menu divider (#1017)
* feat(module:menudivider): new component

* docs(module:dropdown): dropdown with tooltip and menudivider

* docs(module:menu): menudivider for horizontal demo

* feat(module:menudivider): remove unnecessary method
2021-01-22 08:59:05 +08:00
James Yeung
bbc69f25af feat(module: table): support multiple sorter (#1019) 2021-01-22 00:45:15 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
Zonciu Liang
a09a8e6ac3 feat(module: table): add DataIndex support (#999)
* docs: correct parameter name

* feat(module: table): add data index

* refactor(module: table): make DataIndex expression cached

* refactor(module: core): recursive method for PropertyAccessHelper.GetRootParameterExpression

* refactor(module: table): make DataIndex feature clearer

* feat(module: table): support DataIndex format

* fix: sort column style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-20 23:35:57 +08:00
James Yeung
187dd045ac docs: scroll to hash anchor after pages are rendered (#1006) 2021-01-20 15:53:32 +08:00
James Yeung
ddb09a9aa8 fix(module: upload): style of file list and picture card (#1001)
* fix(module: upload): file list style

* refactor upload button to fix ref conflict
2021-01-19 21:18:50 +08:00
James Yeung
2e727d9f47 fix(module: date-picker): prevent the year out of range (#973)
* fix(module: date-picker): year would out of range

* prevent out of range

* add two methods

* fix(module: datepicker): out of range error

* fix: decadePanel is still out of range

Co-authored-by: 钟迪龙 <musicvs@163.com>
2021-01-14 10:40:34 +08:00
Zonciu Liang
9d9506bb5c feat(module: table): add SorterCompare parameter for sorter (#969)
* feat(module: table): add custom comparer

* docs: keep the DataSource of Table's blazor demo unchanged

* Update custom-sort.md

* refactor(module: table): change Comparer to SorterCompare

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-12 00:39:40 +08:00
James Yeung
d24c7a5325 fix(module: table): sorter works incorrectly (#962)
* fix(module: table): sorter works incorrectly

* docs: delete the jsx block
2021-01-11 13:39:02 +08:00
James Yeung
1a2866cf9d feat(module: table): add ellipsis column (#957) 2021-01-10 21:44:25 +08:00
Andrzej Bakun
2a05064c25 fix(module:date-picker): OneOf to TValue, default value for picker, optimizations (#933)
* fix(module:DatePicker): input OnClick has new event handler

* fix(module:DateTime): remove misleading reliance on picker index

* fix(module: DatePicker & RangePicker): DefaultValue type change

DefaultValue type change to align with Value type

* fix(module:rangepicker): add default values helper with tests

* fix(module:datepicker): ChangePickerValue action declaration fix

Picker value is served based on input index (start/end)

* fix(module:DatePicker): optimization

ViewStartDate, MaxRow & MaxCol do not cause refresh if not changed

* fix(module:DatePicker): min date fix

ArgumentOutOfRangeException fix for dates before DateTime.MinValue

* fix(module:RangePicker): sorted values

Values get ordered on set

* fix(module:DatePicker): OneOf switch to TValue

* fix(module:DatePicker): code optimization and PickerValue fix

PickerValue fix gets first panel value and evaluates second panel value

* fix(module:DatePicker): default values evaluation

* fix(module:RangePicker): default picker value fix

* docs(module:DatePicker): switch to TValue for DefaultValue

* fix(module:RangePicker): other value picker fix

* fix(module:RangePicker): on value init include DefaultValue

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-10 13:19:07 +08:00
James Yeung
43664736f7 feat(module: table): fixed header & columns (#954)
* feat(module: table): support fixed header & columns

* fix layout of the fixed columns & header

* fix scrollbar hidding

* header and body sync scroll

* fix column width calc

* fix demo pagesize

* fix docs
2021-01-09 23:57:31 +08:00
imhmao
f904676578 feat(module: tree): add expandAll and collapseAll method (#941)
* Tree:
1.add new node action
2.fixed data sort selection issue
3.add Expand() Collapse() Toggle()

* fixed Tree.OnRendered summary

* remove the `Is` prefix

* refactor(tree): renaming

Co-authored-by: 王的强 <wdq@sinotex.cn>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-07 00:41:26 +08:00
TimChen
f388ca4fc0 feat(module: tree): support generic type (#777)
* feat: tree update

* feat: support generics

* feat: normal operation

* fix: review question
2020-12-30 18:38:35 +08:00
笨木头
2d0d1a7473 docs: overlayStyle should not change menu's width (#939) 2020-12-30 08:58:03 +08:00
James Yeung
2e668e1b54 docs: fix header breakpoint (#938) 2020-12-29 23:35:03 +08:00
zxyao
1bdece0ea8 feat(module: modal): add locale for Modal and Confirm (#932)
* feat(module: modal): add Modal locale

* feat(module: confirm): locale support for zh-cn, en-us

* docs: add the demo of override locale's custom text

* feat: locale's json files add confirm configuration

* fix: custom ButtonProps override Button[1,2,3]Text or OK(Cancel)Text

* docs: using InvokeAsync to invoke StateHasChanged

* docs(module: modal): add override locale de
2020-12-29 23:34:18 +08:00
James Yeung
dc208f6491 fix(module: table): tree data doesn't work in asynchrony (#929) 2020-12-26 22:06:16 +08:00
zxyao
ef4701b6ed refactor(module: modal): refactor the code of Modal, Confirm (#914)
* refactor(module: modal): refactor the code of Modal, Confirm and Dialog

refactor details:
- Add DialogWrapper compontent to control the logic of dialog removal from DOM
- Add the appropriate folders for Dialog, Modal, and Confirm
- Remove methods with the same logic but different names in ConfirmService
- Split Title into Title (string) and Titletemplate (renderfragment)
- Add comments to code
- Rename ConfirmDialog to Confirm
- Specification of method name in ConfirmService
- Adjust the time of throttle function for draggabe modal
- Extract the common part of ModalOptions, ConfirmOptions and DialogOptions as DialogOptionsBase

* refactor: move DefaultCloseIcon etc. static members to DialogOptionsBase

* docs(module: modal): update docs

* fix: dialog incorrect waiting

* fix: pickup missing pr/7
2020-12-26 21:39:04 +08:00