@jt-home/mfe-components 1.0.33 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import './style.css';
2
2
  import { t as Z, J as Dt, i as Un } from "./index-C66W1IXZ.js";
3
3
  import { a as ms, g as vs, n as hs, r as gs, s as ys, b as bs } from "./index-C66W1IXZ.js";
4
- import { defineComponent as pe, useAttrs as Hn, computed as F, openBlock as $, createBlock as H, mergeProps as ae, toHandlers as et, withCtx as U, renderSlot as te, resolveDynamicComponent as Kt, createCommentVNode as de, ref as ge, watch as Ee, mergeDefaults as Jn, withKeys as Wn, createElementBlock as G, Fragment as Se, renderList as ye, normalizeStyle as Yt, nextTick as Zn, useSlots as Le, normalizeClass as We, createVNode as Ie, withModifiers as Ut, unref as J, createSlots as Re, createElementVNode as ne, toDisplayString as oe, normalizeProps as Oe, guardReactiveProps as Be, useModel as vt, withDirectives as Qn, mergeModels as Ft, shallowRef as Ae, onMounted as Ht, onBeforeUnmount as Xn, createTextVNode as He, resolveComponent as eo, onErrorCaptured as to } from "vue";
4
+ import { defineComponent as pe, useAttrs as Hn, computed as F, openBlock as $, createBlock as H, mergeProps as ae, toHandlers as et, withCtx as U, renderSlot as te, resolveDynamicComponent as Kt, createCommentVNode as de, ref as ge, watch as Ee, mergeDefaults as Jn, withKeys as Wn, createElementBlock as G, Fragment as Se, renderList as ye, normalizeStyle as Yt, nextTick as Zn, useSlots as Le, normalizeClass as We, createVNode as Ie, withModifiers as Ut, unref as J, createSlots as Re, createElementVNode as ne, toDisplayString as oe, normalizeProps as Oe, guardReactiveProps as Be, useModel as vt, withDirectives as Qn, mergeModels as Ft, shallowRef as je, onMounted as Ht, onBeforeUnmount as Xn, createTextVNode as He, resolveComponent as eo, onErrorCaptured as to } from "vue";
5
5
  import { ElButton as $t, ElIcon as Jt, ElCascader as no, ElDatePicker as Wt, ElInput as Zt, ElSelect as Qt, ElOption as Xt, ElFormItem as en, ElForm as tn, ElTable as nn, ElTableColumn as on, ElPagination as oo, ElLoadingDirective as ro, ElInputNumber as ao, ElSwitch as so, ElRow as lo, ElCol as io, ElPopconfirm as co } from "element-plus/es";
6
6
  import { cascaderEmits as uo, inputEmits as Bt, selectEmits as Et } from "element-plus";
7
7
  const bt = 2, fo = 3;
@@ -94,7 +94,7 @@ const vo = /* @__PURE__ */ pe({
94
94
  for (const [o, r] of t)
95
95
  n[o] = r;
96
96
  return n;
97
- }, rt = /* @__PURE__ */ be(vo, [["__scopeId", "data-v-9651b22b"]]), ho = {
97
+ }, rt = /* @__PURE__ */ be(vo, [["__scopeId", "data-v-28dbb12d"]]), ho = {
98
98
  // 默认值只补组件缺省体验,显式传入的 false、null 和空字符串仍由归一化逻辑保留。
99
99
  options: () => [],
100
100
  placeholder: Z("common.请选择"),
@@ -277,7 +277,7 @@ const yo = /* @__PURE__ */ pe({
277
277
  }), null, 16);
278
278
  };
279
279
  }
280
- }), So = /* @__PURE__ */ be(bo, [["__scopeId", "data-v-8a40d2aa"]]), _o = /* @__PURE__ */ pe({
280
+ }), So = /* @__PURE__ */ be(bo, [["__scopeId", "data-v-3ee50dbc"]]), _o = /* @__PURE__ */ pe({
281
281
  name: "JtInput",
282
282
  __name: "index",
283
283
  props: {
@@ -333,7 +333,7 @@ const yo = /* @__PURE__ */ pe({
333
333
  }), null, 16);
334
334
  };
335
335
  }
336
- }), ht = /* @__PURE__ */ be(_o, [["__scopeId", "data-v-2cc0b532"]]), wo = /* @__PURE__ */ pe({
336
+ }), ht = /* @__PURE__ */ be(_o, [["__scopeId", "data-v-10ac743d"]]), wo = /* @__PURE__ */ pe({
337
337
  name: "JtSelect",
338
338
  __name: "index",
339
339
  props: {
@@ -414,7 +414,7 @@ const yo = /* @__PURE__ */ pe({
414
414
  }, 16);
415
415
  };
416
416
  }
417
- }), Io = /* @__PURE__ */ be(wo, [["__scopeId", "data-v-32dcf973"]]), $o = { class: "jt-form-items" }, gt = 4, Co = /* @__PURE__ */ pe({
417
+ }), Io = /* @__PURE__ */ be(wo, [["__scopeId", "data-v-8e1bf362"]]), $o = { class: "jt-form-items" }, gt = 4, Co = /* @__PURE__ */ pe({
418
418
  name: "JTFormItems",
419
419
  __name: "JtFormItems",
420
420
  props: {
@@ -506,7 +506,7 @@ const yo = /* @__PURE__ */ pe({
506
506
  "model-value": h.formData[g.prop],
507
507
  ref_for: !0
508
508
  }, l(g), et(b(g)), {
509
- "onUpdate:modelValue": (j) => C(g.prop, j),
509
+ "onUpdate:modelValue": (A) => C(g.prop, A),
510
510
  onChange: () => P(g.prop, "change"),
511
511
  onBlur: () => P(g.prop, "blur")
512
512
  }), null, 16, ["model-value", "onUpdate:modelValue", "onChange", "onBlur"]))
@@ -526,7 +526,7 @@ const yo = /* @__PURE__ */ pe({
526
526
  ]);
527
527
  };
528
528
  }
529
- }), ko = /* @__PURE__ */ be(Co, [["__scopeId", "data-v-626f3919"]]);
529
+ }), ko = /* @__PURE__ */ be(Co, [["__scopeId", "data-v-d2355a20"]]);
530
530
  function Mo() {
531
531
  const e = ge(!1);
532
532
  function t() {
@@ -567,7 +567,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
567
567
  () => w.value.searchLabelPosition ?? "top"
568
568
  ), g = F(
569
569
  () => z(w.value.searchGutter, 16)
570
- ), j = F(
570
+ ), A = F(
571
571
  () => z(w.value.searchRowGap, 10)
572
572
  ), S = F(
573
573
  () => Q(w.value.searchPadding ?? "18px 4px 0")
@@ -575,7 +575,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
575
575
  if (!B.value || !C.value) return L.value;
576
576
  let V = 0;
577
577
  return L.value.filter((X) => {
578
- const fe = A(X);
578
+ const fe = j(X);
579
579
  return V + fe > T.value ? !1 : (V += fe, !0);
580
580
  });
581
581
  }), x = F(
@@ -612,7 +612,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
612
612
  ...X,
613
613
  prop: V.prop,
614
614
  label: V.searchLabel ?? V.label,
615
- span: A(V),
615
+ span: j(V),
616
616
  itemType: fe,
617
617
  // 外部提供 `${prop}-search` 时交给插槽渲染,保持旧版 JtFilterBar 的自定义能力。
618
618
  showSlot: !!a[`${V.prop}-search`],
@@ -658,11 +658,11 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
658
658
  function E() {
659
659
  C.value = !C.value;
660
660
  }
661
- function A(V) {
661
+ function j(V) {
662
662
  return Math.min(P.value, Math.max(1, V.searchSpan ?? 1));
663
663
  }
664
664
  function q(V) {
665
- return V.reduce((X, fe) => X + A(fe), 0);
665
+ return V.reduce((X, fe) => X + j(fe), 0);
666
666
  }
667
667
  function K(V) {
668
668
  return typeof V == "number" ? `${V}px` : V;
@@ -696,7 +696,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
696
696
  "--jt-filter-actions-start": le.value,
697
697
  "--jt-filter-label-width": m.value,
698
698
  "--jt-filter-column-gap": `${g.value}px`,
699
- "--jt-filter-row-gap": `${j.value}px`,
699
+ "--jt-filter-row-gap": `${A.value}px`,
700
700
  "--jt-filter-padding": S.value
701
701
  })
702
702
  }, [
@@ -714,7 +714,8 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
714
714
  default: U(() => [
715
715
  Ie(J(ko), {
716
716
  configs: R.value,
717
- "form-data": c.value
717
+ "form-data": c.value,
718
+ style: { "--jt-form-label-gap": "6px", "--jt-form-column-gap": "16px", "--jt-form-row-gap": "10px" }
718
719
  }, Re({
719
720
  actions: U(() => [
720
721
  ne("div", Fo, [
@@ -803,7 +804,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
803
804
  ], 6);
804
805
  };
805
806
  }
806
- }), Po = /* @__PURE__ */ be(Vo, [["__scopeId", "data-v-3c30ea6f"]]), Ao = { key: 1 }, jo = { key: 2 }, Ro = { key: 3 }, No = /* @__PURE__ */ pe({
807
+ }), Po = /* @__PURE__ */ be(Vo, [["__scopeId", "data-v-fba58b18"]]), jo = { key: 1 }, Ao = { key: 2 }, Ro = { key: 3 }, No = /* @__PURE__ */ pe({
807
808
  name: "JtTable",
808
809
  __name: "JtTable",
809
810
  props: {
@@ -824,7 +825,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
824
825
  return {
825
826
  width: d.width,
826
827
  minWidth: d.minWidth,
827
- align: d.align,
828
+ align: d.align || "center",
828
829
  fixed: d.fixed,
829
830
  sortable: d.sortable,
830
831
  showOverflowTooltip: d.showOverflowTooltip ?? w(d),
@@ -887,7 +888,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
887
888
  l(h.prop) ? te(d.$slots, `${h.prop}-data`, ae({
888
889
  key: 0,
889
890
  ref_for: !0
890
- }, m), void 0, !0) : h.dicData ? ($(), G("span", Ao, oe(P(h.dicData, m.row[h.prop])), 1)) : h.formatter ? ($(), G("span", jo, oe(h.formatter(
891
+ }, m), void 0, !0) : h.dicData ? ($(), G("span", jo, oe(P(h.dicData, m.row[h.prop])), 1)) : h.formatter ? ($(), G("span", Ao, oe(h.formatter(
891
892
  m.row,
892
893
  m.column,
893
894
  m.row[h.prop],
@@ -915,7 +916,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
915
916
  }, 16, ["data", "row-key", "empty-text"]);
916
917
  };
917
918
  }
918
- }), zo = /* @__PURE__ */ be(No, [["__scopeId", "data-v-205b269a"]]), xo = { class: "jt-pagination" }, qo = { class: "jt-pagination__count" }, Go = /* @__PURE__ */ pe({
919
+ }), zo = /* @__PURE__ */ be(No, [["__scopeId", "data-v-13a64976"]]), xo = { class: "jt-pagination" }, qo = { class: "jt-pagination__count" }, Go = /* @__PURE__ */ pe({
919
920
  name: "JtPagination",
920
921
  __name: "JtPagination",
921
922
  props: {
@@ -948,7 +949,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
948
949
  ]);
949
950
  };
950
951
  }
951
- }), Ko = /* @__PURE__ */ be(Go, [["__scopeId", "data-v-37c16fce"]]), Yo = { class: "jt-crud-table" }, Uo = { class: "filter-bar-box" }, Ho = { class: "jt-crud-table__result" }, Jo = { class: "jt-crud-table__table-group" }, Wo = {
952
+ }), Ko = /* @__PURE__ */ be(Go, [["__scopeId", "data-v-8f04a5d2"]]), Yo = { class: "jt-crud-table" }, Uo = { class: "filter-bar-box" }, Ho = { class: "jt-crud-table__result" }, Jo = { class: "jt-crud-table__table-group" }, Wo = {
952
953
  key: 0,
953
954
  class: "jt-crud-table__toolbar"
954
955
  }, Zo = /* @__PURE__ */ pe({
@@ -983,8 +984,8 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
983
984
  );
984
985
  function T() {
985
986
  const g = {};
986
- return o.columns.forEach((j) => {
987
- j.search && (g[j.prop] = void 0);
987
+ return o.columns.forEach((A) => {
988
+ A.search && (g[A.prop] = void 0);
988
989
  }), g;
989
990
  }
990
991
  function N() {
@@ -1008,7 +1009,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1008
1009
  searchLoading: m,
1009
1010
  /** 关闭筛选表单禁用。 */
1010
1011
  searchDone: O
1011
- }), (g, j) => {
1012
+ }), (g, A) => {
1012
1013
  const S = ro;
1013
1014
  return $(), G("div", Yo, [
1014
1015
  te(g.$slots, "header", {}, void 0, !0),
@@ -1018,7 +1019,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1018
1019
  ref_key: "filterBarRef",
1019
1020
  ref: b,
1020
1021
  modelValue: c.value,
1021
- "onUpdate:modelValue": j[0] || (j[0] = (B) => c.value = B),
1022
+ "onUpdate:modelValue": A[0] || (A[0] = (B) => c.value = B),
1022
1023
  columns: g.columns,
1023
1024
  option: w.value,
1024
1025
  onSearch: N,
@@ -1071,19 +1072,19 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1071
1072
  L.value ? ($(), H(Ko, {
1072
1073
  key: 0,
1073
1074
  "current-page": i.value,
1074
- "onUpdate:currentPage": j[1] || (j[1] = (B) => i.value = B),
1075
+ "onUpdate:currentPage": A[1] || (A[1] = (B) => i.value = B),
1075
1076
  "page-size": a.value,
1076
- "onUpdate:pageSize": j[2] || (j[2] = (B) => a.value = B),
1077
+ "onUpdate:pageSize": A[2] || (A[2] = (B) => a.value = B),
1077
1078
  total: g.total,
1078
1079
  option: w.value,
1079
- onPageChange: j[3] || (j[3] = (B) => g.$emit("page-change", B)),
1080
- onSizeChange: j[4] || (j[4] = (B) => g.$emit("size-change", B))
1080
+ onPageChange: A[3] || (A[3] = (B) => g.$emit("page-change", B)),
1081
+ onSizeChange: A[4] || (A[4] = (B) => g.$emit("size-change", B))
1081
1082
  }, null, 8, ["current-page", "page-size", "total", "option"])) : de("", !0)
1082
1083
  ])
1083
1084
  ]);
1084
1085
  };
1085
1086
  }
1086
- }), ss = /* @__PURE__ */ be(Zo, [["__scopeId", "data-v-335c2682"]]), Qo = { class: "jt-page-header__title" }, Xo = { key: 0 }, er = {
1087
+ }), ss = /* @__PURE__ */ be(Zo, [["__scopeId", "data-v-3454628a"]]), Qo = { class: "jt-page-header__title" }, Xo = { key: 0 }, er = {
1087
1088
  key: 0,
1088
1089
  class: "jt-page-header__operates"
1089
1090
  }, tr = /* @__PURE__ */ pe({
@@ -1132,7 +1133,7 @@ const To = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%20
1132
1133
  ])) : de("", !0)
1133
1134
  ], 16));
1134
1135
  }
1135
- }), ls = /* @__PURE__ */ be(tr, [["__scopeId", "data-v-0926ebf1"]]);
1136
+ }), ls = /* @__PURE__ */ be(tr, [["__scopeId", "data-v-bbbd4ec6"]]);
1136
1137
  function nr(e, t) {
1137
1138
  t = t || (() => "default-use-once-sync");
1138
1139
  const n = /* @__PURE__ */ new Map();
@@ -1196,8 +1197,8 @@ var cn = { exports: {} };
1196
1197
  return R === void 0;
1197
1198
  } }, O = "en", g = {};
1198
1199
  g[O] = N;
1199
- var j = "$isDayjsObject", S = function(R) {
1200
- return R instanceof re || !(!R || !R[j]);
1200
+ var A = "$isDayjsObject", S = function(R) {
1201
+ return R instanceof re || !(!R || !R[A]);
1201
1202
  }, B = function R(D, y, u) {
1202
1203
  var v;
1203
1204
  if (!D) return O;
@@ -1207,8 +1208,8 @@ var cn = { exports: {} };
1207
1208
  var E = D.split("-");
1208
1209
  if (!v && E.length > 1) return R(E[0]);
1209
1210
  } else {
1210
- var A = D.name;
1211
- g[A] = D, v = A;
1211
+ var j = D.name;
1212
+ g[j] = D, v = j;
1212
1213
  }
1213
1214
  return !u && v && (O = v), v || !u && O;
1214
1215
  }, M = function(R, D) {
@@ -1221,7 +1222,7 @@ var cn = { exports: {} };
1221
1222
  };
1222
1223
  var re = function() {
1223
1224
  function R(y) {
1224
- this.$L = B(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[j] = !0;
1225
+ this.$L = B(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[A] = !0;
1225
1226
  }
1226
1227
  var D = R.prototype;
1227
1228
  return D.parse = function(y) {
@@ -1233,8 +1234,8 @@ var cn = { exports: {} };
1233
1234
  if (typeof v == "string" && !/Z$/i.test(v)) {
1234
1235
  var E = v.match(_);
1235
1236
  if (E) {
1236
- var A = E[2] - 1 || 0, q = (E[7] || "0").substring(0, 3);
1237
- return I ? new Date(Date.UTC(E[1], A, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q)) : new Date(E[1], A, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q);
1237
+ var j = E[2] - 1 || 0, q = (E[7] || "0").substring(0, 3);
1238
+ return I ? new Date(Date.UTC(E[1], j, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q)) : new Date(E[1], j, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q);
1238
1239
  }
1239
1240
  }
1240
1241
  return new Date(v);
@@ -1260,7 +1261,7 @@ var cn = { exports: {} };
1260
1261
  }, D.valueOf = function() {
1261
1262
  return this.$d.getTime();
1262
1263
  }, D.startOf = function(y, u) {
1263
- var v = this, I = !!x.u(u) || u, E = x.p(y), A = function(ue, me) {
1264
+ var v = this, I = !!x.u(u) || u, E = x.p(y), j = function(ue, me) {
1264
1265
  var we = x.w(v.$u ? Date.UTC(v.$y, me, ue) : new Date(v.$y, me, ue), v);
1265
1266
  return I ? we : we.endOf(l);
1266
1267
  }, q = function(ue, me) {
@@ -1268,12 +1269,12 @@ var cn = { exports: {} };
1268
1269
  }, K = this.$W, z = this.$M, Q = this.$D, V = "set" + (this.$u ? "UTC" : "");
1269
1270
  switch (E) {
1270
1271
  case L:
1271
- return I ? A(1, 0) : A(31, 11);
1272
+ return I ? j(1, 0) : j(31, 11);
1272
1273
  case w:
1273
- return I ? A(1, z) : A(0, z + 1);
1274
+ return I ? j(1, z) : j(0, z + 1);
1274
1275
  case b:
1275
1276
  var X = this.$locale().weekStart || 0, fe = (K < X ? K + 7 : K) - X;
1276
- return A(I ? Q - fe : Q + (6 - fe), z);
1277
+ return j(I ? Q - fe : Q + (6 - fe), z);
1277
1278
  case l:
1278
1279
  case P:
1279
1280
  return q(V + "Hours", 0);
@@ -1289,11 +1290,11 @@ var cn = { exports: {} };
1289
1290
  }, D.endOf = function(y) {
1290
1291
  return this.startOf(y, !1);
1291
1292
  }, D.$set = function(y, u) {
1292
- var v, I = x.p(y), E = "set" + (this.$u ? "UTC" : ""), A = (v = {}, v[l] = E + "Date", v[P] = E + "Date", v[w] = E + "Month", v[L] = E + "FullYear", v[s] = E + "Hours", v[c] = E + "Minutes", v[a] = E + "Seconds", v[i] = E + "Milliseconds", v)[I], q = I === l ? this.$D + (u - this.$W) : u;
1293
+ var v, I = x.p(y), E = "set" + (this.$u ? "UTC" : ""), j = (v = {}, v[l] = E + "Date", v[P] = E + "Date", v[w] = E + "Month", v[L] = E + "FullYear", v[s] = E + "Hours", v[c] = E + "Minutes", v[a] = E + "Seconds", v[i] = E + "Milliseconds", v)[I], q = I === l ? this.$D + (u - this.$W) : u;
1293
1294
  if (I === w || I === L) {
1294
1295
  var K = this.clone().set(P, 1);
1295
- K.$d[A](q), K.init(), this.$d = K.set(P, Math.min(this.$D, K.daysInMonth())).$d;
1296
- } else A && this.$d[A](q);
1296
+ K.$d[j](q), K.init(), this.$d = K.set(P, Math.min(this.$D, K.daysInMonth())).$d;
1297
+ } else j && this.$d[j](q);
1297
1298
  return this.init(), this;
1298
1299
  }, D.set = function(y, u) {
1299
1300
  return this.clone().$set(y, u);
@@ -1302,14 +1303,14 @@ var cn = { exports: {} };
1302
1303
  }, D.add = function(y, u) {
1303
1304
  var v, I = this;
1304
1305
  y = Number(y);
1305
- var E = x.p(u), A = function(z) {
1306
+ var E = x.p(u), j = function(z) {
1306
1307
  var Q = M(I);
1307
1308
  return x.w(Q.date(Q.date() + Math.round(z * y)), I);
1308
1309
  };
1309
1310
  if (E === w) return this.set(w, this.$M + y);
1310
1311
  if (E === L) return this.set(L, this.$y + y);
1311
- if (E === l) return A(1);
1312
- if (E === b) return A(7);
1312
+ if (E === l) return j(1);
1313
+ if (E === b) return j(7);
1313
1314
  var q = (v = {}, v[c] = o, v[s] = r, v[a] = n, v)[E] || 1, K = this.$d.getTime() + y * q;
1314
1315
  return x.w(K, this);
1315
1316
  }, D.subtract = function(y, u) {
@@ -1317,10 +1318,10 @@ var cn = { exports: {} };
1317
1318
  }, D.format = function(y) {
1318
1319
  var u = this, v = this.$locale();
1319
1320
  if (!this.isValid()) return v.invalidDate || d;
1320
- var I = y || "YYYY-MM-DDTHH:mm:ssZ", E = x.z(this), A = this.$H, q = this.$m, K = this.$M, z = v.weekdays, Q = v.months, V = v.meridiem, X = function(me, we, De, $e) {
1321
+ var I = y || "YYYY-MM-DDTHH:mm:ssZ", E = x.z(this), j = this.$H, q = this.$m, K = this.$M, z = v.weekdays, Q = v.months, V = v.meridiem, X = function(me, we, De, $e) {
1321
1322
  return me && (me[we] || me(u, I)) || De[we].slice(0, $e);
1322
1323
  }, fe = function(me) {
1323
- return x.s(A % 12 || 12, me, "0");
1324
+ return x.s(j % 12 || 12, me, "0");
1324
1325
  }, ue = V || function(me, we, De) {
1325
1326
  var $e = me < 12 ? "AM" : "PM";
1326
1327
  return De ? $e.toLowerCase() : $e;
@@ -1353,17 +1354,17 @@ var cn = { exports: {} };
1353
1354
  case "dddd":
1354
1355
  return z[u.$W];
1355
1356
  case "H":
1356
- return String(A);
1357
+ return String(j);
1357
1358
  case "HH":
1358
- return x.s(A, 2, "0");
1359
+ return x.s(j, 2, "0");
1359
1360
  case "h":
1360
1361
  return fe(1);
1361
1362
  case "hh":
1362
1363
  return fe(2);
1363
1364
  case "a":
1364
- return ue(A, q, !0);
1365
+ return ue(j, q, !0);
1365
1366
  case "A":
1366
- return ue(A, q, !1);
1367
+ return ue(j, q, !1);
1367
1368
  case "m":
1368
1369
  return String(q);
1369
1370
  case "mm":
@@ -1383,10 +1384,10 @@ var cn = { exports: {} };
1383
1384
  }, D.utcOffset = function() {
1384
1385
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1385
1386
  }, D.diff = function(y, u, v) {
1386
- var I, E = this, A = x.p(u), q = M(y), K = (q.utcOffset() - this.utcOffset()) * o, z = this - q, Q = function() {
1387
+ var I, E = this, j = x.p(u), q = M(y), K = (q.utcOffset() - this.utcOffset()) * o, z = this - q, Q = function() {
1387
1388
  return x.m(E, q);
1388
1389
  };
1389
- switch (A) {
1390
+ switch (j) {
1390
1391
  case L:
1391
1392
  I = Q() / 12;
1392
1393
  break;
@@ -1514,7 +1515,7 @@ var un = { exports: {} };
1514
1515
  return D || y.slice(1);
1515
1516
  });
1516
1517
  })).match(o), m = h.length, O = 0; O < m; O += 1) {
1517
- var g = h[O], j = P[g], S = j && j[0], B = j && j[1];
1518
+ var g = h[O], A = P[g], S = A && A[0], B = A && A[1];
1518
1519
  h[O] = B ? { regex: S, parser: B } : g.replace(/^\[|\]$/g, "");
1519
1520
  }
1520
1521
  return function(M) {
@@ -1529,8 +1530,8 @@ var un = { exports: {} };
1529
1530
  return function(I) {
1530
1531
  var E = I.afternoon;
1531
1532
  if (E !== void 0) {
1532
- var A = I.hours;
1533
- E ? A < 12 && (I.hours += 12) : A === 12 && (I.hours = 0), delete I.afternoon;
1533
+ var j = I.hours;
1534
+ E ? j < 12 && (I.hours += 12) : j === 12 && (I.hours = 0), delete I.afternoon;
1534
1535
  }
1535
1536
  }(x), x;
1536
1537
  };
@@ -1539,22 +1540,22 @@ var un = { exports: {} };
1539
1540
  N.p.customParseFormat = !0, _ && _.parseTwoDigitYear && (l = _.parseTwoDigitYear);
1540
1541
  var h = T.prototype, m = h.parse;
1541
1542
  h.parse = function(O) {
1542
- var g = O.date, j = O.utc, S = O.args;
1543
- this.$u = j;
1543
+ var g = O.date, A = O.utc, S = O.args;
1544
+ this.$u = A;
1544
1545
  var B = S[1];
1545
1546
  if (typeof B == "string") {
1546
1547
  var M = S[2] === !0, x = S[3] === !0, re = M || x, le = S[2];
1547
1548
  x && (le = S[2]), s = this.$locale(), !M && le && (s = N.Ls[le]), this.$d = function(u, v, I, E) {
1548
1549
  try {
1549
1550
  if (["x", "X"].indexOf(v) > -1) return new Date((v === "X" ? 1e3 : 1) * u);
1550
- var A = d(v)(u), q = A.year, K = A.month, z = A.day, Q = A.hours, V = A.minutes, X = A.seconds, fe = A.milliseconds, ue = A.zone, me = A.week, we = /* @__PURE__ */ new Date(), De = z || (q || K ? 1 : we.getDate()), $e = q || we.getFullYear(), xe = 0;
1551
+ var j = d(v)(u), q = j.year, K = j.month, z = j.day, Q = j.hours, V = j.minutes, X = j.seconds, fe = j.milliseconds, ue = j.zone, me = j.week, we = /* @__PURE__ */ new Date(), De = z || (q || K ? 1 : we.getDate()), $e = q || we.getFullYear(), xe = 0;
1551
1552
  q && !K || (xe = K > 0 ? K - 1 : we.getMonth());
1552
1553
  var qe, nt = Q || 0, Ge = V || 0, p = X || 0, f = fe || 0;
1553
1554
  return ue ? new Date(Date.UTC($e, xe, De, nt, Ge, p, f + 60 * ue.offset * 1e3)) : I ? new Date(Date.UTC($e, xe, De, nt, Ge, p, f)) : (qe = new Date($e, xe, De, nt, Ge, p, f), me && (qe = E(qe).week(me).toDate()), qe);
1554
1555
  } catch {
1555
1556
  return /* @__PURE__ */ new Date("");
1556
1557
  }
1557
- }(g, B, j, N), this.init(), le && le !== !0 && (this.$L = this.locale(le).$L), re && g != this.format(B) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
1558
+ }(g, B, A, N), this.init(), le && le !== !0 && (this.$L = this.locale(le).$L), re && g != this.format(B) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
1558
1559
  } else if (B instanceof Array) for (var R = B.length, D = 1; D <= R; D += 1) {
1559
1560
  S[1] = B[D - 1];
1560
1561
  var y = N.apply(this, S);
@@ -1591,8 +1592,8 @@ var dn = { exports: {} };
1591
1592
  var T = P[_], N = T.type, h = T.value, m = n[N];
1592
1593
  m >= 0 && (d[m] = parseInt(h, 10));
1593
1594
  }
1594
- var O = d[3], g = O === 24 ? 0 : O, j = d[0] + "-" + d[1] + "-" + d[2] + " " + g + ":" + d[4] + ":" + d[5] + ":000", S = +C;
1595
- return (a.utc(j).valueOf() - (S -= S % 1e3)) / 6e4;
1595
+ var O = d[3], g = O === 24 ? 0 : O, A = d[0] + "-" + d[1] + "-" + d[2] + " " + g + ":" + d[4] + ":" + d[5] + ":000", S = +C;
1596
+ return (a.utc(A).valueOf() - (S -= S % 1e3)) / 6e4;
1596
1597
  }, b = i.prototype;
1597
1598
  b.tz = function(C, L) {
1598
1599
  C === void 0 && (C = c);
@@ -1617,10 +1618,10 @@ var dn = { exports: {} };
1617
1618
  }, a.tz = function(C, L, P) {
1618
1619
  var d = P && L, _ = P || L || c, T = l(+a(), _);
1619
1620
  if (typeof C != "string") return a(C).tz(_);
1620
- var N = function(g, j, S) {
1621
- var B = g - 60 * j * 1e3, M = l(B, S);
1622
- if (j === M) return [B, j];
1623
- var x = l(B -= 60 * (M - j) * 1e3, S);
1621
+ var N = function(g, A, S) {
1622
+ var B = g - 60 * A * 1e3, M = l(B, S);
1623
+ if (A === M) return [B, A];
1624
+ var x = l(B -= 60 * (M - A) * 1e3, S);
1624
1625
  return M === x ? [B, M] : [g - 60 * Math.min(M, x) * 1e3, Math.max(M, x)];
1625
1626
  }(a.utc(C, d).valueOf(), T, _), h = N[0], m = N[1], O = a(h).utcOffset(m);
1626
1627
  return O.$x.$timezone = _, O;
@@ -1670,7 +1671,7 @@ var fn = { exports: {} };
1670
1671
  O === void 0 && (O = "");
1671
1672
  var g = O.match(o);
1672
1673
  if (!g) return null;
1673
- var j = ("" + g[0]).match(r) || ["-", 0, 0], S = j[0], B = 60 * +j[1] + +j[2];
1674
+ var A = ("" + g[0]).match(r) || ["-", 0, 0], S = A[0], B = 60 * +A[1] + +A[2];
1674
1675
  return B === 0 ? 0 : S === "+" ? B : -B;
1675
1676
  }(d), d === null)) return this;
1676
1677
  var N = Math.abs(d) <= 16 ? 60 * d : d;
@@ -1752,14 +1753,14 @@ function St(e, t) {
1752
1753
  );
1753
1754
  }
1754
1755
  function kt(e) {
1755
- return At(
1756
+ return jt(
1756
1757
  e.type || e.fieldType || e.frontInputType
1757
- ) || At(e.renderType) || "text";
1758
+ ) || jt(e.renderType) || "text";
1758
1759
  }
1759
1760
  function Mt(e) {
1760
- return jt(
1761
+ return At(
1761
1762
  e.type || e.fieldType || e.frontInputType
1762
- ) || jt(e.renderType) || "text";
1763
+ ) || At(e.renderType) || "text";
1763
1764
  }
1764
1765
  function ut(e) {
1765
1766
  return bn(e).some(
@@ -1926,11 +1927,11 @@ function hr(e, t) {
1926
1927
  function Fe(e) {
1927
1928
  return String(e ?? "").trim();
1928
1929
  }
1929
- function At(e) {
1930
+ function jt(e) {
1930
1931
  const t = String(e ?? "").toLowerCase();
1931
1932
  return t === "upload" || t === "attachment" || t === "attach" ? "file" : t === "radio" || t === "checkbox" ? "select" : t === "text" || t === "textarea" || t === "select" || t === "select_remote" || t === "select_remote_descr" || t === "date" || t === "number" || t === "switch" || t === "file" || t === "html" || t === "code" || t === "multi-row" || t === "empty" ? t === "select_remote_descr" ? "select_remote" : t : "";
1932
1933
  }
1933
- function jt(e) {
1934
+ function At(e) {
1934
1935
  const t = String(e ?? "").toLowerCase();
1935
1936
  return t === "upload" || t === "attachment" || t === "attach" ? "file" : t === "radio" || t === "checkbox" || t === "select_remote" || t === "select_remote_descr" ? "select" : t === "select" || t === "switch" || t === "file" || t === "html" || t === "code" || t === "multi-row" || t === "empty" ? t : t === "textarea" || t === "date" || t === "number" || t === "text" ? "text" : "";
1936
1937
  }
@@ -2189,7 +2190,7 @@ function Dr(e, t) {
2189
2190
  code: o,
2190
2191
  label: r,
2191
2192
  value: n.value ?? n.defaultValue ?? "",
2192
- type: Ar(n),
2193
+ type: jr(n),
2193
2194
  fieldType: se(n.fieldType),
2194
2195
  frontInputType: se(n.frontInputType),
2195
2196
  renderType: Pr(n),
@@ -2211,7 +2212,7 @@ function Dr(e, t) {
2211
2212
  cascadeDependFields: a,
2212
2213
  interface: i
2213
2214
  }),
2214
- props: jr(n),
2215
+ props: Ar(n),
2215
2216
  formItemProps: On(n.formItemProps),
2216
2217
  raw: n
2217
2218
  };
@@ -2389,7 +2390,7 @@ function Pr(e) {
2389
2390
  const t = ee(e.renderType).toLowerCase();
2390
2391
  return t === "code" || t === "empty" ? t : "text";
2391
2392
  }
2392
- function Ar(e) {
2393
+ function jr(e) {
2393
2394
  const t = ee(
2394
2395
  e.fieldType ?? e.type ?? e.frontInputType ?? e.renderType
2395
2396
  ).toLowerCase();
@@ -2399,7 +2400,7 @@ function On(e) {
2399
2400
  const t = ce(e);
2400
2401
  return Object.keys(t).length ? t : void 0;
2401
2402
  }
2402
- function jr(e) {
2403
+ function Ar(e) {
2403
2404
  const t = {
2404
2405
  ...ce(e.props)
2405
2406
  };
@@ -2623,7 +2624,7 @@ function It(e) {
2623
2624
  return Array.isArray(e) ? `[${e.map((t) => It(t)).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).sort(([n], [o]) => n.localeCompare(o)).map(([n, o]) => `${JSON.stringify(n)}:${It(o)}`).join(",")}}` : JSON.stringify(e);
2624
2625
  }
2625
2626
  const na = (e) => {
2626
- const t = ge(!1), n = ge(!1), o = ge(!1), r = Ae(null), i = Ae([]), a = Ae(null), c = Ae(null), s = Ae(null), l = Ae({}), b = Ae({}), w = ge([]), C = Ae({}), L = ge([]), P = F(
2627
+ const t = ge(!1), n = ge(!1), o = ge(!1), r = je(null), i = je([]), a = je(null), c = je(null), s = je(null), l = je({}), b = je({}), w = ge([]), C = je({}), L = ge([]), P = F(
2627
2628
  () => {
2628
2629
  const p = w.value.map((k) => l.value[k]).filter((k) => !!k), f = Object.entries(l.value).filter(([k]) => !w.value.includes(k)).map(([, k]) => k);
2629
2630
  return [...p, ...f];
@@ -2729,17 +2730,17 @@ const na = (e) => {
2729
2730
  return Y;
2730
2731
  }
2731
2732
  return null;
2732
- }, j = (p = s.value) => {
2733
+ }, A = (p = s.value) => {
2733
2734
  if (p)
2734
2735
  return typeof p == "string" ? p : Ue(p) ? M(p) : Te(p);
2735
2736
  }, S = (p = s.value) => {
2736
- const f = j(p);
2737
+ const f = A(p);
2737
2738
  if (!f)
2738
2739
  return null;
2739
2740
  const k = b.value[f] ?? f;
2740
2741
  return l.value[k] ?? null;
2741
2742
  }, B = (p = s.value) => {
2742
- const f = j(p);
2743
+ const f = A(p);
2743
2744
  if (f)
2744
2745
  return b.value[f] ?? f;
2745
2746
  }, M = (p = s.value) => {
@@ -2848,9 +2849,9 @@ const na = (e) => {
2848
2849
  if (W.length === 0)
2849
2850
  throw Ne("node.infSetList is required");
2850
2851
  const Ce = await Promise.all(W.map(async (ie) => {
2851
- const he = Ur(f, k, ie.infSetId), je = f?.requestTagId ?? f?.tagId ?? k.tagId, ot = {
2852
+ const he = Ur(f, k, ie.infSetId), Ae = f?.requestTagId ?? f?.tagId ?? k.tagId, ot = {
2852
2853
  ...N(k, f),
2853
- tagId: je,
2854
+ tagId: Ae,
2854
2855
  infSetId: ie.infSetId,
2855
2856
  setId: ie.setId,
2856
2857
  operationInfo: ie.operationInfo
@@ -2859,7 +2860,7 @@ const na = (e) => {
2859
2860
  const Ke = await h(he, {
2860
2861
  type: "queryInfoSet",
2861
2862
  requestSource: "inner",
2862
- tagId: je,
2863
+ tagId: Ae,
2863
2864
  node: k,
2864
2865
  section: f,
2865
2866
  params: ot
@@ -2885,7 +2886,7 @@ const na = (e) => {
2885
2886
  return S(p);
2886
2887
  const f = M(p);
2887
2888
  return f ? l.value[b.value[f] ?? f] ?? null : null;
2888
- }, A = async (p = c.value) => p ? (await v(p), a.value) : (a.value = null, s.value = null, l.value = {}, b.value = {}, w.value = [], C.value = {}, null), q = async (p) => {
2889
+ }, j = async (p = c.value) => p ? (await v(p), a.value) : (a.value = null, s.value = null, l.value = {}, b.value = {}, w.value = [], C.value = {}, null), q = async (p) => {
2889
2890
  const f = Yr(p);
2890
2891
  if (!f)
2891
2892
  return p.children;
@@ -2936,7 +2937,7 @@ const na = (e) => {
2936
2937
  t.value = !1;
2937
2938
  }
2938
2939
  }, V = async () => {
2939
- const p = j();
2940
+ const p = A();
2940
2941
  await I(s.value ?? c.value);
2941
2942
  const f = P.value.find(
2942
2943
  (k) => Te(k) === p
@@ -2971,8 +2972,8 @@ const na = (e) => {
2971
2972
  rows: W.renderType === "form" ? [{ ...W.rows[0], ...ie }] : W.rows,
2972
2973
  // 同步 fields.value,保证只读 renderer 立即显示新值。
2973
2974
  fields: W.fields.map((he) => {
2974
- const je = Pe(he);
2975
- return je === Y || he.code === Y ? { ...he, value: k } : ve.includes(je) || ve.includes(he.code) ? { ...he, value: "" } : he;
2975
+ const Ae = Pe(he);
2976
+ return Ae === Y || he.code === Y ? { ...he, value: k } : ve.includes(Ae) || ve.includes(he.code) ? { ...he, value: "" } : he;
2976
2977
  })
2977
2978
  };
2978
2979
  });
@@ -2987,7 +2988,7 @@ const na = (e) => {
2987
2988
  fieldKey: ve,
2988
2989
  currentField: ie,
2989
2990
  sourceModel: he,
2990
- sourceRow: je,
2991
+ sourceRow: Ae,
2991
2992
  missingDependField: ot
2992
2993
  } = xr(W, f, Ce), Ke = ie?.interface;
2993
2994
  if (!ie || !Ke)
@@ -3015,7 +3016,7 @@ const na = (e) => {
3015
3016
  params: Me(Ke.params),
3016
3017
  // searchText 参与本次查询时,需要一并透传到 model 上,避免被依赖检查视为缺失并提前截断请求。
3017
3018
  model: he,
3018
- row: je,
3019
+ row: Ae,
3019
3020
  searchText: Y.searchText
3020
3021
  }
3021
3022
  ), Ot = Kr(Yn);
@@ -3054,7 +3055,7 @@ const na = (e) => {
3054
3055
  // 选中树节点。
3055
3056
  selectNode: z,
3056
3057
  // 加载当前节点详情。
3057
- loadDetail: A,
3058
+ loadDetail: j,
3058
3059
  // 刷新当前详情。
3059
3060
  reloadActiveSection: V,
3060
3061
  // 加载指定节点或 section。
@@ -3091,7 +3092,7 @@ const na = (e) => {
3091
3092
  },
3092
3093
  // 调用接口保存 section。
3093
3094
  saveSection: async (p = s.value) => {
3094
- const f = j(p), k = S(p);
3095
+ const f = A(p), k = S(p);
3095
3096
  if (!k)
3096
3097
  return null;
3097
3098
  const Y = Hr(k);
@@ -3255,7 +3256,7 @@ const oa = {
3255
3256
  ), d = F(
3256
3257
  () => (n.field.options ?? []).map((y) => ({
3257
3258
  ...y,
3258
- value: j(y)
3259
+ value: A(y)
3259
3260
  }))
3260
3261
  ), _ = F(() => {
3261
3262
  const y = n.field.props?.activeValue ?? n.field.props?.["active-value"], u = n.field.props?.inactiveValue ?? n.field.props?.["inactive-value"];
@@ -3276,7 +3277,7 @@ const oa = {
3276
3277
  )
3277
3278
  ), O = F(() => n.field.placeholder ? n.field.placeholder : c.value ? Z("common.请输入关键词") : a.value === "select" ? Z("common.请选择") : a.value === "date" ? Z("common.请选择日期") : a.value === "file" ? Z("common.请选择文件") : Z("common.请输入"));
3278
3279
  let g;
3279
- function j(y) {
3280
+ function A(y) {
3280
3281
  if (Array.isArray(P.value)) {
3281
3282
  const u = P.value.find(
3282
3283
  (v) => Ze(y, v)
@@ -3316,7 +3317,7 @@ const oa = {
3316
3317
  S(I), B(I);
3317
3318
  }
3318
3319
  return (y, u) => {
3319
- const v = Xt, I = Qt, E = Wt, A = ao, q = so, K = Zt;
3320
+ const v = Xt, I = Qt, E = Wt, j = ao, q = so, K = Zt;
3320
3321
  return a.value === "select" || a.value === "select_remote" ? ($(), H(I, ae({
3321
3322
  key: 0,
3322
3323
  class: "global-info-field-control"
@@ -3362,7 +3363,7 @@ const oa = {
3362
3363
  "value-format": "YYYY-MM-DD",
3363
3364
  "onUpdate:modelValue": S,
3364
3365
  onChange: B
3365
- }), null, 16, ["model-value", "placeholder", "disabled"])) : a.value === "number" ? ($(), H(A, ae({
3366
+ }), null, 16, ["model-value", "placeholder", "disabled"])) : a.value === "number" ? ($(), H(j, ae({
3366
3367
  key: 2,
3367
3368
  class: "global-info-field-control"
3368
3369
  }, y.field.props, {
@@ -3436,7 +3437,7 @@ const oa = {
3436
3437
  }), null, 16, ["class", "model-value", "placeholder", "disabled", "type", "rows", "resize"]));
3437
3438
  };
3438
3439
  }
3439
- }), Pn = /* @__PURE__ */ be(pa, [["__scopeId", "data-v-0aca8928"]]), ma = ["innerHTML"], va = {
3440
+ }), Pn = /* @__PURE__ */ be(pa, [["__scopeId", "data-v-2b58fdda"]]), ma = ["innerHTML"], va = {
3440
3441
  key: 1,
3441
3442
  class: "global-info-field-value global-info-field-value--code"
3442
3443
  }, ha = {
@@ -3479,7 +3480,7 @@ const oa = {
3479
3480
  }])
3480
3481
  }, oe(r.value), 3));
3481
3482
  }
3482
- }), An = /* @__PURE__ */ be(Sa, [["__scopeId", "data-v-79688203"]]);
3483
+ }), jn = /* @__PURE__ */ be(Sa, [["__scopeId", "data-v-efe9888d"]]);
3483
3484
  function _a(e) {
3484
3485
  const t = kt(e);
3485
3486
  return (t === "select" || t === "select_remote") && !!e.interface;
@@ -3491,7 +3492,7 @@ function st(e, t, n = {}, o = "") {
3491
3492
  function lt(e, t, n) {
3492
3493
  return Array.isArray(e.options) && e.options.length > 0 ? t === n ? !0 : !t && ze(e).length === 0 : !1;
3493
3494
  }
3494
- function jn(e = {}) {
3495
+ function An(e = {}) {
3495
3496
  return Object.prototype.hasOwnProperty.call(e, "searchText");
3496
3497
  }
3497
3498
  function Rn(e, t) {
@@ -3539,13 +3540,13 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3539
3540
  );
3540
3541
  function c(m, O) {
3541
3542
  const g = { ...o.value, [m.code]: O };
3542
- (m.cascadeClearFields ?? []).forEach((j) => {
3543
- g[j] = "";
3543
+ (m.cascadeClearFields ?? []).forEach((A) => {
3544
+ g[A] = "";
3544
3545
  }), t.onUpdateModel?.(g), t.onUpdateModel || t.actions.updateField(t.section, m, O), s(m, O, g), L(g, m);
3545
3546
  }
3546
3547
  function s(m, O, g) {
3547
- const j = t.renderConfig?.onFieldBusinessChange;
3548
- if (j)
3548
+ const A = t.renderConfig?.onFieldBusinessChange;
3549
+ if (A)
3549
3550
  try {
3550
3551
  const S = l(m, O), B = {
3551
3552
  field: m,
@@ -3561,7 +3562,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3561
3562
  selectedOption: S[0],
3562
3563
  selectedOptions: S
3563
3564
  };
3564
- Promise.resolve(j(B)).catch((M) => {
3565
+ Promise.resolve(A(B)).catch((M) => {
3565
3566
  console.error("[GlobalInfoFormRenderer] field business change failed", M);
3566
3567
  });
3567
3568
  } catch (S) {
@@ -3570,30 +3571,30 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3570
3571
  }
3571
3572
  function l(m, O) {
3572
3573
  const g = dt(m, O);
3573
- return (m.options ?? []).filter((j) => g.some((S) => Ze(j, S)));
3574
+ return (m.options ?? []).filter((A) => g.some((S) => Ze(A, S)));
3574
3575
  }
3575
3576
  function b() {
3576
3577
  return Object.values(t.state.sectionMap);
3577
3578
  }
3578
3579
  function w(m, O) {
3579
- const j = b().flatMap((S) => {
3580
+ const A = b().flatMap((S) => {
3580
3581
  const B = S.key === m.key ? O : S.renderType === "table" ? S.rows : S.model;
3581
3582
  return [S.key, S.id, S.setId, S.infSetId, S.code].filter(Boolean).map((M) => [String(M), B]);
3582
3583
  });
3583
- return Object.fromEntries(j);
3584
+ return Object.fromEntries(A);
3584
3585
  }
3585
3586
  async function C(m, O = {}, g = o.value) {
3586
- const j = g, S = T(m), B = st(t.section.key, m, j), M = r.get(S);
3587
- if (!jn(O) && lt(m, M, B)) {
3587
+ const A = g, S = T(m), B = st(t.section.key, m, A), M = r.get(S);
3588
+ if (!An(O) && lt(m, M, B)) {
3588
3589
  r.set(S, B);
3589
3590
  return;
3590
3591
  }
3591
3592
  try {
3592
3593
  if (O.searchText !== void 0) {
3593
- await a(m, j, O);
3594
+ await a(m, A, O);
3594
3595
  return;
3595
3596
  }
3596
- await t.actions.loadFieldOptions(t.section, m, j, O), r.set(S, B);
3597
+ await t.actions.loadFieldOptions(t.section, m, A, O), r.set(S, B);
3597
3598
  } catch (re) {
3598
3599
  console.error("[GlobalInfoFormRenderer] load field options failed", re);
3599
3600
  }
@@ -3601,14 +3602,14 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3601
3602
  async function L(m = o.value, O) {
3602
3603
  for (const g of i.value) {
3603
3604
  if (O && !Rn(g, O)) continue;
3604
- const j = zn(g, m);
3605
- if (!N(g, j)) continue;
3605
+ const A = zn(g, m);
3606
+ if (!N(g, A)) continue;
3606
3607
  const S = st(t.section.key, g, m), B = T(g), M = r.get(B);
3607
3608
  if (lt(g, M, S)) {
3608
3609
  r.set(B, S);
3609
3610
  continue;
3610
3611
  }
3611
- M !== S && await C(g, xn(g, j), m);
3612
+ M !== S && await C(g, xn(g, A), m);
3612
3613
  }
3613
3614
  }
3614
3615
  Ee(
@@ -3641,8 +3642,8 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3641
3642
  function d(m) {
3642
3643
  const O = String(m.code || "").trim(), g = O ? `field-${O}` : "";
3643
3644
  if (g && n[g]) return g;
3644
- const j = g.toLowerCase();
3645
- return j !== g && n[j] ? j : "";
3645
+ const A = g.toLowerCase();
3646
+ return A !== g && n[A] ? A : "";
3646
3647
  }
3647
3648
  function _(m) {
3648
3649
  return m.span ? Math.min(Math.max(m.span, 1), 24) : 6;
@@ -3657,7 +3658,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3657
3658
  return m.required || m.isRequired;
3658
3659
  }
3659
3660
  return (m, O) => {
3660
- const g = en, j = io, S = lo, B = tn;
3661
+ const g = en, A = io, S = lo, B = tn;
3661
3662
  return $(), H(B, {
3662
3663
  class: "global-info-form-renderer",
3663
3664
  model: o.value,
@@ -3666,7 +3667,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3666
3667
  default: U(() => [
3667
3668
  Ie(S, { gutter: 24 }, {
3668
3669
  default: U(() => [
3669
- ($(!0), G(Se, null, ye(i.value, (M) => ($(), H(j, {
3670
+ ($(!0), G(Se, null, ye(i.value, (M) => ($(), H(A, {
3670
3671
  key: T(M),
3671
3672
  span: _(M)
3672
3673
  }, {
@@ -3692,7 +3693,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3692
3693
  section: m.section,
3693
3694
  onLoadOptions: (x) => C(M, x),
3694
3695
  "onUpdate:modelValue": (x) => c(M, x)
3695
- }, null, 8, ["field", "model-value", "section", "onLoadOptions", "onUpdate:modelValue"])) : ($(), H(An, {
3696
+ }, null, 8, ["field", "model-value", "section", "onLoadOptions", "onUpdate:modelValue"])) : ($(), H(jn, {
3696
3697
  key: 2,
3697
3698
  field: M,
3698
3699
  value: o.value[M.code],
@@ -3712,7 +3713,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3712
3713
  }, 8, ["model"]);
3713
3714
  };
3714
3715
  }
3715
- }), Ca = /* @__PURE__ */ be($a, [["__scopeId", "data-v-4a51dc3d"]]), ka = /* @__PURE__ */ pe({
3716
+ }), Ca = /* @__PURE__ */ be($a, [["__scopeId", "data-v-a2728a86"]]), ka = /* @__PURE__ */ pe({
3716
3717
  name: "GlobalInfoDeleteConfirm",
3717
3718
  __name: "GlobalInfoDeleteConfirm",
3718
3719
  props: {
@@ -3793,18 +3794,18 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3793
3794
  }) : u.allowDelete !== !1);
3794
3795
  }
3795
3796
  function L(u, v, I, E) {
3796
- const A = t.section.rows.slice(), q = I.cascadeClearFields ?? [], K = {
3797
+ const j = t.section.rows.slice(), q = I.cascadeClearFields ?? [], K = {
3797
3798
  ...u,
3798
3799
  __rowKey: D(u),
3799
3800
  [I.code]: E
3800
3801
  };
3801
3802
  q.forEach((z) => {
3802
3803
  K[z] = "";
3803
- }), A[v] = {
3804
+ }), j[v] = {
3804
3805
  ...K
3805
- }, t.actions.updateTableRows(t.section, A), P(I, E, K, v, A), h(I, K);
3806
+ }, t.actions.updateTableRows(t.section, j), P(I, E, K, v, j), h(I, K);
3806
3807
  }
3807
- function P(u, v, I, E, A) {
3808
+ function P(u, v, I, E, j) {
3808
3809
  const q = t.renderConfig?.onFieldBusinessChange;
3809
3810
  if (q)
3810
3811
  try {
@@ -3816,11 +3817,11 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3816
3817
  values: z,
3817
3818
  row: I,
3818
3819
  rowIndex: E,
3819
- rows: A,
3820
+ rows: j,
3820
3821
  node: t.node,
3821
3822
  activeNode: t.node,
3822
3823
  sections: _(),
3823
- sectionValues: T(t.section, A),
3824
+ sectionValues: T(t.section, j),
3824
3825
  actions: t.actions,
3825
3826
  selectedOption: K[0],
3826
3827
  selectedOptions: K
@@ -3841,33 +3842,33 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3841
3842
  function d(u, v) {
3842
3843
  const I = dt(u, v);
3843
3844
  return (u.options ?? []).filter(
3844
- (E) => I.some((A) => Ze(E, A))
3845
+ (E) => I.some((j) => Ze(E, j))
3845
3846
  );
3846
3847
  }
3847
3848
  function _() {
3848
3849
  return Object.values(t.state.sectionMap);
3849
3850
  }
3850
3851
  function T(u, v) {
3851
- const E = _().flatMap((A) => {
3852
- const q = A.key === u.key ? v : A.renderType === "table" ? A.rows : A.model;
3852
+ const E = _().flatMap((j) => {
3853
+ const q = j.key === u.key ? v : j.renderType === "table" ? j.rows : j.model;
3853
3854
  return [
3854
- A.key,
3855
- A.id,
3856
- A.setId,
3857
- A.infSetId,
3858
- A.code
3855
+ j.key,
3856
+ j.id,
3857
+ j.setId,
3858
+ j.infSetId,
3859
+ j.code
3859
3860
  ].filter(Boolean).map((K) => [String(K), q]);
3860
3861
  });
3861
3862
  return Object.fromEntries(E);
3862
3863
  }
3863
3864
  async function N(u, v, I = {}, E = v) {
3864
- const A = D(E), q = `${A}:${M(u)}`, K = st(
3865
+ const j = D(E), q = `${j}:${M(u)}`, K = st(
3865
3866
  t.section.key,
3866
3867
  u,
3867
3868
  E,
3868
- A
3869
+ j
3869
3870
  ), z = l.get(q);
3870
- if (!jn(I) && lt(u, z, K)) {
3871
+ if (!An(I) && lt(u, z, K)) {
3871
3872
  l.set(q, K);
3872
3873
  return;
3873
3874
  }
@@ -3889,18 +3890,18 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3889
3890
  async function h(u, v) {
3890
3891
  const I = v ? [v] : t.section.rows;
3891
3892
  for (const E of I) {
3892
- const A = D(E);
3893
+ const j = D(E);
3893
3894
  for (const q of s.value) {
3894
3895
  if (u && !Rn(q, u))
3895
3896
  continue;
3896
3897
  const K = zn(q, E);
3897
- if (!j(q, K)) continue;
3898
+ if (!A(q, K)) continue;
3898
3899
  const z = st(
3899
3900
  t.section.key,
3900
3901
  q,
3901
3902
  E,
3902
- A
3903
- ), Q = `${A}:${M(q)}`, V = l.get(Q);
3903
+ j
3904
+ ), Q = `${j}:${M(q)}`, V = l.get(Q);
3904
3905
  if (lt(q, V, z)) {
3905
3906
  l.set(Q, z);
3906
3907
  continue;
@@ -3927,7 +3928,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3927
3928
  value: E,
3928
3929
  state: t.state,
3929
3930
  actions: t.actions,
3930
- updateModelValue: (A) => L(v, I, u, A)
3931
+ updateModelValue: (j) => L(v, I, u, j)
3931
3932
  };
3932
3933
  }
3933
3934
  function O(u) {
@@ -3939,7 +3940,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3939
3940
  function g(u) {
3940
3941
  return !u.readonly && !u.disabled;
3941
3942
  }
3942
- function j(u, v) {
3943
+ function A(u, v) {
3943
3944
  return Nn(u, v, t.editing);
3944
3945
  }
3945
3946
  function S(u) {
@@ -3967,8 +3968,8 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3967
3968
  const I = u, E = R.get(I);
3968
3969
  if (E) return E;
3969
3970
  le += 1;
3970
- const A = `local-${le}`;
3971
- return R.set(I, A), A;
3971
+ const j = `local-${le}`;
3972
+ return R.set(I, j), j;
3972
3973
  }
3973
3974
  function y(u) {
3974
3975
  return u.required || u.isRequired;
@@ -3985,7 +3986,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
3985
3986
  },
3986
3987
  { immediate: !0 }
3987
3988
  ), (u, v) => {
3988
- const I = on, E = eo("Delete"), A = Jt, q = $t, K = nn;
3989
+ const I = on, E = eo("Delete"), j = Jt, q = $t, K = nn;
3989
3990
  return $(), G("div", {
3990
3991
  class: We(["global-info-table-renderer", { "global-info-table-renderer--editing": u.editing }])
3991
3992
  }, [
@@ -4031,7 +4032,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
4031
4032
  "row-index": V,
4032
4033
  onLoadOptions: (X) => N(z, Q, X),
4033
4034
  "onUpdate:modelValue": (X) => L(Q, V, z, X)
4034
- }, null, 8, ["field", "model-value", "section", "row", "row-index", "onLoadOptions", "onUpdate:modelValue"])) : ($(), H(An, {
4035
+ }, null, 8, ["field", "model-value", "section", "row", "row-index", "onLoadOptions", "onUpdate:modelValue"])) : ($(), H(jn, {
4035
4036
  key: 2,
4036
4037
  field: z,
4037
4038
  value: Q[z.code],
@@ -4060,7 +4061,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
4060
4061
  type: "danger"
4061
4062
  }, {
4062
4063
  default: U(() => [
4063
- Ie(A, { class: "global-info-table-renderer__delete-icon" }, {
4064
+ Ie(j, { class: "global-info-table-renderer__delete-icon" }, {
4064
4065
  default: U(() => [
4065
4066
  Ie(E)
4066
4067
  ]),
@@ -4083,7 +4084,7 @@ const wa = { class: "global-info-form-renderer__label" }, Ia = {
4083
4084
  ], 2);
4084
4085
  };
4085
4086
  }
4086
- }), Fa = /* @__PURE__ */ be(Da, [["__scopeId", "data-v-c89c935f"]]), Ba = /* @__PURE__ */ pe({
4087
+ }), Fa = /* @__PURE__ */ be(Da, [["__scopeId", "data-v-ef398e69"]]), Ba = /* @__PURE__ */ pe({
4087
4088
  name: "GlobalInfoAutoRenderer",
4088
4089
  __name: "GlobalInfoAutoRenderer",
4089
4090
  props: {
@@ -4226,7 +4227,7 @@ const Ea = /* @__PURE__ */ pe({
4226
4227
  }), Va = { class: "global-info-section-block" }, Pa = {
4227
4228
  key: 0,
4228
4229
  class: "global-info-section-block__header"
4229
- }, Aa = { class: "global-info-section-block__title-wrap" }, ja = { class: "global-info-section-block__title" }, Ra = {
4230
+ }, ja = { class: "global-info-section-block__title-wrap" }, Aa = { class: "global-info-section-block__title" }, Ra = {
4230
4231
  key: 0,
4231
4232
  class: "global-info-section-block__actions"
4232
4233
  }, Na = { class: "global-info-section-block__body" }, za = { class: "global-info-section-block__status" }, xa = { class: "global-info-section-block__status" }, qa = { class: "global-info-section-block__status" }, Ga = /* @__PURE__ */ pe({
@@ -4283,7 +4284,7 @@ const Ea = /* @__PURE__ */ pe({
4283
4284
  sectionStatus: c.value,
4284
4285
  state: t.state,
4285
4286
  actions: t.actions,
4286
- reload: j,
4287
+ reload: A,
4287
4288
  handleEdit: N,
4288
4289
  handleCancel: h,
4289
4290
  handleAddTableRow: m,
@@ -4325,7 +4326,7 @@ const Ea = /* @__PURE__ */ pe({
4325
4326
  function g(S) {
4326
4327
  r.value = S;
4327
4328
  }
4328
- async function j() {
4329
+ async function A() {
4329
4330
  o.value = !0, r.value = null, i.value = null;
4330
4331
  try {
4331
4332
  i.value = await t.actions.loadSection(t.node);
@@ -4336,20 +4337,20 @@ const Ea = /* @__PURE__ */ pe({
4336
4337
  }
4337
4338
  }
4338
4339
  return Ht(() => {
4339
- j();
4340
+ A();
4340
4341
  }), Ee(
4341
4342
  () => t.node.key,
4342
4343
  () => {
4343
- j();
4344
+ A();
4344
4345
  }
4345
4346
  ), (S, B) => {
4346
4347
  const M = $t;
4347
4348
  return $(), G("section", Va, [
4348
4349
  a.value ? de("", !0) : ($(), G("header", Pa, [
4349
4350
  te(S.$slots, "header", Oe(Be(_.value)), () => [
4350
- ne("div", Aa, [
4351
+ ne("div", ja, [
4351
4352
  B[0] || (B[0] = ne("span", { class: "global-info-section-block__marker" }, null, -1)),
4352
- ne("h3", ja, oe(b.value), 1)
4353
+ ne("h3", Aa, oe(b.value), 1)
4353
4354
  ]),
4354
4355
  te(S.$slots, "actions", Oe(Be(_.value)), () => [
4355
4356
  s.value ? ($(), G("div", Ra, [
@@ -4450,7 +4451,7 @@ const Ea = /* @__PURE__ */ pe({
4450
4451
  ]);
4451
4452
  };
4452
4453
  }
4453
- }), Ka = /* @__PURE__ */ be(Ga, [["__scopeId", "data-v-ca5e73ee"]]), Ya = { class: "global-info-group" }, Ua = { class: "global-info-group__header" }, Ha = { class: "global-info-group__title" }, Ja = { class: "global-info-group__body" }, Wa = ["id"], Za = { class: "global-info-group__empty" }, Qa = /* @__PURE__ */ pe({
4454
+ }), Ka = /* @__PURE__ */ be(Ga, [["__scopeId", "data-v-55cf6792"]]), Ya = { class: "global-info-group" }, Ua = { class: "global-info-group__header" }, Ha = { class: "global-info-group__title" }, Ja = { class: "global-info-group__body" }, Wa = ["id"], Za = { class: "global-info-group__empty" }, Qa = /* @__PURE__ */ pe({
4454
4455
  name: "GlobalInfoGroup",
4455
4456
  __name: "GlobalInfoGroup",
4456
4457
  props: {
@@ -4569,7 +4570,7 @@ const Ea = /* @__PURE__ */ pe({
4569
4570
  ])
4570
4571
  ]));
4571
4572
  }
4572
- }), Xa = /* @__PURE__ */ be(Qa, [["__scopeId", "data-v-ecdfaf65"]]), es = { class: "global-info-sections" }, ts = /* @__PURE__ */ pe({
4573
+ }), Xa = /* @__PURE__ */ be(Qa, [["__scopeId", "data-v-e86a3d32"]]), es = { class: "global-info-sections" }, ts = /* @__PURE__ */ pe({
4573
4574
  name: "GlobalInfoSections",
4574
4575
  __name: "GlobalInfoSections",
4575
4576
  props: {
@@ -4677,7 +4678,7 @@ const Ea = /* @__PURE__ */ pe({
4677
4678
  ], 64))), 128))
4678
4679
  ]));
4679
4680
  }
4680
- }), us = /* @__PURE__ */ be(ts, [["__scopeId", "data-v-86c94f9f"]]);
4681
+ }), us = /* @__PURE__ */ be(ts, [["__scopeId", "data-v-d4ed3f80"]]);
4681
4682
  function ds(e, t = {}) {
4682
4683
  Un(e, t);
4683
4684
  }
@@ -4686,7 +4687,7 @@ export {
4686
4687
  Ba as GlobalInfoAutoRenderer,
4687
4688
  ka as GlobalInfoDeleteConfirm,
4688
4689
  Pn as GlobalInfoFieldControl,
4689
- An as GlobalInfoFieldValue,
4690
+ jn as GlobalInfoFieldValue,
4690
4691
  Ca as GlobalInfoFormRenderer,
4691
4692
  Xa as GlobalInfoGroup,
4692
4693
  cs as GlobalInfoProvider,