@simsustech/quasar-components 0.3.3 → 0.3.4
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/CHANGELOG.md +6 -0
- package/dist/form.js +4 -3
- package/package.json +1 -1
- package/src/ui/form/GenderSelect.vue +1 -1
package/CHANGELOG.md
CHANGED
package/dist/form.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, defineComponent, useAttrs, watch, openBlock, createBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, computed, useSlots, renderSlot, createCommentVNode, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment } from "vue";
|
|
1
|
+
import { ref, defineComponent, useAttrs, withAsyncContext, watch, openBlock, createBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, computed, useSlots, renderSlot, createCommentVNode, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment } from "vue";
|
|
2
2
|
import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QIcon, QBtn, QDate, QPopupProxy, QEditor } from "quasar";
|
|
3
3
|
const lang$1 = {
|
|
4
4
|
isoName: "en-US",
|
|
@@ -73,13 +73,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
required: { type: Boolean }
|
|
74
74
|
},
|
|
75
75
|
emits: ["update:modelValue"],
|
|
76
|
-
setup(__props) {
|
|
76
|
+
async setup(__props) {
|
|
77
|
+
let __temp, __restore;
|
|
77
78
|
const props = __props;
|
|
78
79
|
const attrs = useAttrs();
|
|
79
80
|
const lang2 = useLang();
|
|
80
81
|
const $q = useQuasar();
|
|
81
82
|
if (lang2.value.isoName !== $q.lang.isoName)
|
|
82
|
-
loadLang($q.lang.isoName);
|
|
83
|
+
[__temp, __restore] = withAsyncContext(() => loadLang($q.lang.isoName)), await __temp, __restore();
|
|
83
84
|
watch($q.lang, (val) => {
|
|
84
85
|
loadLang($q.lang.isoName);
|
|
85
86
|
});
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ const attrs = useAttrs()
|
|
|
28
28
|
const lang = useLang()
|
|
29
29
|
|
|
30
30
|
const $q = useQuasar()
|
|
31
|
-
if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName)
|
|
31
|
+
if (lang.value.isoName !== $q.lang.isoName) await loadLang($q.lang.isoName)
|
|
32
32
|
watch($q.lang, (val) => {
|
|
33
33
|
loadLang($q.lang.isoName)
|
|
34
34
|
})
|