@a2simcode/ui 0.0.191 → 0.0.193

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.
@@ -1,4 +1,4 @@
1
- import { Fragment as ke, computed as O, createBlock as F, createCommentVNode as ee, createElementBlock as H, createElementVNode as B, createSlots as Fn, createTextVNode as on, createVNode as X, defineComponent as pe, getCurrentInstance as fc, guardReactiveProps as Mo, h as bi, inject as Rd, mergeModels as Eo, mergeProps as We, nextTick as zt, normalizeClass as Ne, normalizeProps as ta, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Ed, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as W, useModel as To, useSlots as Td, useTemplateRef as ka, vShow as wi, watch as at, watchEffect as hc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as Ft } from "vue";
1
+ import { Fragment as ke, computed as H, createBlock as F, createCommentVNode as ee, createElementBlock as O, createElementVNode as B, createSlots as Fn, createTextVNode as on, createVNode as X, defineComponent as pe, getCurrentInstance as fc, guardReactiveProps as Mo, h as bi, inject as Rd, mergeModels as Eo, mergeProps as We, nextTick as zt, normalizeClass as Ne, normalizeProps as ta, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Ed, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as W, useModel as To, useSlots as Td, useTemplateRef as ka, vShow as wi, watch as at, watchEffect as hc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as Ft } from "vue";
2
2
  import { Icon as Bl, getIcon as Sa } from "@iconify/vue";
3
3
  import pc from "dayjs";
4
4
  import Ad from "sortablejs";
@@ -74,18 +74,18 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
74
74
  }
75
75
  },
76
76
  setup(e) {
77
- const t = e, n = O(() => {
77
+ const t = e, n = H(() => {
78
78
  const o = t.icon, i = "jcode";
79
79
  if (o.indexOf(":") === -1)
80
80
  return Sa(`${i}:${t.icon}`) == null, `${i}:${t.icon}`;
81
81
  const r = `${i}${o.split(":")[1]}`;
82
82
  return Sa(r) != null ? r : o;
83
- }), a = O(() => ({
83
+ }), a = H(() => ({
84
84
  size: t.size,
85
85
  color: t.color,
86
86
  icon: n.value
87
87
  }));
88
- return (o, i) => e.isDiv ? (S(), H("div", We({ key: 0 }, o.$attrs, {
88
+ return (o, i) => e.isDiv ? (S(), O("div", We({ key: 0 }, o.$attrs, {
89
89
  class: "j-icon jicon",
90
90
  style: { height: `${e.size}px` }
91
91
  }), [X(W(Bl), We(a.value, {
@@ -97,7 +97,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
97
97
  "height",
98
98
  "width",
99
99
  "style"
100
- ])], 16)) : (S(), H("span", We({ key: 1 }, o.$attrs, { class: "jicon" }), [X(W(Bl), We(a.value, {
100
+ ])], 16)) : (S(), O("span", We({ key: 1 }, o.$attrs, { class: "jicon" }), [X(W(Bl), We(a.value, {
101
101
  height: `${e.size}px`,
102
102
  width: `${e.size}px`,
103
103
  mode: "svg",
@@ -164,7 +164,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
164
164
  r.value?.focus();
165
165
  }, c = () => {
166
166
  r.value?.blur();
167
- }, s = O(() => a.notLabel || !a.label), d = z(!1);
167
+ }, s = H(() => a.notLabel || !a.label), d = z(!1);
168
168
  at(() => a.loading, (u) => {
169
169
  if (typeof u == "boolean") d.value = u;
170
170
  else if (Qt(u?.delay))
@@ -176,11 +176,11 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
176
176
  return () => clearTimeout(h);
177
177
  }
178
178
  }, { immediate: !0 });
179
- const f = O(() => a.label || "");
179
+ const f = H(() => a.label || "");
180
180
  return t({
181
181
  focus: l,
182
182
  blur: c
183
- }), (u, h) => (S(), H("button", {
183
+ }), (u, h) => (S(), O("button", {
184
184
  ref_key: "buttonNodeRef",
185
185
  ref: r,
186
186
  type: "button",
@@ -216,7 +216,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
216
216
  key: 1,
217
217
  icon: e.icon
218
218
  }, null, 8, ["icon"])) : ee("", !0),
219
- e.notLabel ? ee("", !0) : (S(), H("div", Bf, we(f.value), 1)),
219
+ e.notLabel ? ee("", !0) : (S(), O("div", Bf, we(f.value), 1)),
220
220
  Ke(u.$slots, "iconAfter")
221
221
  ], 10, Pf));
222
222
  }
@@ -1793,7 +1793,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1793
1793
  isLink: Boolean
1794
1794
  },
1795
1795
  setup(e) {
1796
- const t = e, n = O(() => {
1796
+ const t = e, n = H(() => {
1797
1797
  if (!Array.isArray(t.list) && Object.keys(t.list).length > 0) return t.list;
1798
1798
  const i = {}, r = fn(t.list), l = r.length;
1799
1799
  for (let c = 0; c < l; c++) {
@@ -1807,12 +1807,12 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1807
1807
  return (i, r) => {
1808
1808
  const l = $("j-button"), c = $("el-space"), s = $("el-dropdown"), d = $("j-upload");
1809
1809
  return S(), F(c, { size: e.isLink ? 0 : 8 }, {
1810
- default: J(() => [(S(!0), H(ke, null, Oe(n.value, (f, u) => (S(), H("div", We({ key: u }, { ref_for: !0 }, i.$attrs), [(S(!0), H(ke, null, Oe(f, (h, p) => (S(), H(ke, { key: p }, [h.children?.length && h.children?.length > 0 ? (S(), F(s, { key: 0 }, {
1810
+ default: J(() => [(S(!0), O(ke, null, Oe(n.value, (f, u) => (S(), O("div", We({ key: u }, { ref_for: !0 }, i.$attrs), [(S(!0), O(ke, null, Oe(f, (h, p) => (S(), O(ke, { key: p }, [h.children?.length && h.children?.length > 0 ? (S(), F(s, { key: 0 }, {
1811
1811
  dropdown: J(() => [X(c, {
1812
1812
  direction: "vertical",
1813
1813
  fill: !0
1814
1814
  }, {
1815
- default: J(() => [(S(!0), H(ke, null, Oe(h.children || [], (g) => (S(), F(l, We({ key: g.id }, { ref_for: !0 }, g.config, {
1815
+ default: J(() => [(S(!0), O(ke, null, Oe(h.children || [], (g) => (S(), F(l, We({ key: g.id }, { ref_for: !0 }, g.config, {
1816
1816
  block: "",
1817
1817
  type: "text",
1818
1818
  label: g.label,
@@ -1963,7 +1963,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1963
1963
  "change"
1964
1964
  ],
1965
1965
  setup(e, { emit: t }) {
1966
- const n = e, a = t, o = z(), i = O({
1966
+ const n = e, a = t, o = z(), i = H({
1967
1967
  get() {
1968
1968
  return n.modelValue;
1969
1969
  },
@@ -2134,7 +2134,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2134
2134
  "visible-change"
2135
2135
  ],
2136
2136
  setup(e, { expose: t, emit: n }) {
2137
- const a = e, o = n, i = z(), r = O({
2137
+ const a = e, o = n, i = z(), r = H({
2138
2138
  get() {
2139
2139
  return a.selectType?.indexOf("range") > -1 ? typeof a.modelValue == "string" ? (console.log(a.modelValue, "props.modelValue"), a.modelValue ? a.modelValue.split(",") : ["", ""]) : a.modelValue || ["", ""] : a.modelValue;
2140
2140
  },
@@ -2152,7 +2152,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2152
2152
  }
2153
2153
  g !== void 0 && o("update:modelValue", g);
2154
2154
  }
2155
- }), l = O(() => {
2155
+ }), l = H(() => {
2156
2156
  if (a.format) return a.format;
2157
2157
  switch (a.selectType) {
2158
2158
  case "date":
@@ -2172,7 +2172,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2172
2172
  default:
2173
2173
  return "YYYY-MM-DD";
2174
2174
  }
2175
- }), c = O(() => a.selectType?.indexOf("range") > -1 && typeof a.id == "string" ? [a.id + "-start", a.id + "-end"] : a.id || void 0), s = (g) => {
2175
+ }), c = H(() => a.selectType?.indexOf("range") > -1 && typeof a.id == "string" ? [a.id + "-start", a.id + "-end"] : a.id || void 0), s = (g) => {
2176
2176
  if (a.selectType?.indexOf("range") > -1) {
2177
2177
  if (g === null) {
2178
2178
  o("change", "");
@@ -2297,7 +2297,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2297
2297
  "visible-change"
2298
2298
  ],
2299
2299
  setup(e, { expose: t, emit: n }) {
2300
- const a = e, o = n, i = z(), r = O({
2300
+ const a = e, o = n, i = z(), r = H({
2301
2301
  get() {
2302
2302
  return a.isRange ? typeof a.modelValue == "string" ? a.modelValue ? a.modelValue.split(",") : ["", ""] : a.modelValue || ["", ""] : a.modelValue;
2303
2303
  },
@@ -2314,7 +2314,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2314
2314
  }
2315
2315
  p !== void 0 && o("update:modelValue", p);
2316
2316
  }
2317
- }), l = O(() => a.isRange && typeof a.id == "string" ? [a.id + "-start", a.id + "-end"] : a.id || void 0), c = (p) => {
2317
+ }), l = H(() => a.isRange && typeof a.id == "string" ? [a.id + "-start", a.id + "-end"] : a.id || void 0), c = (p) => {
2318
2318
  if (a.isRange) {
2319
2319
  if (p === null) {
2320
2320
  o("change", "");
@@ -2457,7 +2457,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2457
2457
  },
2458
2458
  emits: ["update:modelValue"],
2459
2459
  setup(e, { emit: t }) {
2460
- const n = e, a = t, o = O({
2460
+ const n = e, a = t, o = H({
2461
2461
  get() {
2462
2462
  let r = n.options;
2463
2463
  if (!Qt(n.modelValue) && r && r.length > 0) {
@@ -2469,7 +2469,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2469
2469
  set(r) {
2470
2470
  a("update:modelValue", r);
2471
2471
  }
2472
- }), i = O(() => n.isColor && n.colors && n.colors.length > 0 ? n.colors.map((r) => r.color) : []);
2472
+ }), i = H(() => n.isColor && n.colors && n.colors.length > 0 ? n.colors.map((r) => r.color) : []);
2473
2473
  return (r, l) => {
2474
2474
  const c = $("el-radio-button"), s = $("el-tag"), d = $("el-radio"), f = $("el-radio-group");
2475
2475
  return S(), F(f, {
@@ -2477,14 +2477,14 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2477
2477
  "onUpdate:modelValue": l[0] || (l[0] = (u) => o.value = u),
2478
2478
  disabled: e.readonly
2479
2479
  }, {
2480
- default: J(() => [e.isButton ? (S(!0), H(ke, { key: 0 }, Oe(e.options, (u) => (S(), F(c, {
2480
+ default: J(() => [e.isButton ? (S(!0), O(ke, { key: 0 }, Oe(e.options, (u) => (S(), F(c, {
2481
2481
  key: u.value,
2482
2482
  value: u.value,
2483
2483
  size: e.size
2484
2484
  }, {
2485
2485
  default: J(() => [on(we(u.label), 1)]),
2486
2486
  _: 2
2487
- }, 1032, ["value", "size"]))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(e.options, (u, h) => (S(), F(d, {
2487
+ }, 1032, ["value", "size"]))), 128)) : (S(!0), O(ke, { key: 1 }, Oe(e.options, (u, h) => (S(), F(d, {
2488
2488
  key: u.value,
2489
2489
  value: u.value,
2490
2490
  size: e.size
@@ -2499,7 +2499,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2499
2499
  }, {
2500
2500
  default: J(() => [on(we(u.label), 1)]),
2501
2501
  _: 2
2502
- }, 1032, ["color", "size"])) : (S(), H("span", Yh, we(u.label), 1))]),
2502
+ }, 1032, ["color", "size"])) : (S(), O("span", Yh, we(u.label), 1))]),
2503
2503
  _: 2
2504
2504
  }, 1032, ["value", "size"]))), 128))]),
2505
2505
  _: 1
@@ -2576,14 +2576,14 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2576
2576
  },
2577
2577
  emits: ["update:modelValue", "change"],
2578
2578
  setup(e, { emit: t }) {
2579
- const n = e, a = t, o = z(), i = O({
2579
+ const n = e, a = t, o = z(), i = H({
2580
2580
  get() {
2581
2581
  return n.multiple && typeof n.modelValue == "string" ? n.modelValue?.split(",") || [] : n.modelValue;
2582
2582
  },
2583
2583
  set(f) {
2584
2584
  n.multiple && Array.isArray(f) && (f = f?.join(",") || []), a("update:modelValue", f);
2585
2585
  }
2586
- }), r = O(() => !Qt(i.value) && !n.multiple && n.options.filter((f) => i.value == f.value).map((f) => f.label).join(",") || ""), l = O(() => !Qt(i.value) && !n.multiple ? n.options.find((f) => f.value === i.value)?.icon : ""), c = O(() => typeof n.selectData == "string" ? n.selectData?.split(",") || [] : []), s = O(() => {
2586
+ }), r = H(() => !Qt(i.value) && !n.multiple && n.options.filter((f) => i.value == f.value).map((f) => f.label).join(",") || ""), l = H(() => !Qt(i.value) && !n.multiple ? n.options.find((f) => f.value === i.value)?.icon : ""), c = H(() => typeof n.selectData == "string" ? n.selectData?.split(",") || [] : []), s = H(() => {
2587
2587
  let f = [];
2588
2588
  if (n.isSelectOnlyone ? f = n.options.map((u) => ({
2589
2589
  ...u,
@@ -2650,11 +2650,11 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2650
2650
  placeholder: e.placeholder,
2651
2651
  onChange: d
2652
2652
  }), Fn({
2653
- default: J(() => [e.isGroup ? (S(!0), H(ke, { key: 0 }, Oe(s.value, (x) => (S(), F(g, {
2653
+ default: J(() => [e.isGroup ? (S(!0), O(ke, { key: 0 }, Oe(s.value, (x) => (S(), F(g, {
2654
2654
  key: x.label,
2655
2655
  label: x.label
2656
2656
  }, {
2657
- default: J(() => [(S(!0), H(ke, null, Oe(x.children, (m) => (S(), F(p, {
2657
+ default: J(() => [(S(!0), O(ke, null, Oe(x.children, (m) => (S(), F(p, {
2658
2658
  key: m.value,
2659
2659
  label: m.label,
2660
2660
  value: m.value || " ",
@@ -2672,7 +2672,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2672
2672
  "disabled"
2673
2673
  ]))), 128))]),
2674
2674
  _: 2
2675
- }, 1032, ["label"]))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(s.value, (x) => (S(), F(p, {
2675
+ }, 1032, ["label"]))), 128)) : (S(!0), O(ke, { key: 1 }, Oe(s.value, (x) => (S(), F(p, {
2676
2676
  key: x.value,
2677
2677
  label: x.label,
2678
2678
  value: x.value + "",
@@ -2703,7 +2703,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2703
2703
  }, {
2704
2704
  default: J(() => [on(we(r.value), 1)]),
2705
2705
  _: 1
2706
- }, 8, ["content"])) : (S(), H(ke, { key: 1 }, [on(we(r.value), 1)], 64))])])]),
2706
+ }, 8, ["content"])) : (S(), O(ke, { key: 1 }, [on(we(r.value), 1)], 64))])])]),
2707
2707
  key: "0"
2708
2708
  }]), 1040, [
2709
2709
  "modelValue",
@@ -2803,7 +2803,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2803
2803
  o.value?.cascaderPanelRef?.value?.clearCheckedNodes();
2804
2804
  }
2805
2805
  });
2806
- const c = O({
2806
+ const c = H({
2807
2807
  get() {
2808
2808
  return Qt(a.modelValue) ? [] : a.modelValue?.split(",") || [];
2809
2809
  },
@@ -2815,7 +2815,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2815
2815
  value: Qt(f) ? "" : f.join(","),
2816
2816
  data: u
2817
2817
  });
2818
- }, d = O(() => ({
2818
+ }, d = H(() => ({
2819
2819
  checkStrictly: a.checkStrictly,
2820
2820
  expandTrigger: a.expandTrigger,
2821
2821
  multiple: a.multiple,
@@ -2902,7 +2902,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2902
2902
  },
2903
2903
  emits: ["update:modelValue", "change"],
2904
2904
  setup(e, { emit: t }) {
2905
- const n = e, a = t, o = O({
2905
+ const n = e, a = t, o = H({
2906
2906
  get() {
2907
2907
  return n.modelValue;
2908
2908
  },
@@ -2929,7 +2929,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2929
2929
  type: e.type,
2930
2930
  onChange: i
2931
2931
  }, {
2932
- default: J(() => [e.type === "checkbox" ? (S(!0), H(ke, { key: 0 }, Oe(e.options, (f) => (S(), F(c, {
2932
+ default: J(() => [e.type === "checkbox" ? (S(!0), O(ke, { key: 0 }, Oe(e.options, (f) => (S(), F(c, {
2933
2933
  key: f.value,
2934
2934
  value: f.value,
2935
2935
  disabled: f.disabled,
@@ -2940,7 +2940,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2940
2940
  "disabled",
2941
2941
  "size",
2942
2942
  "label"
2943
- ]))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(e.options, (f) => (S(), F(s, {
2943
+ ]))), 128)) : (S(!0), O(ke, { key: 1 }, Oe(e.options, (f) => (S(), F(s, {
2944
2944
  key: f.value,
2945
2945
  class: Ne({ "j-checkbox-notFillOrColor": !e.fill && !e.textColor }),
2946
2946
  value: f.value,
@@ -3021,7 +3021,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3021
3021
  "focus"
3022
3022
  ],
3023
3023
  setup(e, { expose: t, emit: n }) {
3024
- const a = e, o = z(), i = n, r = O({
3024
+ const a = e, o = z(), i = n, r = H({
3025
3025
  get() {
3026
3026
  return a.modelValue;
3027
3027
  },
@@ -3185,17 +3185,17 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3185
3185
  "blur"
3186
3186
  ],
3187
3187
  setup(e, { expose: t, emit: n }) {
3188
- const a = e, o = z(null), i = n, r = O({
3188
+ const a = e, o = z(null), i = n, r = H({
3189
3189
  get() {
3190
3190
  return a.modelValue || "";
3191
3191
  },
3192
3192
  set(v) {
3193
3193
  i("update:modelValue", v);
3194
3194
  }
3195
- }), { useData: l } = yt(), { getDataByComp: c } = l(), s = O(() => c ? c({
3195
+ }), { useData: l } = yt(), { getDataByComp: c } = l(), s = H(() => c ? c({
3196
3196
  type: "j-autocomplete",
3197
3197
  config: a
3198
- }) || [] : []), d = O(() => a.options ? a.options : a.dataCode || a.dataType ? s.value : []), f = (v, w) => {
3198
+ }) || [] : []), d = H(() => a.options ? a.options : a.dataCode || a.dataType ? s.value : []), f = (v, w) => {
3199
3199
  if (a.fetchSuggestions) {
3200
3200
  a.fetchSuggestions(v, w);
3201
3201
  return;
@@ -3378,35 +3378,35 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3378
3378
  size: 0,
3379
3379
  h: 0,
3380
3380
  w: 0
3381
- }), u = O({
3381
+ }), u = H({
3382
3382
  get() {
3383
3383
  return i.value !== -1 ? i.value : t.left;
3384
3384
  },
3385
3385
  set(I) {
3386
3386
  i.value = I;
3387
3387
  }
3388
- }), h = O({
3388
+ }), h = H({
3389
3389
  get() {
3390
3390
  return r.value !== -1 ? r.value : t.right;
3391
3391
  },
3392
3392
  set(I) {
3393
3393
  r.value = I;
3394
3394
  }
3395
- }), p = O({
3395
+ }), p = H({
3396
3396
  get() {
3397
3397
  return l.value !== -1 ? l.value : t.top;
3398
3398
  },
3399
3399
  set(I) {
3400
3400
  l.value = I;
3401
3401
  }
3402
- }), g = O({
3402
+ }), g = H({
3403
3403
  get() {
3404
3404
  return c.value !== -1 ? c.value : t.bottom;
3405
3405
  },
3406
3406
  set(I) {
3407
3407
  c.value = I;
3408
3408
  }
3409
- }), b = O(() => n.left), x = O(() => n.right), m = O(() => n.top), v = O(() => n.bottom), w = O(() => b.value ? d.value && t.hideMidWhenNarrow && x.value ? "50%" : d.value && t.hideMidWhenNarrow && !x.value ? "100%" : typeof u.value == "number" ? u.value + "px" : u.value : "0"), C = O(() => x.value ? d.value && t.hideMidWhenNarrow && b.value ? "50%" : d.value && t.hideMidWhenNarrow && !b.value ? "100%" : typeof h.value == "number" ? h.value + "px" : h.value : "0"), y = O(() => m.value ? typeof p.value == "number" ? p.value + "px" : p.value : "0"), _ = O(() => v.value ? typeof g.value == "number" ? g.value + "px" : g.value : "0"), k = O(() => ({
3409
+ }), b = H(() => n.left), x = H(() => n.right), m = H(() => n.top), v = H(() => n.bottom), w = H(() => b.value ? d.value && t.hideMidWhenNarrow && x.value ? "50%" : d.value && t.hideMidWhenNarrow && !x.value ? "100%" : typeof u.value == "number" ? u.value + "px" : u.value : "0"), C = H(() => x.value ? d.value && t.hideMidWhenNarrow && b.value ? "50%" : d.value && t.hideMidWhenNarrow && !b.value ? "100%" : typeof h.value == "number" ? h.value + "px" : h.value : "0"), y = H(() => m.value ? typeof p.value == "number" ? p.value + "px" : p.value : "0"), _ = H(() => v.value ? typeof g.value == "number" ? g.value + "px" : g.value : "0"), k = H(() => ({
3410
3410
  minWidth: t.midMinWidth + "px",
3411
3411
  minHeight: t.midMinHeight + "px"
3412
3412
  })), R = (I, j) => {
@@ -3488,26 +3488,26 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3488
3488
  }), L.observe(a.value));
3489
3489
  }), Po(() => {
3490
3490
  L && L.disconnect();
3491
- }), (I, j) => (S(), H("div", {
3491
+ }), (I, j) => (S(), O("div", {
3492
3492
  ref_key: "layout",
3493
3493
  ref: a,
3494
3494
  class: Ne(["j-layout", { "j-layout-not-hidden": e.notHidden }])
3495
3495
  }, [
3496
- b.value ? (S(), H("div", {
3496
+ b.value ? (S(), O("div", {
3497
3497
  key: 0,
3498
3498
  class: "j-layout--left",
3499
3499
  style: le({ width: w.value })
3500
- }, [B("div", pp, [Ke(I.$slots, "left")]), e.leftMove ? (S(), H("div", {
3500
+ }, [B("div", pp, [Ke(I.$slots, "left")]), e.leftMove ? (S(), O("div", {
3501
3501
  key: 0,
3502
3502
  class: "j-layout--move",
3503
3503
  onMousedown: j[0] || (j[0] = (E) => R("left", E))
3504
3504
  }, null, 32)) : ee("", !0)], 4)) : ee("", !0),
3505
- d.value ? ee("", !0) : (S(), H("div", gp, [
3506
- m.value ? (S(), H("div", {
3505
+ d.value ? ee("", !0) : (S(), O("div", gp, [
3506
+ m.value ? (S(), O("div", {
3507
3507
  key: 0,
3508
3508
  class: "j-layout--top",
3509
3509
  style: le({ height: y.value })
3510
- }, [B("div", vp, [Ke(I.$slots, "top")]), e.topMove ? (S(), H("div", {
3510
+ }, [B("div", vp, [Ke(I.$slots, "top")]), e.topMove ? (S(), O("div", {
3511
3511
  key: 0,
3512
3512
  class: "j-layout--move",
3513
3513
  onMousedown: j[1] || (j[1] = (E) => R("top", E))
@@ -3518,21 +3518,21 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3518
3518
  class: "j-layout--wrapper",
3519
3519
  style: le(k.value)
3520
3520
  }, [Ke(I.$slots, "default")], 4),
3521
- v.value ? (S(), H("div", {
3521
+ v.value ? (S(), O("div", {
3522
3522
  key: 1,
3523
3523
  class: "j-layout--bottom",
3524
3524
  style: le({ height: _.value })
3525
- }, [B("div", yp, [Ke(I.$slots, "bottom")]), e.bottomMove ? (S(), H("div", {
3525
+ }, [B("div", yp, [Ke(I.$slots, "bottom")]), e.bottomMove ? (S(), O("div", {
3526
3526
  key: 0,
3527
3527
  class: "j-layout--move",
3528
3528
  onMousedown: j[2] || (j[2] = (E) => R("bottom", E))
3529
3529
  }, null, 32)) : ee("", !0)], 4)) : ee("", !0)
3530
3530
  ])),
3531
- x.value ? (S(), H("div", {
3531
+ x.value ? (S(), O("div", {
3532
3532
  key: 2,
3533
3533
  class: "j-layout--right",
3534
3534
  style: le({ width: C.value })
3535
- }, [B("div", mp, [Ke(I.$slots, "right")]), e.rightMove ? (S(), H("div", {
3535
+ }, [B("div", mp, [Ke(I.$slots, "right")]), e.rightMove ? (S(), O("div", {
3536
3536
  key: 0,
3537
3537
  class: "j-layout--move",
3538
3538
  onMousedown: j[3] || (j[3] = (E) => R("right", E))
@@ -5237,15 +5237,15 @@ var Pp = class {
5237
5237
  at(a, () => {
5238
5238
  f.value++;
5239
5239
  }, { deep: !0 });
5240
- const u = O(() => (f.value, (n.getCompType ? n.getCompType({
5240
+ const u = H(() => (f.value, (n.getCompType ? n.getCompType({
5241
5241
  config: n.config,
5242
5242
  formData: a,
5243
5243
  row: c,
5244
5244
  getTableData: l,
5245
5245
  pRowData: s
5246
- }) : n.type) || "")), h = O(() => {
5246
+ }) : n.type) || "")), h = H(() => {
5247
5247
  f.value;
5248
- const w = xn({
5248
+ const C = xn({
5249
5249
  config: n.config || {},
5250
5250
  getCompConfig: n.getCompConfig,
5251
5251
  formData: a,
@@ -5253,34 +5253,34 @@ var Pp = class {
5253
5253
  getTableData: l,
5254
5254
  pRowData: s
5255
5255
  });
5256
- return w.needFormItem === void 0 && t.has(u.value) ? {
5257
- ...w,
5256
+ return C.needFormItem === void 0 && t.has(u.value) ? {
5257
+ ...C,
5258
5258
  needFormItem: !1
5259
- } : w;
5260
- }), p = O(() => h.value.display !== !1), g = O(() => ({
5259
+ } : C;
5260
+ }), p = H(() => h.value.display !== !1), g = H(() => ({
5261
5261
  id: n.id,
5262
5262
  type: u.value,
5263
5263
  config: h.value,
5264
5264
  children: n.children
5265
- })), b = O(() => Yr(u.value) && !h.value?.notInput || h.value?.isInput), x = O(() => h.value?.labelWidth || r.value), m = O(() => (h.value?.rule || []).some((w) => w.required === !0)), v = O(() => o?.value?.[n.id]?.msg || "");
5266
- return (w, C) => {
5267
- const y = $("j-comp"), _ = $("el-form-item"), k = $("el-col");
5268
- return p.value && !e.isNotCol ? (S(), F(k, {
5265
+ })), b = H(() => Yr(u.value) && !h.value?.notInput || h.value?.isInput), x = H(() => h.value.notShowLabel ? "" : h.value.label || ""), m = H(() => x.value ? h.value?.labelWidth || r.value : 0), v = H(() => (h.value?.rule || []).some((C) => C.required === !0)), w = H(() => o?.value?.[n.id]?.msg || "");
5266
+ return (C, y) => {
5267
+ const _ = $("j-comp"), k = $("el-form-item"), R = $("el-col");
5268
+ return p.value && !e.isNotCol ? (S(), F(R, {
5269
5269
  key: 0,
5270
5270
  span: h.value.span || W(i),
5271
5271
  style: le({ ...h.value.colStyle || {} }),
5272
5272
  class: Ne(h.value.colClass || {})
5273
5273
  }, {
5274
- default: J(() => [b.value && h.value.needFormItem !== !1 ? (S(), F(_, {
5274
+ default: J(() => [b.value && h.value.needFormItem !== !1 ? (S(), F(k, {
5275
5275
  key: 0,
5276
- label: W(d)(h.value.notShowLabel ? "" : h.value.label || ""),
5276
+ label: W(d)(x.value),
5277
5277
  "label-position": h.value.labelPosition,
5278
- "label-width": x.value,
5279
- required: m.value,
5280
- error: W(d)(v.value),
5278
+ "label-width": m.value,
5279
+ required: v.value,
5280
+ error: W(d)(w.value),
5281
5281
  class: Ne(`${u.value}-form-item`)
5282
5282
  }, {
5283
- default: J(() => [X(y, ta(Mo(g.value)), null, 16)]),
5283
+ default: J(() => [X(_, ta(Mo(g.value)), null, 16)]),
5284
5284
  _: 1
5285
5285
  }, 8, [
5286
5286
  "label",
@@ -5289,13 +5289,13 @@ var Pp = class {
5289
5289
  "required",
5290
5290
  "error",
5291
5291
  "class"
5292
- ])) : (S(), F(y, ta(We({ key: 1 }, g.value)), null, 16))]),
5292
+ ])) : (S(), F(_, ta(We({ key: 1 }, g.value)), null, 16))]),
5293
5293
  _: 1
5294
5294
  }, 8, [
5295
5295
  "span",
5296
5296
  "style",
5297
5297
  "class"
5298
- ])) : p.value ? (S(), F(y, ta(We({ key: 1 }, g.value)), null, 16)) : ee("", !0);
5298
+ ])) : p.value ? (S(), F(_, ta(We({ key: 1 }, g.value)), null, 16)) : ee("", !0);
5299
5299
  };
5300
5300
  }
5301
5301
  }), Oc = Bp, Hp = /* @__PURE__ */ pe({
@@ -5356,14 +5356,14 @@ var Pp = class {
5356
5356
  },
5357
5357
  emits: ["update:modelValue", "change"],
5358
5358
  setup(e, { emit: t }) {
5359
- const n = e, a = t, { useData: o } = yt(), { loadDataByComp: i, getDataByComp: r, getLabel: l } = o(), { contextType: c } = mh(), { formData: s, formChange: d, gutter: f, runFlow: u, runFlowByNotRunActions: h } = ja(), p = O(() => f?.value || 16), { registerMethod: g, runFlow: b, runFlowByNotRunActions: x } = kh(), { getTableData: m, row: v, rowChange: w, pRowData: C } = Kr(), y = n.row || v;
5359
+ const n = e, a = t, { useData: o } = yt(), { loadDataByComp: i, getDataByComp: r, getLabel: l } = o(), { contextType: c } = mh(), { formData: s, formChange: d, gutter: f, runFlow: u, runFlowByNotRunActions: h } = ja(), p = H(() => f?.value || 16), { registerMethod: g, runFlow: b, runFlowByNotRunActions: x } = kh(), { getTableData: m, row: v, rowChange: w, pRowData: C } = Kr(), y = n.row || v;
5360
5360
  zi({
5361
5361
  getTableData: m,
5362
5362
  row: y,
5363
5363
  rowChange: w,
5364
5364
  pRowData: C
5365
5365
  });
5366
- const _ = O(() => Yr(I.value) && !A.value?.notInput || A.value?.isInput || I.value === "j-tabs" || I.value === "j-collapse" || I.value === "j-table"), k = O(() => {
5366
+ const _ = H(() => Yr(I.value) && !A.value?.notInput || A.value?.isInput || I.value === "j-tabs" || I.value === "j-collapse" || I.value === "j-table"), k = H(() => {
5367
5367
  if ([
5368
5368
  "j-select",
5369
5369
  "j-tree-select",
@@ -5373,7 +5373,7 @@ var Pp = class {
5373
5373
  return !(n.type === "j-select" && !M.multiple || n.type === "j-tree-select" && !M.multiple);
5374
5374
  }
5375
5375
  return !1;
5376
- }), R = O({
5376
+ }), R = H({
5377
5377
  get() {
5378
5378
  let M;
5379
5379
  if (y ? M = y[n.id] : s ? M = s[n.id] : M = n.modelValue, M === void 0 && I.value === "j-tabs") {
@@ -5396,14 +5396,14 @@ var Pp = class {
5396
5396
  }
5397
5397
  }), T = z(0);
5398
5398
  at([() => s, () => y], () => T.value++, { deep: !0 });
5399
- const A = O(() => (T.value, xn({
5399
+ const A = H(() => (T.value, xn({
5400
5400
  config: n.config,
5401
5401
  getCompConfig: n.getCompConfig,
5402
5402
  formData: s || {},
5403
5403
  row: y,
5404
5404
  getTableData: m,
5405
5405
  pRowData: C
5406
- }))), P = O(() => (T.value, Jr({
5406
+ }))), P = H(() => (T.value, Jr({
5407
5407
  type: n.type,
5408
5408
  getCompType: n.getCompType,
5409
5409
  config: A.value,
@@ -5411,7 +5411,7 @@ var Pp = class {
5411
5411
  row: y,
5412
5412
  getTableData: m,
5413
5413
  pRowData: C
5414
- }) || "")), L = O(() => {
5414
+ }) || "")), L = H(() => {
5415
5415
  if (I.value !== "j-tree")
5416
5416
  return r ? r({
5417
5417
  type: I.value,
@@ -5420,7 +5420,7 @@ var Pp = class {
5420
5420
  row: y,
5421
5421
  getTableData: m
5422
5422
  }) || [] : A.value.options || [];
5423
- }), I = O(() => n.isTableCell && (P.value === "j-radio" || P.value === "j-checkbox") ? "j-select" : P.value === "j-textarea" ? "j-input" : ((P.value == null || P.value === "") && console.warn("组件类型不能为空"), P.value)), j = (M) => l({
5423
+ }), I = H(() => n.isTableCell && (P.value === "j-radio" || P.value === "j-checkbox") ? "j-select" : P.value === "j-textarea" ? "j-input" : ((P.value == null || P.value === "") && console.warn("组件类型不能为空"), P.value)), j = (M) => l({
5424
5424
  value: M,
5425
5425
  config: V.value || {},
5426
5426
  formData: s || {},
@@ -5433,7 +5433,7 @@ var Pp = class {
5433
5433
  row: y,
5434
5434
  getTableData: m,
5435
5435
  params: M
5436
- }) : [], V = O(() => {
5436
+ }) : [], V = H(() => {
5437
5437
  const M = { ...A.value };
5438
5438
  return I.value === "j-layer-form" && (M.schema = n.children), I.value === "el-collapse-item" && M.label && (M.title = M.label, delete M.label), [
5439
5439
  "j-input-cards",
@@ -5446,7 +5446,7 @@ var Pp = class {
5446
5446
  id: ue.id.slice(Te.length + 1)
5447
5447
  } : ue;
5448
5448
  })), n.isTableCell && (P.value === "j-checkbox" && (M.multiple = !0), P.value === "j-select" && M.multiple && (M.collapseTags = !0, M.collapseTagsTooltip = !0), P.value === "j-switch" && (M.size = "small"), P.value === "j-textarea" && (M.type = "textarea")), ["j-button-layer", "j-input-layer"].includes(n.type) && (M.loadLayerData = E, M.getText = j), M.dataType && (M.options = L.value), M;
5449
- }), q = O(() => {
5449
+ }), q = H(() => {
5450
5450
  if (I.value === "j-layer-form" || I.value === "j-input-rows" || I.value === "j-input-cards") return {};
5451
5451
  const M = {};
5452
5452
  return n.children.forEach((ue, Te) => {
@@ -5507,7 +5507,7 @@ var Pp = class {
5507
5507
  onChange: se
5508
5508
  }), Fn({ _: 2 }, [Oe(q.value, (Ve, Ye) => ({
5509
5509
  name: Ye,
5510
- fn: J(() => [(S(!0), H(ke, null, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5510
+ fn: J(() => [(S(!0), O(ke, null, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5511
5511
  }))]), 1040, ["modelValue", "run-flow"])) : V.value.display != !1 ? (S(), F(Ta(I.value), We({
5512
5512
  key: 1,
5513
5513
  ref_key: "compRef",
@@ -5521,9 +5521,9 @@ var Pp = class {
5521
5521
  key: 0,
5522
5522
  gutter: p.value
5523
5523
  }, {
5524
- default: J(() => [V.value.needFormItem === !0 || V.value.needFormItem?.[Ye] === !0 ? (S(!0), H(ke, { key: 0 }, Oe(Ve, (ne) => (S(), F(Oc, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))]),
5524
+ default: J(() => [V.value.needFormItem === !0 || V.value.needFormItem?.[Ye] === !0 ? (S(!0), O(ke, { key: 0 }, Oe(Ve, (ne) => (S(), F(Oc, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128)) : (S(!0), O(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))]),
5525
5525
  _: 2
5526
- }, 1032, ["gutter"])) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5526
+ }, 1032, ["gutter"])) : (S(!0), O(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5527
5527
  }))]), 1040, ["run-flow"])) : ee("", !0);
5528
5528
  };
5529
5529
  }
@@ -5782,11 +5782,11 @@ var Dp = { class: "j-table-footer" }, $p = {
5782
5782
  "change"
5783
5783
  ],
5784
5784
  setup(e, { expose: t, emit: n }) {
5785
- const a = fc(), o = e, i = n, { formData: r } = ja(), { useData: l } = yt(), { getLabel: c, getCode: s, loadDataState: d, getObjectList: f } = l(), { openLayer: u } = Xa(), h = O(() => o.heightMode === "auto" ? { height: "auto" } : {}), p = aa({}), g = () => {
5785
+ const a = fc(), o = e, i = n, { formData: r } = ja(), { useData: l } = yt(), { getLabel: c, getCode: s, loadDataState: d, getObjectList: f } = l(), { openLayer: u } = Xa(), h = H(() => o.heightMode === "auto" ? { height: "auto" } : {}), p = aa({}), g = () => {
5786
5786
  Object.keys(p).forEach((D) => {
5787
5787
  delete p[D];
5788
5788
  });
5789
- }, b = z(40), x = O(() => {
5789
+ }, b = z(40), x = H(() => {
5790
5790
  const D = {};
5791
5791
  return o.heightMode === "auto" && (o.emptyTipText && b.value < 200 ? D.height = "200px" : D.height = b.value + "px", D.flex = "none", o.maxHeight && (D.maxHeight = typeof o.maxHeight == "number" ? `${o.maxHeight}px` : o.maxHeight)), D;
5792
5792
  }), m = z(null);
@@ -6660,21 +6660,21 @@ var Dp = { class: "j-table-footer" }, $p = {
6660
6660
  }), jo(() => {
6661
6661
  ya(), G(), document.removeEventListener("wheel", ue);
6662
6662
  });
6663
- const Re = O({
6663
+ const Re = H({
6664
6664
  get() {
6665
6665
  return o.tablePage;
6666
6666
  },
6667
6667
  set(D) {
6668
6668
  i("update:tablePage", D);
6669
6669
  }
6670
- }), gt = z(0), Ot = O({
6670
+ }), gt = z(0), Ot = H({
6671
6671
  get() {
6672
6672
  return gt.value !== 0 ? gt.value : o.pageSize;
6673
6673
  },
6674
6674
  set(D) {
6675
6675
  gt.value = D, i("update:pageSize", D);
6676
6676
  }
6677
- }), xe = O(() => (Re.value - 1) * Ot.value), St = (D, N) => {
6677
+ }), xe = H(() => (Re.value - 1) * Ot.value), St = (D, N) => {
6678
6678
  i("loadPageData", {
6679
6679
  rows: N,
6680
6680
  page: D
@@ -6769,7 +6769,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6769
6769
  }), o.heightMode === "auto" && (b.value = v.getAllRowsHeight()), k.value = 0;
6770
6770
  }, Le = () => {
6771
6771
  v.renderWithRecreateCells();
6772
- }, Rn = O(() => o.editConfig.isAddBtn), Dt = O(() => o.editConfig.addBtnText || "添加"), Xt = O(() => o.editConfig.isRemoveBtn), En = O(() => o.editConfig.readonly), $t = O(() => o.isMultiple || Xt.value), Fa = () => {
6772
+ }, Rn = H(() => o.editConfig.isAddBtn), Dt = H(() => o.editConfig.addBtnText || "添加"), Xt = H(() => o.editConfig.isRemoveBtn), En = H(() => o.editConfig.readonly), $t = H(() => o.isMultiple || Xt.value), Fa = () => {
6773
6773
  const D = o.modelValue || [];
6774
6774
  return D.forEach((N) => {
6775
6775
  N._i || (N._i = na());
@@ -6778,7 +6778,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6778
6778
  at(() => o.modelValue, () => {
6779
6779
  co(Fa());
6780
6780
  });
6781
- const qo = O(() => {
6781
+ const qo = H(() => {
6782
6782
  const D = (N) => {
6783
6783
  const Z = [];
6784
6784
  return N.forEach((oe) => {
@@ -6802,7 +6802,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6802
6802
  tableData: v.records,
6803
6803
  type: "add"
6804
6804
  });
6805
- }, wd = O(() => k.value > 0), _d = () => {
6805
+ }, wd = H(() => k.value > 0), _d = () => {
6806
6806
  if (!v) return;
6807
6807
  const D = Wt();
6808
6808
  D.length !== 0 && Md.confirm(`确定要删除选中的 ${D.length} 条记录吗?`, "删除确认", {
@@ -6859,7 +6859,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6859
6859
  renderTable: Le
6860
6860
  }), (D, N) => {
6861
6861
  const Z = $("j-button"), oe = $("el-space"), Y = $("el-pagination");
6862
- return S(), H("div", {
6862
+ return S(), O("div", {
6863
6863
  class: Ne(["j-table", { "j-table-auto": e.heightMode === "auto" }]),
6864
6864
  style: le(h.value)
6865
6865
  }, [
@@ -6871,7 +6871,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6871
6871
  ref: m,
6872
6872
  class: Ne("j-block")
6873
6873
  }, null, 512)], 4),
6874
- B("div", Dp, [e.isPage || !En.value && (Rn.value || Xt.value) ? (S(), H("div", $p, [
6874
+ B("div", Dp, [e.isPage || !En.value && (Rn.value || Xt.value) ? (S(), O("div", $p, [
6875
6875
  X(oe, null, {
6876
6876
  default: J(() => [Rn.value ? (S(), F(Z, {
6877
6877
  key: 0,
@@ -6913,13 +6913,13 @@ var Dp = { class: "j-table-footer" }, $p = {
6913
6913
  "total"
6914
6914
  ])) : ee("", !0)
6915
6915
  ])) : ee("", !0)]),
6916
- A.value ? (S(), H("div", {
6916
+ A.value ? (S(), O("div", {
6917
6917
  key: 0,
6918
6918
  class: "j-table-dropdown",
6919
6919
  style: le(P.value),
6920
6920
  onMouseenter: Q,
6921
6921
  onMouseleave: M
6922
- }, [(S(!0), H(ke, null, Oe(L.value, (te) => (S(), H("div", {
6922
+ }, [(S(!0), O(ke, null, Oe(L.value, (te) => (S(), O("div", {
6923
6923
  key: te.id,
6924
6924
  class: "j-table-dropdown-item",
6925
6925
  style: le({
@@ -7049,16 +7049,16 @@ var Dp = { class: "j-table-footer" }, $p = {
7049
7049
  typeof document < "u" && (b.value = document.querySelector(".j-dialog"), b.value && (b.value.onmousemove = G));
7050
7050
  });
7051
7051
  }, { immediate: !0 });
7052
- const w = O(() => {
7052
+ const w = H(() => {
7053
7053
  let M = a.height + g.value;
7054
7054
  return typeof window < "u" && M + 40 > window.innerHeight && (M = window.innerHeight - 32 - 40), M;
7055
- }), C = O(() => {
7055
+ }), C = H(() => {
7056
7056
  let M = 0 + g.value;
7057
7057
  return typeof document < "u" && document.body && (M = (document.body.clientWidth - _.value) / 2), M;
7058
- }), y = O(() => {
7058
+ }), y = H(() => {
7059
7059
  let M = 0 + g.value;
7060
7060
  return typeof window < "u" && (M = (window.innerHeight - w.value - 40) / 2), M;
7061
- }), _ = O(() => {
7061
+ }), _ = H(() => {
7062
7062
  let M = 0 + g.value;
7063
7063
  return M = a.width, typeof document < "u" && document.body && M > document.body.clientWidth && (M = document.body.clientWidth - 32), M;
7064
7064
  }), k = (M) => {
@@ -7073,7 +7073,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7073
7073
  p.left = 0, p.top = 0, v.value = 0, m.value = 0, a.isStep && (L.value = 0, zt(() => {
7074
7074
  V();
7075
7075
  })), o("closed");
7076
- }, L = O({
7076
+ }, L = H({
7077
7077
  get() {
7078
7078
  return h.value !== -1 ? h.value : a.stepActive;
7079
7079
  },
@@ -7106,7 +7106,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7106
7106
  d.value = !1, f.value = !1;
7107
7107
  break;
7108
7108
  }
7109
- }, q = O(() => a.steps.map((M) => ({
7109
+ }, q = H(() => a.steps.map((M) => ({
7110
7110
  title: M,
7111
7111
  disabled: !0
7112
7112
  }))), se = function(M) {
@@ -7172,7 +7172,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7172
7172
  class: "j-dialog-header-left",
7173
7173
  title: W(i)(e.title || ""),
7174
7174
  style: le({ cursor: e.autoHeight ? "" : "move" })
7175
- }, [B("span", null, we(W(i)(e.title || "")), 1), e.subtitle ? (S(), H("span", Yp, [(S(), F(Ta(e.subtitle())))])) : ee("", !0)], 12, Up), e.showCloseBtn ? (S(), F(me, {
7175
+ }, [B("span", null, we(W(i)(e.title || "")), 1), e.subtitle ? (S(), O("span", Yp, [(S(), F(Ta(e.subtitle())))])) : ee("", !0)], 12, Up), e.showCloseBtn ? (S(), F(me, {
7176
7176
  key: 0,
7177
7177
  size: 0
7178
7178
  }, {
@@ -7190,7 +7190,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7190
7190
  ]),
7191
7191
  style: le({ height: e.autoHeight ? "auto" : (v.value > 0 ? v.value : w.value) + "px" })
7192
7192
  }, [
7193
- e.isStep ? (S(), H("div", Jp, [B("div", { style: le({
7193
+ e.isStep ? (S(), O("div", Jp, [B("div", { style: le({
7194
7194
  maxWidth: `${200 * q.value.length}px`,
7195
7195
  width: "100%"
7196
7196
  }) }, [X(Ye, {
@@ -7199,14 +7199,14 @@ var Dp = { class: "j-table-footer" }, $p = {
7199
7199
  space: 160,
7200
7200
  "finish-status": "success"
7201
7201
  }, {
7202
- default: J(() => [(S(!0), H(ke, null, Oe(q.value, (Ee, Be) => (S(), F(Ve, {
7202
+ default: J(() => [(S(!0), O(ke, null, Oe(q.value, (Ee, Be) => (S(), F(Ve, {
7203
7203
  key: Be,
7204
7204
  title: W(i)(Ee.title)
7205
7205
  }, null, 8, ["title"]))), 128))]),
7206
7206
  _: 1
7207
7207
  }, 8, ["active"])], 4)])) : ee("", !0),
7208
7208
  B("div", Gp, [Ke(M.$slots, "default")]),
7209
- e.hasBtns ? (S(), H("div", Kp, [X(me, { size: 8 }, {
7209
+ e.hasBtns ? (S(), O("div", Kp, [X(me, { size: 8 }, {
7210
7210
  default: J(() => [
7211
7211
  e.isStep ? (S(), F(Te, {
7212
7212
  key: 0,
@@ -7233,7 +7233,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7233
7233
  label: W(i)("取消"),
7234
7234
  onClick: T
7235
7235
  }, null, 8, ["label"])) : ee("", !0),
7236
- (S(!0), H(ke, null, Oe(e.buttons, (Ee) => (S(), F(Te, We({ ref_for: !0 }, Ee.config, {
7236
+ (S(!0), O(ke, null, Oe(e.buttons, (Ee) => (S(), F(Te, We({ ref_for: !0 }, Ee.config, {
7237
7237
  key: Ee.id,
7238
7238
  label: Ee.label,
7239
7239
  onClick: (Be) => Q(Ee)
@@ -7342,7 +7342,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7342
7342
  at(() => a.visible, (A) => {
7343
7343
  l.value = A;
7344
7344
  }, { immediate: !0 });
7345
- const g = O({
7345
+ const g = H({
7346
7346
  get() {
7347
7347
  return p.value !== -1 ? p.value : a.stepActive;
7348
7348
  },
@@ -7387,7 +7387,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7387
7387
  f.value = !1, u.value = !1;
7388
7388
  break;
7389
7389
  }
7390
- }, R = O(() => a.steps.map((A) => ({
7390
+ }, R = H(() => a.steps.map((A) => ({
7391
7391
  title: A,
7392
7392
  disabled: !0
7393
7393
  }))), T = async (A) => {
@@ -7410,12 +7410,12 @@ var Dp = { class: "j-table-footer" }, $p = {
7410
7410
  "destroy-on-close": e.destroyOnClose,
7411
7411
  onClosed: m
7412
7412
  }, {
7413
- default: J(() => [$n((S(), H("div", {
7413
+ default: J(() => [$n((S(), O("div", {
7414
7414
  class: "j-block j-dialog-full-window",
7415
7415
  "element-loading-text": W(r)(s.value)
7416
- }, [e.hasHeader ? (S(), H("div", eg, [
7416
+ }, [e.hasHeader ? (S(), O("div", eg, [
7417
7417
  B("div", tg, [
7418
- W(i) ? (S(), H("img", {
7418
+ W(i) ? (S(), O("img", {
7419
7419
  key: 0,
7420
7420
  class: "j-dialog-full-header-logo",
7421
7421
  src: W(i)
@@ -7433,7 +7433,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7433
7433
  space: 160,
7434
7434
  "finish-status": "success"
7435
7435
  }, {
7436
- default: J(() => [(S(!0), H(ke, null, Oe(R.value, (ve, U) => (S(), F(L, {
7436
+ default: J(() => [(S(!0), O(ke, null, Oe(R.value, (ve, U) => (S(), F(L, {
7437
7437
  key: U,
7438
7438
  title: W(r)(ve.title)
7439
7439
  }, null, 8, ["title"]))), 128))]),
@@ -7462,7 +7462,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7462
7462
  "loading",
7463
7463
  "label"
7464
7464
  ])) : ee("", !0),
7465
- (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), H(ke, { key: ve.id }, [ve.config?.display !== !1 ? (S(), F(j, We({
7465
+ (S(!0), O(ke, null, Oe(e.buttons, (ve) => (S(), O(ke, { key: ve.id }, [ve.config?.display !== !1 ? (S(), F(j, We({
7466
7466
  key: 0,
7467
7467
  ref_for: !0
7468
7468
  }, ve.config, {
@@ -7604,7 +7604,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7604
7604
  "cancel"
7605
7605
  ],
7606
7606
  setup(e, { expose: t, emit: n }) {
7607
- const a = e, { t: o } = yt(), i = n, r = z(!1), l = z(""), c = O(() => ["ltr", "rtl"].indexOf(a.direction) !== -1 ? `${a.width}px` : `${a.height}px`), s = O({
7607
+ const a = e, { t: o } = yt(), i = n, r = z(!1), l = z(""), c = H(() => ["ltr", "rtl"].indexOf(a.direction) !== -1 ? `${a.width}px` : `${a.height}px`), s = H({
7608
7608
  get() {
7609
7609
  return a.visible;
7610
7610
  },
@@ -7625,7 +7625,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7625
7625
  a.beforeClose && a.beforeClose() === !1 || (s.value = !1, i("update:visible", !1), i("cancel"));
7626
7626
  }, g = async (A) => {
7627
7627
  A.click && await A.click();
7628
- }, b = z(!1), x = z(!0), m = z(!1), v = z(!0), w = z(-1), C = O({
7628
+ }, b = z(!1), x = z(!0), m = z(!1), v = z(!0), w = z(-1), C = H({
7629
7629
  get() {
7630
7630
  return w.value !== -1 ? w.value : a.stepActive;
7631
7631
  },
@@ -7658,7 +7658,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7658
7658
  x.value = !1, m.value = !1;
7659
7659
  break;
7660
7660
  }
7661
- }, T = O(() => a.steps.map((A) => ({
7661
+ }, T = H(() => a.steps.map((A) => ({
7662
7662
  title: A,
7663
7663
  disabled: !0
7664
7664
  })));
@@ -7682,7 +7682,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7682
7682
  "close-on-click-modal": !0,
7683
7683
  onClosed: u
7684
7684
  }, {
7685
- default: J(() => [$n((S(), H("div", {
7685
+ default: J(() => [$n((S(), O("div", {
7686
7686
  class: Ne(["j-drawer--warpper", { "j-drawer--warpper-hasSteps": e.isStep }]),
7687
7687
  "element-loading-text": l.value
7688
7688
  }, [
@@ -7695,7 +7695,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7695
7695
  top: "-200px"
7696
7696
  } }),
7697
7697
  B("div", dg, [Ke(A.$slots, "default")]),
7698
- e.hasBtns ? (S(), H("div", fg, [X(j, { size: 8 }, {
7698
+ e.hasBtns ? (S(), O("div", fg, [X(j, { size: 8 }, {
7699
7699
  default: J(() => [
7700
7700
  e.isStep ? (S(), F(I, {
7701
7701
  key: 0,
@@ -7722,7 +7722,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7722
7722
  label: W(o)("取消"),
7723
7723
  onClick: p
7724
7724
  }, null, 8, ["label"])) : ee("", !0),
7725
- (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), F(I, We({ key: ve.id }, { ref_for: !0 }, ve.config, {
7725
+ (S(!0), O(ke, null, Oe(e.buttons, (ve) => (S(), F(I, We({ key: ve.id }, { ref_for: !0 }, ve.config, {
7726
7726
  label: ve.label,
7727
7727
  onClick: (U) => g(ve)
7728
7728
  }), null, 16, ["label", "onClick"]))), 128)),
@@ -7738,12 +7738,12 @@ var Dp = { class: "j-table-footer" }, $p = {
7738
7738
  _: 1
7739
7739
  })])) : ee("", !0)
7740
7740
  ], 4),
7741
- B("div", hg, [B("div", pg, [B("span", null, we(W(o)(e.title)), 1), B("span", gg, [e.subtitle ? (S(), F(Ta(e.subtitle()), { key: 0 })) : ee("", !0)])]), e.showCloseBtn ? (S(), H("div", vg, [X(I, {
7741
+ B("div", hg, [B("div", pg, [B("span", null, we(W(o)(e.title)), 1), B("span", gg, [e.subtitle ? (S(), F(Ta(e.subtitle()), { key: 0 })) : ee("", !0)])]), e.showCloseBtn ? (S(), O("div", vg, [X(I, {
7742
7742
  type: "text",
7743
7743
  icon: "mdi:close",
7744
7744
  onClick: p
7745
7745
  })])) : ee("", !0)]),
7746
- e.isStep ? (S(), H("div", yg, [B("div", { style: le({
7746
+ e.isStep ? (S(), O("div", yg, [B("div", { style: le({
7747
7747
  maxWidth: `${200 * T.value.length}px`,
7748
7748
  width: "100%"
7749
7749
  }) }, [X(V, {
@@ -7752,7 +7752,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7752
7752
  space: 160,
7753
7753
  "finish-status": "success"
7754
7754
  }, {
7755
- default: J(() => [(S(!0), H(ke, null, Oe(T.value, (ve, U) => (S(), F(E, {
7755
+ default: J(() => [(S(!0), O(ke, null, Oe(T.value, (ve, U) => (S(), F(E, {
7756
7756
  key: U,
7757
7757
  title: W(o)(ve.title)
7758
7758
  }, null, 8, ["title"]))), 128))]),
@@ -8000,7 +8000,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8000
8000
  "search"
8001
8001
  ],
8002
8002
  setup(e, { emit: t }) {
8003
- const n = e, a = t, o = z(), i = O(() => Qt(n.modelValue) ? [] : n.modelValue?.split(",") || []), r = O(() => n.isStyleLoop ? i.value?.map((f, u) => {
8003
+ const n = e, a = t, o = z(), i = H(() => Qt(n.modelValue) ? [] : n.modelValue?.split(",") || []), r = H(() => n.isStyleLoop ? i.value?.map((f, u) => {
8004
8004
  let h = n.colors[u % n.colors.length] || {};
8005
8005
  return h = {
8006
8006
  ...h,
@@ -8035,7 +8035,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8035
8035
  onKeydown: pr(Ft(c, ["stop"]), ["enter"])
8036
8036
  }, {
8037
8037
  prefix: J(() => [X(p, null, {
8038
- default: J(() => [(S(!0), H(ke, null, Oe(i.value, (b, x) => (S(), F(h, {
8038
+ default: J(() => [(S(!0), O(ke, null, Oe(i.value, (b, x) => (S(), F(h, {
8039
8039
  key: x,
8040
8040
  type: "info",
8041
8041
  closable: !e.readonly,
@@ -8096,14 +8096,14 @@ var Dp = { class: "j-table-footer" }, $p = {
8096
8096
  },
8097
8097
  emits: ["update:modelValue", "change"],
8098
8098
  setup(e, { emit: t }) {
8099
- const n = e, a = t, o = O({
8099
+ const n = e, a = t, o = H({
8100
8100
  get() {
8101
8101
  return Number(n.modelValue);
8102
8102
  },
8103
8103
  set(c) {
8104
8104
  a("update:modelValue", c), a("change", { value: c });
8105
8105
  }
8106
- }), i = O(() => n.texts?.map((c) => c.value) || []), r = z(0), l = (c) => {
8106
+ }), i = H(() => n.texts?.map((c) => c.value) || []), r = z(0), l = (c) => {
8107
8107
  r.value = c;
8108
8108
  };
8109
8109
  return (c, s) => {
@@ -8190,7 +8190,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8190
8190
  },
8191
8191
  emits: ["update:modelValue", "change"],
8192
8192
  setup(e, { emit: t }) {
8193
- const n = e, a = t, o = O({
8193
+ const n = e, a = t, o = H({
8194
8194
  get() {
8195
8195
  return Number(n.modelValue);
8196
8196
  },
@@ -8305,14 +8305,14 @@ var Dp = { class: "j-table-footer" }, $p = {
8305
8305
  const { t } = yt();
8306
8306
  return (n, a) => {
8307
8307
  const o = $("j-icon"), i = $("el-text"), r = $("j-button"), l = $("el-progress"), c = $("el-link");
8308
- return S(), H("div", { class: Ne(["j-upload-list", {
8308
+ return S(), O("div", { class: Ne(["j-upload-list", {
8309
8309
  "j-upload-image-list": e.isUploadImg,
8310
8310
  "j-upload-drag-list": e.drag
8311
- }]) }, [e.drag ? (S(), H(ke, { key: 0 }, [e.showFileList ? (S(!0), H(ke, { key: 0 }, Oe(e.list, (s) => (S(), H("div", {
8311
+ }]) }, [e.drag ? (S(), O(ke, { key: 0 }, [e.showFileList ? (S(!0), O(ke, { key: 0 }, Oe(e.list, (s) => (S(), O("div", {
8312
8312
  key: s.id,
8313
8313
  class: "j-upload-dragItem"
8314
8314
  }, [
8315
- e.isUploadImg ? (S(), H("div", Bg, [B("img", {
8315
+ e.isUploadImg ? (S(), O("div", Bg, [B("img", {
8316
8316
  src: s.url,
8317
8317
  style: { width: "100%" },
8318
8318
  alt: ""
@@ -8356,11 +8356,11 @@ var Dp = { class: "j-table-footer" }, $p = {
8356
8356
  percent: s.percent,
8357
8357
  "show-text": !1
8358
8358
  }, null, 8, ["percent"])) : ee("", !0)
8359
- ]))), 128)) : ee("", !0), Ke(n.$slots, "default")], 64)) : e.isUploadImg ? (S(!0), H(ke, { key: 1 }, Oe(e.list, (s) => (S(), H("div", {
8359
+ ]))), 128)) : ee("", !0), Ke(n.$slots, "default")], 64)) : e.isUploadImg ? (S(!0), O(ke, { key: 1 }, Oe(e.list, (s) => (S(), O("div", {
8360
8360
  key: s.id,
8361
8361
  class: "j-upload-imgItem"
8362
8362
  }, [
8363
- s.status === "done" || s.status === "unUpload" ? (S(), H("img", {
8363
+ s.status === "done" || s.status === "unUpload" ? (S(), O("img", {
8364
8364
  key: 0,
8365
8365
  src: s.url,
8366
8366
  style: { width: "100%" },
@@ -8384,7 +8384,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8384
8384
  percent: s.percent,
8385
8385
  "show-text": !1
8386
8386
  }, null, 8, ["percent"])) : ee("", !0)
8387
- ]))), 128)) : (S(!0), H(ke, { key: 2 }, Oe(e.list, (s) => (S(), H("div", {
8387
+ ]))), 128)) : (S(!0), O(ke, { key: 2 }, Oe(e.list, (s) => (S(), O("div", {
8388
8388
  key: s.id,
8389
8389
  class: "j-upload-item"
8390
8390
  }, [
@@ -8558,10 +8558,10 @@ var Dp = { class: "j-table-footer" }, $p = {
8558
8558
  "notUploadChange"
8559
8559
  ],
8560
8560
  setup(e, { emit: t }) {
8561
- const n = e, a = t, { warning: o, error: i, createConfirm: r, t: l, apiUrl: c, token: s, useFile: d } = yt(), { fileChunkedUpload: f, deleteFile: u } = d(), h = O(() => n.isUploadImg ? n.accept || "image/*" : n.accept), p = O(() => {
8561
+ const n = e, a = t, { warning: o, error: i, createConfirm: r, t: l, apiUrl: c, token: s, useFile: d } = yt(), { fileChunkedUpload: f, deleteFile: u } = d(), h = H(() => n.isUploadImg ? n.accept || "image/*" : n.accept), p = H(() => {
8562
8562
  if (n.limit !== -1)
8563
8563
  return n.limit;
8564
- }), g = O(() => n.limit === -1 ? "" : `,${l("上传数量")}${n.limit}`), b = z(""), x = O(() => ({
8564
+ }), g = H(() => n.limit === -1 ? "" : `,${l("上传数量")}${n.limit}`), b = z(""), x = H(() => ({
8565
8565
  folderId: n.modelValue || b.value,
8566
8566
  maxSize: n.maxSize,
8567
8567
  sizeType: n.sizeType
@@ -8721,7 +8721,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8721
8721
  };
8722
8722
  return (ne, Ee) => {
8723
8723
  const Be = $("j-icon"), Ie = $("j-button"), Et = $("el-popover"), bt = $("el-button"), Xe = $("el-upload"), Kt = $("el-text"), ln = $("j-dialog-full"), qt = Bo("loading");
8724
- return S(), H("div", Fg, [
8724
+ return S(), O("div", Fg, [
8725
8725
  X(Xe, {
8726
8726
  action: "",
8727
8727
  drag: e.drag,
@@ -8739,7 +8739,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8739
8739
  "on-preview": Te,
8740
8740
  "on-exceed": Ye
8741
8741
  }, {
8742
- default: J(() => [e.isUploadImg && !e.isLayer && !e.readonly ? (S(), H("div", Vg, [X(Be, { icon: "mdi:add" }), B("div", Ng, we(W(l)(e.placeholder)), 1)])) : e.isLayer && e.showFileList && m.value.length > 0 && !G.value ? (S(), F(Et, {
8742
+ default: J(() => [e.isUploadImg && !e.isLayer && !e.readonly ? (S(), O("div", Vg, [X(Be, { icon: "mdi:add" }), B("div", Ng, we(W(l)(e.placeholder)), 1)])) : e.isLayer && e.showFileList && m.value.length > 0 && !G.value ? (S(), F(Et, {
8743
8743
  key: 1,
8744
8744
  placement: "bottom",
8745
8745
  title: e.isUploadImg ? W(l)("图片列表") : W(l)("文件列表")
@@ -8787,7 +8787,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8787
8787
  "multiple",
8788
8788
  "file-list"
8789
8789
  ]),
8790
- e.isTip ? (S(), H("div", Wg, [X(Kt, null, {
8790
+ e.isTip ? (S(), O("div", Wg, [X(Kt, null, {
8791
8791
  default: J(() => [on(we(`${W(l)("只能上传不超过{0}的{1}文件", `${e.maxSize}${e.sizeType}`, `${h.value || ""}`)},${g.value}`), 1)]),
8792
8792
  _: 1
8793
8793
  })])) : ee("", !0),
@@ -8813,12 +8813,12 @@ var Dp = { class: "j-table-footer" }, $p = {
8813
8813
  "has-btns": !!W(c),
8814
8814
  onOk: Ve
8815
8815
  }, {
8816
- default: J(() => [se.value && U.value ? (S(), H("div", Ug, [B("img", {
8816
+ default: J(() => [se.value && U.value ? (S(), O("div", Ug, [B("img", {
8817
8817
  width: "100%",
8818
8818
  style: { "max-width": "1024px" },
8819
8819
  src: U.value,
8820
8820
  alt: ""
8821
- }, null, 8, Yg)])) : U.value != "" ? $n((S(), H("div", Jg, [B("iframe", {
8821
+ }, null, 8, Yg)])) : U.value != "" ? $n((S(), O("div", Jg, [B("iframe", {
8822
8822
  ref: "iframe",
8823
8823
  src: U.value,
8824
8824
  style: {
@@ -8891,7 +8891,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8891
8891
  clear: () => {
8892
8892
  r.value?.clear();
8893
8893
  }
8894
- }), (p, g) => (S(), H("div", {
8894
+ }), (p, g) => (S(), O("div", {
8895
8895
  ref_key: "chartRef",
8896
8896
  ref: i,
8897
8897
  class: "j-echarts"
@@ -9206,11 +9206,11 @@ var Dp = { class: "j-table-footer" }, $p = {
9206
9206
  let f = d.message || "条码数据或参数错误";
9207
9207
  d.message && d.message.includes("Bad checksum") && t.bcid === "gs1-128" ? f = `GS1-128 校验位错误: ${d.message}。请确保 AI 01 的14位数字包含正确的校验位。` : d.message && d.message.includes("GS1badChecksum") ? f = `GS1 校验位错误: ${d.message}。请检查应用标识符 (AI) 的数据格式和校验位是否正确。` : d.message && d.message.includes("auspostBadFCC") && t.bcid === "auspost" ? f = `AUSPOST FCC 错误: ${d.message}。AUSPOST 条码必须以有效的 FCC (Format Control Code) 开头:11, 45, 59 或 62。如果值未以有效的 FCC 开头,系统会自动添加合适的 FCC。` : d.message && d.message.includes("auspostTooLong") && t.bcid === "auspost" ? f = `AUSPOST 长度错误: ${d.message}。AUSPOST 条码长度限制:FCC 11 (10位), FCC 59 (18位), FCC 62 (25位,最大容量)。如果值超过限制,系统会自动截断并使用合适的 FCC。` : d.message && d.message.includes("pznBadCheckDigit") && t.bcid === "pzn" && (f = `PZN 校验位错误: ${d.message}。PZN (德国医药产品编号) 必须是7位或8位数字,包含正确的校验位。如果校验位不正确,系统会自动修复。`), a.value = f, n.value = "";
9208
9208
  }
9209
- }), (d, f) => (S(), H(ke, null, [n.value ? (S(), H("div", {
9209
+ }), (d, f) => (S(), O(ke, null, [n.value ? (S(), O("div", {
9210
9210
  key: 0,
9211
9211
  class: "j-barcode",
9212
9212
  innerHTML: n.value
9213
- }, null, 8, tv)) : ee("", !0), a.value ? (S(), H("div", nv, we(a.value), 1)) : ee("", !0)], 64));
9213
+ }, null, 8, tv)) : ee("", !0), a.value ? (S(), O("div", nv, we(a.value), 1)) : ee("", !0)], 64));
9214
9214
  }
9215
9215
  }), ov = av, iv = Ce(ov), rv = /* @__PURE__ */ pe({
9216
9216
  name: "JCount",
@@ -9315,7 +9315,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9315
9315
  }
9316
9316
  const k = Number(_);
9317
9317
  return Number.isNaN(k) ? 0 : k;
9318
- }, w = O(() => {
9318
+ }, w = H(() => {
9319
9319
  if (!m) return "";
9320
9320
  const y = JSON.parse(n.formatJson || "[]");
9321
9321
  let _ = "";
@@ -9372,7 +9372,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9372
9372
  else
9373
9373
  return console.log(R.msg), "";
9374
9374
  return Number.isNaN(k) ? "" : (n.decimal !== void 0 && (k = k.toFixed(n.decimal)), k);
9375
- }), C = O(() => {
9375
+ }), C = H(() => {
9376
9376
  let y = w.value;
9377
9377
  return n.thousandSeparator && (y = Lf(y)), n.isChinese && (y = zf(y)), y;
9378
9378
  });
@@ -9731,7 +9731,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9731
9731
  ], l = z(!1), c = z([]), s = aa({
9732
9732
  cells: [],
9733
9733
  cursor: 0
9734
- }), d = O({
9734
+ }), d = H({
9735
9735
  get() {
9736
9736
  return JSON.parse(a.modelValue || "[]");
9737
9737
  },
@@ -9772,7 +9772,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9772
9772
  d.value = s.cells, l.value = !1;
9773
9773
  }, v = () => {
9774
9774
  s.cells = [], s.cursor = 0, l.value = !1;
9775
- }, w = O(() => {
9775
+ }, w = H(() => {
9776
9776
  const y = {};
9777
9777
  return a.list.forEach((_) => {
9778
9778
  _.children.forEach((k) => {
@@ -9782,7 +9782,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9782
9782
  }), C = (y) => w.value[y] || y;
9783
9783
  return (y, _) => {
9784
9784
  const k = $("j-button"), R = $("j-icon"), T = $("el-space"), A = $("j-dialog");
9785
- return S(), H("div", null, [X(k, We(y.$attrs, {
9785
+ return S(), O("div", null, [X(k, We(y.$attrs, {
9786
9786
  type: e.type,
9787
9787
  size: e.size,
9788
9788
  label: e.label,
@@ -9829,27 +9829,27 @@ var Dp = { class: "j-table-footer" }, $p = {
9829
9829
  })
9830
9830
  ]),
9831
9831
  _: 1
9832
- })]), B("div", hv, [s.cells.length == 0 ? (S(), H("span", pv)) : ee("", !0), (S(!0), H(ke, null, Oe(s.cells, (P, L) => (S(), H(ke, { key: L }, [P.type == "fun" ? (S(), H("span", gv, we(P.value.toUpperCase()), 1)) : P.type == "comp" ? (S(), H("span", vv, " #" + we(C(P.value)) + "# ", 1)) : P.type == "num" ? (S(), H("span", yv, we(P.value), 1)) : ee("", !0), L + 1 == s.cursor ? (S(), H("span", mv)) : ee("", !0)], 64))), 128))])]),
9832
+ })]), B("div", hv, [s.cells.length == 0 ? (S(), O("span", pv)) : ee("", !0), (S(!0), O(ke, null, Oe(s.cells, (P, L) => (S(), O(ke, { key: L }, [P.type == "fun" ? (S(), O("span", gv, we(P.value.toUpperCase()), 1)) : P.type == "comp" ? (S(), O("span", vv, " #" + we(C(P.value)) + "# ", 1)) : P.type == "num" ? (S(), O("span", yv, we(P.value), 1)) : ee("", !0), L + 1 == s.cursor ? (S(), O("span", mv)) : ee("", !0)], 64))), 128))])]),
9833
9833
  X(T, { class: "j-input-count-mid" }, {
9834
- default: J(() => [(S(), H(ke, null, Oe(i, (P, L) => X(k, {
9834
+ default: J(() => [(S(), O(ke, null, Oe(i, (P, L) => X(k, {
9835
9835
  key: L,
9836
9836
  label: P.label + "",
9837
9837
  onClick: (I) => u(P.value, "num")
9838
9838
  }, null, 8, ["label", "onClick"])), 64))]),
9839
9839
  _: 1
9840
9840
  }),
9841
- B("div", bv, [B("div", wv, [(S(!0), H(ke, null, Oe(e.list, (P, L) => (S(), H(ke, { key: L }, [B("div", _v, we(W(n)(P.label)), 1), X(T, {
9841
+ B("div", bv, [B("div", wv, [(S(!0), O(ke, null, Oe(e.list, (P, L) => (S(), O(ke, { key: L }, [B("div", _v, we(W(n)(P.label)), 1), X(T, {
9842
9842
  size: [8, 8],
9843
9843
  wrap: "",
9844
9844
  style: { "margin-bottom": "16px" }
9845
9845
  }, {
9846
- default: J(() => [(S(!0), H(ke, null, Oe(P.children, (I) => (S(), F(k, {
9846
+ default: J(() => [(S(!0), O(ke, null, Oe(P.children, (I) => (S(), F(k, {
9847
9847
  key: I.value,
9848
9848
  onClick: (j) => u(I.value, "comp"),
9849
9849
  label: W(n)(I.label)
9850
9850
  }, null, 8, ["onClick", "label"]))), 128))]),
9851
9851
  _: 2
9852
- }, 1024)], 64))), 128))]), B("div", xv, [B("div", Cv, [B("span", Sv, we(W(n)("函数列表")), 1), B("div", kv, [(S(), H(ke, null, Oe(r, (P, L) => X(k, {
9852
+ }, 1024)], 64))), 128))]), B("div", xv, [B("div", Cv, [B("span", Sv, we(W(n)("函数列表")), 1), B("div", kv, [(S(), O(ke, null, Oe(r, (P, L) => X(k, {
9853
9853
  type: "text",
9854
9854
  style: {
9855
9855
  "border-radius": "0",
@@ -9863,7 +9863,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9863
9863
  "onMouseover",
9864
9864
  "onClick",
9865
9865
  "label"
9866
- ])), 64))])]), B("div", Rv, [B("div", null, [B("ul", null, [(S(!0), H(ke, null, Oe(c.value, (P, L) => (S(), H("li", {
9866
+ ])), 64))])]), B("div", Rv, [B("div", null, [B("ul", null, [(S(!0), O(ke, null, Oe(c.value, (P, L) => (S(), O("li", {
9867
9867
  key: L,
9868
9868
  style: { "margin-bottom": "8px" }
9869
9869
  }, [B("span", Ev, we(W(n)(P)), 1)]))), 128))])])])])])
@@ -9891,7 +9891,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9891
9891
  }
9892
9892
  },
9893
9893
  setup(e, { expose: t }) {
9894
- const n = e, a = O(() => ({ ...n })), o = z(), i = z(null), r = O(() => n.options);
9894
+ const n = e, a = H(() => ({ ...n })), o = z(), i = z(null), r = H(() => n.options);
9895
9895
  Mt(() => {
9896
9896
  n.animation && l();
9897
9897
  }), at(() => n.decimals, () => {
@@ -9926,10 +9926,10 @@ var Dp = { class: "j-table-footer" }, $p = {
9926
9926
  update: (u) => {
9927
9927
  i.value && i.value.update && i.value.update(u);
9928
9928
  }
9929
- }), (u, h) => (S(), H("span", {
9929
+ }), (u, h) => (S(), O("span", {
9930
9930
  ref_key: "el",
9931
9931
  ref: o
9932
- }, [e.animation ? ee("", !0) : (S(), H("span", jv, we(e.endValue), 1))], 512));
9932
+ }, [e.animation ? ee("", !0) : (S(), O("span", jv, we(e.endValue), 1))], 512));
9933
9933
  }
9934
9934
  }), Bv = Pv, Hv = Ce(Bv), Ov = { class: "j-block j-data-panel" }, Iv = {
9935
9935
  key: 0,
@@ -9943,7 +9943,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9943
9943
  __name: "data-panel",
9944
9944
  props: { title: { default: void 0 } },
9945
9945
  setup(e) {
9946
- return (t, n) => (S(), H("div", Ov, [e.title ? (S(), H("div", Iv, [B("div", zv, we(e.title), 1), B("div", Lv, [Ke(t.$slots, "titleRight")])])) : ee("", !0), B("div", Dv, [Ke(t.$slots, "default")])]));
9946
+ return (t, n) => (S(), O("div", Ov, [e.title ? (S(), O("div", Iv, [B("div", zv, we(e.title), 1), B("div", Lv, [Ke(t.$slots, "titleRight")])])) : ee("", !0), B("div", Dv, [Ke(t.$slots, "default")])]));
9947
9947
  }
9948
9948
  }), Fv = $v, Vv = Ce(Fv), Nv = { class: "j-divider-content" }, Wv = /* @__PURE__ */ pe({
9949
9949
  name: "JDivider",
@@ -9956,11 +9956,11 @@ var Dp = { class: "j-table-footer" }, $p = {
9956
9956
  contentPosition: { default: "center" }
9957
9957
  },
9958
9958
  setup(e) {
9959
- const t = e, n = O(() => {
9959
+ const t = e, n = H(() => {
9960
9960
  const o = { color: t.color };
9961
9961
  return t.size && Number(t.size) && (o.fontSize = `${t.size}px`), o;
9962
- }), a = O(() => ({ borderTopStyle: t.borderStyle }));
9963
- return (o, i) => (S(), H("div", {
9962
+ }), a = H(() => ({ borderTopStyle: t.borderStyle }));
9963
+ return (o, i) => (S(), O("div", {
9964
9964
  class: Ne(`j-divider-container j-divider-${e.contentPosition}`),
9965
9965
  style: le(n.value)
9966
9966
  }, [
@@ -9979,7 +9979,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9979
9979
  name: "JHpanel",
9980
9980
  __name: "hpanel",
9981
9981
  setup(e) {
9982
- return (t, n) => (S(), H("div", Jv, [
9982
+ return (t, n) => (S(), O("div", Jv, [
9983
9983
  Ke(t.$slots, "left"),
9984
9984
  B("div", Gv, [Ke(t.$slots, "default")]),
9985
9985
  Ke(t.$slots, "right")
@@ -9989,7 +9989,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9989
9989
  name: "JVpanel",
9990
9990
  __name: "vpanel",
9991
9991
  setup(e) {
9992
- return (t, n) => (S(), H("div", Zv, [
9992
+ return (t, n) => (S(), O("div", Zv, [
9993
9993
  Ke(t.$slots, "top"),
9994
9994
  B("div", Qv, [Ke(t.$slots, "default")]),
9995
9995
  Ke(t.$slots, "bottom")
@@ -10031,7 +10031,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10031
10031
  i.value = d;
10032
10032
  }, { immediate: !0 }), (d, f) => {
10033
10033
  const u = $("j-button"), h = $("j-layer");
10034
- return S(), H(ke, null, [X(u, We({ style: { width: "auto" } }, d.$attrs, {
10034
+ return S(), O(ke, null, [X(u, We({ style: { width: "auto" } }, d.$attrs, {
10035
10035
  type: e.type,
10036
10036
  label: e.btnText,
10037
10037
  size: e.size,
@@ -10082,7 +10082,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10082
10082
  },
10083
10083
  emits: ["update:modelValue", "change"],
10084
10084
  setup(e, { emit: t }) {
10085
- const n = e, a = t, o = O({
10085
+ const n = e, a = t, o = H({
10086
10086
  get: () => n.modelValue,
10087
10087
  set: (f) => {
10088
10088
  a("update:modelValue", f);
@@ -10091,7 +10091,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10091
10091
  i.value = f;
10092
10092
  }, l = () => i.value, c = (f) => n.beforeClose ? n.beforeClose(f) : !0, s = (f) => {
10093
10093
  a("change", f);
10094
- }, d = O(() => n.modelValue && n.modelValue.trim() ? `${n.btnText}(已设置)` : n.btnText);
10094
+ }, d = H(() => n.modelValue && n.modelValue.trim() ? `${n.btnText}(已设置)` : n.btnText);
10095
10095
  return (f, u) => {
10096
10096
  const h = $("j-code-mirror"), p = $("j-layout"), g = $("j-input-button");
10097
10097
  return S(), F(g, {
@@ -10211,7 +10211,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10211
10211
  "active-change"
10212
10212
  ],
10213
10213
  setup(e, { expose: t, emit: n }) {
10214
- const a = e, o = n, i = z(), r = z(), l = O({
10214
+ const a = e, o = n, i = z(), r = z(), l = H({
10215
10215
  get() {
10216
10216
  return a.modelValue === null || a.modelValue === void 0 ? r.value : a.modelValue;
10217
10217
  },
@@ -10245,7 +10245,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10245
10245
  }
10246
10246
  }), (g, b) => {
10247
10247
  const x = $("el-color-picker"), m = $("el-input");
10248
- return S(), H("div", { class: Ne([
10248
+ return S(), O("div", { class: Ne([
10249
10249
  "j-input-color",
10250
10250
  { "j-input-color-only-button": e.onlyButton },
10251
10251
  { "j-input-color-disabled": e.disabled },
@@ -10319,11 +10319,11 @@ var Dp = { class: "j-table-footer" }, $p = {
10319
10319
  align: { default: "left" }
10320
10320
  },
10321
10321
  setup(e) {
10322
- const t = e, n = O(() => t.class || ""), a = O(() => {
10322
+ const t = e, n = H(() => t.class || ""), a = H(() => {
10323
10323
  const o = { ...t.style };
10324
10324
  return t.color && (o.color = t.color), t.size && (typeof t.size == "number" ? o.fontSize = `${t.size}px` : o.fontSize = t.size), t.weight && (o.fontWeight = t.weight), t.align && (o.textAlign = t.align), o;
10325
10325
  });
10326
- return (o, i) => (S(), H("div", {
10326
+ return (o, i) => (S(), O("div", {
10327
10327
  class: Ne(["j-title", n.value]),
10328
10328
  style: le(a.value)
10329
10329
  }, we(e.title), 7));
@@ -10358,7 +10358,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10358
10358
  titleType: { default: "title1" }
10359
10359
  },
10360
10360
  setup(e) {
10361
- const { t } = yt(), n = e, a = O(() => n.class || ""), o = O(() => ({
10361
+ const { t } = yt(), n = e, a = H(() => n.class || ""), o = H(() => ({
10362
10362
  "font-size": n.size ? `${[
10363
10363
  "title5",
10364
10364
  "title7",
@@ -10367,27 +10367,27 @@ var Dp = { class: "j-table-footer" }, $p = {
10367
10367
  ].includes(n.titleType) ? 14 : n.size}px` : "",
10368
10368
  "font-weight": n.weight,
10369
10369
  color: n.color
10370
- })), i = O(() => ({
10370
+ })), i = H(() => ({
10371
10371
  "font-size": n.contentSize ? `${n.contentSize}px` : "",
10372
10372
  color: n.contentColor
10373
- })), r = O(() => ({
10373
+ })), r = H(() => ({
10374
10374
  "--el-border-style": n.titleType === "title3" ? "solid" : "dashed",
10375
10375
  borderColor: n.backgroundColor || "var(--j-color-primary)",
10376
10376
  margin: "0 !important"
10377
- })), l = O(() => n.backgroundColor || "var(--j-color-primary-hover)"), c = O(() => ({ ...n.style }));
10377
+ })), l = H(() => n.backgroundColor || "var(--j-color-primary-hover)"), c = H(() => ({ ...n.style }));
10378
10378
  return (s, d) => {
10379
10379
  const f = $("el-divider");
10380
- return S(), H("div", {
10380
+ return S(), O("div", {
10381
10381
  class: Ne(["j-decorated-title", a.value]),
10382
10382
  style: le(c.value)
10383
- }, [e.titleType === "title2" ? (S(), H(ke, { key: 0 }, [B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5), B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)], 64)) : ["title3", "title4"].includes(e.titleType || "") ? (S(), H(ke, { key: 1 }, [
10383
+ }, [e.titleType === "title2" ? (S(), O(ke, { key: 0 }, [B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5), B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)], 64)) : ["title3", "title4"].includes(e.titleType || "") ? (S(), O(ke, { key: 1 }, [
10384
10384
  B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5),
10385
10385
  X(f, {
10386
10386
  class: "m-0",
10387
10387
  style: le(r.value)
10388
10388
  }, null, 8, ["style"]),
10389
10389
  B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)
10390
- ], 64)) : e.titleType === "title5" ? (S(), H(ke, { key: 2 }, [B("div", gy, [B("div", {
10390
+ ], 64)) : e.titleType === "title5" ? (S(), O(ke, { key: 2 }, [B("div", gy, [B("div", {
10391
10391
  class: "j-decorated-title-wrapper1-title",
10392
10392
  style: le([o.value, { backgroundColor: l.value }])
10393
10393
  }, we(W(t)(e.title || "")), 5), B("div", vy, [
@@ -10411,17 +10411,17 @@ var Dp = { class: "j-table-footer" }, $p = {
10411
10411
  class: "wrapper-pm wrapper-parallelogram3",
10412
10412
  style: le({ backgroundColor: l.value })
10413
10413
  }, null, 4)
10414
- ])]), B("p", { style: le([i.value, { textAlign: "left" }]) }, we(W(t)(e.content || "")), 5)], 64)) : e.titleType === "title6" ? (S(), H("div", yy, [
10414
+ ])]), B("p", { style: le([i.value, { textAlign: "left" }]) }, we(W(t)(e.content || "")), 5)], 64)) : e.titleType === "title6" ? (S(), O("div", yy, [
10415
10415
  B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5),
10416
10416
  B("div", my, [B("div", by, [B("div", { style: le({ borderColor: l.value }) }, null, 4)]), B("div", {
10417
10417
  class: "wrapper2-triangle",
10418
10418
  style: le({ backgroundColor: l.value })
10419
10419
  }, [B("span", { style: le(o.value) }, we(W(t)(e.title || "")), 5)], 4)]),
10420
10420
  B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)
10421
- ])) : e.titleType === "title7" ? (S(), H("div", wy, [B("div", _y, [B("div", xy, [B("div", { style: le({ backgroundColor: l.value }) }, null, 4)]), B("div", {
10421
+ ])) : e.titleType === "title7" ? (S(), O("div", wy, [B("div", _y, [B("div", xy, [B("div", { style: le({ backgroundColor: l.value }) }, null, 4)]), B("div", {
10422
10422
  class: "wrapper3-triangle",
10423
10423
  style: le({ backgroundColor: l.value })
10424
- }, [B("span", { style: le(o.value) }, we(W(t)(e.title || "")), 5)], 4)]), B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : e.titleType === "title8" ? (S(), H("div", Cy, [B("div", Sy, [B("div", {
10424
+ }, [B("span", { style: le(o.value) }, we(W(t)(e.title || "")), 5)], 4)]), B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : e.titleType === "title8" ? (S(), O("div", Cy, [B("div", Sy, [B("div", {
10425
10425
  class: "wrapper4-bg",
10426
10426
  style: le({ backgroundColor: l.value })
10427
10427
  }, null, 4), B("div", ky, [
@@ -10445,7 +10445,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10445
10445
  class: "wrapper4-center-border right-border",
10446
10446
  style: le({ backgroundColor: l.value })
10447
10447
  }, null, 4)
10448
- ])]), B("div", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : e.titleType === "title9" ? (S(), H("div", Ry, [B("div", Ey, [
10448
+ ])]), B("div", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : e.titleType === "title9" ? (S(), O("div", Ry, [B("div", Ey, [
10449
10449
  B("div", Ty, [
10450
10450
  B("div", {
10451
10451
  class: "wrapper5-triangle wrapper5-left-triangle",
@@ -10488,7 +10488,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10488
10488
  style: le({ borderColor: l.value })
10489
10489
  }, null, 4)
10490
10490
  ])
10491
- ]), B("div", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : (S(), H("span", {
10491
+ ]), B("div", { style: le(i.value) }, we(W(t)(e.content || "")), 5)])) : (S(), O("span", {
10492
10492
  key: 7,
10493
10493
  style: le(o.value)
10494
10494
  }, we(W(t)(e.title || "")), 5))], 6);
@@ -10516,7 +10516,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10516
10516
  };
10517
10517
  return (s, d) => {
10518
10518
  const f = $("j-decorated-title"), u = $("j-icon"), h = $("el-popover");
10519
- return S(), H("div", By, [X(h, {
10519
+ return S(), O("div", By, [X(h, {
10520
10520
  width: 270,
10521
10521
  placement: "top-start",
10522
10522
  trigger: "click",
@@ -10548,7 +10548,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10548
10548
  icon: r.value,
10549
10549
  size: 20
10550
10550
  }, null, 8, ["icon"])])]),
10551
- default: J(() => [(S(), H(ke, null, Oe(8, (p) => B("div", {
10551
+ default: J(() => [(S(), O(ke, null, Oe(8, (p) => B("div", {
10552
10552
  class: "j-input-decorated-title-wrapper",
10553
10553
  key: p
10554
10554
  }, [X(f, {
@@ -10764,7 +10764,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10764
10764
  }), p.observe(i.value));
10765
10765
  }), Po(() => {
10766
10766
  p && i.value && (p.unobserve(i.value), p.disconnect(), p = null), l && (l.destroy(), l = null);
10767
- }), t({ sqlFormatter: h }), (g, b) => (S(), H("div", {
10767
+ }), t({ sqlFormatter: h }), (g, b) => (S(), O("div", {
10768
10768
  ref_key: "codeWraperRef",
10769
10769
  ref: i,
10770
10770
  class: "j-code-mirror",
@@ -10779,7 +10779,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10779
10779
  toLeft: { type: Boolean }
10780
10780
  },
10781
10781
  setup(e, { expose: t }) {
10782
- const n = e, a = ka("actionRef"), o = z("0"), i = O(() => {
10782
+ const n = e, a = ka("actionRef"), o = z("0"), i = H(() => {
10783
10783
  const { actionStyle: l, toLeft: c } = n;
10784
10784
  return {
10785
10785
  ...l,
@@ -10788,7 +10788,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10788
10788
  borderRadius: r.value ? "6px" : void 0,
10789
10789
  transition: c ? "all 300ms cubic-bezier(0.4, 0, 0.2, 1)" : void 0
10790
10790
  };
10791
- }), r = O(() => Number.parseInt(o.value) > 10 && !n.isPassing);
10791
+ }), r = H(() => Number.parseInt(o.value) > 10 && !n.isPassing);
10792
10792
  return t({
10793
10793
  getEl: () => a.value,
10794
10794
  getStyle: () => a?.value?.style,
@@ -10797,7 +10797,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10797
10797
  }
10798
10798
  }), (l, c) => {
10799
10799
  const s = $("j-icon");
10800
- return S(), H("div", {
10800
+ return S(), O("div", {
10801
10801
  ref_key: "actionRef",
10802
10802
  ref: a,
10803
10803
  style: le(i.value),
@@ -10823,7 +10823,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10823
10823
  toLeft: { type: Boolean }
10824
10824
  },
10825
10825
  setup(e, { expose: t }) {
10826
- const n = e, a = ka("barRef"), o = z("0"), i = O(() => {
10826
+ const n = e, a = ka("barRef"), o = z("0"), i = H(() => {
10827
10827
  const { barStyle: r, toLeft: l } = n;
10828
10828
  return {
10829
10829
  ...r,
@@ -10839,7 +10839,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10839
10839
  setWidth: (r) => {
10840
10840
  o.value = r;
10841
10841
  }
10842
- }), (r, l) => (S(), H("div", {
10842
+ }), (r, l) => (S(), O("div", {
10843
10843
  ref_key: "barRef",
10844
10844
  ref: a,
10845
10845
  style: le(i.value)
@@ -10866,7 +10866,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10866
10866
  }
10867
10867
  },
10868
10868
  setup(e, { expose: t }) {
10869
- const n = e, a = ka("contentRef"), o = O(() => {
10869
+ const n = e, a = ka("contentRef"), o = H(() => {
10870
10870
  const { contentStyle: r } = n;
10871
10871
  return {
10872
10872
  ...r,
@@ -10874,8 +10874,8 @@ var Dp = { class: "j-table-footer" }, $p = {
10874
10874
  };
10875
10875
  });
10876
10876
  t({ getEl: () => a.value });
10877
- const i = O(() => ({ animation: `shine ${n.animationDuration}s linear ${n.animationIterationCount}` }));
10878
- return (r, l) => (S(), H("div", {
10877
+ const i = H(() => ({ animation: `shine ${n.animationDuration}s linear ${n.animationIterationCount}` }));
10878
+ return (r, l) => (S(), O("div", {
10879
10879
  ref_key: "contentRef",
10880
10880
  ref: a,
10881
10881
  class: Ne([{ success: e.isPassing }, "j-slider-captcha-content"]),
@@ -10976,7 +10976,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10976
10976
  i.toLeft = !1, x.setLeft("0"), m.setWidth("0");
10977
10977
  }, 300));
10978
10978
  }
10979
- return (x, m) => (S(), H("div", {
10979
+ return (x, m) => (S(), O("div", {
10980
10980
  ref_key: "wrapperRef",
10981
10981
  ref: r,
10982
10982
  class: Ne(["j-slider-captcha slider-border", n.class]),
@@ -11026,13 +11026,13 @@ var Dp = { class: "j-table-footer" }, $p = {
11026
11026
  const g = s.value.find((b) => b.active);
11027
11027
  g?.value !== p.value && (g && (g.active = !1), a("click", p));
11028
11028
  }, { list: f, containerProps: u, wrapperProps: h } = zr(s, { itemHeight: 44 });
11029
- return (p, g) => (S(), H("div", We({
11029
+ return (p, g) => (S(), O("div", We({
11030
11030
  class: ["j-sub-menu-content", { "j-menu-dark": W(l) === "dark" }],
11031
11031
  style: {
11032
11032
  "max-height": "calc(100vh - 80px)",
11033
11033
  "border-radius": "8px"
11034
11034
  }
11035
- }, W(u)), [B("div", ta(Mo(W(h))), [(S(!0), H(ke, null, Oe(W(f), (b) => (S(), F(Li, {
11035
+ }, W(u)), [B("div", ta(Mo(W(h))), [(S(!0), O(ke, null, Oe(W(f), (b) => (S(), F(Li, {
11036
11036
  key: b.data.value,
11037
11037
  "parent-actives": W(r)?.pid?.split(".") || [],
11038
11038
  item: b.data,
@@ -11089,7 +11089,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11089
11089
  size: 18
11090
11090
  }, null, 8, ["icon"])) : ee("", !0),
11091
11091
  B("div", Zy, we(W(n)(e.item.label)), 1),
11092
- e.item.hasChildren ? (S(), H("div", {
11092
+ e.item.hasChildren ? (S(), O("div", {
11093
11093
  key: 1,
11094
11094
  class: Ne(["j-menu-item-arrow", { open: e.item.open }])
11095
11095
  }, null, 2)) : ee("", !0)
@@ -11120,14 +11120,14 @@ var Dp = { class: "j-table-footer" }, $p = {
11120
11120
  size: 18
11121
11121
  }, null, 8, ["icon", "style"])) : ee("", !0),
11122
11122
  B("div", Qy, we(W(n)(e.item.label)), 1),
11123
- e.item.hasChildren && !e.isHorizontal && !e.isVertical ? (S(), H("div", em)) : ee("", !0)
11123
+ e.item.hasChildren && !e.isHorizontal && !e.isVertical ? (S(), O("div", em)) : ee("", !0)
11124
11124
  ], 6)], 2)]),
11125
11125
  default: J(() => [X(Xy, {
11126
11126
  "p-id": e.item.value,
11127
11127
  onClick: i
11128
11128
  }, null, 8, ["p-id"])]),
11129
11129
  _: 1
11130
- }, 8, ["placement"])) : (S(), H("div", {
11130
+ }, 8, ["placement"])) : (S(), O("div", {
11131
11131
  key: 2,
11132
11132
  class: Ne(["j-menu-item", {
11133
11133
  collapsed: e.collapsed,
@@ -11152,7 +11152,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11152
11152
  size: 18
11153
11153
  }, null, 8, ["icon", "style"])) : ee("", !0),
11154
11154
  B("div", tm, we(W(n)(e.item.label)), 1),
11155
- e.item.hasChildren ? (S(), H("div", {
11155
+ e.item.hasChildren ? (S(), O("div", {
11156
11156
  key: 1,
11157
11157
  class: Ne(["j-menu-item-arrow", { open: e.item.open }])
11158
11158
  }, null, 2)) : ee("", !0)
@@ -11173,11 +11173,11 @@ var Dp = { class: "j-table-footer" }, $p = {
11173
11173
  setup(e, { emit: t }) {
11174
11174
  const n = e, a = t, { activeMenu: o, theme: i } = Oo(), r = (d) => {
11175
11175
  a("click", d);
11176
- }, { list: l, containerProps: c, wrapperProps: s } = zr(O(() => n.menuList), { itemHeight: 44 });
11177
- return (d, f) => (S(), H("div", We({ class: ["j-menu", {
11176
+ }, { list: l, containerProps: c, wrapperProps: s } = zr(H(() => n.menuList), { itemHeight: 44 });
11177
+ return (d, f) => (S(), O("div", We({ class: ["j-menu", {
11178
11178
  collapsed: e.collapsed,
11179
11179
  "j-menu-dark": W(i) === "dark"
11180
- }] }, W(c)), [B("div", ta(Mo(W(s))), [(S(!0), H(ke, null, Oe(W(l), (u) => (S(), F(Li, {
11180
+ }] }, W(c)), [B("div", ta(Mo(W(s))), [(S(!0), O(ke, null, Oe(W(l), (u) => (S(), F(Li, {
11181
11181
  key: u.data.value,
11182
11182
  "parent-actives": W(o)?.pid?.split(".") || [],
11183
11183
  item: u.data,
@@ -11210,7 +11210,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11210
11210
  r.value && (l.value = r.value.offsetWidth);
11211
11211
  }), c.observe(r.value));
11212
11212
  });
11213
- const s = O(() => {
11213
+ const s = H(() => {
11214
11214
  const h = [];
11215
11215
  let p = 0, g = 0;
11216
11216
  const b = n.menuList.length;
@@ -11227,14 +11227,14 @@ var Dp = { class: "j-table-footer" }, $p = {
11227
11227
  open: !1,
11228
11228
  active: !1
11229
11229
  }), h;
11230
- }), d = O(() => {
11230
+ }), d = H(() => {
11231
11231
  const h = [];
11232
11232
  let p = 0;
11233
11233
  const g = s.value.length;
11234
11234
  return n.menuList.forEach((b) => {
11235
11235
  p++, p >= g && h.push(b);
11236
11236
  }), h;
11237
- }), f = O(() => {
11237
+ }), f = H(() => {
11238
11238
  const h = o.value?.pid?.split(".") || [];
11239
11239
  return (h.length > 1 && d.value.findIndex((p) => p.value === h[1]) > -1 || d.value.findIndex((p) => p.value === o.value?.value) > -1) && h.push("moreId"), h;
11240
11240
  }), u = (h) => {
@@ -11242,11 +11242,11 @@ var Dp = { class: "j-table-footer" }, $p = {
11242
11242
  };
11243
11243
  return _h({ getHMoreMenus: d }), Po(() => {
11244
11244
  c && r.value && (c.unobserve(r.value), c.disconnect(), c = null);
11245
- }), (h, p) => (S(), H("div", {
11245
+ }), (h, p) => (S(), O("div", {
11246
11246
  ref_key: "menuRef",
11247
11247
  ref: r,
11248
11248
  class: Ne(["j-menu-horizontal", { "j-menu-dark": W(i) === "dark" }])
11249
- }, [(S(!0), H(ke, null, Oe(s.value, (g) => (S(), F(Li, {
11249
+ }, [(S(!0), O(ke, null, Oe(s.value, (g) => (S(), F(Li, {
11250
11250
  key: g.value,
11251
11251
  "parent-actives": f.value,
11252
11252
  item: g,
@@ -11270,12 +11270,12 @@ var Dp = { class: "j-table-footer" }, $p = {
11270
11270
  "var(--j-color-error)",
11271
11271
  "#16c2c0",
11272
11272
  "#9154de"
11273
- ], l = O(() => (n.menuList.forEach((h, p) => {
11273
+ ], l = H(() => (n.menuList.forEach((h, p) => {
11274
11274
  h.color = r[p % r.length];
11275
- }), n.menuList)), c = O(() => o.value?.pid?.split(".") || []), s = (h) => {
11275
+ }), n.menuList)), c = H(() => o.value?.pid?.split(".") || []), s = (h) => {
11276
11276
  a("click", h);
11277
11277
  }, { list: d, containerProps: f, wrapperProps: u } = zr(l, { itemHeight: 96 });
11278
- return (h, p) => (S(), H("div", We({ class: ["j-menu-vertical", { "j-menu-dark": W(i) === "dark" }] }, W(f)), [B("div", ta(Mo(W(u))), [(S(!0), H(ke, null, Oe(W(d), (g) => (S(), F(Li, {
11278
+ return (h, p) => (S(), O("div", We({ class: ["j-menu-vertical", { "j-menu-dark": W(i) === "dark" }] }, W(f)), [B("div", ta(Mo(W(u))), [(S(!0), O(ke, null, Oe(W(d), (g) => (S(), F(Li, {
11279
11279
  key: g.data.value,
11280
11280
  "parent-actives": c.value,
11281
11281
  item: g.data,
@@ -11348,7 +11348,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11348
11348
  n.mode === "inline" && b.push(...g.pid.split(".")), c.value = l(n.menus, b);
11349
11349
  }
11350
11350
  }
11351
- }, u = O(() => s.find((g) => g.value === i.value));
11351
+ }, u = H(() => s.find((g) => g.value === i.value));
11352
11352
  at(() => n.activeId, () => {
11353
11353
  i.value = n.activeId || "", f();
11354
11354
  }), at(() => n.collapsed, () => {
@@ -11362,7 +11362,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11362
11362
  c.value = l(n.menus, g);
11363
11363
  }
11364
11364
  });
11365
- const h = O(() => n.theme), p = (g) => {
11365
+ const h = H(() => n.theme), p = (g) => {
11366
11366
  if (console.log(g), g.hasChildren) {
11367
11367
  if (n.collapsed) return;
11368
11368
  const b = [];
@@ -11420,7 +11420,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11420
11420
  }),
11421
11421
  emits: ["update:checkAll", "update:checkFields"],
11422
11422
  setup(e, { expose: t }) {
11423
- const { t: n } = yt(), a = e, o = To(e, "checkAll"), i = To(e, "checkFields"), r = z(!1), l = z(""), c = O(() => a.columns.filter((u) => u.config?.filter?.isSearchKeyword ? l.value ? u.config?.label?.indexOf(l.value) != -1 : !0 : !1).map((u) => ({
11423
+ const { t: n } = yt(), a = e, o = To(e, "checkAll"), i = To(e, "checkFields"), r = z(!1), l = z(""), c = H(() => a.columns.filter((u) => u.config?.filter?.isSearchKeyword ? l.value ? u.config?.label?.indexOf(l.value) != -1 : !0 : !1).map((u) => ({
11424
11424
  label: u.config?.label,
11425
11425
  value: u.id
11426
11426
  }))), s = () => {
@@ -11432,7 +11432,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11432
11432
  o.value ? r.value = !1 : r.value = !0;
11433
11433
  } }), (u, h) => {
11434
11434
  const p = $("j-icon"), g = $("el-input"), b = $("j-checkbox");
11435
- return S(), H("div", fm, [
11435
+ return S(), O("div", fm, [
11436
11436
  B("div", {
11437
11437
  class: Ne(["range-item", { active: o.value }]),
11438
11438
  onClick: s
@@ -11444,7 +11444,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11444
11444
  class: "range-item",
11445
11445
  onClick: h[0] || (h[0] = (x) => r.value = !r.value)
11446
11446
  }, [B("div", null, we(W(n)("搜索特定字段")), 1), X(p, { icon: r.value ? "mdi:keyboard-arrow-up" : "mdi:keyboard-arrow-down" }, null, 8, ["icon"])]),
11447
- r.value ? (S(), H("div", hm, [X(g, {
11447
+ r.value ? (S(), O("div", hm, [X(g, {
11448
11448
  modelValue: l.value,
11449
11449
  "onUpdate:modelValue": h[1] || (h[1] = (x) => l.value = x),
11450
11450
  modelModifiers: { trim: !0 },
@@ -11455,7 +11455,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11455
11455
  prefix: J(() => [X(p, { icon: "mdi:search" })]),
11456
11456
  _: 1
11457
11457
  }, 8, ["modelValue", "placeholder"])])) : ee("", !0),
11458
- r.value ? (S(), H("div", pm, [X(b, {
11458
+ r.value ? (S(), O("div", pm, [X(b, {
11459
11459
  modelValue: i.value,
11460
11460
  "onUpdate:modelValue": h[2] || (h[2] = (x) => i.value = x),
11461
11461
  options: c.value,
@@ -11766,12 +11766,12 @@ var Dp = { class: "j-table-footer" }, $p = {
11766
11766
  Mt(() => {
11767
11767
  l.value = o.searchFieldList;
11768
11768
  });
11769
- const d = O(() => o.columns.filter((m) => !m.children?.length && !m.config?.isNotFilter).map((m) => ({
11769
+ const d = H(() => o.columns.filter((m) => !m.children?.length && !m.config?.isNotFilter).map((m) => ({
11770
11770
  label: m.config?.label,
11771
11771
  value: m.id,
11772
11772
  dataType: m.config?.dataType,
11773
11773
  options: m.config?.options
11774
- }))), f = O(() => l.value.map((m) => m.field)), u = ({ data: m }) => {
11774
+ }))), f = H(() => l.value.map((m) => m.field)), u = ({ data: m }) => {
11775
11775
  if (f.value.includes(m.value)) return;
11776
11776
  const v = o.columns.find((y) => y.id === m.value)?.config || {};
11777
11777
  let w = "eq", C = "text";
@@ -11791,8 +11791,8 @@ var Dp = { class: "j-table-footer" }, $p = {
11791
11791
  };
11792
11792
  return t({ getSearchFields: () => l.value }), (m, v) => {
11793
11793
  const w = $("j-icon"), C = $("j-select"), y = $("j-button-select"), _ = $("j-button"), k = $("j-input-rows"), R = $("el-tooltip");
11794
- return S(), H("div", { class: Ne(["j-filter-panel", { "is-pin": r.value }]) }, [
11795
- r.value ? (S(), H("div", ym, [X(w, { icon: "mdi:filter-outline" }), B("div", null, we(W(a)("筛选")), 1)])) : ee("", !0),
11794
+ return S(), O("div", { class: Ne(["j-filter-panel", { "is-pin": r.value }]) }, [
11795
+ r.value ? (S(), O("div", ym, [X(w, { icon: "mdi:filter-outline" }), B("div", null, we(W(a)("筛选")), 1)])) : ee("", !0),
11796
11796
  B("div", mm, [
11797
11797
  B("div", bm, [
11798
11798
  B("div", null, we(W(a)("筛选出符合以下")), 1),
@@ -11866,10 +11866,10 @@ var Dp = { class: "j-table-footer" }, $p = {
11866
11866
  } },
11867
11867
  emits: ["save", "clear"],
11868
11868
  setup(e, { expose: t, emit: n }) {
11869
- const { t: a } = yt(), o = e, i = n, r = O(() => o.columns.filter((p) => !p.children?.length && p.config?.sorter?.isNot !== !0).map((p) => ({
11869
+ const { t: a } = yt(), o = e, i = n, r = H(() => o.columns.filter((p) => !p.children?.length && p.config?.sorter?.isNot !== !0).map((p) => ({
11870
11870
  label: p.config?.label,
11871
11871
  value: p.id
11872
- }))), l = z([]), c = O(() => l.value.map((p) => p.value)), s = [{
11872
+ }))), l = z([]), c = H(() => l.value.map((p) => p.value)), s = [{
11873
11873
  id: "label",
11874
11874
  type: "j-title",
11875
11875
  getCompConfig: ({ row: p }) => ({ title: p?.label }),
@@ -11903,7 +11903,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11903
11903
  };
11904
11904
  return t({ init: f }), (p, g) => {
11905
11905
  const b = $("j-button-select"), x = $("j-input-rows"), m = $("j-button");
11906
- return S(), H("div", km, [B("div", Rm, [B("div", Em, [X(b, {
11906
+ return S(), O("div", km, [B("div", Rm, [B("div", Em, [X(b, {
11907
11907
  label: "添加排序规则",
11908
11908
  options: r.value,
11909
11909
  "model-value": c.value.join(","),
@@ -11976,11 +11976,11 @@ var Dp = { class: "j-table-footer" }, $p = {
11976
11976
  ...k,
11977
11977
  children: T.length > 0 ? T : k.children
11978
11978
  } : null;
11979
- }).filter(Boolean), h = O(() => {
11979
+ }).filter(Boolean), h = H(() => {
11980
11980
  if (!l.value) return d.value;
11981
11981
  const y = l.value.split(/\s+/).filter(Boolean);
11982
11982
  return u(d.value, y);
11983
- }), p = z([]), g = O(() => {
11983
+ }), p = z([]), g = H(() => {
11984
11984
  const y = /* @__PURE__ */ new Map();
11985
11985
  if (o.columnConfig && o.columnConfig.length > 0) {
11986
11986
  const _ = (k) => {
@@ -12028,7 +12028,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12028
12028
  b(), s.value = f(o.columns, o.columnConfig), d.value = JSON.parse(JSON.stringify(s.value));
12029
12029
  } }), (y, _) => {
12030
12030
  const k = $("j-icon"), R = $("el-input"), T = $("j-tree"), A = $("j-button");
12031
- return S(), H("div", Pm, [B("div", Bm, [B("div", Hm, [X(R, {
12031
+ return S(), O("div", Pm, [B("div", Bm, [B("div", Hm, [X(R, {
12032
12032
  modelValue: l.value,
12033
12033
  "onUpdate:modelValue": _[0] || (_[0] = (P) => l.value = P),
12034
12034
  modelModifiers: { trim: !0 },
@@ -12200,7 +12200,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12200
12200
  i.isMultiple && !i.rowKey && console.warn("rowKey is required when isMultiple is true");
12201
12201
  const l = z();
12202
12202
  let c = [];
12203
- const s = z(0), d = z(1), f = z(i.pageSize || 100), u = z(0), h = O(() => u.value > 0), p = z([]), g = z(!1), b = O(() => i.batchButtons && i.batchButtons.length > 0), x = O(() => p.value.length > 0), m = O(() => b.value && x.value && i.isMultiple || g.value), v = O(() => i.isPage && !m.value);
12203
+ const s = z(0), d = z(1), f = z(i.pageSize || 100), u = z(0), h = H(() => u.value > 0), p = z([]), g = z(!1), b = H(() => i.batchButtons && i.batchButtons.length > 0), x = H(() => p.value.length > 0), m = H(() => b.value && x.value && i.isMultiple || g.value), v = H(() => i.isPage && !m.value);
12204
12204
  b.value && !i.isMultiple && console.warn("batchButtons is only valid when isMultiple is true");
12205
12205
  const w = (be) => i.rowKey ? i.rowKey.split(",").map((Re) => be[Re.trim()]).join("::") : "", C = (be, Re) => {
12206
12206
  if (!Re || Re.length === 0) return be.filter((xe) => xe.config?.display !== !1).map((xe) => xe.children && xe.children.length > 0 ? {
@@ -12229,7 +12229,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12229
12229
  }), Ot.push(St);
12230
12230
  }
12231
12231
  }), Ot;
12232
- }, y = O(() => C(i.columns, Ye.value)), _ = O(() => Nf(i.columns, (be) => be.config.label)), k = z(""), R = O(() => _.value.some((be) => be.config?.filter?.isSearchKeyword)), T = z(), A = z(!0), P = z([]), L = O(() => A.value ? "搜索全部" : `搜索范围:${_.value.filter((be) => P.value.includes(be.id)).map((be) => be.config?.label).join("、")}`), I = () => {
12232
+ }, y = H(() => C(i.columns, Ye.value)), _ = H(() => Nf(i.columns, (be) => be.config.label)), k = z(""), R = H(() => _.value.some((be) => be.config?.filter?.isSearchKeyword)), T = z(), A = z(!0), P = z([]), L = H(() => A.value ? "搜索全部" : `搜索范围:${_.value.filter((be) => P.value.includes(be.id)).map((be) => be.config?.label).join("、")}`), I = () => {
12233
12233
  T.value.init();
12234
12234
  }, j = z(), E = z(!1), V = z(!1), q = z(!1), se = z([]), ve = z("and"), U = z(), G = z(!1), Q = z([]), M = () => {
12235
12235
  U.value.init(Q.value);
@@ -12237,7 +12237,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12237
12237
  Q.value = be, G.value = !1, ce();
12238
12238
  }, Te = () => {
12239
12239
  Q.value = [], ce();
12240
- }, me = z(), Ve = z(!1), Ye = z(), ne = O(() => Ye.value != null), Ee = () => {
12240
+ }, me = z(), Ve = z(!1), Ye = z(), ne = H(() => Ye.value != null), Ee = () => {
12241
12241
  me.value?.init();
12242
12242
  }, Be = (be) => {
12243
12243
  Ye.value = be, Ve.value = !1;
@@ -12247,7 +12247,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12247
12247
  p.value = [], l.value && (l.value.setSelection?.([]), g.value && (g.value = !1, l.value.setRecords(c)));
12248
12248
  }, Xe = () => {
12249
12249
  g.value = !g.value, g.value ? l.value?.setRecords(p.value) : l.value?.setRecords(c), l.value?.setSelection?.(p.value);
12250
- }, Kt = O(() => {
12250
+ }, Kt = H(() => {
12251
12251
  if (p.value.length > 0 && i.isMultiple) {
12252
12252
  const be = [
12253
12253
  {
@@ -12279,7 +12279,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12279
12279
  return [...be, ...Re];
12280
12280
  }
12281
12281
  return i.buttons;
12282
- }), ln = O(() => Kt.value.filter((be) => be.config?.display !== !1)), qt = z(null), Bt = z(0), Ht = () => {
12282
+ }), ln = H(() => Kt.value.filter((be) => be.config?.display !== !1)), qt = z(null), Bt = z(0), Ht = () => {
12283
12283
  Bt.value = qt.value?.clientWidth || 0;
12284
12284
  };
12285
12285
  let ut;
@@ -12294,7 +12294,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12294
12294
  }, { deep: !0 }), at(Ie, () => {
12295
12295
  zt(Ht);
12296
12296
  });
12297
- const Nt = O(() => {
12297
+ const Nt = H(() => {
12298
12298
  const be = ln.value;
12299
12299
  if (be.length === 0) return [];
12300
12300
  const Re = Bt.value;
@@ -12444,7 +12444,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12444
12444
  getTableRef: $a
12445
12445
  }), (be, Re) => {
12446
12446
  const gt = $("j-buttons"), Ot = $("j-icon"), xe = $("el-popover"), St = $("el-tooltip"), Wt = $("el-input"), wt = $("j-button"), Yt = $("el-pagination"), Ln = $("j-table"), vt = Bo("loading");
12447
- return S(), H("div", { class: Ne(["j-table-panel-wrapper", {
12447
+ return S(), O("div", { class: Ne(["j-table-panel-wrapper", {
12448
12448
  fullscreen: Ie.value,
12449
12449
  "no-padding": e.noPadding || Ie.value
12450
12450
  }]) }, [B("div", { class: Ne(["j-table-panel", { "j-table-panel-fullscreen": Ie.value }]) }, [B("div", Dm, [B("div", $m, [B("div", {
@@ -12452,7 +12452,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12452
12452
  ref: qt,
12453
12453
  class: "j-table-panel-top-left"
12454
12454
  }, [X(gt, { list: Nt.value }, null, 8, ["list"])], 512), B("div", Fm, [
12455
- R.value && !m.value ? (S(), H("div", Vm, [X(Wt, {
12455
+ R.value && !m.value ? (S(), O("div", Vm, [X(Wt, {
12456
12456
  modelValue: k.value,
12457
12457
  "onUpdate:modelValue": Re[2] || (Re[2] = (Le) => k.value = Le),
12458
12458
  modelModifiers: { trim: !0 },
@@ -12619,17 +12619,17 @@ var Dp = { class: "j-table-footer" }, $p = {
12619
12619
  }, null, 8, ["icon"])]),
12620
12620
  _: 1
12621
12621
  }, 8, ["content"])) : ee("", !0)
12622
- ])]), $n((S(), H("div", Nm, [e.renderVNode ? (S(), H("div", {
12622
+ ])]), $n((S(), O("div", Nm, [e.renderVNode ? (S(), O("div", {
12623
12623
  key: 0,
12624
12624
  class: Ne([
12625
12625
  "j-block",
12626
12626
  "j-table-panel-vnode",
12627
12627
  e.renderVNodeClass
12628
12628
  ])
12629
- }, [B("div", Wm, [(S(!0), H(ke, null, Oe(W(c), (Le, Rn) => (S(), F(Ta(e.renderVNode(Le)), {
12629
+ }, [B("div", Wm, [(S(!0), O(ke, null, Oe(W(c), (Le, Rn) => (S(), F(Ta(e.renderVNode(Le)), {
12630
12630
  key: e.rowKey ? w(Le) : Rn,
12631
12631
  onClick: (Dt) => kn(Le)
12632
- }, null, 8, ["onClick"]))), 128))]), e.isPage ? (S(), H("div", Um, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12632
+ }, null, 8, ["onClick"]))), 128))]), e.isPage ? (S(), O("div", Um, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12633
12633
  "current-page": d.value,
12634
12634
  "onUpdate:currentPage": Re[9] || (Re[9] = (Le) => d.value = Le),
12635
12635
  "page-size": f.value,
@@ -12705,7 +12705,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12705
12705
  "action-filter",
12706
12706
  "highlight-mode",
12707
12707
  "load-children"
12708
- ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), H("div", Ym, [X(Ul, {
12708
+ ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), O("div", Ym, [X(Ul, {
12709
12709
  ref_key: "filterPanelRef",
12710
12710
  ref: j,
12711
12711
  "is-pin": E.value,
@@ -12734,7 +12734,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12734
12734
  },
12735
12735
  emits: ["update:modelValue", "change"],
12736
12736
  setup(e, { emit: t }) {
12737
- const n = e, a = t, { t: o } = yt(), i = z(""), r = O(() => i.value === "" ? n.options : n.options.filter((s) => (s.label || "").includes(i.value))), l = O(() => n.modelValue ? (n.modelValue + "").split(",").filter(Boolean) : []), c = (s) => {
12737
+ const n = e, a = t, { t: o } = yt(), i = z(""), r = H(() => i.value === "" ? n.options : n.options.filter((s) => (s.label || "").includes(i.value))), l = H(() => n.modelValue ? (n.modelValue + "").split(",").filter(Boolean) : []), c = (s) => {
12738
12738
  if (s.disabled || l.value.includes(s.value)) return;
12739
12739
  const d = [...l.value, s.value].join(",");
12740
12740
  a("update:modelValue", d), a("change", {
@@ -12773,7 +12773,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12773
12773
  }, {
12774
12774
  prefix: J(() => [X(u, { icon: "mdi:search" })]),
12775
12775
  _: 1
12776
- }, 8, ["modelValue", "placeholder"])]), B("div", Xm, [(S(!0), H(ke, null, Oe(r.value, (g) => (S(), H("div", {
12776
+ }, 8, ["modelValue", "placeholder"])]), B("div", Xm, [(S(!0), O(ke, null, Oe(r.value, (g) => (S(), O("div", {
12777
12777
  key: g.value,
12778
12778
  class: Ne(["option-item", { active: l.value.includes(g.value) || g.disabled }]),
12779
12779
  onClick: Ft((b) => c(g), ["stop"])
@@ -12897,7 +12897,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12897
12897
  children: "children",
12898
12898
  label: "label",
12899
12899
  disabled: "disabled"
12900
- }, p = O(() => l ? l({ config: a }) || [] : []), g = O(() => a.dataCode || a.dataType ? p.value : a.list ? W(a.list) : u.value), b = async () => {
12900
+ }, p = H(() => l ? l({ config: a }) || [] : []), g = H(() => a.dataCode || a.dataType ? p.value : a.list ? W(a.list) : u.value), b = async () => {
12901
12901
  d.value = !0, a.loadData && (u.value = await a.loadData() || []), c && await c({
12902
12902
  type: "j-tree",
12903
12903
  config: a
@@ -12949,7 +12949,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12949
12949
  getCheck: w
12950
12950
  }), (I, j) => {
12951
12951
  const E = $("j-icon"), V = $("j-button"), q = $("el-dropdown-item"), se = $("el-dropdown-menu"), ve = $("el-dropdown"), U = $("el-tree"), G = $("el-empty"), Q = Bo("loading");
12952
- return $n((S(), H("div", {
12952
+ return $n((S(), O("div", {
12953
12953
  class: Ne([
12954
12954
  "j-block",
12955
12955
  "j-tree",
@@ -12995,13 +12995,13 @@ var Dp = { class: "j-table-footer" }, $p = {
12995
12995
  color: M.data[e.iconColorKey] || e.defaultIconColor || ""
12996
12996
  }, null, 8, ["icon", "color"])) : ee("", !0),
12997
12997
  B("div", nb, we(M.label), 1),
12998
- k(M.data).length ? (S(), H("div", ab, [(S(!0), H(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12998
+ k(M.data).length ? (S(), O("div", ab, [(S(!0), O(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12999
12999
  key: Te,
13000
13000
  trigger: "click",
13001
13001
  onVisibleChange: (me) => P(me, M.data)
13002
13002
  }, {
13003
13003
  dropdown: J(() => [X(se, null, {
13004
- default: J(() => [(S(!0), H(ke, null, Oe(ue.children, (me, Ve) => (S(), F(q, {
13004
+ default: J(() => [(S(!0), O(ke, null, Oe(ue.children, (me, Ve) => (S(), F(q, {
13005
13005
  key: Ve,
13006
13006
  disabled: me.disabled,
13007
13007
  divided: me.divided,
@@ -13043,7 +13043,7 @@ var Dp = { class: "j-table-footer" }, $p = {
13043
13043
  "render-after-expand",
13044
13044
  "draggable",
13045
13045
  "expand-on-click-node"
13046
- ])) : (S(), H("div", ob, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13046
+ ])) : (S(), O("div", ob, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13047
13047
  };
13048
13048
  }
13049
13049
  }), rb = ib, lb = Ce(rb), sb = /* @__PURE__ */ pe({
@@ -13088,10 +13088,10 @@ var Dp = { class: "j-table-footer" }, $p = {
13088
13088
  },
13089
13089
  emits: ["update:modelValue", "change"],
13090
13090
  setup(e, { emit: t }) {
13091
- const n = e, { useData: a } = yt(), { getDataByComp: o } = a(), i = O(() => o ? o({
13091
+ const n = e, { useData: a } = yt(), { getDataByComp: o } = a(), i = H(() => o ? o({
13092
13092
  type: "j-tree-select",
13093
13093
  config: n
13094
- }) || [] : []), r = O(() => n.options ? n.options : n.dataCode || n.dataType ? i.value : []), l = t, c = O({
13094
+ }) || [] : []), r = H(() => n.options ? n.options : n.dataCode || n.dataType ? i.value : []), l = t, c = H({
13095
13095
  get() {
13096
13096
  return n.modelValue;
13097
13097
  },
@@ -13238,7 +13238,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13238
13238
  i && (p = i());
13239
13239
  const g = (K) => {
13240
13240
  f && f(K);
13241
- }, b = z(!1), x = O(() => a.config?.gutter || 16), m = O(() => a.config?.span || 24), v = O(() => a.config?.labelWidth), w = O(() => a.config?.labelPosition || "right"), C = O(() => k.length === 1 && (k[0].type === "j-tabs" || k[0].type === "j-layout" || k[0].config?.isAutoWindow)), y = aa({}), _ = z({}), k = [], R = {};
13241
+ }, b = z(!1), x = H(() => a.config?.gutter || 16), m = H(() => a.config?.span || 24), v = H(() => a.config?.labelWidth), w = H(() => a.config?.labelPosition || "right"), C = H(() => k.length === 1 && (k[0].type === "j-tabs" || k[0].type === "j-layout" || k[0].config?.isAutoWindow)), y = aa({}), _ = z({}), k = [], R = {};
13242
13242
  let T = {}, A = {}, P = [], L = {};
13243
13243
  const I = async (K) => {
13244
13244
  b.value && V && (K.getTableData || Il(V, K.id, K.formData[K.id])), o("change", K), R[K.id]?.config?.codeChange && await Nt(JSON.parse(R[K.id]?.config?.codeChange), { param: K }), a.config?.codeChange && await Nt(JSON.parse(a.config?.codeChange), { param: K });
@@ -13563,7 +13563,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13563
13563
  key: 1,
13564
13564
  gutter: x.value
13565
13565
  }, {
13566
- default: J(() => [(S(), H(ke, null, Oe(k, (Me) => X(ae, We({ key: Me.id }, { ref_for: !0 }, Me), null, 16)), 64))]),
13566
+ default: J(() => [(S(), O(ke, null, Oe(k, (Me) => X(ae, We({ key: Me.id }, { ref_for: !0 }, Me), null, 16)), 64))]),
13567
13567
  _: 1
13568
13568
  }, 8, ["gutter"]))]),
13569
13569
  _: 1
@@ -13655,7 +13655,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13655
13655
  off: x
13656
13656
  }), (m, v) => {
13657
13657
  const w = $("j-comp");
13658
- return S(), H("div", wb, [(S(!0), H(ke, null, Oe(o, (C) => (S(), F(w, {
13658
+ return S(), O("div", wb, [(S(!0), O(ke, null, Oe(o, (C) => (S(), F(w, {
13659
13659
  key: C.id,
13660
13660
  id: C.id,
13661
13661
  type: C.type,
@@ -13732,7 +13732,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13732
13732
  };
13733
13733
  return (a, o) => {
13734
13734
  const i = $("j-button"), r = $("el-tooltip"), l = $("j-buttons");
13735
- return S(), H("div", {
13735
+ return S(), O("div", {
13736
13736
  class: "j-block",
13737
13737
  style: le({
13738
13738
  padding: e.noPadding ? void 0 : "4px",
@@ -13743,11 +13743,11 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13743
13743
  class: "j-panel",
13744
13744
  style: le({ "border-radius": e.noPadding ? "0px" : "4px" })
13745
13745
  }, [
13746
- e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), H("div", Eb, [e.notTitle ? ee("", !0) : (S(), H("div", {
13746
+ e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), O("div", Eb, [e.notTitle ? ee("", !0) : (S(), O("div", {
13747
13747
  key: 0,
13748
13748
  class: "j-panel-top-left",
13749
13749
  title: e.title || ""
13750
- }, [Ke(a.$slots, "title", {}, () => [B("span", Ab, we(e.title || ""), 1)])], 8, Tb)), e.toolBtns && e.toolBtns.length > 0 ? (S(), H("span", Mb, [(S(!0), H(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13750
+ }, [Ke(a.$slots, "title", {}, () => [B("span", Ab, we(e.title || ""), 1)])], 8, Tb)), e.toolBtns && e.toolBtns.length > 0 ? (S(), O("span", Mb, [(S(!0), O(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13751
13751
  key: c.id,
13752
13752
  placement: "top",
13753
13753
  content: c.label || ""
@@ -13763,7 +13763,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13763
13763
  class: "j-panel-body",
13764
13764
  style: le(e.bodyStyle)
13765
13765
  }, [Ke(a.$slots, "default")], 4),
13766
- e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), H("div", jb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13766
+ e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), O("div", jb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13767
13767
  ], 4)], 4);
13768
13768
  };
13769
13769
  }
@@ -13820,7 +13820,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13820
13820
  "rowChange"
13821
13821
  ],
13822
13822
  setup(e, { emit: t }) {
13823
- const n = (y) => y == null, a = e, o = t, { formData: i } = ja(), r = O(() => a.editConfig.isAddBtn !== !1), l = O(() => a.editConfig.addBtnText || "添加"), c = O(() => a.editConfig.buttonsAlign || "left"), s = O(() => a.editConfig.isRemoveBtn !== !1), d = O(() => a.editConfig.readonly), f = O(() => a.editConfig.drag), u = O(() => a.editConfig.isNullValue !== !1), h = z(), p = [
13823
+ const n = (y) => y == null, a = e, o = t, { formData: i } = ja(), r = H(() => a.editConfig.isAddBtn !== !1), l = H(() => a.editConfig.addBtnText || "添加"), c = H(() => a.editConfig.buttonsAlign || "left"), s = H(() => a.editConfig.isRemoveBtn !== !1), d = H(() => a.editConfig.readonly), f = H(() => a.editConfig.drag), u = H(() => a.editConfig.isNullValue !== !1), h = z(), p = [
13824
13824
  "A",
13825
13825
  "B",
13826
13826
  "C",
@@ -13911,17 +13911,17 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13911
13911
  pRowData: C
13912
13912
  }), (y, _) => {
13913
13913
  const k = $("j-comp"), R = $("j-icon"), T = $("j-button"), A = $("j-buttons");
13914
- return S(), H("div", Ob, [B("div", {
13914
+ return S(), O("div", Ob, [B("div", {
13915
13915
  ref_key: "inputRowsRef",
13916
13916
  ref: h,
13917
13917
  class: "j-input-rows-container"
13918
- }, [(S(!0), H(ke, null, Oe(g.value, (P, L) => (S(), H("div", {
13918
+ }, [(S(!0), O(ke, null, Oe(g.value, (P, L) => (S(), O("div", {
13919
13919
  key: P._i + L,
13920
13920
  class: Ne([e.isCompact ? "j-space-compact" : "j-space", { "j-space-wrap": e.isWrap }])
13921
13921
  }, [
13922
- e.showNum ? (S(), H("div", Ib, we(L + 1), 1)) : ee("", !0),
13923
- e.showChar ? (S(), H("div", zb, we(p[L % 26]), 1)) : ee("", !0),
13924
- (S(!0), H(ke, null, Oe(e.columns, (I) => (S(), F(k, We({
13922
+ e.showNum ? (S(), O("div", Ib, we(L + 1), 1)) : ee("", !0),
13923
+ e.showChar ? (S(), O("div", zb, we(p[L % 26]), 1)) : ee("", !0),
13924
+ (S(!0), O(ke, null, Oe(e.columns, (I) => (S(), F(k, We({
13925
13925
  key: I.id,
13926
13926
  ref_for: !0
13927
13927
  }, I, {
@@ -13939,7 +13939,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13939
13939
  class: "j-input-rows-delete",
13940
13940
  onClick: (I) => v(L)
13941
13941
  }, null, 8, ["onClick"])) : ee("", !0)
13942
- ], 2))), 128))], 512), !d.value && r.value ? (S(), H("div", {
13942
+ ], 2))), 128))], 512), !d.value && r.value ? (S(), O("div", {
13943
13943
  key: 0,
13944
13944
  style: le({ "text-align": c.value }),
13945
13945
  class: "j-input-rows-actions"
@@ -14021,14 +14021,14 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14021
14021
  },
14022
14022
  emits: ["update:modelValue", "change"],
14023
14023
  setup(e, { expose: t, emit: n }) {
14024
- const a = (m) => !!(m == null || typeof m == "string" && m.trim() === "" || Array.isArray(m) && m.length === 0), o = e, i = n, r = z(), l = z(), c = z(""), s = O(() => !!o.renderVNode && !o.isMultiSelect), d = O({
14024
+ const a = (m) => !!(m == null || typeof m == "string" && m.trim() === "" || Array.isArray(m) && m.length === 0), o = e, i = n, r = z(), l = z(), c = z(""), s = H(() => !!o.renderVNode && !o.isMultiSelect), d = H({
14025
14025
  get() {
14026
14026
  return o.modelValue;
14027
14027
  },
14028
14028
  set(m) {
14029
14029
  i("update:modelValue", m);
14030
14030
  }
14031
- }), f = O({
14031
+ }), f = H({
14032
14032
  get() {
14033
14033
  return a(d.value) ? "" : o.getText ? o.getText(d.value) || c.value || d.value : c.value || d.value;
14034
14034
  },
@@ -14075,7 +14075,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14075
14075
  };
14076
14076
  return t({ getTablePanelRef: () => l.value }), (m, v) => {
14077
14077
  const w = $("el-input");
14078
- return S(), H("div", Fb, [e.onlyButton ? (S(), F(W(wr), {
14078
+ return S(), O("div", Fb, [e.onlyButton ? (S(), F(W(wr), {
14079
14079
  key: 1,
14080
14080
  type: e.buttonType,
14081
14081
  size: e.size,
@@ -14098,7 +14098,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14098
14098
  modelValue: f.value,
14099
14099
  "onUpdate:modelValue": v[0] || (v[0] = (C) => f.value = C),
14100
14100
  placeholder: e.placeholder,
14101
- readonly: !0,
14101
+ readonly: e.readonly,
14102
14102
  size: e.size,
14103
14103
  clearable: !e.readonly && e.clearable,
14104
14104
  onClick: u,
@@ -14113,6 +14113,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14113
14113
  }]), 1032, [
14114
14114
  "modelValue",
14115
14115
  "placeholder",
14116
+ "readonly",
14116
14117
  "size",
14117
14118
  "clearable"
14118
14119
  ])), X(W(Lc), {
@@ -14198,7 +14199,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14198
14199
  }
14199
14200
  },
14200
14201
  setup(e) {
14201
- const t = e, n = ja(), { t: a } = yt(), o = O(() => t.formConfig?.gutter || 16), i = O(() => t.formConfig?.span || 24), r = O(() => t.formConfig?.labelWidth || n.labelWidth?.value), l = O(() => t.formConfig?.labelPosition || n.labelPosition?.value || "right"), c = O(() => t.schema?.length === 1 && (t.schema?.[0]?.type === "j-tabs" || t.schema?.[0]?.type === "j-layout" || t.schema?.[0]?.config?.isAutoWindow)), s = z(!1), d = () => {
14202
+ const t = e, n = ja(), { t: a } = yt(), o = H(() => t.formConfig?.gutter || 16), i = H(() => t.formConfig?.span || 24), r = H(() => t.formConfig?.labelWidth || n.labelWidth?.value), l = H(() => t.formConfig?.labelPosition || n.labelPosition?.value || "right"), c = H(() => t.schema?.length === 1 && (t.schema?.[0]?.type === "j-tabs" || t.schema?.[0]?.type === "j-layout" || t.schema?.[0]?.config?.isAutoWindow)), s = z(!1), d = () => {
14202
14203
  s.value = !0;
14203
14204
  };
14204
14205
  return jc({
@@ -14209,7 +14210,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14209
14210
  labelWidth: r
14210
14211
  }), (f, u) => {
14211
14212
  const h = $("j-button"), p = $("j-form-item"), g = $("el-row"), b = $("el-form"), x = $("j-dialog");
14212
- return S(), H("div", null, [X(h, We(f.$attrs, {
14213
+ return S(), O("div", null, [X(h, We(f.$attrs, {
14213
14214
  type: e.type,
14214
14215
  size: e.size,
14215
14216
  icon: e.icon,
@@ -14238,7 +14239,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14238
14239
  key: 1,
14239
14240
  gutter: o.value
14240
14241
  }, {
14241
- default: J(() => [(S(!0), H(ke, null, Oe(e.schema, (m) => (S(), F(p, We({
14242
+ default: J(() => [(S(!0), O(ke, null, Oe(e.schema, (m) => (S(), F(p, We({
14242
14243
  key: m.id,
14243
14244
  ref_for: !0
14244
14245
  }, m), null, 16))), 128))]),
@@ -14328,7 +14329,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14328
14329
  },
14329
14330
  emits: ["update:modelValue", "change"],
14330
14331
  setup(e, { emit: t }) {
14331
- const n = e, a = t, o = O({
14332
+ const n = e, a = t, o = H({
14332
14333
  get() {
14333
14334
  return n.modelValue;
14334
14335
  },
@@ -14564,7 +14565,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14564
14565
  },
14565
14566
  emits: ["update:value", "change"],
14566
14567
  setup(e, { emit: t }) {
14567
- const n = e, a = t, o = z(), i = z(), r = Oi(), l = O(() => ({
14568
+ const n = e, a = t, o = z(), i = z(), r = Oi(), l = H(() => ({
14568
14569
  height: typeof n.height == "number" ? `${n.height}px` : n.height,
14569
14570
  overflowY: "hidden"
14570
14571
  }));
@@ -14617,7 +14618,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14617
14618
  }), jo(() => {
14618
14619
  const f = r.value;
14619
14620
  f?.destroy();
14620
- }), (f, u) => (S(), H("div", a0, [B("div", {
14621
+ }), (f, u) => (S(), O("div", a0, [B("div", {
14621
14622
  ref_key: "toolbarRef",
14622
14623
  ref: i,
14623
14624
  class: "j-editor-toolbar"
@@ -14712,10 +14713,10 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14712
14713
  }
14713
14714
  }), Mt(() => {
14714
14715
  f();
14715
- }), (b, x) => (S(), H("div", {
14716
+ }), (b, x) => (S(), O("div", {
14716
14717
  class: "j-map",
14717
14718
  style: le({ height: e.height })
14718
- }, [i.value ? (S(), H("div", l0, [X(Ea, {
14719
+ }, [i.value ? (S(), O("div", l0, [X(Ea, {
14719
14720
  icon: "mdi:loading",
14720
14721
  class: "is-loading",
14721
14722
  size: 30
@@ -14746,7 +14747,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14746
14747
  },
14747
14748
  emits: ["update:modelValue", "change"],
14748
14749
  setup(e, { emit: t }) {
14749
- const n = e, a = t, { t: o } = yt(), i = z(), r = z(), l = z(), c = z(""), s = z(0), d = z(0), f = z(""), u = O(() => {
14750
+ const n = e, a = t, { t: o } = yt(), i = z(), r = z(), l = z(), c = z(""), s = z(0), d = z(0), f = z(""), u = H(() => {
14750
14751
  let w = n.modelValue || "";
14751
14752
  if (n.modelValue === null && (w = W(f)), Qt(w)) return {
14752
14753
  address: "",
@@ -14759,7 +14760,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14759
14760
  lng: parseFloat(C[1]),
14760
14761
  lat: parseFloat(C[2])
14761
14762
  };
14762
- }), h = O({
14763
+ }), h = H({
14763
14764
  get() {
14764
14765
  return u.value.address;
14765
14766
  },
@@ -14832,7 +14833,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14832
14833
  };
14833
14834
  return (w, C) => {
14834
14835
  const y = $("j-button"), _ = $("el-input"), k = $("j-page"), R = $("j-layer");
14835
- return S(), H(ke, null, [
14836
+ return S(), O(ke, null, [
14836
14837
  X(_, {
14837
14838
  modelValue: h.value,
14838
14839
  "onUpdate:modelValue": C[0] || (C[0] = (T) => h.value = T),
@@ -19694,7 +19695,7 @@ var Nu = { myImporter: ["type", fa] }, Wu = (e) => {
19694
19695
  updateElemet: (y) => {
19695
19696
  b(y);
19696
19697
  }
19697
- }), (y, _) => (S(), H("div", {
19698
+ }), (y, _) => (S(), O("div", {
19698
19699
  ref_key: "containerRef",
19699
19700
  ref: i,
19700
19701
  class: "j-work-flow"
@@ -22866,7 +22867,7 @@ var ZC = {
22866
22867
  updateElemet: (T) => {
22867
22868
  m(T);
22868
22869
  }
22869
- }), (T, A) => (S(), H("div", {
22870
+ }), (T, A) => (S(), O("div", {
22870
22871
  ref_key: "containerRef",
22871
22872
  ref: i,
22872
22873
  class: "j-work-flow"
@@ -22909,7 +22910,7 @@ var ZC = {
22909
22910
  "rowChange"
22910
22911
  ],
22911
22912
  setup(e, { expose: t, emit: n }) {
22912
- const a = e, o = n, { t: i } = yt(), { formData: r } = ja(), l = O(() => a.editConfig.isAddBtn !== !1), c = O(() => a.editConfig.addBtnText || "添加"), s = O(() => a.editConfig.buttonsAlign || "left"), d = O(() => a.editConfig.isRemoveBtn !== !1), f = O(() => a.editConfig.readonly), u = O(() => a.editConfig.isNullValue !== !1), h = z([]), p = (y) => {
22913
+ const a = e, o = n, { t: i } = yt(), { formData: r } = ja(), l = H(() => a.editConfig.isAddBtn !== !1), c = H(() => a.editConfig.addBtnText || "添加"), s = H(() => a.editConfig.buttonsAlign || "left"), d = H(() => a.editConfig.isRemoveBtn !== !1), f = H(() => a.editConfig.readonly), u = H(() => a.editConfig.isNullValue !== !1), h = z([]), p = (y) => {
22913
22914
  o("rowChange", y);
22914
22915
  }, g = () => {
22915
22916
  const y = { _i: na() };
@@ -22978,12 +22979,12 @@ var ZC = {
22978
22979
  rowChange: p
22979
22980
  }), (y, _) => {
22980
22981
  const k = $("j-comp"), R = $("el-form-item"), T = $("el-col"), A = $("j-button"), P = $("el-row");
22981
- return S(), H(ke, null, [B("div", We({ class: "j-input-cards" }, y.$attrs), [(S(!0), H(ke, null, Oe(h.value, (L, I) => (S(), H("div", {
22982
+ return S(), O(ke, null, [B("div", We({ class: "j-input-cards" }, y.$attrs), [(S(!0), O(ke, null, Oe(h.value, (L, I) => (S(), O("div", {
22982
22983
  class: "j-input-cards-item",
22983
22984
  key: L.i,
22984
22985
  style: { "margin-bottom": "8px" }
22985
22986
  }, [X(P, { gutter: e.gutter }, {
22986
- default: J(() => [(S(!0), H(ke, null, Oe(e.columns, (j) => (S(), F(T, {
22987
+ default: J(() => [(S(!0), O(ke, null, Oe(e.columns, (j) => (S(), F(T, {
22987
22988
  key: j.prop,
22988
22989
  span: j.config?.span || e.span || 24,
22989
22990
  style: le({ "margin-bottom": (j.getInputType ? j.getInputType(L) : j.inputType) == "j-input-rows" ? "8px" : void 0 })
@@ -23013,7 +23014,7 @@ var ZC = {
23013
23014
  onClick: (j) => b(I)
23014
23015
  }, null, 8, ["onClick"])) : ee("", !0)]),
23015
23016
  _: 2
23016
- }, 1032, ["gutter"])]))), 128))], 16), l.value && !f.value ? (S(), H("div", {
23017
+ }, 1032, ["gutter"])]))), 128))], 16), l.value && !f.value ? (S(), O("div", {
23017
23018
  key: 0,
23018
23019
  style: le({ "text-align": s.value })
23019
23020
  }, [l.value ? (S(), F(A, {