zxyao
1915f6c9a5
fix(module: modal): centered conflict maximizable style ( #3403 )
2023-09-03 16:01:01 +08:00
James Yeung
cc235c8d45
fix(module: image): preview operations would be covered by the preview image ( #3170 )
2023-03-10 22:53:48 +08:00
zxyao
84f586aeb5
fix(module: Modal): every key down will trigger Modal re-render ( #3099 )
2023-02-14 13:02:23 +08:00
wss-awachowicz
1b48d862e2
refactor(module: modal): update ConfirmService to use interface ( #3083 )
...
* ConfirmService To Interface
* backwards compatibility
2023-02-10 13:30:41 +08:00
zxyao
4f8eafa501
fix(module: notification): RTL incorrect style ( #3049 )
...
* fix: notification TRL not working
* feat: add top and bottom placement support
* fix: modal patch.less is lost when sync the css
* chore: code format
* fix: notification dom is flicker
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-02-01 00:16:03 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 ( #2877 )
2022-11-24 23:11:02 +08:00
James Yeung
ff7031ffec
merge master into feature
2022-11-14 17:43:54 +08:00
zxyao
3b5070a053
feat(module: modal): add only OK footer and only Cancel footer template ( #2812 )
...
* feat(modal): add only one OK footer and onlt one Cancel footer
* docs: update demo
2022-11-14 16:38:45 +08:00
zxyao
0ed2da0f29
feat(module: modal): support the maximization of Modal initialization ( #2834 )
...
* feat: support the maximization of Modal initialization (#2823 )
* fix: the lifecycle of MaximizationOnInit
* rename to DefaultMaximized
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-14 15:28:20 +08:00
zxyao
293920b3b1
fix(module: modal): remove close button of confirm dialog ( #2776 )
2022-10-09 19:06:43 +08:00
zxyao
726f10aa35
fix(module: modal): maximizable not work when using Title ( #2749 ) ( #2750 )
...
* fix(module: modal): maximizable not work when using Title
* docs: update demo text
2022-09-29 17:15:01 +08:00
James Yeung
3ac7701da4
merge master to feature
2022-08-21 22:53:33 +08:00
zxyao
4818d8b27b
feat(module: modal): support Maximizable ( #2573 )
...
* add maximizable button for Modal
* fix: patch.less
* export MaximizeBtnIcon and RestoreBtnIcon paramter
* refactor: fixed footer
2022-07-23 14:58:04 +08:00
zxyao
a93586367d
fix(module: modal): unreset enter animation className ( #2561 )
2022-07-10 01:50:11 +08:00
James Yeung
1659aef02d
chore: sync ant-design v4.20.7 ( #2497 )
...
* chore: sync ant-design v4.20.7
* fix style build
* clean the style
* fix dropdown overlay
* remove cdk styles
* fix dropdown overwrite styles
* fix doc styles
2022-06-04 00:44:34 +08:00
jp-rl
a97828e673
feat(module: confirm): add AutoFocusButton
options for the open method in confirm service ( #2398 )
...
* fix decimal conversion
* Fix Culture Decimal Separator
* feat(ConfirmService) Allow choose AutoFocusButton
* Update components/modal/confirmDialog/ConfirmService.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Fix after add Nullable to ConfirmAutoFocusButton
* Fix format in code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-04-30 18:35:57 +08:00
zxyao
afe2c7672e
fix(module: modal): get RTL from ConfigProvider ( #2295 )
2022-02-16 12:43:08 +08:00
zxyao
894e7a4f8f
feat(module: modal): max content body height support ( #2264 )
...
* docs: add form in moda demo
* feat: max content body height
* reset sln
* fix: debug code
* refactor: change MaxBodyHeight type
2022-01-25 10:28:27 +08:00
Andrzej Bakun
3d4f7adaaf
perf(module: overlay): positioning moved to js ( #1848 )
...
* fix(module:overlay): move postion calculation to js
fixes #1836
* docs: TriggerBoundaryAdjustMode explanation
* docs: select & datepicker got BoundaryAdjustmetMode
cleanup
* test: fixes
optimization & cleanup
* fix(module:overlay): recalculate overlay position when trigger resizes
* Minor clean-up
* fix(module:overlay): wait for Show to finish in Hide
* fix: prevent vertical scrollbar on overlay adding
* fix: extract waiting function
* fix: overlay not to repostion when trigger vanishes (menu issue)
* fix: scroll adjustment for position: fixed
* fix: on menu mode change, keep
* merge conflict fix
* fix: nominal calculation reset on failed adjustment
* fix: bugs
* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
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