Commit Graph

344 Commits

Author SHA1 Message Date
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
TimChen
75d0d4c569 feat(module: form): add ValidateOnChange parameter (#920)
* feat: autoValidate

* refactor

* fix comments

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-25 12:51:55 +08:00
James Yeung
a04231277a docs: make the site menu responsive (#901) 2020-12-18 16:00:51 +08:00
Argo Zhang
ab14d62ef2 docs: update the link for BootstrapBlazor (#893) 2020-12-16 13:55:32 +08:00
szmalec
74e7b8a2a2 fix(module: alert): make description element visible if passed in ChildContent (#881)
* fix(module: alert): make description element visible if passed in ChildContent (#875)

* docs(module: alert): modified example - instead of Description parameter ChildContent is used (#875)
2020-12-12 22:01:27 +08:00
ElDiddi
00059fe84e refactor(module: icon): embed icons in the assembly (#810)
Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-08 10:01:43 +08:00
Zonciu Liang
23fc9b0ed3 refactor(module: input-number): support all numeric types (#850) 2020-12-07 22:43:43 +08:00