cui-print 1.0.32 → 1.0.34

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/index.es.js CHANGED
@@ -34785,19 +34785,19 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
34785
34785
  O[c.value.field] = v;
34786
34786
  }
34787
34787
  }), { changeLogs: C } = ee("valueChange");
34788
- return z(C, () => {
34789
- if (console.log("watch:", c.value), c.value.compute) {
34790
- let v = 0, s = 0;
34788
+ return z(C, (v, s) => {
34789
+ if (c.value.compute) {
34790
+ let S = 0, h = 0;
34791
34791
  switch (c.value.computeMethods) {
34792
34792
  case "sum":
34793
- c.value.fields.forEach((S) => {
34794
- v += parseInt(C.value.get(S) ?? 0);
34795
- }), O[c.value.field] = v;
34793
+ console.log("watch:", c.value, { n: v, o: s }), c.value.fields.forEach((I) => {
34794
+ S += parseInt(C.value.get(I) ?? 0);
34795
+ }), O[c.value.field] = S;
34796
34796
  break;
34797
34797
  case "average":
34798
- c.value.fields.forEach((S) => {
34799
- v += parseInt(C.value.get(S) ?? 0);
34800
- }), s = v / c.value.fields.length, O[c.value.field] = s;
34798
+ console.log("watch:", c.value, { n: v, o: s }), c.value.fields.forEach((I) => {
34799
+ S += parseInt(C.value.get(I) ?? 0);
34800
+ }), h = S / c.value.fields.length, O[c.value.field] = h;
34801
34801
  break;
34802
34802
  }
34803
34803
  }
@@ -34831,7 +34831,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
34831
34831
  ]), 1040, ["style"]);
34832
34832
  };
34833
34833
  }
34834
- }, nc = /* @__PURE__ */ se(EQ, [["__scopeId", "data-v-a590cd7b"]]), ZQ = (n) => {
34834
+ }, nc = /* @__PURE__ */ se(EQ, [["__scopeId", "data-v-ce64ef71"]]), ZQ = (n) => {
34835
34835
  const { formConfig: e } = ee("printForm"), o = D(() => {
34836
34836
  let l = n.componentDetails.formComponentProps ? ie(n.componentDetails.formComponentProps) : {};
34837
34837
  return l.autosize && (l.rows = 1), l;
@@ -35059,10 +35059,12 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
35059
35059
  },
35060
35060
  emits: ["change"],
35061
35061
  setup(n, { expose: e, emit: o }) {
35062
- const t = n, { formItemStyle: l, formItemLabelStyle: i, formItemMainStyle: a, formItemProps: d, formItemLabelShow: f, formItemLabel: u, selectChange: c } = kr(t), { selectProps: m, field: b, dataSource: O } = NQ(t), { elFormData: p } = ee("printForm");
35063
- return e({}), (C, v) => {
35064
- const s = W("el-option"), S = W("el-select"), h = W("el-form-item");
35065
- return M(), H(h, it({
35062
+ const t = n, { formItemStyle: l, formItemLabelStyle: i, formItemMainStyle: a, formItemProps: d, formItemLabelShow: f, formItemLabel: u, selectChange: c } = kr(t), { selectProps: m, field: b, dataSource: O } = NQ(t), { elFormData: p } = ee("printForm"), { changeLogs: C } = ee("valueChange");
35063
+ return z(p, () => {
35064
+ p[b.value] && C.value.set(b.value, p[b.value]);
35065
+ }, { deep: !0 }), e({}), (v, s) => {
35066
+ const S = W("el-option"), h = W("el-select"), I = W("el-form-item");
35067
+ return M(), H(I, it({
35066
35068
  class: "select-component-container",
35067
35069
  style: r(l)
35068
35070
  }, r(d)), Vo({
@@ -35070,15 +35072,15 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
35070
35072
  A("div", {
35071
35073
  style: ce(r(a))
35072
35074
  }, [
35073
- w(S, it({
35075
+ w(h, it({
35074
35076
  modelValue: r(p)[r(b)],
35075
- "onUpdate:modelValue": v[0] || (v[0] = (I) => r(p)[r(b)] = I)
35077
+ "onUpdate:modelValue": s[0] || (s[0] = (L) => r(p)[r(b)] = L)
35076
35078
  }, r(m), { onChange: r(c) }), {
35077
35079
  default: R(() => [
35078
- (M(!0), E(fe, null, ve(r(O), (I, L) => (M(), H(s, {
35079
- key: I.value,
35080
- label: I.label,
35081
- value: I.value
35080
+ (M(!0), E(fe, null, ve(r(O), (L, $) => (M(), H(S, {
35081
+ key: L.value,
35082
+ label: L.label,
35083
+ value: L.value
35082
35084
  }, null, 8, ["label", "value"]))), 128))
35083
35085
  ]),
35084
35086
  _: 1
@@ -35099,7 +35101,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
35099
35101
  ]), 1040, ["style"]);
35100
35102
  };
35101
35103
  }
35102
- }, ac = /* @__PURE__ */ se(qQ, [["__scopeId", "data-v-dc58154e"]]), YQ = (n) => {
35104
+ }, ac = /* @__PURE__ */ se(qQ, [["__scopeId", "data-v-35e8dce8"]]), YQ = (n) => {
35103
35105
  const { formConfig: e } = ee("printForm"), o = D(() => {
35104
35106
  let i = n.componentDetails.formComponentProps ? ie(n.componentDetails.formComponentProps) : {};
35105
35107
  return i.valueFormat && (i.format = i.valueFormat), i;
@@ -50162,21 +50164,21 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50162
50164
  ]);
50163
50165
  };
50164
50166
  }
50165
- }, JZ = /* @__PURE__ */ se(KZ, [["__scopeId", "data-v-816a21bb"]]), e9 = { class: "print-designer_component-config-container" }, t9 = {
50167
+ }, JZ = /* @__PURE__ */ se(KZ, [["__scopeId", "data-v-816a21bb"]]), e6 = { class: "print-designer_component-config-container" }, t6 = {
50166
50168
  key: 0,
50167
50169
  class: "print-designer_component-config-hint"
50168
- }, o9 = {
50170
+ }, o6 = {
50169
50171
  __name: "index",
50170
50172
  setup(n, { expose: e }) {
50171
50173
  const { activeSortableComponent: o } = ee("printDesigner");
50172
50174
  return e({}), (t, l) => {
50173
50175
  var i, a, d, f, u, c, m, b, O, p, C, v, s, S, h, I, L, $, g, k;
50174
- return M(), E("div", e9, [
50175
- r(o) ? ((i = r(o)) == null ? void 0 : i.type) == "text" ? (M(), H(k8, { key: 1 })) : ((a = r(o)) == null ? void 0 : a.type) == "dynamicText" ? (M(), H(z8, { key: 2 })) : ((d = r(o)) == null ? void 0 : d.type) == "table" ? (M(), H(l5, { key: 3 })) : ((f = r(o)) == null ? void 0 : f.type) == "table-column" ? (M(), H(y5, { key: 4 })) : ((u = r(o)) == null ? void 0 : u.type) == "complexTable" ? (M(), H(e3, { key: 5 })) : ((c = r(o)) == null ? void 0 : c.type) == "complexTable-headerItem" ? (M(), H(x3, { key: 6 })) : ((m = r(o)) == null ? void 0 : m.type) == "barcode" ? (M(), H(D3, { key: 7 })) : ((b = r(o)) == null ? void 0 : b.type) == "qrcode" ? (M(), H(q3, { key: 8 })) : ((O = r(o)) == null ? void 0 : O.type) == "image" ? (M(), H(dU, { key: 9 })) : ((p = r(o)) == null ? void 0 : p.type) == "input" ? (M(), H(wU, { key: 10 })) : ((C = r(o)) == null ? void 0 : C.type) == "textarea" ? (M(), H(UU, { key: 11 })) : ((v = r(o)) == null ? void 0 : v.type) == "radio" ? (M(), H(mE, { key: 12 })) : ((s = r(o)) == null ? void 0 : s.type) == "checkbox" ? (M(), H(YE, { key: 13 })) : ((S = r(o)) == null ? void 0 : S.type) == "select" ? (M(), H(S4, { key: 14 })) : ((h = r(o)) == null ? void 0 : h.type) == "datetime" ? (M(), H(V4, { key: 15 })) : ((I = r(o)) == null ? void 0 : I.type) == "grid" ? (M(), H(q4, { key: 16 })) : ((L = r(o)) == null ? void 0 : L.type) == "grid-item" ? (M(), H(aZ, { key: 17 })) : (($ = r(o)) == null ? void 0 : $.type) == "tableLayout" ? (M(), H(vZ, { key: 18 })) : ((g = r(o)) == null ? void 0 : g.type) == "tableLayout-item" ? (M(), H(HZ, { key: 19 })) : ((k = r(o)) == null ? void 0 : k.type) == "printPagination" ? (M(), H(JZ, { key: 20 })) : ge("", !0) : (M(), E("p", t9, "未选择组件"))
50176
+ return M(), E("div", e6, [
50177
+ r(o) ? ((i = r(o)) == null ? void 0 : i.type) == "text" ? (M(), H(k8, { key: 1 })) : ((a = r(o)) == null ? void 0 : a.type) == "dynamicText" ? (M(), H(z8, { key: 2 })) : ((d = r(o)) == null ? void 0 : d.type) == "table" ? (M(), H(l5, { key: 3 })) : ((f = r(o)) == null ? void 0 : f.type) == "table-column" ? (M(), H(y5, { key: 4 })) : ((u = r(o)) == null ? void 0 : u.type) == "complexTable" ? (M(), H(e3, { key: 5 })) : ((c = r(o)) == null ? void 0 : c.type) == "complexTable-headerItem" ? (M(), H(x3, { key: 6 })) : ((m = r(o)) == null ? void 0 : m.type) == "barcode" ? (M(), H(D3, { key: 7 })) : ((b = r(o)) == null ? void 0 : b.type) == "qrcode" ? (M(), H(q3, { key: 8 })) : ((O = r(o)) == null ? void 0 : O.type) == "image" ? (M(), H(dU, { key: 9 })) : ((p = r(o)) == null ? void 0 : p.type) == "input" ? (M(), H(wU, { key: 10 })) : ((C = r(o)) == null ? void 0 : C.type) == "textarea" ? (M(), H(UU, { key: 11 })) : ((v = r(o)) == null ? void 0 : v.type) == "radio" ? (M(), H(mE, { key: 12 })) : ((s = r(o)) == null ? void 0 : s.type) == "checkbox" ? (M(), H(YE, { key: 13 })) : ((S = r(o)) == null ? void 0 : S.type) == "select" ? (M(), H(S4, { key: 14 })) : ((h = r(o)) == null ? void 0 : h.type) == "datetime" ? (M(), H(V4, { key: 15 })) : ((I = r(o)) == null ? void 0 : I.type) == "grid" ? (M(), H(q4, { key: 16 })) : ((L = r(o)) == null ? void 0 : L.type) == "grid-item" ? (M(), H(aZ, { key: 17 })) : (($ = r(o)) == null ? void 0 : $.type) == "tableLayout" ? (M(), H(vZ, { key: 18 })) : ((g = r(o)) == null ? void 0 : g.type) == "tableLayout-item" ? (M(), H(HZ, { key: 19 })) : ((k = r(o)) == null ? void 0 : k.type) == "printPagination" ? (M(), H(JZ, { key: 20 })) : ge("", !0) : (M(), E("p", t6, "未选择组件"))
50176
50178
  ]);
50177
50179
  };
50178
50180
  }
50179
- }, n9 = /* @__PURE__ */ se(o9, [["__scopeId", "data-v-450ac038"]]), l9 = () => {
50181
+ }, n6 = /* @__PURE__ */ se(o6, [["__scopeId", "data-v-450ac038"]]), l6 = () => {
50180
50182
  const { printConfigData: n } = ee("printDesigner");
50181
50183
  let e;
50182
50184
  const o = [
@@ -50265,13 +50267,13 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50265
50267
  }), n.value.style = C;
50266
50268
  }
50267
50269
  };
50268
- }, $r = (n) => (Ue("data-v-e99696c4"), n = n(), Ee(), n), r9 = { class: "print-designer_print-config-container" }, i9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50270
+ }, $r = (n) => (Ue("data-v-e99696c4"), n = n(), Ee(), n), r6 = { class: "print-designer_print-config-container" }, i6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50269
50271
  /* @__PURE__ */ A("div", { class: "print-config-divider_text" }, "基础配置")
50270
- ], -1)), a9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--primary" }, "自定义尺寸单位:mm(毫米)", -1)), s9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--warning" }, "纸张尺寸为【自定义】时,横向打印配置失效", -1)), d9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50272
+ ], -1)), a6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--primary" }, "自定义尺寸单位:mm(毫米)", -1)), s6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--warning" }, "纸张尺寸为【自定义】时,横向打印配置失效", -1)), d6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50271
50273
  /* @__PURE__ */ A("div", { class: "print-config-divider_text" }, "打印服务配置")
50272
- ], -1)), f9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50274
+ ], -1)), f6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("div", { class: "print-config-divider" }, [
50273
50275
  /* @__PURE__ */ A("div", { class: "print-config-divider_text" }, "样式配置")
50274
- ], -1)), u9 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--warning" }, "如果需要续打,则不需要配置外边距", -1)), p9 = {
50276
+ ], -1)), u6 = /* @__PURE__ */ $r(() => /* @__PURE__ */ A("p", { class: "wui-print-hint wui-print-hint--small wui-print-color--warning" }, "如果需要续打,则不需要配置外边距", -1)), p6 = {
50275
50277
  __name: "index",
50276
50278
  setup(n, { expose: e }) {
50277
50279
  const {
@@ -50281,7 +50283,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50281
50283
  clearFormData: i,
50282
50284
  setFormDataByPrintConfig: a,
50283
50285
  syncFormDataToPrintConfigData: d
50284
- } = l9(), { dict: f } = ee("printDesigner");
50286
+ } = l6(), { dict: f } = ee("printDesigner");
50285
50287
  return z(
50286
50288
  t,
50287
50289
  (m, b) => {
@@ -50294,7 +50296,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50294
50296
  i();
50295
50297
  } }), (m, b) => {
50296
50298
  const O = W("el-input"), p = W("el-form-item"), C = W("el-radio"), v = W("el-radio-group"), s = W("el-input-number"), S = W("el-switch"), h = W("el-option"), I = W("el-select"), L = W("el-color-picker"), $ = W("el-form");
50297
- return M(), E("div", r9, [
50299
+ return M(), E("div", r6, [
50298
50300
  w($, {
50299
50301
  class: "wui-print_common-form",
50300
50302
  ref_key: "formRef",
@@ -50307,7 +50309,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50307
50309
  size: "small"
50308
50310
  }, {
50309
50311
  default: R(() => [
50310
- i9,
50312
+ i6,
50311
50313
  w(p, {
50312
50314
  label: "模板名称",
50313
50315
  prop: "templateTitle"
@@ -50356,7 +50358,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50356
50358
  ]),
50357
50359
  _: 1
50358
50360
  }),
50359
- a9,
50361
+ a6,
50360
50362
  w(p, {
50361
50363
  label: "自定义尺寸-长",
50362
50364
  prop: "customHeight",
@@ -50389,7 +50391,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50389
50391
  ]),
50390
50392
  _: 1
50391
50393
  }),
50392
- s9,
50394
+ s6,
50393
50395
  w(p, {
50394
50396
  label: "是否横向打印",
50395
50397
  prop: "landscape",
@@ -50425,7 +50427,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50425
50427
  ]),
50426
50428
  _: 1
50427
50429
  }),
50428
- d9,
50430
+ d6,
50429
50431
  w(p, {
50430
50432
  label: "打印类型",
50431
50433
  prop: "servePrintType"
@@ -50481,8 +50483,8 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50481
50483
  ]),
50482
50484
  _: 1
50483
50485
  }),
50484
- f9,
50485
- u9,
50486
+ f6,
50487
+ u6,
50486
50488
  w(je, {
50487
50489
  marginTop: r(t).marginTop,
50488
50490
  "onUpdate:marginTop": b[10] || (b[10] = (g) => r(t).marginTop = g),
@@ -50546,7 +50548,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50546
50548
  ]);
50547
50549
  };
50548
50550
  }
50549
- }, c9 = /* @__PURE__ */ se(p9, [["__scopeId", "data-v-e99696c4"]]), m9 = () => {
50551
+ }, c6 = /* @__PURE__ */ se(p6, [["__scopeId", "data-v-e99696c4"]]), m6 = () => {
50550
50552
  const { formConfigData: n } = ee("printDesigner");
50551
50553
  let e;
50552
50554
  const o = [
@@ -50617,9 +50619,9 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50617
50619
  }
50618
50620
  }
50619
50621
  };
50620
- }, h9 = (n) => (Ue("data-v-9b247795"), n = n(), Ee(), n), g9 = { class: "print-designer_form-config-container" }, b9 = /* @__PURE__ */ h9(() => /* @__PURE__ */ A("div", { class: "form-config-divider" }, [
50622
+ }, h6 = (n) => (Ue("data-v-9b247795"), n = n(), Ee(), n), g6 = { class: "print-designer_form-config-container" }, b6 = /* @__PURE__ */ h6(() => /* @__PURE__ */ A("div", { class: "form-config-divider" }, [
50621
50623
  /* @__PURE__ */ A("div", { class: "form-config-divider_text" }, "基础配置")
50622
- ], -1)), y9 = {
50624
+ ], -1)), y6 = {
50623
50625
  __name: "index",
50624
50626
  setup(n, { expose: e }) {
50625
50627
  const {
@@ -50629,7 +50631,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50629
50631
  clearFormData: i,
50630
50632
  setFormDataByFormConfig: a,
50631
50633
  syncFormDataToFormConfigData: d
50632
- } = m9(), { formatter: f, parser: u, complementValue: c } = Gt(t), { dict: m } = ee("printDesigner");
50634
+ } = m6(), { formatter: f, parser: u, complementValue: c } = Gt(t), { dict: m } = ee("printDesigner");
50633
50635
  return z(
50634
50636
  t,
50635
50637
  (p, C) => {
@@ -50642,7 +50644,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50642
50644
  i();
50643
50645
  } }), (p, C) => {
50644
50646
  const v = W("el-input"), s = W("el-form-item"), S = W("el-radio"), h = W("el-radio-group"), I = W("el-form");
50645
- return M(), E("div", g9, [
50647
+ return M(), E("div", g6, [
50646
50648
  w(I, {
50647
50649
  class: "wui-print_common-form",
50648
50650
  ref_key: "formRef",
@@ -50655,7 +50657,7 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50655
50657
  size: "small"
50656
50658
  }, {
50657
50659
  default: R(() => [
50658
- b9,
50660
+ b6,
50659
50661
  w(s, {
50660
50662
  label: "标签宽度",
50661
50663
  prop: "labelWidth"
@@ -50727,31 +50729,31 @@ const Hr = /* @__PURE__ */ q_(WD), UD = (n) => {
50727
50729
  ]);
50728
50730
  };
50729
50731
  }
50730
- }, O9 = /* @__PURE__ */ se(y9, [["__scopeId", "data-v-9b247795"]]);
50732
+ }, O6 = /* @__PURE__ */ se(y6, [["__scopeId", "data-v-9b247795"]]);
50731
50733
  let Ba;
50732
- const v9 = new Uint8Array(16);
50733
- function C9() {
50734
+ const v6 = new Uint8Array(16);
50735
+ function C6() {
50734
50736
  if (!Ba && (Ba = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ba))
50735
50737
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
50736
- return Ba(v9);
50738
+ return Ba(v6);
50737
50739
  }
50738
50740
  const Ht = [];
50739
50741
  for (let n = 0; n < 256; ++n)
50740
50742
  Ht.push((n + 256).toString(16).slice(1));
50741
- function x9(n, e = 0) {
50743
+ function x6(n, e = 0) {
50742
50744
  return Ht[n[e + 0]] + Ht[n[e + 1]] + Ht[n[e + 2]] + Ht[n[e + 3]] + "-" + Ht[n[e + 4]] + Ht[n[e + 5]] + "-" + Ht[n[e + 6]] + Ht[n[e + 7]] + "-" + Ht[n[e + 8]] + Ht[n[e + 9]] + "-" + Ht[n[e + 10]] + Ht[n[e + 11]] + Ht[n[e + 12]] + Ht[n[e + 13]] + Ht[n[e + 14]] + Ht[n[e + 15]];
50743
50745
  }
50744
- const _9 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Gh = {
50745
- randomUUID: _9
50746
+ const _6 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Gh = {
50747
+ randomUUID: _6
50746
50748
  };
50747
- function S9(n, e, o) {
50749
+ function S6(n, e, o) {
50748
50750
  if (Gh.randomUUID && !n)
50749
50751
  return Gh.randomUUID();
50750
50752
  n = n || {};
50751
- const t = n.random || (n.rng || C9)();
50752
- return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, x9(t);
50753
+ const t = n.random || (n.rng || C6)();
50754
+ return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, x6(t);
50753
50755
  }
50754
- const w9 = () => {
50756
+ const w6 = () => {
50755
50757
  const n = X("line"), e = X(), o = X(), t = X(), l = X(), i = X(), a = X(), d = X("printConfig"), f = ye({
50756
50758
  designerMode: [
50757
50759
  { label: "参考线模式", value: "line" },
@@ -50875,7 +50877,7 @@ const w9 = () => {
50875
50877
  command: ""
50876
50878
  }, P = {};
50877
50879
  return We(P, V, T), P;
50878
- }, h = () => S9(), I = () => {
50880
+ }, h = () => S6(), I = () => {
50879
50881
  document.addEventListener("keydown", L);
50880
50882
  }, L = function(T) {
50881
50883
  T.ctrlKey && T.key === "c" ? as(V)() : T.ctrlKey && T.key === "v" && as(P)();
@@ -50925,7 +50927,7 @@ const w9 = () => {
50925
50927
  computeObj: Q,
50926
50928
  fieldArr: _
50927
50929
  };
50928
- }, T9 = { class: "print-designer-container wui-print-el" }, I9 = {
50930
+ }, T6 = { class: "print-designer-container wui-print-el" }, I6 = {
50929
50931
  __name: "index",
50930
50932
  setup(n, { expose: e }) {
50931
50933
  const {
@@ -50958,7 +50960,7 @@ const w9 = () => {
50958
50960
  setCopyActiveSortableComponent: Q,
50959
50961
  computeObj: _,
50960
50962
  fieldArr: T
50961
- } = w9();
50963
+ } = w6();
50962
50964
  return ao("printDesigner", {
50963
50965
  designerMode: o,
50964
50966
  designerComponentsRef: t,
@@ -51009,7 +51011,7 @@ const w9 = () => {
51009
51011
  setDesignerConfig: ({ printConfig: Z, layoutConfig: j, formConfig: G } = {}) => {
51010
51012
  Z || (Z = {}), j || (j = {}), j || (G = {}), d.value.setPrintConfig(Z), f.value.setFormConfig(G), l.value.setLayoutConfig(j);
51011
51013
  }
51012
- }), (Z, j) => (M(), E("div", T9, [
51014
+ }), (Z, j) => (M(), E("div", T6, [
51013
51015
  w(LC, {
51014
51016
  ref_key: "designerComponentsRef",
51015
51017
  ref: t
@@ -51028,19 +51030,19 @@ const w9 = () => {
51028
51030
  ref: i
51029
51031
  }, {
51030
51032
  default: R(() => [
51031
- $e(w(n9, {
51033
+ $e(w(n6, {
51032
51034
  ref_key: "componentConfigRef",
51033
51035
  ref: a
51034
51036
  }, null, 512), [
51035
51037
  [Pe, r(u) == "componentConfig"]
51036
51038
  ]),
51037
- $e(w(c9, {
51039
+ $e(w(c6, {
51038
51040
  ref_key: "printConfigRef",
51039
51041
  ref: d
51040
51042
  }, null, 512), [
51041
51043
  [Pe, r(u) == "printConfig"]
51042
51044
  ]),
51043
- $e(w(O9, {
51045
+ $e(w(O6, {
51044
51046
  ref_key: "formConfigRef",
51045
51047
  ref: f
51046
51048
  }, null, 512), [
@@ -51051,11 +51053,11 @@ const w9 = () => {
51051
51053
  }, 512)
51052
51054
  ]));
51053
51055
  }
51054
- }, A9 = /* @__PURE__ */ se(I9, [["__scopeId", "data-v-89cd7b90"]]), P9 = {
51056
+ }, A6 = /* @__PURE__ */ se(I6, [["__scopeId", "data-v-89cd7b90"]]), P6 = {
51055
51057
  install(n) {
51056
- n.component("WuiPrintDesigner", A9), n.component("WuiPrintForm", wv), n.component("WuiBaseDialog", Ar);
51058
+ n.component("WuiPrintDesigner", A6), n.component("WuiPrintForm", wv), n.component("WuiBaseDialog", Ar);
51057
51059
  }
51058
51060
  };
51059
51061
  export {
51060
- P9 as default
51062
+ P6 as default
51061
51063
  };