qidian-vue-ui 1.0.71 → 1.0.73
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/config-renderer/types.d.ts +3 -1
- package/dist/components/dialog/index.vue.d.ts +0 -1
- package/dist/components/dialog/props.d.ts +0 -2
- package/dist/components/dict/tag.vue.d.ts +26 -2
- package/dist/components/service/types.d.ts +3 -1
- package/dist/{en-US-D38N0yWa.js → en-US-Bn_vxxsU.js} +2 -2
- package/dist/{en-US-D38N0yWa.js.map → en-US-Bn_vxxsU.js.map} +1 -1
- package/dist/{en-US--HDweqEV.mjs → en-US-eFFubRMn.mjs} +2 -2
- package/dist/{en-US--HDweqEV.mjs.map → en-US-eFFubRMn.mjs.map} +1 -1
- package/dist/{index-4e1YS15f.js → index-CIDRZ5Z2.js} +82 -42
- package/dist/{index-4e1YS15f.js.map → index-CIDRZ5Z2.js.map} +1 -1
- package/dist/{index-120nQHhl.mjs → index-DJv7PdD8.mjs} +80 -40
- package/dist/{index-120nQHhl.mjs.map → index-DJv7PdD8.mjs.map} +1 -1
- package/dist/qidian-vue-ui.css +36 -13
- package/dist/qidian-vue-ui.js +4 -4
- package/dist/qidian-vue-ui.mjs +1 -1
- package/dist/{zh-TW-OwICebAE.mjs → zh-TW-BSOP99L6.mjs} +2 -2
- package/dist/{zh-TW-OwICebAE.mjs.map → zh-TW-BSOP99L6.mjs.map} +1 -1
- package/dist/{zh-TW-CMO2pPWS.js → zh-TW-DX8ooDaX.js} +2 -2
- package/dist/{zh-TW-CMO2pPWS.js.map → zh-TW-DX8ooDaX.js.map} +1 -1
- package/package.json +1 -1
|
@@ -8526,14 +8526,14 @@ var Stream = (
|
|
|
8526
8526
|
var ASN1 = (
|
|
8527
8527
|
/** @class */
|
|
8528
8528
|
(function() {
|
|
8529
|
-
function ASN12(stream, header, length,
|
|
8530
|
-
if (!(
|
|
8529
|
+
function ASN12(stream, header, length, tag2, sub) {
|
|
8530
|
+
if (!(tag2 instanceof ASN1Tag)) {
|
|
8531
8531
|
throw new Error("Invalid tag value.");
|
|
8532
8532
|
}
|
|
8533
8533
|
this.stream = stream;
|
|
8534
8534
|
this.header = header;
|
|
8535
8535
|
this.length = length;
|
|
8536
|
-
this.tag =
|
|
8536
|
+
this.tag = tag2;
|
|
8537
8537
|
this.sub = sub;
|
|
8538
8538
|
}
|
|
8539
8539
|
ASN12.prototype.typeName = function() {
|
|
@@ -8743,7 +8743,7 @@ var ASN1 = (
|
|
|
8743
8743
|
stream = str;
|
|
8744
8744
|
}
|
|
8745
8745
|
var streamStart = new Stream(stream);
|
|
8746
|
-
var
|
|
8746
|
+
var tag2 = new ASN1Tag(stream);
|
|
8747
8747
|
var len = ASN12.decodeLength(stream);
|
|
8748
8748
|
var start = stream.pos;
|
|
8749
8749
|
var header = start - streamStart.pos;
|
|
@@ -8774,11 +8774,11 @@ var ASN1 = (
|
|
|
8774
8774
|
}
|
|
8775
8775
|
return ret;
|
|
8776
8776
|
};
|
|
8777
|
-
if (
|
|
8777
|
+
if (tag2.tagConstructed) {
|
|
8778
8778
|
sub = getSub();
|
|
8779
|
-
} else if (
|
|
8779
|
+
} else if (tag2.isUniversal() && (tag2.tagNumber == 3 || tag2.tagNumber == 4)) {
|
|
8780
8780
|
try {
|
|
8781
|
-
if (
|
|
8781
|
+
if (tag2.tagNumber == 3) {
|
|
8782
8782
|
if (stream.get() != 0) {
|
|
8783
8783
|
throw new Error("BIT STRINGs with unused bits cannot encapsulate.");
|
|
8784
8784
|
}
|
|
@@ -8799,7 +8799,7 @@ var ASN1 = (
|
|
|
8799
8799
|
}
|
|
8800
8800
|
stream.pos = start + Math.abs(len);
|
|
8801
8801
|
}
|
|
8802
|
-
return new ASN12(streamStart, header, len,
|
|
8802
|
+
return new ASN12(streamStart, header, len, tag2, sub);
|
|
8803
8803
|
};
|
|
8804
8804
|
return ASN12;
|
|
8805
8805
|
})()
|
|
@@ -12021,8 +12021,8 @@ const QdConfigProvider = defineComponent({
|
|
|
12021
12021
|
watchEffect(async () => {
|
|
12022
12022
|
const localeMap = {
|
|
12023
12023
|
"zh-CN": () => Promise.resolve().then(() => zhCN$1),
|
|
12024
|
-
"zh-TW": () => import("./zh-TW-
|
|
12025
|
-
"en-US": () => import("./en-US
|
|
12024
|
+
"zh-TW": () => import("./zh-TW-BSOP99L6.mjs"),
|
|
12025
|
+
"en-US": () => import("./en-US-eFFubRMn.mjs")
|
|
12026
12026
|
};
|
|
12027
12027
|
const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
|
|
12028
12028
|
const [err, res] = await to(
|
|
@@ -12109,7 +12109,7 @@ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
|
|
|
12109
12109
|
var nativeObjectToString$1 = objectProto$d.toString;
|
|
12110
12110
|
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
12111
12111
|
function getRawTag(value) {
|
|
12112
|
-
var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
|
|
12112
|
+
var isOwn = hasOwnProperty$a.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
|
|
12113
12113
|
try {
|
|
12114
12114
|
value[symToStringTag$1] = void 0;
|
|
12115
12115
|
var unmasked = true;
|
|
@@ -12118,7 +12118,7 @@ function getRawTag(value) {
|
|
|
12118
12118
|
var result = nativeObjectToString$1.call(value);
|
|
12119
12119
|
if (unmasked) {
|
|
12120
12120
|
if (isOwn) {
|
|
12121
|
-
value[symToStringTag$1] =
|
|
12121
|
+
value[symToStringTag$1] = tag2;
|
|
12122
12122
|
} else {
|
|
12123
12123
|
delete value[symToStringTag$1];
|
|
12124
12124
|
}
|
|
@@ -12179,8 +12179,8 @@ function isFunction(value) {
|
|
|
12179
12179
|
if (!isObject(value)) {
|
|
12180
12180
|
return false;
|
|
12181
12181
|
}
|
|
12182
|
-
var
|
|
12183
|
-
return
|
|
12182
|
+
var tag2 = baseGetTag(value);
|
|
12183
|
+
return tag2 == funcTag$2 || tag2 == genTag$1 || tag2 == asyncTag || tag2 == proxyTag;
|
|
12184
12184
|
}
|
|
12185
12185
|
var coreJsData = root["__core-js_shared__"];
|
|
12186
12186
|
var maskSrcKey = (function() {
|
|
@@ -12947,9 +12947,9 @@ function cloneTypedArray(typedArray, isDeep) {
|
|
|
12947
12947
|
}
|
|
12948
12948
|
var boolTag$2 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$2 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
|
|
12949
12949
|
var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
|
|
12950
|
-
function initCloneByTag(object,
|
|
12950
|
+
function initCloneByTag(object, tag2, isDeep) {
|
|
12951
12951
|
var Ctor = object.constructor;
|
|
12952
|
-
switch (
|
|
12952
|
+
switch (tag2) {
|
|
12953
12953
|
case arrayBufferTag$1:
|
|
12954
12954
|
return cloneArrayBuffer(object);
|
|
12955
12955
|
case boolTag$2:
|
|
@@ -13013,17 +13013,17 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
|
13013
13013
|
if (isArr) {
|
|
13014
13014
|
result = initCloneArray(value);
|
|
13015
13015
|
} else {
|
|
13016
|
-
var
|
|
13016
|
+
var tag2 = getTag(value), isFunc = tag2 == funcTag || tag2 == genTag;
|
|
13017
13017
|
if (isBuffer(value)) {
|
|
13018
13018
|
return cloneBuffer(value, isDeep);
|
|
13019
13019
|
}
|
|
13020
|
-
if (
|
|
13020
|
+
if (tag2 == objectTag || tag2 == argsTag || isFunc && !object) {
|
|
13021
13021
|
result = isFunc ? {} : initCloneObject(value);
|
|
13022
13022
|
} else {
|
|
13023
|
-
if (!cloneableTags[
|
|
13023
|
+
if (!cloneableTags[tag2]) {
|
|
13024
13024
|
return object ? value : {};
|
|
13025
13025
|
}
|
|
13026
|
-
result = initCloneByTag(value,
|
|
13026
|
+
result = initCloneByTag(value, tag2, isDeep);
|
|
13027
13027
|
}
|
|
13028
13028
|
}
|
|
13029
13029
|
stack || (stack = new Stack());
|
|
@@ -13270,7 +13270,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
13270
13270
|
return value !== false && value !== null && value !== void 0;
|
|
13271
13271
|
});
|
|
13272
13272
|
const resolvedComponent = computed(() => {
|
|
13273
|
-
const { is } = props.config;
|
|
13273
|
+
const { is, render } = props.config;
|
|
13274
|
+
if (render) {
|
|
13275
|
+
return () => render(h, currentContext.value);
|
|
13276
|
+
}
|
|
13274
13277
|
if (!is) return "div";
|
|
13275
13278
|
if (typeof is === "string") {
|
|
13276
13279
|
if (is === is.toLowerCase()) {
|
|
@@ -14926,6 +14929,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14926
14929
|
pagination: rePagination.value
|
|
14927
14930
|
}), createSlots({
|
|
14928
14931
|
empty: withCtx(() => [createVNode(unref(Empty), {
|
|
14932
|
+
class: "qd-service-table__empty",
|
|
14929
14933
|
title: unref(t)("emptyText")
|
|
14930
14934
|
}, null, 8, ["title"])]),
|
|
14931
14935
|
_: 2
|
|
@@ -14938,7 +14942,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14938
14942
|
};
|
|
14939
14943
|
}
|
|
14940
14944
|
});
|
|
14941
|
-
const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
14945
|
+
const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-020b9102"]]);
|
|
14942
14946
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
14943
14947
|
...{
|
|
14944
14948
|
name: "QdServiceList"
|
|
@@ -14946,6 +14950,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
14946
14950
|
__name: "list",
|
|
14947
14951
|
props: /* @__PURE__ */ mergeDefaults({
|
|
14948
14952
|
data: {},
|
|
14953
|
+
loading: { type: Boolean },
|
|
14954
|
+
loadingProps: {},
|
|
14949
14955
|
asyncLoading: {},
|
|
14950
14956
|
footer: {},
|
|
14951
14957
|
header: {},
|
|
@@ -14983,10 +14989,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
14983
14989
|
onSuccess,
|
|
14984
14990
|
onError,
|
|
14985
14991
|
data: data2,
|
|
14992
|
+
loading: externalLoad,
|
|
14986
14993
|
asyncLoading: externalAsyncLoad,
|
|
14987
14994
|
...listOptions
|
|
14988
14995
|
} = props;
|
|
14989
14996
|
return {
|
|
14997
|
+
externalLoad,
|
|
14990
14998
|
externalAsyncLoad,
|
|
14991
14999
|
listOptions,
|
|
14992
15000
|
serviceOptions: {
|
|
@@ -15027,6 +15035,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15027
15035
|
}
|
|
15028
15036
|
});
|
|
15029
15037
|
const empty = computed(() => noMore.value && !data.value.length);
|
|
15038
|
+
const listLoad = computed(() => {
|
|
15039
|
+
return {
|
|
15040
|
+
loading: reProps.value.externalLoad || firstLoad.value,
|
|
15041
|
+
size: "small",
|
|
15042
|
+
...props.loadingProps
|
|
15043
|
+
};
|
|
15044
|
+
});
|
|
15045
|
+
const listAsyncLoad = computed(() => {
|
|
15046
|
+
const { externalLoad, externalAsyncLoad } = reProps.value;
|
|
15047
|
+
if (externalLoad || firstLoad.value) return "";
|
|
15048
|
+
if (externalAsyncLoad) return externalAsyncLoad;
|
|
15049
|
+
if (loading.value) return "loading";
|
|
15050
|
+
return "";
|
|
15051
|
+
});
|
|
15030
15052
|
function onScroll({
|
|
15031
15053
|
scrollBottom
|
|
15032
15054
|
}) {
|
|
@@ -15055,13 +15077,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15055
15077
|
});
|
|
15056
15078
|
__expose(expose);
|
|
15057
15079
|
return (_ctx, _cache) => {
|
|
15058
|
-
|
|
15080
|
+
const _directive_loading = resolveDirective("loading");
|
|
15081
|
+
return withDirectives((openBlock(), createBlock(unref(List), mergeProps({
|
|
15059
15082
|
ref: "list",
|
|
15060
|
-
class: "qd-service-list"
|
|
15083
|
+
class: "qd-service-list",
|
|
15084
|
+
"async-loading": listAsyncLoad.value
|
|
15061
15085
|
}, reProps.value.listOptions, { onScroll }), createSlots({
|
|
15062
15086
|
default: withCtx(() => [
|
|
15063
|
-
empty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
15087
|
+
!listLoad.value.loading && !listAsyncLoad.value && empty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
15064
15088
|
createVNode(unref(Empty), {
|
|
15089
|
+
class: "qd-service-list__empty",
|
|
15065
15090
|
title: unref(t)("emptyText")
|
|
15066
15091
|
}, null, 8, ["title"])
|
|
15067
15092
|
], true) : createCommentVNode("", true),
|
|
@@ -15077,11 +15102,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15077
15102
|
])
|
|
15078
15103
|
};
|
|
15079
15104
|
})
|
|
15080
|
-
]), 1040)
|
|
15105
|
+
]), 1040, ["async-loading"])), [
|
|
15106
|
+
[_directive_loading, listLoad.value]
|
|
15107
|
+
]);
|
|
15081
15108
|
};
|
|
15082
15109
|
}
|
|
15083
15110
|
});
|
|
15084
|
-
const QdServiceList = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
15111
|
+
const QdServiceList = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-278ab729"]]);
|
|
15085
15112
|
const qdDictConvStrSeparator = ",";
|
|
15086
15113
|
const qdDictSelectProps = {
|
|
15087
15114
|
showArrow: true,
|
|
@@ -15457,7 +15484,6 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15457
15484
|
});
|
|
15458
15485
|
const select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a9450c1a"]]);
|
|
15459
15486
|
const qdDialogProps = {
|
|
15460
|
-
visible: false,
|
|
15461
15487
|
width: "min(960px, 100%)",
|
|
15462
15488
|
theme: "default",
|
|
15463
15489
|
attach: "body",
|
|
@@ -16018,8 +16044,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16018
16044
|
const formRef = useTemplateRef("form");
|
|
16019
16045
|
const submitShowErrorMessage = ref();
|
|
16020
16046
|
const reProps = computed(() => {
|
|
16021
|
-
const { grid, gutter, items, onSubmit, data: data2, scrollToFirstError, ...formOptions } = props;
|
|
16047
|
+
const { grid, gutter, items, onSubmit, data: data2, scrollToFirstError, loading: externalLoad, ...formOptions } = props;
|
|
16022
16048
|
return {
|
|
16049
|
+
externalLoad,
|
|
16023
16050
|
formOptions: {
|
|
16024
16051
|
...formOptions,
|
|
16025
16052
|
scrollToFirstError: submitShowErrorMessage.value === false ? "" : scrollToFirstError
|
|
@@ -16036,7 +16063,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16036
16063
|
const submitLoad = ref(false);
|
|
16037
16064
|
const formLoad = computed(() => {
|
|
16038
16065
|
return {
|
|
16039
|
-
loading:
|
|
16066
|
+
loading: reProps.value.externalLoad || submitLoad.value,
|
|
16040
16067
|
size: "small",
|
|
16041
16068
|
...props.loadingProps
|
|
16042
16069
|
};
|
|
@@ -17449,6 +17476,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17449
17476
|
search: {},
|
|
17450
17477
|
searchData: {},
|
|
17451
17478
|
data: {},
|
|
17479
|
+
loading: {
|
|
17480
|
+
type: Boolean
|
|
17481
|
+
},
|
|
17482
|
+
loadingProps: {},
|
|
17452
17483
|
asyncLoading: {},
|
|
17453
17484
|
footer: {},
|
|
17454
17485
|
header: {},
|
|
@@ -17604,7 +17635,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17604
17635
|
};
|
|
17605
17636
|
}
|
|
17606
17637
|
});
|
|
17607
|
-
const list = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
17638
|
+
const list = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4b3f4055"]]);
|
|
17608
17639
|
function defineQdCrudTable(config) {
|
|
17609
17640
|
return config;
|
|
17610
17641
|
}
|
|
@@ -17932,7 +17963,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17932
17963
|
(!reProps.value.theme || reProps.value.theme === "text") && !__props.variant && (item.theme === "text" || !item.theme) ? (openBlock(), createElementBlock("span", {
|
|
17933
17964
|
key: item.value,
|
|
17934
17965
|
class: normalizeClass(item.class)
|
|
17935
|
-
},
|
|
17966
|
+
}, [
|
|
17967
|
+
renderSlot(_ctx.$slots, "prefix", { item }, void 0, true),
|
|
17968
|
+
renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
17969
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
17970
|
+
], true),
|
|
17971
|
+
renderSlot(_ctx.$slots, "suffix", { item }, void 0, true)
|
|
17972
|
+
], 2)) : (openBlock(), createBlock(unref(Tag), {
|
|
17936
17973
|
key: item.value + "",
|
|
17937
17974
|
index: index2,
|
|
17938
17975
|
size: reProps.value.size,
|
|
@@ -17942,15 +17979,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17942
17979
|
class: normalizeClass(item.class)
|
|
17943
17980
|
}, {
|
|
17944
17981
|
default: withCtx(() => [
|
|
17945
|
-
|
|
17982
|
+
renderSlot(_ctx.$slots, "prefix", { item }, void 0, true),
|
|
17983
|
+
renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
17984
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
17985
|
+
], true),
|
|
17986
|
+
renderSlot(_ctx.$slots, "suffix", { item }, void 0, true)
|
|
17946
17987
|
]),
|
|
17947
17988
|
_: 2
|
|
17948
17989
|
}, 1032, ["index", "size", "shape", "theme", "variant", "class"])),
|
|
17949
|
-
(_ctx.$slots.separator || __props.separator) && matchOptions.value.length - 1 !== index2 ? (
|
|
17950
|
-
|
|
17951
|
-
|
|
17952
|
-
], 64))
|
|
17953
|
-
], 64)) : createCommentVNode("", true)
|
|
17990
|
+
(_ctx.$slots.separator || __props.separator) && matchOptions.value.length - 1 !== index2 ? renderSlot(_ctx.$slots, "separator", { key: 2 }, () => [
|
|
17991
|
+
createTextVNode(toDisplayString(__props.separator), 1)
|
|
17992
|
+
], true) : createCommentVNode("", true)
|
|
17954
17993
|
], 64);
|
|
17955
17994
|
}), 256))
|
|
17956
17995
|
])), [
|
|
@@ -17959,6 +17998,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17959
17998
|
};
|
|
17960
17999
|
}
|
|
17961
18000
|
});
|
|
18001
|
+
const tag = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-1c89a500"]]);
|
|
17962
18002
|
const qdUploadProps = {
|
|
17963
18003
|
modelValue: () => [],
|
|
17964
18004
|
files: () => [],
|
|
@@ -18819,10 +18859,10 @@ export {
|
|
|
18819
18859
|
setValueByPath as s,
|
|
18820
18860
|
table as t,
|
|
18821
18861
|
checkboxGroup as u,
|
|
18822
|
-
|
|
18862
|
+
tag as v,
|
|
18823
18863
|
_sfc_main$9 as w,
|
|
18824
18864
|
QdFormItem as x,
|
|
18825
18865
|
qdFormGutter as y,
|
|
18826
18866
|
qdFormGrid as z
|
|
18827
18867
|
};
|
|
18828
|
-
//# sourceMappingURL=index-
|
|
18868
|
+
//# sourceMappingURL=index-DJv7PdD8.mjs.map
|