import { ElDialog } from 'element-plus';

/** Prevent accidental form data loss from mask clicks across admin dialogs. */
export function applyElementPlusDialogDefaults() {
  ElDialog.props.closeOnClickModal.default = false;
}
