* 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
* 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
* 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>
* 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 component modal
* fix: adjust namespace and fix TAB keyboard bug
* fix: reset package.json to cuueernt head
* fix: remove antblazor.sln
* refactor: using c# to control the display and hiding of modal