@farris/ui-vue 1.6.5-beta.1 → 1.6.5-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/components/accordion/index.esm.js +190 -187
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/package.json +1 -1
  5. package/components/binding-selector/package.json +1 -1
  6. package/components/border-editor/package.json +1 -1
  7. package/components/button/package.json +1 -1
  8. package/components/button-edit/index.esm.js +745 -753
  9. package/components/button-edit/index.umd.cjs +1 -1
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/package.json +1 -1
  15. package/components/checkbox/package.json +1 -1
  16. package/components/checkbox-group/package.json +1 -1
  17. package/components/code-editor/package.json +1 -1
  18. package/components/collection-property-editor/package.json +1 -1
  19. package/components/color-picker/package.json +1 -1
  20. package/components/combo-list/package.json +1 -1
  21. package/components/combo-tree/package.json +1 -1
  22. package/components/common/package.json +1 -1
  23. package/components/component/package.json +1 -1
  24. package/components/condition/package.json +1 -1
  25. package/components/content-container/package.json +1 -1
  26. package/components/data-grid/package.json +1 -1
  27. package/components/data-view/package.json +1 -1
  28. package/components/date-picker/package.json +1 -1
  29. package/components/designer-canvas/package.json +1 -1
  30. package/components/designer-outline/package.json +1 -1
  31. package/components/designer-toolbox/package.json +1 -1
  32. package/components/discussion-editor/package.json +1 -1
  33. package/components/discussion-list/package.json +1 -1
  34. package/components/drawer/package.json +1 -1
  35. package/components/dropdown/package.json +1 -1
  36. package/components/dynamic-form/package.json +1 -1
  37. package/components/dynamic-resolver/package.json +1 -1
  38. package/components/dynamic-view/package.json +1 -1
  39. package/components/enum-editor/package.json +1 -1
  40. package/components/event-parameter/package.json +1 -1
  41. package/components/events-editor/package.json +1 -1
  42. package/components/expression-editor/index.esm.js +1279 -1287
  43. package/components/expression-editor/index.umd.cjs +2 -2
  44. package/components/expression-editor/package.json +1 -1
  45. package/components/external-container/package.json +1 -1
  46. package/components/field-selector/package.json +1 -1
  47. package/components/fieldset/package.json +1 -1
  48. package/components/filter-bar/index.esm.js +703 -711
  49. package/components/filter-bar/index.umd.cjs +1 -1
  50. package/components/filter-bar/package.json +1 -1
  51. package/components/filter-condition-editor/index.esm.js +1140 -1148
  52. package/components/filter-condition-editor/index.umd.cjs +2 -2
  53. package/components/filter-condition-editor/package.json +1 -1
  54. package/components/flow-canvas/package.json +1 -1
  55. package/components/html-template/package.json +1 -1
  56. package/components/image-cropper/package.json +1 -1
  57. package/components/input-group/package.json +1 -1
  58. package/components/json-editor/package.json +1 -1
  59. package/components/language-textbox/package.json +1 -1
  60. package/components/layout/package.json +1 -1
  61. package/components/list-nav/package.json +1 -1
  62. package/components/list-view/package.json +1 -1
  63. package/components/loading/package.json +1 -1
  64. package/components/locale/package.json +1 -1
  65. package/components/lookup/package.json +1 -1
  66. package/components/mapping-editor/index.esm.js +967 -975
  67. package/components/mapping-editor/index.umd.cjs +1 -1
  68. package/components/mapping-editor/package.json +1 -1
  69. package/components/menu-lookup/package.json +1 -1
  70. package/components/message-box/package.json +1 -1
  71. package/components/modal/package.json +1 -1
  72. package/components/nav/package.json +1 -1
  73. package/components/notify/package.json +1 -1
  74. package/components/number-range/package.json +1 -1
  75. package/components/number-spinner/package.json +1 -1
  76. package/components/order/package.json +1 -1
  77. package/components/page-footer/package.json +1 -1
  78. package/components/page-header/package.json +1 -1
  79. package/components/pagination/package.json +1 -1
  80. package/components/popover/package.json +1 -1
  81. package/components/progress/package.json +1 -1
  82. package/components/property-editor/package.json +1 -1
  83. package/components/property-panel/package.json +1 -1
  84. package/components/query-solution/index.esm.js +1193 -1201
  85. package/components/query-solution/index.umd.cjs +4 -4
  86. package/components/query-solution/package.json +1 -1
  87. package/components/radio/package.json +1 -1
  88. package/components/radio-button/package.json +1 -1
  89. package/components/radio-group/package.json +1 -1
  90. package/components/rate/package.json +1 -1
  91. package/components/response-layout/package.json +1 -1
  92. package/components/response-layout-editor/package.json +1 -1
  93. package/components/response-toolbar/package.json +1 -1
  94. package/components/schema-selector/index.esm.js +1095 -1103
  95. package/components/schema-selector/index.umd.cjs +6 -6
  96. package/components/schema-selector/package.json +1 -1
  97. package/components/search-box/package.json +1 -1
  98. package/components/section/package.json +1 -1
  99. package/components/smoke-detector/package.json +1 -1
  100. package/components/sort-condition-editor/index.esm.js +1185 -1193
  101. package/components/sort-condition-editor/index.umd.cjs +2 -2
  102. package/components/sort-condition-editor/package.json +1 -1
  103. package/components/spacing-editor/package.json +1 -1
  104. package/components/splitter/package.json +1 -1
  105. package/components/step/package.json +1 -1
  106. package/components/switch/package.json +1 -1
  107. package/components/tabs/package.json +1 -1
  108. package/components/tags/package.json +1 -1
  109. package/components/text/package.json +1 -1
  110. package/components/textarea/package.json +1 -1
  111. package/components/time-picker/index.esm.js +895 -903
  112. package/components/time-picker/index.umd.cjs +1 -1
  113. package/components/time-picker/package.json +1 -1
  114. package/components/tooltip/package.json +1 -1
  115. package/components/transfer/package.json +1 -1
  116. package/components/tree-grid/package.json +1 -1
  117. package/components/tree-view/package.json +1 -1
  118. package/components/uploader/package.json +1 -1
  119. package/components/verify-detail/package.json +1 -1
  120. package/components/video/package.json +1 -1
  121. package/components/weather/package.json +1 -1
  122. package/designer/data-grid/index.esm.js +1447 -1455
  123. package/designer/data-grid/index.umd.cjs +4 -4
  124. package/designer/farris-designer.all.esm.js +1789 -1797
  125. package/designer/farris-designer.all.umd.cjs +9 -9
  126. package/designer/radio-group/index.esm.js +1032 -1040
  127. package/designer/radio-group/index.umd.cjs +1 -1
  128. package/farris.all.esm.js +2242 -2246
  129. package/farris.all.umd.cjs +15 -15
  130. package/package.json +1 -1
  131. package/types/components.d.ts +4 -3
  132. package/types/message-box/index.d.ts +6 -6
  133. package/types/message-box/src/message-box.component.d.ts +3 -3
@@ -105,20 +105,20 @@ const li = {
105
105
  function lo(e, t) {
106
106
  let n;
107
107
  function o(d) {
108
- const { properties: v, title: p, ignore: m } = d, g = m && Array.isArray(m), w = Object.keys(v).reduce((B, b) => ((!g || !m.find((O) => O === b)) && (B[b] = v[b].type === "object" && v[b].properties ? o(v[b]) : et(v[b].default)), B), {});
108
+ const { properties: v, title: p, ignore: m } = d, g = m && Array.isArray(m), S = Object.keys(v).reduce((B, b) => ((!g || !m.find((O) => O === b)) && (B[b] = v[b].type === "object" && v[b].properties ? o(v[b]) : et(v[b].default)), B), {});
109
109
  if (p && (!g || !m.find((B) => B === "id"))) {
110
110
  const B = p.toLowerCase().replace(/-/g, "_");
111
- w.id = `${B}_${Math.random().toString().slice(2, 6)}`;
111
+ S.id = `${B}_${Math.random().toString().slice(2, 6)}`;
112
112
  }
113
- return w;
113
+ return S;
114
114
  }
115
115
  function a(d) {
116
116
  const { properties: v, title: p, required: m } = d;
117
117
  if (m && Array.isArray(m)) {
118
- const g = m.reduce((w, B) => (w[B] = v[B].type === "object" && v[B].properties ? o(v[B]) : et(v[B].default), w), {});
119
- if (p && m.find((w) => w === "id")) {
120
- const w = p.toLowerCase().replace(/-/g, "_");
121
- g.id = `${w}_${Math.random().toString().slice(2, 6)}`;
118
+ const g = m.reduce((S, B) => (S[B] = v[B].type === "object" && v[B].properties ? o(v[B]) : et(v[B].default), S), {});
119
+ if (p && m.find((S) => S === "id")) {
120
+ const S = p.toLowerCase().replace(/-/g, "_");
121
+ g.id = `${S}_${Math.random().toString().slice(2, 6)}`;
122
122
  }
123
123
  return g;
124
124
  }
@@ -130,8 +130,8 @@ function lo(e, t) {
130
130
  const m = e[d];
131
131
  if (m) {
132
132
  let g = a(m);
133
- const w = t[d];
134
- return g = w ? w({ getSchemaByType: i }, g, v, p) : g, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(g), g;
133
+ const S = t[d];
134
+ return g = S ? S({ getSchemaByType: i }, g, v, p) : g, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(g), g;
135
135
  }
136
136
  return null;
137
137
  }
@@ -142,11 +142,11 @@ function lo(e, t) {
142
142
  function s(d, v) {
143
143
  return Object.keys(d).filter((m) => d[m] != null).reduce((m, g) => {
144
144
  if (v.has(g)) {
145
- const w = v.get(g);
146
- if (typeof w == "string")
147
- m[w] = d[g];
145
+ const S = v.get(g);
146
+ if (typeof S == "string")
147
+ m[S] = d[g];
148
148
  else {
149
- const B = w(g, d[g], d);
149
+ const B = S(g, d[g], d);
150
150
  Object.assign(m, B);
151
151
  }
152
152
  } else
@@ -165,9 +165,9 @@ function lo(e, t) {
165
165
  const m = e[v];
166
166
  if (!m)
167
167
  return d;
168
- const g = l(d, m), w = ((p = d.editor) == null ? void 0 : p.type) || "";
169
- if (w) {
170
- const B = e[w], b = l(d.editor, B);
168
+ const g = l(d, m), S = ((p = d.editor) == null ? void 0 : p.type) || "";
169
+ if (S) {
170
+ const B = e[S], b = l(d.editor, B);
171
171
  g.editor = b;
172
172
  }
173
173
  return g;
@@ -523,72 +523,72 @@ function uo(e, t, n) {
523
523
  function l(m, g) {
524
524
  return () => i.parseValueSchema(m, g);
525
525
  }
526
- function s(m, g, w) {
527
- return m.includes("visible") && g.visible !== void 0 ? typeof g.visible == "boolean" ? () => !!g.visible : g.visible === void 0 ? !0 : l(g.visible, w) : () => !0;
526
+ function s(m, g, S) {
527
+ return m.includes("visible") && g.visible !== void 0 ? typeof g.visible == "boolean" ? () => !!g.visible : g.visible === void 0 ? !0 : l(g.visible, S) : () => !0;
528
528
  }
529
- function c(m, g, w) {
530
- return m.includes("readonly") && g.readonly !== void 0 ? typeof g.readonly == "boolean" ? () => !!g.readonly : l(g.readonly, w) : () => !1;
529
+ function c(m, g, S) {
530
+ return m.includes("readonly") && g.readonly !== void 0 ? typeof g.readonly == "boolean" ? () => !!g.readonly : l(g.readonly, S) : () => !1;
531
531
  }
532
532
  function r(m, g) {
533
- const w = m.$converter || g;
534
- return typeof w == "string" && w && o.has(w) ? o.get(w) || null : w || null;
535
- }
536
- function u(m, g, w, B, b, O = "", T = "") {
537
- return Object.keys(m).map((x) => {
538
- const k = y(1), h = x, C = m[x], E = Object.keys(C), S = C.title, I = C.type, P = a.get(I) || { type: "input-group", enableClear: !1 }, M = C.editor ? Object.assign({}, P, C.editor) : Object.assign({}, P), R = s(E, C, g), j = c(E, C, g);
539
- M.readonly = M.readonly === void 0 ? j() : M.readonly;
540
- const V = C.type === "cascade" ? u(C.properties, g, w, B, b, O, T) : [], $ = !0;
541
- let A = r(C, T);
533
+ const S = m.$converter || g;
534
+ return typeof S == "string" && S && o.has(S) ? o.get(S) || null : S || null;
535
+ }
536
+ function u(m, g, S, B, b, O = "", I = "") {
537
+ return Object.keys(m).map((w) => {
538
+ const M = y(1), h = w, C = m[w], E = Object.keys(C), x = C.title, T = C.type, k = a.get(T) || { type: "input-group", enableClear: !1 }, P = C.editor ? Object.assign({}, k, C.editor) : Object.assign({}, k), R = s(E, C, g), j = c(E, C, g);
539
+ P.readonly = P.readonly === void 0 ? j() : P.readonly;
540
+ const V = C.type === "cascade" ? u(C.properties, g, S, B, b, O, I) : [], $ = !0;
541
+ let A = r(C, I);
542
542
  const z = D({
543
543
  get() {
544
- if (k.value) {
544
+ if (M.value) {
545
545
  if (["class", "style"].find((be) => be === h) && !A && (A = o.get("/converter/appearance.converter") || null), A && A.convertFrom)
546
- return A.convertFrom(w, x, b, O);
547
- const de = w[x];
546
+ return A.convertFrom(S, w, b, O);
547
+ const de = S[w];
548
548
  return Object.prototype.hasOwnProperty.call(C, "defaultValue") && (de === void 0 || typeof de == "string" && de === "") ? C.type === "boolean" ? C.defaultValue : C.defaultValue || "" : de;
549
549
  }
550
550
  return null;
551
551
  },
552
552
  set(de) {
553
- k.value += 1, A && A.convertTo ? (A.convertTo(B, x, de, b, O), A.convertTo(w, x, de, b, O)) : (B[x] = de, w[x] = de);
553
+ M.value += 1, A && A.convertTo ? (A.convertTo(B, w, de, b, O), A.convertTo(S, w, de, b, O)) : (B[w] = de, S[w] = de);
554
554
  }
555
- }), { refreshPanelAfterChanged: H, description: K, isExpand: ae, parentPropertyID: le } = C, Z = { propertyID: h, propertyName: S, propertyType: I, propertyValue: z, editor: M, visible: R, readonly: j, cascadeConfig: V, hideCascadeTitle: $, refreshPanelAfterChanged: H, description: K, isExpand: ae, parentPropertyID: le };
555
+ }), { refreshPanelAfterChanged: H, description: K, isExpand: ae, parentPropertyID: le } = C, Z = { propertyID: h, propertyName: x, propertyType: T, propertyValue: z, editor: P, visible: R, readonly: j, cascadeConfig: V, hideCascadeTitle: $, refreshPanelAfterChanged: H, description: K, isExpand: ae, parentPropertyID: le };
556
556
  return g[h] = Z, Z;
557
557
  });
558
558
  }
559
- function d(m, g, w = {}) {
559
+ function d(m, g, S = {}) {
560
560
  const B = {}, b = e[m];
561
- return b && b.categories ? Object.keys(b.categories).map((T) => {
562
- const F = b.categories[T], x = F == null ? void 0 : F.title, k = u(F.properties || {}, B, {}, w, g);
563
- return { categoryId: T, categoryName: x, properties: k };
561
+ return b && b.categories ? Object.keys(b.categories).map((I) => {
562
+ const F = b.categories[I], w = F == null ? void 0 : F.title, M = u(F.properties || {}, B, {}, S, g);
563
+ return { categoryId: I, categoryName: w, properties: M };
564
564
  }) : [];
565
565
  }
566
- function v(m, g, w, B, b = "") {
567
- const O = g.$ref.schema, T = g.$ref.converter, F = w[O], x = F.type, k = n(F), h = {}, C = e[x];
566
+ function v(m, g, S, B, b = "") {
567
+ const O = g.$ref.schema, I = g.$ref.converter, F = S[O], w = F.type, M = n(F), h = {}, C = e[w];
568
568
  if (C && C.categories) {
569
- const E = C.categories[m], S = E == null ? void 0 : E.title;
570
- T && Object.keys(E.properties).forEach((M) => {
571
- E.properties[M].$converter = T;
569
+ const E = C.categories[m], x = E == null ? void 0 : E.title;
570
+ I && Object.keys(E.properties).forEach((P) => {
571
+ E.properties[P].$converter = I;
572
572
  });
573
- const I = (E == null ? void 0 : E.properties) || {}, P = u(I, h, k, F, B, b);
574
- return { categoryId: m, categoryName: S, properties: P };
573
+ const T = (E == null ? void 0 : E.properties) || {}, k = u(T, h, M, F, B, b);
574
+ return { categoryId: m, categoryName: x, properties: k };
575
575
  }
576
576
  return { categoryId: m, categoryName: "", properties: [] };
577
577
  }
578
- function p(m, g, w, B, b) {
579
- const O = m.type, T = n(m), F = {};
580
- let x = b || e[O];
581
- if (x && Object.keys(x).length === 0 && w && w.getPropConfig && (x = w.getPropConfig(B)), x && x.categories) {
582
- const k = [];
583
- return Object.keys(x.categories).map((h) => {
584
- const C = x.categories[h];
578
+ function p(m, g, S, B, b) {
579
+ const O = m.type, I = n(m), F = {};
580
+ let w = b || e[O];
581
+ if (w && Object.keys(w).length === 0 && S && S.getPropConfig && (w = S.getPropConfig(B)), w && w.categories) {
582
+ const M = [];
583
+ return Object.keys(w.categories).map((h) => {
584
+ const C = w.categories[h];
585
585
  if (C.$ref) {
586
- k.push(v(h, C, m, g, B));
586
+ M.push(v(h, C, m, g, B));
587
587
  return;
588
588
  }
589
- const E = C == null ? void 0 : C.title, S = C == null ? void 0 : C.tabId, I = C == null ? void 0 : C.tabName, P = C == null ? void 0 : C.hide, M = C == null ? void 0 : C.hideTitle, R = u(C.properties || {}, F, T, m, g, B, C.$converter), { setPropertyRelates: j } = C, V = C == null ? void 0 : C.parentPropertyID;
590
- k.push({ categoryId: h, categoryName: E, tabId: S, tabName: I, hide: P, properties: R, hideTitle: M, setPropertyRelates: j, parentPropertyID: V });
591
- }), k;
589
+ const E = C == null ? void 0 : C.title, x = C == null ? void 0 : C.tabId, T = C == null ? void 0 : C.tabName, k = C == null ? void 0 : C.hide, P = C == null ? void 0 : C.hideTitle, R = u(C.properties || {}, F, I, m, g, B, C.$converter), { setPropertyRelates: j } = C, V = C == null ? void 0 : C.parentPropertyID;
590
+ M.push({ categoryId: h, categoryName: E, tabId: x, tabName: T, hide: k, properties: R, hideTitle: P, setPropertyRelates: j, parentPropertyID: V });
591
+ }), M;
592
592
  }
593
593
  return [];
594
594
  }
@@ -1058,12 +1058,12 @@ function Tl(e, t, n) {
1058
1058
  return (h == null ? void 0 : h.props.toolbarPosition) === "inHead";
1059
1059
  });
1060
1060
  function d(h, C = !0) {
1061
- const E = h.findIndex((S) => S.props.show !== !1 && !S.props.disabled);
1061
+ const E = h.findIndex((x) => x.props.show !== !1 && !x.props.disabled);
1062
1062
  if (s.value = [], E !== -1) {
1063
1063
  if (a.value = h[E].props.id, !C)
1064
1064
  return;
1065
- const S = h[E];
1066
- S && S.props.toolbar && S.props.toolbar.buttons && S.props.toolbar.buttons.length && (s.value = [...S.props.toolbar.buttons], c.value = S.props.toolbarVisible);
1065
+ const x = h[E];
1066
+ x && x.props.toolbar && x.props.toolbar.buttons && x.props.toolbar.buttons.length && (s.value = [...x.props.toolbar.buttons], c.value = x.props.toolbarVisible);
1067
1067
  }
1068
1068
  }
1069
1069
  function v(h) {
@@ -1086,7 +1086,7 @@ function Tl(e, t, n) {
1086
1086
  function m(h) {
1087
1087
  let C = !1;
1088
1088
  if (h) {
1089
- const E = o.value.find((S) => S.props.id === h);
1089
+ const E = o.value.find((x) => x.props.id === h);
1090
1090
  C = !E || E.props.show === !1 || E.props.disabled === !0;
1091
1091
  }
1092
1092
  C ? p(o.value) : (a.value !== h && (i = a.value, a.value = h), v(a.value));
@@ -1100,19 +1100,19 @@ function Tl(e, t, n) {
1100
1100
  return;
1101
1101
  const C = (E = h.value) == null ? void 0 : E.querySelectorAll(".st-tab-text");
1102
1102
  if (!(!C || e.tabType === "pill"))
1103
- for (let S = 0; S < C.length; S++) {
1104
- const I = C[S].parentNode;
1105
- C[S].scrollWidth > I.offsetWidth ? C[S].classList.contains("farris-title-text-custom") || C[S].classList.add("farris-title-text-custom") : C[S].classList.remove("farris-title-text-custom");
1103
+ for (let x = 0; x < C.length; x++) {
1104
+ const T = C[x].parentNode;
1105
+ C[x].scrollWidth > T.offsetWidth ? C[x].classList.contains("farris-title-text-custom") || C[x].classList.add("farris-title-text-custom") : C[x].classList.remove("farris-title-text-custom");
1106
1106
  }
1107
1107
  }
1108
- const w = (h) => {
1108
+ const S = (h) => {
1109
1109
  h.preventDefault(), h.stopPropagation();
1110
1110
  };
1111
1111
  function B(h, C, E = !1) {
1112
- const S = o.value.findIndex((I) => I.props.id === C);
1113
- o.value = o.value.filter((I) => I.props.id !== C), a.value === C && (i = C, a.value = "", d(o.value)), w(h), ge(() => {
1112
+ const x = o.value.findIndex((T) => T.props.id === C);
1113
+ o.value = o.value.filter((T) => T.props.id !== C), a.value === C && (i = C, a.value = "", d(o.value)), S(h), ge(() => {
1114
1114
  r.value++, g(n), E && (l.value = !0), t.emit("tabRemove", {
1115
- removeIndex: S,
1115
+ removeIndex: x,
1116
1116
  removeId: C,
1117
1117
  activeId: a.value
1118
1118
  });
@@ -1124,16 +1124,16 @@ function Tl(e, t, n) {
1124
1124
  });
1125
1125
  }
1126
1126
  let O;
1127
- function T(h) {
1127
+ function I(h) {
1128
1128
  O = h;
1129
1129
  }
1130
1130
  function F(h) {
1131
1131
  a.value !== h && (i = a.value, v(h), O && O());
1132
1132
  }
1133
- function x(h) {
1133
+ function w(h) {
1134
1134
  o.value.findIndex((E) => E.props.id === h.props.id) === -1 && o.value.push(h), r.value++;
1135
1135
  }
1136
- function k(h) {
1136
+ function M(h) {
1137
1137
  o.value.findIndex((E) => E.props.id === h.props.id) !== -1 && (o.value.forEach((E) => {
1138
1138
  E.props.id === h.props.id && (E = h);
1139
1139
  }), h.props.id === a.value && u.value, ge(() => {
@@ -1142,18 +1142,18 @@ function Tl(e, t, n) {
1142
1142
  }
1143
1143
  return {
1144
1144
  activeId: a,
1145
- addTab: x,
1145
+ addTab: w,
1146
1146
  changeTitleStyle: g,
1147
1147
  removeTab: B,
1148
1148
  selectTab: F,
1149
1149
  tabPages: o,
1150
- updateTab: k,
1150
+ updateTab: M,
1151
1151
  toolbarItems: s,
1152
1152
  needUpdateNavigationLayout: r,
1153
1153
  checkActiveIdAndSelect: m,
1154
1154
  toggleShowTab: b,
1155
1155
  hasInHeadClass: u,
1156
- setScrollToSelectedTabFunction: T,
1156
+ setScrollToSelectedTabFunction: I,
1157
1157
  toolbarVisible: c
1158
1158
  };
1159
1159
  }
@@ -1204,21 +1204,21 @@ function Il(e, t, n, o, a) {
1204
1204
  class: "f-icon f-icon-close"
1205
1205
  }, null)]) : "";
1206
1206
  }
1207
- function w(b) {
1207
+ function S(b) {
1208
1208
  s(t.id), e.tabType === "one-page" && o.scrollToByPaggId(t.id);
1209
1209
  }
1210
1210
  function B() {
1211
1211
  return n.slots.title ? f("a", {
1212
1212
  class: d.value,
1213
- onClick: w,
1213
+ onClick: S,
1214
1214
  id: `${t.id}-design-item`
1215
1215
  }, [n.slots.title(n), g()]) : t.titleRenderFunction ? f("a", {
1216
1216
  class: d.value,
1217
- onClick: w,
1217
+ onClick: S,
1218
1218
  id: `${t.id}-design-item`
1219
1219
  }, [t.titleRenderFunction(), g()]) : f("a", {
1220
1220
  class: d.value,
1221
- onClick: w,
1221
+ onClick: S,
1222
1222
  id: `${t.id}-design-item`
1223
1223
  }, [p(), g()]);
1224
1224
  }
@@ -1312,9 +1312,9 @@ function kl(e, t, n, o) {
1312
1312
  } = t, v = 600;
1313
1313
  let p = null;
1314
1314
  const m = D(() => {
1315
- var E, S;
1315
+ var E, x;
1316
1316
  let C = [];
1317
- return e.searchBoxVisible ? C = (E = c.value) == null ? void 0 : E.filter((I) => I.props.title.includes(d.value)) : C = (S = c.value) == null ? void 0 : S.slice(), C;
1317
+ return e.searchBoxVisible ? C = (E = c.value) == null ? void 0 : E.filter((T) => T.props.title.includes(d.value)) : C = (x = c.value) == null ? void 0 : x.slice(), C;
1318
1318
  }), g = D(() => ({
1319
1319
  "dropdown-menu": !0,
1320
1320
  "tabs-pt28": e.searchBoxVisible,
@@ -1322,21 +1322,21 @@ function kl(e, t, n, o) {
1322
1322
  show: !u.value,
1323
1323
  "d-none": u.value
1324
1324
  }));
1325
- let w;
1325
+ let S;
1326
1326
  function B(C) {
1327
- w = C;
1327
+ S = C;
1328
1328
  }
1329
1329
  te(u, (C) => {
1330
- if (w.value)
1330
+ if (S.value)
1331
1331
  if (C)
1332
1332
  i.value.style.width = null;
1333
1333
  else {
1334
- const E = w.value.querySelector(".farris-tabs-header"), S = w.value.clientHeight - E.clientHeight - 20, P = E.querySelector(".farris-tabs-title").clientWidth - 20;
1335
- i.value.style.maxWidth = P + "px", i.value.style.maxHeight = S + "px", ge(() => {
1334
+ const E = S.value.querySelector(".farris-tabs-header"), x = S.value.clientHeight - E.clientHeight - 20, k = E.querySelector(".farris-tabs-title").clientWidth - 20;
1335
+ i.value.style.maxWidth = k + "px", i.value.style.maxHeight = x + "px", ge(() => {
1336
1336
  const {
1337
- width: M
1337
+ width: P
1338
1338
  } = i.value.getClientRects()[0];
1339
- i.value.style.width = M ? M + "px" : null;
1339
+ i.value.style.width = P ? P + "px" : null;
1340
1340
  });
1341
1341
  }
1342
1342
  });
@@ -1353,7 +1353,7 @@ function kl(e, t, n, o) {
1353
1353
  function O(C) {
1354
1354
  C.preventDefault(), C.stopPropagation();
1355
1355
  }
1356
- function T() {
1356
+ function I() {
1357
1357
  p && clearTimeout(p);
1358
1358
  }
1359
1359
  function F() {
@@ -1361,17 +1361,17 @@ function kl(e, t, n, o) {
1361
1361
  u.value = !0;
1362
1362
  }, v));
1363
1363
  }
1364
- function x(C, E) {
1364
+ function w(C, E) {
1365
1365
  C.stopPropagation(), E.disabled || r(E.id), u.value = !0;
1366
1366
  }
1367
- function k(C, E) {
1367
+ function M(C, E) {
1368
1368
  C.stopPropagation(), s(C, E, !0);
1369
1369
  }
1370
1370
  function h() {
1371
1371
  return f("div", {
1372
1372
  ref: i,
1373
1373
  class: g.value,
1374
- onMouseenter: () => T(),
1374
+ onMouseenter: () => I(),
1375
1375
  onMouseleave: () => F()
1376
1376
  }, [e.searchBoxVisible && f("div", {
1377
1377
  onClick: (C) => O(C),
@@ -1386,10 +1386,10 @@ function kl(e, t, n, o) {
1386
1386
  class: "tab-dropdown-menu--items flex-fill"
1387
1387
  }, [m.value.map((C) => f("li", {
1388
1388
  class: b(C),
1389
- onClick: (E) => x(E, C.props)
1389
+ onClick: (E) => w(E, C.props)
1390
1390
  }, [C.props.removeable && C.props.disabled !== !0 && f("span", {
1391
1391
  class: "float-right st-drop-close",
1392
- onClick: (E) => k(E, C.props.id)
1392
+ onClick: (E) => M(E, C.props.id)
1393
1393
  }, [f("i", {
1394
1394
  class: "f-icon f-icon-close"
1395
1395
  }, null)]), f("a", {
@@ -1444,37 +1444,37 @@ function xo(e, t, n, o) {
1444
1444
  function p(b, O) {
1445
1445
  if (!t.value)
1446
1446
  return;
1447
- const T = t.value.scrollLeft, F = t.value.scrollWidth - t.value.offsetWidth;
1447
+ const I = t.value.scrollLeft, F = t.value.scrollWidth - t.value.offsetWidth;
1448
1448
  if (O > 0) {
1449
1449
  if (t.value.scrollLeft >= F)
1450
1450
  return;
1451
- t.value.scrollLeft = T + e.scrollStep + b;
1451
+ t.value.scrollLeft = I + e.scrollStep + b;
1452
1452
  } else if (O < 0) {
1453
1453
  if (t.value.scrollLeft <= 0)
1454
1454
  return;
1455
- t.value.scrollLeft = T - e.scrollStep - b;
1455
+ t.value.scrollLeft = I - e.scrollStep - b;
1456
1456
  }
1457
1457
  }
1458
1458
  function m(b = -1) {
1459
1459
  if (!a.value || !t.value)
1460
1460
  return;
1461
- b < 0 && (b = l.value.findIndex((k) => k.props.id === c.value));
1462
- const O = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", T = t.value.querySelectorAll(O), { parentElement: F } = t.value, x = T[b];
1463
- if (x && F) {
1464
- const k = F.getBoundingClientRect().left, h = F.getBoundingClientRect().right, C = x.getBoundingClientRect().left, E = x.getBoundingClientRect().right;
1465
- C < k ? p(k - C, -1) : h < E && p(E - h, 1), e.tabType === "one-page" && n.scrollTo(b);
1461
+ b < 0 && (b = l.value.findIndex((M) => M.props.id === c.value));
1462
+ const O = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", I = t.value.querySelectorAll(O), { parentElement: F } = t.value, w = I[b];
1463
+ if (w && F) {
1464
+ const M = F.getBoundingClientRect().left, h = F.getBoundingClientRect().right, C = w.getBoundingClientRect().left, E = w.getBoundingClientRect().right;
1465
+ C < M ? p(M - C, -1) : h < E && p(E - h, 1), e.tabType === "one-page" && n.scrollTo(b);
1466
1466
  }
1467
1467
  }
1468
1468
  function g() {
1469
- var T;
1469
+ var I;
1470
1470
  if (!t.value)
1471
1471
  return;
1472
- const b = t.value, O = (T = t.value) == null ? void 0 : T.parentElement;
1472
+ const b = t.value, O = (I = t.value) == null ? void 0 : I.parentElement;
1473
1473
  a.value = O && b && O.offsetWidth < b.scrollWidth - r, a.value && ge(() => {
1474
1474
  m();
1475
1475
  });
1476
1476
  }
1477
- function w(b) {
1477
+ function S(b) {
1478
1478
  b.disabled || i(b.id);
1479
1479
  }
1480
1480
  function B() {
@@ -1489,7 +1489,7 @@ function xo(e, t, n, o) {
1489
1489
  nextButtonGroupClass: d,
1490
1490
  nextButtonClass: v,
1491
1491
  scrollTab: p,
1492
- selectAndScrollToTab: w,
1492
+ selectAndScrollToTab: S,
1493
1493
  shouldShowNavigationButtons: a,
1494
1494
  updateNavigationLayout: g,
1495
1495
  scrollToSelectedTab: B
@@ -1538,20 +1538,20 @@ const dt = /* @__PURE__ */ he({
1538
1538
  addTab: p,
1539
1539
  updateTab: m,
1540
1540
  toolbarItems: g,
1541
- checkActiveIdAndSelect: w,
1541
+ checkActiveIdAndSelect: S,
1542
1542
  toggleShowTab: B,
1543
1543
  hasInHeadClass: b,
1544
1544
  toolbarVisible: O
1545
- } = r, T = Io(e, s, r), F = xo(e, l, T, r), {
1546
- previousButtonClass: x,
1547
- nextButtonClass: k,
1545
+ } = r, I = Io(e, s, r), F = xo(e, l, I, r), {
1546
+ previousButtonClass: w,
1547
+ nextButtonClass: M,
1548
1548
  nextButtonGroupClass: h,
1549
1549
  scrollTab: C,
1550
1550
  updateNavigationLayout: E,
1551
- scrollToSelectedTab: S
1551
+ scrollToSelectedTab: x
1552
1552
  } = F;
1553
- r.setScrollToSelectedTabFunction(S);
1554
- const I = To(e, r), P = Bl(e, l, F, T, r), M = P, R = So(e, l, F, T, r), j = /* @__PURE__ */ new Map([["default", P], ["one-page", M], ["pills", R]]);
1553
+ r.setScrollToSelectedTabFunction(x);
1554
+ const T = To(e, r), k = Bl(e, l, F, I, r), P = k, R = So(e, l, F, I, r), j = /* @__PURE__ */ new Map([["default", k], ["one-page", P], ["pills", R]]);
1555
1555
  D(() => {
1556
1556
  const ne = v.value.find((se) => se.props.id === u.value);
1557
1557
  return ne == null ? void 0 : ne.slots;
@@ -1598,7 +1598,7 @@ const dt = /* @__PURE__ */ he({
1598
1598
  }
1599
1599
  te(() => e.visible, (ne) => {
1600
1600
  ge(() => {
1601
- v.value.length && w(e.activeId || v.value[0].props.id), E(), d(l), ae();
1601
+ v.value.length && S(e.activeId || v.value[0].props.id), E(), d(l), ae();
1602
1602
  });
1603
1603
  }), te(() => e.autoTitleWidth, (ne) => {
1604
1604
  ge(() => {
@@ -1610,7 +1610,7 @@ const dt = /* @__PURE__ */ he({
1610
1610
  rightButton: n("tabs.rightButton")
1611
1611
  };
1612
1612
  Ce(() => {
1613
- e.visible && (v.value.length && w(e.activeId || v.value[0].props.id), ge(() => {
1613
+ e.visible && (v.value.length && S(e.activeId || v.value[0].props.id), ge(() => {
1614
1614
  E(), d(l);
1615
1615
  }), ae());
1616
1616
  });
@@ -1618,7 +1618,7 @@ const dt = /* @__PURE__ */ he({
1618
1618
  return f("button", {
1619
1619
  title: le.leftButton,
1620
1620
  type: "button",
1621
- class: x.value,
1621
+ class: w.value,
1622
1622
  onClick: () => {
1623
1623
  C(0, -1);
1624
1624
  }
@@ -1628,7 +1628,7 @@ const dt = /* @__PURE__ */ he({
1628
1628
  return f("button", {
1629
1629
  title: le.rightButton,
1630
1630
  type: "button",
1631
- class: k.value,
1631
+ class: M.value,
1632
1632
  onClick: () => {
1633
1633
  C(0, 1);
1634
1634
  }
@@ -1637,7 +1637,7 @@ const dt = /* @__PURE__ */ he({
1637
1637
  const {
1638
1638
  renderMorePagesButtton: be,
1639
1639
  setTabsRef: re
1640
- } = Ml(e, I, F, r);
1640
+ } = Ml(e, T, F, r);
1641
1641
  re(a);
1642
1642
  const J = (ne, se) => {
1643
1643
  t.emit("Click", ne, se, u.value);
@@ -1885,21 +1885,21 @@ function Nl(e, t, n, o, a, i) {
1885
1885
  "st-tab-text": !0,
1886
1886
  "farris-title-auto": e.autoTitleWidth
1887
1887
  })), p = D(() => {
1888
- const I = {
1888
+ const T = {
1889
1889
  "farris-component": !0,
1890
1890
  "nav-item": !0,
1891
1891
  "f-state-active": t.id === l.value
1892
1892
  };
1893
- return I[`${t.id}-design-item`] = !0, I;
1893
+ return T[`${t.id}-design-item`] = !0, T;
1894
1894
  }), m = D(() => {
1895
- const I = {};
1896
- return t.tabWidth && t.tabWidth > 0 && (I.width = `${t.tabWidth}px`), I;
1895
+ const T = {};
1896
+ return t.tabWidth && t.tabWidth > 0 && (T.width = `${t.tabWidth}px`), T;
1897
1897
  }), g = D(() => ({
1898
1898
  "nav-link": !0,
1899
1899
  "tabs-text-truncate": !0,
1900
1900
  active: t.id === l.value
1901
1901
  }));
1902
- function w() {
1902
+ function S() {
1903
1903
  return f("span", {
1904
1904
  class: v.value,
1905
1905
  title: t.title
@@ -1919,17 +1919,17 @@ function Nl(e, t, n, o, a, i) {
1919
1919
  function O() {
1920
1920
  return t.titleHtml + b();
1921
1921
  }
1922
- function T(I) {
1922
+ function I(T) {
1923
1923
  s(t.id), e.tabType === "one-page" && o.scrollToByPaggId(t.id);
1924
1924
  }
1925
- function F(I) {
1926
- I && (I.stopPropagation(), I.preventDefault()), r(I, t.id, i.value);
1925
+ function F(T) {
1926
+ T && (T.stopPropagation(), T.preventDefault()), r(T, t.id, i.value);
1927
1927
  }
1928
- function x(I) {
1929
- c(I, t.id);
1928
+ function w(T) {
1929
+ c(T, t.id);
1930
1930
  }
1931
- function k(I) {
1932
- u(I, t.id);
1931
+ function M(T) {
1932
+ u(T, t.id);
1933
1933
  }
1934
1934
  te(() => t.toolbarPosition, () => {
1935
1935
  ge(() => {
@@ -1946,7 +1946,7 @@ function Nl(e, t, n, o, a, i) {
1946
1946
  class: "btn component-settings-button",
1947
1947
  title: "删除",
1948
1948
  ref: "removeComponent",
1949
- onClick: (I) => x(I)
1949
+ onClick: (T) => w(T)
1950
1950
  }, [f("i", {
1951
1951
  class: "f-icon f-icon-yxs_delete"
1952
1952
  }, null)]);
@@ -1957,7 +1957,7 @@ function Nl(e, t, n, o, a, i) {
1957
1957
  class: "btn component-settings-button",
1958
1958
  title: "新增按钮",
1959
1959
  ref: "addComponent",
1960
- onClick: (I) => k(I)
1960
+ onClick: (T) => M(T)
1961
1961
  }, [f("i", {
1962
1962
  class: "f-icon f-icon-plus-circle"
1963
1963
  }, null)]);
@@ -1968,28 +1968,28 @@ function Nl(e, t, n, o, a, i) {
1968
1968
  "data-noattach": "true"
1969
1969
  }, [f("div", null, [h(), !t.toolbar || !t.toolbar.buttons || !t.toolbar.buttons.length ? C() : ""])]);
1970
1970
  }
1971
- function S() {
1971
+ function x() {
1972
1972
  return n.slots.title ? f("a", {
1973
1973
  class: g.value,
1974
- onClick: T,
1974
+ onClick: I,
1975
1975
  id: `${t.id}-design-item`
1976
1976
  }, [n.slots.title(n), b()]) : t.titleHtml ? f("a", {
1977
1977
  class: g.value,
1978
- onClick: T,
1978
+ onClick: I,
1979
1979
  id: `${t.id}-design-item`,
1980
1980
  innerHTML: O()
1981
1981
  }, null) : f("a", {
1982
1982
  class: g.value,
1983
- onClick: T,
1983
+ onClick: I,
1984
1984
  id: `${t.id}-design-item`
1985
- }, [w(), b()]);
1985
+ }, [S(), b()]);
1986
1986
  }
1987
1987
  return f("li", {
1988
- onClick: (I) => F(I),
1988
+ onClick: (T) => F(T),
1989
1989
  class: p.value,
1990
1990
  style: m.value,
1991
1991
  pageId: `${t.id}-design-item`
1992
- }, [E(), S()]);
1992
+ }, [E(), x()]);
1993
1993
  }
1994
1994
  function Hl(e, t, n, o, a, i, l) {
1995
1995
  const {
@@ -2015,13 +2015,13 @@ function Hl(e, t, n, o, a, i, l) {
2015
2015
  })), m = function(g) {
2016
2016
  var B;
2017
2017
  g && (g.stopPropagation(), g.preventDefault());
2018
- const w = dn("tab-page");
2019
- w.id = `tab_page_${Math.random().toString().slice(2, 6)}`, w.title = "标题", w.toolbar = {
2020
- id: `${w.id}_toolbar`,
2018
+ const S = dn("tab-page");
2019
+ S.id = `tab_page_${Math.random().toString().slice(2, 6)}`, S.title = "标题", S.toolbar = {
2020
+ id: `${S.id}_toolbar`,
2021
2021
  buttons: [],
2022
2022
  type: "tab-toolbar"
2023
- }, (B = i.value.schema.contents) == null || B.push(w), c(w.id), ge(() => {
2024
- r(w.id, i.value);
2023
+ }, (B = i.value.schema.contents) == null || B.push(S), c(S.id), ge(() => {
2024
+ r(S.id, i.value);
2025
2025
  });
2026
2026
  };
2027
2027
  return () => f("div", {
@@ -2043,7 +2043,7 @@ function Hl(e, t, n, o, a, i, l) {
2043
2043
  }, null)])])])]);
2044
2044
  }
2045
2045
  function qt(e, t, n) {
2046
- var S;
2046
+ var x;
2047
2047
  const o = n && n.getStyles && n.getStyles() || "", a = n && n.getDesignerClass && n.getDesignerClass() || "", i = y();
2048
2048
  let l;
2049
2049
  function s() {
@@ -2058,104 +2058,104 @@ function qt(e, t, n) {
2058
2058
  function u() {
2059
2059
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !0 : n && n.hideNestedPaddingInDesginerView ? n.hideNestedPaddingInDesginerView() : !1;
2060
2060
  }
2061
- function d(I) {
2062
- if (!I || !I.value)
2061
+ function d(T) {
2062
+ if (!T || !T.value)
2063
2063
  return null;
2064
- if (I.value.schema && I.value.schema.type === "component")
2065
- return I.value;
2066
- const P = y(I == null ? void 0 : I.value.parent), M = d(P);
2067
- return M || null;
2064
+ if (T.value.schema && T.value.schema.type === "component")
2065
+ return T.value;
2066
+ const k = y(T == null ? void 0 : T.value.parent), P = d(k);
2067
+ return P || null;
2068
2068
  }
2069
- function v(I = t) {
2069
+ function v(T = t) {
2070
2070
  var j;
2071
2071
  if (n != null && n.getDraggableDesignItemElement)
2072
- return n.getDraggableDesignItemElement(I);
2073
- const { componentInstance: P, designerItemElementRef: M } = I;
2074
- if (!P || !P.value)
2072
+ return n.getDraggableDesignItemElement(T);
2073
+ const { componentInstance: k, designerItemElementRef: P } = T;
2074
+ if (!k || !k.value)
2075
2075
  return null;
2076
- const { getCustomButtons: R } = P.value;
2077
- return P.value.canMove || R && ((j = R()) != null && j.length) ? M : v(I.parent);
2076
+ const { getCustomButtons: R } = k.value;
2077
+ return k.value.canMove || R && ((j = R()) != null && j.length) ? P : v(T.parent);
2078
2078
  }
2079
- function p(I) {
2080
- return !!n && n.canAccepts(I);
2079
+ function p(T) {
2080
+ return !!n && n.canAccepts(T);
2081
2081
  }
2082
2082
  function m() {
2083
2083
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
2084
2084
  }
2085
2085
  function g() {
2086
2086
  }
2087
- function w(I, P) {
2088
- var M;
2089
- !I || !P || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(I, P), (M = t == null ? void 0 : t.setupContext) == null || M.emit("dragEnd"));
2087
+ function S(T, k) {
2088
+ var P;
2089
+ !T || !k || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(T, k), (P = t == null ? void 0 : t.setupContext) == null || P.emit("dragEnd"));
2090
2090
  }
2091
- function B(I, P) {
2092
- const { componentType: M } = I;
2093
- let R = zn(M, I, P);
2094
- n && n.onResolveNewComponentSchema && (R = n.onResolveNewComponentSchema(I, R));
2095
- const j = M.toLowerCase().replace(/-/g, "_");
2096
- return R && !R.id && R.type === M && (R.id = `${j}_${Math.random().toString().slice(2, 6)}`), R;
2091
+ function B(T, k) {
2092
+ const { componentType: P } = T;
2093
+ let R = zn(P, T, k);
2094
+ n && n.onResolveNewComponentSchema && (R = n.onResolveNewComponentSchema(T, R));
2095
+ const j = P.toLowerCase().replace(/-/g, "_");
2096
+ return R && !R.id && R.type === P && (R.id = `${j}_${Math.random().toString().slice(2, 6)}`), R;
2097
2097
  }
2098
- function b(I) {
2099
- I && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(I);
2098
+ function b(T) {
2099
+ T && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(T);
2100
2100
  }
2101
- function O(...I) {
2101
+ function O(...T) {
2102
2102
  if (n && n.getPropsConfig)
2103
- return n.getPropsConfig(...I);
2103
+ return n.getPropsConfig(...T);
2104
2104
  }
2105
- function T(I) {
2106
- if (!I)
2105
+ function I(T) {
2106
+ if (!T)
2107
2107
  return;
2108
- const P = t == null ? void 0 : t.schema, { formSchemaUtils: M } = I;
2109
- if (P && M.getExpressions().length) {
2110
- const R = M.getExpressions().findIndex((j) => j.target === P.id);
2111
- R > -1 && M.getExpressions().splice(R, 1);
2108
+ const k = t == null ? void 0 : t.schema, { formSchemaUtils: P } = T;
2109
+ if (k && P.getExpressions().length) {
2110
+ const R = P.getExpressions().findIndex((j) => j.target === k.id);
2111
+ R > -1 && P.getExpressions().splice(R, 1);
2112
2112
  }
2113
2113
  }
2114
- function F(I) {
2115
- if (!I || !(t != null && t.schema))
2114
+ function F(T) {
2115
+ if (!T || !(t != null && t.schema))
2116
2116
  return;
2117
- const P = t.schema, { formSchemaUtils: M } = I;
2118
- M.removeCommunicationInComponent(P);
2119
- }
2120
- function x(I) {
2121
- n && n.onRemoveComponent && n.onRemoveComponent(), T(I), F(I), t != null && t.schema.contents && t.schema.contents.map((P) => {
2122
- let M = P.id;
2123
- P.type === "component-ref" && (M = P.component);
2124
- const R = e.value.querySelectorAll(`#${M}-design-item`);
2117
+ const k = t.schema, { formSchemaUtils: P } = T;
2118
+ P.removeCommunicationInComponent(k);
2119
+ }
2120
+ function w(T) {
2121
+ n && n.onRemoveComponent && n.onRemoveComponent(), I(T), F(T), t != null && t.schema.contents && t.schema.contents.map((k) => {
2122
+ let P = k.id;
2123
+ k.type === "component-ref" && (P = k.component);
2124
+ const R = e.value.querySelectorAll(`#${P}-design-item`);
2125
2125
  R != null && R.length && Array.from(R).map((j) => {
2126
2126
  var V;
2127
- (V = j == null ? void 0 : j.componentInstance) != null && V.value.onRemoveComponent && j.componentInstance.value.onRemoveComponent(I);
2127
+ (V = j == null ? void 0 : j.componentInstance) != null && V.value.onRemoveComponent && j.componentInstance.value.onRemoveComponent(T);
2128
2128
  });
2129
2129
  });
2130
2130
  }
2131
- function k() {
2131
+ function M() {
2132
2132
  if (n && n.getCustomButtons)
2133
2133
  return n.getCustomButtons();
2134
2134
  }
2135
- function h(I) {
2136
- var M, R;
2137
- if (!((M = t == null ? void 0 : t.schema) != null && M.id))
2135
+ function h(T) {
2136
+ var P, R;
2137
+ if (!((P = t == null ? void 0 : t.schema) != null && P.id))
2138
2138
  return;
2139
- if (!l && I && (l = I.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
2139
+ if (!l && T && (l = T.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
2140
2140
  n.setComponentBasicInfoMap();
2141
2141
  return;
2142
2142
  }
2143
- let P = "";
2143
+ let k = "";
2144
2144
  if (n != null && n.getComponentTitle)
2145
- P = n.getComponentTitle();
2145
+ k = n.getComponentTitle();
2146
2146
  else {
2147
2147
  const { text: j, title: V, label: $, mainTitle: A, name: z, type: H } = t.schema;
2148
- P = j || V || $ || A || z || ((R = W[H]) == null ? void 0 : R.name);
2148
+ k = j || V || $ || A || z || ((R = W[H]) == null ? void 0 : R.name);
2149
2149
  }
2150
- P && l.getControlBasicInfoMap().set(t.schema.id, {
2151
- componentTitle: P,
2152
- parentPathName: P
2150
+ k && l.getControlBasicInfoMap().set(t.schema.id, {
2151
+ componentTitle: k,
2152
+ parentPathName: k
2153
2153
  });
2154
2154
  }
2155
- function C(I) {
2155
+ function C(T) {
2156
2156
  var j;
2157
- const { changeObject: P } = I, { propertyID: M, propertyValue: R } = P;
2158
- if (["text", "title", "label", "name", "mainTitle"].includes((j = I == null ? void 0 : I.changeObject) == null ? void 0 : j.propertyID) && M && R && (h(), l)) {
2157
+ const { changeObject: k } = T, { propertyID: P, propertyValue: R } = k;
2158
+ if (["text", "title", "label", "name", "mainTitle"].includes((j = T == null ? void 0 : T.changeObject) == null ? void 0 : j.propertyID) && P && R && (h(), l)) {
2159
2159
  const V = l.getControlBasicInfoMap(), $ = V.keys().toArray().filter((A) => {
2160
2160
  var z, H;
2161
2161
  return ((z = V.get(A)) == null ? void 0 : z.reliedComponentId) === ((H = t == null ? void 0 : t.schema) == null ? void 0 : H.id);
@@ -2166,9 +2166,9 @@ function qt(e, t, n) {
2166
2166
  });
2167
2167
  }
2168
2168
  }
2169
- function E(I) {
2170
- if (C(I), n && n.onPropertyChanged)
2171
- return n.onPropertyChanged(I);
2169
+ function E(T) {
2170
+ if (C(T), n && n.onPropertyChanged)
2171
+ return n.onPropertyChanged(T);
2172
2172
  }
2173
2173
  return i.value = {
2174
2174
  canMove: s(),
@@ -2177,7 +2177,7 @@ function qt(e, t, n) {
2177
2177
  canNested: !u(),
2178
2178
  contents: t == null ? void 0 : t.schema.contents,
2179
2179
  elementRef: e,
2180
- parent: (S = t == null ? void 0 : t.parent) == null ? void 0 : S.componentInstance,
2180
+ parent: (x = t == null ? void 0 : t.parent) == null ? void 0 : x.componentInstance,
2181
2181
  schema: t == null ? void 0 : t.schema,
2182
2182
  styles: o,
2183
2183
  designerClass: a,
@@ -2187,13 +2187,13 @@ function qt(e, t, n) {
2187
2187
  getDraggingDisplayText: m,
2188
2188
  getPropConfig: O,
2189
2189
  getDragScopeElement: g,
2190
- onAcceptMovedChildElement: w,
2190
+ onAcceptMovedChildElement: S,
2191
2191
  onChildElementMovedOut: b,
2192
2192
  addNewChildComponentSchema: B,
2193
2193
  triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || y(!1),
2194
2194
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || y(!1),
2195
- onRemoveComponent: x,
2196
- getCustomButtons: k,
2195
+ onRemoveComponent: w,
2196
+ getCustomButtons: M,
2197
2197
  onPropertyChanged: E,
2198
2198
  setComponentBasicInfoMap: h,
2199
2199
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
@@ -2315,11 +2315,11 @@ var Fo = { exports: {} };
2315
2315
  2: [function(n, o, a) {
2316
2316
  (function(i) {
2317
2317
  var l = n("contra/emitter"), s = n("crossvent"), c = n("./classes"), r = document, u = r.documentElement;
2318
- function d(S, I) {
2319
- var P = arguments.length;
2320
- P === 1 && Array.isArray(S) === !1 && (I = S, S = []);
2321
- var M, R, j, V, $, A, z, H, K, ae = null, le, Z, de = !1, be = 0, re, J = I || {};
2322
- J.moves === void 0 && (J.moves = b), J.accepts === void 0 && (J.accepts = b), J.invalid === void 0 && (J.invalid = Ge), J.containers === void 0 && (J.containers = S || []), J.isContainer === void 0 && (J.isContainer = B), J.copy === void 0 && (J.copy = !1), J.copySortSource === void 0 && (J.copySortSource = !1), J.revertOnSpill === void 0 && (J.revertOnSpill = !1), J.removeOnSpill === void 0 && (J.removeOnSpill = !1), J.direction === void 0 && (J.direction = "vertical"), J.ignoreInputTextSelection === void 0 && (J.ignoreInputTextSelection = !0), J.mirrorContainer === void 0 && (J.mirrorContainer = r.body);
2318
+ function d(x, T) {
2319
+ var k = arguments.length;
2320
+ k === 1 && Array.isArray(x) === !1 && (T = x, x = []);
2321
+ var P, R, j, V, $, A, z, H, K, ae = null, le, Z, de = !1, be = 0, re, J = T || {};
2322
+ J.moves === void 0 && (J.moves = b), J.accepts === void 0 && (J.accepts = b), J.invalid === void 0 && (J.invalid = Ge), J.containers === void 0 && (J.containers = x || []), J.isContainer === void 0 && (J.isContainer = B), J.copy === void 0 && (J.copy = !1), J.copySortSource === void 0 && (J.copySortSource = !1), J.revertOnSpill === void 0 && (J.revertOnSpill = !1), J.removeOnSpill === void 0 && (J.removeOnSpill = !1), J.direction === void 0 && (J.direction = "vertical"), J.ignoreInputTextSelection === void 0 && (J.ignoreInputTextSelection = !0), J.mirrorContainer === void 0 && (J.mirrorContainer = r.body);
2323
2323
  var ue = l({
2324
2324
  containers: J.containers,
2325
2325
  start: $e,
@@ -2357,7 +2357,7 @@ var Fo = { exports: {} };
2357
2357
  var G = g(N) !== 1 || N.metaKey || N.ctrlKey;
2358
2358
  if (!G) {
2359
2359
  var Y = N.target, ee = oe(Y);
2360
- ee && (le = ee, _(), N.type === "mousedown" && (x(Y) ? Y.focus() : N.preventDefault()));
2360
+ ee && (le = ee, _(), N.type === "mousedown" && (w(Y) ? Y.focus() : N.preventDefault()));
2361
2361
  }
2362
2362
  }
2363
2363
  function ke(N) {
@@ -2369,7 +2369,7 @@ var Fo = { exports: {} };
2369
2369
  if (!(N.clientX !== void 0 && Math.abs(N.clientX - V) <= (J.slideFactorX || 0) && N.clientY !== void 0 && Math.abs(N.clientY - $) <= (J.slideFactorY || 0))) {
2370
2370
  if (J.ignoreInputTextSelection) {
2371
2371
  var G = E("clientX", N) || 0, Y = E("clientY", N) || 0, ee = r.elementFromPoint(G, Y);
2372
- if (x(ee))
2372
+ if (w(ee))
2373
2373
  return;
2374
2374
  }
2375
2375
  var me = le;
@@ -2378,7 +2378,7 @@ var Fo = { exports: {} };
2378
2378
  }
2379
2379
  }
2380
2380
  function oe(N) {
2381
- if (!(ue.dragging && M) && !L(N)) {
2381
+ if (!(ue.dragging && P) && !L(N)) {
2382
2382
  for (var G = N; F(N) && L(F(N)) === !1; )
2383
2383
  if (J.invalid(N, G) || (N = F(N), !N))
2384
2384
  return;
@@ -2417,7 +2417,7 @@ var Fo = { exports: {} };
2417
2417
  }
2418
2418
  function Je(N) {
2419
2419
  if (Xe(), !!ue.dragging) {
2420
- var G = H || j, Y = E("clientX", N) || 0, ee = E("clientY", N) || 0, me = w(M, Y, ee), ve = Qe(me, Y, ee);
2420
+ var G = H || j, Y = E("clientX", N) || 0, ee = E("clientY", N) || 0, me = S(P, Y, ee), ve = Qe(me, Y, ee);
2421
2421
  ve && (H && J.copySortSource || !H || ve !== R) ? gt(G, ve) : J.removeOnSpill ? U() : ce();
2422
2422
  }
2423
2423
  }
@@ -2443,7 +2443,7 @@ var Fo = { exports: {} };
2443
2443
  }
2444
2444
  function Ie(N, G) {
2445
2445
  var Y;
2446
- return G !== void 0 ? Y = G : M ? Y = z : Y = h(H || j), N === R && Y === A;
2446
+ return G !== void 0 ? Y = G : P ? Y = z : Y = h(H || j), N === R && Y === A;
2447
2447
  }
2448
2448
  function Qe(N, G, Y) {
2449
2449
  for (var ee = N; ee && !me(); )
@@ -2458,12 +2458,12 @@ var Fo = { exports: {} };
2458
2458
  }
2459
2459
  }
2460
2460
  function wt(N) {
2461
- if (!M)
2461
+ if (!P)
2462
2462
  return;
2463
2463
  N.preventDefault();
2464
2464
  var G = E("clientX", N) || 0, Y = E("clientY", N) || 0;
2465
- M.style.left = G - 2 + "px", M.style.top = Y - 2 + "px";
2466
- var ee = H || j, me = w(M, G, Y), ve = Qe(me, G, Y), He = ve !== null && ve !== ae;
2465
+ P.style.left = G - 2 + "px", P.style.top = Y - 2 + "px";
2466
+ var ee = H || j, me = S(P, G, Y), ve = Qe(me, G, Y), He = ve !== null && ve !== ae;
2467
2467
  (He || ve === null) && (Ve(), ae = ve, qe()), tn(me, Y);
2468
2468
  var Re = F(ee);
2469
2469
  if (ve === R && H && !J.copySortSource) {
@@ -2500,7 +2500,7 @@ var Fo = { exports: {} };
2500
2500
  ue.dragging && c.add(N, "gu-hide");
2501
2501
  }
2502
2502
  function Xt() {
2503
- M || (M = document.createElement("div"), M.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", M.innerHTML = J.getMirrorText && J.getMirrorText(j) || "控件", c.add(M, "gu-mirror"), J.mirrorContainer.appendChild(M), m(u, "add", "mousemove", wt), c.add(J.mirrorContainer, "gu-unselectable"), ue.emit("cloned", M, j, "mirror"));
2503
+ P || (P = document.createElement("div"), P.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", P.innerHTML = J.getMirrorText && J.getMirrorText(j) || "控件", c.add(P, "gu-mirror"), J.mirrorContainer.appendChild(P), m(u, "add", "mousemove", wt), c.add(J.mirrorContainer, "gu-unselectable"), ue.emit("cloned", P, j, "mirror"));
2504
2504
  }
2505
2505
  function Yt() {
2506
2506
  if (Z = document.createElement("div"), c.add(Z, "gu-insertion"), j) {
@@ -2510,7 +2510,7 @@ var Fo = { exports: {} };
2510
2510
  de = !1, J.mirrorContainer.appendChild(Z);
2511
2511
  }
2512
2512
  function Jt() {
2513
- M && (c.rm(J.mirrorContainer, "gu-unselectable"), m(u, "remove", "mousemove", wt), F(M).removeChild(M), M = null);
2513
+ P && (c.rm(J.mirrorContainer, "gu-unselectable"), m(u, "remove", "mousemove", wt), F(P).removeChild(P), P = null);
2514
2514
  }
2515
2515
  function Qt() {
2516
2516
  Z && (F(Z).removeChild(Z), Z = null);
@@ -2607,7 +2607,7 @@ var Fo = { exports: {} };
2607
2607
  var qe = ee - Me.top, Ve = Y - Me.left, Ee = Me.bottom - ee, xt = Me.right - Y, Tt = Math.min(Ve, xt, qe, Ee), It;
2608
2608
  return de ? It = xt < Ve : It = Ee === Tt || xt === Tt || Ve === Tt, ze(It);
2609
2609
  }
2610
- return ze(me ? Y > Me.left + O(Me) / 2 : ee > Me.top + T(Me) / 2);
2610
+ return ze(me ? Y > Me.left + O(Me) / 2 : ee > Me.top + I(Me) / 2);
2611
2611
  }
2612
2612
  function ze(Me) {
2613
2613
  return Me ? h(G) : G;
@@ -2617,26 +2617,26 @@ var Fo = { exports: {} };
2617
2617
  return typeof J.copy == "boolean" ? J.copy : J.copy(N, G);
2618
2618
  }
2619
2619
  }
2620
- function v(S) {
2621
- const I = Array.from(window.scrollContainerList);
2622
- if (I.length === 1) {
2623
- const M = Array.from(window.scrollContainerList)[0];
2624
- return document.getElementById(M);
2620
+ function v(x) {
2621
+ const T = Array.from(window.scrollContainerList);
2622
+ if (T.length === 1) {
2623
+ const P = Array.from(window.scrollContainerList)[0];
2624
+ return document.getElementById(P);
2625
2625
  }
2626
- const P = p(I);
2627
- for (const M of P)
2628
- if (M.contains(S))
2629
- return M;
2626
+ const k = p(T);
2627
+ for (const P of k)
2628
+ if (P.contains(x))
2629
+ return P;
2630
2630
  return null;
2631
2631
  }
2632
- function p(S) {
2633
- const I = [];
2634
- return S.forEach((P) => {
2635
- const M = document.getElementById(P);
2636
- M && I.push(M);
2637
- }), I.sort((P, M) => P.contains(M) ? 1 : M.contains(P) ? -1 : 0), I;
2632
+ function p(x) {
2633
+ const T = [];
2634
+ return x.forEach((k) => {
2635
+ const P = document.getElementById(k);
2636
+ P && T.push(P);
2637
+ }), T.sort((k, P) => k.contains(P) ? 1 : P.contains(k) ? -1 : 0), T;
2638
2638
  }
2639
- function m(S, I, P, M) {
2639
+ function m(x, T, k, P) {
2640
2640
  var R = {
2641
2641
  mouseup: "touchend",
2642
2642
  mousedown: "touchstart",
@@ -2650,23 +2650,23 @@ var Fo = { exports: {} };
2650
2650
  mousedown: "MSPointerDown",
2651
2651
  mousemove: "MSPointerMove"
2652
2652
  };
2653
- i.navigator.pointerEnabled ? s[I](S, j[P], M) : i.navigator.msPointerEnabled ? s[I](S, V[P], M) : (s[I](S, R[P], M), s[I](S, P, M));
2653
+ i.navigator.pointerEnabled ? s[T](x, j[k], P) : i.navigator.msPointerEnabled ? s[T](x, V[k], P) : (s[T](x, R[k], P), s[T](x, k, P));
2654
2654
  }
2655
- function g(S) {
2656
- if (S.touches !== void 0)
2657
- return S.touches.length;
2658
- if (S.which !== void 0 && S.which !== 0)
2659
- return S.which;
2660
- if (S.buttons !== void 0)
2661
- return S.buttons;
2662
- var I = S.button;
2663
- if (I !== void 0)
2664
- return I & 1 ? 1 : I & 2 ? 3 : I & 4 ? 2 : 0;
2655
+ function g(x) {
2656
+ if (x.touches !== void 0)
2657
+ return x.touches.length;
2658
+ if (x.which !== void 0 && x.which !== 0)
2659
+ return x.which;
2660
+ if (x.buttons !== void 0)
2661
+ return x.buttons;
2662
+ var T = x.button;
2663
+ if (T !== void 0)
2664
+ return T & 1 ? 1 : T & 2 ? 3 : T & 4 ? 2 : 0;
2665
2665
  }
2666
- function w(S, I, P) {
2667
- S = S || {};
2668
- var M = S.className || "", R;
2669
- return S.className += " gu-hide", R = r.elementFromPoint(I, P), S.className = M, R;
2666
+ function S(x, T, k) {
2667
+ x = x || {};
2668
+ var P = x.className || "", R;
2669
+ return x.className += " gu-hide", R = r.elementFromPoint(T, k), x.className = P, R;
2670
2670
  }
2671
2671
  function B() {
2672
2672
  return !1;
@@ -2674,42 +2674,42 @@ var Fo = { exports: {} };
2674
2674
  function b() {
2675
2675
  return !0;
2676
2676
  }
2677
- function O(S) {
2678
- return S.width || S.right - S.left;
2677
+ function O(x) {
2678
+ return x.width || x.right - x.left;
2679
2679
  }
2680
- function T(S) {
2681
- return S.height || S.bottom - S.top;
2680
+ function I(x) {
2681
+ return x.height || x.bottom - x.top;
2682
2682
  }
2683
- function F(S) {
2684
- return S.parentNode === r ? null : S.parentNode;
2683
+ function F(x) {
2684
+ return x.parentNode === r ? null : x.parentNode;
2685
2685
  }
2686
- function x(S) {
2687
- return S.tagName === "INPUT" || S.tagName === "TEXTAREA" || S.tagName === "SELECT" || k(S);
2686
+ function w(x) {
2687
+ return x.tagName === "INPUT" || x.tagName === "TEXTAREA" || x.tagName === "SELECT" || M(x);
2688
2688
  }
2689
- function k(S) {
2690
- return !S || S.contentEditable === "false" ? !1 : S.contentEditable === "true" ? !0 : k(F(S));
2689
+ function M(x) {
2690
+ return !x || x.contentEditable === "false" ? !1 : x.contentEditable === "true" ? !0 : M(F(x));
2691
2691
  }
2692
- function h(S) {
2693
- return S.nextElementSibling || I();
2694
- function I() {
2695
- var P = S;
2692
+ function h(x) {
2693
+ return x.nextElementSibling || T();
2694
+ function T() {
2695
+ var k = x;
2696
2696
  do
2697
- P = P.nextSibling;
2698
- while (P && P.nodeType !== 1);
2699
- return P;
2697
+ k = k.nextSibling;
2698
+ while (k && k.nodeType !== 1);
2699
+ return k;
2700
2700
  }
2701
2701
  }
2702
- function C(S) {
2703
- return S.targetTouches && S.targetTouches.length ? S.targetTouches[0] : S.changedTouches && S.changedTouches.length ? S.changedTouches[0] : S;
2702
+ function C(x) {
2703
+ return x.targetTouches && x.targetTouches.length ? x.targetTouches[0] : x.changedTouches && x.changedTouches.length ? x.changedTouches[0] : x;
2704
2704
  }
2705
- function E(S, I) {
2706
- var P = C(I), M = {
2705
+ function E(x, T) {
2706
+ var k = C(T), P = {
2707
2707
  pageX: "clientX",
2708
2708
  // IE8
2709
2709
  pageY: "clientY"
2710
2710
  // IE8
2711
2711
  };
2712
- return S in M && !(S in P) && M[S] in P && (S = M[S]), P[S];
2712
+ return x in P && !(x in k) && P[x] in k && (x = P[x]), k[x];
2713
2713
  }
2714
2714
  o.exports = d;
2715
2715
  }).call(this, typeof Ke < "u" ? Ke : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2770,63 +2770,63 @@ var Fo = { exports: {} };
2770
2770
  i.addEventListener || (r = p, u = g), o.exports = {
2771
2771
  add: r,
2772
2772
  remove: u,
2773
- fabricate: w
2773
+ fabricate: S
2774
2774
  };
2775
- function v(F, x, k, h) {
2776
- return F.addEventListener(x, k, h);
2775
+ function v(F, w, M, h) {
2776
+ return F.addEventListener(w, M, h);
2777
2777
  }
2778
- function p(F, x, k) {
2779
- return F.attachEvent("on" + x, b(F, x, k));
2778
+ function p(F, w, M) {
2779
+ return F.attachEvent("on" + w, b(F, w, M));
2780
2780
  }
2781
- function m(F, x, k, h) {
2782
- return F.removeEventListener(x, k, h);
2781
+ function m(F, w, M, h) {
2782
+ return F.removeEventListener(w, M, h);
2783
2783
  }
2784
- function g(F, x, k) {
2785
- var h = O(F, x, k);
2784
+ function g(F, w, M) {
2785
+ var h = O(F, w, M);
2786
2786
  if (h)
2787
- return F.detachEvent("on" + x, h);
2787
+ return F.detachEvent("on" + w, h);
2788
2788
  }
2789
- function w(F, x, k) {
2790
- var h = s.indexOf(x) === -1 ? E() : C();
2791
- F.dispatchEvent ? F.dispatchEvent(h) : F.fireEvent("on" + x, h);
2789
+ function S(F, w, M) {
2790
+ var h = s.indexOf(w) === -1 ? E() : C();
2791
+ F.dispatchEvent ? F.dispatchEvent(h) : F.fireEvent("on" + w, h);
2792
2792
  function C() {
2793
- var S;
2794
- return c.createEvent ? (S = c.createEvent("Event"), S.initEvent(x, !0, !0)) : c.createEventObject && (S = c.createEventObject()), S;
2793
+ var x;
2794
+ return c.createEvent ? (x = c.createEvent("Event"), x.initEvent(w, !0, !0)) : c.createEventObject && (x = c.createEventObject()), x;
2795
2795
  }
2796
2796
  function E() {
2797
- return new l(x, { detail: k });
2797
+ return new l(w, { detail: M });
2798
2798
  }
2799
2799
  }
2800
- function B(F, x, k) {
2800
+ function B(F, w, M) {
2801
2801
  return function(C) {
2802
2802
  var E = C || i.event;
2803
2803
  E.target = E.target || E.srcElement, E.preventDefault = E.preventDefault || function() {
2804
2804
  E.returnValue = !1;
2805
2805
  }, E.stopPropagation = E.stopPropagation || function() {
2806
2806
  E.cancelBubble = !0;
2807
- }, E.which = E.which || E.keyCode, k.call(F, E);
2807
+ }, E.which = E.which || E.keyCode, M.call(F, E);
2808
2808
  };
2809
2809
  }
2810
- function b(F, x, k) {
2811
- var h = O(F, x, k) || B(F, x, k);
2810
+ function b(F, w, M) {
2811
+ var h = O(F, w, M) || B(F, w, M);
2812
2812
  return d.push({
2813
2813
  wrapper: h,
2814
2814
  element: F,
2815
- type: x,
2816
- fn: k
2815
+ type: w,
2816
+ fn: M
2817
2817
  }), h;
2818
2818
  }
2819
- function O(F, x, k) {
2820
- var h = T(F, x, k);
2819
+ function O(F, w, M) {
2820
+ var h = I(F, w, M);
2821
2821
  if (h) {
2822
2822
  var C = d[h].wrapper;
2823
2823
  return d.splice(h, 1), C;
2824
2824
  }
2825
2825
  }
2826
- function T(F, x, k) {
2826
+ function I(F, w, M) {
2827
2827
  var h, C;
2828
2828
  for (h = 0; h < d.length; h++)
2829
- if (C = d[h], C.element === F && C.type === x && C.fn === k)
2829
+ if (C = d[h], C.element === F && C.type === w && C.fn === M)
2830
2830
  return h;
2831
2831
  }
2832
2832
  }).call(this, typeof Ke < "u" ? Ke : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2885,74 +2885,74 @@ var Fo = { exports: {} };
2885
2885
  s = r;
2886
2886
  }
2887
2887
  })();
2888
- function u(T) {
2888
+ function u(I) {
2889
2889
  if (l === setTimeout)
2890
- return setTimeout(T, 0);
2890
+ return setTimeout(I, 0);
2891
2891
  if ((l === c || !l) && setTimeout)
2892
- return l = setTimeout, setTimeout(T, 0);
2892
+ return l = setTimeout, setTimeout(I, 0);
2893
2893
  try {
2894
- return l(T, 0);
2894
+ return l(I, 0);
2895
2895
  } catch {
2896
2896
  try {
2897
- return l.call(null, T, 0);
2897
+ return l.call(null, I, 0);
2898
2898
  } catch {
2899
- return l.call(this, T, 0);
2899
+ return l.call(this, I, 0);
2900
2900
  }
2901
2901
  }
2902
2902
  }
2903
- function d(T) {
2903
+ function d(I) {
2904
2904
  if (s === clearTimeout)
2905
- return clearTimeout(T);
2905
+ return clearTimeout(I);
2906
2906
  if ((s === r || !s) && clearTimeout)
2907
- return s = clearTimeout, clearTimeout(T);
2907
+ return s = clearTimeout, clearTimeout(I);
2908
2908
  try {
2909
- return s(T);
2909
+ return s(I);
2910
2910
  } catch {
2911
2911
  try {
2912
- return s.call(null, T);
2912
+ return s.call(null, I);
2913
2913
  } catch {
2914
- return s.call(this, T);
2914
+ return s.call(this, I);
2915
2915
  }
2916
2916
  }
2917
2917
  }
2918
2918
  var v = [], p = !1, m, g = -1;
2919
- function w() {
2919
+ function S() {
2920
2920
  !p || !m || (p = !1, m.length ? v = m.concat(v) : g = -1, v.length && B());
2921
2921
  }
2922
2922
  function B() {
2923
2923
  if (!p) {
2924
- var T = u(w);
2924
+ var I = u(S);
2925
2925
  p = !0;
2926
2926
  for (var F = v.length; F; ) {
2927
2927
  for (m = v, v = []; ++g < F; )
2928
2928
  m && m[g].run();
2929
2929
  g = -1, F = v.length;
2930
2930
  }
2931
- m = null, p = !1, d(T);
2931
+ m = null, p = !1, d(I);
2932
2932
  }
2933
2933
  }
2934
- i.nextTick = function(T) {
2934
+ i.nextTick = function(I) {
2935
2935
  var F = new Array(arguments.length - 1);
2936
2936
  if (arguments.length > 1)
2937
- for (var x = 1; x < arguments.length; x++)
2938
- F[x - 1] = arguments[x];
2939
- v.push(new b(T, F)), v.length === 1 && !p && u(B);
2937
+ for (var w = 1; w < arguments.length; w++)
2938
+ F[w - 1] = arguments[w];
2939
+ v.push(new b(I, F)), v.length === 1 && !p && u(B);
2940
2940
  };
2941
- function b(T, F) {
2942
- this.fun = T, this.array = F;
2941
+ function b(I, F) {
2942
+ this.fun = I, this.array = F;
2943
2943
  }
2944
2944
  b.prototype.run = function() {
2945
2945
  this.fun.apply(null, this.array);
2946
2946
  }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {};
2947
2947
  function O() {
2948
2948
  }
2949
- i.on = O, i.addListener = O, i.once = O, i.off = O, i.removeListener = O, i.removeAllListeners = O, i.emit = O, i.prependListener = O, i.prependOnceListener = O, i.listeners = function(T) {
2949
+ i.on = O, i.addListener = O, i.once = O, i.off = O, i.removeListener = O, i.removeAllListeners = O, i.emit = O, i.prependListener = O, i.prependOnceListener = O, i.listeners = function(I) {
2950
2950
  return [];
2951
- }, i.binding = function(T) {
2951
+ }, i.binding = function(I) {
2952
2952
  throw new Error("process.binding is not supported");
2953
2953
  }, i.cwd = function() {
2954
2954
  return "/";
2955
- }, i.chdir = function(T) {
2955
+ }, i.chdir = function(I) {
2956
2956
  throw new Error("process.chdir is not supported");
2957
2957
  }, i.umask = function() {
2958
2958
  return 0;
@@ -3034,41 +3034,41 @@ const Rt = /* @__PURE__ */ Wl(Ul), Gl = {
3034
3034
  locale: n,
3035
3035
  t: o
3036
3036
  } = Ue(), a = y(e.animate), i = "fadeOut", l = D(() => e.options), s = y(!1), c = D(() => l.value.title && l.value.message), r = D(() => !l.value.title && l.value.message), u = D(() => {
3037
- const T = {
3037
+ const I = {
3038
3038
  animated: s.value,
3039
3039
  toast: !0,
3040
3040
  "toast--only-content": r.value
3041
3041
  };
3042
- return T[e.animate] = !1, T[i] = s.value, T["toasty-type-" + l.value.type] = !0, l.value.theme && (T[l.value.theme] = !0), T;
3042
+ return I[e.animate] = !1, I[i] = s.value, I["toasty-type-" + l.value.type] = !0, l.value.theme && (I[l.value.theme] = !0), I;
3043
3043
  }), d = D(() => {
3044
- const x = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, k = {
3044
+ const w = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, M = {
3045
3045
  "f-icon": !0
3046
3046
  };
3047
- return k[x] = !0, k;
3047
+ return M[w] = !0, M;
3048
3048
  }), v = D(() => l.value.title || l.value.message), p = D(() => e.showCloseButton), m = D(() => !!l.value.buttons || !!t.slots.default), g = D(() => n.value === "en" ? {
3049
3049
  wordBreak: "keep-all",
3050
3050
  overflowWrap: "break-word"
3051
3051
  } : {});
3052
- function w(T) {
3053
- T.stopPropagation(), T.preventDefault(), s.value = !1, setTimeout(() => {
3052
+ function S(I) {
3053
+ I.stopPropagation(), I.preventDefault(), s.value = !1, setTimeout(() => {
3054
3054
  t.emit("close", l.value);
3055
3055
  }, 200);
3056
3056
  }
3057
- function B(T, F) {
3057
+ function B(I, F) {
3058
3058
  }
3059
- function b(T) {
3060
- return `f-preten-link ${T.customClass ? T.customClass : ""}`;
3059
+ function b(I) {
3060
+ return `f-preten-link ${I.customClass ? I.customClass : ""}`;
3061
3061
  }
3062
3062
  te(a, () => {
3063
3063
  a.value;
3064
3064
  });
3065
3065
  const O = () => {
3066
- var T;
3066
+ var I;
3067
3067
  return f(Be, null, [f("div", {
3068
3068
  class: "after-toast-msg text-right"
3069
- }, [!t.slots.default && ((T = l.value.buttons) == null ? void 0 : T.map((F) => f("span", {
3069
+ }, [!t.slots.default && ((I = l.value.buttons) == null ? void 0 : I.map((F) => f("span", {
3070
3070
  class: b(F),
3071
- onClick: (x) => void 0
3071
+ onClick: (w) => void 0
3072
3072
  }, [F.text]))), t.slots.default && t.slots.default()])]);
3073
3073
  };
3074
3074
  return () => f("div", {
@@ -3077,7 +3077,7 @@ const Rt = /* @__PURE__ */ Wl(Ul), Gl = {
3077
3077
  }, [p.value && f("button", {
3078
3078
  title: o("messageBox.close"),
3079
3079
  class: "toast-close f-btn-icon f-bare",
3080
- onClick: w
3080
+ onClick: S
3081
3081
  }, [f("span", {
3082
3082
  class: "f-icon modal_close"
3083
3083
  }, null)]), v.value && f("section", {
@@ -3431,34 +3431,34 @@ const Yl = {
3431
3431
  }
3432
3432
  }
3433
3433
  };
3434
- function Jl(e, t, n, o, a, i, l, s, c, r, u, d, v, p, m, g, w) {
3434
+ function Jl(e, t, n, o, a, i, l, s, c, r, u, d, v, p, m, g, S) {
3435
3435
  const {
3436
3436
  calculateCellPositionInRow: B
3437
3437
  } = i, {
3438
3438
  columnContext: b,
3439
3439
  hasLeftFixedColumn: O,
3440
- hasRightFixedColumn: T
3440
+ hasRightFixedColumn: I
3441
3441
  } = l, {
3442
3442
  gridDataStyle: F,
3443
- leftFixedGridDataStyle: x,
3444
- rightFixedGridDataStyle: k
3443
+ leftFixedGridDataStyle: w,
3444
+ rightFixedGridDataStyle: M
3445
3445
  } = p, {
3446
3446
  renderDataRow: h
3447
- } = Ea(e, t, b, w, s, c, r, u, d, v, p, m, g), C = [h];
3447
+ } = Ea(e, t, b, S, s, c, r, u, d, v, p, m, g), C = [h];
3448
3448
  function E(R, j) {
3449
3449
  const V = B(R);
3450
- return w.value.filter(($) => $.visible !== !1).map(($, A) => C[$.type]($, V, j, A));
3450
+ return S.value.filter(($) => $.visible !== !1).map(($, A) => C[$.type]($, V, j, A));
3451
3451
  }
3452
- function S() {
3452
+ function x() {
3453
3453
  return f("div", {
3454
3454
  ref: o,
3455
3455
  class: "fv-grid-content-left-fixed"
3456
3456
  }, [f("div", {
3457
3457
  class: "fv-grid-data",
3458
- style: x.value
3458
+ style: w.value
3459
3459
  }, [E(b.value.leftColumns.filter((R) => R.visible), "left")])]);
3460
3460
  }
3461
- function I() {
3461
+ function T() {
3462
3462
  return f("div", {
3463
3463
  ref: n,
3464
3464
  class: "fv-grid-content-primary"
@@ -3467,21 +3467,21 @@ function Jl(e, t, n, o, a, i, l, s, c, r, u, d, v, p, m, g, w) {
3467
3467
  style: F.value
3468
3468
  }, [E(b.value.primaryColumns.filter((R) => R.visible), "primary")])]);
3469
3469
  }
3470
- function P() {
3470
+ function k() {
3471
3471
  return f("div", {
3472
3472
  ref: a,
3473
3473
  class: "fv-grid-content-right-fixed"
3474
3474
  }, [f("div", {
3475
3475
  class: "fv-grid-data",
3476
- style: k.value
3476
+ style: M.value
3477
3477
  }, [E(b.value.rightColumns.filter((R) => R.visible), "right")])]);
3478
3478
  }
3479
- function M() {
3479
+ function P() {
3480
3480
  const R = [];
3481
- return O.value && R.push(S()), R.push(I()), T.value && R.push(P()), R;
3481
+ return O.value && R.push(x()), R.push(T()), I.value && R.push(k()), R;
3482
3482
  }
3483
3483
  return {
3484
- renderDataArea: M
3484
+ renderDataArea: P
3485
3485
  };
3486
3486
  }
3487
3487
  const Ql = /* @__PURE__ */ he({
@@ -3492,19 +3492,19 @@ const Ql = /* @__PURE__ */ he({
3492
3492
  var Sn, xn;
3493
3493
  const o = ((Sn = e.rowOption) == null ? void 0 : Sn.height) || 28, a = y(20), i = y(e.columns), l = qn(e), {
3494
3494
  idField: s
3495
- } = l, c = y(), r = y(), u = y(), d = y(), v = y(), p = y([]), m = y(!1), g = y(((xn = e.rowOption) == null ? void 0 : xn.wrapContent) || !1), w = _n(e, l), B = Wn(e, t), b = Un(e), {
3495
+ } = l, c = y(), r = y(), u = y(), d = y(), v = y(), p = y([]), m = y(!1), g = y(((xn = e.rowOption) == null ? void 0 : xn.wrapContent) || !1), S = _n(e, l), B = Wn(e, t), b = Un(e), {
3496
3496
  collapseField: O
3497
3497
  } = b, {
3498
- showLoading: T,
3498
+ showLoading: I,
3499
3499
  renderLoading: F
3500
- } = Da(e, c), x = Gn(e, /* @__PURE__ */ new Map(), B, b, l), {
3501
- dataView: k
3502
- } = x, h = Xn(e, x, l, p, t), {
3500
+ } = Da(e, c), w = Gn(e, /* @__PURE__ */ new Map(), B, b, l), {
3501
+ dataView: M
3502
+ } = w, h = Xn(e, w, l, p, t), {
3503
3503
  showSelection: C,
3504
3504
  selectedValues: E
3505
- } = h, S = Oa(e, p, x, l, h, t), I = D(() => e.disabled), P = D(() => e.virtualized ? Math.min(x.dataView.value.length, a.value) : x.dataView.value.length), M = Yn(e, x), {
3505
+ } = h, x = Oa(e, p, w, l, h, t), T = D(() => e.disabled), k = D(() => e.virtualized ? Math.min(w.dataView.value.length, a.value) : w.dataView.value.length), P = Yn(e, w), {
3506
3506
  shouldRenderPagination: R
3507
- } = M, {
3507
+ } = P, {
3508
3508
  containerStyleObject: j
3509
3509
  } = Ra(e), V = ja(e), {
3510
3510
  applyCommands: $
@@ -3520,12 +3520,12 @@ const Ql = /* @__PURE__ */ he({
3520
3520
  columnContext: le,
3521
3521
  updateColumnRenderContext: Z
3522
3522
  } = H;
3523
- ae(x, K);
3524
- const de = Va(e, le), be = Qn(e, t, h, l), re = Zn(e, t, l, be, p), J = Kn(e), ue = eo(e, re, J), L = to(e, x, re, b, l, J, ue), q = no(e, i, x, P, 0, L), {
3523
+ ae(w, K);
3524
+ const de = Va(e, le), be = Qn(e, t, h, l), re = Zn(e, t, l, be, p), J = Kn(e), ue = eo(e, re, J), L = to(e, w, re, b, l, J, ue), q = no(e, i, w, k, 0, L), {
3525
3525
  getVisualData: _
3526
3526
  } = q, X = Aa(e, le), ne = oo(e, h), {
3527
3527
  sidebarWidth: se
3528
- } = ne, fe = ao(e, x, p, le, q, P, 0, se), {
3528
+ } = ne, fe = ao(e, w, p, le, q, k, 0, se), {
3529
3529
  onWheel: ke,
3530
3530
  dataGridWidth: oe,
3531
3531
  viewPortHeight: xe,
@@ -3534,7 +3534,7 @@ const Ql = /* @__PURE__ */ he({
3534
3534
  updateVisibleRowsOnLatestVisibleScope: Ge
3535
3535
  } = fe, it = Na(e, le, r, $e, de), {
3536
3536
  calculateColumnsSize: Xe
3537
- } = it, Je = Ha(), gt = za(r, v, x, Je, fe), U = qa(e, t, H, x, de, w, fe), ce = D(() => {
3537
+ } = it, Je = Ha(), gt = za(r, v, w, Je, fe), U = qa(e, t, H, w, de, S, fe), ce = D(() => {
3538
3538
  const Q = {
3539
3539
  "fv-grid": !0,
3540
3540
  "fv-grid-bordered": e.showBorder,
@@ -3548,11 +3548,11 @@ const Ql = /* @__PURE__ */ he({
3548
3548
  "fv-grid-wrap-content": g.value
3549
3549
  })), {
3550
3550
  renderDataArea: Ie
3551
- } = Jl(e, t, u, d, v, X, H, x, re, b, be, h, S, fe, q, J, p), {
3551
+ } = Jl(e, t, u, d, v, X, H, w, re, b, be, h, x, fe, q, J, p), {
3552
3552
  renderGridHeader: Qe,
3553
3553
  renderGridColumnResizeOverlay: wt,
3554
3554
  shouldShowHeader: Wt
3555
- } = _a(e, t, r, d, v, H, x, U, gt, B, Je, it, de, h, ne, K, fe, $e, p), {
3555
+ } = _a(e, t, r, d, v, H, w, U, gt, B, Je, it, de, h, ne, K, fe, $e, p), {
3556
3556
  renderDataGridSidebar: Ut
3557
3557
  } = Wa(e, be, h, ne, fe), {
3558
3558
  renderDisableMask: Gt
@@ -3569,18 +3569,18 @@ const Ql = /* @__PURE__ */ he({
3569
3569
  }
3570
3570
  }
3571
3571
  Ce(() => {
3572
- r.value && (a.value = Math.max(Math.ceil(r.value.clientHeight / o), a.value), p.value = _(0, P.value + 0 - 1), Pa(r.value, Jt), Xe(), ge(() => {
3572
+ r.value && (a.value = Math.max(Math.ceil(r.value.clientHeight / o), a.value), p.value = _(0, k.value + 0 - 1), Pa(r.value, Jt), Xe(), ge(() => {
3573
3573
  r.value && (oe.value = r.value.clientWidth), u.value && ($e.value = u.value.clientWidth, xe.value = u.value.clientHeight);
3574
- })), T.value && F();
3574
+ })), I.value && F();
3575
3575
  }), We(() => {
3576
3576
  }), te($e, () => {
3577
3577
  r.value && Xe();
3578
3578
  });
3579
3579
  function Qt(Q) {
3580
- x.collapseTo(Q), x.reOrderVisibleIndex(), Ne();
3580
+ w.collapseTo(Q), w.reOrderVisibleIndex(), Ne();
3581
3581
  }
3582
3582
  function kt(Q) {
3583
- x.expandTo(Q), x.reOrderVisibleIndex(), Ne();
3583
+ w.expandTo(Q), w.reOrderVisibleIndex(), Ne();
3584
3584
  }
3585
3585
  function St() {
3586
3586
  const Q = h.getSelectionRow();
@@ -3588,19 +3588,19 @@ const Ql = /* @__PURE__ */ he({
3588
3588
  }
3589
3589
  function Zt() {
3590
3590
  const Q = St();
3591
- x.insertNewDataItem(Q), p.value = _(0, P.value + 0 - 1);
3591
+ w.insertNewDataItem(Q), p.value = _(0, k.value + 0 - 1);
3592
3592
  }
3593
3593
  function Kt() {
3594
3594
  const Q = St();
3595
- x.insertNewChildDataItem(Q), p.value = _(0, P.value + 0 - 1);
3595
+ w.insertNewChildDataItem(Q), p.value = _(0, k.value + 0 - 1);
3596
3596
  }
3597
3597
  function en(Q, ie) {
3598
3598
  const Fe = p.value.find((Ae) => Ae.raw[s.value] === ie), De = Fe ? Fe.dataIndex - 1 : -1;
3599
- x.insertNewChildDataItems(Q, De);
3599
+ w.insertNewChildDataItems(Q, De);
3600
3600
  }
3601
3601
  function tn() {
3602
- const Q = St(), ie = S.getNextSelectableHierarchyItemId(Q);
3603
- x.removeHierarchyDataItem(Q), p.value = _(0, P.value + 0 - 1), ie && h.selectItemById(ie);
3602
+ const Q = St(), ie = x.getNextSelectableHierarchyItemId(Q);
3603
+ w.removeHierarchyDataItem(Q), p.value = _(0, k.value + 0 - 1), ie && h.selectItemById(ie);
3604
3604
  }
3605
3605
  function Mt(Q) {
3606
3606
  re.onEditingRow(Q);
@@ -3612,13 +3612,13 @@ const Ql = /* @__PURE__ */ he({
3612
3612
  re.cancelEditingRow(Q);
3613
3613
  }
3614
3614
  function G(Q) {
3615
- Q && (i.value = Q, $(i), Z(i.value), ae(x, K), Xe());
3615
+ Q && (i.value = Q, $(i), Z(i.value), ae(w, K), Xe());
3616
3616
  }
3617
3617
  te(() => e.columns, (Q) => {
3618
3618
  G(Q);
3619
3619
  });
3620
3620
  function Y(Q, ie) {
3621
- Q && (x.load(Q), x.reOrderVisibleIndex(), ie != null && ie.keepScrollPosition ? fe.scrollTo(fe.offsetY.value) : Ne());
3621
+ Q && (w.load(Q), w.reOrderVisibleIndex(), ie != null && ie.keepScrollPosition ? fe.scrollTo(fe.offsetY.value) : Ne());
3622
3622
  }
3623
3623
  function ee(Q) {
3624
3624
  h.selectItemById(Q);
@@ -3652,7 +3652,7 @@ const Ql = /* @__PURE__ */ he({
3652
3652
  return h.currentSelectedDataId.value;
3653
3653
  }
3654
3654
  function xt(Q, ie, Fe) {
3655
- const De = k.value.find((Ae) => Ae[s.value] === Q);
3655
+ const De = M.value.find((Ae) => Ae[s.value] === Q);
3656
3656
  if (De) {
3657
3657
  if (Object.keys(De).forEach((Pe) => {
3658
3658
  Object.prototype.hasOwnProperty.call(ie, Pe) && (De[Pe] = ie[Pe]);
@@ -3678,15 +3678,15 @@ const Ql = /* @__PURE__ */ he({
3678
3678
  } = Fe;
3679
3679
  Pe && !Ze(ie[Pe]) && (Ae.collapse = ie[Pe]), st && !Ze(ie[st]) && (Ae.checked = ie[st]), lt && !Ze(ie[lt]) && (Ae.disabled = ie[lt]), rt && !Ze(ie[rt]) && (Ae.visible = ie[rt]);
3680
3680
  }
3681
- p.value = [...p.value.slice(0, Tn), Ae, ...p.value.slice(Tn + 1)], x.updateSummary();
3681
+ p.value = [...p.value.slice(0, Tn), Ae, ...p.value.slice(Tn + 1)], w.updateSummary();
3682
3682
  }
3683
3683
  }
3684
3684
  }
3685
3685
  function Tt(Q) {
3686
- return Object.prototype.hasOwnProperty.call(Q, "raw") ? x.hasRealChildren(Q.raw) : x.hasRealChildren(Q);
3686
+ return Object.prototype.hasOwnProperty.call(Q, "raw") ? w.hasRealChildren(Q.raw) : w.hasRealChildren(Q);
3687
3687
  }
3688
3688
  function It(Q) {
3689
- const ie = x.dataView.value.find((Fe) => Fe[s.value] === Q);
3689
+ const ie = w.dataView.value.find((Fe) => Fe[s.value] === Q);
3690
3690
  return ie ? ie[O.value] : "";
3691
3691
  }
3692
3692
  function la() {
@@ -3703,7 +3703,7 @@ const Ql = /* @__PURE__ */ he({
3703
3703
  Fe && be.selectRow(Fe);
3704
3704
  }
3705
3705
  function ca() {
3706
- h.keepSelectingOnPaging.value || Le(), x.updateVisibleDataSummary(p.value);
3706
+ h.keepSelectingOnPaging.value || Le(), w.updateVisibleDataSummary(p.value);
3707
3707
  }
3708
3708
  t.expose({
3709
3709
  activeRowById: ve,
@@ -3741,7 +3741,7 @@ const Ql = /* @__PURE__ */ he({
3741
3741
  ...j.value,
3742
3742
  borderRadius: "5px"
3743
3743
  }));
3744
- io(e, t, x, fe, M, h);
3744
+ io(e, t, w, fe, P, h);
3745
3745
  const fa = D(() => ({
3746
3746
  "d-flex": !0,
3747
3747
  "justify-content-between": R.value && C.value,
@@ -3752,7 +3752,7 @@ const Ql = /* @__PURE__ */ he({
3752
3752
  "align-items-center": !0
3753
3753
  })), {
3754
3754
  renderDataGridSummary: ma
3755
- } = Ja(e, x, H);
3755
+ } = Ja(e, w, H);
3756
3756
  return () => f("div", {
3757
3757
  ref: c,
3758
3758
  class: ce.value,
@@ -3768,7 +3768,7 @@ const Ql = /* @__PURE__ */ he({
3768
3768
  class: fa.value
3769
3769
  }, [C.value && f("div", {
3770
3770
  class: pa.value
3771
- }, [f("div", null, ["已选:" + E.value.length, Se(" 条")])])]), wt(), I.value && Gt()]);
3771
+ }, [f("div", null, ["已选:" + E.value.length, Se(" 条")])])]), wt(), T.value && Gt()]);
3772
3772
  }
3773
3773
  });
3774
3774
  Nn(Ql);
@@ -4335,8 +4335,8 @@ class Oo {
4335
4335
  return !a;
4336
4336
  }
4337
4337
  getComponentContext(t) {
4338
- var g, w, B, b;
4339
- const n = t.schema, o = n.appearance && n.appearance.class || "", a = o.split(" ") || [], i = n.contents || [], l = i.length ? i[0] : null, s = l && l.appearance ? l.appearance.class : "", c = s ? s.split(" ") : [], r = (g = l == null ? void 0 : l.contents) != null && g.length ? l == null ? void 0 : l.contents[0] : null, u = r && r.appearance ? r.appearance.class : "", d = u ? u.split(" ") : [], v = n.type === "component" ? (B = (w = t.parent) == null ? void 0 : w.parent) == null ? void 0 : B.schema : (b = t.parent) == null ? void 0 : b.schema, p = v && v.appearance && v.appearance.class || "", m = p ? p.split(" ") : [];
4338
+ var g, S, B, b;
4339
+ const n = t.schema, o = n.appearance && n.appearance.class || "", a = o.split(" ") || [], i = n.contents || [], l = i.length ? i[0] : null, s = l && l.appearance ? l.appearance.class : "", c = s ? s.split(" ") : [], r = (g = l == null ? void 0 : l.contents) != null && g.length ? l == null ? void 0 : l.contents[0] : null, u = r && r.appearance ? r.appearance.class : "", d = u ? u.split(" ") : [], v = n.type === "component" ? (B = (S = t.parent) == null ? void 0 : S.parent) == null ? void 0 : B.schema : (b = t.parent) == null ? void 0 : b.schema, p = v && v.appearance && v.appearance.class || "", m = p ? p.split(" ") : [];
4340
4340
  return {
4341
4341
  componentClass: o,
4342
4342
  componentClassList: a,
@@ -4885,14 +4885,14 @@ class Bt {
4885
4885
  const { expressionId: i, expressionInfo: l } = n, { targetId: s, targetType: c, expressionType: r, value: u, message: d } = l, v = this.formSchemaUtils.getModule();
4886
4886
  v.expressions = v.expressions || [];
4887
4887
  const { expressions: p } = v;
4888
- let m = p.find((w) => w.target === s);
4888
+ let m = p.find((S) => S.target === s);
4889
4889
  m || (m = { target: s, rules: [], targetType: c }, p.push(m));
4890
- const g = m.rules.find((w) => w.type === r);
4890
+ const g = m.rules.find((S) => S.type === r);
4891
4891
  if (g)
4892
4892
  g.value = u, g.message = d;
4893
4893
  else {
4894
- const w = { id: i, type: r, value: u, message: d };
4895
- m.rules.push(w);
4894
+ const S = { id: i, type: r, value: u, message: d };
4895
+ m.rules.push(S);
4896
4896
  }
4897
4897
  delete n.expressionInfo;
4898
4898
  }
@@ -5198,8 +5198,8 @@ function lr(e, t) {
5198
5198
  return 0;
5199
5199
  let m = 0;
5200
5200
  for (let g = 0; g < p.length; g++) {
5201
- const w = p.charCodeAt(g);
5202
- w >= 0 && w <= 128 ? m++ : m = m + 2;
5201
+ const S = p.charCodeAt(g);
5202
+ S >= 0 && S <= 128 ? m++ : m = m + 2;
5203
5203
  }
5204
5204
  return m;
5205
5205
  }
@@ -5207,11 +5207,11 @@ function lr(e, t) {
5207
5207
  if (p !== "" && p !== void 0 && p !== null) {
5208
5208
  p = "" + p;
5209
5209
  const g = p.length;
5210
- let w = "", B = 0;
5210
+ let S = "", B = 0;
5211
5211
  for (let b = 0; b < g; b++) {
5212
5212
  const O = p.charAt(b);
5213
- if (B++, encodeURI(O).length > 4 && B++, w = w.concat(O), B >= m)
5214
- return w = w.concat("..."), w;
5213
+ if (B++, encodeURI(O).length > 4 && B++, S = S.concat(O), B >= m)
5214
+ return S = S.concat("..."), S;
5215
5215
  }
5216
5216
  if (B < m)
5217
5217
  return p;
@@ -5257,8 +5257,8 @@ function rr(e, t, n, o, a) {
5257
5257
  const i = y(e.exceptionInfo), l = D(() => {
5258
5258
  const m = t.value === "question" ? "warning" : t.value, g = {
5259
5259
  "f-icon": !0
5260
- }, w = `f-icon-${m}`;
5261
- return g[w] = !0, g;
5260
+ }, S = `f-icon-${m}`;
5261
+ return g[S] = !0, g;
5262
5262
  }), s = D(() => n.value || i.value && i.value.message), c = D(() => o.value), r = D(() => !!o.value), u = D(() => !!i.value);
5263
5263
  function d() {
5264
5264
  return u.value ? lr(i, a) : r.value ? sr(c) : () => null;
@@ -5308,7 +5308,7 @@ function cr(e, t, n, o) {
5308
5308
  function ur(e, t, n, o, a) {
5309
5309
  const i = y(e.type), l = y(e.buttons), s = y(e.exceptionInfo), c = y(a.ok || e.okButtonText), r = y(a.cancel || e.cancelButtonText), u = y(e.showCancelButton), d = y(e.showOkButton), v = D(() => !!(l.value && l.value.length)), p = D(() => s.value && s.value.message && s.value.detail), m = D(() => !(l.value && l.value.length) && (d.value || u.value)), g = cr(e, n, o, a);
5310
5310
  c.value === "关闭" ? c.value = a.close : c.value === "知道了" && (c.value = a.exception.roger);
5311
- function w(b) {
5311
+ function S(b) {
5312
5312
  i.value === "question" && t.emit("reject"), t.emit("close");
5313
5313
  }
5314
5314
  function B(b) {
@@ -5319,7 +5319,7 @@ function ur(e, t, n, o, a) {
5319
5319
  }, [p.value && g(), m.value && u.value && f("button", {
5320
5320
  type: "button",
5321
5321
  class: "btn btn-secondary btn-lg",
5322
- onClick: w
5322
+ onClick: S
5323
5323
  }, [r.value]), m.value && d.value && f("button", {
5324
5324
  type: "button",
5325
5325
  class: "btn btn-primary btn-lg",
@@ -5393,7 +5393,7 @@ const Et = /* @__PURE__ */ he({
5393
5393
  return rr(e, o, a, i, n);
5394
5394
  }
5395
5395
  }
5396
- const g = m(), w = ur(e, t, c, u, n);
5396
+ const g = m(), S = ur(e, t, c, u, n);
5397
5397
  return () => f("div", {
5398
5398
  class: "farris-messager"
5399
5399
  }, [!e.exceptionInfo && f("div", {
@@ -5402,7 +5402,7 @@ const Et = /* @__PURE__ */ he({
5402
5402
  }, null), f("section", {
5403
5403
  class: l.value,
5404
5404
  style: s.value
5405
- }, [g()]), w(), p()]);
5405
+ }, [g()]), S(), p()]);
5406
5406
  }
5407
5407
  }), fr = "https://json-schema.org/draft/2020-12/schema", pr = "https://farris-design.gitee.io/modal.schema.json", mr = "modal", vr = "弹窗组件", gr = "object", hr = {
5408
5408
  id: {
@@ -5707,7 +5707,7 @@ class ut {
5707
5707
  }
5708
5708
  }
5709
5709
  function Br(e, t) {
5710
- const n = y(), o = y(), a = y(), i = y(), l = y(), s = y(), c = y(), r = y(), u = y(), d = y(), v = y(), p = y(e.resizeable), m = y(), g = y(e.draggable), w = y(!1);
5710
+ const n = y(), o = y(), a = y(), i = y(), l = y(), s = y(), c = y(), r = y(), u = y(), d = y(), v = y(), p = y(e.resizeable), m = y(), g = y(e.draggable), S = y(!1);
5711
5711
  function B() {
5712
5712
  const $ = o.value || document.body, A = window.getComputedStyle($);
5713
5713
  if (!A || !n.value)
@@ -5736,7 +5736,7 @@ function Br(e, t) {
5736
5736
  r.value && ((r.value.n || r.value.s) && (($ = s.value) != null && $.height) && (K.style.height = s.value.height + "px"), (r.value.w || r.value.e) && ((A = s.value) != null && A.width) && (K.style.width = s.value.width + "px"), c.value && ((z = c.value) != null && z.x && (K.style.left = c.value.x + "px"), (H = c.value) != null && H.y && (K.style.top = c.value.y + "px")));
5737
5737
  }
5738
5738
  }
5739
- function T() {
5739
+ function I() {
5740
5740
  const $ = e.minHeight ? e.minHeight : 1, A = e.minWidth ? e.minWidth : 1;
5741
5741
  s.value && c.value && r.value && i.value && (s.value.height < $ && (s.value.height = $, r.value.n && l.value && (c.value.y = l.value.y + (i.value.height - $))), s.value.width < A && (s.value.width = A, r.value.w && l.value && (c.value.x = l.value.x + (i.value.width - A))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, l.value && r.value.n && (c.value.y = l.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, r.value.w && l.value && (c.value.x = l.value.x + (i.value.width - e.maxWidth))));
5742
5742
  }
@@ -5749,18 +5749,18 @@ function Br(e, t) {
5749
5749
  }
5750
5750
  }
5751
5751
  }
5752
- function x($) {
5752
+ function w($) {
5753
5753
  if (!a.value || !i.value || !l.value || !r.value)
5754
5754
  return;
5755
5755
  $.subtract(a.value);
5756
5756
  const A = $.x, z = $.y;
5757
- r.value.n ? (c.value.y = l.value.y + z, s.value.height = i.value.height - z) : r.value.s && (s.value.height = i.value.height + z), r.value.e ? s.value.width = i.value.width + A : r.value.w && (s.value.width = i.value.width - A, c.value.x = l.value.x + A), F(), T(), O();
5757
+ r.value.n ? (c.value.y = l.value.y + z, s.value.height = i.value.height - z) : r.value.s && (s.value.height = i.value.height + z), r.value.e ? s.value.width = i.value.width + A : r.value.w && (s.value.width = i.value.width - A, c.value.x = l.value.x + A), F(), I(), O();
5758
5758
  }
5759
- function k($) {
5759
+ function M($) {
5760
5760
  if (!u.value)
5761
5761
  return;
5762
5762
  const A = we.fromEvent($);
5763
- A && x(A);
5763
+ A && w(A);
5764
5764
  }
5765
5765
  function h() {
5766
5766
  if (n.value) {
@@ -5788,50 +5788,50 @@ function Br(e, t) {
5788
5788
  const A = h();
5789
5789
  v.value = A;
5790
5790
  }
5791
- a.value = void 0, i.value = null, l.value = null, s.value = null, c.value = null, r.value = null, u.value = null, document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", C);
5791
+ a.value = void 0, i.value = null, l.value = null, s.value = null, c.value = null, r.value = null, u.value = null, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", C);
5792
5792
  }
5793
5793
  function E() {
5794
- document.addEventListener("mousemove", k), document.addEventListener("mouseup", C);
5794
+ document.addEventListener("mousemove", M), document.addEventListener("mouseup", C);
5795
5795
  }
5796
- function S($) {
5796
+ function x($) {
5797
5797
  $ instanceof MouseEvent && $.button === 2 || g.value && (document.body.click(), $.stopPropagation(), $.preventDefault(), a.value = we.fromEvent($), u.value = $.target, b($), E());
5798
5798
  }
5799
- function I($) {
5799
+ function T($) {
5800
5800
  return n.value = $, p.value && f(Be, null, [f("div", {
5801
5801
  class: "fv-resizable-handle fv-resizable-n",
5802
5802
  type: "n",
5803
- onMousedown: (A) => S(A)
5803
+ onMousedown: (A) => x(A)
5804
5804
  }, null), f("div", {
5805
5805
  class: "fv-resizable-handle fv-resizable-e",
5806
5806
  type: "e",
5807
- onMousedown: (A) => S(A)
5807
+ onMousedown: (A) => x(A)
5808
5808
  }, null), f("div", {
5809
5809
  class: "fv-resizable-handle fv-resizable-s",
5810
5810
  type: "s",
5811
- onMousedown: (A) => S(A)
5811
+ onMousedown: (A) => x(A)
5812
5812
  }, null), f("div", {
5813
5813
  class: "fv-resizable-handle fv-resizable-w",
5814
5814
  type: "w",
5815
- onMousedown: (A) => S(A)
5815
+ onMousedown: (A) => x(A)
5816
5816
  }, null), f("div", {
5817
5817
  class: "fv-resizable-handle fv-resizable-ne",
5818
5818
  type: "ne",
5819
- onMousedown: (A) => S(A)
5819
+ onMousedown: (A) => x(A)
5820
5820
  }, null), f("div", {
5821
5821
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
5822
5822
  type: "se",
5823
- onMousedown: (A) => S(A)
5823
+ onMousedown: (A) => x(A)
5824
5824
  }, null), f("div", {
5825
5825
  class: "fv-resizable-handle fv-resizable-sw",
5826
5826
  type: "sw",
5827
- onMousedown: (A) => S(A)
5827
+ onMousedown: (A) => x(A)
5828
5828
  }, null), f("div", {
5829
5829
  class: "fv-resizable-handle fv-resizable-nw",
5830
5830
  type: "nw",
5831
- onMousedown: (A) => S(A)
5831
+ onMousedown: (A) => x(A)
5832
5832
  }, null)]);
5833
5833
  }
5834
- function P($ = !0) {
5834
+ function k($ = !0) {
5835
5835
  document.body.click();
5836
5836
  const A = o.value || document.body, z = ut.getCurrent(A), H = n.value;
5837
5837
  $ && H && (m.value = h(), m.value.transform = H.style.transform), z && H && (s.value = z, s.value.height -= 14, s.value.width -= 14, H.style.height = s.value.height + "px", H.style.width = s.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", v.value = {
@@ -5840,9 +5840,9 @@ function Br(e, t) {
5840
5840
  x: 0,
5841
5841
  y: 0
5842
5842
  }
5843
- }, g.value = !1, w.value = !0);
5843
+ }, g.value = !1, S.value = !0);
5844
5844
  }
5845
- function M() {
5845
+ function P() {
5846
5846
  var $, A;
5847
5847
  if (document.body.click(), m.value) {
5848
5848
  const z = {
@@ -5857,7 +5857,7 @@ function Br(e, t) {
5857
5857
  K.style.height = z.height + "px", K.style.width = z.width + "px", K.style.left = `${H.x}px`, K.style.top = `${H.y}px`, K.style.transform = "", v.value = {
5858
5858
  size: z,
5859
5859
  position: H
5860
- }, g.value = e.draggable, w.value = !1;
5860
+ }, g.value = e.draggable, S.value = !1;
5861
5861
  }
5862
5862
  }
5863
5863
  function R() {
@@ -5874,7 +5874,7 @@ function Br(e, t) {
5874
5874
  }
5875
5875
  function j() {
5876
5876
  const $ = () => {
5877
- w.value ? P(!1) : R(), document.body.click();
5877
+ S.value ? k(!1) : R(), document.body.click();
5878
5878
  };
5879
5879
  return window.addEventListener("resize", $), () => {
5880
5880
  window.removeEventListener("resize", $);
@@ -5882,81 +5882,81 @@ function Br(e, t) {
5882
5882
  }
5883
5883
  const V = j();
5884
5884
  return {
5885
- renderResizeBar: I,
5885
+ renderResizeBar: T,
5886
5886
  boundingElement: o,
5887
5887
  resizedEventParam: v,
5888
- maximize: P,
5889
- restore: M,
5888
+ maximize: k,
5889
+ restore: P,
5890
5890
  allowDrag: g,
5891
- isMaximized: w,
5891
+ isMaximized: S,
5892
5892
  unWindowResizeHandle: V,
5893
5893
  moveToCenter: R
5894
5894
  };
5895
5895
  }
5896
5896
  function kr(e, t, n) {
5897
5897
  const o = y(), a = y(e.draggable), i = y(e.lockAxis), l = y(), s = y(), c = y(!1), r = y(new we(0, 0)), u = y(new we(0, 0)), d = y(new we(0, 0)), v = y(new we(0, 0));
5898
- te(() => n.value, (k) => {
5899
- l.value.style.cursor = k ? "move" : "default";
5898
+ te(() => n.value, (M) => {
5899
+ l.value.style.cursor = M ? "move" : "default";
5900
5900
  });
5901
- function p(k, h) {
5901
+ function p(M, h) {
5902
5902
  if (h.tagName === "BUTTON")
5903
5903
  return !1;
5904
- if (h === k)
5904
+ if (h === M)
5905
5905
  return !0;
5906
5906
  for (const C in h.children)
5907
- if (Object.prototype.hasOwnProperty.call(h.children, C) && p(k, h.children[C]))
5907
+ if (Object.prototype.hasOwnProperty.call(h.children, C) && p(M, h.children[C]))
5908
5908
  return !0;
5909
5909
  return !1;
5910
5910
  }
5911
5911
  function m() {
5912
- var E, S;
5913
- let k = d.value.x + u.value.x, h = d.value.y + u.value.y;
5914
- i.value === "x" ? (k = ((E = r.value) == null ? void 0 : E.x) || 0, d.value.x = 0) : i.value === "y" && (h = ((S = r.value) == null ? void 0 : S.y) || 0, d.value.y = 0);
5915
- const C = `translate3d(${Math.round(k)}px, ${Math.round(h)}px, 0px)`;
5916
- o.value && (o.value.style.transform = C), v.value.x = k, v.value.y = h;
5912
+ var E, x;
5913
+ let M = d.value.x + u.value.x, h = d.value.y + u.value.y;
5914
+ i.value === "x" ? (M = ((E = r.value) == null ? void 0 : E.x) || 0, d.value.x = 0) : i.value === "y" && (h = ((x = r.value) == null ? void 0 : x.y) || 0, d.value.y = 0);
5915
+ const C = `translate3d(${Math.round(M)}px, ${Math.round(h)}px, 0px)`;
5916
+ o.value && (o.value.style.transform = C), v.value.x = M, v.value.y = h;
5917
5917
  }
5918
5918
  function g() {
5919
5919
  if (!s.value || !o.value)
5920
5920
  return null;
5921
- const k = s.value.getBoundingClientRect(), h = o.value.getBoundingClientRect(), C = {
5922
- top: k.top < h.top,
5923
- right: k.right > h.right,
5924
- bottom: k.bottom > h.bottom,
5925
- left: k.left < h.left
5921
+ const M = s.value.getBoundingClientRect(), h = o.value.getBoundingClientRect(), C = {
5922
+ top: M.top < h.top,
5923
+ right: M.right > h.right,
5924
+ bottom: M.bottom > h.bottom,
5925
+ left: M.left < h.left
5926
5926
  };
5927
- return C.top || (d.value.y -= h.top - k.top), C.bottom || (d.value.y -= h.bottom - k.bottom), C.right || (d.value.x -= h.right - k.right), C.left || (d.value.x -= h.left - k.left), m(), C;
5927
+ return C.top || (d.value.y -= h.top - M.top), C.bottom || (d.value.y -= h.bottom - M.bottom), C.right || (d.value.x -= h.right - M.right), C.left || (d.value.x -= h.left - M.left), m(), C;
5928
5928
  }
5929
- function w(k) {
5930
- k && (r.value && k.subtract(r.value), d.value.set(k), m(), g());
5929
+ function S(M) {
5930
+ M && (r.value && M.subtract(r.value), d.value.set(M), m(), g());
5931
5931
  }
5932
- function B(k) {
5933
- c.value && a.value && (k.stopPropagation(), k.preventDefault(), w(we.fromEvent(k, l.value)));
5932
+ function B(M) {
5933
+ c.value && a.value && (M.stopPropagation(), M.preventDefault(), S(we.fromEvent(M, l.value)));
5934
5934
  }
5935
5935
  function b() {
5936
- var k;
5937
- c.value && (c.value = !1, u.value.add(d.value), d.value.reset(), (k = o.value) == null || k.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", B), document.removeEventListener("mouseup", b));
5936
+ var M;
5937
+ c.value && (c.value = !1, u.value.add(d.value), d.value.reset(), (M = o.value) == null || M.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", B), document.removeEventListener("mouseup", b));
5938
5938
  }
5939
5939
  function O() {
5940
5940
  !c.value && l.value && (c.value = !0, l.value.classList.add("ng-dragging"), document.addEventListener("mousemove", B), document.addEventListener("mouseup", b));
5941
5941
  }
5942
- function T() {
5942
+ function I() {
5943
5943
  if (o.value) {
5944
- const k = we.getTransformInfo(o.value);
5945
- u.value.set(k);
5944
+ const M = we.getTransformInfo(o.value);
5945
+ u.value.set(M);
5946
5946
  return;
5947
5947
  }
5948
5948
  u.value.reset();
5949
5949
  }
5950
- function F(k) {
5951
- if (!n.value || k instanceof MouseEvent && k.button === 2)
5950
+ function F(M) {
5951
+ if (!n.value || M instanceof MouseEvent && M.button === 2)
5952
5952
  return;
5953
- const h = k.target || k.srcElement;
5954
- l.value !== void 0 && h && !p(h, l.value) || a.value !== !1 && (document.body.click(), k.stopPropagation(), k.preventDefault(), r.value = we.fromEvent(k, o.value), T(), O());
5953
+ const h = M.target || M.srcElement;
5954
+ l.value !== void 0 && h && !p(h, l.value) || a.value !== !1 && (document.body.click(), M.stopPropagation(), M.preventDefault(), r.value = we.fromEvent(M, o.value), I(), O());
5955
5955
  }
5956
- function x(k, h, C) {
5956
+ function w(M, h, C) {
5957
5957
  if (a.value && h) {
5958
- if (k)
5959
- l.value = k;
5958
+ if (M)
5959
+ l.value = M;
5960
5960
  else if (e.dragHandle) {
5961
5961
  if (e.dragHandle instanceof HTMLElement)
5962
5962
  l.value = e.dragHandle;
@@ -5969,8 +5969,8 @@ function kr(e, t, n) {
5969
5969
  }
5970
5970
  }
5971
5971
  return {
5972
- registerDraggle: x,
5973
- resetTranslate: T
5972
+ registerDraggle: w,
5973
+ resetTranslate: I
5974
5974
  };
5975
5975
  }
5976
5976
  function jo(e, t) {
@@ -6006,12 +6006,12 @@ const ft = /* @__PURE__ */ he({
6006
6006
  props: Ro,
6007
6007
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
6008
6008
  setup(e, t) {
6009
- const n = y(e.width || 300), o = y(e.height || 200), a = y(e.modelValue), i = y(""), l = y(e.class), s = y(e.fitContent), c = y(e.showHeader), r = y(""), u = y(e.showCloseButton), d = y(e.showMaxButton), v = y(!1), p = y(e.dialogType), m = y(e.src), g = y(""), w = y(e.showButtons), B = y(e.title), b = y(e.containment || null), O = y(), {
6010
- t: T
6009
+ const n = y(e.width || 300), o = y(e.height || 200), a = y(e.modelValue), i = y(""), l = y(e.class), s = y(e.fitContent), c = y(e.showHeader), r = y(""), u = y(e.showCloseButton), d = y(e.showMaxButton), v = y(!1), p = y(e.dialogType), m = y(e.src), g = y(""), S = y(e.showButtons), B = y(e.title), b = y(e.containment || null), O = y(), {
6010
+ t: I
6011
6011
  } = Ue();
6012
- B.value === "错误提示" && (B.value = T("messageBox.errorTitle"));
6012
+ B.value === "错误提示" && (B.value = I("messageBox.errorTitle"));
6013
6013
  const F = y(!1);
6014
- function x(U, ce) {
6014
+ function w(U, ce) {
6015
6015
  const Te = ce ? "accept" : "cancel";
6016
6016
  Promise.resolve().then(() => {
6017
6017
  var Ie;
@@ -6022,22 +6022,22 @@ const ft = /* @__PURE__ */ he({
6022
6022
  Ie && (a.value = !1, t.emit("update:modelValue", !1), ce != null && t.emit(ce ? "accept" : "cancel"), t.emit("closed", U));
6023
6023
  });
6024
6024
  }
6025
- const k = [{
6025
+ const M = [{
6026
6026
  name: "cancel",
6027
- text: T("messageBox.cancel") || "取消",
6027
+ text: I("messageBox.cancel") || "取消",
6028
6028
  class: "btn btn-secondary",
6029
6029
  handle: (U) => {
6030
- x(U, !1);
6030
+ w(U, !1);
6031
6031
  }
6032
6032
  }, {
6033
6033
  name: "accept",
6034
- text: T("messageBox.ok") || "确定",
6034
+ text: I("messageBox.ok") || "确定",
6035
6035
  class: "btn btn-primary",
6036
6036
  handle: (U) => {
6037
- x(U, !0);
6037
+ w(U, !0);
6038
6038
  }
6039
- }], h = y(e.buttons && e.buttons.length ? e.buttons : k), C = D(() => !!r.value), E = D(() => !!w.value && !!h.value), S = y(), I = y(), P = y(!1), {
6040
- renderResizeBar: M,
6039
+ }], h = y(e.buttons && e.buttons.length ? e.buttons : M), C = D(() => !!r.value), E = D(() => !!S.value && !!h.value), x = y(), T = y(), k = y(!1), {
6040
+ renderResizeBar: P,
6041
6041
  maximize: R,
6042
6042
  restore: j,
6043
6043
  boundingElement: V,
@@ -6059,18 +6059,18 @@ const ft = /* @__PURE__ */ he({
6059
6059
  U !== ce && (B.value = U);
6060
6060
  }), te(() => e.modelValue, (U, ce) => {
6061
6061
  U !== ce && (a.value = U, a.value && e.draggable && ge(() => {
6062
- I.value && !b.value && (b.value = I.value.parentElement, V.value = b.value, K(S.value, I.value, V.value), H());
6063
- }), U || (b.value && (b.value = null), le())), a.value ? F.value = ae() : (P.value = !1, A.value = e.draggable);
6062
+ T.value && !b.value && (b.value = T.value.parentElement, V.value = b.value, K(x.value, T.value, V.value), H());
6063
+ }), U || (b.value && (b.value = null), le())), a.value ? F.value = ae() : (k.value = !1, A.value = e.draggable);
6064
6064
  }), te(() => e.showHeader, (U, ce) => {
6065
6065
  U !== ce && (c.value = U);
6066
6066
  }), te(() => e.showButtons, (U, ce) => {
6067
- U !== ce && (w.value = U);
6067
+ U !== ce && (S.value = U);
6068
6068
  }), te(() => $.value, (U, ce) => {
6069
6069
  const Te = U || {}, Ie = ce || {};
6070
6070
  JSON.stringify(Te) !== JSON.stringify(Ie) && t.emit("resize", {
6071
6071
  newSize: U,
6072
6072
  oldSize: ce,
6073
- isMaximized: P.value
6073
+ isMaximized: k.value
6074
6074
  });
6075
6075
  });
6076
6076
  const Z = D(() => (a.value && document.body.classList.add("modal-open"), a.value)), de = D(() => {
@@ -6114,7 +6114,7 @@ const ft = /* @__PURE__ */ he({
6114
6114
  }), q = D(() => ({
6115
6115
  "f-icon": !0,
6116
6116
  modal_maximize: !0,
6117
- modalrevert: P.value
6117
+ modalrevert: k.value
6118
6118
  })), _ = D(() => ({
6119
6119
  "modal-body": !0,
6120
6120
  "f-utils-flex-column": p.value === "iframe",
@@ -6132,11 +6132,11 @@ const ft = /* @__PURE__ */ he({
6132
6132
  return Object.assign(U, ce);
6133
6133
  });
6134
6134
  function se(U) {
6135
- if (U == null || U.stopPropagation(), P.value) {
6136
- P.value = !1, j();
6135
+ if (U == null || U.stopPropagation(), k.value) {
6136
+ k.value = !1, j();
6137
6137
  return;
6138
6138
  }
6139
- R(), P.value = !0;
6139
+ R(), k.value = !0;
6140
6140
  }
6141
6141
  async function fe(U, ce) {
6142
6142
  U.handle && await U.handle(ce, U) && t.emit("closed", ce);
@@ -6148,15 +6148,15 @@ const ft = /* @__PURE__ */ he({
6148
6148
  ya(() => {
6149
6149
  F.value = ae();
6150
6150
  }), Ce(() => {
6151
- I.value && !b.value && (b.value = I.value.parentElement, V.value = b.value, K(S.value, I.value, V.value)), Z.value && document.body.classList.add("modal-open"), oe = Mr(e, t), xe = Fr(e, t);
6151
+ T.value && !b.value && (b.value = T.value.parentElement, V.value = b.value, K(x.value, T.value, V.value)), Z.value && document.body.classList.add("modal-open"), oe = Mr(e, t), xe = Fr(e, t);
6152
6152
  }), We(() => {
6153
6153
  z && z(), oe && oe.remove(), xe && xe.remove();
6154
6154
  }), t.expose({
6155
- modalElementRef: I,
6155
+ modalElementRef: T,
6156
6156
  updateModalOptions: ke,
6157
- close: x,
6157
+ close: w,
6158
6158
  maxDialog: se,
6159
- isMaximized: P
6159
+ isMaximized: k
6160
6160
  });
6161
6161
  function $e() {
6162
6162
  return f("ul", null, [v.value && f("li", {
@@ -6171,7 +6171,7 @@ const ft = /* @__PURE__ */ he({
6171
6171
  class: q.value
6172
6172
  }, null)]), u.value && f("li", {
6173
6173
  class: "f-btn-icon f-bare",
6174
- onClick: (U) => x(U, !1),
6174
+ onClick: (U) => w(U, !1),
6175
6175
  style: "pointer-events: auto;"
6176
6176
  }, [f("span", {
6177
6177
  class: "f-icon modal_close"
@@ -6198,7 +6198,7 @@ const ft = /* @__PURE__ */ he({
6198
6198
  }
6199
6199
  function Ge() {
6200
6200
  return f("div", {
6201
- ref: S,
6201
+ ref: x,
6202
6202
  class: "modal-header",
6203
6203
  style: L.value
6204
6204
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : f("div", {
@@ -6219,7 +6219,7 @@ const ft = /* @__PURE__ */ he({
6219
6219
  if (U.stopPropagation(), e.allowClickMaskToClose) {
6220
6220
  if (U.target !== O.value)
6221
6221
  return;
6222
- x(U, !1);
6222
+ w(U, !1);
6223
6223
  }
6224
6224
  }
6225
6225
  function Je() {
@@ -6228,7 +6228,7 @@ const ft = /* @__PURE__ */ he({
6228
6228
  id: i.value,
6229
6229
  class: be.value,
6230
6230
  style: re.value,
6231
- ref: I
6231
+ ref: T
6232
6232
  }, [f("div", {
6233
6233
  class: ue.value
6234
6234
  }, [c.value && Ge(), f("div", {
@@ -6239,7 +6239,7 @@ const ft = /* @__PURE__ */ he({
6239
6239
  width: "100%",
6240
6240
  frameborder: "0",
6241
6241
  src: m.value
6242
- }, null)]), it()]), !s.value && I.value && !P.value && M(I.value)]);
6242
+ }, null)]), it()]), !s.value && T.value && !k.value && P(T.value)]);
6243
6243
  }
6244
6244
  function gt(U) {
6245
6245
  return U || "body";
@@ -6279,7 +6279,7 @@ function Pr(e) {
6279
6279
  }), p = e.rejectCallback || (() => {
6280
6280
  }), m = e.closedCallback || ((O) => {
6281
6281
  }), g = e.resizeHandle || ((O) => {
6282
- }), w = e.stopMoveHandle || ((O) => {
6282
+ }), S = e.stopMoveHandle || ((O) => {
6283
6283
  }), B = $o(e), b = (O) => {
6284
6284
  u.value = !1, n.unmount(), m(O);
6285
6285
  };
@@ -6304,7 +6304,7 @@ function Pr(e) {
6304
6304
  fitContent: e.fitContent == null ? !0 : e.fitContent,
6305
6305
  onClosed: b,
6306
6306
  onResize: g,
6307
- onStopMove: w
6307
+ onStopMove: S
6308
6308
  }, {
6309
6309
  default: () => [B && B(n)]
6310
6310
  });
@@ -6359,31 +6359,31 @@ class Lo {
6359
6359
  showHeader: !0
6360
6360
  }, t)), a = y(!0), i = o.value.acceptCallback || (() => {
6361
6361
  }), l = o.value.rejectCallback || (() => {
6362
- }), s = o.value.closedCallback || ((F, x) => {
6362
+ }), s = o.value.closedCallback || ((F, w) => {
6363
6363
  }), c = o.value.resizeHandle || ((F) => {
6364
6364
  }), r = t.stopMoveHandle || ((F) => {
6365
6365
  });
6366
6366
  let u;
6367
6367
  const d = $o(o.value), v = (F) => {
6368
- var k;
6368
+ var M;
6369
6369
  a.value = !1;
6370
- const x = (k = F == null ? void 0 : F.target) == null ? void 0 : k.classList.contains("modal_close");
6371
- s(F, this.isUseEscCloseModal.value ? "esc" : x ? "icon" : "button");
6370
+ const w = (M = F == null ? void 0 : F.target) == null ? void 0 : M.classList.contains("modal_close");
6371
+ s(F, this.isUseEscCloseModal.value ? "esc" : w ? "icon" : "button");
6372
6372
  }, p = (F) => {
6373
6373
  v(F), u && ge(() => {
6374
6374
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], on(null, n), u = null, this.modalRef.value = null, this.modalRefs) {
6375
- const x = Object.keys(this.modalRefs).map((k) => Number(k));
6376
- x.length > 0 ? this.activeModalIndex.value = Math.max(...x) : this.activeModalIndex.value = 0;
6375
+ const w = Object.keys(this.modalRefs).map((M) => Number(M));
6376
+ w.length > 0 ? this.activeModalIndex.value = Math.max(...w) : this.activeModalIndex.value = 0;
6377
6377
  }
6378
6378
  this.isUseEscCloseModal.value = !1;
6379
6379
  });
6380
6380
  }, m = (F) => {
6381
- var x;
6382
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((x = this.activeModalInstance.value) == null || x.close(F == null ? void 0 : F.event));
6381
+ var w;
6382
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((w = this.activeModalInstance.value) == null || w.close(F == null ? void 0 : F.event));
6383
6383
  }, {
6384
6384
  width: g,
6385
- height: w
6386
- } = o.value, B = this.adaptToWindow(g || 500, w || 320);
6385
+ height: S
6386
+ } = o.value, B = this.adaptToWindow(g || 500, S || 320);
6387
6387
  Object.assign(o.value, B);
6388
6388
  const b = () => f(ft, Ct({
6389
6389
  ref: this.modalRef,
@@ -6400,8 +6400,8 @@ class Lo {
6400
6400
  default: () => [d && d(this.app)]
6401
6401
  });
6402
6402
  return u = ((F) => {
6403
- const x = ba(b, F);
6404
- return x.appContext = this.appContext, on(x, n), x;
6403
+ const w = ba(b, F);
6404
+ return w.appContext = this.appContext, on(w, n), w;
6405
6405
  })({
6406
6406
  ...o.value
6407
6407
  // 'onUpdate:modelValue': onUpdateModelValue,
@@ -6565,16 +6565,16 @@ function Dr(e, t, n) {
6565
6565
  function d(E) {
6566
6566
  if (!E || !E.value)
6567
6567
  return null;
6568
- const S = y(E == null ? void 0 : E.value.parent), I = d(S);
6569
- return I || null;
6568
+ const x = y(E == null ? void 0 : E.value.parent), T = d(x);
6569
+ return T || null;
6570
6570
  }
6571
6571
  function v(E = t) {
6572
- var M;
6573
- const { componentInstance: S, designerItemElementRef: I } = E;
6574
- if (!S || !S.value)
6572
+ var P;
6573
+ const { componentInstance: x, designerItemElementRef: T } = E;
6574
+ if (!x || !x.value)
6575
6575
  return null;
6576
- const { getCustomButtons: P } = S.value;
6577
- return S.value.canMove || S.value.canAdd || S.value.canDelete || P && ((M = P()) != null && M.length) ? I : v(E.parent);
6576
+ const { getCustomButtons: k } = x.value;
6577
+ return x.value.canMove || x.value.canAdd || x.value.canDelete || k && ((P = k()) != null && P.length) ? T : v(E.parent);
6578
6578
  }
6579
6579
  function p() {
6580
6580
  }
@@ -6584,44 +6584,44 @@ function Dr(e, t, n) {
6584
6584
  function g() {
6585
6585
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
6586
6586
  }
6587
- function w() {
6587
+ function S() {
6588
6588
  }
6589
- function B(E, S) {
6589
+ function B(E, x) {
6590
6590
  }
6591
6591
  function b(E) {
6592
- const { componentType: S } = E, I = ye("designer-host-service");
6593
- let P = zn(S, E, I);
6594
- const M = S.toLowerCase().replace(/-/g, "_");
6595
- return P && !P.id && P.type === S && (P.id = `${M}_${Math.random().toString().slice(2, 6)}`), P;
6592
+ const { componentType: x } = E, T = ye("designer-host-service");
6593
+ let k = zn(x, E, T);
6594
+ const P = x.toLowerCase().replace(/-/g, "_");
6595
+ return k && !k.id && k.type === x && (k.id = `${P}_${Math.random().toString().slice(2, 6)}`), k;
6596
6596
  }
6597
6597
  function O(E) {
6598
6598
  }
6599
- function T(...E) {
6599
+ function I(...E) {
6600
6600
  return [];
6601
6601
  }
6602
6602
  function F() {
6603
6603
  }
6604
- function x(E) {
6605
- var I;
6604
+ function w(E) {
6605
+ var T;
6606
6606
  if (!(t != null && t.schema))
6607
6607
  return;
6608
- let S = "";
6608
+ let x = "";
6609
6609
  {
6610
- const { text: P, title: M, label: R, mainTitle: j, name: V, type: $ } = t.schema;
6611
- S = P || M || R || j || V || ((I = W[$]) == null ? void 0 : I.name);
6610
+ const { text: k, title: P, label: R, mainTitle: j, name: V, type: $ } = t.schema;
6611
+ x = k || P || R || j || V || ((T = W[$]) == null ? void 0 : T.name);
6612
6612
  }
6613
- S && (!i && E && (i = E.formSchemaUtils), i.getControlBasicInfoMap().set(t.schema.id, {
6614
- componentTitle: S,
6615
- parentPathName: S
6613
+ x && (!i && E && (i = E.formSchemaUtils), i.getControlBasicInfoMap().set(t.schema.id, {
6614
+ componentTitle: x,
6615
+ parentPathName: x
6616
6616
  }));
6617
6617
  }
6618
- function k(E) {
6619
- var M;
6620
- const { changeObject: S } = E, { propertyID: I, propertyValue: P } = S;
6621
- ["text", "title", "label", "name", "mainTitle"].includes((M = E == null ? void 0 : E.changeObject) == null ? void 0 : M.propertyID) && I && P && x();
6618
+ function M(E) {
6619
+ var P;
6620
+ const { changeObject: x } = E, { propertyID: T, propertyValue: k } = x;
6621
+ ["text", "title", "label", "name", "mainTitle"].includes((P = E == null ? void 0 : E.changeObject) == null ? void 0 : P.propertyID) && T && k && w();
6622
6622
  }
6623
6623
  function h(E) {
6624
- k(E);
6624
+ M(E);
6625
6625
  }
6626
6626
  return a.value = {
6627
6627
  canMove: l(),
@@ -6638,8 +6638,8 @@ function Dr(e, t, n) {
6638
6638
  getBelongedComponentInstance: d,
6639
6639
  getDraggableDesignItemElement: v,
6640
6640
  getDraggingDisplayText: g,
6641
- getPropConfig: T,
6642
- getDragScopeElement: w,
6641
+ getPropConfig: I,
6642
+ getDragScopeElement: S,
6643
6643
  onAcceptMovedChildElement: B,
6644
6644
  onChildElementMovedOut: O,
6645
6645
  addNewChildComponentSchema: b,
@@ -6648,7 +6648,7 @@ function Dr(e, t, n) {
6648
6648
  triggerBelongedComponentToDeleteWhenDeleted: y(!1),
6649
6649
  onPropertyChanged: h,
6650
6650
  getCustomButtons: p,
6651
- setComponentBasicInfoMap: x
6651
+ setComponentBasicInfoMap: w
6652
6652
  }, a;
6653
6653
  }
6654
6654
  const Ao = /* @__PURE__ */ he({
@@ -6664,7 +6664,7 @@ const Ao = /* @__PURE__ */ he({
6664
6664
  setupContext: t
6665
6665
  };
6666
6666
  mt("design-item-context", g);
6667
- const w = ye("designer-host-service"), B = ye("external-container-id"), b = D(() => {
6667
+ const S = ye("designer-host-service"), B = ye("external-container-id"), b = D(() => {
6668
6668
  var $;
6669
6669
  const j = (($ = p.value) == null ? void 0 : $.getCustomButtons) && p.value.getCustomButtons();
6670
6670
  return {
@@ -6683,7 +6683,7 @@ const Ao = /* @__PURE__ */ he({
6683
6683
  return A && (V[A] = z), V;
6684
6684
  }, j), j;
6685
6685
  });
6686
- function T(j, V) {
6686
+ function I(j, V) {
6687
6687
  if (m && m.schema[l.value]) {
6688
6688
  const $ = m.schema[l.value].findIndex((A) => A.id === V.id);
6689
6689
  if ($ > -1) {
@@ -6703,7 +6703,7 @@ const Ao = /* @__PURE__ */ he({
6703
6703
  r.value[l.value].push($), t.emit("addComponent");
6704
6704
  }
6705
6705
  }
6706
- function x() {
6706
+ function w() {
6707
6707
  return o.value && f("div", {
6708
6708
  role: "button",
6709
6709
  class: "btn component-settings-button",
@@ -6716,13 +6716,13 @@ const Ao = /* @__PURE__ */ he({
6716
6716
  class: "f-icon f-icon-plus-circle"
6717
6717
  }, null)]);
6718
6718
  }
6719
- function k(j) {
6719
+ function M(j) {
6720
6720
  return a.value && f("div", {
6721
6721
  role: "button",
6722
6722
  class: "btn component-settings-button",
6723
6723
  title: "删除",
6724
6724
  ref: "removeComponent",
6725
- onClick: An((V) => T(V, j), ["stop"])
6725
+ onClick: An((V) => I(V, j), ["stop"])
6726
6726
  }, [f("i", {
6727
6727
  class: "f-icon f-icon-yxs_delete"
6728
6728
  }, null)]);
@@ -6757,36 +6757,36 @@ const Ao = /* @__PURE__ */ he({
6757
6757
  return f("div", {
6758
6758
  class: "component-btn-group",
6759
6759
  "data-noattach": "true"
6760
- }, [f("div", null, [x(), h(), k(j), C()])]);
6760
+ }, [f("div", null, [w(), h(), M(j), C()])]);
6761
6761
  }
6762
6762
  te(() => e.modelValue, (j) => {
6763
6763
  r.value = j, g.schema = j;
6764
6764
  });
6765
- function S(j) {
6765
+ function x(j) {
6766
6766
  window.scrollContainerList || (window.scrollContainerList = /* @__PURE__ */ new Set());
6767
6767
  const V = j.getAttribute("id");
6768
6768
  V && window.scrollContainerList.add(V);
6769
6769
  }
6770
- function I(j) {
6770
+ function T(j) {
6771
6771
  const V = j.target;
6772
- S(V), _l(V);
6772
+ x(V), _l(V);
6773
6773
  }
6774
- function P() {
6774
+ function k() {
6775
6775
  var j, V;
6776
- (V = (j = r.value) == null ? void 0 : j.contents) != null && V.length && d.value && d.value.addEventListener("scroll", I);
6776
+ (V = (j = r.value) == null ? void 0 : j.contents) != null && V.length && d.value && d.value.addEventListener("scroll", T);
6777
6777
  }
6778
- function M() {
6778
+ function P() {
6779
6779
  const j = d.value, V = y(j.children[1]);
6780
6780
  return Dr(V, g).value;
6781
6781
  }
6782
6782
  Ce(() => {
6783
6783
  if (d.value) {
6784
6784
  const j = d.value.querySelector(`[data-dragref='${r.value.id}-container']`);
6785
- p.value = j && j.componentInstance ? j.componentInstance.value : M(), v && j && v.attachComponents(j, r.value), i.value = p.value.canNested !== void 0 ? p.value.canNested : i.value, o.value = p.value.canAdd !== void 0 ? p.value.canAdd : o.value, a.value = p.value.canDelete !== void 0 ? p.value.canDelete : a.value, n.value = p.value.canMove !== void 0 ? p.value.canMove : n.value, u.value = p.value.styles || "", d.value && (d.value.componentInstance = p, d.value.designItemContext = g), p.value.setComponentBasicInfoMap(w);
6785
+ p.value = j && j.componentInstance ? j.componentInstance.value : P(), v && j && v.attachComponents(j, r.value), i.value = p.value.canNested !== void 0 ? p.value.canNested : i.value, o.value = p.value.canAdd !== void 0 ? p.value.canAdd : o.value, a.value = p.value.canDelete !== void 0 ? p.value.canDelete : a.value, n.value = p.value.canMove !== void 0 ? p.value.canMove : n.value, u.value = p.value.styles || "", d.value && (d.value.componentInstance = p, d.value.designItemContext = g), p.value.setComponentBasicInfoMap(S);
6786
6786
  }
6787
- P(), ot.value++;
6787
+ k(), ot.value++;
6788
6788
  }), Vn(() => {
6789
- d.value && d.value.removeEventListener("scroll", I);
6789
+ d.value && d.value.removeEventListener("scroll", T);
6790
6790
  });
6791
6791
  function R(j) {
6792
6792
  if (j && (j.preventDefault(), j.stopPropagation()), B) {
@@ -7067,21 +7067,21 @@ function jr(e, t) {
7067
7067
  function p(g) {
7068
7068
  if (!g)
7069
7069
  return;
7070
- const { changeObject: w } = g;
7071
- w && w.propertyID === "title" && v();
7070
+ const { changeObject: S } = g;
7071
+ S && S.propertyID === "title" && v();
7072
7072
  }
7073
7073
  function m() {
7074
7074
  var g;
7075
7075
  if (e && t) {
7076
- const { formSchemaUtils: w } = t, B = W.tabs.name;
7077
- w.getControlBasicInfoMap().set(e.schema.id, {
7076
+ const { formSchemaUtils: S } = t, B = W.tabs.name;
7077
+ S.getControlBasicInfoMap().set(e.schema.id, {
7078
7078
  componentTitle: B,
7079
7079
  parentPathName: B
7080
7080
  });
7081
7081
  const b = e.designerItemElementRef.value.querySelector(".farris-tabs-content");
7082
7082
  (g = e.schema.contents) == null || g.forEach((O) => {
7083
- const T = b == null ? void 0 : b.querySelector(`#${O.id}-design-item`);
7084
- T && T.componentInstance && T.componentInstance.value.setComponentBasicInfoMap();
7083
+ const I = b == null ? void 0 : b.querySelector(`#${O.id}-design-item`);
7084
+ I && I.componentInstance && I.componentInstance.value.setComponentBasicInfoMap();
7085
7085
  });
7086
7086
  }
7087
7087
  }
@@ -7104,7 +7104,7 @@ function $r(e, t, n, o, a, i) {
7104
7104
  function g(L) {
7105
7105
  m = L;
7106
7106
  }
7107
- function w(L, q = !0) {
7107
+ function S(L, q = !0) {
7108
7108
  const _ = L.value && L.value.length > 0 ? 0 : -1;
7109
7109
  if (u.value = [], _ !== -1 && (!s.value || typeof s.value == "object")) {
7110
7110
  if (s.value = L.value[_].props.id, !q)
@@ -7131,39 +7131,39 @@ function $r(e, t, n, o, a, i) {
7131
7131
  }
7132
7132
  function O(L) {
7133
7133
  let q = -1;
7134
- !s.value && (q = L.value.findIndex((_) => s.value === _.props.id), q > -1) || (w(L, !1), b(s.value));
7134
+ !s.value && (q = L.value.findIndex((_) => s.value === _.props.id), q > -1) || (S(L, !1), b(s.value));
7135
7135
  }
7136
- function T(L) {
7136
+ function I(L) {
7137
7137
  let q = !1;
7138
7138
  q = !l.value.find((X) => X.props.id === L), q ? (s.value = "", O(l)) : (s.value = L, b(s.value));
7139
7139
  }
7140
7140
  function F(L, q) {
7141
7141
  L.classList.contains(q) || L.classList.add(q);
7142
7142
  }
7143
- function x(L, q) {
7143
+ function w(L, q) {
7144
7144
  L.classList.remove(q);
7145
7145
  }
7146
- function k(L) {
7146
+ function M(L) {
7147
7147
  const { parentElement: q } = L;
7148
- q && (L.scrollWidth > q.offsetWidth ? F(L, "farris-title-text-custom") : x(L, "farris-title-text-custom"));
7148
+ q && (L.scrollWidth > q.offsetWidth ? F(L, "farris-title-text-custom") : w(L, "farris-title-text-custom"));
7149
7149
  }
7150
7150
  te(() => e.activeId, (L, q) => {
7151
- L !== q && T(L);
7151
+ L !== q && I(L);
7152
7152
  });
7153
7153
  function h(L) {
7154
7154
  var _;
7155
7155
  if (e.autoTitleWidth)
7156
7156
  return;
7157
7157
  const q = (_ = L.value) == null ? void 0 : _.querySelectorAll(".st-tab-text");
7158
- q && q.forEach((X) => k(X));
7158
+ q && q.forEach((X) => M(X));
7159
7159
  }
7160
7160
  const C = (L) => {
7161
7161
  L.preventDefault(), L.stopPropagation();
7162
7162
  };
7163
7163
  function E(L) {
7164
- l.value = l.value.filter((q) => q.props.id !== L), s.value === L && (s.value = "", w(l));
7164
+ l.value = l.value.filter((q) => q.props.id !== L), s.value === L && (s.value = "", S(l));
7165
7165
  }
7166
- function S(L, q, _ = !1) {
7166
+ function x(L, q, _ = !1) {
7167
7167
  const X = l.value.findIndex((ne) => ne.props.id === q);
7168
7168
  E(q), C(L), ge(() => {
7169
7169
  v.value++, h(n), _ && (c.value = !0), t.emit("tabRemove", {
@@ -7173,15 +7173,15 @@ function $r(e, t, n, o, a, i) {
7173
7173
  });
7174
7174
  });
7175
7175
  }
7176
- function I(L, q = !0) {
7177
- s.value === L && (s.value = "", w(l)), ge(() => {
7176
+ function T(L, q = !0) {
7177
+ s.value === L && (s.value = "", S(l)), ge(() => {
7178
7178
  v.value++, q && (c.value = !0);
7179
7179
  });
7180
7180
  }
7181
- function P(L) {
7181
+ function k(L) {
7182
7182
  b(L);
7183
7183
  }
7184
- function M(L) {
7184
+ function P(L) {
7185
7185
  l.value.findIndex((_) => _.props.id === L.props.id) === -1 && l.value.push(L), v.value++;
7186
7186
  }
7187
7187
  function R(L) {
@@ -7294,10 +7294,10 @@ function $r(e, t, n, o, a, i) {
7294
7294
  }
7295
7295
  return {
7296
7296
  activeId: s,
7297
- addTab: M,
7297
+ addTab: P,
7298
7298
  changeTitleStyle: h,
7299
- removeTab: S,
7300
- selectTab: P,
7299
+ removeTab: x,
7300
+ selectTab: k,
7301
7301
  tabPages: l,
7302
7302
  updateTab: R,
7303
7303
  toolbarItems: u,
@@ -7309,8 +7309,8 @@ function $r(e, t, n, o, a, i) {
7309
7309
  listenTabNavElementScroll: Z,
7310
7310
  setHorizontalScrollbarPosition: de,
7311
7311
  needUpdateNavigationLayout: v,
7312
- checkActiveIdAndSelect: T,
7313
- toggleShowTab: I,
7312
+ checkActiveIdAndSelect: I,
7313
+ toggleShowTab: T,
7314
7314
  hasInHeadClass: p,
7315
7315
  emitSelectionChange: K,
7316
7316
  resetPositionForSelectedElement: le,
@@ -7383,7 +7383,7 @@ function Vr(e, t, n) {
7383
7383
  function a() {
7384
7384
  var g;
7385
7385
  let m = ((g = e.parent) == null ? void 0 : g.schema.type) || "";
7386
- ["page-header", "tabs", "section"].findIndex((w) => w === m) === -1 && (m = ""), n.toolbarPosition = m;
7386
+ ["page-header", "tabs", "section"].findIndex((S) => S === m) === -1 && (m = ""), n.toolbarPosition = m;
7387
7387
  }
7388
7388
  a();
7389
7389
  function i(m) {
@@ -7412,14 +7412,14 @@ function Vr(e, t, n) {
7412
7412
  m && (m.stopPropagation(), m.preventDefault());
7413
7413
  const { schema: g } = e;
7414
7414
  g.buttons || (g.buttons = []);
7415
- let w = "";
7415
+ let S = "";
7416
7416
  if (g.type)
7417
- w = g.type + "-item";
7417
+ S = g.type + "-item";
7418
7418
  else {
7419
7419
  const O = (b = e.parent) == null ? void 0 : b.schema.type;
7420
- w = O === "tabs" ? "tab-toolbar-item" : O === "section" ? "section-toolbar-item" : "response-toolbar-item";
7420
+ S = O === "tabs" ? "tab-toolbar-item" : O === "section" ? "section-toolbar-item" : "response-toolbar-item";
7421
7421
  }
7422
- const B = co(w);
7422
+ const B = co(S);
7423
7423
  B.id = `toolbar_item_${Math.random().toString().slice(2, 6)}`, g.buttons.push(B), n.updateToolbarItems(), n.changeSelectedId("");
7424
7424
  }
7425
7425
  function p() {
@@ -7491,24 +7491,24 @@ function Nr(e, t, n) {
7491
7491
  i = b;
7492
7492
  }
7493
7493
  function s(b, O = null) {
7494
- const T = t.value.find((F) => F.id === b.id);
7495
- if (T.isDP)
7494
+ const I = t.value.find((F) => F.id === b.id);
7495
+ if (I.isDP)
7496
7496
  if (document.body.click(), typeof O == "boolean")
7497
- T.expanded = O;
7497
+ I.expanded = O;
7498
7498
  else {
7499
7499
  const F = b.expanded;
7500
- T.expanded = !F;
7500
+ I.expanded = !F;
7501
7501
  }
7502
7502
  }
7503
7503
  a.toggleDropdownMenu = s;
7504
7504
  function c(b) {
7505
- var T;
7505
+ var I;
7506
7506
  const O = {
7507
7507
  "dropdown-menu": !0
7508
7508
  };
7509
7509
  if (b.class) {
7510
- const F = (T = b.menuClass) == null ? void 0 : T.split(" ");
7511
- F && F.length && F.reduce((x, k) => (x[k] = !0, x), O);
7510
+ const F = (I = b.menuClass) == null ? void 0 : I.split(" ");
7511
+ F && F.length && F.reduce((w, M) => (w[M] = !0, w), O);
7512
7512
  }
7513
7513
  return O;
7514
7514
  }
@@ -7519,8 +7519,8 @@ function Nr(e, t, n) {
7519
7519
  "dropdown-submenu": !0,
7520
7520
  "f-rt-dropdown": !0,
7521
7521
  "text-truncate": !0
7522
- }, T = (F = b.dropdownClass) == null ? void 0 : F.split(" ");
7523
- return T && T.length && T.reduce((x, k) => (x[k] = !0, x), O), O;
7522
+ }, I = (F = b.dropdownClass) == null ? void 0 : F.split(" ");
7523
+ return I && I.length && I.reduce((w, M) => (w[M] = !0, w), O), O;
7524
7524
  }
7525
7525
  function u(b) {
7526
7526
  const O = {
@@ -7530,51 +7530,51 @@ function Nr(e, t, n) {
7530
7530
  "position-relative": !0,
7531
7531
  "farris-component": !0,
7532
7532
  "text-truncate": !0
7533
- }, T = (b.class || "").split(" ");
7534
- return T && T.length && T.reduce((F, x) => (F[x] = !0, F), O), O;
7533
+ }, I = (b.class || "").split(" ");
7534
+ return I && I.length && I.reduce((F, w) => (F[w] = !0, F), O), O;
7535
7535
  }
7536
7536
  let d;
7537
7537
  const v = /* @__PURE__ */ new Map();
7538
- function p(b, O, T) {
7538
+ function p(b, O, I) {
7539
7539
  b.stopPropagation();
7540
- const F = T ? T.id : "__top_item__";
7540
+ const F = I ? I.id : "__top_item__";
7541
7541
  if (O.children && O.children.length && (O.expanded = !O.expanded, O.expanded)) {
7542
7542
  if (v.has(F) && v.get(F) !== O) {
7543
- const x = v.get(F);
7544
- x && (x.expanded = !1, v.delete(F));
7543
+ const w = v.get(F);
7544
+ w && (w.expanded = !1, v.delete(F));
7545
7545
  }
7546
7546
  v.set(F, O);
7547
7547
  }
7548
7548
  }
7549
7549
  function m(b) {
7550
7550
  var O;
7551
- return (O = b.children) == null ? void 0 : O.map((T, F) => T.children && T.children.length ? f("li", {
7552
- class: r(T),
7553
- id: T.id
7551
+ return (O = b.children) == null ? void 0 : O.map((I, F) => I.children && I.children.length ? f("li", {
7552
+ class: r(I),
7553
+ id: I.id
7554
7554
  }, [f("span", {
7555
- class: u(T),
7556
- onClick: (x) => p(x, T, b)
7557
- }, [T.text, f("i", {
7555
+ class: u(I),
7556
+ onClick: (w) => p(w, I, b)
7557
+ }, [I.text, f("i", {
7558
7558
  class: "f-icon f-icon-arrow-chevron-right",
7559
7559
  style: "display: inline-block;float: right;line-height: 1.25rem;"
7560
- }, null)]), d(T, T)]) : o(T, F, !0));
7560
+ }, null)]), d(I, I)]) : o(I, F, !0));
7561
7561
  }
7562
- function g(b, O, T, F) {
7562
+ function g(b, O, I, F) {
7563
7563
  const {
7564
7564
  height: h,
7565
7565
  left: C,
7566
7566
  top: E
7567
7567
  } = F[0], {
7568
- width: S,
7569
- height: I
7570
- } = T.getBoundingClientRect(), {
7571
- marginTop: P,
7572
- marginBottom: M
7573
- } = getComputedStyle(T), R = Math.ceil(parseFloat(P)) + Math.ceil(parseFloat(M)), j = E + h, V = O == null ? void 0 : O.getBoundingClientRect();
7568
+ width: x,
7569
+ height: T
7570
+ } = I.getBoundingClientRect(), {
7571
+ marginTop: k,
7572
+ marginBottom: P
7573
+ } = getComputedStyle(I), R = Math.ceil(parseFloat(k)) + Math.ceil(parseFloat(P)), j = E + h, V = O == null ? void 0 : O.getBoundingClientRect();
7574
7574
  function $() {
7575
7575
  let K = 0, ae = "left";
7576
7576
  const le = V ? V.right : window.innerWidth, Z = V ? V.left : 0;
7577
- return K = le - C - 10, le - C < S && C - Z > le - C && (ae = "right", K = C - Z - 10), {
7577
+ return K = le - C - 10, le - C < x && C - Z > le - C && (ae = "right", K = C - Z - 10), {
7578
7578
  hposition: ae,
7579
7579
  maxWidth: Math.min(K, 300)
7580
7580
  };
@@ -7593,62 +7593,62 @@ function Nr(e, t, n) {
7593
7593
  maxHeight: A
7594
7594
  };
7595
7595
  }
7596
- function w(b) {
7597
- var k, h, C;
7598
- const O = "300px", T = {
7596
+ function S(b) {
7597
+ var M, h, C;
7598
+ const O = "300px", I = {
7599
7599
  display: b.expanded === !0 ? "block" : "none",
7600
7600
  position: "absolute",
7601
7601
  maxWidth: O,
7602
7602
  minWidth: "120px"
7603
7603
  };
7604
7604
  if (!(i != null && i.value))
7605
- return T;
7606
- const F = i.value.querySelector("#" + b.id), x = F == null ? void 0 : F.getClientRects();
7607
- if (F && x && x.length > 0) {
7605
+ return I;
7606
+ const F = i.value.querySelector("#" + b.id), w = F == null ? void 0 : F.getClientRects();
7607
+ if (F && w && w.length > 0) {
7608
7608
  const E = F ? F.querySelector("#" + b.id + "_menu") : null;
7609
7609
  if (!E || b.expanded !== !0)
7610
- return T;
7610
+ return I;
7611
7611
  E.style.visibility = "hidden", E.style.display = "block", E.style.maxHeight = "auto", E.style.maxWidth = O;
7612
- let S;
7612
+ let x;
7613
7613
  switch (a.toolbarPosition) {
7614
7614
  case "tabs":
7615
- S = (k = i.value) == null ? void 0 : k.closest(".farris-tabs");
7615
+ x = (M = i.value) == null ? void 0 : M.closest(".farris-tabs");
7616
7616
  break;
7617
7617
  case "section":
7618
- S = (h = i.value) == null ? void 0 : h.closest(".f-section");
7618
+ x = (h = i.value) == null ? void 0 : h.closest(".f-section");
7619
7619
  break;
7620
7620
  default:
7621
- S = (C = i.value) == null ? void 0 : C.closest(".f-page");
7621
+ x = (C = i.value) == null ? void 0 : C.closest(".f-page");
7622
7622
  }
7623
- const I = g(a.toolbarPosition, S, E, x), {
7624
- position: P,
7625
- maxHeight: M,
7623
+ const T = g(a.toolbarPosition, x, E, w), {
7624
+ position: k,
7625
+ maxHeight: P,
7626
7626
  maxWidth: R
7627
- } = I;
7627
+ } = T;
7628
7628
  E.style.visibility = "visible";
7629
7629
  const j = {
7630
- left: P.indexOf("left") > -1 ? 0 : "unset",
7631
- right: P.indexOf("left") > -1 ? "unset" : 0,
7632
- bottom: P.indexOf("bottom") > -1 ? "unset" : "100%",
7633
- top: P.indexOf("bottom") > -1 ? "!00%" : "unset",
7630
+ left: k.indexOf("left") > -1 ? 0 : "unset",
7631
+ right: k.indexOf("left") > -1 ? "unset" : 0,
7632
+ bottom: k.indexOf("bottom") > -1 ? "unset" : "100%",
7633
+ top: k.indexOf("bottom") > -1 ? "!00%" : "unset",
7634
7634
  maxWidth: R ? R + "px" : "300px",
7635
- maxHeight: M ? M + "px" : "auto",
7636
- overflowY: M ? "auto" : "unset"
7635
+ maxHeight: P ? P + "px" : "auto",
7636
+ overflowY: P ? "auto" : "unset"
7637
7637
  };
7638
- Object.assign(T, j);
7638
+ Object.assign(I, j);
7639
7639
  }
7640
- return T;
7640
+ return I;
7641
7641
  }
7642
- a.changeMenuPosition = w, d = function(b, O) {
7642
+ a.changeMenuPosition = S, d = function(b, O) {
7643
7643
  return f("ul", {
7644
7644
  class: c(b),
7645
- style: w(b),
7645
+ style: S(b),
7646
7646
  id: b.id + "_menu"
7647
7647
  }, [m(b)]);
7648
7648
  };
7649
7649
  function B(b = "") {
7650
- b && v.has(b) ? v.forEach((O, T) => {
7651
- T !== b && (O.expanded = !1, v.delete(T));
7650
+ b && v.has(b) ? v.forEach((O, I) => {
7651
+ I !== b && (O.expanded = !1, v.delete(I));
7652
7652
  }) : (v.forEach((O) => {
7653
7653
  O.expanded = !1;
7654
7654
  }), v.clear());
@@ -7881,7 +7881,7 @@ function qr(e, t) {
7881
7881
  return o > -1 && n[o].children && n[o].children.length > 0 ? n[o].expanded === !0 : !1;
7882
7882
  }
7883
7883
  function _r(e, t, n) {
7884
- function o(I) {
7884
+ function o(T) {
7885
7885
  return !1;
7886
7886
  }
7887
7887
  function a() {
@@ -7896,45 +7896,45 @@ function _r(e, t, n) {
7896
7896
  function s() {
7897
7897
  return n.toolbarContext.schema.buttons || [];
7898
7898
  }
7899
- function c(I, P = "") {
7899
+ function c(T, k = "") {
7900
7900
  setTimeout(() => {
7901
7901
  var V, $;
7902
- const M = (V = e.parent) == null ? void 0 : V.designerItemElementRef.value;
7902
+ const P = (V = e.parent) == null ? void 0 : V.designerItemElementRef.value;
7903
7903
  let R;
7904
- P && (R = M == null ? void 0 : M.querySelector("#" + P));
7905
- const j = ($ = R || M) == null ? void 0 : $.querySelector("#" + I);
7904
+ k && (R = P == null ? void 0 : P.querySelector("#" + k));
7905
+ const j = ($ = R || P) == null ? void 0 : $.querySelector("#" + T);
7906
7906
  j == null || j.click();
7907
7907
  }, 0);
7908
7908
  }
7909
- function r(I, P) {
7910
- P.disabled && P.disabled.expressionId && (P.disabled.expressionId = `${P.id}_disabled`), P.visible && P.visible.expressionId && (P.visible.expressionId = `${P.id}_visible`);
7911
- const M = t.formSchemaUtils.getExpressions(), R = M.find((V) => V.target === I.id);
7909
+ function r(T, k) {
7910
+ k.disabled && k.disabled.expressionId && (k.disabled.expressionId = `${k.id}_disabled`), k.visible && k.visible.expressionId && (k.visible.expressionId = `${k.id}_visible`);
7911
+ const P = t.formSchemaUtils.getExpressions(), R = P.find((V) => V.target === T.id);
7912
7912
  if (!R || !R.rules || !R.rules.length)
7913
7913
  return;
7914
7914
  const j = {
7915
- target: P.id,
7915
+ target: k.id,
7916
7916
  rules: [],
7917
7917
  targetType: "Button"
7918
7918
  };
7919
7919
  R.rules.forEach((V) => {
7920
7920
  const $ = Object.assign(et(V), {
7921
- id: `${P.id}_${V.type}`
7921
+ id: `${k.id}_${V.type}`
7922
7922
  });
7923
7923
  j.rules.push($);
7924
- }), M.push(j);
7924
+ }), P.push(j);
7925
7925
  }
7926
7926
  function u() {
7927
7927
  var R;
7928
- const I = e.schema, P = Object.assign(
7929
- et(I),
7928
+ const T = e.schema, k = Object.assign(
7929
+ et(T),
7930
7930
  {
7931
7931
  id: `${e.schema.type}-cloned-${Math.random().toString(36).slice(2, 6)}`,
7932
7932
  onClick: null
7933
7933
  }
7934
7934
  );
7935
- (R = t == null ? void 0 : t.designerContext) != null && R.appendIdentifyForNewControl && t.designerContext.appendIdentifyForNewControl(P);
7936
- let M = [];
7937
- return P.children && P.children.length && (M = P.children.map((j) => {
7935
+ (R = t == null ? void 0 : t.designerContext) != null && R.appendIdentifyForNewControl && t.designerContext.appendIdentifyForNewControl(k);
7936
+ let P = [];
7937
+ return k.children && k.children.length && (P = k.children.map((j) => {
7938
7938
  var $;
7939
7939
  const V = et(j);
7940
7940
  return Object.assign(
@@ -7944,143 +7944,143 @@ function _r(e, t, n) {
7944
7944
  onClick: null
7945
7945
  }
7946
7946
  ), ($ = t == null ? void 0 : t.designerContext) != null && $.appendIdentifyForNewControl && t.designerContext.appendIdentifyForNewControl(V), r(j, V), V;
7947
- }), P.children = M), r(I, P), P;
7947
+ }), k.children = P), r(T, k), k;
7948
7948
  }
7949
7949
  function d() {
7950
- const I = e.schema.type || "response-toolbar-item", P = dn(I), M = I.toLowerCase().replace("-", "_");
7951
- return P && !P.id && P.type === I && (P.id = `${M}_${Math.random().toString().slice(2, 6)}`, P.text = "按钮"), P;
7950
+ const T = e.schema.type || "response-toolbar-item", k = dn(T), P = T.toLowerCase().replace("-", "_");
7951
+ return k && !k.id && k.type === T && (k.id = `${P}_${Math.random().toString().slice(2, 6)}`, k.text = "按钮"), k;
7952
7952
  }
7953
- function v(I) {
7954
- const P = s(), M = P == null ? void 0 : P.findIndex((j) => j.id === I), R = M === -1 ? null : P[M];
7955
- return { index: M, toolbarItem: R };
7953
+ function v(T) {
7954
+ const k = s(), P = k == null ? void 0 : k.findIndex((j) => j.id === T), R = P === -1 ? null : k[P];
7955
+ return { index: P, toolbarItem: R };
7956
7956
  }
7957
7957
  function p() {
7958
- const I = e.schema.id, P = s();
7959
- return sn(I, P);
7958
+ const T = e.schema.id, k = s();
7959
+ return sn(T, k);
7960
7960
  }
7961
- function m(I) {
7962
- const P = t.formSchemaUtils.getExpressions();
7963
- if (!P || !P.length)
7961
+ function m(T) {
7962
+ const k = t.formSchemaUtils.getExpressions();
7963
+ if (!k || !k.length)
7964
7964
  return;
7965
- const M = (R) => {
7966
- const j = P && P.findIndex((V) => V.target === R.id);
7967
- j > -1 && P.splice(j, 1);
7965
+ const P = (R) => {
7966
+ const j = k && k.findIndex((V) => V.target === R.id);
7967
+ j > -1 && k.splice(j, 1);
7968
7968
  };
7969
- M(I), I.children && I.children.length && I.children.forEach((R) => {
7970
- M(R);
7969
+ P(T), T.children && T.children.length && T.children.forEach((R) => {
7970
+ P(R);
7971
7971
  });
7972
7972
  }
7973
- function g(I) {
7974
- n.changeSelectedId(I);
7973
+ function g(T) {
7974
+ n.changeSelectedId(T);
7975
7975
  }
7976
- function w(I) {
7977
- t.formSchemaUtils.removeCommunicationInComponent(I), I.children && I.children.length && I.children.forEach((P) => {
7978
- t.formSchemaUtils.removeCommunicationInComponent(P);
7976
+ function S(T) {
7977
+ t.formSchemaUtils.removeCommunicationInComponent(T), T.children && T.children.length && T.children.forEach((k) => {
7978
+ t.formSchemaUtils.removeCommunicationInComponent(k);
7979
7979
  });
7980
7980
  }
7981
7981
  function B() {
7982
7982
  var R, j, V;
7983
7983
  if ((R = t == null ? void 0 : t.designerContext) != null && R.checkCanDeleteControl && !t.designerContext.checkCanDeleteControl(e.schema))
7984
7984
  return;
7985
- const I = s(), { parentIndex: P, itemIndex: M } = Pn(e.schema.id, I);
7986
- P === -1 || M === -1 || (m(e.schema), w(e.schema), I[P].children.splice(M, 1), n.updateToolbarItems(), (j = e.setupContext) == null || j.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), ot.value++);
7985
+ const T = s(), { parentIndex: k, itemIndex: P } = Pn(e.schema.id, T);
7986
+ k === -1 || P === -1 || (m(e.schema), S(e.schema), T[k].children.splice(P, 1), n.updateToolbarItems(), (j = e.setupContext) == null || j.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), ot.value++);
7987
7987
  }
7988
7988
  function b() {
7989
7989
  var R, j, V;
7990
7990
  if ((R = t == null ? void 0 : t.designerContext) != null && R.checkCanDeleteControl && !t.designerContext.checkCanDeleteControl(e.schema))
7991
7991
  return;
7992
- const I = e.schema.id, P = s(), M = P == null ? void 0 : P.findIndex(($) => $.id === I);
7993
- M !== -1 && (m(P[M]), w(P[M]), P == null || P.splice(M, 1), n.updateToolbarItems(), (j = e.setupContext) == null || j.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), ot.value++);
7992
+ const T = e.schema.id, k = s(), P = k == null ? void 0 : k.findIndex(($) => $.id === T);
7993
+ P !== -1 && (m(k[P]), S(k[P]), k == null || k.splice(P, 1), n.updateToolbarItems(), (j = e.setupContext) == null || j.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), ot.value++);
7994
7994
  }
7995
- function O(I = "Append") {
7995
+ function O(T = "Append") {
7996
7996
  var $;
7997
- const P = s(), { parentIndex: M, itemIndex: R } = Pn(e.schema.id, P);
7998
- if (M === -1 || R === -1)
7997
+ const k = s(), { parentIndex: P, itemIndex: R } = Pn(e.schema.id, k);
7998
+ if (P === -1 || R === -1)
7999
7999
  return;
8000
- const j = d(), V = I === "Copy" ? u() : Object.assign({}, j);
8001
- P[M].children.splice(R + 1, 0, V), n.updateToolbarItems(), g(V.id), ($ = e.setupContext) == null || $.emit("addComponent");
8000
+ const j = d(), V = T === "Copy" ? u() : Object.assign({}, j);
8001
+ k[P].children.splice(R + 1, 0, V), n.updateToolbarItems(), g(V.id), ($ = e.setupContext) == null || $.emit("addComponent");
8002
8002
  }
8003
- function T(I, P) {
8004
- const { index: M } = v(P);
8005
- if (M === -1)
8006
- return { index: M, schema: null };
8007
- const R = d(), j = I === "Copy" ? u() : Object.assign({}, R);
8008
- return { index: M, schema: j };
8003
+ function I(T, k) {
8004
+ const { index: P } = v(k);
8005
+ if (P === -1)
8006
+ return { index: P, schema: null };
8007
+ const R = d(), j = T === "Copy" ? u() : Object.assign({}, R);
8008
+ return { index: P, schema: j };
8009
8009
  }
8010
8010
  function F() {
8011
8011
  var R;
8012
- const I = e.schema.id, { index: P, schema: M } = T("Copy", I);
8013
- M && (s().splice(P + 1, 0, M), n.updateToolbarItems(), c(M.id), (R = e.setupContext) == null || R.emit("addComponent"));
8012
+ const T = e.schema.id, { index: k, schema: P } = I("Copy", T);
8013
+ P && (s().splice(k + 1, 0, P), n.updateToolbarItems(), c(P.id), (R = e.setupContext) == null || R.emit("addComponent"));
8014
8014
  }
8015
- function x() {
8015
+ function w() {
8016
8016
  var R;
8017
- const I = e.schema.id, { index: P, schema: M } = T("Append", I);
8018
- if (M && e.parent) {
8019
- const V = s()[P].children || [];
8020
- V.push(M);
8017
+ const T = e.schema.id, { index: k, schema: P } = I("Append", T);
8018
+ if (P && e.parent) {
8019
+ const V = s()[k].children || [];
8020
+ V.push(P);
8021
8021
  const $ = s();
8022
- $[P].children = V, n.updateToolbarItems(), g(M.id), (R = e.setupContext) == null || R.emit("addComponent");
8022
+ $[k].children = V, n.updateToolbarItems(), g(P.id), (R = e.setupContext) == null || R.emit("addComponent");
8023
8023
  }
8024
8024
  }
8025
- function k(I) {
8026
- let P;
8025
+ function M(T) {
8026
+ let k;
8027
8027
  switch (e.schema.type) {
8028
8028
  case "tab-toolbar-item":
8029
- P = new Hr(I, t);
8029
+ k = new Hr(T, t);
8030
8030
  break;
8031
8031
  default:
8032
- P = new zr(I, t, e.schema.type);
8032
+ k = new zr(T, t, e.schema.type);
8033
8033
  }
8034
- return P.getPropertyConfig(e.schema, p());
8034
+ return k.getPropertyConfig(e.schema, p());
8035
8035
  }
8036
- function h(I) {
8037
- I.stopPropagation(), I.stopImmediatePropagation();
8036
+ function h(T) {
8037
+ T.stopPropagation(), T.stopImmediatePropagation();
8038
8038
  }
8039
8039
  function C() {
8040
- const I = [{
8040
+ const T = [{
8041
8041
  id: "delete",
8042
8042
  title: "删除",
8043
8043
  text: "",
8044
8044
  icon: "f-icon-yxs_delete",
8045
- onClick: (P) => {
8046
- h(P), p() ? B() : b();
8045
+ onClick: (k) => {
8046
+ h(k), p() ? B() : b();
8047
8047
  }
8048
8048
  }, {
8049
8049
  id: "copy",
8050
8050
  title: "复制",
8051
8051
  icon: "f-icon-yxs_copy",
8052
- onClick: (P) => {
8053
- h(P);
8054
- const { activeElement: M } = document, R = M ? M.tagName.toLowerCase() : "";
8055
- R && R === "input" || R === "textarea" ? (M == null || M.blur(), ge(() => {
8052
+ onClick: (k) => {
8053
+ h(k);
8054
+ const { activeElement: P } = document, R = P ? P.tagName.toLowerCase() : "";
8055
+ R && R === "input" || R === "textarea" ? (P == null || P.blur(), ge(() => {
8056
8056
  p() ? O("Copy") : F();
8057
8057
  })) : p() ? O("Copy") : F();
8058
8058
  }
8059
8059
  }];
8060
- return I.push(p() ? {
8060
+ return T.push(p() ? {
8061
8061
  id: "appendSiblingButton",
8062
8062
  title: "",
8063
8063
  text: "新增同级",
8064
8064
  icon: "f-icon-plus-circle",
8065
- onClick: (P) => {
8066
- h(P), O();
8065
+ onClick: (k) => {
8066
+ h(k), O();
8067
8067
  }
8068
8068
  } : {
8069
8069
  id: "appendChildButton",
8070
8070
  title: "",
8071
8071
  text: "新增子级",
8072
8072
  icon: "f-icon-plus-circle",
8073
- onClick: (P) => {
8074
- h(P), x();
8073
+ onClick: (k) => {
8074
+ h(k), w();
8075
8075
  }
8076
- }), I;
8076
+ }), T;
8077
8077
  }
8078
8078
  function E() {
8079
- const { schema: I } = e;
8080
- m(I);
8079
+ const { schema: T } = e;
8080
+ m(T);
8081
8081
  }
8082
- function S() {
8083
- var I, P, M, R;
8082
+ function x() {
8083
+ var T, k, P, R;
8084
8084
  if (e && t) {
8085
8085
  const { formSchemaUtils: j } = t, { schema: V } = e;
8086
8086
  switch (V.type) {
@@ -8094,8 +8094,8 @@ function _r(e, t, n) {
8094
8094
  case "tab-toolbar-item":
8095
8095
  case "section-toolbar-item": {
8096
8096
  let $;
8097
- const A = (I = e.parent) == null ? void 0 : I.parent;
8098
- (A == null ? void 0 : A.schema.type) === "tabs" || (A == null ? void 0 : A.schema.type) === "section" ? $ = (P = A.componentInstance) == null ? void 0 : P.value : $ = (R = (M = A == null ? void 0 : A.parent) == null ? void 0 : M.componentInstance) == null ? void 0 : R.value, $ != null && $.setComponentBasicInfoMap && $.setComponentBasicInfoMap();
8097
+ const A = (T = e.parent) == null ? void 0 : T.parent;
8098
+ (A == null ? void 0 : A.schema.type) === "tabs" || (A == null ? void 0 : A.schema.type) === "section" ? $ = (k = A.componentInstance) == null ? void 0 : k.value : $ = (R = (P = A == null ? void 0 : A.parent) == null ? void 0 : P.componentInstance) == null ? void 0 : R.value, $ != null && $.setComponentBasicInfoMap && $.setComponentBasicInfoMap();
8099
8099
  }
8100
8100
  }
8101
8101
  }
@@ -8105,10 +8105,10 @@ function _r(e, t, n) {
8105
8105
  checkCanMoveComponent: a,
8106
8106
  checkCanDeleteComponent: i,
8107
8107
  checkCanAddComponent: l,
8108
- getPropsConfig: k,
8108
+ getPropsConfig: M,
8109
8109
  getCustomButtons: C,
8110
8110
  onRemoveComponent: E,
8111
- setComponentBasicInfoMap: S
8111
+ setComponentBasicInfoMap: x
8112
8112
  };
8113
8113
  }
8114
8114
  const Wr = /* @__PURE__ */ he({
@@ -8121,16 +8121,16 @@ const Wr = /* @__PURE__ */ he({
8121
8121
  a.value.componentInstance = r;
8122
8122
  }), t.expose(r.value);
8123
8123
  function u() {
8124
- const T = {
8124
+ const I = {
8125
8125
  "f-icon": !0
8126
8126
  }, F = e.icon ? e.icon.trim() : "";
8127
- return je(T, F);
8127
+ return je(I, F);
8128
8128
  }
8129
8129
  function d() {
8130
8130
  return !!(e.icon && e.icon.trim());
8131
8131
  }
8132
8132
  const v = D(() => {
8133
- const T = {
8133
+ const I = {
8134
8134
  btn: !0,
8135
8135
  "f-rt-btn": !0,
8136
8136
  "f-btn-ml": !e.isDP && (n.value === "right" || n.value === "center"),
@@ -8141,7 +8141,7 @@ const Wr = /* @__PURE__ */ he({
8141
8141
  "text-truncate": !0
8142
8142
  // 'f-rt-toggle':props.isDP&&!props.split
8143
8143
  };
8144
- return je(T, e.class);
8144
+ return je(I, e.class);
8145
8145
  }), p = D(() => e.split ? {
8146
8146
  display: "flex",
8147
8147
  "align-items": "center"
@@ -8153,16 +8153,16 @@ const Wr = /* @__PURE__ */ he({
8153
8153
  "border-top-right-radius": "6px",
8154
8154
  "border-bottom-right-radius": "6px"
8155
8155
  }), m = D(() => {
8156
- const T = {
8156
+ const I = {
8157
8157
  btn: !0,
8158
8158
  "dropdown-toggle": !0,
8159
8159
  "f-btn-mr": n.value === "left",
8160
8160
  "dropdown-toggle-split": !0,
8161
8161
  "no-drag": !0
8162
8162
  };
8163
- return je(T, e.class);
8163
+ return je(I, e.class);
8164
8164
  }), g = D(() => {
8165
- let T = {
8165
+ let I = {
8166
8166
  btn: !e.isDPItem,
8167
8167
  // 不是下拉按钮,不是下拉项
8168
8168
  disabled: e.disabled === !0,
@@ -8174,10 +8174,10 @@ const Wr = /* @__PURE__ */ he({
8174
8174
  // 保证内部层级不被拖拽
8175
8175
  "no-drag": !0
8176
8176
  };
8177
- return e.isDPItem || (T = je(T, e.class || "")), e.isDP && (T = je(T, e.dropdownClass || "")), T;
8177
+ return e.isDPItem || (I = je(I, e.class || "")), e.isDP && (I = je(I, e.dropdownClass || "")), I;
8178
8178
  });
8179
- function w(T, F) {
8180
- F && F.stopPropagation(), t.emit(T, {
8179
+ function S(I, F) {
8180
+ F && F.stopPropagation(), t.emit(I, {
8181
8181
  id: e.id,
8182
8182
  isDP: e.isDP
8183
8183
  });
@@ -8203,17 +8203,17 @@ const Wr = /* @__PURE__ */ he({
8203
8203
  }, [f("div", {
8204
8204
  class: v.value,
8205
8205
  style: p.value,
8206
- onClick: () => w("clearAll")
8206
+ onClick: () => S("clearAll")
8207
8207
  }, [o.shouldShowIcon(e) && f("i", {
8208
8208
  class: o.iconClass(e)
8209
8209
  }, null), f("span", null, [e.text]), !e.split && f("span", {
8210
8210
  class: "f-icon f-icon-arrow-chevron-down",
8211
8211
  style: "margin:0 0.5rem 0 0.25rem;",
8212
- onClick: (T) => w("dropdown", T)
8212
+ onClick: (I) => S("dropdown", I)
8213
8213
  }, null)]), e.split && f("button", {
8214
8214
  class: m.value,
8215
8215
  style: "border-radius:0 6px 6px 0;",
8216
- onClick: (T) => w("dropdown", T)
8216
+ onClick: (I) => S("dropdown", I)
8217
8217
  }, null), s.renderDropdownMenu(e.item, e.item)])]);
8218
8218
  }
8219
8219
  function O() {
@@ -8235,7 +8235,7 @@ const Wr = /* @__PURE__ */ he({
8235
8235
  type: "button",
8236
8236
  class: v.value,
8237
8237
  id: e.id,
8238
- onClick: () => w("clearAll")
8238
+ onClick: () => S("clearAll")
8239
8239
  }, [d() && f("i", {
8240
8240
  class: u()
8241
8241
  }, null), e.text])]);
@@ -8255,8 +8255,8 @@ function Ur(e, t, n, o) {
8255
8255
  o.clearAllDropdown(v.isDP ? v.id : "");
8256
8256
  }
8257
8257
  function c(v, p = "") {
8258
- const m = e.items || [], g = p || v, w = m.find((B) => B.id === g);
8259
- return p ? w.children.find((B) => B.id === v) : w;
8258
+ const m = e.items || [], g = p || v, S = m.find((B) => B.id === g);
8259
+ return p ? S.children.find((B) => B.id === v) : S;
8260
8260
  }
8261
8261
  function r(v, p = !1) {
8262
8262
  if (!p)
@@ -8271,12 +8271,12 @@ function Ur(e, t, n, o) {
8271
8271
  m != null && m.classList.contains("dgComponentFocused") && (m == null || m.classList.remove("dgComponentSelected"));
8272
8272
  }
8273
8273
  function d(v, p, m = !1) {
8274
- const g = c(v.id, v.parent), w = y(g);
8274
+ const g = c(v.id, v.parent), S = y(g);
8275
8275
  return f(Ao, {
8276
8276
  key: g.id,
8277
8277
  class: ["p-0", m ? "d-block no-drag" : "d-inline-block"],
8278
- modelValue: w.value,
8279
- "onUpdate:modelValue": (B) => w.value = B,
8278
+ modelValue: S.value,
8279
+ "onUpdate:modelValue": (B) => S.value = B,
8280
8280
  canMove: !1,
8281
8281
  childType: "response-toolbar-item",
8282
8282
  childLabel: "按钮",
@@ -8358,15 +8358,15 @@ const Ho = /* @__PURE__ */ he({
8358
8358
  toolbarPosition: ""
8359
8359
  }, v = Vr(u, r, d), p = ei(i, u, v), m = ye("toolbar-item-handler"), {
8360
8360
  initDragula: g,
8361
- dragulaInstance: w
8361
+ dragulaInstance: S
8362
8362
  } = Ar(u), B = No(), b = Ur(e, a, u, d), O = Nr(B, n, b), {
8363
- renderToolbarItemDesigner: T
8363
+ renderToolbarItemDesigner: I
8364
8364
  } = b, {
8365
8365
  clearAllDropDownMenu: F,
8366
- renderDropdownMenu: x,
8367
- setResponseToolbarRef: k
8366
+ renderDropdownMenu: w,
8367
+ setResponseToolbarRef: M
8368
8368
  } = O;
8369
- mt("toolbar-item-action", d), d.renderDropdownMenu = x, k(i), m && (m.changeSelectedId = function(z) {
8369
+ mt("toolbar-item-action", d), d.renderDropdownMenu = w, M(i), m && (m.changeSelectedId = function(z) {
8370
8370
  l.value = z;
8371
8371
  });
8372
8372
  function h() {
@@ -8394,11 +8394,11 @@ const Ho = /* @__PURE__ */ he({
8394
8394
  }), F(z);
8395
8395
  }
8396
8396
  d.clearAllDropdown = E;
8397
- function S() {
8397
+ function x() {
8398
8398
  m && m.updateToolbarItems && m.updateToolbarItems();
8399
8399
  }
8400
- d.updateToolbarItems = S;
8401
- function I(z) {
8400
+ d.updateToolbarItems = x;
8401
+ function T(z) {
8402
8402
  if (z) {
8403
8403
  const H = i.value.querySelector("#" + z.id), K = H.querySelector("#" + z.id + "_menu"), ae = d.changeMenuPosition(z, H);
8404
8404
  Object.keys(ae).forEach((le) => {
@@ -8406,7 +8406,7 @@ const Ho = /* @__PURE__ */ he({
8406
8406
  });
8407
8407
  }
8408
8408
  }
8409
- function P() {
8409
+ function k() {
8410
8410
  const K = a.value.clientWidth, ae = a.value.querySelectorAll(".farris-component>.f-rt-btn");
8411
8411
  ae && ae.forEach((Z) => {
8412
8412
  Z.style.maxWidth = K - 12 + "px";
@@ -8416,7 +8416,7 @@ const Ho = /* @__PURE__ */ he({
8416
8416
  Z.querySelector(".dropdown-toggle-split") ? Z.querySelector(".f-rt-btn").style.maxWidth = K - 38 + "px" : Z.style.maxWidth = K - 12 + "px";
8417
8417
  });
8418
8418
  }
8419
- const M = new ResizeObserver((z) => {
8419
+ const P = new ResizeObserver((z) => {
8420
8420
  var H;
8421
8421
  if (z.length) {
8422
8422
  const ae = z[0].contentRect.width;
@@ -8430,20 +8430,20 @@ const Ho = /* @__PURE__ */ he({
8430
8430
  parent: le,
8431
8431
  item: Z
8432
8432
  } = En(l.value, n.value);
8433
- I(le);
8433
+ T(le);
8434
8434
  } else if (qr(l.value, n.value)) {
8435
8435
  const le = (H = n.value) == null ? void 0 : H.find((Z) => Z.id === l.value);
8436
- I(le);
8436
+ T(le);
8437
8437
  } else
8438
8438
  E();
8439
- P();
8439
+ k();
8440
8440
  }
8441
8441
  }
8442
8442
  });
8443
8443
  Ce(() => {
8444
- M.observe(i.value), s = i.value.clientWidth, i.value.componentInstance = p, g(a.value, o.value, S);
8444
+ P.observe(i.value), s = i.value.clientWidth, i.value.componentInstance = p, g(a.value, o.value, x);
8445
8445
  }), We(() => {
8446
- M.disconnect(), w && w.destroy && w.destroy();
8446
+ P.disconnect(), S && S.destroy && S.destroy();
8447
8447
  }), t.expose(p.value);
8448
8448
  const R = D(() => {
8449
8449
  const z = {
@@ -8465,7 +8465,7 @@ const Ho = /* @__PURE__ */ he({
8465
8465
  }));
8466
8466
  te(() => e.items, () => {
8467
8467
  n.value = rn(e.items), ge(() => {
8468
- C(), P();
8468
+ C(), k();
8469
8469
  });
8470
8470
  }, {
8471
8471
  deep: !0
@@ -8493,7 +8493,7 @@ const Ho = /* @__PURE__ */ he({
8493
8493
  }, [Se("添加按钮")])]);
8494
8494
  }
8495
8495
  function A() {
8496
- return n.value.map((z, H) => T(z, H));
8496
+ return n.value.map((z, H) => I(z, H));
8497
8497
  }
8498
8498
  return () => {
8499
8499
  var z;
@@ -8521,9 +8521,9 @@ function Gr(e, t, n, o, a) {
8521
8521
  changeToolbarItems: s,
8522
8522
  hasInHeadClass: c
8523
8523
  } = e, r = l.value.id || `${((v = o == null ? void 0 : o.schema) == null ? void 0 : v.id) || ""}-toolbar`;
8524
- function u(p, m, g, w) {
8524
+ function u(p, m, g, S) {
8525
8525
  var B;
8526
- (B = o.setupContext) == null || B.emit("selectionChange", p, m, g, w);
8526
+ (B = o.setupContext) == null || B.emit("selectionChange", p, m, g, S);
8527
8527
  }
8528
8528
  function d() {
8529
8529
  s();
@@ -8575,7 +8575,7 @@ function Xr(e, t) {
8575
8575
  let d;
8576
8576
  if (r) {
8577
8577
  const g = r.getAttribute("pageId");
8578
- d = Array.from(c.children).findIndex((w) => w.getAttribute("pageId") === g);
8578
+ d = Array.from(c.children).findIndex((S) => S.getAttribute("pageId") === g);
8579
8579
  } else
8580
8580
  d = Array.from(c.children).length;
8581
8581
  const v = s.getAttribute("pageId"), p = Array.from(c.children).findIndex((g) => g.getAttribute("pageId") === v), m = u.contents[p];
@@ -8625,22 +8625,22 @@ const Yr = /* @__PURE__ */ he({
8625
8625
  changeTitleStyle: p,
8626
8626
  tabPages: m,
8627
8627
  addTab: g,
8628
- updateTab: w,
8628
+ updateTab: S,
8629
8629
  toolbarItems: B,
8630
8630
  setTabsRef: b,
8631
8631
  checkActiveIdAndSelect: O,
8632
- listenTabNavElementScroll: T,
8632
+ listenTabNavElementScroll: I,
8633
8633
  toolbarSchema: F,
8634
- toggleShowTab: x,
8635
- hasInHeadClass: k,
8634
+ toggleShowTab: w,
8635
+ hasInHeadClass: M,
8636
8636
  updateComponentBasicInfoMap: h
8637
8637
  } = d;
8638
8638
  b(n);
8639
8639
  const C = Io(e, r, d), E = xo(e, c, C, d), {
8640
- updateNavigationLayout: S
8641
- } = E, I = To(e, d), {
8642
- hideDropDown: P
8643
- } = I, M = Hl(e, c, E, C, d, l), R = M, j = So(e, c, E, C, d), V = /* @__PURE__ */ new Map([["default", M], ["one-page", R], ["pills", j]]);
8640
+ updateNavigationLayout: x
8641
+ } = E, T = To(e, d), {
8642
+ hideDropDown: k
8643
+ } = T, P = Hl(e, c, E, C, d, l), R = P, j = So(e, c, E, C, d), V = /* @__PURE__ */ new Map([["default", P], ["one-page", R], ["pills", j]]);
8644
8644
  D(() => {
8645
8645
  const L = m.value.find((q) => q.props.id === v.value);
8646
8646
  return L == null ? void 0 : L.slots;
@@ -8658,21 +8658,21 @@ const Yr = /* @__PURE__ */ he({
8658
8658
  mt("tabs", {
8659
8659
  activeId: v,
8660
8660
  addTab: g,
8661
- updateTab: w,
8661
+ updateTab: S,
8662
8662
  tabPages: m,
8663
8663
  tabType: s,
8664
- toggleShowTab: x,
8664
+ toggleShowTab: w,
8665
8665
  toolbarVisible: A
8666
8666
  }), mt("toolbar-item-handler", u);
8667
8667
  const z = D(() => e.fill), H = D(() => ({
8668
8668
  "farris-tabs-header": !0,
8669
- "farris-tabs-inHead": k.value,
8670
- "farris-tabs-inContent": !k.value,
8669
+ "farris-tabs-inHead": M.value,
8670
+ "farris-tabs-inContent": !M.value,
8671
8671
  "farris-tabs-nav-fill": e.tabType === "fill",
8672
8672
  "farris-tabs-nav-pills": e.tabType === "pills"
8673
8673
  })), K = D(() => {
8674
8674
  const L = {
8675
- width: k.value && e.titleWidth ? `${e.titleWidth}%` : ""
8675
+ width: M.value && e.titleWidth ? `${e.titleWidth}%` : ""
8676
8676
  };
8677
8677
  return L.width && (L.flex = "unset"), L;
8678
8678
  }), ae = D(() => ({
@@ -8688,13 +8688,13 @@ const Yr = /* @__PURE__ */ he({
8688
8688
  } = Xr(a, m);
8689
8689
  Ce(() => {
8690
8690
  m.value.length && O(e.activeId || m.value[0].props.id), ge(() => {
8691
- S();
8691
+ x();
8692
8692
  }), p(c), window.addEventListener("click", (L) => {
8693
8693
  var q;
8694
- P.value || (q = n.value) != null && q.contains(L.target) || (P.value = !0);
8694
+ k.value || (q = n.value) != null && q.contains(L.target) || (k.value = !0);
8695
8695
  }), window.addEventListener("resize", () => {
8696
- S();
8697
- }), T(), n.value.componentInstance = l, e.tabType === "default" && le(c.value, c.value);
8696
+ x();
8697
+ }), I(), n.value.componentInstance = l, e.tabType === "default" && le(c.value, c.value);
8698
8698
  }), We(() => {
8699
8699
  Z && Z.destroy && Z.destroy();
8700
8700
  });
@@ -9172,16 +9172,16 @@ function hc(e, t, n, o, a, i) {
9172
9172
  }, s = D(() => e.buttonPosition), c = _o(e, t), {
9173
9173
  onClickMaxMinIcon: r
9174
9174
  } = gc(o, a, i), u = D(() => e.enableMaximize), d = D(() => e.enableAccordion !== ""), v = D(() => {
9175
- const T = {
9175
+ const I = {
9176
9176
  "f-section-header": !0
9177
9177
  };
9178
- return t.slots.header && e.headerClass.split(" ").reduce((x, k) => (x[k] = !0, x), T), T;
9178
+ return t.slots.header && e.headerClass.split(" ").reduce((w, M) => (w[M] = !0, w), I), I;
9179
9179
  });
9180
- function p(T) {
9181
- T.stopPropagation(), e.enableAccordion !== "" && (n.value = !n.value);
9180
+ function p(I) {
9181
+ I.stopPropagation(), e.enableAccordion !== "" && (n.value = !n.value);
9182
9182
  }
9183
9183
  function m() {
9184
- const T = D(() => ({
9184
+ const I = D(() => ({
9185
9185
  btn: !0,
9186
9186
  "f-btn-collapse-expand": !0,
9187
9187
  "f-btn-mx": !0,
@@ -9197,7 +9197,7 @@ function hc(e, t, n, o, a, i) {
9197
9197
  class: F.value,
9198
9198
  onClick: r
9199
9199
  }, null) : "", d.value ? f("button", {
9200
- class: T.value,
9200
+ class: I.value,
9201
9201
  onClick: p
9202
9202
  }, [f("span", null, [n.value ? l.collapseLabel : l.expandLabel])]) : ""]);
9203
9203
  }
@@ -9208,17 +9208,17 @@ function hc(e, t, n, o, a, i) {
9208
9208
  class: "f-title-text"
9209
9209
  }, [e.mainTitle]), e.subTitle && f("span", null, [e.subTitle])]);
9210
9210
  }
9211
- function w() {
9212
- const T = D(() => {
9211
+ function S() {
9212
+ const I = D(() => {
9213
9213
  const F = {
9214
9214
  "f-content": !0
9215
9215
  };
9216
- return e.headerContentClass && e.headerContentClass.split(" ").reduce((k, h) => (k[h] = !0, k), F), F;
9216
+ return e.headerContentClass && e.headerContentClass.split(" ").reduce((M, h) => (M[h] = !0, M), F), F;
9217
9217
  });
9218
9218
  return t.slots.headerContent ? f("div", {
9219
- class: T.value
9219
+ class: I.value
9220
9220
  }, [t.slots.headerContent()]) : e.headerContentRenderFunction ? f("div", {
9221
- class: T.value
9221
+ class: I.value
9222
9222
  }, [e.headerContentRenderFunction()]) : null;
9223
9223
  }
9224
9224
  function B() {
@@ -9227,7 +9227,7 @@ function hc(e, t, n, o, a, i) {
9227
9227
  function b() {
9228
9228
  return f("div", {
9229
9229
  class: v.value
9230
- }, [B(), w(), s.value === "inHead" && c(), (u.value || d.value) && m()]);
9230
+ }, [B(), S(), s.value === "inHead" && c(), (u.value || d.value) && m()]);
9231
9231
  }
9232
9232
  function O() {
9233
9233
  return t.slots.header ? f("div", {
@@ -9244,7 +9244,7 @@ const yc = /* @__PURE__ */ he({
9244
9244
  emits: ["click"],
9245
9245
  setup(e, t) {
9246
9246
  const n = y(), o = y(), a = y(e.customClass), i = D(() => e.enableAccordion), l = y(e.expandStatus), s = D(() => e.buttonPosition), c = y(!1), r = hc(e, t, l, n, o, c), u = _o(e, t), d = D(() => {
9247
- const w = {
9247
+ const S = {
9248
9248
  "f-section": !0,
9249
9249
  "f-section-accordion": i.value === "default",
9250
9250
  "f-state-collapse": (i.value === "default" || i.value === "custom") && !l.value,
@@ -9252,7 +9252,7 @@ const yc = /* @__PURE__ */ he({
9252
9252
  "f-section-fill": e.fill,
9253
9253
  "f-section-maximize": c.value
9254
9254
  };
9255
- return je(w, a.value);
9255
+ return je(S, a.value);
9256
9256
  }), v = D(() => je({
9257
9257
  "f-section-content": !0
9258
9258
  }, e.contentClass)), p = D(() => je({
@@ -9268,8 +9268,8 @@ const yc = /* @__PURE__ */ he({
9268
9268
  class: v.value
9269
9269
  }, [s.value === "inContent" && u(), t.slots.default && t.slots.default()]);
9270
9270
  }
9271
- return te(() => e.expandStatus, (w, B) => {
9272
- w !== B && (l.value = w);
9271
+ return te(() => e.expandStatus, (S, B) => {
9272
+ S !== B && (l.value = S);
9273
9273
  }), Ce(() => {
9274
9274
  n.value && n.value && (o.value = n.value.parentElement);
9275
9275
  }), () => e.visible ? f("div", {
@@ -9350,8 +9350,8 @@ const wc = /* @__PURE__ */ he({
9350
9350
  deep: !0
9351
9351
  });
9352
9352
  function p() {
9353
- var O, T;
9354
- const b = (T = (O = t.slots).default) == null ? void 0 : T.call(O);
9353
+ var O, I;
9354
+ const b = (I = (O = t.slots).default) == null ? void 0 : I.call(O);
9355
9355
  return f(yc, {
9356
9356
  "main-title": e.title,
9357
9357
  class: "farris-tab-page"
@@ -9365,8 +9365,8 @@ const wc = /* @__PURE__ */ he({
9365
9365
  "farris-tab-page-active": d.value
9366
9366
  }));
9367
9367
  function g() {
9368
- var O, T;
9369
- const b = (T = (O = t.slots).default) == null ? void 0 : T.call(O);
9368
+ var O, I;
9369
+ const b = (I = (O = t.slots).default) == null ? void 0 : I.call(O);
9370
9370
  return f("div", {
9371
9371
  ref: n,
9372
9372
  class: m.value,
@@ -9930,8 +9930,8 @@ function Jc(e, t) {
9930
9930
  p.push(g), m = g + l.length;
9931
9931
  }
9932
9932
  return p.map((g) => {
9933
- const w = new Range();
9934
- return w.setStart(d, g), w.setEnd(d, g + l.length), w;
9933
+ const S = new Range();
9934
+ return S.setStart(d, g), S.setEnd(d, g + l.length), S;
9935
9935
  });
9936
9936
  }).flat();
9937
9937
  }
@@ -9949,14 +9949,14 @@ function Dn(e, t, n, o, a, i, l, s, c, r) {
9949
9949
  return ((h = e.selection) == null ? void 0 : h.multiSelect) && ((C = e.selection) == null ? void 0 : C.showCheckbox);
9950
9950
  }), {
9951
9951
  onMouseenterItem: g,
9952
- onMouseoverItem: w,
9952
+ onMouseoverItem: S,
9953
9953
  onMouseoutItem: B
9954
9954
  } = i, {
9955
9955
  getKey: b,
9956
9956
  listViewItemClass: O,
9957
- onCheckItem: T,
9957
+ onCheckItem: I,
9958
9958
  onClickItem: F
9959
- } = l, x = D(() => {
9959
+ } = l, w = D(() => {
9960
9960
  const h = {
9961
9961
  "text-overflow": "ellipsis",
9962
9962
  overflow: "hidden",
@@ -9967,37 +9967,37 @@ function Dn(e, t, n, o, a, i, l, s, c, r) {
9967
9967
  ...h
9968
9968
  };
9969
9969
  });
9970
- function k(h, C, E) {
9970
+ function M(h, C, E) {
9971
9971
  return h.checked = s.findIndexInSelectedItems(h) > -1, f("li", {
9972
9972
  class: O(h, C),
9973
9973
  id: b(h, C),
9974
9974
  key: b(h, C),
9975
- onClick: (S) => F(h, C, S),
9976
- onMouseenter: (S) => g(S, h, C),
9977
- onMouseover: (S) => w(S, h, C),
9978
- onMouseout: (S) => B(S, h, C)
9975
+ onClick: (x) => F(h, C, x),
9976
+ onMouseenter: (x) => g(x, h, C),
9977
+ onMouseover: (x) => S(x, h, C),
9978
+ onMouseout: (x) => B(x, h, C)
9979
9979
  }, [m.value && f("div", {
9980
9980
  class: "f-list-select",
9981
- onClick: (S) => S.stopPropagation()
9981
+ onClick: (x) => x.stopPropagation()
9982
9982
  }, [f(un, {
9983
9983
  id: "list-" + b(h, C),
9984
9984
  customClass: "listview-checkbox float-left",
9985
9985
  disabled: h[p.value],
9986
9986
  checked: h.checked,
9987
- "onUpdate:checked": (S) => h.checked = S,
9988
- onChange: (S) => {
9989
- T(h, C, !S.checked);
9987
+ "onUpdate:checked": (x) => h.checked = x,
9988
+ onChange: (x) => {
9989
+ I(h, C, !x.checked);
9990
9990
  }
9991
9991
  }, null)]), f("div", {
9992
9992
  class: "f-list-content"
9993
9993
  }, [f("div", {
9994
9994
  class: e.itemContentClass,
9995
- style: x.value,
9995
+ style: w.value,
9996
9996
  title: h.raw[v.value] || h.raw[d.value]
9997
9997
  }, [h.raw[d.value]])])]);
9998
9998
  }
9999
9999
  return {
10000
- renderItem: k
10000
+ renderItem: M
10001
10001
  };
10002
10002
  }
10003
10003
  function Qc(e, t, n, o, a, i, l, s, c, r) {
@@ -10006,51 +10006,51 @@ function Qc(e, t, n, o, a, i, l, s, c, r) {
10006
10006
  onMouseoverItem: m,
10007
10007
  onMouseoutItem: g
10008
10008
  } = i, {
10009
- getKey: w,
10009
+ getKey: S,
10010
10010
  listViewItemClass: B,
10011
10011
  listViewItemStyle: b,
10012
10012
  onCheckItem: O,
10013
- onClickItem: T
10013
+ onClickItem: I
10014
10014
  } = l;
10015
- function F(k, h, C) {
10015
+ function F(M, h, C) {
10016
10016
  return e.contentTemplate ? f(Be, null, [e.contentTemplate({
10017
- item: k.raw,
10017
+ item: M.raw,
10018
10018
  index: h,
10019
10019
  selectedItem: C
10020
10020
  })]) : t.slots.content ? f(Be, null, [t.slots.content && t.slots.content({
10021
- item: k.raw,
10021
+ item: M.raw,
10022
10022
  index: h,
10023
10023
  selectedItem: C
10024
10024
  })]) : f("div", {
10025
10025
  style: "margin: 10px 0;"
10026
- }, [k.raw[v.value || "name"]]);
10026
+ }, [M.raw[v.value || "name"]]);
10027
10027
  }
10028
- function x(k, h, C) {
10028
+ function w(M, h, C) {
10029
10029
  return f("li", {
10030
- class: B(k, h),
10031
- id: w(k, h),
10032
- key: w(k, h),
10033
- style: b(k, h),
10034
- onClick: (E) => T(k, h, E),
10035
- onMouseenter: (E) => p(E, k, h),
10036
- onMouseover: (E) => m(E, k, h),
10037
- onMouseout: (E) => g(E, k, h)
10030
+ class: B(M, h),
10031
+ id: S(M, h),
10032
+ key: S(M, h),
10033
+ style: b(M, h),
10034
+ onClick: (E) => I(M, h, E),
10035
+ onMouseenter: (E) => p(E, M, h),
10036
+ onMouseover: (E) => m(E, M, h),
10037
+ onMouseout: (E) => g(E, M, h)
10038
10038
  }, [u.value && f("div", {
10039
10039
  class: "f-list-select",
10040
10040
  onClick: (E) => E.stopPropagation()
10041
10041
  }, [f(un, {
10042
- id: "list-" + w(k, h),
10042
+ id: "list-" + S(M, h),
10043
10043
  customClass: "listview-checkbox",
10044
- disabled: k[d.value] || !k.checked,
10045
- checked: k.checked,
10046
- "onUpdate:checked": (E) => k.checked = E,
10047
- onChange: (E) => O(k, h, !E.checked)
10044
+ disabled: M[d.value] || !M.checked,
10045
+ checked: M.checked,
10046
+ "onUpdate:checked": (E) => M.checked = E,
10047
+ onChange: (E) => O(M, h, !E.checked)
10048
10048
  }, null)]), f("div", {
10049
10049
  class: "f-list-content"
10050
- }, [F(k, h, C)])]);
10050
+ }, [F(M, h, C)])]);
10051
10051
  }
10052
10052
  return {
10053
- renderItem: x
10053
+ renderItem: w
10054
10054
  };
10055
10055
  }
10056
10056
  function Zc(e, t, n, o, a, i, l, s, c, r) {
@@ -10059,15 +10059,15 @@ function Zc(e, t, n, o, a, i, l, s, c, r) {
10059
10059
  onMouseoverItem: m,
10060
10060
  onMouseoutItem: g
10061
10061
  } = i, {
10062
- getKey: w,
10062
+ getKey: S,
10063
10063
  listViewItemClass: B,
10064
10064
  onCheckItem: b,
10065
10065
  onClickItem: O
10066
10066
  } = l, {
10067
- dragstart: T,
10067
+ dragstart: I,
10068
10068
  dragenter: F,
10069
- dragover: x,
10070
- dragend: k
10069
+ dragover: w,
10070
+ dragend: M
10071
10071
  } = o, {
10072
10072
  removeItem: h
10073
10073
  } = c, C = D(() => ({
@@ -10077,35 +10077,35 @@ function Zc(e, t, n, o, a, i, l, s, c, r) {
10077
10077
  const V = R.target;
10078
10078
  V.title = V.scrollWidth > V.clientWidth ? j : "";
10079
10079
  }
10080
- function S(R) {
10080
+ function x(R) {
10081
10081
  return f("div", {
10082
10082
  style: C.value,
10083
10083
  onMouseenter: (j) => E(j, R.raw[v.value || "name"])
10084
10084
  }, [R.raw[v.value || "name"]]);
10085
10085
  }
10086
- function I() {
10087
- return t.slots.itemContent ? t.slots.itemContent : S;
10086
+ function T() {
10087
+ return t.slots.itemContent ? t.slots.itemContent : x;
10088
10088
  }
10089
- const P = I();
10090
- function M(R, j, V) {
10089
+ const k = T();
10090
+ function P(R, j, V) {
10091
10091
  return f("li", {
10092
10092
  class: B(R, j),
10093
- id: w(R, j),
10094
- key: w(R, j),
10093
+ id: S(R, j),
10094
+ key: S(R, j),
10095
10095
  onClick: ($) => O(R, j, $),
10096
10096
  onMouseenter: ($) => p($, R, j),
10097
10097
  onMouseover: ($) => m($, R, j),
10098
10098
  onMouseout: ($) => g($, R, j),
10099
10099
  draggable: "true",
10100
- onDragstart: ($) => T($, R, j),
10100
+ onDragstart: ($) => I($, R, j),
10101
10101
  onDragenter: ($) => F($, j),
10102
- onDragend: ($) => k($, R),
10103
- onDragover: ($) => x($)
10102
+ onDragend: ($) => M($, R),
10103
+ onDragover: ($) => w($)
10104
10104
  }, [u.value && f("div", {
10105
10105
  class: "f-list-select",
10106
10106
  onClick: ($) => $.stopPropagation()
10107
10107
  }, [f(un, {
10108
- id: "list-" + w(R, j),
10108
+ id: "list-" + S(R, j),
10109
10109
  customClass: "listview-checkbox",
10110
10110
  disabled: R[d.value] || !R.checked,
10111
10111
  checked: R.checked,
@@ -10113,7 +10113,7 @@ function Zc(e, t, n, o, a, i, l, s, c, r) {
10113
10113
  onChange: ($) => b(R, j, !$.checked)
10114
10114
  }, null)]), f("div", {
10115
10115
  class: "f-list-content"
10116
- }, [P(R)]), f("div", {
10116
+ }, [k(R)]), f("div", {
10117
10117
  class: "f-list-remove",
10118
10118
  onClick: ($) => h(j)
10119
10119
  }, [f("div", {
@@ -10127,12 +10127,12 @@ function Zc(e, t, n, o, a, i, l, s, c, r) {
10127
10127
  }, null)])])]);
10128
10128
  }
10129
10129
  return {
10130
- renderItem: M
10130
+ renderItem: P
10131
10131
  };
10132
10132
  }
10133
10133
  function Kc(e, t, n, o, a, i, l, s, c, r) {
10134
- var w;
10135
- const u = y(((w = e.group) == null ? void 0 : w.groupFields) || []), {
10134
+ var S;
10135
+ const u = y(((S = e.group) == null ? void 0 : S.groupFields) || []), {
10136
10136
  collpaseGroupIconClass: d
10137
10137
  } = a, {
10138
10138
  toggleGroupRow: v
@@ -10147,7 +10147,7 @@ function Kc(e, t, n, o, a, i, l, s, c, r) {
10147
10147
  selectedItem: O
10148
10148
  })]) : f("div", {
10149
10149
  class: "f-navlookup-recentHeader",
10150
- onClick: (T) => p(T, B)
10150
+ onClick: (I) => p(I, B)
10151
10151
  }, [f("div", {
10152
10152
  class: "fv-grid-group-row-icon"
10153
10153
  }, [f("span", {
@@ -10178,7 +10178,7 @@ function eu(e, t, n, o) {
10178
10178
  function tu(e, t, n, o, a, i, l, s, c, r) {
10179
10179
  const {
10180
10180
  t: u
10181
- } = Ue(), d = y(e.view), v = y(e.view === "CardView"), p = y({}), m = y(u("listView.emptyMessage")), g = eu(e, t, o, c), w = D(() => ({
10181
+ } = Ue(), d = y(e.view), v = y(e.view === "CardView"), p = y({}), m = y(u("listView.emptyMessage")), g = eu(e, t, o, c), S = D(() => ({
10182
10182
  "f-list-view-group": !0,
10183
10183
  "f-list-view-group-multiselect": e.multiSelect,
10184
10184
  "d-flex": v.value,
@@ -10188,13 +10188,13 @@ function tu(e, t, n, o, a, i, l, s, c, r) {
10188
10188
  function O() {
10189
10189
  return d.value === "SingleView" ? Dn : d.value === "DraggableView" ? Zc : (d.value === "ContentView" || d.value === "CardView") && (e.contentTemplate || t.slots.content) ? Qc : Dn;
10190
10190
  }
10191
- const T = O(), {
10191
+ const I = O(), {
10192
10192
  renderItem: F
10193
- } = T(e, t, n, r, a, i, c, l, g, s), {
10194
- renderItem: x
10195
- } = Kc(e, t, n, r, a, i, c, l, g, s), k = [F, x];
10193
+ } = I(e, t, n, r, a, i, c, l, g, s), {
10194
+ renderItem: w
10195
+ } = Kc(e, t, n, r, a, i, c, l, g, s), M = [F, w];
10196
10196
  function h() {
10197
- return n.value.filter((S) => S.visible !== !1).map((S, I) => k[S.type](S, I, p));
10197
+ return n.value.filter((x) => x.visible !== !1).map((x, T) => M[x.type](x, T, p));
10198
10198
  }
10199
10199
  function C() {
10200
10200
  return f("div", {
@@ -10206,7 +10206,7 @@ function tu(e, t, n, o, a, i, l, s, c, r) {
10206
10206
  }
10207
10207
  function E() {
10208
10208
  return f("ul", {
10209
- class: w.value,
10209
+ class: S.value,
10210
10210
  style: "list-style: none;"
10211
10211
  }, [B.value && h(), b.value && C()]);
10212
10212
  }
@@ -10312,15 +10312,15 @@ function ou() {
10312
10312
  function au(e, t, n, o) {
10313
10313
  const a = y(e.idField), { dataView: i } = n, l = y(-1), s = y(!1), { activeIndex: c, focusedItemId: r, hoverIndex: u, resumeHover: d, suspendHover: v } = o;
10314
10314
  let p, m = 0, g = 0;
10315
- function w(x, k) {
10316
- const h = x - m, C = k - g;
10317
- p.style.left = parseInt(p.style.left) + h + "px", p.style.top = parseInt(p.style.top) + C + "px", m = x, g = k;
10315
+ function S(w, M) {
10316
+ const h = w - m, C = M - g;
10317
+ p.style.left = parseInt(p.style.left) + h + "px", p.style.top = parseInt(p.style.top) + C + "px", m = w, g = M;
10318
10318
  }
10319
- function B(x) {
10320
- const { left: k, top: h } = x.getBoundingClientRect(), C = x.cloneNode(!0);
10319
+ function B(w) {
10320
+ const { left: M, top: h } = w.getBoundingClientRect(), C = w.cloneNode(!0);
10321
10321
  return C.style.cssText = `
10322
10322
  position:absolute;
10323
- left:${k}px;
10323
+ left:${M}px;
10324
10324
  top:${document.documentElement.scrollTop ? h + document.documentElement.scrollTop : h}px;
10325
10325
  z-index: 999999;
10326
10326
  border: 1px solid #e2e3e5;
@@ -10332,42 +10332,42 @@ function au(e, t, n, o) {
10332
10332
  align-items: center;
10333
10333
  float: none;
10334
10334
  text-align: initial;
10335
- width:${getComputedStyle(x).width};
10336
- height:${getComputedStyle(x).height};
10335
+ width:${getComputedStyle(w).width};
10336
+ height:${getComputedStyle(w).height};
10337
10337
  `, C.children[0].style.cssText = "overflow: hidden;flex: 1 1 auto;width: 100%;", C.children[0].children[0].style.cssText = `
10338
10338
  margin: 10px 0px 10px 14px;
10339
10339
  overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
10340
10340
  `, C.children[1].style.cssText = "width: 30px;color: #f4625f;padding: 0 14px 0 0", C.children[2].style.cssText = "padding: 0 14px 0 0;", document.body.appendChild(C), C;
10341
10341
  }
10342
- function b(x, k, h) {
10343
- if (x.stopPropagation(), v(), k) {
10344
- if (p = B(x.target), x.dataTransfer) {
10342
+ function b(w, M, h) {
10343
+ if (w.stopPropagation(), v(), M) {
10344
+ if (p = B(w.target), w.dataTransfer) {
10345
10345
  const C = new Image();
10346
- C.src = "", x.dataTransfer.setDragImage(C, 0, 0);
10346
+ C.src = "", w.dataTransfer.setDragImage(C, 0, 0);
10347
10347
  }
10348
- m = x.pageX, g = x.pageY, setTimeout(() => {
10349
- l.value = h, s.value = !0, k.moving = !0;
10348
+ m = w.pageX, g = w.pageY, setTimeout(() => {
10349
+ l.value = h, s.value = !0, M.moving = !0;
10350
10350
  });
10351
10351
  }
10352
10352
  }
10353
- function O(x, k) {
10354
- if (x.preventDefault(), l.value !== k) {
10353
+ function O(w, M) {
10354
+ if (w.preventDefault(), l.value !== M) {
10355
10355
  const h = i.value[l.value], C = i.value;
10356
- C.splice(l.value, 1), C.splice(k, 0, h), l.value = k, w(x.pageX, x.pageY);
10356
+ C.splice(l.value, 1), C.splice(M, 0, h), l.value = M, S(w.pageX, w.pageY);
10357
10357
  }
10358
10358
  }
10359
- function T(x) {
10360
- x.preventDefault(), x.dataTransfer && (x.dataTransfer.dropEffect = "move"), w(x.pageX, x.pageY);
10359
+ function I(w) {
10360
+ w.preventDefault(), w.dataTransfer && (w.dataTransfer.dropEffect = "move"), S(w.pageX, w.pageY);
10361
10361
  }
10362
- function F(x, k) {
10363
- k && (k.moving = !1, p && (document.body.removeChild(p), p = null)), i.value.forEach((h, C) => {
10362
+ function F(w, M) {
10363
+ M && (M.moving = !1, p && (document.body.removeChild(p), p = null)), i.value.forEach((h, C) => {
10364
10364
  h.__fv_index__ = C;
10365
- }), s.value = !1, d(), u.value = k.raw.__fv_index__, c.value = k.raw.__fv_index__, r.value = k.raw[a.value], t.emit("change", i.value), t.emit("activeChange", [k.raw]);
10365
+ }), s.value = !1, d(), u.value = M.raw.__fv_index__, c.value = M.raw.__fv_index__, r.value = M.raw[a.value], t.emit("change", i.value), t.emit("activeChange", [M.raw]);
10366
10366
  }
10367
10367
  return {
10368
10368
  dragstart: b,
10369
10369
  dragenter: O,
10370
- dragover: T,
10370
+ dragover: I,
10371
10371
  dragend: F,
10372
10372
  isDragging: s
10373
10373
  };
@@ -10375,72 +10375,72 @@ function au(e, t, n, o) {
10375
10375
  function iu(e, t, n, o, a, i) {
10376
10376
  const l = y(e.idField), s = y(e.disableField), c = y(e.draggable);
10377
10377
  y(e.itemClass);
10378
- const r = y(e.selection.multiSelect ?? !1), u = y(e.selection.multiSelectMode), { isDragging: d } = o, { activeIndex: v, focusedItemId: p, hoverIndex: m } = a, { clearSelection: g, getSelectedItems: w, toggleSelectItem: B, currentSelectedDataId: b } = i, O = y(w()), T = (M) => O.value.length === 0 ? !1 : O.value.some((R) => {
10378
+ const r = y(e.selection.multiSelect ?? !1), u = y(e.selection.multiSelectMode), { isDragging: d } = o, { activeIndex: v, focusedItemId: p, hoverIndex: m } = a, { clearSelection: g, getSelectedItems: S, toggleSelectItem: B, currentSelectedDataId: b } = i, O = y(S()), I = (P) => O.value.length === 0 ? !1 : O.value.some((R) => {
10379
10379
  let j = "";
10380
- return R.data ? j = R.data[l.value] : j = R[l.value], j === M;
10380
+ return R.data ? j = R.data[l.value] : j = R[l.value], j === P;
10381
10381
  });
10382
10382
  function F() {
10383
- O.value = w();
10383
+ O.value = S();
10384
10384
  }
10385
- function x(M, R) {
10386
- return M.raw[l.value] != null ? M.raw[l.value] : "";
10385
+ function w(P, R) {
10386
+ return P.raw[l.value] != null ? P.raw[l.value] : "";
10387
10387
  }
10388
- function k(M, R) {
10388
+ function M(P, R) {
10389
10389
  const j = {
10390
10390
  "f-list-view-group-item": !0,
10391
10391
  "f-list-view-draggable-item": c.value,
10392
- "f-un-click": !M.checked,
10393
- "f-un-select": !!M.raw[s.value],
10392
+ "f-un-click": !P.checked,
10393
+ "f-un-select": !!P.raw[s.value],
10394
10394
  "f-listview-active": (
10395
10395
  // 多选
10396
- r.value && T(x(M)) || // 单选
10397
- !r.value && M.raw[l.value] === b.value
10396
+ r.value && I(w(P)) || // 单选
10397
+ !r.value && P.raw[l.value] === b.value
10398
10398
  ),
10399
10399
  "f-listview-hover": !d.value && R === m.value,
10400
- moving: !!M.moving
10400
+ moving: !!P.moving
10401
10401
  };
10402
10402
  if (typeof e.itemClass == "string")
10403
10403
  return je(j, e.itemClass);
10404
10404
  if (typeof e.itemClass == "function") {
10405
- const V = e.itemClass(M);
10405
+ const V = e.itemClass(P);
10406
10406
  return je(j, V);
10407
10407
  }
10408
10408
  return j;
10409
10409
  }
10410
- function h(M, R) {
10410
+ function h(P, R) {
10411
10411
  const j = (
10412
10412
  // 多选
10413
- r.value && T(x(M)) || // 单选
10414
- !r.value && M.raw[l.value] === b.value
10413
+ r.value && I(w(P)) || // 单选
10414
+ !r.value && P.raw[l.value] === b.value
10415
10415
  ), V = {};
10416
10416
  if (j && (V.backgroundColor = "#dae9ff"), typeof e.itemStyle == "string")
10417
10417
  return Mn(V, e.itemStyle);
10418
10418
  if (typeof e.itemStyle == "function") {
10419
- const $ = e.itemStyle(M);
10419
+ const $ = e.itemStyle(P);
10420
10420
  return Mn(V, $);
10421
10421
  }
10422
10422
  return V;
10423
10423
  }
10424
10424
  const C = D(() => !r.value);
10425
- function E(M, R, j) {
10426
- M.checked = j, !M.raw[s.value] && (C.value && (p.value = M.raw[l.value]), B(M));
10425
+ function E(P, R, j) {
10426
+ P.checked = j, !P.raw[s.value] && (C.value && (p.value = P.raw[l.value]), B(P));
10427
10427
  }
10428
- const S = D(() => r.value && u.value === "OnCheckClearByClick"), I = D(() => !r.value || r.value && (u.value === "OnCheckAndClick" || u.value === "OnClick"));
10429
- function P(M, R, j) {
10430
- if (M.raw[s.value]) {
10428
+ const x = D(() => r.value && u.value === "OnCheckClearByClick"), T = D(() => !r.value || r.value && (u.value === "OnCheckAndClick" || u.value === "OnClick"));
10429
+ function k(P, R, j) {
10430
+ if (P.raw[s.value]) {
10431
10431
  j == null || j.preventDefault(), j == null || j.stopPropagation();
10432
10432
  return;
10433
10433
  }
10434
- p.value = M.raw[l.value], v.value = R, S.value && g(), I.value && (B(M), F()), t.emit("clickItem", { data: O.value, index: R, dataItem: M.raw }), t.emit("activeChange", O.value);
10434
+ p.value = P.raw[l.value], v.value = R, x.value && g(), T.value && (B(P), F()), t.emit("clickItem", { data: O.value, index: R, dataItem: P.raw }), t.emit("activeChange", O.value);
10435
10435
  }
10436
10436
  return {
10437
- getKey: x,
10437
+ getKey: w,
10438
10438
  selectedItems: O,
10439
- listViewItemClass: k,
10439
+ listViewItemClass: M,
10440
10440
  listViewItemStyle: h,
10441
10441
  updateSelectedItems: F,
10442
10442
  onCheckItem: E,
10443
- onClickItem: P
10443
+ onClickItem: k
10444
10444
  };
10445
10445
  }
10446
10446
  const nt = /* @__PURE__ */ he({
@@ -10448,30 +10448,30 @@ const nt = /* @__PURE__ */ he({
10448
10448
  props: Go,
10449
10449
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed"],
10450
10450
  setup(e, t) {
10451
- const n = y(), o = y(!0), a = y(!1), i = y([]), l = 0, s = y(e.columns), c = Wn(e, t), r = qn(e), u = Un(e), d = _n(e, r), v = Gn(e, /* @__PURE__ */ new Map(), c, u, r), p = Xn(e, v, r, i, t), m = Jc(e, n), g = Yn(e, v), w = D(() => v.dataView.value.length), B = Qn(e, t, p, r), b = Zn(e, t, r, B, i), O = Kn(e), T = eo(e, {}, O), F = to(e, v, b, u, r, O, T), x = Qa(e, r, T, F), k = Za(e, r, T, F), h = no(e, s, v, w, l, F, x, k), {
10451
+ const n = y(), o = y(!0), a = y(!1), i = y([]), l = 0, s = y(e.columns), c = Wn(e, t), r = qn(e), u = Un(e), d = _n(e, r), v = Gn(e, /* @__PURE__ */ new Map(), c, u, r), p = Xn(e, v, r, i, t), m = Jc(e, n), g = Yn(e, v), S = D(() => v.dataView.value.length), B = Qn(e, t, p, r), b = Zn(e, t, r, B, i), O = Kn(e), I = eo(e, {}, O), F = to(e, v, b, u, r, O, I), w = Qa(e, r, I, F), M = Za(e, r, I, F), h = no(e, s, v, S, l, F, w, M), {
10452
10452
  getVisualData: C
10453
10453
  } = h;
10454
- i.value = C(0, w.value + l - 1);
10454
+ i.value = C(0, S.value + l - 1);
10455
10455
  const E = D(() => {
10456
10456
  const oe = {
10457
10457
  "f-list-view": !0,
10458
10458
  "f-list-view-multiple": e.multiSelect
10459
10459
  };
10460
10460
  return e.size !== "default" && (oe[`${e.size}-item`] = !0), je(oe, e.customClass);
10461
- }), S = D(() => !!t.slots.footer || o.value);
10462
- function I() {
10461
+ }), x = D(() => !!t.slots.footer || o.value);
10462
+ function T() {
10463
10463
  return e.header === "SearchBar" ? On : e.header === "ContentHeader" ? nu : On;
10464
10464
  }
10465
- const P = I(), {
10466
- renderHeader: M
10467
- } = P(e, t, m), R = ou(), j = au(e, t, v, R), V = iu(e, t, i, j, R, p), {
10465
+ const k = T(), {
10466
+ renderHeader: P
10467
+ } = k(e, t, m), R = ou(), j = au(e, t, v, R), V = iu(e, t, i, j, R, p), {
10468
10468
  renderListArea: $
10469
10469
  } = tu(e, t, i, v, d, R, p, h, V, j);
10470
10470
  function A(oe) {
10471
10471
  m.search(oe);
10472
10472
  }
10473
10473
  function z(oe) {
10474
- oe && (v.load(oe), i.value = C(0, w.value + l - 1));
10474
+ oe && (v.load(oe), i.value = C(0, S.value + l - 1));
10475
10475
  }
10476
10476
  function H() {
10477
10477
  p.clearSelection(), R.clearActiveItem();
@@ -10527,11 +10527,11 @@ const nt = /* @__PURE__ */ he({
10527
10527
  applyColumnSorter: ne,
10528
10528
  columnContext: se,
10529
10529
  updateColumnRenderContext: fe
10530
- } = X, ke = ao(e, v, i, se, h, w, l, q, b);
10530
+ } = X, ke = ao(e, v, i, se, h, S, l, q, b);
10531
10531
  return io(e, t, v, ke, g, p), () => f("div", {
10532
10532
  class: E.value,
10533
10533
  onClick: ue
10534
- }, [M(), f("div", {
10534
+ }, [P(), f("div", {
10535
10535
  ref: n,
10536
10536
  class: "f-list-view-content",
10537
10537
  onMouseover: () => {
@@ -10540,7 +10540,7 @@ const nt = /* @__PURE__ */ he({
10540
10540
  onMouseleave: () => {
10541
10541
  a.value = !1;
10542
10542
  }
10543
- }, [$()]), S.value && f("div", {
10543
+ }, [$()]), x.value && f("div", {
10544
10544
  class: "f-list-view-footer"
10545
10545
  }, [e.footerTemplate ? e.footerTemplate() : t.slots.footer && t.slots.footer()])]);
10546
10546
  }
@@ -11035,7 +11035,7 @@ function Zo(e, t, n, o, a) {
11035
11035
  pageSize: t.value
11036
11036
  });
11037
11037
  }
11038
- function w() {
11038
+ function S() {
11039
11039
  return f("li", {
11040
11040
  class: "pagination-pagelist"
11041
11041
  }, [f("div", {
@@ -11061,7 +11061,7 @@ function Zo(e, t, n, o, a) {
11061
11061
  }, [f("span", null, [B])]))])])]);
11062
11062
  }
11063
11063
  return {
11064
- renderPageList: w
11064
+ renderPageList: S
11065
11065
  };
11066
11066
  }
11067
11067
  function Ko(e, t, n, o, a) {
@@ -11172,8 +11172,8 @@ function ta(e) {
11172
11172
  const c = [], r = Math.ceil(l / i), u = Math.ceil(s / 2), d = a <= u, v = r - u < a, p = !d && !v, m = s < r;
11173
11173
  let g = 1;
11174
11174
  for (; g <= r && g <= s; ) {
11175
- const w = n(g, a, s, r), B = g === 2 && (p || v), b = g === s - 1 && (p || d), O = m && (B || b) ? "..." : "" + w;
11176
- c.push({ label: O, value: w }), g++;
11175
+ const S = n(g, a, s, r), B = g === 2 && (p || v), b = g === s - 1 && (p || d), O = m && (B || b) ? "..." : "" + S;
11176
+ c.push({ label: O, value: S }), g++;
11177
11177
  }
11178
11178
  t.value = c;
11179
11179
  }
@@ -11196,18 +11196,18 @@ const bt = /* @__PURE__ */ he({
11196
11196
  background: "rgba(250,250,252,.6)",
11197
11197
  width: "100%",
11198
11198
  height: "100%"
11199
- }, p = D(() => !c.value || s.value === 1), m = D(() => e.pageList), g = D(() => Math.ceil(c.value / l.value)), w = D(() => !c.value || s.value === g.value), B = D(() => e.showGoButton), b = D(() => !!c.value && s.value > 1), O = D(() => !(i.value && r.value.length <= 1)), T = D(() => e.showPageInfo), F = D(() => e.showPageList), x = D(() => e.showPageNumbers), k = D(() => !0), {
11199
+ }, p = D(() => !c.value || s.value === 1), m = D(() => e.pageList), g = D(() => Math.ceil(c.value / l.value)), S = D(() => !c.value || s.value === g.value), B = D(() => e.showGoButton), b = D(() => !!c.value && s.value > 1), O = D(() => !(i.value && r.value.length <= 1)), I = D(() => e.showPageInfo), F = D(() => e.showPageList), w = D(() => e.showPageNumbers), M = D(() => !0), {
11200
11200
  renderFirstPage: h,
11201
11201
  renderPreviousPage: C
11202
11202
  } = ea(s, p, b, l, t), {
11203
11203
  renderLastPage: E,
11204
- renderNextPage: S
11205
- } = Jo(s, w, g, l, t), {
11206
- renderPageInfo: I
11204
+ renderNextPage: x
11205
+ } = Jo(s, S, g, l, t), {
11206
+ renderPageInfo: T
11207
11207
  } = Qo(a, c), {
11208
- renderPageList: P
11208
+ renderPageList: k
11209
11209
  } = Zo(s, l, m, c, t), {
11210
- renderPageNumbers: M
11210
+ renderPageNumbers: P
11211
11211
  } = Ko(e, s, r, l, t), {
11212
11212
  renderGotoButton: R
11213
11213
  } = Yo(s, g, l, t);
@@ -11238,12 +11238,12 @@ const bt = /* @__PURE__ */ he({
11238
11238
  "justify-content": a.value === "center" ? "center" : "start"
11239
11239
  }));
11240
11240
  function A() {
11241
- return f(Be, null, [T.value && I(), F.value && P(), k.value && h(), k.value && C(), x.value && M(), k.value && S(), k.value && E(), B.value && R()]);
11241
+ return f(Be, null, [I.value && T(), F.value && k(), M.value && h(), M.value && C(), w.value && P(), M.value && x(), M.value && E(), B.value && R()]);
11242
11242
  }
11243
11243
  function z() {
11244
11244
  return f(Be, null, [f("li", {
11245
11245
  class: "page-item d-flex flex-fill"
11246
- }, null), k.value && h(), k.value && C(), R(), f("li", {
11246
+ }, null), M.value && h(), M.value && C(), R(), f("li", {
11247
11247
  class: "page-item page-separator",
11248
11248
  style: "margin-left: 10px"
11249
11249
  }, [f("span", {
@@ -11253,7 +11253,7 @@ const bt = /* @__PURE__ */ he({
11253
11253
  style: "margin-left: 5px"
11254
11254
  }, [f("span", {
11255
11255
  style: "font-size: 16px; font-weight: 600;"
11256
- }, [Se(" "), g.value])]), k.value && S(), k.value && E()]);
11256
+ }, [Se(" "), g.value])]), M.value && x(), M.value && E()]);
11257
11257
  }
11258
11258
  return () => f("div", {
11259
11259
  class: "pagination-container",
@@ -11278,21 +11278,21 @@ const bt = /* @__PURE__ */ he({
11278
11278
  const {
11279
11279
  pages: v,
11280
11280
  updatePages: p
11281
- } = ta(), m = D(() => s.value === 1), g = D(() => [20, 50, 100]), w = D(() => Math.ceil(c.value / l.value)), B = D(() => s.value === w.value), b = D(() => !0), O = D(() => s.value > 1), T = D(() => !(i.value && v.value.length <= 1)), F = D(() => !0), x = D(() => !0), k = D(() => !0), h = D(() => !0), {
11281
+ } = ta(), m = D(() => s.value === 1), g = D(() => [20, 50, 100]), S = D(() => Math.ceil(c.value / l.value)), B = D(() => s.value === S.value), b = D(() => !0), O = D(() => s.value > 1), I = D(() => !(i.value && v.value.length <= 1)), F = D(() => !0), w = D(() => !0), M = D(() => !0), h = D(() => !0), {
11282
11282
  renderFirstPage: C,
11283
11283
  renderPreviousPage: E
11284
11284
  } = ea(s, m, O, l, t), {
11285
- renderLastPage: S,
11286
- renderNextPage: I
11287
- } = Jo(s, B, w, l, t), {
11288
- renderPageInfo: P
11285
+ renderLastPage: x,
11286
+ renderNextPage: T
11287
+ } = Jo(s, B, S, l, t), {
11288
+ renderPageInfo: k
11289
11289
  } = Qo(a, c), {
11290
- renderPageList: M
11290
+ renderPageList: P
11291
11291
  } = Zo(s, l, g, c, t), {
11292
11292
  renderPageNumbers: R
11293
11293
  } = Ko(e, s, v, l, t), {
11294
11294
  renderGotoButton: j
11295
- } = Yo(s, w, l, t);
11295
+ } = Yo(s, S, l, t);
11296
11296
  p(s.value, l.value, c.value, 7), te([s, l], () => {
11297
11297
  p(s.value, l.value, c.value, 7);
11298
11298
  }), te(s, () => {
@@ -11311,7 +11311,7 @@ const bt = /* @__PURE__ */ he({
11311
11311
  "justify-content": a.value === "center" ? "center" : "start"
11312
11312
  }));
11313
11313
  function A() {
11314
- return f(Be, null, [F.value && P(), x.value && M(), h.value && C(), h.value && E(), k.value && R(), h.value && I(), h.value && S(), b.value && j()]);
11314
+ return f(Be, null, [F.value && k(), w.value && P(), h.value && C(), h.value && E(), M.value && R(), h.value && T(), h.value && x(), b.value && j()]);
11315
11315
  }
11316
11316
  function z() {
11317
11317
  return f(Be, null, [f("li", {
@@ -11326,12 +11326,12 @@ const bt = /* @__PURE__ */ he({
11326
11326
  style: "margin-left: 5px"
11327
11327
  }, [f("span", {
11328
11328
  style: "font-size: 16px; font-weight: 600;"
11329
- }, [Se(" "), w.value])]), h.value && I(), h.value && S()]);
11329
+ }, [Se(" "), S.value])]), h.value && T(), h.value && x()]);
11330
11330
  }
11331
11331
  return () => f("div", {
11332
11332
  ref: r,
11333
11333
  class: "pagination-container"
11334
- }, [T.value && f("ul", {
11334
+ }, [I.value && f("ul", {
11335
11335
  role: "navigation",
11336
11336
  class: V.value,
11337
11337
  style: $.value
@@ -11372,17 +11372,17 @@ const _t = {
11372
11372
  enable: e.enableGroup,
11373
11373
  groupFields: [e.groupField || "category"]
11374
11374
  }, a = y([]), i = y(), l = y([]), s = ye("F_SCHEMA_SELECTOR_SEARCH_VALUE"), c = y(e.pagination), r = y(1), u = y(0), d = y(21), v = y([21]);
11375
- function p(T) {
11376
- i.value.updateDataSource(T);
11375
+ function p(I) {
11376
+ i.value.updateDataSource(I);
11377
11377
  }
11378
- te(() => s == null ? void 0 : s.value, (T, F) => {
11379
- let x = a.value;
11380
- T && T !== F && (x = a.value.filter((k) => `${k.name} ${k.code}`.toLowerCase().indexOf(T.toLowerCase()) > -1)), l.value = x, p(l.value), c.value = e.pagination && !T;
11378
+ te(() => s == null ? void 0 : s.value, (I, F) => {
11379
+ let w = a.value;
11380
+ I && I !== F && (w = a.value.filter((M) => `${M.name} ${M.code}`.toLowerCase().indexOf(I.toLowerCase()) > -1)), l.value = w, p(l.value), c.value = e.pagination && !I;
11381
11381
  });
11382
11382
  function m({
11383
- item: T,
11383
+ item: I,
11384
11384
  index: F,
11385
- selectedItem: x
11385
+ selectedItem: w
11386
11386
  }) {
11387
11387
  return f("div", {
11388
11388
  class: "f-navForm-item"
@@ -11397,19 +11397,19 @@ const _t = {
11397
11397
  class: "f-navForm-rightText"
11398
11398
  }, [f("div", {
11399
11399
  class: "f-navForm-name",
11400
- title: `${T.name}(${T.code})`
11401
- }, [T.name, Se("("), T.code, Se(")")]), f("div", {
11400
+ title: `${I.name}(${I.code})`
11401
+ }, [I.name, Se("("), I.code, Se(")")]), f("div", {
11402
11402
  class: "f-navForm-source",
11403
- title: T.nameSpace
11404
- }, [T.nameSpace])])]);
11403
+ title: I.nameSpace
11404
+ }, [I.nameSpace])])]);
11405
11405
  }
11406
- function g(T) {
11406
+ function g(I) {
11407
11407
  const {
11408
11408
  pageIndex: F
11409
- } = T, x = (F - 1) * d.value, k = x + d.value, h = a.value.slice(x, k);
11409
+ } = I, w = (F - 1) * d.value, M = w + d.value, h = a.value.slice(w, M);
11410
11410
  p(h);
11411
11411
  }
11412
- function w() {
11412
+ function S() {
11413
11413
  return c.value && f(bt, {
11414
11414
  style: "float:right;",
11415
11415
  mode: "default",
@@ -11422,18 +11422,18 @@ const _t = {
11422
11422
  onPageIndexChanged: g
11423
11423
  }, null);
11424
11424
  }
11425
- function B(T) {
11426
- t.emit("selectionChange", T);
11425
+ function B(I) {
11426
+ t.emit("selectionChange", I);
11427
11427
  }
11428
11428
  async function b() {
11429
- var k;
11430
- const T = ye("FLoadingService", null), F = T == null ? void 0 : T.show(), x = await n("", {
11429
+ var M;
11430
+ const I = ye("FLoadingService", null), F = I == null ? void 0 : I.show(), w = await n("", {
11431
11431
  pageIndex: 1,
11432
11432
  pageSize: 1
11433
11433
  }, e.editorParams);
11434
- a.value = x, l.value = x, p(l.value), u.value = x.length, g({
11434
+ a.value = w, l.value = w, p(l.value), u.value = w.length, g({
11435
11435
  pageIndex: 1
11436
- }), (k = F.value) == null || k.close();
11436
+ }), (M = F.value) == null || M.close();
11437
11437
  }
11438
11438
  Ce(() => {
11439
11439
  b();
@@ -11449,10 +11449,10 @@ const _t = {
11449
11449
  group: o,
11450
11450
  view: "CardView",
11451
11451
  class: "h-100",
11452
- onSelectionChange: (T) => B(T)
11452
+ onSelectionChange: (I) => B(I)
11453
11453
  }, {
11454
11454
  content: m,
11455
- footer: w
11455
+ footer: S
11456
11456
  });
11457
11457
  }
11458
11458
  }), xu = /* @__PURE__ */ he({
@@ -11532,7 +11532,7 @@ const _t = {
11532
11532
  function g(h) {
11533
11533
  t.emit("selectionChange", h), u.value = h[0];
11534
11534
  }
11535
- function w(h) {
11535
+ function S(h) {
11536
11536
  r.value && (r.value.clearSelection(), r.value.updateDataSource(h), r.value.updateSelectionByIds([]));
11537
11537
  }
11538
11538
  function B() {
@@ -11540,17 +11540,17 @@ const _t = {
11540
11540
  let h = et(s.value);
11541
11541
  if (l.value && (h = s.value.filter((E) => `${E.name} ${E.code}`.toLowerCase().indexOf(l.value.toLowerCase()) > -1)), (C = i.value) != null && C.id && i.value.id !== "all") {
11542
11542
  const E = i.value.contains || [];
11543
- h = h.filter((S) => E.includes(S.code));
11543
+ h = h.filter((x) => E.includes(x.code));
11544
11544
  }
11545
- c.value = h, w(c.value);
11545
+ c.value = h, S(c.value);
11546
11546
  }
11547
11547
  async function b() {
11548
- var S;
11548
+ var x;
11549
11549
  const h = ye("FLoadingService", null), C = h == null ? void 0 : h.show(), E = await n("", {
11550
11550
  pageIndex: 1,
11551
11551
  pageSize: 1
11552
11552
  }, e.editorParams);
11553
- s.value = E, B(), (S = C.value) == null || S.close();
11553
+ s.value = E, B(), (x = C.value) == null || x.close();
11554
11554
  }
11555
11555
  Ce(() => {
11556
11556
  b(), a != null && a.length && d.value.activeRowById(a[0].code);
@@ -11559,20 +11559,20 @@ const _t = {
11559
11559
  var C;
11560
11560
  ((C = i.value) == null ? void 0 : C.id) !== h[0].id && (i.value = h[0], B(), u.value = null);
11561
11561
  }
11562
- function T(h) {
11562
+ function I(h) {
11563
11563
  l.value = h, B(), u.value = null;
11564
11564
  }
11565
11565
  function F() {
11566
11566
  l.value = "", B(), u.value = null;
11567
11567
  }
11568
- function x() {
11568
+ function w() {
11569
11569
  return f("div", {
11570
11570
  class: "f-datagrid-norecords"
11571
11571
  }, [f("div", {
11572
11572
  class: "f-datagrid-norecords-content"
11573
11573
  }, [Se(" 暂无数据")])]);
11574
11574
  }
11575
- function k() {
11575
+ function M() {
11576
11576
  if (!(u != null && u.value)) {
11577
11577
  const h = new Po();
11578
11578
  return h.globalConfig = {
@@ -11583,7 +11583,7 @@ const _t = {
11583
11583
  }
11584
11584
  return t.expose({
11585
11585
  selectedController: u,
11586
- validateNavListData: k
11586
+ validateNavListData: M
11587
11587
  }), () => f("div", {
11588
11588
  class: "f-navSelector"
11589
11589
  }, [f("div", {
@@ -11610,7 +11610,7 @@ const _t = {
11610
11610
  customClass: "f-schema-selector-search",
11611
11611
  updateOn: "change",
11612
11612
  placeholder: "请输入名称/编号搜索",
11613
- onChange: T,
11613
+ onChange: I,
11614
11614
  onClear: F
11615
11615
  }, null)])]), f("div", {
11616
11616
  class: "f-navSelector-content"
@@ -11622,7 +11622,7 @@ const _t = {
11622
11622
  onSelectionChange: (h) => g(h)
11623
11623
  }, {
11624
11624
  content: p,
11625
- empty: x
11625
+ empty: w
11626
11626
  })])])]);
11627
11627
  }
11628
11628
  }), Iu = /* @__PURE__ */ he({
@@ -11638,17 +11638,17 @@ const _t = {
11638
11638
  function r(g) {
11639
11639
  n.value.updateDataSource(g);
11640
11640
  }
11641
- te(() => s == null ? void 0 : s.value, (g, w) => {
11641
+ te(() => s == null ? void 0 : s.value, (g, S) => {
11642
11642
  let B = l.value;
11643
- g && g !== w && (B = l.value.filter((b) => `${b.name} ${b.code}`.toLowerCase().indexOf(g.toLowerCase()) > -1)), i.value = B, r(i.value);
11643
+ g && g !== S && (B = l.value.filter((b) => `${b.name} ${b.code}`.toLowerCase().indexOf(g.toLowerCase()) > -1)), i.value = B, r(i.value);
11644
11644
  });
11645
11645
  async function u() {
11646
11646
  var B;
11647
- const g = c == null ? void 0 : c.show(), w = await o("", {
11647
+ const g = c == null ? void 0 : c.show(), S = await o("", {
11648
11648
  pageIndex: 1,
11649
11649
  pageSize: 1
11650
11650
  }, e.editorParams);
11651
- l.value = w, i.value = w, r(i.value), (B = g.value) == null || B.close();
11651
+ l.value = S, i.value = S, r(i.value), (B = g.value) == null || B.close();
11652
11652
  }
11653
11653
  Ce(() => {
11654
11654
  u();
@@ -11661,7 +11661,7 @@ const _t = {
11661
11661
  });
11662
11662
  function v({
11663
11663
  item: g,
11664
- index: w,
11664
+ index: S,
11665
11665
  selectedItem: B
11666
11666
  }) {
11667
11667
  return f("div", {
@@ -11768,54 +11768,54 @@ const ku = {
11768
11768
  g();
11769
11769
  });
11770
11770
  const m = D(() => {
11771
- const x = {
11771
+ const w = {
11772
11772
  visibility: u.value ? "visible" : "hidden",
11773
11773
  transform: "translate(-50%,-50%)"
11774
11774
  };
11775
- return e.target === document.body && (x.position = "fixed"), x;
11775
+ return e.target === document.body && (w.position = "fixed"), w;
11776
11776
  });
11777
11777
  function g() {
11778
11778
  a.value && !v && (v = setTimeout(() => {
11779
11779
  v = null, O(), u.value = !0;
11780
11780
  }, e.delay)), a.value || v && (clearTimeout(v), v = null);
11781
11781
  }
11782
- function w(x) {
11783
- d = x;
11782
+ function S(w) {
11783
+ d = w;
11784
11784
  }
11785
11785
  function B() {
11786
11786
  return d;
11787
11787
  }
11788
- function b(x = () => {
11788
+ function b(w = () => {
11789
11789
  }) {
11790
11790
  a.value = !1, u.value = !1, t.emit("closed", {
11791
11791
  loadingId: d,
11792
- callback: x
11792
+ callback: w
11793
11793
  });
11794
11794
  }
11795
11795
  function O() {
11796
- const x = T();
11797
- c.value && c.value.style && (c.value.style.zIndex = (x + 1).toString()), r.value && r.value.style && (r.value.style.zIndex = (x + 1).toString());
11796
+ const w = I();
11797
+ c.value && c.value.style && (c.value.style.zIndex = (w + 1).toString()), r.value && r.value.style && (r.value.style.zIndex = (w + 1).toString());
11798
11798
  }
11799
- function T(x = 1) {
11800
- const k = ["body>.f-datagrid-settings-simple-host", "body>div", "body>farris-dialog>.farris-modal.show", "body>.farris-modal.show", "body>farris-filter-panel>.f-filter-panel-wrapper", "body .f-sidebar-show>.f-sidebar-main", "body>.popover.show", "body>filter-row-panel>.f-datagrid-filter-panel", "body>.f-section-maximize"], h = Array.from(document.body.querySelectorAll(k.join(","))).filter((E) => E).map((E) => {
11799
+ function I(w = 1) {
11800
+ const M = ["body>.f-datagrid-settings-simple-host", "body>div", "body>farris-dialog>.farris-modal.show", "body>.farris-modal.show", "body>farris-filter-panel>.f-filter-panel-wrapper", "body .f-sidebar-show>.f-sidebar-main", "body>.popover.show", "body>filter-row-panel>.f-datagrid-filter-panel", "body>.f-section-maximize"], h = Array.from(document.body.querySelectorAll(M.join(","))).filter((E) => E).map((E) => {
11801
11801
  const {
11802
- display: S,
11803
- zIndex: I
11802
+ display: x,
11803
+ zIndex: T
11804
11804
  } = window.getComputedStyle(E);
11805
- return S === "none" ? 0 : parseInt(I, 10);
11805
+ return x === "none" ? 0 : parseInt(T, 10);
11806
11806
  }).filter((E) => E);
11807
11807
  let C = Math.max(...h);
11808
- return C < 1040 && (C = 1040), C + x;
11808
+ return C < 1040 && (C = 1040), C + w;
11809
11809
  }
11810
11810
  t.expose({
11811
11811
  close: b,
11812
- setLoadingId: w,
11812
+ setLoadingId: S,
11813
11813
  getLoadingId: B
11814
- }), te(() => e.isActive, (x) => {
11815
- a.value = x, g(), x || b();
11814
+ }), te(() => e.isActive, (w) => {
11815
+ a.value = w, g(), w || b();
11816
11816
  });
11817
- function F(x) {
11818
- x.stopPropagation();
11817
+ function F(w) {
11818
+ w.stopPropagation();
11819
11819
  }
11820
11820
  return () => f(Be, null, [a.value && f("div", {
11821
11821
  ref: c,
@@ -11942,7 +11942,7 @@ const $t = /* @__PURE__ */ he({
11942
11942
  function m() {
11943
11943
  return o.value.map((h, C) => {
11944
11944
  if (a.has(h.type)) {
11945
- const E = a.get(h.type), S = {
11945
+ const E = a.get(h.type), x = {
11946
11946
  enableGroup: h.enableGroup || !1,
11947
11947
  groupField: h.groupField || "category",
11948
11948
  groupFormatter: h.groupFormatter || null,
@@ -11956,11 +11956,11 @@ const $t = /* @__PURE__ */ he({
11956
11956
  class: "container h-100"
11957
11957
  }, {
11958
11958
  default: () => [f(E, Ct({
11959
- ref: (I) => {
11960
- I && (d[C] = I);
11959
+ ref: (T) => {
11960
+ T && (d[C] = T);
11961
11961
  }
11962
- }, S, {
11963
- onSelectionChange: (I) => v(I)
11962
+ }, x, {
11963
+ onSelectionChange: (T) => v(T)
11964
11964
  }), null)]
11965
11965
  });
11966
11966
  }
@@ -11969,7 +11969,7 @@ const $t = /* @__PURE__ */ he({
11969
11969
  function g(h) {
11970
11970
  l.value = h;
11971
11971
  }
11972
- function w() {
11972
+ function S() {
11973
11973
  l.value = "";
11974
11974
  }
11975
11975
  function B() {
@@ -11979,7 +11979,7 @@ const $t = /* @__PURE__ */ he({
11979
11979
  customClass: "f-schema-selector-search",
11980
11980
  placeholder: "请输入名称/编号搜索",
11981
11981
  onChange: g,
11982
- onClear: w
11982
+ onClear: S
11983
11983
  }, null);
11984
11984
  }
11985
11985
  function b() {
@@ -11999,7 +11999,7 @@ const $t = /* @__PURE__ */ he({
11999
11999
  editorParams: e.editorParams
12000
12000
  }, null);
12001
12001
  }
12002
- function T() {
12002
+ function I() {
12003
12003
  t.emit("cancel");
12004
12004
  }
12005
12005
  async function F() {
@@ -12016,15 +12016,15 @@ const $t = /* @__PURE__ */ he({
12016
12016
  t.emit("submit");
12017
12017
  }
12018
12018
  }
12019
- const k = (/* @__PURE__ */ new Map([["Tabs", b], ["NavList", O]])).get(n.value);
12019
+ const M = (/* @__PURE__ */ new Map([["Tabs", b], ["NavList", O]])).get(n.value);
12020
12020
  return () => f("div", {
12021
12021
  class: "f-schema-selector h-100 d-flex flex-column"
12022
- }, [k && k(), e.showFooter ? f("div", {
12022
+ }, [M && M(), e.showFooter ? f("div", {
12023
12023
  class: "modal-footer"
12024
12024
  }, [f("button", {
12025
12025
  type: "button",
12026
12026
  class: "btn btn-secondary",
12027
- onClick: T
12027
+ onClick: I
12028
12028
  }, [Se("取消")]), f("button", {
12029
12029
  type: "button",
12030
12030
  class: "btn btn-primary",
@@ -12259,7 +12259,7 @@ function Au(e, t, n, o, a) {
12259
12259
  })), { judgeCanOpen: c } = aa(e, a), r = D(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), u = ye(Vo, null), d = y();
12260
12260
  async function v(g) {
12261
12261
  if (await c() && r.value) {
12262
- const w = !!t.slots.default;
12262
+ const S = !!t.slots.default;
12263
12263
  if (i.value === "Modal") {
12264
12264
  const B = e.modalOptions, b = u == null ? void 0 : u.open({
12265
12265
  ...B,
@@ -12272,7 +12272,7 @@ function Au(e, t, n, o, a) {
12272
12272
  host: document.body,
12273
12273
  backgroundColor: "rgba(0,0,0,.15)",
12274
12274
  render: () => t.slots.default && t.slots.default()
12275
- }), w && i.value === "Popup" && o.togglePopup(!0), w && l.value && o.hidePopup(), t.emit("clickButton", { origin: g, value: e.modelValue });
12275
+ }), S && i.value === "Popup" && o.togglePopup(!0), S && l.value && o.hidePopup(), t.emit("clickButton", { origin: g, value: e.modelValue });
12276
12276
  }
12277
12277
  }
12278
12278
  function p(g) {
@@ -12298,8 +12298,8 @@ function Nu(e, t, n, o, a, i) {
12298
12298
  u(!!a.value);
12299
12299
  });
12300
12300
  function d(m) {
12301
- const g = !e.readonly && !e.disable && e.editable, w = !e.editable;
12302
- m.stopPropagation(), (g || w) && (c(""), a.value = "", u(!l.value), t.emit("clear"));
12301
+ const g = !e.readonly && !e.disable && e.editable, S = !e.editable;
12302
+ m.stopPropagation(), (g || S) && (c(""), a.value = "", u(!l.value), t.emit("clear"));
12303
12303
  }
12304
12304
  function v(m) {
12305
12305
  if (s.value) {
@@ -12328,7 +12328,7 @@ function Hu(e, t, n, o, a) {
12328
12328
  "text-right": e.textAlign === "right",
12329
12329
  "form-control": !0,
12330
12330
  "f-utils-fill": !0
12331
- })), w = D(() => ({
12331
+ })), S = D(() => ({
12332
12332
  "input-group": !0,
12333
12333
  "f-state-disabled": e.disable,
12334
12334
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -12336,44 +12336,44 @@ function Hu(e, t, n, o, a) {
12336
12336
  "f-state-focus": m.value,
12337
12337
  "input-group--has-clear": e.enableClear && r.value
12338
12338
  }));
12339
- function B(S, I = !0) {
12340
- n.value = S, I && (t.emit("change", S), t.emit("update:modelValue", S));
12339
+ function B(x, T = !0) {
12340
+ n.value = x, T && (t.emit("change", x), t.emit("update:modelValue", x));
12341
12341
  }
12342
- function b(S) {
12343
- s.value = !1, B(S, !0);
12342
+ function b(x) {
12343
+ s.value = !1, B(x, !0);
12344
12344
  }
12345
12345
  te(
12346
12346
  () => e.modelValue,
12347
- (S) => {
12348
- n.value = S;
12347
+ (x) => {
12348
+ n.value = x;
12349
12349
  }
12350
12350
  );
12351
- function O(S) {
12352
- p.value = !1, t.emit("blur", S), S.stopPropagation();
12351
+ function O(x) {
12352
+ p.value = !1, t.emit("blur", x), x.stopPropagation();
12353
12353
  }
12354
- function T(S) {
12355
- t.emit("click", S), c(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && a.togglePopup();
12354
+ function I(x) {
12355
+ t.emit("click", x), c(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && a.togglePopup();
12356
12356
  }
12357
- function F(S) {
12358
- !e.disable && !e.readonly && (p.value = !0, v.value || (t.emit("focus", S), l.value && !s.value && a.popup()));
12357
+ function F(x) {
12358
+ !e.disable && !e.readonly && (p.value = !0, v.value || (t.emit("focus", x), l.value && !s.value && a.popup()));
12359
12359
  }
12360
- function x(S) {
12361
- t.emit("input", S);
12362
- const I = S.target.value;
12363
- o.value = I, n.value !== I && B(I, e.updateOn === "change"), i.value && !s.value && a.popup();
12360
+ function w(x) {
12361
+ t.emit("input", x);
12362
+ const T = x.target.value;
12363
+ o.value = T, n.value !== T && B(T, e.updateOn === "change"), i.value && !s.value && a.popup();
12364
12364
  }
12365
- function k(S) {
12366
- S.target.tagName !== "INPUT" && S.preventDefault(), S.stopPropagation();
12365
+ function M(x) {
12366
+ x.target.tagName !== "INPUT" && x.preventDefault(), x.stopPropagation();
12367
12367
  }
12368
- function h(S) {
12369
- t.emit("keydown", S);
12368
+ function h(x) {
12369
+ t.emit("keydown", x);
12370
12370
  }
12371
- function C(S) {
12372
- S.key === "Enter" && (i.value || l.value) && a.hidePopup(), t.emit("keyup", S);
12371
+ function C(x) {
12372
+ x.key === "Enter" && (i.value || l.value) && a.hidePopup(), t.emit("keyup", x);
12373
12373
  }
12374
- function E(S) {
12375
- const I = S.target.value;
12376
- S.stopPropagation(), B(I);
12374
+ function E(x) {
12375
+ const T = x.target.value;
12376
+ x.stopPropagation(), B(T);
12377
12377
  }
12378
12378
  return {
12379
12379
  hasFocusedTextBox: m,
@@ -12381,17 +12381,17 @@ function Hu(e, t, n, o, a) {
12381
12381
  textBoxClass: g,
12382
12382
  textBoxPlaceholder: d,
12383
12383
  textBoxTitle: u,
12384
- inputGroupClass: w,
12384
+ inputGroupClass: S,
12385
12385
  hasClearClass: r,
12386
12386
  changeTextBoxValue: B,
12387
12387
  commitValue: b,
12388
12388
  onBlurTextBox: O,
12389
- onClickTextBox: T,
12389
+ onClickTextBox: I,
12390
12390
  onFocusTextBox: F,
12391
- onInput: x,
12391
+ onInput: w,
12392
12392
  onKeyDownTextBox: h,
12393
12393
  onKeyUpTextBox: C,
12394
- onMouseDownTextBox: k,
12394
+ onMouseDownTextBox: M,
12395
12395
  onTextBoxValueChange: E
12396
12396
  };
12397
12397
  }
@@ -12452,25 +12452,22 @@ function qu(e, t, n) {
12452
12452
  onKeyUpTextBox: p,
12453
12453
  onMouseDownTextBox: m,
12454
12454
  onTextBoxValueChange: g
12455
- } = n, w = y(e.id), {
12455
+ } = n, S = y(e.id), {
12456
12456
  uuid: B
12457
- } = Ba(), b = D(() => ({
12458
- "border-top-right-radius": "6px",
12459
- "border-bottom-right-radius": "6px"
12460
- }));
12457
+ } = Ba();
12461
12458
  Ce(() => {
12462
- var k, h;
12463
- e.selectOnCreated && ((k = o.value) == null || k.select()), e.focusOnCreated && ((h = o.value) == null || h.focus({
12459
+ var w, M;
12460
+ e.selectOnCreated && ((w = o.value) == null || w.select()), e.focusOnCreated && ((M = o.value) == null || M.focus({
12464
12461
  preventScroll: !0
12465
- })), w.value || (w.value = "button-edit_" + B(8)), w.value = w.value + "-textbox";
12462
+ })), S.value || (S.value = "button-edit_" + B(8)), S.value = S.value + "-textbox";
12466
12463
  });
12467
- const O = y(!1), T = (k) => {
12468
- k.preventDefault(), O.value = !0;
12469
- }, F = (k) => {
12470
- k.preventDefault(), O.value = !1, d(k);
12464
+ const b = y(!1), O = (w) => {
12465
+ w.preventDefault(), b.value = !0;
12466
+ }, I = (w) => {
12467
+ w.preventDefault(), b.value = !1, d(w);
12471
12468
  };
12472
- function x(k) {
12473
- O.value || d(k);
12469
+ function F(w) {
12470
+ b.value || d(w);
12474
12471
  }
12475
12472
  return () => f("input", {
12476
12473
  id: e.id ? e.id + "-textbox" : void 0,
@@ -12478,7 +12475,6 @@ function qu(e, t, n) {
12478
12475
  name: "input-group-value",
12479
12476
  autocomplete: e.autoComplete ? "on" : "off",
12480
12477
  class: i.value,
12481
- style: b.value,
12482
12478
  disabled: e.disable,
12483
12479
  maxlength: e.maxLength,
12484
12480
  minlength: e.minLength,
@@ -12492,12 +12488,12 @@ function qu(e, t, n) {
12492
12488
  onChange: g,
12493
12489
  onClick: r,
12494
12490
  onFocus: u,
12495
- onInput: x,
12491
+ onInput: F,
12496
12492
  onKeydown: v,
12497
12493
  onKeyup: p,
12498
12494
  onMousedown: m,
12499
- onCompositionend: F,
12500
- onCompositionstart: T
12495
+ onCompositionend: I,
12496
+ onCompositionstart: O
12501
12497
  }, null);
12502
12498
  }
12503
12499
  function _u(e, t, n) {
@@ -12518,7 +12514,7 @@ function _u(e, t, n) {
12518
12514
  o.value = m;
12519
12515
  });
12520
12516
  const v = y(!e.disable && !e.readonly);
12521
- te([() => e.disable, () => e.readonly], ([m, g], [w, B]) => {
12517
+ te([() => e.disable, () => e.readonly], ([m, g], [S, B]) => {
12522
12518
  v.value = !m && !g;
12523
12519
  });
12524
12520
  function p(m) {
@@ -12619,49 +12615,46 @@ const Gu = /* @__PURE__ */ he({
12619
12615
  hasFocusedTextBox: p,
12620
12616
  commitValue: m,
12621
12617
  inputGroupClass: g
12622
- } = v, w = Nu(e, t, a, p, d, v), {
12618
+ } = v, S = Nu(e, t, a, p, d, v), {
12623
12619
  onMouseEnterTextBox: B,
12624
12620
  onMouseLeaveTextBox: b
12625
- } = w, O = D(() => {
12626
- const M = {
12621
+ } = S, O = D(() => {
12622
+ const k = {
12627
12623
  "f-button-edit": !0,
12628
12624
  "f-cmp-inputgroup": !0,
12629
12625
  "f-button-edit-nowrap": !e.wrapText
12630
12626
  };
12631
- return o.value && o.value.split(" ").reduce((R, j) => (R[j] = !0, R), M), M;
12632
- }), T = D(() => ({
12627
+ return o.value && o.value.split(" ").reduce((P, R) => (P[R] = !0, P), k), k;
12628
+ }), I = D(() => ({
12633
12629
  overflow: e.wrapText ? "hidden" : ""
12634
- })), F = D(() => ({
12635
- paddingLeft: "3px",
12636
- backgroundColor: "#fff"
12637
12630
  }));
12638
- function x() {
12631
+ function F() {
12639
12632
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
12640
12633
  return 0;
12641
- let M = 0;
12642
- const R = Array.from(n.value.querySelectorAll(".farris-tag-item"));
12643
- return R && R.length && (M = R.map((j) => j.offsetTop).filter((j) => j > 20).length), M;
12634
+ let k = 0;
12635
+ const P = Array.from(n.value.querySelectorAll(".farris-tag-item"));
12636
+ return P && P.length && (k = P.map((R) => R.offsetTop).filter((R) => R > 20).length), k;
12644
12637
  }
12645
- const k = y(x());
12638
+ const w = y(F());
12646
12639
  Ta(() => {
12647
- k.value = x();
12640
+ w.value = F();
12648
12641
  });
12649
- function h() {
12650
- return e.multiSelect && e.inputType === "tag" ? () => f(Be, null, [_u(e, a, v)(), !!k.value && f("div", {
12642
+ function M() {
12643
+ return e.multiSelect && e.inputType === "tag" ? () => f(Be, null, [_u(e, a, v)(), !!w.value && f("div", {
12651
12644
  class: "d-flex flex-row mr-2 more-tags",
12652
12645
  "more-tags": !0
12653
12646
  }, [f("span", {
12654
12647
  class: "multi--more-text"
12655
- }, [Se("+"), k.value])])]) : qu(e, a, v);
12648
+ }, [Se("+"), w.value])])]) : qu(e, a, v);
12656
12649
  }
12657
- let C = h();
12650
+ let h = M();
12658
12651
  te([() => e.multiSelect, () => e.inputType], () => {
12659
- C = h();
12652
+ h = M();
12660
12653
  });
12661
12654
  const {
12662
- renderButtonGroup: E,
12663
- buttonHandleElement: S
12664
- } = Wu(e, t, u, w), I = Uu(e, t, i), P = {
12655
+ renderButtonGroup: C,
12656
+ buttonHandleElement: E
12657
+ } = Wu(e, t, u, S), x = Uu(e, t, i), T = {
12665
12658
  displayText: d,
12666
12659
  commitValue: m,
12667
12660
  elementRef: n,
@@ -12671,34 +12664,33 @@ const Gu = /* @__PURE__ */ he({
12671
12664
  shouldPopupContent: l,
12672
12665
  togglePopup: r,
12673
12666
  openDialog: () => {
12674
- S.value && e.buttonBehavior === "Modal" && S.value.click();
12667
+ E.value && e.buttonBehavior === "Modal" && E.value.click();
12675
12668
  },
12676
12669
  getModal: () => {
12677
- var M;
12678
- return e.buttonBehavior === "Modal" ? (M = u.modalRef.value) == null ? void 0 : M.value : null;
12670
+ var k;
12671
+ return e.buttonBehavior === "Modal" ? (k = u.modalRef.value) == null ? void 0 : k.value : null;
12679
12672
  }
12680
12673
  };
12681
12674
  return Ce(() => {
12682
- n.value.componentInstance = P, window.onresize = () => {
12675
+ n.value.componentInstance = T, window.onresize = () => {
12683
12676
  document.body.click();
12684
12677
  };
12685
12678
  }), Vn(() => {
12686
- var M;
12687
- window.onresize = null, (M = window[ct]) == null || M.delete(n.value);
12688
- }), t.expose(P), () => {
12689
- var M, R;
12679
+ var k;
12680
+ window.onresize = null, (k = window[ct]) == null || k.delete(n.value);
12681
+ }), t.expose(T), () => {
12682
+ var k, P;
12690
12683
  return f(Be, null, [f("div", Ct(t.attrs, {
12691
12684
  ref: n,
12692
12685
  class: O.value,
12693
12686
  id: e.id ? e.id : void 0,
12694
- style: T.value
12687
+ style: I.value
12695
12688
  }), [f("div", {
12696
12689
  id: e.id ? `${e.id}-input-group` : void 0,
12697
12690
  class: g.value,
12698
- style: F.value,
12699
12691
  onMouseenter: B,
12700
12692
  onMouseleave: b
12701
- }, [(R = (M = t.slots).precontent) == null ? void 0 : R.call(M), C(), E()])]), l.value && I()]);
12693
+ }, [(P = (k = t.slots).precontent) == null ? void 0 : P.call(k), h(), C()])]), l.value && x()]);
12702
12694
  };
12703
12695
  }
12704
12696
  }), Xu = "https://json-schema.org/draft/2020-12/schema", Yu = "https://farris-design.gitee.io/schema-editor.schema.json", Ju = "schema-editor", Qu = "A Farris Input Component", Zu = "object", Ku = {