@mythpe/quasar-ui-qui 0.0.86 → 0.0.87
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
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
import lodash from 'lodash'
|
|
10
10
|
import { useI18n } from 'vue-i18n'
|
|
11
11
|
import type { RouteLocationNormalizedLoaded } from 'vue-router'
|
|
12
|
+
import { useRoute } from 'vue-router'
|
|
12
13
|
import type { QDialogOptions, QNotifyCreateOptions } from 'quasar'
|
|
13
14
|
import { copyToClipboard, extend, useQuasar } from 'quasar'
|
|
14
15
|
import { Helpers, MythKey, type MythType, Str, veeRules } from '../utils'
|
|
15
16
|
import type { MDtColumn, MDtHeadersParameter, ParseHeaderOptions, Vue3MAlertMessage, Vue3MAlertMessageOptions, Vue3MConfirmMessage } from '../types'
|
|
16
17
|
import { computed, inject } from 'vue'
|
|
17
|
-
import { useRoute } from 'vue-router'
|
|
18
18
|
|
|
19
19
|
export const useMyth = () => {
|
|
20
20
|
const plugin = inject(MythKey) as MythType
|
|
@@ -264,23 +264,21 @@ export const useMyth = () => {
|
|
|
264
264
|
message,
|
|
265
265
|
focus: 'none',
|
|
266
266
|
cancel: {
|
|
267
|
-
color: cancelProps.color ||
|
|
267
|
+
color: cancelProps.color || undefined,
|
|
268
268
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
269
269
|
// @ts-ignore
|
|
270
|
-
label: t(cancelProps?.label || '
|
|
270
|
+
label: t(cancelProps?.label || 'labels.cancel'),
|
|
271
|
+
outline: !0,
|
|
271
272
|
...buttonsProps as any,
|
|
272
|
-
flat: !0,
|
|
273
|
-
unelevated: !0,
|
|
274
273
|
...cancelProps as any
|
|
275
274
|
},
|
|
276
275
|
ok: {
|
|
277
|
-
color: okProps.color || '
|
|
276
|
+
color: okProps.color || 'primary',
|
|
278
277
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
279
278
|
// @ts-ignore
|
|
280
|
-
label: t(okProps?.label || '
|
|
279
|
+
label: t(okProps?.label || 'labels.confirm'),
|
|
280
|
+
outline: !1,
|
|
281
281
|
...buttonsProps as any,
|
|
282
|
-
flat: !0,
|
|
283
|
-
unelevated: !0,
|
|
284
282
|
...okProps as any
|
|
285
283
|
},
|
|
286
284
|
persistent: !0,
|