zxyao
8301230bda
fix(module: modal): auto focus the ok button and remove the focus of the trigger button ( #1838 )
...
* fix: second opening of focus in modal fails if DestroyOnClose is false
* fix: confirm cannot get focus element
* fix: set ConfirmAutoFocusButton is OK
* fix: module ImagePreview cannot close on second click
* fix: blur active element when comfirm focus element is disabled
2021-08-28 15:28:50 +00:00
zxyao
0703169f4a
fix(module: modal): error when confirm TaskCompletionSource SetResult repeat ( #1795 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-30 15:53:49 +00:00
James Yeung
64f8061a0b
Merge feature into master ( #1775 )
...
* 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 PathHelper
* feat(module: table): add pagination template (#1409 )
* feat(module: table): add Hidden for columns (#1410 )
* feat(module: form): expose EditContext (#1464 )
* feat(module:form): allow access to validation messages
* feat(module:form): expose EditContext as readonly property
* 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>
* fix(module: form): expose LabelStyle property (#1503 )
* feat:(module: form): edit context dynamic change (#1504 )
* tests: project up to standards
* fix(module:form): allow EditContext change
* feat(module: notification): add NotificationRef support (#1498 )
* feat: add NotificationRef support
* docs: update docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: tag): Add custom colors and Enum of Preset Colors (#1514 )
* merge
* feat(tag): add custom colors and enum presets
* Update package.json
fix: remove vscode rubbish
* feat: add global PresetColor, and new PresetColor param
* feat: add preset color to Badge
* feat: tag style calcuated on setter
* fix: user style is appended to stringbuilder
* empty commit
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
* chore: sync ant-design v4.16.0 (#1569 )
* feat(i18n): Add French short week days (#1521 )
* feat(module: form): support set validation rules on FormItem (#1516 )
* feat(module: form): support set validation rules on FormItem(not complete yet)
* refactor(module: form): optimized code
* feat(module: form): support Whitespace rule
* feat(module: form): support [message、pattern、transform、validator、whitespace] rules
* feat(module: form): support type rule
* feat(module: form): support [defaultField、oneOf、fields、type] rules
* feat(module: form): support custome validate messages(without test)
* test(module: form): complete RuleValidate_ValidateMessages test
* feat(module: form): complete DynamicRule demo, refactor code, fix bugs
* feat(module: form): support ValidateMessages param
* doc(module: form): add "Rules" and "ValidateMessages" docs
* fix: Rule.Max's errorMessage is wrong
* refactor: rename Rule to FormValidationRule
* test: rename Rule to FormValidationRule
* chore: refactor code and rename classes
* Update ValidateMode.razor
* Update FormValidateErrorMessages.cs
* Update FormValidateHelper.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): filter enhancement (#1563 )
* feat(module: table): allow access to filter operator and condition
* feat(module: table): allow access to filter operator and condition
* feat(module:table): allow remove the first filter
* Update Column.razor
* feat(module:table): modify closing button position
* feat(module:table): match new style
* feat(module:table): add header column divider
* fix(module:table): apply filter when close the filter panel by clicking the filter icon
* Update Column.razor
* style(module:table): trim Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* fix(module:overlaytrigger): fix overlay not close after overlay size changes
* unify muiltiple filter popup containers to one
* refactor(module: table): optimize render fragments (#1597 )
* refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type (#1608 )
* feat(module: select): support simple data source (#1541 )
* feat(module: select): support simple data source
* remove judgement for type of item and value
* Update Select.razor.cs
* fix(module: table): add RemoteDataSource (#1558 )
* feat(module:table): add PaginationMode parameter
* fix(module:table): fix pagination
* docs(module:table): add doc for PaginationMode attribute
* add a demo file
* docs(module:table): add demo for pagination mode
* feat(module:table): add RemoteDataSource property
* delete the demo for PaginationMode
* Update Table.razor.cs
* add `ajax` demo
* Update ajax.md
* Update Ajax.razor
* fix demo
* clear demo
* fotmat demo
* delete StateHasChanged
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* add Visible back to Tag.razor.cs
* Update SearchLoading.razor and idnex.en-US.md
* Update index.zh-CN.md
* feat(module: DatePicker): support disable one of range-picker inputs (#1648 )
* feat(module: rangepicker): support disable one of inputs
* doc: update doc
* feat(module: dropdown): each button customization (#1659 )
* feat(module:dropdownbutton): each button customization
* fix: Tag tests
* feat(module: tabs): add OnClose event and TabTemplate (#1698 )
* feat(module: tab): add onclose event and tabtemplate
* add tests
* feat(module: tabs): add reuse tabs routeview (#1704 )
* fix(module: tabs): Exception caused by cascade assignment to TabTemplate (#1708 )
* feat(module: tree): support check all from code (#1722 )
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
* refactor(module: tree): add draggable, fix default value binding (#1517 )
* delete demo docs
* fix tree default value and dnd
* fix tree line and keys
* fix switcher icon and line
* fix line demo
* fix switcher
* add DirectoryTree demo
* fix draggable demo
* clean code
* clean code
* clean up the classmapper call
* update docs
* fix the docs
* fix comment
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: dialog): click dialog cause the mask click event triggered (#1727 )
* docs: update recommend (#1755 )
* docs: update recommend
* fix test
* refactor(module: table): remove the breaking change for pagination mode (#1754 )
* docs: fix encoding error (#1760 )
* fixed. Fix network error when requesting contributor list in local development environment
* fixed. Fix Chinese garbled code
* Update Dynamic.razor
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: upload): support drag (#1765 )
* feat(module: upload): support drag
* fix button text
* add tests
* delete useless field
* feat(module: select): add EnumSelect for select componet with enum (#1759 )
* feat(module: select): add EnumSelect for select componet with enum
* refactor: extract EnumLabelValue to the core directory
* feat: add enum select demo
* refactor: extracts the GetLabelValueList method to EnumHelper
* refactor: refactor EnumSelect with simple data source
* feat: add enum DisplayName support
* fix: modify the reflection of the enum get attribute with field
* add test
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: button): add colors (#1774 )
* add color property for button
* separate the color
* fix tests
* fix typo
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): add guid built-in filter (#1756 )
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: MihailsKuzmins <47413092+MihailsKuzmins@users.noreply.github.com>
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Maksim <maksalmak@gmail.com>
Co-authored-by: Ivan Ocoka <ocokanet@gmail.com>
Co-authored-by: Ocoka <somewhere@network>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: Romain J <dust63@hotmail.fr>
Co-authored-by: anranruye <hehewewe@hotmail.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: black-snake <black-snake@users.noreply.github.com>
Co-authored-by: Gregory Loones <40325447+gregloones@users.noreply.github.com>
Co-authored-by: Razvan Predescu <rzvdaniel@gmail.com>
Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com>
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
Co-authored-by: 琢磨先生 <308360781@qq.com>
Co-authored-by: gmij <gmij@qq.com>
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: 王俊 <wang_j90@hotmail.com>
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: boukenka <mbogais@free.fr>
2021-07-26 20:54:59 +08:00
anranruye
16654f5b51
Merge 0.8.4 to feature
2021-07-18 00:04:11 +08:00
zxyao
977633ae93
fix(module: modal): wrong setter in ModalOptions.ConfirmLoading ( #1742 )
2021-07-16 23:45:15 +08:00
zxyao
d07e3cb8fc
fix(module: dialog): click dialog cause the mask click event triggered ( #1727 )
2021-07-12 23:27:09 +08:00
zxyao
6aff9d370c
fix(module: dialog): Modal and Drawer render reducing and update document and demo ( #1701 )
...
* fix(module: Modal&Drawer): render reducing and demo update
* docs(module: modal): add FAQ section
* docs: add English comments
* fix: wrong format in Modal_service_for_confirm.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-11 20:48:16 +08:00
anranruye
e4e1289529
fix(module: locale-provider): add missing nodes default values ( #1710 )
2021-07-06 01:10:16 +08:00
anranruye
b8658549e6
Merge 0.8.2 to feature
2021-06-18 16:09:13 +08:00
Razvan Predescu
92d7203815
fix(module: modal): Modal dialogs not showing anymore ( #1635 )
...
* Fix issue #1634 - Modal dialogs not showing anymore
* Removed unnecessary Search from ButtonProps as part of #1634 fix - Modal dialogs not showing anymore
2021-06-14 00:33:26 +08:00
James Yeung
c181916dea
chore: sync ant-design v4.16.0 ( #1569 )
2021-05-25 10:01:53 +08:00
zxyao
5b6d72d741
fix(module: dialog): modify delay time to DOM_ MIN_ TIMEOUT_ VALUE ( #1445 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 16:56:26 +08:00
zxyao
8a4bebc313
feat(module: modal): support define modal's style in ModalOptions ( #1400 )
2021-04-21 22:31:47 +08:00
zxyao
1a10f34029
fix(dialog): add Dispose lifecycle function to Dialog ( #1379 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-18 15:14:54 +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
469bbc511b
chore: sync ant-design v4.14.0 ( #1249 )
2021-03-31 19:23:29 +08:00
zxyao
5fe1e94f4d
fix: animation classs name change of Modal, Message and Notification componments ( #1186 )
...
* fix(module: modal): sync animation class name with official
* fix(module: message): sync animation class name with official
* fix(module: notification): sync animation class name with official
2021-03-01 23:45:30 +08:00
Andrzej Bakun
b0c9509264
fix(module: select): property rename to follow docs ( #1115 )
...
* fix(module:select): property rename to follow docs
comma in decimal causing wrong css value for select box width
comment translation
* fix(module:select): delayed DefaultActiveFirstOption fix
change of values fix
2021-02-09 00:31:44 +08:00
zxyao
234dcc93e7
feat(module: image): add animation for image preview ( #1042 )
...
* feat(module image): add animation for image preview
* feat(module image): add mask closeable
* fix(module dialog): cannot close dialog by clicking mask
if content is clicked, mask click cannot close dialog
2021-01-27 13:23:15 +08:00
笨木头
e59a2b2540
fix(module: overlay): select issue with multiple modals ( #1012 )
2021-01-21 19:07:21 +08:00
James Yeung
56dfae7f62
chore: sync ant-design v4.10.0 ( #943 )
2021-01-09 09:07:02 +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
zxyao
bdcc394958
fix(module: modal): remove non auto destroyed Modal DOM created by ModalService ( #926 ) ( #930 )
2020-12-26 23:41:02 +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
zxyao
51ebd03624
fix(module: modal): using ConfimRef to close Confirm dialog but not reset body's scroll bar ( #883 ) ( #884 )
2020-12-24 14:00:06 +08:00
James Yeung
0ee2333857
fix(module: modal): the Title property is default to string.Empty in ModalOptions ( #887 )
2020-12-14 12:54:19 +08:00
James Yeung
df99bad7e5
chore: sync ant-design v4.9.0 ( #842 )
2020-12-01 11:02:28 +08:00
zxyao
66a1169307
fix(module: modal): throw error when using ModalService if not set ModalOptions.AfterClose ( #807 ) ( #809 )
...
* fix(module: modal): throw error when using ModalService (#807 )
If ModalOptions.AfterClose is null, the exception will be thrown: delegate to an instance method cannot have null 'this'
* refactor: use automatic properties for ModalOptions
2020-11-22 21:33:07 +08:00
zxyao
4f4b8ea767
fix(module: modal): dom cannot be destroyed when the page changed on DestroyOnClose is false ( #799 )
...
* fix(module: modal): dom cannot be destroyed when the page changed
* chore: remove console.log info of debug
2020-11-18 16:01:31 +08:00
zxyao
228d979e8f
fix(module: confirm): cannot remove from dom when confirm is hidden ( #750 )
2020-11-01 16:00:23 +08:00
zxyao
86942d7e18
fix: modal box randomly closed when multiple mouse click performed within it ( #696 ) ( #715 )
...
* fix: invalid type mapping
* fix: frequent click results in modal self-closing (#696 )
* fix(module: radio): the onclick event is repeatedly triggered
2020-10-25 19:21:36 +08:00
zxyao
6bf817d1ea
feat(module: modal): support creating Modal dialog from ModalService ( #676 )
...
* refactor: change the name of ModalRef to ConfirmRef
in order to create a Modal dialog in service mode
BREAKING CHANGE: all using of ModalRef must rename to ConfirmRef
* refactor: chang the name of ModalTemplate to ConfirmTemplate
in order to create a Modal dialog in service mode
BREAKING CHANGE: all using of ModalTemplate must rename to ConfirmTemplate
* feat(module: modal): support creating Modal dialog from ModalService
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-14 15:09:11 +08:00
zxyao
0c90ef19d7
fix: await with null propagation system null referenceexception ( #663 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 11:32:32 +08:00
zxyao
86cd7a1184
fix(module: confirm): cannot config confirm width ( #651 ) ( #654 )
2020-09-28 23:46:27 +08:00
笨木头
143b16335b
fix(module: select): incorrect dropdown style ( #629 )
2020-09-20 10:42:42 +08:00
笨木头
edba6e5d4f
fix(dropdown, select): work incorrectly in modal ( #621 )
...
* fix(module: select): broken removing of selected tag
* fix: [dropdown、select] work incorrectly in modal
2020-09-19 09:15:16 +08:00
TimChen
19f51c87fa
fix(module: drawer): close event bug ( #599 )
...
* fix: drawer close event bug
* refactor: translate some comments
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 19:42:48 +08:00
TimChen
cbc5e823f0
refactor(module: all): separate the normal and template parameters ( #552 )
...
* fix: card title template
* fix: template:badge,collapse
* fix: comment refactor template
* fix: ribbonTests
* feat: descriptions refactor template
* feat: empty refactor template
* feat: list refactor template
* feat: menu refactor template
* feat: confirm add question icon
* feat: pageHeader and statistic refactor template
* feat: popconfirm refactor template
* feat: popver refactor template
* feat: result refactor template
* feat: step refactor template
* feat: switch refactor template
* feat: table refactor template
* feat: transfer refactor template
* feat: optimized code
* fix: pageheader
* refactor(module: empty): remove empty image constant images
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 13:58:16 +08:00
James Yeung
19bfe1bfff
chore: sync ant-design v4.6.3 ( #577 )
2020-09-11 15:44:34 +08:00
James Yeung
360fe0d3c0
fix(hosting): server prerendering issue ( #583 )
...
* refactor: rename JSInterop constants
* docs: fix typo
* fix: server prerendering issue
2020-09-09 00:52:14 +08:00
James Yeung
bd34858efd
feat: support for globalization & localization ( #578 )
...
* feat: add locale
* feat: add locale interfaces
* fix: add locale interfaces for components
* fix: use local classes instead of interfaces
* feat: implement the locale provider
* feat: make some components to support localization
* fix: default language
* fix: test
* chore: remove the useless reference
2020-09-07 22:46:50 +08:00
zxyao
88a26ac583
fix(module: modal&drawer): body scroll bar does not respond correctly ( #573 )
2020-09-05 16:09:58 +08:00
TimChen
2e9b89f3e5
fix: modal button sort ( #553 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-02 14:56:20 +08:00
zxyao
ec6886ae24
feat(module: modal): support draggable ( #523 )
...
* feat(module: modal): allow drag Modal
* feat(module: demo): add draggable modal demo
* fix(module: modal): support reset position on show in draggable mode
* fix: width error when modal close immediately after opening
* docs: change demo order of Modal compontent
* fix: modal reset to antd style when close immediately after opening
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 07:28:44 +08:00
James Yeung
91b6e0efcc
chore: sync ant-design v4.6.0 ( #524 )
2020-08-23 16:06:08 +08:00
zxyao
84a3b742c2
feat(module: modal): support getting the result from confirm ( #476 )
...
* feat(module: confirm): support blocking to get the result of confirm
* refactor: change modalservice Confirm return value,add ConfirmAsync FUNC
* feat: add ConfirmService
* fix: button text
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-22 09:24:55 +08:00
Mei
f9051fcf09
fix(module: modal): button text for confirm dialog ( #389 )
...
Co-authored-by: meijinyi <meijinyi@gloudtek.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-20 22:49:53 +08:00
zxyao
a30dc39314
fix(module: modal): crashes when DestroyOnClose is set to true ( #373 )
...
fixed #373
2020-07-16 16:57:13 +08:00
TimChen
1877592211
feat(module: modal): support template component ( #345 )
...
* feat: modal support template
* feat: modal update
* feat: modal update
* feat: modal update
* feat: modal update
* docs: fix ci
* fix: demo title
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 23:19:55 +08:00
James Yeung
30dc4db99b
chore: sync ant-design v4.4.0 ( #277 )
2020-07-01 21:38:23 +08:00