qidian-vue-ui 1.0.91 → 1.0.93
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/search.vue.d.ts +6 -4
- package/dist/components/crud/table.vue.d.ts +2 -0
- package/dist/{en-US-CsNKuhlB.mjs → en-US-CrnVUD_n.mjs} +2 -2
- package/dist/{en-US-CsNKuhlB.mjs.map → en-US-CrnVUD_n.mjs.map} +1 -1
- package/dist/{en-US-CcDI13Mw.js → en-US-D5AZbyZg.js} +2 -2
- package/dist/{en-US-CcDI13Mw.js.map → en-US-D5AZbyZg.js.map} +1 -1
- package/dist/{index-nH2m5m9w.mjs → index-DUD8TmKk.mjs} +31 -17
- package/dist/{index-nH2m5m9w.mjs.map → index-DUD8TmKk.mjs.map} +1 -1
- package/dist/{index-CVLryx2-.js → index-kcqOC7_Y.js} +32 -18
- package/dist/{index-CVLryx2-.js.map → index-kcqOC7_Y.js.map} +1 -1
- package/dist/qidian-vue-ui.css +12 -15
- package/dist/qidian-vue-ui.js +1 -1
- package/dist/qidian-vue-ui.mjs +1 -1
- package/dist/{zh-TW-LvE5Oaw9.js → zh-TW-D8Raa-dp.js} +2 -2
- package/dist/{zh-TW-LvE5Oaw9.js.map → zh-TW-D8Raa-dp.js.map} +1 -1
- package/dist/{zh-TW-CiABPzok.mjs → zh-TW-DmecArRk.mjs} +2 -2
- package/dist/{zh-TW-CiABPzok.mjs.map → zh-TW-DmecArRk.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -12762,8 +12762,8 @@ const QdConfigProvider = vue.defineComponent({
|
|
|
12762
12762
|
vue.watchEffect(async () => {
|
|
12763
12763
|
const localeMap = {
|
|
12764
12764
|
"zh-CN": () => Promise.resolve().then(() => zhCN$1),
|
|
12765
|
-
"zh-TW": () => Promise.resolve().then(() => require("./zh-TW-
|
|
12766
|
-
"en-US": () => Promise.resolve().then(() => require("./en-US-
|
|
12765
|
+
"zh-TW": () => Promise.resolve().then(() => require("./zh-TW-D8Raa-dp.js")),
|
|
12766
|
+
"en-US": () => Promise.resolve().then(() => require("./en-US-D5AZbyZg.js"))
|
|
12767
12767
|
};
|
|
12768
12768
|
const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
|
|
12769
12769
|
const [err, res] = await to(
|
|
@@ -17264,7 +17264,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
17264
17264
|
gutter: {},
|
|
17265
17265
|
grid: {}
|
|
17266
17266
|
}, qdCrudSearchProps),
|
|
17267
|
-
emits: ["update:
|
|
17267
|
+
emits: ["update:data"],
|
|
17268
17268
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17269
17269
|
const props = __props;
|
|
17270
17270
|
const emit = __emit;
|
|
@@ -17283,29 +17283,38 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
17283
17283
|
});
|
|
17284
17284
|
__expose(expose);
|
|
17285
17285
|
return (_ctx, _cache) => {
|
|
17286
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$j), { class: "qd-crud-search" }, {
|
|
17286
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$j), { class: "qd-crud-search" }, vue.createSlots({
|
|
17287
17287
|
default: vue.withCtx(() => [
|
|
17288
17288
|
vue.createVNode(vue.unref(_sfc_main$a), vue.mergeProps({
|
|
17289
17289
|
ref: "form",
|
|
17290
17290
|
data: vue.unref(data),
|
|
17291
17291
|
"onUpdate:data": _cache[0] || (_cache[0] = ($event) => vue.isRef(data) ? data.value = $event : null)
|
|
17292
17292
|
}, reProps.value.formOptions), vue.createSlots({ _: 2 }, [
|
|
17293
|
-
vue.renderList(_ctx.$slots,
|
|
17293
|
+
vue.renderList(vue.unref(extractSlotsWithPrefix)(_ctx.$slots, "form"), (item) => {
|
|
17294
17294
|
return {
|
|
17295
|
-
name,
|
|
17295
|
+
name: item.filterName,
|
|
17296
17296
|
fn: vue.withCtx((slotProps) => [
|
|
17297
|
-
vue.renderSlot(_ctx.$slots,
|
|
17297
|
+
vue.renderSlot(_ctx.$slots, item.originalName, vue.normalizeProps(vue.guardReactiveProps(slotProps)), void 0, true)
|
|
17298
17298
|
])
|
|
17299
17299
|
};
|
|
17300
17300
|
})
|
|
17301
17301
|
]), 1040, ["data"])
|
|
17302
17302
|
]),
|
|
17303
|
-
_:
|
|
17304
|
-
}
|
|
17303
|
+
_: 2
|
|
17304
|
+
}, [
|
|
17305
|
+
vue.renderList(vue.unref(extractSlotsWithPrefix)(_ctx.$slots, "card"), (item) => {
|
|
17306
|
+
return {
|
|
17307
|
+
name: item.filterName,
|
|
17308
|
+
fn: vue.withCtx((slotProps) => [
|
|
17309
|
+
vue.renderSlot(_ctx.$slots, item.originalName, vue.normalizeProps(vue.guardReactiveProps(slotProps)), void 0, true)
|
|
17310
|
+
])
|
|
17311
|
+
};
|
|
17312
|
+
})
|
|
17313
|
+
]), 1024);
|
|
17305
17314
|
};
|
|
17306
17315
|
}
|
|
17307
17316
|
});
|
|
17308
|
-
const QdCrudSearch = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
17317
|
+
const QdCrudSearch = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-2cf11b71"]]);
|
|
17309
17318
|
async function getBytes(stream, onChunk) {
|
|
17310
17319
|
const reader = stream.getReader();
|
|
17311
17320
|
let result;
|
|
@@ -18623,7 +18632,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18623
18632
|
}
|
|
18624
18633
|
function handleRefresh() {
|
|
18625
18634
|
searchMode = "refresh";
|
|
18626
|
-
|
|
18635
|
+
searchRef.value?.submit();
|
|
18627
18636
|
}
|
|
18628
18637
|
function toggleSearchVisible() {
|
|
18629
18638
|
searchVisible.value = !searchVisible.value;
|
|
@@ -18903,8 +18912,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18903
18912
|
class: [!searchVisible.value ? "qd-crud-search--hide" : ""]
|
|
18904
18913
|
}, reProps.value.searchOptions, {
|
|
18905
18914
|
"on-submit": triggerSearch
|
|
18906
|
-
}), {
|
|
18907
|
-
footer: vue.withCtx(() => [vue.createVNode(vue.unref(tdesignVueNext.Space), {
|
|
18915
|
+
}), vue.createSlots({
|
|
18916
|
+
"form-footer": vue.withCtx(() => [vue.createVNode(vue.unref(tdesignVueNext.Space), {
|
|
18908
18917
|
align: "center",
|
|
18909
18918
|
size: "small"
|
|
18910
18919
|
}, {
|
|
@@ -18923,8 +18932,13 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18923
18932
|
})]),
|
|
18924
18933
|
_: 1
|
|
18925
18934
|
})]),
|
|
18926
|
-
_:
|
|
18927
|
-
},
|
|
18935
|
+
_: 2
|
|
18936
|
+
}, [vue.renderList(vue.unref(extractSlotsWithPrefix)(_ctx.$slots, "search"), (item) => {
|
|
18937
|
+
return {
|
|
18938
|
+
name: item.filterName,
|
|
18939
|
+
fn: vue.withCtx((slotProps) => [vue.renderSlot(_ctx.$slots, item.originalName, vue.normalizeProps(vue.guardReactiveProps(slotProps)), void 0, true)])
|
|
18940
|
+
};
|
|
18941
|
+
})]), 1040, ["data", "class"])), [[vue.vShow, searchVisible.value]]) : vue.createCommentVNode("", true), vue.createVNode(vue.unref(_sfc_main$j), {
|
|
18928
18942
|
class: "qd-crud-table__body"
|
|
18929
18943
|
}, {
|
|
18930
18944
|
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$2, [vue.createVNode(vue.unref(tdesignVueNext.Space), {
|
|
@@ -19074,7 +19088,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19074
19088
|
};
|
|
19075
19089
|
}
|
|
19076
19090
|
});
|
|
19077
|
-
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
19091
|
+
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-9eaeb26e"]]);
|
|
19078
19092
|
const _hoisted_1$2 = {
|
|
19079
19093
|
key: 0,
|
|
19080
19094
|
class: "qd-crud-list__header"
|
|
@@ -28267,7 +28281,7 @@ class NodeFilterFactory extends BaseFilterFactory {
|
|
|
28267
28281
|
}
|
|
28268
28282
|
class NodeCanvasFactory extends BaseCanvasFactory {
|
|
28269
28283
|
_createCanvas(width, height) {
|
|
28270
|
-
const require$1 = process.getBuiltinModule("module").createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-
|
|
28284
|
+
const require$1 = process.getBuiltinModule("module").createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-kcqOC7_Y.js", document.baseURI).href);
|
|
28271
28285
|
const canvas = require$1("@napi-rs/canvas");
|
|
28272
28286
|
return canvas.createCanvas(width, height);
|
|
28273
28287
|
}
|
|
@@ -55351,4 +55365,4 @@ exports.useDictDynamic = useDictDynamic;
|
|
|
55351
55365
|
exports.useDisabled = useDisabled;
|
|
55352
55366
|
exports.useModal = useModal;
|
|
55353
55367
|
exports.useReadonly = useReadonly;
|
|
55354
|
-
//# sourceMappingURL=index-
|
|
55368
|
+
//# sourceMappingURL=index-kcqOC7_Y.js.map
|