* 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
* Fix issue #1634 - Modal dialogs not showing anymore
* Removed unnecessary Search from ButtonProps as part of #1634 fix - Modal dialogs not showing anymore
* 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
* 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