@mythpe/quasar-ui-qui 0.0.87 → 0.0.89
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,8 @@ 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?:
|
|
246
|
+
const confirmMessage = (message?: string, title?: string, opts?:
|
|
247
|
+
Partial<QDialogOptions> & Partial<QDialogProps>): Vue3MConfirmMessage => {
|
|
247
248
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
248
249
|
// @ts-ignore
|
|
249
250
|
title = title || t('messages.are_you_sure') || ''
|
|
@@ -263,6 +264,9 @@ export const useMyth = () => {
|
|
|
263
264
|
title,
|
|
264
265
|
message,
|
|
265
266
|
focus: 'none',
|
|
267
|
+
persistent: !0,
|
|
268
|
+
transitionShow: 'jump-down',
|
|
269
|
+
transitionHide: 'jump-up',
|
|
266
270
|
cancel: {
|
|
267
271
|
color: cancelProps.color || undefined,
|
|
268
272
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -281,7 +285,6 @@ export const useMyth = () => {
|
|
|
281
285
|
...buttonsProps as any,
|
|
282
286
|
...okProps as any
|
|
283
287
|
},
|
|
284
|
-
persistent: !0,
|
|
285
288
|
...dialogProps as any,
|
|
286
289
|
...opts as any
|
|
287
290
|
})
|