@jt-home/mfe-components 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import './style.css';
2
- import { defineComponent as de, useAttrs as xn, computed as L, openBlock as $, createBlock as H, mergeProps as re, toHandlers as Qe, withCtx as J, renderSlot as X, resolveDynamicComponent as xt, createCommentVNode as fe, ref as ge, watch as Be, mergeDefaults as qn, withKeys as Gn, createElementBlock as U, Fragment as Se, renderList as ye, normalizeStyle as qt, nextTick as Kn, useSlots as Ee, normalizeClass as Je, createVNode as we, withModifiers as Gt, unref as se, createSlots as je, createElementVNode as ee, toDisplayString as me, normalizeProps as Me, guardReactiveProps as Fe, useModel as pt, withDirectives as Yn, mergeModels as Mt, shallowRef as Pe, onMounted as Kt, onBeforeUnmount as Un, createTextVNode as Ue, resolveComponent as Hn, onErrorCaptured as Jn } from "vue";
2
+ import { defineComponent as ue, useAttrs as xn, computed as L, openBlock as $, createBlock as H, mergeProps as oe, toHandlers as Qe, withCtx as J, renderSlot as ee, resolveDynamicComponent as xt, createCommentVNode as de, ref as he, watch as Be, mergeDefaults as qn, withKeys as Gn, createElementBlock as Y, Fragment as be, renderList as ge, normalizeStyle as qt, nextTick as Kn, useSlots as Ee, normalizeClass as Je, createVNode as we, withModifiers as Gt, unref as re, createSlots as je, createElementVNode as te, toDisplayString as pe, normalizeProps as Me, guardReactiveProps as Fe, useModel as pt, withDirectives as Yn, mergeModels as Mt, shallowRef as Pe, onMounted as Kt, onBeforeUnmount as Un, createTextVNode as Ue, resolveComponent as Hn, onErrorCaptured as Jn } from "vue";
3
3
  import { ElButton as It, ElIcon as Yt, ElCascader as Wn, ElDatePicker as Ut, ElInput as Ht, ElSelect as Jt, ElOption as Wt, ElFormItem as Zt, ElForm as Qt, ElTable as Xt, ElTableColumn as en, ElPagination as Zn, ElLoadingDirective as Qn, ElInputNumber as Xn, ElSwitch as eo, ElRow as to, ElCol as no, ElPopconfirm as oo } from "element-plus/es";
4
4
  import { JtAttachmentPreview as Tt } from "./JtAttachmentPreview/index.mjs";
5
5
  import { JtAttachmentPreviewByParams as Za, setupJtAttachmentPreview as Qa } from "./JtAttachmentPreview/index.mjs";
6
- import { cascaderEmits as ro, inputEmits as Dt, selectEmits as Ot } from "element-plus";
6
+ import { cascaderEmits as ro, inputEmits as Ot, selectEmits as Dt } from "element-plus";
7
7
  const gt = 2, ao = 3;
8
8
  function so(e) {
9
9
  return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
@@ -30,7 +30,7 @@ function on(e, t = /* @__PURE__ */ new Set()) {
30
30
  Object.entries(e).filter(([n]) => !t.has(n) && !tn(n))
31
31
  );
32
32
  }
33
- const lo = /* @__PURE__ */ de({
33
+ const lo = /* @__PURE__ */ ue({
34
34
  name: "JtButton",
35
35
  __name: "index",
36
36
  props: {
@@ -64,14 +64,14 @@ const lo = /* @__PURE__ */ de({
64
64
  }), r = L(() => nn(n));
65
65
  return (i, s) => {
66
66
  const l = Yt, a = It;
67
- return $(), H(a, re({ class: "jt-button" }, o.value, Qe(r.value)), {
67
+ return $(), H(a, oe({ class: "jt-button" }, o.value, Qe(r.value)), {
68
68
  default: J(() => [
69
69
  i.$slots.icon ? ($(), H(l, {
70
70
  key: 0,
71
71
  class: "jt-button__icon"
72
72
  }, {
73
73
  default: J(() => [
74
- X(i.$slots, "icon", {}, void 0, !0)
74
+ ee(i.$slots, "icon", {}, void 0, !0)
75
75
  ]),
76
76
  _: 3
77
77
  })) : t.icon ? ($(), H(l, {
@@ -82,19 +82,19 @@ const lo = /* @__PURE__ */ de({
82
82
  ($(), H(xt(t.icon)))
83
83
  ]),
84
84
  _: 1
85
- })) : fe("", !0),
86
- X(i.$slots, "default", {}, void 0, !0)
85
+ })) : de("", !0),
86
+ ee(i.$slots, "default", {}, void 0, !0)
87
87
  ]),
88
88
  _: 3
89
89
  }, 16);
90
90
  };
91
91
  }
92
- }), be = (e, t) => {
92
+ }), ye = (e, t) => {
93
93
  const n = e.__vccOpts || e;
94
94
  for (const [o, r] of t)
95
95
  n[o] = r;
96
96
  return n;
97
- }, ot = /* @__PURE__ */ be(lo, [["__scopeId", "data-v-9651b22b"]]), co = {
97
+ }, ot = /* @__PURE__ */ ye(lo, [["__scopeId", "data-v-500460fb"]]), co = {
98
98
  // 默认值只补组件缺省体验,显式传入的 false、null 和空字符串仍由归一化逻辑保留。
99
99
  options: () => [],
100
100
  placeholder: "请选择",
@@ -107,12 +107,12 @@ function Ft(e) {
107
107
  );
108
108
  }
109
109
  function uo(e) {
110
- const { hideDropdownIcon: t, ...n } = e, o = Ft(n);
111
- return o.props && (o.props = Ft(
112
- o.props
113
- )), o;
110
+ const t = Ft(e);
111
+ return t.props && (t.props = Ft(
112
+ t.props
113
+ )), t;
114
114
  }
115
- const fo = /* @__PURE__ */ de({
115
+ const fo = /* @__PURE__ */ ue({
116
116
  name: "JtCascader",
117
117
  __name: "index",
118
118
  props: /* @__PURE__ */ qn({
@@ -152,12 +152,11 @@ const fo = /* @__PURE__ */ de({
152
152
  height: {},
153
153
  emptyValues: {},
154
154
  valueOnClear: { type: [String, Number, Boolean, Function, null] },
155
- options: {},
156
- hideDropdownIcon: { type: Boolean }
155
+ options: {}
157
156
  }, co),
158
157
  emits: ro,
159
158
  setup(e, { emit: t }) {
160
- const n = e, o = L(() => uo(n)), r = ge(n.modelValue);
159
+ const n = e, o = L(() => uo(n)), r = he(n.modelValue);
161
160
  Be(
162
161
  () => n.modelValue,
163
162
  (d) => {
@@ -195,9 +194,7 @@ const fo = /* @__PURE__ */ de({
195
194
  }
196
195
  return (d, S) => {
197
196
  const k = Wn;
198
- return $(), H(k, re({
199
- class: ["jt-cascader", { "jt-cascader--hide-dropdown-icon": n.hideDropdownIcon }]
200
- }, o.value, {
197
+ return $(), H(k, oe({ class: "jt-cascader" }, o.value, {
201
198
  "model-value": r.value,
202
199
  "onUpdate:modelValue": l,
203
200
  onChange: a,
@@ -207,10 +204,10 @@ const fo = /* @__PURE__ */ de({
207
204
  onVisibleChange: I,
208
205
  onExpandChange: V,
209
206
  onRemoveTag: A
210
- }), null, 16, ["class", "model-value"]);
207
+ }), null, 16, ["model-value"]);
211
208
  };
212
209
  }
213
- }), po = /* @__PURE__ */ de({
210
+ }), po = /* @__PURE__ */ ue({
214
211
  name: "JtDatePicker",
215
212
  __name: "index",
216
213
  props: {
@@ -273,12 +270,12 @@ const fo = /* @__PURE__ */ de({
273
270
  }
274
271
  return (r, i) => {
275
272
  const s = Ut;
276
- return $(), H(s, re({ class: "jt-date-picker" }, n.value, {
273
+ return $(), H(s, oe({ class: "jt-date-picker" }, n.value, {
277
274
  "onUpdate:modelValue": i[0] || (i[0] = (l) => r.$emit("update:modelValue", l))
278
275
  }), null, 16);
279
276
  };
280
277
  }
281
- }), mo = /* @__PURE__ */ be(po, [["__scopeId", "data-v-ee23f9b2"]]), vo = /* @__PURE__ */ de({
278
+ }), mo = /* @__PURE__ */ ye(po, [["__scopeId", "data-v-1a90018a"]]), vo = /* @__PURE__ */ ue({
282
279
  name: "JtInput",
283
280
  __name: "index",
284
281
  props: {
@@ -317,29 +314,28 @@ const fo = /* @__PURE__ */ de({
317
314
  countGraphemes: {}
318
315
  },
319
316
  emits: {
320
- ...Dt,
317
+ ...Ot,
321
318
  enter: () => !0
322
319
  },
323
320
  setup(e, { emit: t }) {
324
321
  const n = e, o = t, r = L(() => Object.fromEntries(
325
- Object.keys(Dt).map((i) => [
322
+ Object.keys(Ot).map((i) => [
326
323
  i,
327
324
  (...s) => o(i, ...s)
328
325
  ])
329
326
  ));
330
327
  return (i, s) => {
331
328
  const l = Ht;
332
- return $(), H(l, re({ class: "jt-input" }, n, Qe(r.value), {
329
+ return $(), H(l, oe({ class: "jt-input" }, n, Qe(r.value), {
333
330
  onKeyup: s[0] || (s[0] = Gn((a) => o("enter"), ["enter"]))
334
331
  }), null, 16);
335
332
  };
336
333
  }
337
- }), mt = /* @__PURE__ */ be(vo, [["__scopeId", "data-v-592e0bdc"]]), ho = /* @__PURE__ */ de({
334
+ }), mt = /* @__PURE__ */ ye(vo, [["__scopeId", "data-v-dd447596"]]), ho = /* @__PURE__ */ ue({
338
335
  name: "JtSelect",
339
336
  __name: "index",
340
337
  props: {
341
338
  options: {},
342
- hideDropdownIcon: { type: Boolean },
343
339
  ariaLabel: {},
344
340
  emptyValues: {},
345
341
  valueOnClear: {},
@@ -392,33 +388,31 @@ const fo = /* @__PURE__ */ de({
392
388
  appendTo: {},
393
389
  props: {}
394
390
  },
395
- emits: Ot,
391
+ emits: Dt,
396
392
  setup(e, { emit: t }) {
397
393
  const n = e, o = L(() => {
398
- const { options: s, hideDropdownIcon: l, ...a } = n;
399
- return a;
394
+ const { options: s, ...l } = n;
395
+ return l;
400
396
  }), r = t, i = L(() => Object.fromEntries(
401
- Object.keys(Ot).map((s) => [
397
+ Object.keys(Dt).map((s) => [
402
398
  s,
403
399
  (...l) => r(s, ...l)
404
400
  ])
405
401
  ));
406
402
  return (s, l) => {
407
403
  const a = Wt, c = Jt;
408
- return $(), H(c, re({
409
- class: ["jt-select", { "jt-select--hide-dropdown-icon": n.hideDropdownIcon }]
410
- }, o.value, Qe(i.value)), {
404
+ return $(), H(c, oe({ class: "jt-select" }, o.value, Qe(i.value)), {
411
405
  default: J(() => [
412
- ($(!0), U(Se, null, ye(s.options ?? [], (g) => ($(), H(a, re({
406
+ ($(!0), Y(be, null, ge(s.options ?? [], (g) => ($(), H(a, oe({
413
407
  key: g.value,
414
408
  ref_for: !0
415
409
  }, g), null, 16))), 128))
416
410
  ]),
417
411
  _: 1
418
- }, 16, ["class"]);
412
+ }, 16);
419
413
  };
420
414
  }
421
- }), go = /* @__PURE__ */ be(ho, [["__scopeId", "data-v-cb667840"]]), yo = { class: "jt-form-items" }, vt = 4, bo = /* @__PURE__ */ de({
415
+ }), go = /* @__PURE__ */ ye(ho, [["__scopeId", "data-v-5a76e2ca"]]), yo = { class: "jt-form-items" }, vt = 4, bo = /* @__PURE__ */ ue({
422
416
  name: "JTFormItems",
423
417
  __name: "JtFormItems",
424
418
  props: {
@@ -494,8 +488,8 @@ const fo = /* @__PURE__ */ de({
494
488
  }
495
489
  return (v, m) => {
496
490
  const M = Zt;
497
- return $(), U("div", yo, [
498
- ($(!0), U(Se, null, ye(l.value, (h) => ($(), H(M, re({
491
+ return $(), Y("div", yo, [
492
+ ($(!0), Y(be, null, ge(l.value, (h) => ($(), H(M, oe({
499
493
  key: h.prop,
500
494
  ref_for: !0,
501
495
  ref: V(h.prop),
@@ -505,7 +499,7 @@ const fo = /* @__PURE__ */ de({
505
499
  prop: h.prop
506
500
  }, w(h)), {
507
501
  default: J(() => [
508
- h.showSlot ? X(v.$slots, h.prop, { key: 0 }, void 0, !0) : ($(), H(xt(a(h)), re({
502
+ h.showSlot ? ee(v.$slots, h.prop, { key: 0 }, void 0, !0) : ($(), H(xt(a(h)), oe({
509
503
  key: 1,
510
504
  "model-value": v.formData[h.prop],
511
505
  ref_for: !0
@@ -523,16 +517,16 @@ const fo = /* @__PURE__ */ de({
523
517
  style: qt(S.value)
524
518
  }, {
525
519
  default: J(() => [
526
- X(v.$slots, "actions", {}, void 0, !0)
520
+ ee(v.$slots, "actions", {}, void 0, !0)
527
521
  ]),
528
522
  _: 3
529
- }, 8, ["style"])) : fe("", !0)
523
+ }, 8, ["style"])) : de("", !0)
530
524
  ]);
531
525
  };
532
526
  }
533
- }), So = /* @__PURE__ */ be(bo, [["__scopeId", "data-v-02a564cb"]]);
527
+ }), So = /* @__PURE__ */ ye(bo, [["__scopeId", "data-v-c219777b"]]);
534
528
  function wo() {
535
- const e = ge(!1);
529
+ const e = he(!1);
536
530
  function t() {
537
531
  e.value = !0;
538
532
  }
@@ -545,7 +539,7 @@ function wo() {
545
539
  searchDone: n
546
540
  };
547
541
  }
548
- const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='0.5'%20y='-0.5'%20width='11'%20height='11'%20rx='5.5'%20transform='matrix(1%200%200%20-1%201%2012)'%20stroke='%23999999'/%3e%3cpath%20d='M10%208.16064L7%205.16064L4%208.16064'%20stroke='%23999999'/%3e%3c/svg%3e", _o = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.375%207.00017C2.375%207.27631%202.59886%207.50017%202.875%207.50017C3.15114%207.50017%203.375%207.27631%203.375%207.00017H2.875H2.375ZM2.875%207.00017H3.375C3.375%204.46334%205.41801%202.41406%207.93713%202.41406V1.91406V1.41406C4.86127%201.41406%202.375%203.91551%202.375%207.00017H2.875ZM7.93713%201.91406V2.41406C10.4563%202.41406%2012.4993%204.46334%2012.4993%207.00017H12.9993H13.4993C13.4993%203.91551%2011.013%201.41406%207.93713%201.41406V1.91406ZM12.9993%207.00017H12.4993C12.4993%209.537%2010.4563%2011.5863%207.93713%2011.5863V12.0863V12.5863C11.013%2012.5863%2013.4993%2010.0848%2013.4993%207.00017H12.9993ZM7.93713%2012.0863V11.5863C6.68975%2011.5863%205.55663%2011.0806%204.72892%2010.2635L4.37765%2010.6193L4.02638%2010.9752C5.0317%2011.9676%206.41366%2012.5863%207.93713%2012.5863V12.0863Z'%20fill='%23999999'/%3e%3cpath%20d='M4.75131%206.0102L2.88631%207.88403L1%205.99414'%20stroke='%23999999'%20stroke-miterlimit='10'/%3e%3c/svg%3e", $o = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.60938%2012.1099C9.64694%2012.1099%2012.1094%209.64743%2012.1094%206.60986C12.1094%203.5723%209.64694%201.10986%206.60938%201.10986C3.57181%201.10986%201.10938%203.5723%201.10938%206.60986C1.10938%209.64743%203.57181%2012.1099%206.60938%2012.1099Z'%20stroke='white'%20stroke-miterlimit='10'/%3e%3cpath%20d='M12.4993%2012.5002L10.2832%2010.3301'%20stroke='white'%20stroke-miterlimit='10'/%3e%3c/svg%3e", Co = { class: "jt-filter-bar__btns" }, ko = ["src"], Mo = ["src"], To = ["src"], Do = /* @__PURE__ */ de({
542
+ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='0.5'%20y='-0.5'%20width='11'%20height='11'%20rx='5.5'%20transform='matrix(1%200%200%20-1%201%2012)'%20stroke='%23999999'/%3e%3cpath%20d='M10%208.16064L7%205.16064L4%208.16064'%20stroke='%23999999'/%3e%3c/svg%3e", _o = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.375%207.00017C2.375%207.27631%202.59886%207.50017%202.875%207.50017C3.15114%207.50017%203.375%207.27631%203.375%207.00017H2.875H2.375ZM2.875%207.00017H3.375C3.375%204.46334%205.41801%202.41406%207.93713%202.41406V1.91406V1.41406C4.86127%201.41406%202.375%203.91551%202.375%207.00017H2.875ZM7.93713%201.91406V2.41406C10.4563%202.41406%2012.4993%204.46334%2012.4993%207.00017H12.9993H13.4993C13.4993%203.91551%2011.013%201.41406%207.93713%201.41406V1.91406ZM12.9993%207.00017H12.4993C12.4993%209.537%2010.4563%2011.5863%207.93713%2011.5863V12.0863V12.5863C11.013%2012.5863%2013.4993%2010.0848%2013.4993%207.00017H12.9993ZM7.93713%2012.0863V11.5863C6.68975%2011.5863%205.55663%2011.0806%204.72892%2010.2635L4.37765%2010.6193L4.02638%2010.9752C5.0317%2011.9676%206.41366%2012.5863%207.93713%2012.5863V12.0863Z'%20fill='%23999999'/%3e%3cpath%20d='M4.75131%206.0102L2.88631%207.88403L1%205.99414'%20stroke='%23999999'%20stroke-miterlimit='10'/%3e%3c/svg%3e", $o = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.60938%2012.1099C9.64694%2012.1099%2012.1094%209.64743%2012.1094%206.60986C12.1094%203.5723%209.64694%201.10986%206.60938%201.10986C3.57181%201.10986%201.10938%203.5723%201.10938%206.60986C1.10938%209.64743%203.57181%2012.1099%206.60938%2012.1099Z'%20stroke='white'%20stroke-miterlimit='10'/%3e%3cpath%20d='M12.4993%2012.5002L10.2832%2010.3301'%20stroke='white'%20stroke-miterlimit='10'/%3e%3c/svg%3e", Co = { class: "jt-filter-bar__btns" }, ko = ["src"], Mo = ["src"], To = ["src"], Oo = /* @__PURE__ */ ue({
549
543
  name: "JtFilterBar",
550
544
  __name: "JtFilterBar",
551
545
  props: {
@@ -555,28 +549,28 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
555
549
  },
556
550
  emits: ["update:modelValue", "search", "reset"],
557
551
  setup(e, { expose: t, emit: n }) {
558
- const o = e, r = n, i = ge(), s = Ee(), l = ge({}), {
552
+ const o = e, r = n, i = he(), s = Ee(), l = he({}), {
559
553
  searchDisabled: a,
560
554
  searchLoading: c,
561
555
  searchDone: g
562
- } = wo(), w = L(() => o.option), I = ge(w.value.searchCollapsed ?? !0), V = L(() => o.columns.filter((P) => P.search === !0)), A = L(
556
+ } = wo(), w = L(() => o.option), I = he(w.value.searchCollapsed ?? !0), V = L(() => o.columns.filter((P) => P.search === !0)), A = L(
563
557
  () => Math.max(1, w.value.searchSpan ?? 4)
564
558
  ), d = L(() => Math.max(1, w.value.searchCollapsedRows ?? 1)), S = L(() => A.value), k = L(
565
559
  () => Math.max(1, S.value * d.value)
566
- ), R = L(() => A.value), v = L(() => O.value ? "264px" : "174px"), m = L(() => G(w.value.searchLabelWidth ?? 84)), M = L(() => w.value.searchLabelPosition ?? "top"), h = L(() => Z(w.value.searchGutter, 16)), j = L(() => Z(w.value.searchRowGap, 10)), b = L(() => ie(w.value.searchPadding ?? "18px 4px 0")), O = L(() => w.value.searchCollapse === !1 ? !1 : K(V.value) > k.value), T = L(() => {
567
- if (!O.value || !I.value) return V.value;
560
+ ), R = L(() => A.value), v = L(() => D.value ? "264px" : "174px"), m = L(() => U(w.value.searchLabelWidth ?? 84)), M = L(() => w.value.searchLabelPosition ?? "top"), h = L(() => G(w.value.searchGutter, 16)), j = L(() => G(w.value.searchRowGap, 10)), b = L(() => X(w.value.searchPadding ?? "18px 4px 0")), D = L(() => w.value.searchCollapse === !1 ? !1 : q(V.value) > k.value), T = L(() => {
561
+ if (!D.value || !I.value) return V.value;
568
562
  let P = 0;
569
- return V.value.filter((te) => {
570
- const oe = q(te);
571
- return P + oe > k.value ? !1 : (P += oe, !0);
563
+ return V.value.filter((Z) => {
564
+ const ce = B(Z);
565
+ return P + ce > k.value ? !1 : (P += ce, !0);
572
566
  });
573
567
  }), z = L(
574
568
  () => T.value.filter((P) => !!s[`${P.prop}-search`])
575
569
  ), ne = L(() => {
576
- const P = K(T.value);
570
+ const P = q(T.value);
577
571
  return T.value.length > 0 && T.value.length <= 2 && P < A.value;
578
572
  }), x = L(() => {
579
- const P = K(T.value);
573
+ const P = q(T.value);
580
574
  return `${Math.min(A.value, P + 1)}`;
581
575
  }), N = L(
582
576
  () => T.value.map((P) => F(P))
@@ -593,51 +587,47 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
593
587
  },
594
588
  { deep: !0, immediate: !0 }
595
589
  );
596
- function D(P, te) {
590
+ function O(P, Z) {
597
591
  if (a.value) return;
598
- const oe = { ...l.value, [P]: te };
599
- l.value = oe, r("update:modelValue", oe);
592
+ const ce = { ...l.value, [P]: Z };
593
+ l.value = ce, r("update:modelValue", ce);
600
594
  }
601
595
  function F(P) {
602
- const te = P.searchProps ?? {}, oe = P.searchType ?? "input", ae = u(oe) ? { hideDropdownIcon: te.hideDropdownIcon ?? !0 } : {};
596
+ const Z = P.searchProps ?? {}, ce = P.searchType ?? "input";
603
597
  return {
604
- ...te,
605
- ...ae,
598
+ ...Z,
606
599
  prop: P.prop,
607
600
  label: P.searchLabel ?? P.label,
608
- span: q(P),
609
- itemType: oe,
601
+ span: B(P),
602
+ itemType: ce,
610
603
  // 外部提供 `${prop}-search` 时交给插槽渲染,保持旧版 JtFilterBar 的自定义能力。
611
604
  showSlot: !!s[`${P.prop}-search`],
612
- options: te.options ?? P.searchOptions ?? P.dicData,
613
- placeholder: te.placeholder ?? P.searchPlaceholder,
614
- valueFormat: te.valueFormat ?? P.searchValueFormat,
615
- disabled: a.value || te.disabled === !0,
605
+ options: Z.options ?? P.searchOptions ?? P.dicData,
606
+ placeholder: Z.placeholder ?? P.searchPlaceholder,
607
+ valueFormat: Z.valueFormat ?? P.searchValueFormat,
608
+ disabled: a.value || Z.disabled === !0,
616
609
  formItemProps: {
617
610
  required: P.searchRequired,
618
611
  class: ["jt-filter-bar__item", { "is-required": P.searchRequired }]
619
612
  },
620
613
  // 保留原来输入框回车触发查询的行为,同时不吞掉使用方在 searchProps 中传入的 onEnter。
621
- onEnter: (...pe) => {
622
- y(te.onEnter, ...pe), _();
614
+ onEnter: (...le) => {
615
+ u(Z.onEnter, ...le), y();
623
616
  },
624
617
  // JtFormItems 内部会修改 filterModel,这里继续按旧接口向外 emit update:modelValue。
625
- "onUpdate:modelValue": (pe) => {
626
- y(te["onUpdate:modelValue"], pe), D(P.prop, pe);
618
+ "onUpdate:modelValue": (le) => {
619
+ u(Z["onUpdate:modelValue"], le), O(P.prop, le);
627
620
  }
628
621
  };
629
622
  }
630
- function u(P) {
631
- return P === "select" || P === "remote-select" || P === "cascader";
632
- }
633
- function y(P, ...te) {
623
+ function u(P, ...Z) {
634
624
  if (Array.isArray(P)) {
635
- P.forEach((oe) => y(oe, ...te));
625
+ P.forEach((ce) => u(ce, ...Z));
636
626
  return;
637
627
  }
638
- typeof P == "function" && P(...te);
628
+ typeof P == "function" && P(...Z);
639
629
  }
640
- async function _() {
630
+ async function y() {
641
631
  if (!a.value) {
642
632
  if (i.value)
643
633
  try {
@@ -648,25 +638,25 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
648
638
  r("search");
649
639
  }
650
640
  }
651
- function B() {
641
+ function _() {
652
642
  a.value || r("reset");
653
643
  }
654
644
  function E() {
655
645
  I.value = !I.value;
656
646
  }
657
- function q(P) {
647
+ function B(P) {
658
648
  return Math.min(A.value, Math.max(1, P.searchSpan ?? 1));
659
649
  }
660
- function K(P) {
661
- return P.reduce((te, oe) => te + q(oe), 0);
650
+ function q(P) {
651
+ return P.reduce((Z, ce) => Z + B(ce), 0);
662
652
  }
663
- function G(P) {
653
+ function U(P) {
664
654
  return typeof P == "number" ? `${P}px` : P;
665
655
  }
666
- function Z(P, te) {
667
- return typeof P == "number" ? P : te;
656
+ function G(P, Z) {
657
+ return typeof P == "number" ? P : Z;
668
658
  }
669
- function ie(P) {
659
+ function X(P) {
670
660
  return typeof P == "number" ? `${P}px` : P;
671
661
  }
672
662
  return t({
@@ -678,9 +668,9 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
678
668
  searchLoading: c,
679
669
  /** 关闭筛选表单禁用。 */
680
670
  searchDone: g
681
- }), (P, te) => {
682
- const oe = Qt;
683
- return $(), U("div", {
671
+ }), (P, Z) => {
672
+ const ce = Qt;
673
+ return $(), Y("div", {
684
674
  class: Je(["jt-filter-bar", [`is-label-${M.value}`, { "is-single-filter": ne.value }]]),
685
675
  style: qt({
686
676
  "--jt-filter-columns": A.value,
@@ -693,81 +683,81 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
693
683
  "--jt-filter-padding": b.value
694
684
  })
695
685
  }, [
696
- we(oe, {
686
+ we(ce, {
697
687
  ref_key: "formRef",
698
688
  ref: i,
699
689
  class: "jt-filter-bar__form",
700
690
  model: l.value,
701
691
  "label-position": M.value,
702
692
  "label-width": m.value,
703
- disabled: se(a),
704
- onSubmit: te[0] || (te[0] = Gt(() => {
693
+ disabled: re(a),
694
+ onSubmit: Z[0] || (Z[0] = Gt(() => {
705
695
  }, ["prevent"]))
706
696
  }, {
707
697
  default: J(() => [
708
- we(se(So), {
698
+ we(re(So), {
709
699
  configs: N.value,
710
700
  "form-data": l.value
711
701
  }, je({
712
702
  actions: J(() => [
713
- ee("div", Co, [
714
- X(P.$slots, "search-menu", {
715
- search: _,
716
- reset: B,
717
- disabled: se(a),
703
+ te("div", Co, [
704
+ ee(P.$slots, "search-menu", {
705
+ search: y,
706
+ reset: _,
707
+ disabled: re(a),
718
708
  collapsed: I.value,
719
709
  toggleCollapse: E
720
710
  }, () => [
721
- O.value ? ($(), H(se(ot), {
711
+ D.value ? ($(), H(re(ot), {
722
712
  key: 0,
723
713
  class: "jt-filter-bar__btn-collapse",
724
714
  size: "small",
725
715
  onClick: E
726
716
  }, {
727
717
  icon: J(() => [
728
- ee("img", {
718
+ te("img", {
729
719
  class: Je(["jt-filter-bar__icon-arrow", { "is-collapsed": I.value }]),
730
- src: se(Io),
720
+ src: re(Io),
731
721
  alt: ""
732
722
  }, null, 10, ko)
733
723
  ]),
734
724
  default: J(() => [
735
- ee("span", null, me(I.value ? "展 开" : "收 起"), 1)
725
+ te("span", null, pe(I.value ? "展 开" : "收 起"), 1)
736
726
  ]),
737
727
  _: 1
738
- })) : fe("", !0),
739
- we(se(ot), {
728
+ })) : de("", !0),
729
+ we(re(ot), {
740
730
  class: "jt-filter-bar__btn-reset",
741
731
  size: "small",
742
- disabled: se(a),
743
- onClick: B
732
+ disabled: re(a),
733
+ onClick: _
744
734
  }, {
745
735
  icon: J(() => [
746
- ee("img", {
747
- src: se(_o),
736
+ te("img", {
737
+ src: re(_o),
748
738
  alt: ""
749
739
  }, null, 8, Mo)
750
740
  ]),
751
741
  default: J(() => [
752
- ee("span", null, me(w.value.resetBtnText ?? "重 置"), 1)
742
+ te("span", null, pe(w.value.resetBtnText ?? "重 置"), 1)
753
743
  ]),
754
744
  _: 1
755
745
  }, 8, ["disabled"]),
756
- we(se(ot), {
746
+ we(re(ot), {
757
747
  class: "jt-filter-bar__btn-query",
758
748
  type: "primary",
759
749
  size: "small",
760
- disabled: se(a),
761
- onClick: _
750
+ disabled: re(a),
751
+ onClick: y
762
752
  }, {
763
753
  icon: J(() => [
764
- ee("img", {
765
- src: se($o),
754
+ te("img", {
755
+ src: re($o),
766
756
  alt: ""
767
757
  }, null, 8, To)
768
758
  ]),
769
759
  default: J(() => [
770
- ee("span", null, me(w.value.searchBtnText ?? "查 询"), 1)
760
+ te("span", null, pe(w.value.searchBtnText ?? "查 询"), 1)
771
761
  ]),
772
762
  _: 1
773
763
  }, 8, ["disabled"])
@@ -776,16 +766,16 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
776
766
  ]),
777
767
  _: 2
778
768
  }, [
779
- ye(z.value, (ae) => ({
780
- name: ae.prop,
769
+ ge(z.value, (le) => ({
770
+ name: le.prop,
781
771
  fn: J(() => [
782
- X(P.$slots, `${ae.prop}-search`, {
783
- value: l.value[ae.prop],
784
- column: ae,
785
- setValue: (pe) => D(ae.prop, pe),
786
- search: _,
787
- reset: B,
788
- disabled: se(a)
772
+ ee(P.$slots, `${le.prop}-search`, {
773
+ value: l.value[le.prop],
774
+ column: le,
775
+ setValue: (fe) => O(le.prop, fe),
776
+ search: y,
777
+ reset: _,
778
+ disabled: re(a)
789
779
  }, void 0, !0)
790
780
  ])
791
781
  }))
@@ -796,7 +786,7 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
796
786
  ], 6);
797
787
  };
798
788
  }
799
- }), Oo = /* @__PURE__ */ be(Do, [["__scopeId", "data-v-f2973026"]]), Fo = { key: 1 }, Bo = { key: 2 }, Eo = { key: 3 }, Lo = /* @__PURE__ */ de({
789
+ }), Do = /* @__PURE__ */ ye(Oo, [["__scopeId", "data-v-08178cf1"]]), Fo = { key: 1 }, Bo = { key: 2 }, Eo = { key: 3 }, Lo = /* @__PURE__ */ ue({
800
790
  name: "JtTable",
801
791
  __name: "JtTable",
802
792
  props: {
@@ -806,7 +796,7 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
806
796
  tableEvents: {}
807
797
  },
808
798
  setup(e, { expose: t }) {
809
- const n = e, o = Ee(), r = ge(), i = L(() => n.option ?? {}), s = L(() => n.columns.filter((d) => !d.hide)), l = L(() => i.value.menuFixed ?? "right");
799
+ const n = e, o = Ee(), r = he(), i = L(() => n.option ?? {}), s = L(() => n.columns.filter((d) => !d.hide)), l = L(() => i.value.menuFixed ?? "right");
810
800
  function a(d) {
811
801
  return !!o[`${d}-header`];
812
802
  }
@@ -838,7 +828,7 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
838
828
  }
839
829
  return t({ tableRef: r }), (d, S) => {
840
830
  const k = en, R = Xt;
841
- return $(), H(R, re({
831
+ return $(), H(R, oe({
842
832
  ref_key: "tableRef",
843
833
  ref: r,
844
834
  data: d.data,
@@ -852,15 +842,15 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
852
842
  type: "selection",
853
843
  width: "55",
854
844
  align: "center"
855
- })) : fe("", !0),
845
+ })) : de("", !0),
856
846
  i.value.index ? ($(), H(k, {
857
847
  key: 1,
858
848
  type: "index",
859
849
  label: i.value.indexLabel ?? "序号",
860
850
  width: "60",
861
851
  align: "center"
862
- }, null, 8, ["label"])) : fe("", !0),
863
- ($(!0), U(Se, null, ye(s.value, (v) => ($(), H(k, re({
852
+ }, null, 8, ["label"])) : de("", !0),
853
+ ($(!0), Y(be, null, ge(s.value, (v) => ($(), H(k, oe({
864
854
  key: v.prop,
865
855
  prop: v.prop,
866
856
  label: v.label,
@@ -870,22 +860,22 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
870
860
  a(v.prop) ? {
871
861
  name: "header",
872
862
  fn: J((m) => [
873
- X(d.$slots, `${v.prop}-header`, re({ ref_for: !0 }, m), void 0, !0)
863
+ ee(d.$slots, `${v.prop}-header`, oe({ ref_for: !0 }, m), void 0, !0)
874
864
  ]),
875
865
  key: "0"
876
866
  } : void 0,
877
867
  I(v) ? {
878
868
  name: "default",
879
869
  fn: J((m) => [
880
- c(v.prop) ? X(d.$slots, `${v.prop}-data`, re({
870
+ c(v.prop) ? ee(d.$slots, `${v.prop}-data`, oe({
881
871
  key: 0,
882
872
  ref_for: !0
883
- }, m), void 0, !0) : v.dicData ? ($(), U("span", Fo, me(A(v.dicData, m.row[v.prop])), 1)) : v.formatter ? ($(), U("span", Bo, me(v.formatter(
873
+ }, m), void 0, !0) : v.dicData ? ($(), Y("span", Fo, pe(A(v.dicData, m.row[v.prop])), 1)) : v.formatter ? ($(), Y("span", Bo, pe(v.formatter(
884
874
  m.row,
885
875
  m.column,
886
876
  m.row[v.prop],
887
877
  m.$index
888
- )), 1)) : ($(), U("span", Eo, me(m.row[v.prop]), 1))
878
+ )), 1)) : ($(), Y("span", Eo, pe(m.row[v.prop]), 1))
889
879
  ]),
890
880
  key: "1"
891
881
  } : void 0
@@ -899,16 +889,16 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
899
889
  fixed: l.value
900
890
  }, {
901
891
  default: J((v) => [
902
- X(d.$slots, "menu", Me(Fe(v)), void 0, !0)
892
+ ee(d.$slots, "menu", Me(Fe(v)), void 0, !0)
903
893
  ]),
904
894
  _: 3
905
- }, 8, ["label", "width", "min-width", "align", "fixed"])) : fe("", !0)
895
+ }, 8, ["label", "width", "min-width", "align", "fixed"])) : de("", !0)
906
896
  ]),
907
897
  _: 3
908
898
  }, 16, ["data", "row-key", "empty-text"]);
909
899
  };
910
900
  }
911
- }), Vo = /* @__PURE__ */ be(Lo, [["__scopeId", "data-v-d55eb34a"]]), Po = { class: "jt-pagination" }, Ao = { class: "jt-pagination__count" }, jo = /* @__PURE__ */ de({
901
+ }), Vo = /* @__PURE__ */ ye(Lo, [["__scopeId", "data-v-d920d459"]]), Po = { class: "jt-pagination" }, Ao = { class: "jt-pagination__count" }, jo = /* @__PURE__ */ ue({
912
902
  name: "JtPagination",
913
903
  __name: "JtPagination",
914
904
  props: {
@@ -925,7 +915,7 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
925
915
  }
926
916
  return (s, l) => {
927
917
  const a = Zn;
928
- return $(), U("div", Po, [
918
+ return $(), Y("div", Po, [
929
919
  we(a, {
930
920
  "current-page": s.currentPage,
931
921
  "page-size": s.pageSize,
@@ -937,14 +927,14 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
937
927
  onCurrentChange: i,
938
928
  onSizeChange: l[2] || (l[2] = (c) => s.$emit("size-change", c))
939
929
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout"]),
940
- ee("span", Ao, "共" + me(s.total) + "条记录", 1)
930
+ te("span", Ao, "共" + pe(s.total) + "条记录", 1)
941
931
  ]);
942
932
  };
943
933
  }
944
- }), No = /* @__PURE__ */ be(jo, [["__scopeId", "data-v-4394abe7"]]), Ro = { class: "jt-crud-table" }, zo = { class: "filter-bar-box" }, xo = { class: "jt-crud-table__result" }, qo = { class: "jt-crud-table__table-group" }, Go = {
934
+ }), No = /* @__PURE__ */ ye(jo, [["__scopeId", "data-v-a1262512"]]), Ro = { class: "jt-crud-table" }, zo = { class: "filter-bar-box" }, xo = { class: "jt-crud-table__result" }, qo = { class: "jt-crud-table__table-group" }, Go = {
945
935
  key: 0,
946
936
  class: "jt-crud-table__toolbar"
947
- }, Ko = /* @__PURE__ */ de({
937
+ }, Ko = /* @__PURE__ */ ue({
948
938
  name: "JtCrudTable",
949
939
  __name: "JtCrudTable",
950
940
  props: /* @__PURE__ */ Mt({
@@ -965,7 +955,7 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
965
955
  }),
966
956
  emits: /* @__PURE__ */ Mt(["search", "reset", "page-change", "size-change"], ["update:currentPage", "update:pageSize", "update:searchModel"]),
967
957
  setup(e, { expose: t, emit: n }) {
968
- const o = e, r = n, i = pt(e, "currentPage"), s = pt(e, "pageSize"), l = pt(e, "searchModel"), a = Ee(), c = ge(), g = ge(), w = L(() => o.option), I = L(() => w.value.searchShow !== !1), V = L(
958
+ const o = e, r = n, i = pt(e, "currentPage"), s = pt(e, "pageSize"), l = pt(e, "searchModel"), a = Ee(), c = he(), g = he(), w = L(() => o.option), I = L(() => w.value.searchShow !== !1), V = L(
969
959
  () => w.value.paginationShow !== !1
970
960
  ), A = L(
971
961
  () => o.columns.filter((h) => h.search && !!a[`${h.prop}-search`])
@@ -1003,33 +993,33 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1003
993
  searchDone: M
1004
994
  }), (h, j) => {
1005
995
  const b = Qn;
1006
- return $(), U("div", Ro, [
1007
- X(h.$slots, "header", {}, void 0, !0),
1008
- ee("div", zo, [
1009
- I.value ? ($(), H(Oo, {
996
+ return $(), Y("div", Ro, [
997
+ ee(h.$slots, "header", {}, void 0, !0),
998
+ te("div", zo, [
999
+ I.value ? ($(), H(Do, {
1010
1000
  key: 0,
1011
1001
  ref_key: "filterBarRef",
1012
1002
  ref: g,
1013
1003
  modelValue: l.value,
1014
- "onUpdate:modelValue": j[0] || (j[0] = (O) => l.value = O),
1004
+ "onUpdate:modelValue": j[0] || (j[0] = (D) => l.value = D),
1015
1005
  columns: h.columns,
1016
1006
  option: w.value,
1017
1007
  onSearch: R,
1018
1008
  onReset: v
1019
1009
  }, je({ _: 2 }, [
1020
- ye(A.value, (O) => ({
1021
- name: `${O.prop}-search`,
1010
+ ge(A.value, (D) => ({
1011
+ name: `${D.prop}-search`,
1022
1012
  fn: J((T) => [
1023
- X(h.$slots, `${O.prop}-search`, Me(Fe(T)), void 0, !0)
1013
+ ee(h.$slots, `${D.prop}-search`, Me(Fe(T)), void 0, !0)
1024
1014
  ])
1025
1015
  }))
1026
- ]), 1032, ["modelValue", "columns", "option"])) : fe("", !0)
1016
+ ]), 1032, ["modelValue", "columns", "option"])) : de("", !0)
1027
1017
  ]),
1028
- ee("div", xo, [
1029
- ee("div", qo, [
1030
- se(a).toolbar ? ($(), U("div", Go, [
1031
- X(h.$slots, "toolbar", {}, void 0, !0)
1032
- ])) : fe("", !0),
1018
+ te("div", xo, [
1019
+ te("div", qo, [
1020
+ re(a).toolbar ? ($(), Y("div", Go, [
1021
+ ee(h.$slots, "toolbar", {}, void 0, !0)
1022
+ ])) : de("", !0),
1033
1023
  Yn(($(), H(Vo, {
1034
1024
  ref_key: "jtTableRef",
1035
1025
  ref: c,
@@ -1038,22 +1028,22 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1038
1028
  option: w.value,
1039
1029
  "table-events": h.tableEvents
1040
1030
  }, je({ _: 2 }, [
1041
- ye(d.value, (O) => ({
1042
- name: `${O.prop}-header`,
1031
+ ge(d.value, (D) => ({
1032
+ name: `${D.prop}-header`,
1043
1033
  fn: J((T) => [
1044
- X(h.$slots, `${O.prop}-header`, Me(Fe(T)), void 0, !0)
1034
+ ee(h.$slots, `${D.prop}-header`, Me(Fe(T)), void 0, !0)
1045
1035
  ])
1046
1036
  })),
1047
- ye(S.value, (O) => ({
1048
- name: `${O.prop}-data`,
1037
+ ge(S.value, (D) => ({
1038
+ name: `${D.prop}-data`,
1049
1039
  fn: J((T) => [
1050
- X(h.$slots, `${O.prop}-data`, Me(Fe(T)), void 0, !0)
1040
+ ee(h.$slots, `${D.prop}-data`, Me(Fe(T)), void 0, !0)
1051
1041
  ])
1052
1042
  })),
1053
1043
  w.value.menu ? {
1054
1044
  name: "menu",
1055
- fn: J((O) => [
1056
- X(h.$slots, "menu", Me(Fe(O)), void 0, !0)
1045
+ fn: J((D) => [
1046
+ ee(h.$slots, "menu", Me(Fe(D)), void 0, !0)
1057
1047
  ]),
1058
1048
  key: "0"
1059
1049
  } : void 0
@@ -1064,22 +1054,22 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1064
1054
  V.value ? ($(), H(No, {
1065
1055
  key: 0,
1066
1056
  "current-page": i.value,
1067
- "onUpdate:currentPage": j[1] || (j[1] = (O) => i.value = O),
1057
+ "onUpdate:currentPage": j[1] || (j[1] = (D) => i.value = D),
1068
1058
  "page-size": s.value,
1069
- "onUpdate:pageSize": j[2] || (j[2] = (O) => s.value = O),
1059
+ "onUpdate:pageSize": j[2] || (j[2] = (D) => s.value = D),
1070
1060
  total: h.total,
1071
1061
  option: w.value,
1072
- onPageChange: j[3] || (j[3] = (O) => h.$emit("page-change", O)),
1073
- onSizeChange: j[4] || (j[4] = (O) => h.$emit("size-change", O))
1074
- }, null, 8, ["current-page", "page-size", "total", "option"])) : fe("", !0)
1062
+ onPageChange: j[3] || (j[3] = (D) => h.$emit("page-change", D)),
1063
+ onSizeChange: j[4] || (j[4] = (D) => h.$emit("size-change", D))
1064
+ }, null, 8, ["current-page", "page-size", "total", "option"])) : de("", !0)
1075
1065
  ])
1076
1066
  ]);
1077
1067
  };
1078
1068
  }
1079
- }), Ga = /* @__PURE__ */ be(Ko, [["__scopeId", "data-v-156ba76d"]]), Yo = { class: "jt-page-header__title" }, Uo = { key: 0 }, Ho = {
1069
+ }), Ga = /* @__PURE__ */ ye(Ko, [["__scopeId", "data-v-3600b216"]]), Yo = { class: "jt-page-header__title" }, Uo = { key: 0 }, Ho = {
1080
1070
  key: 0,
1081
1071
  class: "jt-page-header__operates"
1082
- }, Jo = /* @__PURE__ */ de({
1072
+ }, Jo = /* @__PURE__ */ ue({
1083
1073
  name: "JtPageHeader",
1084
1074
  __name: "index",
1085
1075
  props: {
@@ -1093,17 +1083,17 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1093
1083
  function s(l, a) {
1094
1084
  l.onClick?.(l, a), o("operate-click", l, a);
1095
1085
  }
1096
- return (l, a) => ($(), U("div", re({
1086
+ return (l, a) => ($(), Y("div", oe({
1097
1087
  class: ["jt-page-header", `jt-page-header--${l.type}`]
1098
1088
  }, l.$attrs), [
1099
- ee("div", Yo, [
1100
- X(l.$slots, "title", {}, () => [
1101
- l.title ? ($(), U("span", Uo, me(l.title), 1)) : fe("", !0)
1089
+ te("div", Yo, [
1090
+ ee(l.$slots, "title", {}, () => [
1091
+ l.title ? ($(), Y("span", Uo, pe(l.title), 1)) : de("", !0)
1102
1092
  ], !0)
1103
1093
  ]),
1104
- i.value ? ($(), U("div", Ho, [
1105
- X(l.$slots, "operates", { operates: l.operates }, () => [
1106
- ($(!0), U(Se, null, ye(l.operates, (c) => ($(), H(se(ot), re({
1094
+ i.value ? ($(), Y("div", Ho, [
1095
+ ee(l.$slots, "operates", { operates: l.operates }, () => [
1096
+ ($(!0), Y(be, null, ge(l.operates, (c) => ($(), H(re(ot), oe({
1107
1097
  key: c.key ?? c.label,
1108
1098
  ref_for: !0
1109
1099
  }, c.buttonProps, {
@@ -1117,15 +1107,15 @@ const Io = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1117
1107
  onClick: (g) => s(c, g)
1118
1108
  }), {
1119
1109
  default: J(() => [
1120
- ee("span", null, me(c.label), 1)
1110
+ te("span", null, pe(c.label), 1)
1121
1111
  ]),
1122
1112
  _: 2
1123
1113
  }, 1040, ["type", "disabled", "loading", "plain", "text", "link", "icon", "onClick"]))), 128))
1124
1114
  ], !0)
1125
- ])) : fe("", !0)
1115
+ ])) : de("", !0)
1126
1116
  ], 16));
1127
1117
  }
1128
- }), Ka = /* @__PURE__ */ be(Jo, [["__scopeId", "data-v-0926ebf1"]]);
1118
+ }), Ka = /* @__PURE__ */ ye(Jo, [["__scopeId", "data-v-bbbd4ec6"]]);
1129
1119
  function Wo(e, t) {
1130
1120
  t = t || (() => "default-use-once-sync");
1131
1121
  const n = /* @__PURE__ */ new Map();
@@ -1169,18 +1159,18 @@ var an = { exports: {} };
1169
1159
  e.exports = o();
1170
1160
  })(it, function() {
1171
1161
  var n = 1e3, o = 6e4, r = 36e5, i = "millisecond", s = "second", l = "minute", a = "hour", c = "day", g = "week", w = "month", I = "quarter", V = "year", A = "date", d = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
1172
- var D = ["th", "st", "nd", "rd"], F = N % 100;
1173
- return "[" + N + (D[(F - 20) % 10] || D[F] || D[0]) + "]";
1174
- } }, v = function(N, D, F) {
1162
+ var O = ["th", "st", "nd", "rd"], F = N % 100;
1163
+ return "[" + N + (O[(F - 20) % 10] || O[F] || O[0]) + "]";
1164
+ } }, v = function(N, O, F) {
1175
1165
  var u = String(N);
1176
- return !u || u.length >= D ? N : "" + Array(D + 1 - u.length).join(F) + N;
1166
+ return !u || u.length >= O ? N : "" + Array(O + 1 - u.length).join(F) + N;
1177
1167
  }, m = { s: v, z: function(N) {
1178
- var D = -N.utcOffset(), F = Math.abs(D), u = Math.floor(F / 60), y = F % 60;
1179
- return (D <= 0 ? "+" : "-") + v(u, 2, "0") + ":" + v(y, 2, "0");
1180
- }, m: function N(D, F) {
1181
- if (D.date() < F.date()) return -N(F, D);
1182
- var u = 12 * (F.year() - D.year()) + (F.month() - D.month()), y = D.clone().add(u, w), _ = F - y < 0, B = D.clone().add(u + (_ ? -1 : 1), w);
1183
- return +(-(u + (F - y) / (_ ? y - B : B - y)) || 0);
1168
+ var O = -N.utcOffset(), F = Math.abs(O), u = Math.floor(F / 60), y = F % 60;
1169
+ return (O <= 0 ? "+" : "-") + v(u, 2, "0") + ":" + v(y, 2, "0");
1170
+ }, m: function N(O, F) {
1171
+ if (O.date() < F.date()) return -N(F, O);
1172
+ var u = 12 * (F.year() - O.year()) + (F.month() - O.month()), y = O.clone().add(u, w), _ = F - y < 0, E = O.clone().add(u + (_ ? -1 : 1), w);
1173
+ return +(-(u + (F - y) / (_ ? y - E : E - y)) || 0);
1184
1174
  }, a: function(N) {
1185
1175
  return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
1186
1176
  }, p: function(N) {
@@ -1191,148 +1181,148 @@ var an = { exports: {} };
1191
1181
  h[M] = R;
1192
1182
  var j = "$isDayjsObject", b = function(N) {
1193
1183
  return N instanceof ne || !(!N || !N[j]);
1194
- }, O = function N(D, F, u) {
1184
+ }, D = function N(O, F, u) {
1195
1185
  var y;
1196
- if (!D) return M;
1197
- if (typeof D == "string") {
1198
- var _ = D.toLowerCase();
1186
+ if (!O) return M;
1187
+ if (typeof O == "string") {
1188
+ var _ = O.toLowerCase();
1199
1189
  h[_] && (y = _), F && (h[_] = F, y = _);
1200
- var B = D.split("-");
1201
- if (!y && B.length > 1) return N(B[0]);
1190
+ var E = O.split("-");
1191
+ if (!y && E.length > 1) return N(E[0]);
1202
1192
  } else {
1203
- var E = D.name;
1204
- h[E] = D, y = E;
1193
+ var B = O.name;
1194
+ h[B] = O, y = B;
1205
1195
  }
1206
1196
  return !u && y && (M = y), y || !u && M;
1207
- }, T = function(N, D) {
1197
+ }, T = function(N, O) {
1208
1198
  if (b(N)) return N.clone();
1209
- var F = typeof D == "object" ? D : {};
1199
+ var F = typeof O == "object" ? O : {};
1210
1200
  return F.date = N, F.args = arguments, new ne(F);
1211
1201
  }, z = m;
1212
- z.l = O, z.i = b, z.w = function(N, D) {
1213
- return T(N, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
1202
+ z.l = D, z.i = b, z.w = function(N, O) {
1203
+ return T(N, { locale: O.$L, utc: O.$u, x: O.$x, $offset: O.$offset });
1214
1204
  };
1215
1205
  var ne = function() {
1216
1206
  function N(F) {
1217
- this.$L = O(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[j] = !0;
1207
+ this.$L = D(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[j] = !0;
1218
1208
  }
1219
- var D = N.prototype;
1220
- return D.parse = function(F) {
1209
+ var O = N.prototype;
1210
+ return O.parse = function(F) {
1221
1211
  this.$d = function(u) {
1222
1212
  var y = u.date, _ = u.utc;
1223
1213
  if (y === null) return /* @__PURE__ */ new Date(NaN);
1224
1214
  if (z.u(y)) return /* @__PURE__ */ new Date();
1225
1215
  if (y instanceof Date) return new Date(y);
1226
1216
  if (typeof y == "string" && !/Z$/i.test(y)) {
1227
- var B = y.match(S);
1228
- if (B) {
1229
- var E = B[2] - 1 || 0, q = (B[7] || "0").substring(0, 3);
1230
- return _ ? new Date(Date.UTC(B[1], E, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, q)) : new Date(B[1], E, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, q);
1217
+ var E = y.match(S);
1218
+ if (E) {
1219
+ var B = E[2] - 1 || 0, q = (E[7] || "0").substring(0, 3);
1220
+ return _ ? new Date(Date.UTC(E[1], B, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q)) : new Date(E[1], B, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q);
1231
1221
  }
1232
1222
  }
1233
1223
  return new Date(y);
1234
1224
  }(F), this.init();
1235
- }, D.init = function() {
1225
+ }, O.init = function() {
1236
1226
  var F = this.$d;
1237
1227
  this.$y = F.getFullYear(), this.$M = F.getMonth(), this.$D = F.getDate(), this.$W = F.getDay(), this.$H = F.getHours(), this.$m = F.getMinutes(), this.$s = F.getSeconds(), this.$ms = F.getMilliseconds();
1238
- }, D.$utils = function() {
1228
+ }, O.$utils = function() {
1239
1229
  return z;
1240
- }, D.isValid = function() {
1230
+ }, O.isValid = function() {
1241
1231
  return this.$d.toString() !== d;
1242
- }, D.isSame = function(F, u) {
1232
+ }, O.isSame = function(F, u) {
1243
1233
  var y = T(F);
1244
1234
  return this.startOf(u) <= y && y <= this.endOf(u);
1245
- }, D.isAfter = function(F, u) {
1235
+ }, O.isAfter = function(F, u) {
1246
1236
  return T(F) < this.startOf(u);
1247
- }, D.isBefore = function(F, u) {
1237
+ }, O.isBefore = function(F, u) {
1248
1238
  return this.endOf(u) < T(F);
1249
- }, D.$g = function(F, u, y) {
1239
+ }, O.$g = function(F, u, y) {
1250
1240
  return z.u(F) ? this[u] : this.set(y, F);
1251
- }, D.unix = function() {
1241
+ }, O.unix = function() {
1252
1242
  return Math.floor(this.valueOf() / 1e3);
1253
- }, D.valueOf = function() {
1243
+ }, O.valueOf = function() {
1254
1244
  return this.$d.getTime();
1255
- }, D.startOf = function(F, u) {
1256
- var y = this, _ = !!z.u(u) || u, B = z.p(F), E = function(oe, ae) {
1257
- var pe = z.w(y.$u ? Date.UTC(y.$y, ae, oe) : new Date(y.$y, ae, oe), y);
1258
- return _ ? pe : pe.endOf(c);
1259
- }, q = function(oe, ae) {
1260
- return z.w(y.toDate()[oe].apply(y.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), y);
1261
- }, K = this.$W, G = this.$M, Z = this.$D, ie = "set" + (this.$u ? "UTC" : "");
1262
- switch (B) {
1245
+ }, O.startOf = function(F, u) {
1246
+ var y = this, _ = !!z.u(u) || u, E = z.p(F), B = function(le, fe) {
1247
+ var Se = z.w(y.$u ? Date.UTC(y.$y, fe, le) : new Date(y.$y, fe, le), y);
1248
+ return _ ? Se : Se.endOf(c);
1249
+ }, q = function(le, fe) {
1250
+ return z.w(y.toDate()[le].apply(y.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(fe)), y);
1251
+ }, U = this.$W, G = this.$M, X = this.$D, P = "set" + (this.$u ? "UTC" : "");
1252
+ switch (E) {
1263
1253
  case V:
1264
- return _ ? E(1, 0) : E(31, 11);
1254
+ return _ ? B(1, 0) : B(31, 11);
1265
1255
  case w:
1266
- return _ ? E(1, G) : E(0, G + 1);
1256
+ return _ ? B(1, G) : B(0, G + 1);
1267
1257
  case g:
1268
- var P = this.$locale().weekStart || 0, te = (K < P ? K + 7 : K) - P;
1269
- return E(_ ? Z - te : Z + (6 - te), G);
1258
+ var Z = this.$locale().weekStart || 0, ce = (U < Z ? U + 7 : U) - Z;
1259
+ return B(_ ? X - ce : X + (6 - ce), G);
1270
1260
  case c:
1271
1261
  case A:
1272
- return q(ie + "Hours", 0);
1262
+ return q(P + "Hours", 0);
1273
1263
  case a:
1274
- return q(ie + "Minutes", 1);
1264
+ return q(P + "Minutes", 1);
1275
1265
  case l:
1276
- return q(ie + "Seconds", 2);
1266
+ return q(P + "Seconds", 2);
1277
1267
  case s:
1278
- return q(ie + "Milliseconds", 3);
1268
+ return q(P + "Milliseconds", 3);
1279
1269
  default:
1280
1270
  return this.clone();
1281
1271
  }
1282
- }, D.endOf = function(F) {
1272
+ }, O.endOf = function(F) {
1283
1273
  return this.startOf(F, !1);
1284
- }, D.$set = function(F, u) {
1285
- var y, _ = z.p(F), B = "set" + (this.$u ? "UTC" : ""), E = (y = {}, y[c] = B + "Date", y[A] = B + "Date", y[w] = B + "Month", y[V] = B + "FullYear", y[a] = B + "Hours", y[l] = B + "Minutes", y[s] = B + "Seconds", y[i] = B + "Milliseconds", y)[_], q = _ === c ? this.$D + (u - this.$W) : u;
1274
+ }, O.$set = function(F, u) {
1275
+ var y, _ = z.p(F), E = "set" + (this.$u ? "UTC" : ""), B = (y = {}, y[c] = E + "Date", y[A] = E + "Date", y[w] = E + "Month", y[V] = E + "FullYear", y[a] = E + "Hours", y[l] = E + "Minutes", y[s] = E + "Seconds", y[i] = E + "Milliseconds", y)[_], q = _ === c ? this.$D + (u - this.$W) : u;
1286
1276
  if (_ === w || _ === V) {
1287
- var K = this.clone().set(A, 1);
1288
- K.$d[E](q), K.init(), this.$d = K.set(A, Math.min(this.$D, K.daysInMonth())).$d;
1289
- } else E && this.$d[E](q);
1277
+ var U = this.clone().set(A, 1);
1278
+ U.$d[B](q), U.init(), this.$d = U.set(A, Math.min(this.$D, U.daysInMonth())).$d;
1279
+ } else B && this.$d[B](q);
1290
1280
  return this.init(), this;
1291
- }, D.set = function(F, u) {
1281
+ }, O.set = function(F, u) {
1292
1282
  return this.clone().$set(F, u);
1293
- }, D.get = function(F) {
1283
+ }, O.get = function(F) {
1294
1284
  return this[z.p(F)]();
1295
- }, D.add = function(F, u) {
1285
+ }, O.add = function(F, u) {
1296
1286
  var y, _ = this;
1297
1287
  F = Number(F);
1298
- var B = z.p(u), E = function(G) {
1299
- var Z = T(_);
1300
- return z.w(Z.date(Z.date() + Math.round(G * F)), _);
1288
+ var E = z.p(u), B = function(G) {
1289
+ var X = T(_);
1290
+ return z.w(X.date(X.date() + Math.round(G * F)), _);
1301
1291
  };
1302
- if (B === w) return this.set(w, this.$M + F);
1303
- if (B === V) return this.set(V, this.$y + F);
1304
- if (B === c) return E(1);
1305
- if (B === g) return E(7);
1306
- var q = (y = {}, y[l] = o, y[a] = r, y[s] = n, y)[B] || 1, K = this.$d.getTime() + F * q;
1307
- return z.w(K, this);
1308
- }, D.subtract = function(F, u) {
1292
+ if (E === w) return this.set(w, this.$M + F);
1293
+ if (E === V) return this.set(V, this.$y + F);
1294
+ if (E === c) return B(1);
1295
+ if (E === g) return B(7);
1296
+ var q = (y = {}, y[l] = o, y[a] = r, y[s] = n, y)[E] || 1, U = this.$d.getTime() + F * q;
1297
+ return z.w(U, this);
1298
+ }, O.subtract = function(F, u) {
1309
1299
  return this.add(-1 * F, u);
1310
- }, D.format = function(F) {
1300
+ }, O.format = function(F) {
1311
1301
  var u = this, y = this.$locale();
1312
1302
  if (!this.isValid()) return y.invalidDate || d;
1313
- var _ = F || "YYYY-MM-DDTHH:mm:ssZ", B = z.z(this), E = this.$H, q = this.$m, K = this.$M, G = y.weekdays, Z = y.months, ie = y.meridiem, P = function(ae, pe, De, Ie) {
1314
- return ae && (ae[pe] || ae(u, _)) || De[pe].slice(0, Ie);
1315
- }, te = function(ae) {
1316
- return z.s(E % 12 || 12, ae, "0");
1317
- }, oe = ie || function(ae, pe, De) {
1318
- var Ie = ae < 12 ? "AM" : "PM";
1319
- return De ? Ie.toLowerCase() : Ie;
1303
+ var _ = F || "YYYY-MM-DDTHH:mm:ssZ", E = z.z(this), B = this.$H, q = this.$m, U = this.$M, G = y.weekdays, X = y.months, P = y.meridiem, Z = function(fe, Se, Oe, Ie) {
1304
+ return fe && (fe[Se] || fe(u, _)) || Oe[Se].slice(0, Ie);
1305
+ }, ce = function(fe) {
1306
+ return z.s(B % 12 || 12, fe, "0");
1307
+ }, le = P || function(fe, Se, Oe) {
1308
+ var Ie = fe < 12 ? "AM" : "PM";
1309
+ return Oe ? Ie.toLowerCase() : Ie;
1320
1310
  };
1321
- return _.replace(k, function(ae, pe) {
1322
- return pe || function(De) {
1323
- switch (De) {
1311
+ return _.replace(k, function(fe, Se) {
1312
+ return Se || function(Oe) {
1313
+ switch (Oe) {
1324
1314
  case "YY":
1325
1315
  return String(u.$y).slice(-2);
1326
1316
  case "YYYY":
1327
1317
  return z.s(u.$y, 4, "0");
1328
1318
  case "M":
1329
- return K + 1;
1319
+ return U + 1;
1330
1320
  case "MM":
1331
- return z.s(K + 1, 2, "0");
1321
+ return z.s(U + 1, 2, "0");
1332
1322
  case "MMM":
1333
- return P(y.monthsShort, K, Z, 3);
1323
+ return Z(y.monthsShort, U, X, 3);
1334
1324
  case "MMMM":
1335
- return P(Z, K);
1325
+ return Z(X, U);
1336
1326
  case "D":
1337
1327
  return u.$D;
1338
1328
  case "DD":
@@ -1340,23 +1330,23 @@ var an = { exports: {} };
1340
1330
  case "d":
1341
1331
  return String(u.$W);
1342
1332
  case "dd":
1343
- return P(y.weekdaysMin, u.$W, G, 2);
1333
+ return Z(y.weekdaysMin, u.$W, G, 2);
1344
1334
  case "ddd":
1345
- return P(y.weekdaysShort, u.$W, G, 3);
1335
+ return Z(y.weekdaysShort, u.$W, G, 3);
1346
1336
  case "dddd":
1347
1337
  return G[u.$W];
1348
1338
  case "H":
1349
- return String(E);
1339
+ return String(B);
1350
1340
  case "HH":
1351
- return z.s(E, 2, "0");
1341
+ return z.s(B, 2, "0");
1352
1342
  case "h":
1353
- return te(1);
1343
+ return ce(1);
1354
1344
  case "hh":
1355
- return te(2);
1345
+ return ce(2);
1356
1346
  case "a":
1357
- return oe(E, q, !0);
1347
+ return le(B, q, !0);
1358
1348
  case "A":
1359
- return oe(E, q, !1);
1349
+ return le(B, q, !1);
1360
1350
  case "m":
1361
1351
  return String(q);
1362
1352
  case "mm":
@@ -1368,32 +1358,32 @@ var an = { exports: {} };
1368
1358
  case "SSS":
1369
1359
  return z.s(u.$ms, 3, "0");
1370
1360
  case "Z":
1371
- return B;
1361
+ return E;
1372
1362
  }
1373
1363
  return null;
1374
- }(ae) || B.replace(":", "");
1364
+ }(fe) || E.replace(":", "");
1375
1365
  });
1376
- }, D.utcOffset = function() {
1366
+ }, O.utcOffset = function() {
1377
1367
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1378
- }, D.diff = function(F, u, y) {
1379
- var _, B = this, E = z.p(u), q = T(F), K = (q.utcOffset() - this.utcOffset()) * o, G = this - q, Z = function() {
1380
- return z.m(B, q);
1368
+ }, O.diff = function(F, u, y) {
1369
+ var _, E = this, B = z.p(u), q = T(F), U = (q.utcOffset() - this.utcOffset()) * o, G = this - q, X = function() {
1370
+ return z.m(E, q);
1381
1371
  };
1382
- switch (E) {
1372
+ switch (B) {
1383
1373
  case V:
1384
- _ = Z() / 12;
1374
+ _ = X() / 12;
1385
1375
  break;
1386
1376
  case w:
1387
- _ = Z();
1377
+ _ = X();
1388
1378
  break;
1389
1379
  case I:
1390
- _ = Z() / 3;
1380
+ _ = X() / 3;
1391
1381
  break;
1392
1382
  case g:
1393
- _ = (G - K) / 6048e5;
1383
+ _ = (G - U) / 6048e5;
1394
1384
  break;
1395
1385
  case c:
1396
- _ = (G - K) / 864e5;
1386
+ _ = (G - U) / 864e5;
1397
1387
  break;
1398
1388
  case a:
1399
1389
  _ = G / r;
@@ -1408,33 +1398,33 @@ var an = { exports: {} };
1408
1398
  _ = G;
1409
1399
  }
1410
1400
  return y ? _ : z.a(_);
1411
- }, D.daysInMonth = function() {
1401
+ }, O.daysInMonth = function() {
1412
1402
  return this.endOf(w).$D;
1413
- }, D.$locale = function() {
1403
+ }, O.$locale = function() {
1414
1404
  return h[this.$L];
1415
- }, D.locale = function(F, u) {
1405
+ }, O.locale = function(F, u) {
1416
1406
  if (!F) return this.$L;
1417
- var y = this.clone(), _ = O(F, u, !0);
1407
+ var y = this.clone(), _ = D(F, u, !0);
1418
1408
  return _ && (y.$L = _), y;
1419
- }, D.clone = function() {
1409
+ }, O.clone = function() {
1420
1410
  return z.w(this.$d, this);
1421
- }, D.toDate = function() {
1411
+ }, O.toDate = function() {
1422
1412
  return new Date(this.valueOf());
1423
- }, D.toJSON = function() {
1413
+ }, O.toJSON = function() {
1424
1414
  return this.isValid() ? this.toISOString() : null;
1425
- }, D.toISOString = function() {
1415
+ }, O.toISOString = function() {
1426
1416
  return this.$d.toISOString();
1427
- }, D.toString = function() {
1417
+ }, O.toString = function() {
1428
1418
  return this.$d.toUTCString();
1429
1419
  }, N;
1430
1420
  }(), x = ne.prototype;
1431
1421
  return T.prototype = x, [["$ms", i], ["$s", s], ["$m", l], ["$H", a], ["$W", c], ["$M", w], ["$y", V], ["$D", A]].forEach(function(N) {
1432
- x[N[1]] = function(D) {
1433
- return this.$g(D, N[0], N[1]);
1422
+ x[N[1]] = function(O) {
1423
+ return this.$g(O, N[0], N[1]);
1434
1424
  };
1435
- }), T.extend = function(N, D) {
1436
- return N.$i || (N(D, ne, T), N.$i = !0), T;
1437
- }, T.locale = O, T.isDayjs = b, T.unix = function(N) {
1425
+ }), T.extend = function(N, O) {
1426
+ return N.$i || (N(O, ne, T), N.$i = !0), T;
1427
+ }, T.locale = D, T.isDayjs = b, T.unix = function(N) {
1438
1428
  return T(1e3 * N);
1439
1429
  }, T.en = h[M], T.Ls = h, T.p = {}, T;
1440
1430
  });
@@ -1503,27 +1493,27 @@ var sn = { exports: {} };
1503
1493
  k = S, R = a && a.formats;
1504
1494
  for (var v = (S = k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(T, z, ne) {
1505
1495
  var x = ne && ne.toUpperCase();
1506
- return z || R[ne] || n[ne] || R[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(N, D, F) {
1507
- return D || F.slice(1);
1496
+ return z || R[ne] || n[ne] || R[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(N, O, F) {
1497
+ return O || F.slice(1);
1508
1498
  });
1509
1499
  })).match(o), m = v.length, M = 0; M < m; M += 1) {
1510
- var h = v[M], j = A[h], b = j && j[0], O = j && j[1];
1511
- v[M] = O ? { regex: b, parser: O } : h.replace(/^\[|\]$/g, "");
1500
+ var h = v[M], j = A[h], b = j && j[0], D = j && j[1];
1501
+ v[M] = D ? { regex: b, parser: D } : h.replace(/^\[|\]$/g, "");
1512
1502
  }
1513
1503
  return function(T) {
1514
1504
  for (var z = {}, ne = 0, x = 0; ne < m; ne += 1) {
1515
1505
  var N = v[ne];
1516
1506
  if (typeof N == "string") x += N.length;
1517
1507
  else {
1518
- var D = N.regex, F = N.parser, u = T.slice(x), y = D.exec(u)[0];
1508
+ var O = N.regex, F = N.parser, u = T.slice(x), y = O.exec(u)[0];
1519
1509
  F.call(z, y), T = T.replace(y, "");
1520
1510
  }
1521
1511
  }
1522
1512
  return function(_) {
1523
- var B = _.afternoon;
1524
- if (B !== void 0) {
1525
- var E = _.hours;
1526
- B ? E < 12 && (_.hours += 12) : E === 12 && (_.hours = 0), delete _.afternoon;
1513
+ var E = _.afternoon;
1514
+ if (E !== void 0) {
1515
+ var B = _.hours;
1516
+ E ? B < 12 && (_.hours += 12) : B === 12 && (_.hours = 0), delete _.afternoon;
1527
1517
  }
1528
1518
  }(z), z;
1529
1519
  };
@@ -1534,28 +1524,28 @@ var sn = { exports: {} };
1534
1524
  v.parse = function(M) {
1535
1525
  var h = M.date, j = M.utc, b = M.args;
1536
1526
  this.$u = j;
1537
- var O = b[1];
1538
- if (typeof O == "string") {
1527
+ var D = b[1];
1528
+ if (typeof D == "string") {
1539
1529
  var T = b[2] === !0, z = b[3] === !0, ne = T || z, x = b[2];
1540
- z && (x = b[2]), a = this.$locale(), !T && x && (a = R.Ls[x]), this.$d = function(u, y, _, B) {
1530
+ z && (x = b[2]), a = this.$locale(), !T && x && (a = R.Ls[x]), this.$d = function(u, y, _, E) {
1541
1531
  try {
1542
1532
  if (["x", "X"].indexOf(y) > -1) return new Date((y === "X" ? 1e3 : 1) * u);
1543
- var E = d(y)(u), q = E.year, K = E.month, G = E.day, Z = E.hours, ie = E.minutes, P = E.seconds, te = E.milliseconds, oe = E.zone, ae = E.week, pe = /* @__PURE__ */ new Date(), De = G || (q || K ? 1 : pe.getDate()), Ie = q || pe.getFullYear(), ze = 0;
1544
- q && !K || (ze = K > 0 ? K - 1 : pe.getMonth());
1545
- var xe, tt = Z || 0, qe = ie || 0, p = P || 0, f = te || 0;
1546
- return oe ? new Date(Date.UTC(Ie, ze, De, tt, qe, p, f + 60 * oe.offset * 1e3)) : _ ? new Date(Date.UTC(Ie, ze, De, tt, qe, p, f)) : (xe = new Date(Ie, ze, De, tt, qe, p, f), ae && (xe = B(xe).week(ae).toDate()), xe);
1533
+ var B = d(y)(u), q = B.year, U = B.month, G = B.day, X = B.hours, P = B.minutes, Z = B.seconds, ce = B.milliseconds, le = B.zone, fe = B.week, Se = /* @__PURE__ */ new Date(), Oe = G || (q || U ? 1 : Se.getDate()), Ie = q || Se.getFullYear(), ze = 0;
1534
+ q && !U || (ze = U > 0 ? U - 1 : Se.getMonth());
1535
+ var xe, tt = X || 0, qe = P || 0, p = Z || 0, f = ce || 0;
1536
+ return le ? new Date(Date.UTC(Ie, ze, Oe, tt, qe, p, f + 60 * le.offset * 1e3)) : _ ? new Date(Date.UTC(Ie, ze, Oe, tt, qe, p, f)) : (xe = new Date(Ie, ze, Oe, tt, qe, p, f), fe && (xe = E(xe).week(fe).toDate()), xe);
1547
1537
  } catch {
1548
1538
  return /* @__PURE__ */ new Date("");
1549
1539
  }
1550
- }(h, O, j, R), this.init(), x && x !== !0 && (this.$L = this.locale(x).$L), ne && h != this.format(O) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
1551
- } else if (O instanceof Array) for (var N = O.length, D = 1; D <= N; D += 1) {
1552
- b[1] = O[D - 1];
1540
+ }(h, D, j, R), this.init(), x && x !== !0 && (this.$L = this.locale(x).$L), ne && h != this.format(D) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
1541
+ } else if (D instanceof Array) for (var N = D.length, O = 1; O <= N; O += 1) {
1542
+ b[1] = D[O - 1];
1553
1543
  var F = R.apply(this, b);
1554
1544
  if (F.isValid()) {
1555
1545
  this.$d = F.$d, this.$L = F.$L, this.init();
1556
1546
  break;
1557
1547
  }
1558
- D === N && (this.$d = /* @__PURE__ */ new Date(""));
1548
+ O === N && (this.$d = /* @__PURE__ */ new Date(""));
1559
1549
  }
1560
1550
  else m.call(this, M);
1561
1551
  };
@@ -1611,10 +1601,10 @@ var ln = { exports: {} };
1611
1601
  var d = A && V, S = A || V || l, k = c(+s(), S);
1612
1602
  if (typeof I != "string") return s(I).tz(S);
1613
1603
  var R = function(h, j, b) {
1614
- var O = h - 60 * j * 1e3, T = c(O, b);
1615
- if (j === T) return [O, j];
1616
- var z = c(O -= 60 * (T - j) * 1e3, b);
1617
- return T === z ? [O, T] : [h - 60 * Math.min(T, z) * 1e3, Math.max(T, z)];
1604
+ var D = h - 60 * j * 1e3, T = c(D, b);
1605
+ if (j === T) return [D, j];
1606
+ var z = c(D -= 60 * (T - j) * 1e3, b);
1607
+ return T === z ? [D, T] : [h - 60 * Math.min(T, z) * 1e3, Math.max(T, z)];
1618
1608
  }(s.utc(I, d).valueOf(), k, S), v = R[0], m = R[1], M = s(v).utcOffset(m);
1619
1609
  return M.$x.$timezone = S, M;
1620
1610
  }, s.tz.guess = function() {
@@ -1663,8 +1653,8 @@ var cn = { exports: {} };
1663
1653
  M === void 0 && (M = "");
1664
1654
  var h = M.match(o);
1665
1655
  if (!h) return null;
1666
- var j = ("" + h[0]).match(r) || ["-", 0, 0], b = j[0], O = 60 * +j[1] + +j[2];
1667
- return O === 0 ? 0 : b === "+" ? O : -O;
1656
+ var j = ("" + h[0]).match(r) || ["-", 0, 0], b = j[0], D = 60 * +j[1] + +j[2];
1657
+ return D === 0 ? 0 : b === "+" ? D : -D;
1668
1658
  }(d), d === null)) return this;
1669
1659
  var R = Math.abs(d) <= 16 ? 60 * d : d;
1670
1660
  if (R === 0) return this.utc(S);
@@ -1825,9 +1815,9 @@ function lr(e, t, n) {
1825
1815
  text: e.name || n
1826
1816
  };
1827
1817
  if (e && typeof e == "object") {
1828
- const o = e, r = cr(o, n), i = Oe(o.url);
1818
+ const o = e, r = cr(o, n), i = De(o.url);
1829
1819
  if (i) {
1830
- const l = { url: i }, a = Oe(o.name), c = Oe(o.mimeType), g = Oe(o.extension);
1820
+ const l = { url: i }, a = De(o.name), c = De(o.mimeType), g = De(o.extension);
1831
1821
  return a && (l.name = a), c && (l.mimeType = c), g && (l.extension = g), {
1832
1822
  key: String(t),
1833
1823
  text: r,
@@ -1837,7 +1827,7 @@ function lr(e, t, n) {
1837
1827
  }
1838
1828
  };
1839
1829
  }
1840
- const s = Oe(o.fileId);
1830
+ const s = De(o.fileId);
1841
1831
  return s ? {
1842
1832
  key: String(t),
1843
1833
  text: r,
@@ -1858,9 +1848,9 @@ function lr(e, t, n) {
1858
1848
  };
1859
1849
  }
1860
1850
  function cr(e, t) {
1861
- return Oe(e.name) || Oe(e.fileName) || Oe(e.filename) || Oe(e.url) || Oe(e.fileId) || t;
1851
+ return De(e.name) || De(e.fileName) || De(e.filename) || De(e.url) || De(e.fileId) || t;
1862
1852
  }
1863
- function Oe(e) {
1853
+ function De(e) {
1864
1854
  return String(e ?? "").trim();
1865
1855
  }
1866
1856
  function Lt(e) {
@@ -1988,11 +1978,11 @@ function yr(e) {
1988
1978
  return e.multRow || e.htmlDisplay === "T" ? "table" : "form";
1989
1979
  }
1990
1980
  function br(e, t = {}) {
1991
- const n = e.renderType === "table" ? e.rows.map((a) => bt(St(a))) : [bt(St(e.model))], o = ue(e.operationInfo), r = ue(o.editInfoSet), i = ue(r.params), s = ue(o.queryInfoSet), l = ue(s.params);
1981
+ const n = e.renderType === "table" ? e.rows.map((a) => bt(St(a))) : [bt(St(e.model))], o = ie(e.operationInfo), r = ie(o.editInfoSet), i = ie(r.params), s = ie(o.queryInfoSet), l = ie(s.params);
1992
1982
  return {
1993
1983
  ...t,
1994
- infSchmId: t.infSchmId ?? ce(e.raw.infSchmId),
1995
- emplid: t.emplid ?? ce(e.raw.emplid),
1984
+ infSchmId: t.infSchmId ?? se(e.raw.infSchmId),
1985
+ emplid: t.emplid ?? se(e.raw.emplid),
1996
1986
  // 保存优先使用接口出参里的信息集挂载 tagId,其次才回退到请求节点 tagId。
1997
1987
  tagId: Q(
1998
1988
  e.tagId || i.tagId || l.tagId || t.tagId || e.requestTagId
@@ -2018,13 +2008,13 @@ function Ya(e) {
2018
2008
  }
2019
2009
  function yn(e) {
2020
2010
  const t = _n(e);
2021
- return (Array.isArray(t) ? t : We(ue(t), ["options", "list", "records", "data"])).map((o) => {
2022
- const r = ue(o), i = r.fieldvalue ?? r.fieldValue;
2011
+ return (Array.isArray(t) ? t : We(ie(t), ["options", "list", "records", "data"])).map((o) => {
2012
+ const r = ie(o), i = r.fieldvalue ?? r.fieldValue;
2023
2013
  return {
2024
2014
  id: r.id,
2025
2015
  code: r.code ?? i ?? r.value ?? r.id,
2026
2016
  label: Q(r.label ?? r.name ?? r.descr ?? r.descrshort ?? r.text ?? i ?? r.value ?? r.code),
2027
- name: ce(r.name),
2017
+ name: se(r.name),
2028
2018
  value: r.value ?? i ?? r.code ?? r.id ?? r.label ?? r.name,
2029
2019
  raw: o
2030
2020
  };
@@ -2035,7 +2025,7 @@ function Sr(e, t, n) {
2035
2025
  return o.length > 0 ? o.map((r) => Nt(r, t, n, o.length === 1)) : e.infSetMark || e.infSetFields || e.fields ? [Nt(e, t, n, !0)] : [];
2036
2026
  }
2037
2027
  function Nt(e, t, n, o) {
2038
- const r = ue(e), i = wr(r.infSetMark ?? r), s = Ir(r.infSetFields ?? r.fields ?? []), l = yr(i), a = $r(r.infSetValues ?? r.rows ?? r.data, s, l), c = a[0] ? St(a[0]) : bn(s), g = ue(r.tag), w = Q(
2028
+ const r = ie(e), i = wr(r.infSetMark ?? r), s = Ir(r.infSetFields ?? r.fields ?? []), l = yr(i), a = $r(r.infSetValues ?? r.rows ?? r.data, s, l), c = a[0] ? St(a[0]) : bn(s), g = ie(r.tag), w = Q(
2039
2029
  r.tagId ?? r.infTagId ?? g.tagId ?? g.infTagId ?? i.raw.tagId ?? i.raw.infTagId
2040
2030
  ), I = Q(t.tagId ?? n?.tagId), V = Q(n?.key), A = o ? t.infSetId ?? n?.infSetId : void 0, d = o ? t.setId : void 0, S = o ? n?.code : void 0, k = i.setId || Q(r.setId), R = Q(r.infSetId) || k || Q(A), v = k || Q(d ?? R), m = i.code || Q(r.code ?? S ?? v), M = v || m || R || w, h = {
2041
2031
  key: M,
@@ -2058,12 +2048,12 @@ function Nt(e, t, n, o) {
2058
2048
  return h.renderType === "form" && a.length === 0 && (h.rows = [{ ...c, __rowKey: `${M}-0` }]), h;
2059
2049
  }
2060
2050
  function wr(e) {
2061
- const t = ue(e), n = Q(t.htmlDisplay || "F");
2051
+ const t = ie(e), n = Q(t.htmlDisplay || "F");
2062
2052
  return {
2063
2053
  name: Q(t.name ?? t.title),
2064
- parentName: ce(t.parentName),
2065
- value: ce(t.value),
2066
- type: ce(t.type),
2054
+ parentName: se(t.parentName),
2055
+ value: se(t.value),
2056
+ type: se(t.type),
2067
2057
  code: Q(t.code),
2068
2058
  setId: Q(t.setId ?? t.id ?? t.key),
2069
2059
  htmlDisplay: n,
@@ -2076,17 +2066,17 @@ function Ir(e) {
2076
2066
  return (Array.isArray(e) ? e : []).map((n, o) => _r(n, o));
2077
2067
  }
2078
2068
  function _r(e, t) {
2079
- const n = ue(e), o = Q(n.code ?? n.fieldCode ?? n.prop ?? n.key ?? `field_${t}`), r = Q(n.label ?? n.name ?? n.tagName ?? o), i = $n(n.interface ?? n.interfaceField), s = Rt(n.cascadeDependFields);
2069
+ const n = ie(e), o = Q(n.code ?? n.fieldCode ?? n.prop ?? n.key ?? `field_${t}`), r = Q(n.label ?? n.name ?? n.tagName ?? o), i = $n(n.interface ?? n.interfaceField), s = Rt(n.cascadeDependFields);
2080
2070
  return {
2081
2071
  id: Q(n.id ?? n.key ?? n.prop ?? o),
2082
2072
  key: Q(n.key ?? n.prop ?? o),
2083
2073
  code: o,
2084
2074
  label: r,
2085
2075
  value: n.value ?? n.defaultValue ?? "",
2086
- type: Or(n),
2087
- fieldType: ce(n.fieldType),
2088
- frontInputType: ce(n.frontInputType),
2089
- renderType: Dr(n),
2076
+ type: Dr(n),
2077
+ fieldType: se(n.fieldType),
2078
+ frontInputType: se(n.frontInputType),
2079
+ renderType: Or(n),
2090
2080
  required: $e(n.required ?? n.isRequired),
2091
2081
  readonly: $e(n.readonly ?? n.disabled),
2092
2082
  visible: n.visible === void 0 ? $e(n.visibled ?? !0) : $e(n.visible),
@@ -2097,7 +2087,7 @@ function _r(e, t) {
2097
2087
  span: Mn(n.span ?? n.colSpan),
2098
2088
  width: zt(n.width),
2099
2089
  minWidth: zt(n.minWidth),
2100
- placeholder: ce(n.placeholder),
2090
+ placeholder: se(n.placeholder),
2101
2091
  options: yn(n.options),
2102
2092
  interface: i,
2103
2093
  cascadeClearFields: Rt(n.cascadeClearFields),
@@ -2112,10 +2102,10 @@ function _r(e, t) {
2112
2102
  }
2113
2103
  function $r(e, t, n) {
2114
2104
  if (Array.isArray(e) && e.some((i) => {
2115
- const s = ue(i);
2105
+ const s = ie(i);
2116
2106
  return t.some((l) => s[l.code] !== void 0 || s[l.key] !== void 0);
2117
2107
  }))
2118
- return e.map((i, s) => ({ ...ue(i), __rowKey: Q(ue(i).__rowKey ?? ue(i).key ?? s) }));
2108
+ return e.map((i, s) => ({ ...ie(i), __rowKey: Q(ie(i).__rowKey ?? ie(i).key ?? s) }));
2119
2109
  const o = bn(t);
2120
2110
  return n === "form" && Object.keys(o).length ? [{ ...o, __rowKey: "0" }] : [];
2121
2111
  }
@@ -2123,7 +2113,7 @@ function bn(e) {
2123
2113
  return e.reduce((t, n) => (t[n.code || n.key] = n.value, t), {});
2124
2114
  }
2125
2115
  function Sn(e, t, n = "") {
2126
- const o = ue(e), r = We(o, ["children", "list", "tags"]).flatMap((s) => Sn(s, t, Q(o.tagId ?? o.id ?? o.key))), i = Tr(o.infSetList);
2116
+ const o = ie(e), r = We(o, ["children", "list", "tags"]).flatMap((s) => Sn(s, t, Q(o.tagId ?? o.id ?? o.key))), i = Tr(o.infSetList);
2127
2117
  return r.length === 0 && i.length > 0 ? i.map((s, l) => kr(o, s, t, n, l)) : [Cr(o, t, n, r)];
2128
2118
  }
2129
2119
  function Cr(e, t, n, o) {
@@ -2134,15 +2124,15 @@ function Cr(e, t, n, o) {
2134
2124
  tagId: r,
2135
2125
  tagName: i,
2136
2126
  label: i,
2137
- tagLevel: ce(e.tagLevel ?? e.level) ?? null,
2127
+ tagLevel: se(e.tagLevel ?? e.level) ?? null,
2138
2128
  level: kn(e.tagLevel ?? e.level),
2139
- parentTagId: ce(e.parentTagId ?? e.parentId ?? n),
2140
- parentId: ce(e.parentTagId ?? e.parentId ?? n) ?? null,
2141
- infSchmId: ce(e.infSchmId ?? t?.infSchmId),
2129
+ parentTagId: se(e.parentTagId ?? e.parentId ?? n),
2130
+ parentId: se(e.parentTagId ?? e.parentId ?? n) ?? null,
2131
+ infSchmId: se(e.infSchmId ?? t?.infSchmId),
2142
2132
  schemeId: Q(e.infSchmId ?? t?.infSchmId),
2143
- infSetId: ce(e.infSetId ?? e.setId),
2144
- setId: ce(e.setId),
2145
- code: ce(e.code),
2133
+ infSetId: se(e.infSetId ?? e.setId),
2134
+ setId: se(e.setId),
2135
+ code: se(e.code),
2146
2136
  children: o,
2147
2137
  infSetList: [],
2148
2138
  operationInfo: ft(e.operationInfo),
@@ -2151,18 +2141,18 @@ function Cr(e, t, n, o) {
2151
2141
  };
2152
2142
  }
2153
2143
  function kr(e, t, n, o, r) {
2154
- const i = Q(e.tagId ?? e.id ?? e.key), s = Q(e.tagName ?? e.name ?? e.label ?? i), l = t.infSetId || Q(t.setId), a = t.setId || l, c = l || `${i}-${r}`, g = t.code || ce(e.code ?? l);
2144
+ const i = Q(e.tagId ?? e.id ?? e.key), s = Q(e.tagName ?? e.name ?? e.label ?? i), l = t.infSetId || Q(t.setId), a = t.setId || l, c = l || `${i}-${r}`, g = t.code || se(e.code ?? l);
2155
2145
  return {
2156
2146
  key: c,
2157
2147
  id: c,
2158
2148
  tagId: i,
2159
2149
  tagName: s,
2160
2150
  label: s,
2161
- tagLevel: ce(e.tagLevel ?? e.level) ?? null,
2151
+ tagLevel: se(e.tagLevel ?? e.level) ?? null,
2162
2152
  level: kn(e.tagLevel ?? e.level),
2163
- parentTagId: ce(e.parentTagId ?? e.parentId ?? o),
2164
- parentId: ce(e.parentTagId ?? e.parentId ?? o) ?? null,
2165
- infSchmId: ce(e.infSchmId ?? n?.infSchmId),
2153
+ parentTagId: se(e.parentTagId ?? e.parentId ?? o),
2154
+ parentId: se(e.parentTagId ?? e.parentId ?? o) ?? null,
2155
+ infSchmId: se(e.infSchmId ?? n?.infSchmId),
2166
2156
  schemeId: Q(e.infSchmId ?? n?.infSchmId),
2167
2157
  infSetId: l,
2168
2158
  setId: a,
@@ -2180,7 +2170,7 @@ function kr(e, t, n, o, r) {
2180
2170
  };
2181
2171
  }
2182
2172
  function wn(e, t = {}) {
2183
- const n = ue(e.globalInfoSchmMark ?? e.scheme ?? e), o = Q(n.infSchmId ?? t.infSchmId), r = Q(n.emplid ?? t.emplid);
2173
+ const n = ie(e.globalInfoSchmMark ?? e.scheme ?? e), o = Q(n.infSchmId ?? t.infSchmId), r = Q(n.emplid ?? t.emplid);
2184
2174
  return !o && !r && Object.keys(n).length === 0 ? null : {
2185
2175
  infSchmId: o,
2186
2176
  emplid: r,
@@ -2193,27 +2183,27 @@ function wn(e, t = {}) {
2193
2183
  function Mr(e) {
2194
2184
  if (Array.isArray(e.globalInfoSchmConfig))
2195
2185
  return e.globalInfoSchmConfig;
2196
- const t = ue(e.globalInfoSchmConfig), n = We(t, ["children", "tree", "list", "tags"]);
2186
+ const t = ie(e.globalInfoSchmConfig), n = We(t, ["children", "tree", "list", "tags"]);
2197
2187
  return n.length ? n : We(e, ["children", "tree", "list", "tags", "records"]);
2198
2188
  }
2199
2189
  function Tr(e) {
2200
2190
  return Array.isArray(e) ? e.map((t) => {
2201
- const n = ue(t);
2191
+ const n = ie(t);
2202
2192
  return {
2203
2193
  infSetId: Q(n.infSetId ?? n.setId ?? n.id),
2204
- setId: ce(n.setId),
2194
+ setId: se(n.setId),
2205
2195
  // 信息集列表里的 code 是页面 section 插槽接管点,必须从树接口阶段保留下来。
2206
- code: ce(n.code),
2196
+ code: se(n.code),
2207
2197
  operationInfo: ft(n.operationInfo),
2208
2198
  raw: n
2209
2199
  };
2210
2200
  }) : [];
2211
2201
  }
2212
2202
  function In(e) {
2213
- return ue(_n(e));
2203
+ return ie(_n(e));
2214
2204
  }
2215
2205
  function _n(e) {
2216
- const t = ue(e);
2206
+ const t = ie(e);
2217
2207
  return t.data ?? t.result ?? e;
2218
2208
  }
2219
2209
  function We(e, t) {
@@ -2229,17 +2219,17 @@ function St(e) {
2229
2219
  return delete t.__rowKey, delete t.fields, t;
2230
2220
  }
2231
2221
  function $n(e) {
2232
- const t = ue(e);
2222
+ const t = ie(e);
2233
2223
  if (!(!t.method && !t.url && !t.params))
2234
2224
  return {
2235
2225
  ...t,
2236
- method: ce(t.method),
2237
- url: ce(t.url),
2226
+ method: se(t.method),
2227
+ url: se(t.url),
2238
2228
  params: Cn(t.params)
2239
2229
  };
2240
2230
  }
2241
2231
  function ft(e) {
2242
- const t = ue(e);
2232
+ const t = ie(e);
2243
2233
  if (Object.keys(t).length !== 0)
2244
2234
  return Object.fromEntries(
2245
2235
  Object.entries(t).map(([n, o]) => [n, $n(o) ?? o])
@@ -2251,36 +2241,36 @@ function Rt(e) {
2251
2241
  const t = e.map((n) => Q(n)).filter(Boolean);
2252
2242
  return t.length ? t : void 0;
2253
2243
  }
2254
- function Dr(e) {
2244
+ function Or(e) {
2255
2245
  if ($e(e.htmlDisplay)) return "html";
2256
2246
  if ($e(e.multRow)) return "multi-row";
2257
2247
  const t = Q(e.renderType).toLowerCase();
2258
2248
  return t === "code" || t === "empty" ? t : "text";
2259
2249
  }
2260
- function Or(e) {
2250
+ function Dr(e) {
2261
2251
  const t = Q(e.fieldType ?? e.type ?? e.frontInputType ?? e.renderType).toLowerCase();
2262
2252
  return t === "dtpicker" || t.includes("date") ? "date" : t === "select_remote" ? "select_remote" : t.includes("select") || t.includes("enum") || t.includes("radio") || t.includes("checkbox") ? "select" : t.includes("number") || t.includes("int") ? "number" : t.includes("bool") || t.includes("switch") ? "switch" : t.includes("file") || t.includes("upload") || t.includes("attachment") || t === "attach" ? "file" : t.includes("textarea") || t.includes("text_area") ? "textarea" : "text";
2263
2253
  }
2264
2254
  function Cn(e) {
2265
- const t = ue(e);
2255
+ const t = ie(e);
2266
2256
  return Object.keys(t).length ? t : void 0;
2267
2257
  }
2268
2258
  function Fr(e) {
2269
2259
  const t = {
2270
- ...ue(e.props)
2260
+ ...ie(e.props)
2271
2261
  };
2272
2262
  return e.multiple !== void 0 && (t.multiple = $e(e.multiple)), Object.keys(t).length ? t : void 0;
2273
2263
  }
2274
2264
  function zt(e) {
2275
2265
  return typeof e == "string" || typeof e == "number" ? e : void 0;
2276
2266
  }
2277
- function ue(e) {
2267
+ function ie(e) {
2278
2268
  return e && typeof e == "object" && !Array.isArray(e) ? e : {};
2279
2269
  }
2280
2270
  function Q(e) {
2281
2271
  return e == null ? "" : String(e).trim();
2282
2272
  }
2283
- function ce(e) {
2273
+ function se(e) {
2284
2274
  return Q(e) || void 0;
2285
2275
  }
2286
2276
  function kn(e) {
@@ -2362,7 +2352,7 @@ function zr(e) {
2362
2352
  const t = Te(e.operationInfo).editInfoSet;
2363
2353
  return rt(t) ? t : void 0;
2364
2354
  }
2365
- async function Dn(e) {
2355
+ async function On(e) {
2366
2356
  const t = e.params === void 0 ? void 0 : Te(e.params);
2367
2357
  return !e.formatter || e.requestSource !== "inner" ? t : e.formatter({
2368
2358
  operation: e.operation,
@@ -2389,7 +2379,7 @@ async function Dn(e) {
2389
2379
  async function xr(e) {
2390
2380
  if (!e.service.requestOperation)
2391
2381
  throw new Error("[GlobalInfo] service.requestOperation is required for operationInfo");
2392
- const t = e.operation.params === void 0 ? void 0 : Te(e.operation.params), n = e.context?.params === void 0 ? t : Te(e.context.params), o = await Dn({
2382
+ const t = e.operation.params === void 0 ? void 0 : Te(e.operation.params), n = e.context?.params === void 0 ? t : Te(e.context.params), o = await On({
2393
2383
  formatter: e.formatter,
2394
2384
  params: n,
2395
2385
  operation: e.operation,
@@ -2454,15 +2444,15 @@ function qr(e) {
2454
2444
  targetSections: i
2455
2445
  };
2456
2446
  }
2457
- const On = "信息集不能为空,最后一条数据不可删除";
2447
+ const Dn = "信息集不能为空,最后一条数据不可删除";
2458
2448
  function Gr(e, t = [], n = {}) {
2459
2449
  return !e.mark.isRequired || t.length > 0 ? null : Kr(
2460
2450
  n.emptyMessage,
2461
2451
  { section: e, infSetValues: t }
2462
- ) || On;
2452
+ ) || Dn;
2463
2453
  }
2464
2454
  function Kr(e, t) {
2465
- return typeof e == "function" ? e(t) : typeof e == "string" ? e : On;
2455
+ return typeof e == "function" ? e(t) : typeof e == "string" ? e : Dn;
2466
2456
  }
2467
2457
  const Ne = (e) => new Error(`[GlobalInfo] ${e}`), Yr = (e) => [
2468
2458
  String(e.method ?? "").toLowerCase(),
@@ -2473,7 +2463,7 @@ function wt(e) {
2473
2463
  return Array.isArray(e) ? `[${e.map((t) => wt(t)).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).sort(([n], [o]) => n.localeCompare(o)).map(([n, o]) => `${JSON.stringify(n)}:${wt(o)}`).join(",")}}` : JSON.stringify(e);
2474
2464
  }
2475
2465
  const Ur = (e) => {
2476
- const t = ge(!1), n = ge(!1), o = ge(!1), r = Pe(null), i = Pe([]), s = Pe(null), l = Pe(null), a = Pe(null), c = Pe({}), g = Pe({}), w = ge([]), I = Pe({}), V = ge([]), A = L(
2466
+ const t = he(!1), n = he(!1), o = he(!1), r = Pe(null), i = Pe([]), s = Pe(null), l = Pe(null), a = Pe(null), c = Pe({}), g = Pe({}), w = he([]), I = Pe({}), V = he([]), A = L(
2477
2467
  () => {
2478
2468
  const p = w.value.map((C) => c.value[C]).filter((C) => !!C), f = Object.entries(c.value).filter(([C]) => !w.value.includes(C)).map(([, C]) => C);
2479
2469
  return [...p, ...f];
@@ -2549,7 +2539,7 @@ const Ur = (e) => {
2549
2539
  },
2550
2540
  (p) => Yr(p)
2551
2541
  ), M = async (p, f) => {
2552
- const C = await Dn({
2542
+ const C = await On({
2553
2543
  formatter: e.formatOperationParams,
2554
2544
  params: f?.params,
2555
2545
  operation: p,
@@ -2566,17 +2556,17 @@ const Ur = (e) => {
2566
2556
  activeNode: l.value,
2567
2557
  activeSection: a.value,
2568
2558
  searchText: f?.searchText
2569
- }), Y = { ...p, params: C }, W = f && { ...f, params: C };
2570
- return m(Y, W);
2559
+ }), K = { ...p, params: C }, W = f && { ...f, params: C };
2560
+ return m(K, W);
2571
2561
  }, h = (p, f) => {
2572
2562
  if (!f)
2573
2563
  return p[0] ?? null;
2574
2564
  for (const C of p) {
2575
2565
  if (Ze(C).includes(f))
2576
2566
  return C;
2577
- const Y = h(C.children, f);
2578
- if (Y)
2579
- return Y;
2567
+ const K = h(C.children, f);
2568
+ if (K)
2569
+ return K;
2580
2570
  }
2581
2571
  return null;
2582
2572
  }, j = (p = a.value) => {
@@ -2588,7 +2578,7 @@ const Ur = (e) => {
2588
2578
  return null;
2589
2579
  const C = g.value[f] ?? f;
2590
2580
  return c.value[C] ?? null;
2591
- }, O = (p = a.value) => {
2581
+ }, D = (p = a.value) => {
2592
2582
  const f = j(p);
2593
2583
  if (f)
2594
2584
  return g.value[f] ?? f;
@@ -2632,8 +2622,8 @@ const Ur = (e) => {
2632
2622
  editing: V.value.includes(C)
2633
2623
  })
2634
2624
  });
2635
- }, D = (p = s.value?.raw ?? null, f = l.value) => {
2636
- const C = A.value, Y = a.value && C.find(
2625
+ }, O = (p = s.value?.raw ?? null, f = l.value) => {
2626
+ const C = A.value, K = a.value && C.find(
2637
2627
  (W) => ke(W) === ke(a.value)
2638
2628
  ) ? a.value : null;
2639
2629
  s.value = {
@@ -2647,16 +2637,16 @@ const Ur = (e) => {
2647
2637
  // 当前激活节点。
2648
2638
  activeNode: f,
2649
2639
  // 当前激活 section。
2650
- activeSection: Y,
2640
+ activeSection: K,
2651
2641
  // 当前所有已加载 section。
2652
2642
  sections: C,
2653
2643
  // 当前 section 缓存。
2654
2644
  sectionMap: c.value,
2655
2645
  // 保留原始接口数据。
2656
2646
  raw: p
2657
- }, a.value = Y;
2647
+ }, a.value = K;
2658
2648
  }, F = (p, f = l.value, C) => {
2659
- const Y = qr({
2649
+ const K = qr({
2660
2650
  currentMap: c.value,
2661
2651
  currentAliasMap: g.value,
2662
2652
  currentOrder: w.value,
@@ -2667,46 +2657,46 @@ const Ur = (e) => {
2667
2657
  targetKey: C,
2668
2658
  activeSection: a.value
2669
2659
  });
2670
- return c.value = Y.sectionMap, g.value = Y.sectionAliasMap, w.value = Y.sectionOrder, I.value = Y.sectionStatusMap, s.value = {
2660
+ return c.value = K.sectionMap, g.value = K.sectionAliasMap, w.value = K.sectionOrder, I.value = K.sectionStatusMap, s.value = {
2671
2661
  ...p,
2672
2662
  scheme: p.scheme ?? s.value?.scheme ?? null,
2673
2663
  topNodes: i.value,
2674
2664
  treeNodes: i.value,
2675
2665
  activeNode: f,
2676
- activeSection: Y.matchedSection,
2677
- sections: Y.targetSections,
2666
+ activeSection: K.matchedSection,
2667
+ sections: K.targetSections,
2678
2668
  sectionMap: c.value
2679
- }, a.value = Y.matchedSection, Y.matchedSection;
2669
+ }, a.value = K.matchedSection, K.matchedSection;
2680
2670
  }, u = (p, f) => {
2681
- const C = O(p), Y = C ? c.value[C] : null;
2682
- if (!C || !Y)
2671
+ const C = D(p), K = C ? c.value[C] : null;
2672
+ if (!C || !K)
2683
2673
  return;
2684
- const W = f(Y);
2674
+ const W = f(K);
2685
2675
  c.value = {
2686
2676
  ...c.value,
2687
2677
  [C]: W
2688
- }, a.value = ke(a.value ?? W) === C ? W : a.value, D();
2678
+ }, a.value = ke(a.value ?? W) === C ? W : a.value, O();
2689
2679
  }, y = async (p = a.value ?? l.value) => {
2690
- const f = ne(p), C = z(p) ?? l.value, Y = T(p);
2680
+ const f = ne(p), C = z(p) ?? l.value, K = T(p);
2691
2681
  if (!C)
2692
2682
  return null;
2693
2683
  if (!e.service.requestOperation)
2694
2684
  throw Ne("service.requestOperation is required");
2695
- n.value = !0, r.value = null, N(Y ?? C, { loading: !0, error: null });
2685
+ n.value = !0, r.value = null, N(K ?? C, { loading: !0, error: null });
2696
2686
  try {
2697
2687
  const W = f ? [{ infSetId: f.infSetId, setId: f.setId, operationInfo: f.operationInfo, raw: f.raw }] : C.infSetList;
2698
2688
  if (W.length === 0)
2699
2689
  throw Ne("node.infSetList is required");
2700
- const _e = await Promise.all(W.map(async (le) => {
2701
- const he = Rr(f, C, le.infSetId), Ae = f?.requestTagId ?? f?.tagId ?? C.tagId, nt = {
2690
+ const _e = await Promise.all(W.map(async (ae) => {
2691
+ const ve = Rr(f, C, ae.infSetId), Ae = f?.requestTagId ?? f?.tagId ?? C.tagId, nt = {
2702
2692
  ...R(C, f),
2703
2693
  tagId: Ae,
2704
- infSetId: le.infSetId,
2705
- setId: le.setId,
2706
- operationInfo: le.operationInfo
2694
+ infSetId: ae.infSetId,
2695
+ setId: ae.setId,
2696
+ operationInfo: ae.operationInfo
2707
2697
  };
2708
- if (he) {
2709
- const Ge = await v(he, {
2698
+ if (ve) {
2699
+ const Ge = await v(ve, {
2710
2700
  type: "queryInfoSet",
2711
2701
  requestSource: "inner",
2712
2702
  tagId: Ae,
@@ -2717,65 +2707,65 @@ const Ur = (e) => {
2717
2707
  return gr(Ge, nt, C);
2718
2708
  }
2719
2709
  throw Ne("infoSet.operationInfo.queryInfoSet is required");
2720
- })), ve = {
2710
+ })), me = {
2721
2711
  ..._e[0],
2722
- sections: _e.flatMap((le) => le.sections),
2723
- sectionMap: Object.fromEntries(_e.flatMap((le) => le.sections).map((le) => [le.key, le]))
2712
+ sections: _e.flatMap((ae) => ae.sections),
2713
+ sectionMap: Object.fromEntries(_e.flatMap((ae) => ae.sections).map((ae) => [ae.key, ae]))
2724
2714
  };
2725
- return F(ve, C, Y);
2715
+ return F(me, C, K);
2726
2716
  } catch (W) {
2727
- throw r.value = W, N(Y ?? C, { loading: !1, error: W }), W;
2717
+ throw r.value = W, N(K ?? C, { loading: !1, error: W }), W;
2728
2718
  } finally {
2729
- n.value = !1, N(Y ?? C, { loading: !1 });
2719
+ n.value = !1, N(K ?? C, { loading: !1 });
2730
2720
  }
2731
- }, _ = (p = a.value) => y(p), B = (p = a.value) => {
2721
+ }, _ = (p = a.value) => y(p), E = (p = a.value) => {
2732
2722
  if (!p)
2733
2723
  return null;
2734
2724
  if (!Ye(p) && typeof p != "string")
2735
2725
  return b(p);
2736
2726
  const f = T(p);
2737
2727
  return f ? c.value[g.value[f] ?? f] ?? null : null;
2738
- }, E = async (p = l.value) => p ? (await y(p), s.value) : (s.value = null, a.value = null, c.value = {}, g.value = {}, w.value = [], I.value = {}, null), q = async (p) => {
2728
+ }, B = async (p = l.value) => p ? (await y(p), s.value) : (s.value = null, a.value = null, c.value = {}, g.value = {}, w.value = [], I.value = {}, null), q = async (p) => {
2739
2729
  const f = Nr(p);
2740
2730
  if (!f)
2741
2731
  return p.children;
2742
- const C = k(p), Y = await v(f, {
2732
+ const C = k(p), K = await v(f, {
2743
2733
  type: "openTag",
2744
2734
  requestSource: "sidebar",
2745
2735
  tagId: p.tagId,
2746
2736
  node: p,
2747
2737
  params: C
2748
2738
  });
2749
- return jt(Y).treeNodes;
2750
- }, K = async (p) => {
2739
+ return jt(K).treeNodes;
2740
+ }, U = async (p) => {
2751
2741
  if (p.loaded)
2752
2742
  return p.children;
2753
2743
  const f = await q(p);
2754
2744
  return f.length > 0 && (i.value = hn(i.value, p.key, f)), f;
2755
2745
  }, G = async (p) => {
2756
2746
  const f = typeof p == "string" ? h(i.value, p) : p;
2757
- return f ? (l.value = f, a.value = null, V.value = [], await K(f), D(s.value?.raw, f), f) : null;
2758
- }, Z = async () => {
2747
+ return f ? (l.value = f, a.value = null, V.value = [], await U(f), O(s.value?.raw, f), f) : null;
2748
+ }, X = async () => {
2759
2749
  const p = e.service.templateTree;
2760
2750
  if (!p)
2761
2751
  throw Ne("service.templateTree is required");
2762
2752
  t.value = !0, r.value = null;
2763
2753
  try {
2764
- const f = await p(S()), C = jt(f), Y = await Promise.all(
2754
+ const f = await p(S()), C = jt(f), K = await Promise.all(
2765
2755
  C.treeNodes.map(async (_e) => {
2766
- const ve = await q(_e);
2756
+ const me = await q(_e);
2767
2757
  return {
2768
2758
  ..._e,
2769
- children: ve,
2770
- loaded: ve.length > 0 || _e.loaded
2759
+ children: me,
2760
+ loaded: me.length > 0 || _e.loaded
2771
2761
  };
2772
2762
  })
2773
2763
  );
2774
- i.value = Y, a.value = null, c.value = {}, g.value = {}, w.value = [], I.value = {}, V.value = [];
2775
- const W = h(Y, e.initialActiveNodeKey) ?? h(Y);
2764
+ i.value = K, a.value = null, c.value = {}, g.value = {}, w.value = [], I.value = {}, V.value = [];
2765
+ const W = h(K, e.initialActiveNodeKey) ?? h(K);
2776
2766
  return l.value = W, s.value = {
2777
2767
  ...C,
2778
- treeNodes: Y,
2768
+ treeNodes: K,
2779
2769
  activeNode: W,
2780
2770
  sectionMap: c.value,
2781
2771
  sections: A.value
@@ -2785,70 +2775,70 @@ const Ur = (e) => {
2785
2775
  } finally {
2786
2776
  t.value = !1;
2787
2777
  }
2788
- }, ie = async () => {
2778
+ }, P = async () => {
2789
2779
  const p = j();
2790
2780
  await _(a.value ?? l.value);
2791
2781
  const f = A.value.find(
2792
2782
  (C) => ke(C) === p
2793
2783
  );
2794
- return f && (a.value = f), D(), s.value;
2795
- }, P = (p = a.value) => {
2796
- const f = O(p);
2784
+ return f && (a.value = f), O(), s.value;
2785
+ }, Z = (p = a.value) => {
2786
+ const f = D(p);
2797
2787
  return !!(f && V.value.includes(f));
2798
- }, te = (p = a.value) => {
2799
- const f = O(p);
2800
- !f || P(f) || (V.value = [...V.value, f], N(f, { editing: !0 }));
2801
- }, oe = (p = a.value) => {
2802
- const f = O(p);
2788
+ }, ce = (p = a.value) => {
2789
+ const f = D(p);
2790
+ !f || Z(f) || (V.value = [...V.value, f], N(f, { editing: !0 }));
2791
+ }, le = (p = a.value) => {
2792
+ const f = D(p);
2803
2793
  f && (V.value = V.value.filter(
2804
2794
  (C) => C !== f
2805
2795
  ), N(f, { editing: !1 }));
2806
- }, ae = (p, f, C) => {
2807
- const Y = typeof f == "string" ? f : Ve(f);
2796
+ }, fe = (p, f, C) => {
2797
+ const K = typeof f == "string" ? f : Ve(f);
2808
2798
  u(p, (W) => {
2809
- const ve = (typeof f == "string" ? W.fields.find((he) => Ve(he) === Y || he.code === Y) : f)?.cascadeClearFields ?? [], le = {
2799
+ const me = (typeof f == "string" ? W.fields.find((ve) => Ve(ve) === K || ve.code === K) : f)?.cascadeClearFields ?? [], ae = {
2810
2800
  ...W.model,
2811
- [Y]: C
2801
+ [K]: C
2812
2802
  };
2813
- return ve.forEach((he) => {
2814
- le[he] = "";
2803
+ return me.forEach((ve) => {
2804
+ ae[ve] = "";
2815
2805
  }), {
2816
2806
  // 保留 section 其它元数据。
2817
2807
  ...W,
2818
2808
  // 更新表单 model。
2819
- model: le,
2809
+ model: ae,
2820
2810
  // 表单类型同步更新第一行 rows,方便保存时统一从 rows 构造 payload。
2821
- rows: W.renderType === "form" ? [{ ...W.rows[0], ...le }] : W.rows,
2811
+ rows: W.renderType === "form" ? [{ ...W.rows[0], ...ae }] : W.rows,
2822
2812
  // 同步 fields.value,保证只读 renderer 立即显示新值。
2823
- fields: W.fields.map((he) => {
2824
- const Ae = Ve(he);
2825
- return Ae === Y || he.code === Y ? { ...he, value: C } : ve.includes(Ae) || ve.includes(he.code) ? { ...he, value: "" } : he;
2813
+ fields: W.fields.map((ve) => {
2814
+ const Ae = Ve(ve);
2815
+ return Ae === K || ve.code === K ? { ...ve, value: C } : me.includes(Ae) || me.includes(ve.code) ? { ...ve, value: "" } : ve;
2826
2816
  })
2827
2817
  };
2828
2818
  });
2829
- }, pe = async (p, f, C = {}, Y = {}) => {
2819
+ }, Se = async (p, f, C = {}, K = {}) => {
2830
2820
  const W = b(p);
2831
2821
  if (!W)
2832
2822
  return [];
2833
2823
  const _e = {
2834
2824
  ...C,
2835
- ...Y.searchText !== void 0 ? { searchText: Y.searchText } : {}
2825
+ ...K.searchText !== void 0 ? { searchText: K.searchText } : {}
2836
2826
  }, {
2837
- fieldKey: ve,
2838
- currentField: le,
2839
- sourceModel: he,
2827
+ fieldKey: me,
2828
+ currentField: ae,
2829
+ sourceModel: ve,
2840
2830
  sourceRow: Ae,
2841
2831
  missingDependField: nt
2842
- } = Vr(W, f, _e), Ge = le?.interface;
2843
- if (!le || !Ge)
2844
- return le?.options ?? [];
2845
- if (Pr(le))
2846
- return le.options ?? [];
2832
+ } = Vr(W, f, _e), Ge = ae?.interface;
2833
+ if (!ae || !Ge)
2834
+ return ae?.options ?? [];
2835
+ if (Pr(ae))
2836
+ return ae.options ?? [];
2847
2837
  if (nt)
2848
2838
  return u(W, (Ke) => ({
2849
2839
  ...Ke,
2850
2840
  fields: Ke.fields.map(
2851
- (Le) => Ve(Le) === ve || Le.code === ve ? { ...Le, options: [] } : Le
2841
+ (Le) => Ve(Le) === me || Le.code === me ? { ...Le, options: [] } : Le
2852
2842
  )
2853
2843
  })), [];
2854
2844
  const zn = await M(
@@ -2861,21 +2851,21 @@ const Ur = (e) => {
2861
2851
  tagId: W.requestTagId ?? W.tagId,
2862
2852
  node: z(W),
2863
2853
  section: W,
2864
- field: le,
2854
+ field: ae,
2865
2855
  params: Te(Ge.params),
2866
2856
  // searchText 参与本次查询时,需要一并透传到 model 上,避免被依赖检查视为缺失并提前截断请求。
2867
- model: he,
2857
+ model: ve,
2868
2858
  row: Ae,
2869
- searchText: Y.searchText
2859
+ searchText: K.searchText
2870
2860
  }
2871
2861
  ), kt = jr(zn);
2872
2862
  return u(W, (Ke) => ({
2873
2863
  ...Ke,
2874
2864
  fields: Ke.fields.map(
2875
- (Le) => Ve(Le) === ve || Le.code === ve ? { ...Le, options: kt } : Le
2865
+ (Le) => Ve(Le) === me || Le.code === me ? { ...Le, options: kt } : Le
2876
2866
  )
2877
2867
  })), kt;
2878
- }, De = (p, f) => {
2868
+ }, Oe = (p, f) => {
2879
2869
  if (Array.isArray(f)) {
2880
2870
  Ie(p, f);
2881
2871
  return;
@@ -2887,9 +2877,9 @@ const Ur = (e) => {
2887
2877
  // 表单类型同步合并到第一行 rows。
2888
2878
  rows: C.renderType === "form" ? [{ ...C.rows[0], ...f }] : C.rows,
2889
2879
  // fields.value 也同步成 model 中的值。
2890
- fields: C.fields.map((Y) => ({
2891
- ...Y,
2892
- value: f[Ve(Y)]
2880
+ fields: C.fields.map((K) => ({
2881
+ ...K,
2882
+ value: f[Ve(K)]
2893
2883
  }))
2894
2884
  }));
2895
2885
  }, Ie = (p, f) => {
@@ -2900,31 +2890,31 @@ const Ur = (e) => {
2900
2890
  }));
2901
2891
  }, qe = {
2902
2892
  // 加载模板树。
2903
- loadTree: Z,
2893
+ loadTree: X,
2904
2894
  // 选中树节点。
2905
2895
  selectNode: G,
2906
2896
  // 加载当前节点详情。
2907
- loadDetail: E,
2897
+ loadDetail: B,
2908
2898
  // 刷新当前详情。
2909
- reloadActiveSection: ie,
2899
+ reloadActiveSection: P,
2910
2900
  // 加载指定节点或 section。
2911
2901
  loadSection: y,
2912
2902
  // 重新加载指定节点或 section。
2913
2903
  reloadSection: _,
2914
2904
  // 获取指定节点或 section 的缓存数据。
2915
- getSection: B,
2905
+ getSection: E,
2916
2906
  // 获取指定节点或 section 的状态。
2917
2907
  getSectionStatus: x,
2918
2908
  // 开启编辑。
2919
- startEdit: te,
2909
+ startEdit: ce,
2920
2910
  // 取消编辑。
2921
- cancelEdit: oe,
2911
+ cancelEdit: le,
2922
2912
  // 更新单字段。
2923
- updateField: ae,
2913
+ updateField: fe,
2924
2914
  // 加载字段动态选项。
2925
- loadFieldOptions: pe,
2915
+ loadFieldOptions: Se,
2926
2916
  // 批量更新 model。
2927
- updateModel: De,
2917
+ updateModel: Oe,
2928
2918
  // 更新表格行。
2929
2919
  updateTableRows: Ie,
2930
2920
  // 保存单行到本地缓存。
@@ -2934,8 +2924,8 @@ const Ur = (e) => {
2934
2924
  },
2935
2925
  // 删除单行本地缓存。
2936
2926
  deleteRow: (p, f) => {
2937
- const C = b(p), Y = typeof f == "string" ? Number(f) : f, W = (C?.rows ?? []).filter(
2938
- (_e, ve) => ve !== Y
2927
+ const C = b(p), K = typeof f == "string" ? Number(f) : f, W = (C?.rows ?? []).filter(
2928
+ (_e, me) => me !== K
2939
2929
  );
2940
2930
  Ie(p, W);
2941
2931
  },
@@ -2944,37 +2934,37 @@ const Ur = (e) => {
2944
2934
  const f = j(p), C = b(p);
2945
2935
  if (!C)
2946
2936
  return null;
2947
- const Y = zr(C);
2948
- if (!Y)
2937
+ const K = zr(C);
2938
+ if (!K)
2949
2939
  throw Ne("section.operationInfo.editInfoSet is required");
2950
2940
  o.value = !0, r.value = null, f && f !== ke(C) && N(f, { saving: !0, error: null }), N(C, { saving: !0, error: null });
2951
2941
  try {
2952
2942
  const {
2953
2943
  tagId: W,
2954
2944
  ..._e
2955
- } = R(l.value, C), ve = br(C, _e), le = Gr(
2945
+ } = R(l.value, C), me = br(C, _e), ae = Gr(
2956
2946
  C,
2957
- ve.infSetValues ?? [],
2947
+ me.infSetValues ?? [],
2958
2948
  {
2959
2949
  emptyMessage: e.renderConfig?.requiredInfoSetEmptyMessage
2960
2950
  }
2961
2951
  );
2962
- if (le)
2963
- throw new Error(le);
2964
- const he = await v(
2952
+ if (ae)
2953
+ throw new Error(ae);
2954
+ const ve = await v(
2965
2955
  // 保存时保留后端给的 method/url,但不再把 editOperation.params 混入实际提交数据。
2966
- Y,
2956
+ K,
2967
2957
  {
2968
2958
  type: "editInfoSet",
2969
2959
  requestSource: "inner",
2970
2960
  tagId: C.requestTagId ?? C.tagId,
2971
2961
  node: l.value,
2972
2962
  section: C,
2973
- params: ve,
2963
+ params: me,
2974
2964
  model: C.model
2975
2965
  }
2976
2966
  );
2977
- return oe(C), await _(C), he;
2967
+ return le(C), await _(C), ve;
2978
2968
  } catch (W) {
2979
2969
  throw r.value = W, f && f !== ke(C) && N(f, { saving: !1, error: W }), N(C, { saving: !1, error: W }), W;
2980
2970
  } finally {
@@ -2982,16 +2972,16 @@ const Ur = (e) => {
2982
2972
  }
2983
2973
  },
2984
2974
  // 判断编辑态。
2985
- isEditing: P
2975
+ isEditing: Z
2986
2976
  };
2987
2977
  return Be(
2988
2978
  // 监听当前人员 id。
2989
2979
  () => e.emplid,
2990
2980
  () => {
2991
- (e.autoLoad ?? !0) && Z();
2981
+ (e.autoLoad ?? !0) && X();
2992
2982
  }
2993
2983
  ), Kt(() => {
2994
- (e.autoLoad ?? !0) && Z();
2984
+ (e.autoLoad ?? !0) && X();
2995
2985
  }), {
2996
2986
  // 当前 viewModel。
2997
2987
  viewModel: s,
@@ -3012,7 +3002,7 @@ const Ur = (e) => {
3012
3002
  // 给页面消费的操作集合。
3013
3003
  actions: qe
3014
3004
  };
3015
- }, Ua = /* @__PURE__ */ de({
3005
+ }, Ua = /* @__PURE__ */ ue({
3016
3006
  name: "GlobalInfoProvider",
3017
3007
  __name: "GlobalInfoProvider",
3018
3008
  props: {
@@ -3026,14 +3016,14 @@ const Ur = (e) => {
3026
3016
  },
3027
3017
  setup(e) {
3028
3018
  const t = e, n = Ur(t), { viewModel: o, nodes: r, sections: i, activeNode: s, activeSection: l, state: a, actions: c } = n;
3029
- return (g, w) => X(g.$slots, "default", Me(Fe({
3030
- viewModel: se(o),
3031
- nodes: se(r),
3032
- sections: se(i),
3033
- activeNode: se(s),
3034
- activeSection: se(l),
3035
- state: se(a),
3036
- actions: se(c),
3019
+ return (g, w) => ee(g.$slots, "default", Me(Fe({
3020
+ viewModel: re(o),
3021
+ nodes: re(r),
3022
+ sections: re(i),
3023
+ activeNode: re(s),
3024
+ activeSection: re(l),
3025
+ state: re(a),
3026
+ actions: re(c),
3037
3027
  renderConfig: t.renderConfig
3038
3028
  })));
3039
3029
  }
@@ -3062,7 +3052,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3062
3052
  }, ea = {
3063
3053
  key: 2,
3064
3054
  class: "global-info-field-control__file-upload"
3065
- }, ta = /* @__PURE__ */ de({
3055
+ }, ta = /* @__PURE__ */ ue({
3066
3056
  name: "GlobalInfoFieldControl",
3067
3057
  __name: "GlobalInfoFieldControl",
3068
3058
  props: {
@@ -3072,7 +3062,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3072
3062
  },
3073
3063
  emits: ["update:modelValue", "change", "loadOptions"],
3074
3064
  setup(e, { emit: t }) {
3075
- const n = e, o = t, r = ["textarea", "html", "code", "multi-row"], i = ge(null), s = L(() => Xe(n.field)), l = L(() => s.value === "select_remote"), a = L(() => n.disabled || n.field.disabled || n.field.readonly), c = L(() => !!n.field.props?.multiple), g = L(() => n.modelValue === void 0 || n.modelValue === null ? "" : String(n.modelValue)), w = L(() => r.includes(s.value) ? n.field.props?.resize ?? "vertical" : void 0), I = L(() => {
3065
+ const n = e, o = t, r = ["textarea", "html", "code", "multi-row"], i = he(null), s = L(() => Xe(n.field)), l = L(() => s.value === "select_remote"), a = L(() => n.disabled || n.field.disabled || n.field.readonly), c = L(() => !!n.field.props?.multiple), g = L(() => n.modelValue === void 0 || n.modelValue === null ? "" : String(n.modelValue)), w = L(() => r.includes(s.value) ? n.field.props?.resize ?? "vertical" : void 0), I = L(() => {
3076
3066
  if (n.modelValue === void 0 || n.modelValue === null || n.modelValue === "") return;
3077
3067
  const x = typeof n.modelValue == "number" ? n.modelValue : Number(n.modelValue);
3078
3068
  return Number.isFinite(x) ? x : void 0;
@@ -3093,7 +3083,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3093
3083
  function b(x) {
3094
3084
  x && o("loadOptions", l.value ? { searchText: "" } : void 0);
3095
3085
  }
3096
- function O(x) {
3086
+ function D(x) {
3097
3087
  l.value && (m && clearTimeout(m), m = setTimeout(() => {
3098
3088
  o("loadOptions", { searchText: x });
3099
3089
  }, 300));
@@ -3108,12 +3098,12 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3108
3098
  m && clearTimeout(m);
3109
3099
  });
3110
3100
  function ne(x) {
3111
- const N = x.target, D = Array.from(N.files ?? []), F = n.field.props?.multiple ? D : D[0] ?? null;
3101
+ const N = x.target, O = Array.from(N.files ?? []), F = n.field.props?.multiple ? O : O[0] ?? null;
3112
3102
  M(F), h(F);
3113
3103
  }
3114
3104
  return (x, N) => {
3115
- const D = Wt, F = Jt, u = Ut, y = Xn, _ = eo, B = Ht;
3116
- return s.value === "select" || s.value === "select_remote" ? ($(), H(F, re({
3105
+ const O = Wt, F = Jt, u = Ut, y = Xn, _ = eo, E = Ht;
3106
+ return s.value === "select" || s.value === "select_remote" ? ($(), H(F, oe({
3117
3107
  key: 0,
3118
3108
  class: "global-info-field-control"
3119
3109
  }, x.field.props, {
@@ -3125,21 +3115,21 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3125
3115
  "max-collapse-tags": 1,
3126
3116
  filterable: l.value || !!x.field.props?.filterable,
3127
3117
  remote: l.value || !!x.field.props?.remote,
3128
- "remote-method": l.value ? O : x.field.props?.remoteMethod,
3118
+ "remote-method": l.value ? D : x.field.props?.remoteMethod,
3129
3119
  clearable: "",
3130
3120
  onVisibleChange: b,
3131
3121
  "onUpdate:modelValue": M,
3132
3122
  onChange: h
3133
3123
  }), {
3134
3124
  default: J(() => [
3135
- ($(!0), U(Se, null, ye(x.field.options || [], (E) => ($(), H(D, {
3136
- key: String(E.value),
3137
- label: E.label,
3138
- value: E.value
3125
+ ($(!0), Y(be, null, ge(x.field.options || [], (B) => ($(), H(O, {
3126
+ key: String(B.value),
3127
+ label: B.label,
3128
+ value: B.value
3139
3129
  }, null, 8, ["label", "value"]))), 128))
3140
3130
  ]),
3141
3131
  _: 1
3142
- }, 16, ["model-value", "placeholder", "disabled", "collapse-tags", "collapse-tags-tooltip", "filterable", "remote", "remote-method"])) : s.value === "date" ? ($(), H(u, re({
3132
+ }, 16, ["model-value", "placeholder", "disabled", "collapse-tags", "collapse-tags-tooltip", "filterable", "remote", "remote-method"])) : s.value === "date" ? ($(), H(u, oe({
3143
3133
  key: 1,
3144
3134
  class: "global-info-field-control"
3145
3135
  }, x.field.props, {
@@ -3150,7 +3140,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3150
3140
  "value-format": "YYYY-MM-DD",
3151
3141
  "onUpdate:modelValue": M,
3152
3142
  onChange: h
3153
- }), null, 16, ["model-value", "placeholder", "disabled"])) : s.value === "number" ? ($(), H(y, re({
3143
+ }), null, 16, ["model-value", "placeholder", "disabled"])) : s.value === "number" ? ($(), H(y, oe({
3154
3144
  key: 2,
3155
3145
  class: "global-info-field-control"
3156
3146
  }, x.field.props, {
@@ -3160,7 +3150,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3160
3150
  "controls-position": "right",
3161
3151
  "onUpdate:modelValue": M,
3162
3152
  onChange: h
3163
- }), null, 16, ["model-value", "placeholder", "disabled"])) : s.value === "switch" ? ($(), H(_, re({
3153
+ }), null, 16, ["model-value", "placeholder", "disabled"])) : s.value === "switch" ? ($(), H(_, oe({
3164
3154
  key: 3,
3165
3155
  class: "global-info-field-control global-info-field-control--switch"
3166
3156
  }, x.field.props, {
@@ -3168,7 +3158,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3168
3158
  disabled: a.value,
3169
3159
  "onUpdate:modelValue": M,
3170
3160
  onChange: h
3171
- }), null, 16, ["model-value", "disabled"])) : s.value === "file" ? ($(), U("div", {
3161
+ }), null, 16, ["model-value", "disabled"])) : s.value === "file" ? ($(), Y("div", {
3172
3162
  key: 4,
3173
3163
  class: Je(["global-info-field-control global-info-field-control--file", {
3174
3164
  "is-disabled": a.value,
@@ -3177,7 +3167,7 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3177
3167
  }]),
3178
3168
  onClick: T
3179
3169
  }, [
3180
- ee("input", {
3170
+ te("input", {
3181
3171
  ref_key: "fileInputRef",
3182
3172
  ref: i,
3183
3173
  class: "global-info-field-control__file-input",
@@ -3187,26 +3177,26 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3187
3177
  multiple: !!x.field.props?.multiple,
3188
3178
  onChange: ne
3189
3179
  }, null, 40, Hr),
3190
- R.value.length ? ($(), U("span", Jr, [
3191
- ($(!0), U(Se, null, ye(R.value, (E, q) => ($(), U(Se, {
3192
- key: E.key
3180
+ R.value.length ? ($(), Y("span", Jr, [
3181
+ ($(!0), Y(be, null, ge(R.value, (B, q) => ($(), Y(be, {
3182
+ key: B.key
3193
3183
  }, [
3194
- E.action ? ($(), U("button", {
3184
+ B.action ? ($(), Y("button", {
3195
3185
  key: 0,
3196
3186
  class: "global-info-field-control__file-preview",
3197
3187
  type: "button",
3198
- onClick: Gt((K) => z(E), ["stop", "prevent"])
3199
- }, me(E.text), 9, Wr)) : ($(), U("span", Zr, me(E.text), 1)),
3200
- q < R.value.length - 1 ? ($(), U("span", Qr, "、")) : fe("", !0)
3188
+ onClick: Gt((U) => z(B), ["stop", "prevent"])
3189
+ }, pe(B.text), 9, Wr)) : ($(), Y("span", Zr, pe(B.text), 1)),
3190
+ q < R.value.length - 1 ? ($(), Y("span", Qr, "、")) : de("", !0)
3201
3191
  ], 64))), 128))
3202
- ])) : S.value ? ($(), U("span", Xr, me(k.value), 1)) : ($(), U("span", ea, "上 传"))
3203
- ], 2)) : s.value === "empty" ? ($(), H(B, {
3192
+ ])) : S.value ? ($(), Y("span", Xr, pe(k.value), 1)) : ($(), Y("span", ea, "上 传"))
3193
+ ], 2)) : s.value === "empty" ? ($(), H(E, {
3204
3194
  key: 5,
3205
3195
  class: "global-info-field-control",
3206
3196
  "model-value": "",
3207
3197
  disabled: "",
3208
3198
  placeholder: "-"
3209
- })) : ($(), H(B, re({
3199
+ })) : ($(), H(E, oe({
3210
3200
  key: 6,
3211
3201
  class: ["global-info-field-control", {
3212
3202
  "global-info-field-control--textarea": r.includes(s.value),
@@ -3224,13 +3214,13 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3224
3214
  }), null, 16, ["class", "model-value", "placeholder", "disabled", "type", "rows", "resize"]));
3225
3215
  };
3226
3216
  }
3227
- }), Bn = /* @__PURE__ */ be(ta, [["__scopeId", "data-v-e5614372"]]), na = ["innerHTML"], oa = {
3217
+ }), Bn = /* @__PURE__ */ ye(ta, [["__scopeId", "data-v-ba6b38f5"]]), na = ["innerHTML"], oa = {
3228
3218
  key: 1,
3229
3219
  class: "global-info-field-value global-info-field-value--code"
3230
3220
  }, ra = {
3231
3221
  key: 2,
3232
3222
  class: "global-info-field-value global-info-field-value--file"
3233
- }, aa = ["onClick"], sa = { key: 1 }, ia = { key: 2 }, la = /* @__PURE__ */ de({
3223
+ }, aa = ["onClick"], sa = { key: 1 }, ia = { key: 2 }, la = /* @__PURE__ */ ue({
3234
3224
  name: "GlobalInfoFieldValue",
3235
3225
  __name: "GlobalInfoFieldValue",
3236
3226
  props: {
@@ -3243,31 +3233,31 @@ const Hr = ["disabled", "accept", "multiple"], Jr = {
3243
3233
  function s(l) {
3244
3234
  Fn(l);
3245
3235
  }
3246
- return (l, a) => n.value === "html" && !o.value ? ($(), U("span", {
3236
+ return (l, a) => n.value === "html" && !o.value ? ($(), Y("span", {
3247
3237
  key: 0,
3248
3238
  class: "global-info-field-value global-info-field-value--html",
3249
3239
  innerHTML: r.value
3250
- }, null, 8, na)) : n.value === "code" && !o.value ? ($(), U("pre", oa, me(r.value), 1)) : i.value.length ? ($(), U("span", ra, [
3251
- ($(!0), U(Se, null, ye(i.value, (c, g) => ($(), U(Se, {
3240
+ }, null, 8, na)) : n.value === "code" && !o.value ? ($(), Y("pre", oa, pe(r.value), 1)) : i.value.length ? ($(), Y("span", ra, [
3241
+ ($(!0), Y(be, null, ge(i.value, (c, g) => ($(), Y(be, {
3252
3242
  key: c.key
3253
3243
  }, [
3254
- c.action ? ($(), U("button", {
3244
+ c.action ? ($(), Y("button", {
3255
3245
  key: 0,
3256
3246
  class: "global-info-field-value__attachment-preview",
3257
3247
  type: "button",
3258
3248
  onClick: (w) => s(c)
3259
- }, me(c.text), 9, aa)) : ($(), U("span", sa, me(c.text), 1)),
3260
- g < i.value.length - 1 ? ($(), U("span", ia, "、")) : fe("", !0)
3249
+ }, pe(c.text), 9, aa)) : ($(), Y("span", sa, pe(c.text), 1)),
3250
+ g < i.value.length - 1 ? ($(), Y("span", ia, "、")) : de("", !0)
3261
3251
  ], 64))), 128))
3262
- ])) : ($(), U("span", {
3252
+ ])) : ($(), Y("span", {
3263
3253
  key: 3,
3264
3254
  class: Je(["global-info-field-value", {
3265
3255
  "global-info-field-value--multi-row": n.value === "multi-row",
3266
3256
  "global-info-field-value--file": n.value === "file" && !o.value
3267
3257
  }])
3268
- }, me(r.value), 3));
3258
+ }, pe(r.value), 3));
3269
3259
  }
3270
- }), En = /* @__PURE__ */ be(la, [["__scopeId", "data-v-79688203"]]);
3260
+ }), En = /* @__PURE__ */ ye(la, [["__scopeId", "data-v-efe9888d"]]);
3271
3261
  function ca(e) {
3272
3262
  const t = Xe(e);
3273
3263
  return (t === "select" || t === "select_remote") && !!e.interface;
@@ -3300,7 +3290,7 @@ function An(e, t) {
3300
3290
  const ua = { class: "global-info-form-renderer__label" }, da = {
3301
3291
  key: 0,
3302
3292
  class: "global-info-form-renderer__required"
3303
- }, fa = /* @__PURE__ */ de({
3293
+ }, fa = /* @__PURE__ */ ue({
3304
3294
  name: "GlobalInfoFormRenderer",
3305
3295
  __name: "GlobalInfoFormRenderer",
3306
3296
  props: {
@@ -3333,7 +3323,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3333
3323
  const j = t.renderConfig?.onFieldBusinessChange;
3334
3324
  if (j)
3335
3325
  try {
3336
- const b = c(m, M), O = {
3326
+ const b = c(m, M), D = {
3337
3327
  field: m,
3338
3328
  value: M,
3339
3329
  section: t.section,
@@ -3347,7 +3337,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3347
3337
  selectedOption: b[0],
3348
3338
  selectedOptions: b
3349
3339
  };
3350
- Promise.resolve(j(O)).catch((T) => {
3340
+ Promise.resolve(j(D)).catch((T) => {
3351
3341
  console.error("[GlobalInfoFormRenderer] field business change failed", T);
3352
3342
  });
3353
3343
  } catch (b) {
@@ -3363,15 +3353,15 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3363
3353
  }
3364
3354
  function w(m, M) {
3365
3355
  const j = g().flatMap((b) => {
3366
- const O = b.key === m.key ? M : b.renderType === "table" ? b.rows : b.model;
3367
- return [b.key, b.id, b.setId, b.infSetId, b.code].filter(Boolean).map((T) => [String(T), O]);
3356
+ const D = b.key === m.key ? M : b.renderType === "table" ? b.rows : b.model;
3357
+ return [b.key, b.id, b.setId, b.infSetId, b.code].filter(Boolean).map((T) => [String(T), D]);
3368
3358
  });
3369
3359
  return Object.fromEntries(j);
3370
3360
  }
3371
3361
  async function I(m, M = {}, h = o.value) {
3372
- const j = h, b = k(m), O = at(t.section.key, m, j), T = r.get(b);
3373
- if (!Ln(M) && st(m, T, O)) {
3374
- r.set(b, O);
3362
+ const j = h, b = k(m), D = at(t.section.key, m, j), T = r.get(b);
3363
+ if (!Ln(M) && st(m, T, D)) {
3364
+ r.set(b, D);
3375
3365
  return;
3376
3366
  }
3377
3367
  try {
@@ -3379,7 +3369,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3379
3369
  await s(m, j, M);
3380
3370
  return;
3381
3371
  }
3382
- await t.actions.loadFieldOptions(t.section, m, j, M), r.set(b, O);
3372
+ await t.actions.loadFieldOptions(t.section, m, j, M), r.set(b, D);
3383
3373
  } catch (ne) {
3384
3374
  console.error("[GlobalInfoFormRenderer] load field options failed", ne);
3385
3375
  }
@@ -3389,9 +3379,9 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3389
3379
  if (M && !Vn(h, M)) continue;
3390
3380
  const j = m[h.code];
3391
3381
  if (!R(h, j)) continue;
3392
- const b = at(t.section.key, h, m), O = k(h), T = r.get(O);
3382
+ const b = at(t.section.key, h, m), D = k(h), T = r.get(D);
3393
3383
  if (st(h, T, b)) {
3394
- r.set(O, b);
3384
+ r.set(D, b);
3395
3385
  continue;
3396
3386
  }
3397
3387
  T !== b && await I(h, An(h, j), m);
@@ -3443,8 +3433,8 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3443
3433
  return m.required || m.isRequired;
3444
3434
  }
3445
3435
  return (m, M) => {
3446
- const h = Zt, j = no, b = to, O = Qt;
3447
- return $(), H(O, {
3436
+ const h = Zt, j = no, b = to, D = Qt;
3437
+ return $(), H(D, {
3448
3438
  class: "global-info-form-renderer",
3449
3439
  model: o.value,
3450
3440
  "label-position": "top"
@@ -3452,23 +3442,23 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3452
3442
  default: J(() => [
3453
3443
  we(b, { gutter: 24 }, {
3454
3444
  default: J(() => [
3455
- ($(!0), U(Se, null, ye(i.value, (T) => ($(), H(j, {
3445
+ ($(!0), Y(be, null, ge(i.value, (T) => ($(), H(j, {
3456
3446
  key: k(T),
3457
3447
  span: S(T)
3458
3448
  }, {
3459
3449
  default: J(() => [
3460
- we(h, re({
3450
+ we(h, oe({
3461
3451
  prop: T.code,
3462
3452
  ref_for: !0
3463
3453
  }, T.formItemProps), {
3464
3454
  label: J(() => [
3465
- ee("span", ua, [
3466
- v(T) ? ($(), U("span", da, "*")) : fe("", !0),
3467
- Ue(" " + me(T.label), 1)
3455
+ te("span", ua, [
3456
+ v(T) ? ($(), Y("span", da, "*")) : de("", !0),
3457
+ Ue(" " + pe(T.label), 1)
3468
3458
  ])
3469
3459
  ]),
3470
3460
  default: J(() => [
3471
- d(T) ? X(m.$slots, d(T), re({
3461
+ d(T) ? ee(m.$slots, d(T), oe({
3472
3462
  key: 0,
3473
3463
  ref_for: !0
3474
3464
  }, A(T)), void 0, !0) : m.editing && !T.readonly ? ($(), H(Bn, {
@@ -3498,7 +3488,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3498
3488
  }, 8, ["model"]);
3499
3489
  };
3500
3490
  }
3501
- }), pa = /* @__PURE__ */ be(fa, [["__scopeId", "data-v-952fa220"]]), ma = /* @__PURE__ */ de({
3491
+ }), pa = /* @__PURE__ */ ye(fa, [["__scopeId", "data-v-c4e2b568"]]), ma = /* @__PURE__ */ ue({
3502
3492
  name: "GlobalInfoDeleteConfirm",
3503
3493
  __name: "GlobalInfoDeleteConfirm",
3504
3494
  props: {
@@ -3520,7 +3510,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3520
3510
  onCancel: n[1] || (n[1] = (r) => t.$emit("cancel"))
3521
3511
  }, {
3522
3512
  reference: J(() => [
3523
- X(t.$slots, "default")
3513
+ ee(t.$slots, "default")
3524
3514
  ]),
3525
3515
  _: 3
3526
3516
  }, 8, ["title", "confirm-button-text", "cancel-button-text"]);
@@ -3529,7 +3519,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3529
3519
  }), va = { class: "global-info-table-renderer__table-scroll" }, ha = { class: "global-info-table-renderer__header" }, ga = {
3530
3520
  key: 0,
3531
3521
  class: "global-info-table-renderer__required"
3532
- }, ya = /* @__PURE__ */ de({
3522
+ }, ya = /* @__PURE__ */ ue({
3533
3523
  name: "GlobalInfoTableRenderer",
3534
3524
  __name: "GlobalInfoTableRenderer",
3535
3525
  props: {
@@ -3556,7 +3546,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3556
3546
  return r.value ? u.filter((y) => !ne(y)) : u;
3557
3547
  }), c = /* @__PURE__ */ new Map(), g = rn(
3558
3548
  async (u, y, _) => t.actions.loadFieldOptions(t.section, u, y, _),
3559
- (u, y) => `${t.section.key}:${D(y)}:${T(u)}`
3549
+ (u, y) => `${t.section.key}:${O(y)}:${T(u)}`
3560
3550
  );
3561
3551
  function w(u) {
3562
3552
  t.actions.deleteRow(t.section, u);
@@ -3572,95 +3562,95 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3572
3562
  actions: t.actions
3573
3563
  }) : u.allowDelete !== !1);
3574
3564
  }
3575
- function V(u, y, _, B) {
3576
- const E = t.section.rows.slice(), q = _.cascadeClearFields ?? [], K = {
3565
+ function V(u, y, _, E) {
3566
+ const B = t.section.rows.slice(), q = _.cascadeClearFields ?? [], U = {
3577
3567
  ...u,
3578
- __rowKey: D(u),
3579
- [_.code]: B
3568
+ __rowKey: O(u),
3569
+ [_.code]: E
3580
3570
  };
3581
3571
  q.forEach((G) => {
3582
- K[G] = "";
3583
- }), E[y] = {
3584
- ...K
3585
- }, t.actions.updateTableRows(t.section, E), A(_, B, K, y, E), v(_, K);
3572
+ U[G] = "";
3573
+ }), B[y] = {
3574
+ ...U
3575
+ }, t.actions.updateTableRows(t.section, B), A(_, E, U, y, B), v(_, U);
3586
3576
  }
3587
- function A(u, y, _, B, E) {
3577
+ function A(u, y, _, E, B) {
3588
3578
  const q = t.renderConfig?.onFieldBusinessChange;
3589
3579
  if (q)
3590
3580
  try {
3591
- const K = d(u, y), G = { ...t.section.model, ..._ }, Z = {
3581
+ const U = d(u, y), G = { ...t.section.model, ..._ }, X = {
3592
3582
  field: u,
3593
3583
  value: y,
3594
3584
  section: t.section,
3595
3585
  model: G,
3596
3586
  values: G,
3597
3587
  row: _,
3598
- rowIndex: B,
3599
- rows: E,
3588
+ rowIndex: E,
3589
+ rows: B,
3600
3590
  node: t.node,
3601
3591
  activeNode: t.node,
3602
3592
  sections: S(),
3603
- sectionValues: k(t.section, E),
3593
+ sectionValues: k(t.section, B),
3604
3594
  actions: t.actions,
3605
- selectedOption: K[0],
3606
- selectedOptions: K
3595
+ selectedOption: U[0],
3596
+ selectedOptions: U
3607
3597
  };
3608
- Promise.resolve(q(Z)).catch((ie) => {
3609
- console.error("[GlobalInfoTableRenderer] field business change failed", ie);
3598
+ Promise.resolve(q(X)).catch((P) => {
3599
+ console.error("[GlobalInfoTableRenderer] field business change failed", P);
3610
3600
  });
3611
- } catch (K) {
3612
- console.error("[GlobalInfoTableRenderer] field business change failed", K);
3601
+ } catch (U) {
3602
+ console.error("[GlobalInfoTableRenderer] field business change failed", U);
3613
3603
  }
3614
3604
  }
3615
3605
  function d(u, y) {
3616
3606
  const _ = ct(u, y);
3617
- return (u.options ?? []).filter((B) => _.some((E) => B.value === E || String(B.value) === String(E)));
3607
+ return (u.options ?? []).filter((E) => _.some((B) => E.value === B || String(E.value) === String(B)));
3618
3608
  }
3619
3609
  function S() {
3620
3610
  return Object.values(t.state.sectionMap);
3621
3611
  }
3622
3612
  function k(u, y) {
3623
- const B = S().flatMap((E) => {
3624
- const q = E.key === u.key ? y : E.renderType === "table" ? E.rows : E.model;
3625
- return [E.key, E.id, E.setId, E.infSetId, E.code].filter(Boolean).map((K) => [String(K), q]);
3613
+ const E = S().flatMap((B) => {
3614
+ const q = B.key === u.key ? y : B.renderType === "table" ? B.rows : B.model;
3615
+ return [B.key, B.id, B.setId, B.infSetId, B.code].filter(Boolean).map((U) => [String(U), q]);
3626
3616
  });
3627
- return Object.fromEntries(B);
3617
+ return Object.fromEntries(E);
3628
3618
  }
3629
- async function R(u, y, _ = {}, B = y) {
3630
- const E = D(B), q = `${E}:${T(u)}`, K = at(t.section.key, u, B, E), G = c.get(q);
3631
- if (!Ln(_) && st(u, G, K)) {
3632
- c.set(q, K);
3619
+ async function R(u, y, _ = {}, E = y) {
3620
+ const B = O(E), q = `${B}:${T(u)}`, U = at(t.section.key, u, E, B), G = c.get(q);
3621
+ if (!Ln(_) && st(u, G, U)) {
3622
+ c.set(q, U);
3633
3623
  return;
3634
3624
  }
3635
3625
  try {
3636
3626
  if (_.searchText !== void 0) {
3637
- await g(u, B, _);
3627
+ await g(u, E, _);
3638
3628
  return;
3639
3629
  }
3640
- await t.actions.loadFieldOptions(t.section, u, B, _), c.set(q, K);
3641
- } catch (ie) {
3642
- console.error("[GlobalInfoTableRenderer] load field options failed", ie);
3630
+ await t.actions.loadFieldOptions(t.section, u, E, _), c.set(q, U);
3631
+ } catch (P) {
3632
+ console.error("[GlobalInfoTableRenderer] load field options failed", P);
3643
3633
  }
3644
3634
  }
3645
3635
  async function v(u, y) {
3646
3636
  const _ = y ? [y] : t.section.rows;
3647
- for (const B of _) {
3648
- const E = D(B);
3637
+ for (const E of _) {
3638
+ const B = O(E);
3649
3639
  for (const q of a.value) {
3650
3640
  if (u && !Vn(q, u)) continue;
3651
- const K = B[q.code];
3652
- if (!j(q, K)) continue;
3653
- const G = at(t.section.key, q, B, E), Z = `${E}:${T(q)}`, ie = c.get(Z);
3654
- if (st(q, ie, G)) {
3655
- c.set(Z, G);
3641
+ const U = E[q.code];
3642
+ if (!j(q, U)) continue;
3643
+ const G = at(t.section.key, q, E, B), X = `${B}:${T(q)}`, P = c.get(X);
3644
+ if (st(q, P, G)) {
3645
+ c.set(X, G);
3656
3646
  continue;
3657
3647
  }
3658
- ie !== G && await R(q, B, An(q, K));
3648
+ P !== G && await R(q, E, An(q, U));
3659
3649
  }
3660
3650
  }
3661
3651
  }
3662
3652
  function m(u, y, _) {
3663
- const B = y[u.code];
3653
+ const E = y[u.code];
3664
3654
  return {
3665
3655
  field: u,
3666
3656
  section: t.section,
@@ -3669,18 +3659,18 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3669
3659
  row: y,
3670
3660
  rowIndex: _,
3671
3661
  editing: t.editing,
3672
- modelValue: B,
3673
- value: B,
3662
+ modelValue: E,
3663
+ value: E,
3674
3664
  state: t.state,
3675
3665
  actions: t.actions,
3676
- updateModelValue: (E) => V(y, _, u, E)
3666
+ updateModelValue: (B) => V(y, _, u, B)
3677
3667
  };
3678
3668
  }
3679
3669
  function M(u) {
3680
3670
  const y = String(u.code || "").trim(), _ = y ? `field-${y}` : "";
3681
3671
  if (_ && n[_]) return _;
3682
- const B = _.toLowerCase();
3683
- return B !== _ && n[B] ? B : "";
3672
+ const E = _.toLowerCase();
3673
+ return E !== _ && n[E] ? E : "";
3684
3674
  }
3685
3675
  function h(u) {
3686
3676
  return !u.readonly && !u.disabled;
@@ -3691,7 +3681,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3691
3681
  function b(u) {
3692
3682
  return u.width ?? (Bt(u) ? 56 : void 0);
3693
3683
  }
3694
- function O(u) {
3684
+ function D(u) {
3695
3685
  if (!u.width)
3696
3686
  return u.minWidth ?? (Bt(u) ? 56 : void 0);
3697
3687
  }
@@ -3706,14 +3696,14 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3706
3696
  }
3707
3697
  let x = 0;
3708
3698
  const N = /* @__PURE__ */ new WeakMap();
3709
- function D(u) {
3699
+ function O(u) {
3710
3700
  const y = u.__rowKey ?? u.key ?? u.id ?? u.setId ?? u.infSetId;
3711
3701
  if (y != null && y !== "") return String(y);
3712
- const _ = u, B = N.get(_);
3713
- if (B) return B;
3702
+ const _ = u, E = N.get(_);
3703
+ if (E) return E;
3714
3704
  x += 1;
3715
- const E = `local-${x}`;
3716
- return N.set(_, E), E;
3705
+ const B = `local-${x}`;
3706
+ return N.set(_, B), B;
3717
3707
  }
3718
3708
  function F(u) {
3719
3709
  return u.required || u.isRequired;
@@ -3730,17 +3720,17 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3730
3720
  },
3731
3721
  { immediate: !0 }
3732
3722
  ), (u, y) => {
3733
- const _ = en, B = Hn("Delete"), E = Yt, q = It, K = Xt;
3734
- return $(), U("div", {
3723
+ const _ = en, E = Hn("Delete"), B = Yt, q = It, U = Xt;
3724
+ return $(), Y("div", {
3735
3725
  class: Je(["global-info-table-renderer", { "global-info-table-renderer--editing": u.editing }])
3736
3726
  }, [
3737
- ee("div", va, [
3738
- we(K, {
3727
+ te("div", va, [
3728
+ we(U, {
3739
3729
  class: "global-info-table-renderer__table",
3740
3730
  data: u.section.rows,
3741
3731
  fit: !0,
3742
3732
  "table-layout": "auto",
3743
- "row-key": D
3733
+ "row-key": O
3744
3734
  }, {
3745
3735
  default: J(() => [
3746
3736
  r.value ? ($(), H(_, {
@@ -3749,40 +3739,40 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3749
3739
  label: i.value,
3750
3740
  width: s.value,
3751
3741
  index: z
3752
- }, null, 8, ["label", "width"])) : fe("", !0),
3753
- ($(!0), U(Se, null, ye(a.value, (G) => ($(), H(_, {
3742
+ }, null, 8, ["label", "width"])) : de("", !0),
3743
+ ($(!0), Y(be, null, ge(a.value, (G) => ($(), H(_, {
3754
3744
  key: T(G),
3755
3745
  prop: G.code,
3756
3746
  label: G.label,
3757
3747
  width: b(G),
3758
- "min-width": O(G)
3748
+ "min-width": D(G)
3759
3749
  }, {
3760
3750
  header: J(() => [
3761
- ee("span", ha, [
3762
- F(G) ? ($(), U("span", ga, "*")) : fe("", !0),
3763
- ee("span", null, me(G.label), 1)
3751
+ te("span", ha, [
3752
+ F(G) ? ($(), Y("span", ga, "*")) : de("", !0),
3753
+ te("span", null, pe(G.label), 1)
3764
3754
  ])
3765
3755
  ]),
3766
- default: J(({ row: Z, $index: ie }) => [
3767
- M(G) ? X(u.$slots, M(G), re({
3756
+ default: J(({ row: X, $index: P }) => [
3757
+ M(G) ? ee(u.$slots, M(G), oe({
3768
3758
  key: 0,
3769
3759
  ref_for: !0
3770
- }, m(G, Z, ie)), void 0, !0) : u.editing && h(G) ? ($(), H(Bn, {
3760
+ }, m(G, X, P)), void 0, !0) : u.editing && h(G) ? ($(), H(Bn, {
3771
3761
  key: 1,
3772
3762
  field: G,
3773
- "model-value": Z[G.code],
3763
+ "model-value": X[G.code],
3774
3764
  section: u.section,
3775
- row: Z,
3776
- "row-index": ie,
3777
- onLoadOptions: (P) => R(G, Z, P),
3778
- "onUpdate:modelValue": (P) => V(Z, ie, G, P)
3765
+ row: X,
3766
+ "row-index": P,
3767
+ onLoadOptions: (Z) => R(G, X, Z),
3768
+ "onUpdate:modelValue": (Z) => V(X, P, G, Z)
3779
3769
  }, null, 8, ["field", "model-value", "section", "row", "row-index", "onLoadOptions", "onUpdate:modelValue"])) : ($(), H(En, {
3780
3770
  key: 2,
3781
3771
  field: G,
3782
- value: Z[G.code],
3772
+ value: X[G.code],
3783
3773
  section: u.section,
3784
- row: Z,
3785
- "row-index": ie
3774
+ row: X,
3775
+ "row-index": P
3786
3776
  }, null, 8, ["field", "value", "section", "row", "row-index"]))
3787
3777
  ]),
3788
3778
  _: 2
@@ -3793,10 +3783,10 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3793
3783
  width: "104",
3794
3784
  fixed: "right"
3795
3785
  }, {
3796
- default: J(({ row: G, $index: Z }) => [
3797
- I(G, Z) ? ($(), H(ma, {
3786
+ default: J(({ row: G, $index: X }) => [
3787
+ I(G, X) ? ($(), H(ma, {
3798
3788
  key: 0,
3799
- onConfirm: (ie) => w(Z)
3789
+ onConfirm: (P) => w(X)
3800
3790
  }, {
3801
3791
  default: J(() => [
3802
3792
  we(q, {
@@ -3805,9 +3795,9 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3805
3795
  type: "danger"
3806
3796
  }, {
3807
3797
  default: J(() => [
3808
- we(E, { class: "global-info-table-renderer__delete-icon" }, {
3798
+ we(B, { class: "global-info-table-renderer__delete-icon" }, {
3809
3799
  default: J(() => [
3810
- we(B)
3800
+ we(E)
3811
3801
  ]),
3812
3802
  _: 1
3813
3803
  }),
@@ -3817,10 +3807,10 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3817
3807
  })
3818
3808
  ]),
3819
3809
  _: 2
3820
- }, 1032, ["onConfirm"])) : fe("", !0)
3810
+ }, 1032, ["onConfirm"])) : de("", !0)
3821
3811
  ]),
3822
3812
  _: 1
3823
- })) : fe("", !0)
3813
+ })) : de("", !0)
3824
3814
  ]),
3825
3815
  _: 3
3826
3816
  }, 8, ["data"])
@@ -3828,7 +3818,7 @@ const ua = { class: "global-info-form-renderer__label" }, da = {
3828
3818
  ], 2);
3829
3819
  };
3830
3820
  }
3831
- }), ba = /* @__PURE__ */ be(ya, [["__scopeId", "data-v-366b90b7"]]), Sa = /* @__PURE__ */ de({
3821
+ }), ba = /* @__PURE__ */ ye(ya, [["__scopeId", "data-v-bfc7b8fe"]]), Sa = /* @__PURE__ */ ue({
3832
3822
  name: "GlobalInfoAutoRenderer",
3833
3823
  __name: "GlobalInfoAutoRenderer",
3834
3824
  props: {
@@ -3875,7 +3865,7 @@ function Ct(e, t, n) {
3875
3865
  function Rn(e) {
3876
3866
  return typeof e == "string" ? e.trim() : "";
3877
3867
  }
3878
- const wa = /* @__PURE__ */ de({
3868
+ const wa = /* @__PURE__ */ ue({
3879
3869
  name: "GlobalInfoSectionOutlet",
3880
3870
  __name: "GlobalInfoSectionOutlet",
3881
3871
  props: {
@@ -3910,7 +3900,7 @@ const wa = /* @__PURE__ */ de({
3910
3900
  function l(a) {
3911
3901
  return a === "form" || a === "table" ? a : "";
3912
3902
  }
3913
- return (a, c) => s.value ? X(a.$slots, s.value, {
3903
+ return (a, c) => s.value ? ee(a.$slots, s.value, {
3914
3904
  key: 0,
3915
3905
  section: a.section,
3916
3906
  sectionView: a.section,
@@ -3932,7 +3922,7 @@ const wa = /* @__PURE__ */ de({
3932
3922
  "render-config": a.renderConfig
3933
3923
  }, null, 8, ["section", "node", "editing", "state", "actions", "render-config"]));
3934
3924
  }
3935
- }), Ia = de({
3925
+ }), Ia = ue({
3936
3926
  name: "GlobalInfoSlotErrorBoundary",
3937
3927
  props: {
3938
3928
  boundaryKey: {
@@ -3948,7 +3938,7 @@ const wa = /* @__PURE__ */ de({
3948
3938
  error: (e) => !0
3949
3939
  },
3950
3940
  setup(e, { emit: t, slots: n }) {
3951
- const o = ge(!1);
3941
+ const o = he(!1);
3952
3942
  Be(
3953
3943
  () => e.boundaryKey,
3954
3944
  () => {
@@ -3974,7 +3964,7 @@ const wa = /* @__PURE__ */ de({
3974
3964
  }, Ca = { class: "global-info-section-block__title-wrap" }, ka = { class: "global-info-section-block__title" }, Ma = {
3975
3965
  key: 0,
3976
3966
  class: "global-info-section-block__actions"
3977
- }, Ta = { class: "global-info-section-block__body" }, Da = /* @__PURE__ */ de({
3967
+ }, Ta = { class: "global-info-section-block__body" }, Oa = /* @__PURE__ */ ue({
3978
3968
  name: "GlobalInfoSectionBlock",
3979
3969
  __name: "GlobalInfoSectionBlock",
3980
3970
  props: {
@@ -3988,7 +3978,7 @@ const wa = /* @__PURE__ */ de({
3988
3978
  onSave: { type: Function }
3989
3979
  },
3990
3980
  setup(e) {
3991
- const t = e, n = Ee(), o = ge(!1), r = ge(null), i = ge(null), s = L(() => !!t.hideHeader), l = L(() => t.actions.getSectionStatus(t.node)), a = L(() => t.actions.getSection(t.node) ?? i.value), c = L(() => {
3981
+ const t = e, n = Ee(), o = he(!1), r = he(null), i = he(null), s = L(() => !!t.hideHeader), l = L(() => t.actions.getSectionStatus(t.node)), a = L(() => t.actions.getSection(t.node) ?? i.value), c = L(() => {
3992
3982
  const b = a.value;
3993
3983
  return b ? ut(b.fields, b, t.renderConfig, {
3994
3984
  values: b.model,
@@ -4033,8 +4023,8 @@ const wa = /* @__PURE__ */ de({
4033
4023
  function m() {
4034
4024
  const b = a.value;
4035
4025
  if (!b) return;
4036
- const O = b.fields.reduce((T, z) => (T[z.code] = z.value ?? "", T), { __rowKey: `new-${Date.now()}` });
4037
- t.actions.saveRow(b, O, -1);
4026
+ const D = b.fields.reduce((T, z) => (T[z.code] = z.value ?? "", T), { __rowKey: `new-${Date.now()}` });
4027
+ t.actions.saveRow(b, D, -1);
4038
4028
  }
4039
4029
  async function M() {
4040
4030
  const b = a.value;
@@ -4045,8 +4035,8 @@ const wa = /* @__PURE__ */ de({
4045
4035
  return;
4046
4036
  }
4047
4037
  await t.actions.saveSection(b);
4048
- } catch (O) {
4049
- r.value = O, console.error("[GlobalInfoSectionBlock] save section failed", O);
4038
+ } catch (D) {
4039
+ r.value = D, console.error("[GlobalInfoSectionBlock] save section failed", D);
4050
4040
  }
4051
4041
  }
4052
4042
  function h(b) {
@@ -4069,24 +4059,24 @@ const wa = /* @__PURE__ */ de({
4069
4059
  () => {
4070
4060
  j();
4071
4061
  }
4072
- ), (b, O) => {
4062
+ ), (b, D) => {
4073
4063
  const T = It;
4074
- return $(), U("section", _a, [
4075
- s.value ? fe("", !0) : ($(), U("header", $a, [
4076
- X(b.$slots, "header", Me(Fe(S.value)), () => [
4077
- ee("div", Ca, [
4078
- O[0] || (O[0] = ee("span", { class: "global-info-section-block__marker" }, null, -1)),
4079
- ee("h3", ka, me(g.value), 1)
4064
+ return $(), Y("section", _a, [
4065
+ s.value ? de("", !0) : ($(), Y("header", $a, [
4066
+ ee(b.$slots, "header", Me(Fe(S.value)), () => [
4067
+ te("div", Ca, [
4068
+ D[0] || (D[0] = te("span", { class: "global-info-section-block__marker" }, null, -1)),
4069
+ te("h3", ka, pe(g.value), 1)
4080
4070
  ]),
4081
- X(b.$slots, "actions", Me(Fe(S.value)), () => [
4082
- a.value ? ($(), U("div", Ma, [
4083
- w.value ? ($(), U(Se, { key: 1 }, [
4071
+ ee(b.$slots, "actions", Me(Fe(S.value)), () => [
4072
+ a.value ? ($(), Y("div", Ma, [
4073
+ w.value ? ($(), Y(be, { key: 1 }, [
4084
4074
  we(T, {
4085
4075
  class: "global-info-section-block__cancel",
4086
4076
  disabled: l.value.saving,
4087
4077
  onClick: v
4088
4078
  }, {
4089
- default: J(() => O[2] || (O[2] = [
4079
+ default: J(() => D[2] || (D[2] = [
4090
4080
  Ue(" 取消 ")
4091
4081
  ])),
4092
4082
  _: 1
@@ -4097,18 +4087,18 @@ const wa = /* @__PURE__ */ de({
4097
4087
  disabled: l.value.saving,
4098
4088
  onClick: m
4099
4089
  }, {
4100
- default: J(() => O[3] || (O[3] = [
4090
+ default: J(() => D[3] || (D[3] = [
4101
4091
  Ue(" 新增 ")
4102
4092
  ])),
4103
4093
  _: 1
4104
- }, 8, ["disabled"])) : fe("", !0),
4094
+ }, 8, ["disabled"])) : de("", !0),
4105
4095
  we(T, {
4106
4096
  class: "global-info-section-block__confirm",
4107
4097
  loading: l.value.saving,
4108
4098
  onClick: M
4109
4099
  }, {
4110
4100
  default: J(() => [
4111
- Ue(me(I.value ? "确认" : "保存"), 1)
4101
+ Ue(pe(I.value ? "确认" : "保存"), 1)
4112
4102
  ]),
4113
4103
  _: 1
4114
4104
  }, 8, ["loading"])
@@ -4118,31 +4108,31 @@ const wa = /* @__PURE__ */ de({
4118
4108
  disabled: l.value.saving || V.value,
4119
4109
  onClick: R
4120
4110
  }, {
4121
- default: J(() => O[1] || (O[1] = [
4122
- ee("svg", {
4111
+ default: J(() => D[1] || (D[1] = [
4112
+ te("svg", {
4123
4113
  class: "global-info-section-block__edit-icon",
4124
4114
  viewBox: "0 0 12 12",
4125
4115
  "aria-hidden": "true",
4126
4116
  focusable: "false"
4127
4117
  }, [
4128
- ee("path", {
4118
+ te("path", {
4129
4119
  d: "M0.437665 12C0.316763 11.9845 0.205604 11.9251 0.125029 11.8329C0.0444551 11.7407 0 11.622 0 11.499C0 11.3761 0.0444551 11.2574 0.125029 11.1652C0.205604 11.0729 0.316763 11.0135 0.437665 10.998H11.5623C11.6832 11.0135 11.7944 11.0729 11.875 11.1652C11.9555 11.2574 12 11.3761 12 11.499C12 11.622 11.9555 11.7407 11.875 11.8329C11.7944 11.9251 11.6832 11.9845 11.5623 12H0.437665ZM9.59963 0.233088L10.72 1.36329C10.868 1.51347 10.9511 1.71663 10.9511 1.92839C10.9511 2.14015 10.868 2.34331 10.72 2.49349L3.61614 9.6354C3.54189 9.70969 3.45384 9.76846 3.35702 9.80835C3.26021 9.84824 3.15654 9.86846 3.05196 9.86785H1.57397C1.4686 9.86785 1.36754 9.82562 1.29303 9.75046C1.21852 9.6753 1.17666 9.57336 1.17666 9.46707V7.93609C1.17606 7.8306 1.1961 7.72602 1.23564 7.62836C1.27519 7.5307 1.33345 7.44188 1.4071 7.36698L8.47921 0.233088C8.62809 0.0837965 8.82949 0 9.03942 0C9.24935 0 9.45074 0.0837965 9.59963 0.233088ZM2.16993 8.01624V8.8659H3.01223L9.88569 1.9324L9.04339 1.07473L2.16993 8.01624Z",
4130
4120
  fill: "currentColor"
4131
4121
  })
4132
4122
  ], -1),
4133
- ee("span", null, "编辑", -1)
4123
+ te("span", null, "编辑", -1)
4134
4124
  ])),
4135
4125
  _: 1
4136
4126
  }, 8, ["disabled"]))
4137
- ])) : fe("", !0)
4127
+ ])) : de("", !0)
4138
4128
  ], !0)
4139
4129
  ], !0)
4140
4130
  ])),
4141
- ee("div", Ta, [
4142
- V.value ? X(b.$slots, "loading", Me(re({ key: 0 }, S.value)), () => [
4143
- O[4] || (O[4] = ee("div", { class: "global-info-section-block__status" }, "加载中...", -1))
4144
- ], !0) : !a.value || d.value ? X(b.$slots, "empty", Me(re({ key: 1 }, S.value)), () => [
4145
- O[5] || (O[5] = ee("div", { class: "global-info-section-block__status" }, "暂无数据", -1))
4131
+ te("div", Ta, [
4132
+ V.value ? ee(b.$slots, "loading", Me(oe({ key: 0 }, S.value)), () => [
4133
+ D[4] || (D[4] = te("div", { class: "global-info-section-block__status" }, "加载中...", -1))
4134
+ ], !0) : !a.value || d.value ? ee(b.$slots, "empty", Me(oe({ key: 1 }, S.value)), () => [
4135
+ D[5] || (D[5] = te("div", { class: "global-info-section-block__status" }, "暂无数据", -1))
4146
4136
  ], !0) : ($(), H(Ia, {
4147
4137
  key: 2,
4148
4138
  "boundary-key": b.node.key,
@@ -4150,8 +4140,8 @@ const wa = /* @__PURE__ */ de({
4150
4140
  onError: h
4151
4141
  }, {
4152
4142
  fallback: J(() => [
4153
- X(b.$slots, "empty", Me(Fe(S.value)), () => [
4154
- O[6] || (O[6] = ee("div", { class: "global-info-section-block__status" }, "暂无数据", -1))
4143
+ ee(b.$slots, "empty", Me(Fe(S.value)), () => [
4144
+ D[6] || (D[6] = te("div", { class: "global-info-section-block__status" }, "暂无数据", -1))
4155
4145
  ], !0)
4156
4146
  ]),
4157
4147
  default: J(() => [
@@ -4163,10 +4153,10 @@ const wa = /* @__PURE__ */ de({
4163
4153
  actions: b.actions,
4164
4154
  "render-config": b.renderConfig
4165
4155
  }, je({ _: 2 }, [
4166
- ye(se(n), (z, ne) => ({
4156
+ ge(re(n), (z, ne) => ({
4167
4157
  name: ne,
4168
4158
  fn: J((x) => [
4169
- X(b.$slots, ne, Me(Fe({ ...S.value, ...x })), void 0, !0)
4159
+ ee(b.$slots, ne, Me(Fe({ ...S.value, ...x })), void 0, !0)
4170
4160
  ])
4171
4161
  }))
4172
4162
  ]), 1032, ["section", "node", "editing", "state", "actions", "render-config"])
@@ -4177,7 +4167,7 @@ const wa = /* @__PURE__ */ de({
4177
4167
  ]);
4178
4168
  };
4179
4169
  }
4180
- }), Oa = /* @__PURE__ */ be(Da, [["__scopeId", "data-v-77980d16"]]), Fa = { class: "global-info-group" }, Ba = { class: "global-info-group__header" }, Ea = { class: "global-info-group__title" }, La = { class: "global-info-group__body" }, Va = ["id"], Pa = /* @__PURE__ */ de({
4170
+ }), Da = /* @__PURE__ */ ye(Oa, [["__scopeId", "data-v-8a4b5280"]]), Fa = { class: "global-info-group" }, Ba = { class: "global-info-group__header" }, Ea = { class: "global-info-group__title" }, La = { class: "global-info-group__body" }, Va = ["id"], Pa = /* @__PURE__ */ ue({
4181
4171
  name: "GlobalInfoGroup",
4182
4172
  __name: "GlobalInfoGroup",
4183
4173
  props: {
@@ -4220,8 +4210,8 @@ const wa = /* @__PURE__ */ de({
4220
4210
  function a(c) {
4221
4211
  return `global-info-section-${l(c, 0)}`;
4222
4212
  }
4223
- return (c, g) => ($(), U("section", Fa, [
4224
- X(c.$slots, "header", {
4213
+ return (c, g) => ($(), Y("section", Fa, [
4214
+ ee(c.$slots, "header", {
4225
4215
  group: c.group,
4226
4216
  children: c.children,
4227
4217
  state: c.state,
@@ -4231,13 +4221,13 @@ const wa = /* @__PURE__ */ de({
4231
4221
  index: c.index,
4232
4222
  isEmpty: c.children.length === 0
4233
4223
  }, () => [
4234
- ee("header", Ba, [
4235
- g[0] || (g[0] = ee("span", { class: "global-info-group__marker" }, null, -1)),
4236
- ee("h2", Ea, me(o.value), 1)
4224
+ te("header", Ba, [
4225
+ g[0] || (g[0] = te("span", { class: "global-info-group__marker" }, null, -1)),
4226
+ te("h2", Ea, pe(o.value), 1)
4237
4227
  ])
4238
4228
  ], !0),
4239
- ee("div", La, [
4240
- se(n).default ? X(c.$slots, "default", {
4229
+ te("div", La, [
4230
+ re(n).default ? ee(c.$slots, "default", {
4241
4231
  key: 0,
4242
4232
  group: c.group,
4243
4233
  children: c.children,
@@ -4246,19 +4236,19 @@ const wa = /* @__PURE__ */ de({
4246
4236
  renderConfig: c.renderConfig,
4247
4237
  index: c.index,
4248
4238
  isEmpty: c.children.length === 0
4249
- }, void 0, !0) : ($(), U(Se, { key: 1 }, [
4250
- ($(!0), U(Se, null, ye(c.children, (w, I) => ($(), U("div", {
4239
+ }, void 0, !0) : ($(), Y(be, { key: 1 }, [
4240
+ ($(!0), Y(be, null, ge(c.children, (w, I) => ($(), Y("div", {
4251
4241
  id: a(w),
4252
4242
  key: l(w, I),
4253
4243
  class: "global-info-group__section"
4254
4244
  }, [
4255
- s(w) ? X(c.$slots, s(w), re({
4245
+ s(w) ? ee(c.$slots, s(w), oe({
4256
4246
  key: 0,
4257
4247
  ref_for: !0
4258
- }, i(w, I)), void 0, !0) : se(n).section ? X(c.$slots, "section", re({
4248
+ }, i(w, I)), void 0, !0) : re(n).section ? ee(c.$slots, "section", oe({
4259
4249
  key: 1,
4260
4250
  ref_for: !0
4261
- }, i(w, I)), void 0, !0) : ($(), H(Oa, {
4251
+ }, i(w, I)), void 0, !0) : ($(), H(Da, {
4262
4252
  key: 2,
4263
4253
  node: w,
4264
4254
  state: c.state,
@@ -4266,15 +4256,15 @@ const wa = /* @__PURE__ */ de({
4266
4256
  "hide-header": r.value,
4267
4257
  "render-config": c.renderConfig
4268
4258
  }, je({ _: 2 }, [
4269
- ye(se(n), (V, A) => ({
4259
+ ge(re(n), (V, A) => ({
4270
4260
  name: A,
4271
4261
  fn: J((d) => [
4272
- X(c.$slots, A, re({ ref_for: !0 }, d), void 0, !0)
4262
+ ee(c.$slots, A, oe({ ref_for: !0 }, d), void 0, !0)
4273
4263
  ])
4274
4264
  }))
4275
4265
  ]), 1032, ["node", "state", "actions", "hide-header", "render-config"]))
4276
4266
  ], 8, Va))), 128)),
4277
- c.children.length === 0 ? X(c.$slots, "empty", {
4267
+ c.children.length === 0 ? ee(c.$slots, "empty", {
4278
4268
  key: 0,
4279
4269
  node: null,
4280
4270
  group: c.group,
@@ -4284,13 +4274,13 @@ const wa = /* @__PURE__ */ de({
4284
4274
  index: -1,
4285
4275
  renderConfig: c.renderConfig
4286
4276
  }, () => [
4287
- g[1] || (g[1] = ee("div", { class: "global-info-group__empty" }, "暂无数据", -1))
4288
- ], !0) : fe("", !0)
4277
+ g[1] || (g[1] = te("div", { class: "global-info-group__empty" }, "暂无数据", -1))
4278
+ ], !0) : de("", !0)
4289
4279
  ], 64))
4290
4280
  ])
4291
4281
  ]));
4292
4282
  }
4293
- }), Aa = /* @__PURE__ */ be(Pa, [["__scopeId", "data-v-352d3733"]]), ja = { class: "global-info-sections" }, Na = /* @__PURE__ */ de({
4283
+ }), Aa = /* @__PURE__ */ ye(Pa, [["__scopeId", "data-v-e86fcaf6"]]), ja = { class: "global-info-sections" }, Na = /* @__PURE__ */ ue({
4294
4284
  name: "GlobalInfoSections",
4295
4285
  __name: "GlobalInfoSections",
4296
4286
  props: {
@@ -4341,11 +4331,11 @@ const wa = /* @__PURE__ */ de({
4341
4331
  children: I
4342
4332
  }));
4343
4333
  }
4344
- return (g, w) => ($(), U("div", ja, [
4345
- ($(!0), U(Se, null, ye(o.value, (I, V) => ($(), U(Se, {
4334
+ return (g, w) => ($(), Y("div", ja, [
4335
+ ($(!0), Y(be, null, ge(o.value, (I, V) => ($(), Y(be, {
4346
4336
  key: l(I.group, V)
4347
4337
  }, [
4348
- s(I.group) ? X(g.$slots, s(I.group), {
4338
+ s(I.group) ? ee(g.$slots, s(I.group), {
4349
4339
  key: 0,
4350
4340
  group: I.group,
4351
4341
  children: I.children,
@@ -4354,7 +4344,7 @@ const wa = /* @__PURE__ */ de({
4354
4344
  renderConfig: g.renderConfig,
4355
4345
  index: V,
4356
4346
  isEmpty: I.children.length === 0
4357
- }, void 0, !0) : se(n).group ? X(g.$slots, "group", {
4347
+ }, void 0, !0) : re(n).group ? ee(g.$slots, "group", {
4358
4348
  key: 1,
4359
4349
  group: I.group,
4360
4350
  children: I.children,
@@ -4372,19 +4362,19 @@ const wa = /* @__PURE__ */ de({
4372
4362
  "render-config": g.renderConfig,
4373
4363
  index: V
4374
4364
  }, je({ _: 2 }, [
4375
- ye(se(n), (A, d) => ({
4365
+ ge(re(n), (A, d) => ({
4376
4366
  name: d,
4377
4367
  fn: J((S) => [
4378
- X(g.$slots, d, re({ ref_for: !0 }, S), void 0, !0)
4368
+ ee(g.$slots, d, oe({ ref_for: !0 }, S), void 0, !0)
4379
4369
  ])
4380
4370
  }))
4381
4371
  ]), 1032, ["group", "children", "state", "actions", "render-config", "index"]))
4382
4372
  ], 64))), 128))
4383
4373
  ]));
4384
4374
  }
4385
- }), Ha = /* @__PURE__ */ be(Na, [["__scopeId", "data-v-2be3bbc5"]]);
4375
+ }), Ha = /* @__PURE__ */ ye(Na, [["__scopeId", "data-v-6f22a098"]]);
4386
4376
  export {
4387
- On as DEFAULT_GLOBAL_INFO_REQUIRED_INFO_SET_EMPTY_MESSAGE,
4377
+ Dn as DEFAULT_GLOBAL_INFO_REQUIRED_INFO_SET_EMPTY_MESSAGE,
4388
4378
  Sa as GlobalInfoAutoRenderer,
4389
4379
  ma as GlobalInfoDeleteConfirm,
4390
4380
  Bn as GlobalInfoFieldControl,
@@ -4392,7 +4382,7 @@ export {
4392
4382
  pa as GlobalInfoFormRenderer,
4393
4383
  Aa as GlobalInfoGroup,
4394
4384
  Ua as GlobalInfoProvider,
4395
- Oa as GlobalInfoSectionBlock,
4385
+ Da as GlobalInfoSectionBlock,
4396
4386
  wa as GlobalInfoSectionOutlet,
4397
4387
  Ha as GlobalInfoSections,
4398
4388
  ba as GlobalInfoTableRenderer,
@@ -4402,7 +4392,7 @@ export {
4402
4392
  fo as JtCascader,
4403
4393
  Ga as JtCrudTable,
4404
4394
  mo as JtDatePicker,
4405
- Oo as JtFilterBar,
4395
+ Do as JtFilterBar,
4406
4396
  So as JtFormItems,
4407
4397
  mt as JtInput,
4408
4398
  Ka as JtPageHeader,