@mythpe/quasar-ui-qui 0.0.86 → 0.0.88

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.0.86",
3
+ "version": "0.0.88",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -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,26 +264,26 @@ export const useMyth = () => {
264
264
  message,
265
265
  focus: 'none',
266
266
  cancel: {
267
- color: cancelProps.color || 'positive',
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 || 'no'),
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 || 'negative',
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 || 'yes'),
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,
285
+ transitionShow: 'jump-down',
286
+ transitionHide: 'jump-up',
287
287
  ...dialogProps as any,
288
288
  ...opts as any
289
289
  })