@mythpe/quasar-ui-qui 0.3.47 → 0.3.49

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.3.47",
3
+ "version": "0.3.49",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -7,7 +7,7 @@ import type { MythComponentsProps as UiOpt } from '../types/plugin-props-option'
7
7
  type G = { name: string; [k: string]: any };
8
8
  type OptsContext = { choose?: boolean; };
9
9
  export const useBindInput = <P extends G = G> (Props: MaybeRefOrGetter<P>, key: keyof UiOpt, Opts: MaybeRefOrGetter<OptsContext> = {}) => {
10
- const { messages, locale } = useI18n({ useScope: 'global' })
10
+ const { messages, locale, te } = useI18n({ useScope: 'global' })
11
11
  const {
12
12
  __, theme: mTheme,
13
13
  props: pluginProps,
@@ -73,6 +73,9 @@ export const useBindInput = <P extends G = G> (Props: MaybeRefOrGetter<P>, key:
73
73
  if (k && k.indexOf('.*.') !== -1) {
74
74
  return __(k.split('.').pop()) || undefined
75
75
  }
76
+ if (k && k.indexOf('.') !== -1 && !te(k)) {
77
+ return __(k.split('.').pop()) || undefined
78
+ }
76
79
  return __(k) || undefined
77
80
  })
78
81
  const getPlaceholder = computed<string | undefined>(() => {