qidian-vue-ui 1.1.15 → 1.1.16
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/dist/{en-US-Bgrck3LN.js → en-US-BQJZV1Ag.js} +2 -2
- package/dist/{en-US-Bgrck3LN.js.map → en-US-BQJZV1Ag.js.map} +1 -1
- package/dist/{en-US-ChQ_hdMg.mjs → en-US-DOV4CpBM.mjs} +2 -2
- package/dist/{en-US-ChQ_hdMg.mjs.map → en-US-DOV4CpBM.mjs.map} +1 -1
- package/dist/{index-Bfugke0s.js → index-CJVlayYr.js} +11 -5
- package/dist/{index-Bfugke0s.js.map → index-CJVlayYr.js.map} +1 -1
- package/dist/{index-Dd5tbuJy.mjs → index-CVUolNBn.mjs} +10 -4
- package/dist/{index-Dd5tbuJy.mjs.map → index-CVUolNBn.mjs.map} +1 -1
- package/dist/qidian-vue-ui.css +4 -0
- package/dist/qidian-vue-ui.js +1 -1
- package/dist/qidian-vue-ui.mjs +1 -1
- package/dist/{zh-TW-CkcVMdfn.mjs → zh-TW-D116IBq8.mjs} +2 -2
- package/dist/{zh-TW-CkcVMdfn.mjs.map → zh-TW-D116IBq8.mjs.map} +1 -1
- package/dist/{zh-TW-DfPZpT_x.js → zh-TW-DcRsyEc0.js} +2 -2
- package/dist/{zh-TW-DfPZpT_x.js.map → zh-TW-DcRsyEc0.js.map} +1 -1
- package/package.json +1 -1
|
@@ -12803,8 +12803,8 @@ const QdConfigProvider = defineComponent({
|
|
|
12803
12803
|
watchEffect(async () => {
|
|
12804
12804
|
const localeMap = {
|
|
12805
12805
|
"zh-CN": () => Promise.resolve().then(() => zhCN$1),
|
|
12806
|
-
"zh-TW": () => import("./zh-TW-
|
|
12807
|
-
"en-US": () => import("./en-US-
|
|
12806
|
+
"zh-TW": () => import("./zh-TW-D116IBq8.mjs"),
|
|
12807
|
+
"en-US": () => import("./en-US-DOV4CpBM.mjs")
|
|
12808
12808
|
};
|
|
12809
12809
|
const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
|
|
12810
12810
|
const [err, res] = await to(
|
|
@@ -14015,6 +14015,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14015
14015
|
setup(__props, { emit: __emit }) {
|
|
14016
14016
|
const props = __props;
|
|
14017
14017
|
const emit = __emit;
|
|
14018
|
+
let initialized = false;
|
|
14018
14019
|
const currentContext = computed(() => props.config.context || props.context || {});
|
|
14019
14020
|
const reIfRender = computed(() => {
|
|
14020
14021
|
const ifRender = props.config.ifRender;
|
|
@@ -14052,7 +14053,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14052
14053
|
const propName = key.slice(6);
|
|
14053
14054
|
const defaultKey = "default" + (key === "vModel" ? "ModelValue" : propName.charAt(0).toUpperCase() + key.slice(7));
|
|
14054
14055
|
const defaultValue = config[defaultKey];
|
|
14055
|
-
const vModelBinding = resolveVModelBinding(
|
|
14056
|
+
const vModelBinding = resolveVModelBinding(
|
|
14057
|
+
currentContext.value,
|
|
14058
|
+
value,
|
|
14059
|
+
initialized ? void 0 : defaultValue
|
|
14060
|
+
);
|
|
14056
14061
|
if (key === "vModel") {
|
|
14057
14062
|
componentProps2.modelValue = vModelBinding.modelValue;
|
|
14058
14063
|
componentProps2["onUpdate:modelValue"] = vModelBinding["onUpdate:modelValue"];
|
|
@@ -14063,6 +14068,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14063
14068
|
}
|
|
14064
14069
|
}
|
|
14065
14070
|
});
|
|
14071
|
+
initialized = true;
|
|
14066
14072
|
Object.entries(config).forEach(([key, value]) => {
|
|
14067
14073
|
if (["is", "context", "slots", "ifRender"].includes(key)) return;
|
|
14068
14074
|
if (key.startsWith("vModel")) return;
|
|
@@ -55858,4 +55864,4 @@ export {
|
|
|
55858
55864
|
_sfc_main$1 as y,
|
|
55859
55865
|
_sfc_main$b as z
|
|
55860
55866
|
};
|
|
55861
|
-
//# sourceMappingURL=index-
|
|
55867
|
+
//# sourceMappingURL=index-CVUolNBn.mjs.map
|