qidian-vue-ui 1.1.1 → 1.1.3
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/auto-tooltip/index.vue.d.ts +6 -2
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/{en-US-CMvCEIPU.mjs → en-US-CjCyqzcw.mjs} +2 -2
- package/dist/{en-US-CMvCEIPU.mjs.map → en-US-CjCyqzcw.mjs.map} +1 -1
- package/dist/{en-US-DLi0cBJj.js → en-US-y9tzQi2g.js} +2 -2
- package/dist/{en-US-DLi0cBJj.js.map → en-US-y9tzQi2g.js.map} +1 -1
- package/dist/{index-8isi-Zwg.mjs → index-Dhb_qv4a.mjs} +14 -10
- package/dist/index-Dhb_qv4a.mjs.map +1 -0
- package/dist/{index-BCeJc-jC.js → index-y0rs3mPR.js} +14 -10
- package/dist/index-y0rs3mPR.js.map +1 -0
- package/dist/qidian-vue-ui.css +18 -17
- package/dist/qidian-vue-ui.js +1 -1
- package/dist/qidian-vue-ui.mjs +1 -1
- package/dist/{zh-TW-Cl433j3a.js → zh-TW-B3lQU0Yb.js} +2 -2
- package/dist/{zh-TW-Cl433j3a.js.map → zh-TW-B3lQU0Yb.js.map} +1 -1
- package/dist/{zh-TW-CVUt9-5T.mjs → zh-TW-BJwmP2NG.mjs} +2 -2
- package/dist/{zh-TW-CVUt9-5T.mjs.map → zh-TW-BJwmP2NG.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-8isi-Zwg.mjs.map +0 -1
- package/dist/index-BCeJc-jC.js.map +0 -1
|
@@ -42,7 +42,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
42
42
|
},
|
|
43
43
|
setup(__props) {
|
|
44
44
|
vue.useCssVars((_ctx) => ({
|
|
45
|
-
"
|
|
45
|
+
"v4b8b74b0": _ctx.ellipsis
|
|
46
46
|
}));
|
|
47
47
|
const props = __props;
|
|
48
48
|
const contentRef = vue.useTemplateRef("content");
|
|
@@ -50,7 +50,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
50
50
|
function checkEllipsis() {
|
|
51
51
|
const el = contentRef.value;
|
|
52
52
|
if (!el) return;
|
|
53
|
-
isEllipsis.value = el.scrollWidth > el.clientWidth || el.scrollHeight > el.clientHeight;
|
|
53
|
+
isEllipsis.value = el.scrollWidth > el.clientWidth || props.ellipsis > 1 && el.scrollHeight > el.clientHeight;
|
|
54
54
|
}
|
|
55
55
|
vue.watch(
|
|
56
56
|
() => props.content,
|
|
@@ -69,9 +69,13 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
69
69
|
}, {
|
|
70
70
|
content: vue.withCtx(() => [
|
|
71
71
|
vue.renderSlot(_ctx.$slots, "content", {}, () => [
|
|
72
|
-
__props.preWrap ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3,
|
|
72
|
+
__props.preWrap ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3, [
|
|
73
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
74
|
+
vue.createTextVNode(vue.toDisplayString(__props.content), 1)
|
|
75
|
+
], true)
|
|
76
|
+
])) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
|
|
73
77
|
vue.createTextVNode(vue.toDisplayString(__props.content), 1)
|
|
74
|
-
],
|
|
78
|
+
], true)
|
|
75
79
|
], true)
|
|
76
80
|
]),
|
|
77
81
|
default: vue.withCtx(() => [
|
|
@@ -100,7 +104,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
100
104
|
}
|
|
101
105
|
return target;
|
|
102
106
|
};
|
|
103
|
-
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
107
|
+
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-06bb89ce"]]);
|
|
104
108
|
const qdCardProps = {
|
|
105
109
|
bordered: false
|
|
106
110
|
};
|
|
@@ -12762,8 +12766,8 @@ const QdConfigProvider = vue.defineComponent({
|
|
|
12762
12766
|
vue.watchEffect(async () => {
|
|
12763
12767
|
const localeMap = {
|
|
12764
12768
|
"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-
|
|
12769
|
+
"zh-TW": () => Promise.resolve().then(() => require("./zh-TW-B3lQU0Yb.js")),
|
|
12770
|
+
"en-US": () => Promise.resolve().then(() => require("./en-US-y9tzQi2g.js"))
|
|
12767
12771
|
};
|
|
12768
12772
|
const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
|
|
12769
12773
|
const [err, res] = await to(
|
|
@@ -19170,7 +19174,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19170
19174
|
};
|
|
19171
19175
|
}
|
|
19172
19176
|
});
|
|
19173
|
-
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
19177
|
+
const table = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-00994826"]]);
|
|
19174
19178
|
const _hoisted_1$2 = {
|
|
19175
19179
|
key: 0,
|
|
19176
19180
|
class: "qd-crud-list__header"
|
|
@@ -28369,7 +28373,7 @@ class NodeFilterFactory extends BaseFilterFactory {
|
|
|
28369
28373
|
}
|
|
28370
28374
|
class NodeCanvasFactory extends BaseCanvasFactory {
|
|
28371
28375
|
_createCanvas(width, height) {
|
|
28372
|
-
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-
|
|
28376
|
+
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-y0rs3mPR.js", document.baseURI).href);
|
|
28373
28377
|
const canvas = require$1("@napi-rs/canvas");
|
|
28374
28378
|
return canvas.createCanvas(width, height);
|
|
28375
28379
|
}
|
|
@@ -55453,4 +55457,4 @@ exports.useDictDynamic = useDictDynamic;
|
|
|
55453
55457
|
exports.useDisabled = useDisabled;
|
|
55454
55458
|
exports.useModal = useModal;
|
|
55455
55459
|
exports.useReadonly = useReadonly;
|
|
55456
|
-
//# sourceMappingURL=index-
|
|
55460
|
+
//# sourceMappingURL=index-y0rs3mPR.js.map
|