@mythpe/quasar-ui-qui 0.4.78 → 0.4.79
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 +1 -1
- package/src/composable/useMyth.ts +20 -13
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { useI18n } from 'vue-i18n'
|
|
10
10
|
import type { RouteLocationNormalizedLoaded } from 'vue-router'
|
|
11
11
|
import { useRoute } from 'vue-router'
|
|
12
|
-
import type { QDialogOptions, QDialogProps, QNotifyCreateOptions } from 'quasar'
|
|
12
|
+
import type { QBtnProps, QDialogOptions, QDialogProps, QNotifyCreateOptions } from 'quasar'
|
|
13
13
|
import { colors, copyToClipboard, extend, useQuasar } from 'quasar'
|
|
14
14
|
import { Helpers, MythKey, type MythType, Str, veeRules } from '../utils'
|
|
15
15
|
import type { MDtColumn, MDtHeadersParameter, ParseHeaderOptions, Vue3MAlertMessage, Vue3MAlertMessageOptions, Vue3MConfirmMessage } from '../types'
|
|
@@ -271,24 +271,31 @@ export const useMyth = () => {
|
|
|
271
271
|
message,
|
|
272
272
|
focus: 'none',
|
|
273
273
|
noShake: !0,
|
|
274
|
-
|
|
274
|
+
noBackdropDismiss: !0,
|
|
275
|
+
noFocus: !0,
|
|
276
|
+
noRouteDismiss: !0,
|
|
277
|
+
noEscDismiss: !0,
|
|
275
278
|
persistent: !0,
|
|
276
|
-
|
|
277
|
-
color: cancelProps.color || undefined,
|
|
278
|
-
label: t(cancelProps?.label || 'labels.cancel'),
|
|
279
|
-
outline: !0,
|
|
280
|
-
noCaps: !0,
|
|
281
|
-
...buttonsProps as any,
|
|
282
|
-
...cancelProps as any
|
|
283
|
-
},
|
|
279
|
+
allowFocusOutside: !0,
|
|
284
280
|
ok: {
|
|
285
|
-
color: okProps.color ||
|
|
281
|
+
color: okProps.color || undefined,
|
|
286
282
|
label: t(okProps?.label || 'labels.confirm'),
|
|
287
|
-
|
|
283
|
+
flat: !0,
|
|
288
284
|
noCaps: !0,
|
|
285
|
+
unelevated: !0,
|
|
286
|
+
style: 'min-width: 80px;',
|
|
289
287
|
...buttonsProps as any,
|
|
290
288
|
...okProps as any
|
|
291
|
-
},
|
|
289
|
+
} as QBtnProps,
|
|
290
|
+
cancel: {
|
|
291
|
+
color: cancelProps.color || 'primary',
|
|
292
|
+
label: t(cancelProps?.label || 'labels.cancel'),
|
|
293
|
+
noCaps: !0,
|
|
294
|
+
unelevated: !0,
|
|
295
|
+
style: 'min-width: 80px;',
|
|
296
|
+
...buttonsProps as any,
|
|
297
|
+
...cancelProps as any
|
|
298
|
+
} as QBtnProps,
|
|
292
299
|
...dialogProps as any,
|
|
293
300
|
...opts as any
|
|
294
301
|
})
|