@mythpe/quasar-ui-qui 0.0.88 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ import lodash from 'lodash'
|
|
|
10
10
|
import { useI18n } from 'vue-i18n'
|
|
11
11
|
import type { RouteLocationNormalizedLoaded } from 'vue-router'
|
|
12
12
|
import { useRoute } from 'vue-router'
|
|
13
|
-
import type { QDialogOptions, QNotifyCreateOptions } from 'quasar'
|
|
13
|
+
import type { QDialogOptions, QDialogProps, QNotifyCreateOptions } from 'quasar'
|
|
14
14
|
import { copyToClipboard, extend, useQuasar } from 'quasar'
|
|
15
15
|
import { Helpers, MythKey, type MythType, Str, veeRules } from '../utils'
|
|
16
16
|
import type { MDtColumn, MDtHeadersParameter, ParseHeaderOptions, Vue3MAlertMessage, Vue3MAlertMessageOptions, Vue3MConfirmMessage } from '../types'
|
|
@@ -243,7 +243,7 @@ export const useMyth = () => {
|
|
|
243
243
|
const alertError = (message: string) => {
|
|
244
244
|
return alertMessage({ type: 'negative', message })
|
|
245
245
|
}
|
|
246
|
-
const confirmMessage = (message?: string, title?: string, opts?: QDialogOptions): Vue3MConfirmMessage => {
|
|
246
|
+
const confirmMessage = (message?: string, title?: string, opts?: Partial<QDialogOptions> & Partial<QDialogProps>): Vue3MConfirmMessage => {
|
|
247
247
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
248
248
|
// @ts-ignore
|
|
249
249
|
title = title || t('messages.are_you_sure') || ''
|
|
@@ -263,6 +263,9 @@ export const useMyth = () => {
|
|
|
263
263
|
title,
|
|
264
264
|
message,
|
|
265
265
|
focus: 'none',
|
|
266
|
+
noShake: !0,
|
|
267
|
+
allowFocusOutside: !0,
|
|
268
|
+
persistent: !0,
|
|
266
269
|
cancel: {
|
|
267
270
|
color: cancelProps.color || undefined,
|
|
268
271
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -281,9 +284,6 @@ export const useMyth = () => {
|
|
|
281
284
|
...buttonsProps as any,
|
|
282
285
|
...okProps as any
|
|
283
286
|
},
|
|
284
|
-
persistent: !0,
|
|
285
|
-
transitionShow: 'jump-down',
|
|
286
|
-
transitionHide: 'jump-up',
|
|
287
287
|
...dialogProps as any,
|
|
288
288
|
...opts as any
|
|
289
289
|
})
|