qidian-vue-ui 1.0.93 → 1.0.95
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/components/crud/list.vue.d.ts +2 -0
- package/dist/{en-US-D5AZbyZg.js → en-US-Cbar2SsB.js} +2 -2
- package/dist/{en-US-D5AZbyZg.js.map → en-US-Cbar2SsB.js.map} +1 -1
- package/dist/{en-US-CrnVUD_n.mjs → en-US-DPyo6heP.mjs} +2 -2
- package/dist/{en-US-CrnVUD_n.mjs.map → en-US-DPyo6heP.mjs.map} +1 -1
- package/dist/{index-kcqOC7_Y.js → index-DUtSEQJ3.js} +29 -13
- package/dist/{index-kcqOC7_Y.js.map → index-DUtSEQJ3.js.map} +1 -1
- package/dist/{index-DUD8TmKk.mjs → index-aiqgTd8M.mjs} +28 -12
- package/dist/{index-DUD8TmKk.mjs.map → index-aiqgTd8M.mjs.map} +1 -1
- package/dist/qidian-vue-ui.css +18 -18
- package/dist/qidian-vue-ui.js +1 -1
- package/dist/qidian-vue-ui.mjs +1 -1
- package/dist/{zh-TW-D8Raa-dp.js → zh-TW-DGz9UUnr.js} +2 -2
- package/dist/{zh-TW-D8Raa-dp.js.map → zh-TW-DGz9UUnr.js.map} +1 -1
- package/dist/{zh-TW-DmecArRk.mjs → zh-TW-LiWc27ue.mjs} +2 -2
- package/dist/{zh-TW-DmecArRk.mjs.map → zh-TW-LiWc27ue.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -12760,8 +12760,8 @@ const QdConfigProvider = defineComponent({
|
|
|
12760
12760
|
watchEffect(async () => {
|
|
12761
12761
|
const localeMap = {
|
|
12762
12762
|
"zh-CN": () => Promise.resolve().then(() => zhCN$1),
|
|
12763
|
-
"zh-TW": () => import("./zh-TW-
|
|
12764
|
-
"en-US": () => import("./en-US-
|
|
12763
|
+
"zh-TW": () => import("./zh-TW-LiWc27ue.mjs"),
|
|
12764
|
+
"en-US": () => import("./en-US-DPyo6heP.mjs")
|
|
12765
12765
|
};
|
|
12766
12766
|
const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
|
|
12767
12767
|
const [err, res] = await to(
|
|
@@ -16964,7 +16964,16 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16964
16964
|
const formRef = useTemplateRef("form");
|
|
16965
16965
|
const submitShowErrorMessage = ref();
|
|
16966
16966
|
const reProps = computed(() => {
|
|
16967
|
-
const {
|
|
16967
|
+
const {
|
|
16968
|
+
grid,
|
|
16969
|
+
gutter,
|
|
16970
|
+
items,
|
|
16971
|
+
onSubmit,
|
|
16972
|
+
data: data2,
|
|
16973
|
+
scrollToFirstError,
|
|
16974
|
+
loading: externalLoad,
|
|
16975
|
+
...formOptions
|
|
16976
|
+
} = props;
|
|
16968
16977
|
return {
|
|
16969
16978
|
externalLoad,
|
|
16970
16979
|
formOptions: {
|
|
@@ -18610,9 +18619,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
18610
18619
|
function handleSearch() {
|
|
18611
18620
|
searchMode = "changeCurrent";
|
|
18612
18621
|
}
|
|
18613
|
-
function handleResetSearch() {
|
|
18622
|
+
async function handleResetSearch() {
|
|
18614
18623
|
searchMode = "changeCurrent";
|
|
18615
18624
|
searchRef.value?.reset();
|
|
18625
|
+
await nextTick();
|
|
18616
18626
|
searchRef.value?.submit();
|
|
18617
18627
|
}
|
|
18618
18628
|
function triggerSearch({
|
|
@@ -19086,7 +19096,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19086
19096
|
};
|
|
19087
19097
|
}
|
|
19088
19098
|
});
|
|
19089
|
-
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
19099
|
+
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-94011095"]]);
|
|
19090
19100
|
const _hoisted_1$2 = {
|
|
19091
19101
|
key: 0,
|
|
19092
19102
|
class: "qd-crud-list__header"
|
|
@@ -19191,8 +19201,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19191
19201
|
const listRef = useTemplateRef("list");
|
|
19192
19202
|
function handleSearch() {
|
|
19193
19203
|
}
|
|
19194
|
-
function handleResetSearch() {
|
|
19204
|
+
async function handleResetSearch() {
|
|
19195
19205
|
searchRef.value?.reset();
|
|
19206
|
+
await nextTick();
|
|
19196
19207
|
searchRef.value?.submit();
|
|
19197
19208
|
}
|
|
19198
19209
|
function triggerSearch({
|
|
@@ -19216,8 +19227,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19216
19227
|
"onUpdate:data": _cache[0] || (_cache[0] = ($event) => isRef(searchData) ? searchData.value = $event : null)
|
|
19217
19228
|
}, reProps.value.searchOptions, {
|
|
19218
19229
|
"on-submit": triggerSearch
|
|
19219
|
-
}), {
|
|
19220
|
-
footer: withCtx(() => [createVNode(unref(Space), {
|
|
19230
|
+
}), createSlots({
|
|
19231
|
+
"form-footer": withCtx(() => [createVNode(unref(Space), {
|
|
19221
19232
|
align: "center",
|
|
19222
19233
|
size: "small"
|
|
19223
19234
|
}, {
|
|
@@ -19236,8 +19247,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19236
19247
|
})]),
|
|
19237
19248
|
_: 1
|
|
19238
19249
|
})]),
|
|
19239
|
-
_:
|
|
19240
|
-
},
|
|
19250
|
+
_: 2
|
|
19251
|
+
}, [renderList(unref(extractSlotsWithPrefix)(_ctx.$slots, "search"), (item) => {
|
|
19252
|
+
return {
|
|
19253
|
+
name: item.filterName,
|
|
19254
|
+
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, item.originalName, normalizeProps(guardReactiveProps(slotProps)), void 0, true)])
|
|
19255
|
+
};
|
|
19256
|
+
})]), 1040, ["data"])) : createCommentVNode("", true), _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2$1, [createVNode(unref(Space), {
|
|
19241
19257
|
align: "center",
|
|
19242
19258
|
size: "small"
|
|
19243
19259
|
}, {
|
|
@@ -19262,7 +19278,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19262
19278
|
};
|
|
19263
19279
|
}
|
|
19264
19280
|
});
|
|
19265
|
-
const list = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
19281
|
+
const list = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-66a035f0"]]);
|
|
19266
19282
|
function defineQdCrudTable(config) {
|
|
19267
19283
|
return config;
|
|
19268
19284
|
}
|
|
@@ -55365,4 +55381,4 @@ export {
|
|
|
55365
55381
|
_sfc_main$a as y,
|
|
55366
55382
|
QdFormItem as z
|
|
55367
55383
|
};
|
|
55368
|
-
//# sourceMappingURL=index-
|
|
55384
|
+
//# sourceMappingURL=index-aiqgTd8M.mjs.map
|