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.
@@ -42,7 +42,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
42
42
  },
43
43
  setup(__props) {
44
44
  vue.useCssVars((_ctx) => ({
45
- "v3d70b876": _ctx.ellipsis
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, vue.toDisplayString(__props.content), 1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
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
- ], 64))
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-75d8db87"]]);
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-Cl433j3a.js")),
12766
- "en-US": () => Promise.resolve().then(() => require("./en-US-DLi0cBJj.js"))
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-5082b588"]]);
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-BCeJc-jC.js", document.baseURI).href);
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-BCeJc-jC.js.map
55460
+ //# sourceMappingURL=index-y0rs3mPR.js.map