* feat: support the maximization of Modal initialization (#2823)
* fix: the lifecycle of MaximizationOnInit
* rename to DefaultMaximized
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* 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
* 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>
* 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