* 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
* Expose SubMenu's Placement
The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.
* Try fix#922
I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.
* Just optimize code style
* fix: rangepicker parameter error
* refactor: use EventCallback instead of Action
* refactor: use EventCallback instead of Action
* fix: rename the class name
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* 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>
* Replaced IdGeneratorHelper with DI service that can be replaced by user
* removed license comments and unnecessary usings
* check Id null before assigning autogenerated id
* fix: unit test
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* 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>
* 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>
* feat: add icon list for demo page of icon
* feat: add copy function for icon list
* feat: get existed icon
* feat: remove some blanks in list.razor
* feat: remove some blanks
* fix: default value is outline for icon list
* fix: click to copy for icon list
* feat: add async to load icon list
* feat: update iconlistService
* chore: update icons
* fix: icon load async
* feat: add application icons in IconlistServices
* fix: remove the exist icon from existed catogory if duplicated
* fix: add @key for list items
* fix: revert the change
Co-authored-by: ElderJames <shunjiey@hotmail.com>