@farris/ui-vue 1.6.5-beta.7 → 1.6.5

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 (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,7 +1,7 @@
1
1
  var Yn = Object.defineProperty;
2
2
  var Xn = (t, e, n) => e in t ? Yn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var R = (t, e, n) => Xn(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { ref as y, computed as z, watch as de, defineComponent as Te, onBeforeUnmount as ln, withDirectives as sn, createVNode as C, resolveDirective as un, createTextVNode as cn, mergeProps as at, inject as Ze, onMounted as it, Fragment as pt, reactive as He, createApp as dn, onUnmounted as Ct, Transition as fn, nextTick as Ht, onBeforeMount as Zn, Teleport as Jn, shallowRef as Qn, render as $t, h as Kn, cloneVNode as eo } from "vue";
4
+ import { ref as y, computed as z, watch as de, defineComponent as Fe, onBeforeUnmount as ln, withDirectives as sn, createVNode as w, resolveDirective as un, createTextVNode as cn, mergeProps as at, inject as Ze, onMounted as it, Fragment as pt, reactive as He, createApp as dn, onUnmounted as Ct, Transition as fn, nextTick as Ht, onBeforeMount as Zn, Teleport as Jn, shallowRef as Qn, render as $t, h as Kn, cloneVNode as eo } from "vue";
5
5
  import to, { FDynamicFormGroup as no } from "../dynamic-form/index.esm.js";
6
6
  import { cloneDeep as rt, isPlainObject as Jt, isUndefined as ze } from "lodash-es";
7
7
  import { useDateFormat as pn, resolveField as oo, FormSchemaEntityField$Type as Qt, FormSchemaEntityFieldTypeName as Kt, useTextBoxDesign as ro, useClear as ao, getCustomClass as io, withInstall as lo, getMaxZIndex as so, areaResponseDirective as uo } from "../common/index.esm.js";
@@ -14,11 +14,11 @@ import yo from "../avatar/index.esm.js";
14
14
  import bo from "../../designer/button-edit/index.esm.js";
15
15
  import Co from "../button-group/index.esm.js";
16
16
  import wo from "../calendar/index.esm.js";
17
- import Fo from "../capsule/index.esm.js";
17
+ import To from "../capsule/index.esm.js";
18
18
  import en from "../../designer/checkbox/index.esm.js";
19
19
  import tn from "../../designer/checkbox-group/index.esm.js";
20
20
  import At from "../combo-list/index.esm.js";
21
- import To from "../combo-tree/index.esm.js";
21
+ import Fo from "../combo-tree/index.esm.js";
22
22
  import xo from "../component/index.esm.js";
23
23
  import So from "../color-picker/index.esm.js";
24
24
  import ko from "../content-container/index.esm.js";
@@ -71,8 +71,8 @@ import yr from "../../designer/tree-grid/index.esm.js";
71
71
  import br from "../event-parameter/index.esm.js";
72
72
  import Cr from "../filter-condition-editor/index.esm.js";
73
73
  import wr from "../fieldset/index.esm.js";
74
- import Fr from "../sort-condition-editor/index.esm.js";
75
- import Tr from "../menu-lookup/index.esm.js";
74
+ import Tr from "../sort-condition-editor/index.esm.js";
75
+ import Fr from "../menu-lookup/index.esm.js";
76
76
  import xr from "../../designer/drawer/index.esm.js";
77
77
  import Sr from "../json-editor/index.esm.js";
78
78
  import kr from "../property-editor/index.esm.js";
@@ -169,7 +169,7 @@ class ba {
169
169
  return !this.valueField;
170
170
  }
171
171
  }
172
- class Ft {
172
+ class Tt {
173
173
  constructor(e = { value: "", displayFormat: "", valueFormat: "" }, n) {
174
174
  R(this, "editorType", "date-picker");
175
175
  R(this, "value");
@@ -337,7 +337,7 @@ class wa {
337
337
  return !this.displayText && (this.value == null || !((e = this.value) != null && e.length));
338
338
  }
339
339
  }
340
- class Fa {
340
+ class Ta {
341
341
  constructor(e = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }, n) {
342
342
  R(this, "editorType", "lookup");
343
343
  R(this, "helpId");
@@ -367,7 +367,7 @@ class Fa {
367
367
  return !this.mapFields.length;
368
368
  }
369
369
  }
370
- class Ta extends Ft {
370
+ class Fa extends Tt {
371
371
  constructor(n = { value: "", displayFormat: "", valueFormat: "" }, o) {
372
372
  super(n, o);
373
373
  R(this, "editorType", "month-picker");
@@ -462,7 +462,7 @@ class Ba {
462
462
  return !this.value && this.value !== 0 && this.value !== !1;
463
463
  }
464
464
  }
465
- class Ea extends Ft {
465
+ class Ea extends Tt {
466
466
  constructor(n = { value: "", displayFormat: "", valueFormat: "" }, o) {
467
467
  super(n, o);
468
468
  R(this, "editorType", "year-picker");
@@ -493,7 +493,7 @@ class vn {
493
493
  return !this.value;
494
494
  }
495
495
  }
496
- class Ma extends Ft {
496
+ class Ma extends Tt {
497
497
  constructor(n = { value: "", displayFormat: "", valueFormat: "" }, o) {
498
498
  super(n, o);
499
499
  R(this, "editorType", "datetime-picker");
@@ -521,7 +521,7 @@ function hn() {
521
521
  case "year-picker":
522
522
  return new Ea(n, o);
523
523
  case "date-picker":
524
- return new Ft(n, o);
524
+ return new Tt(n, o);
525
525
  case "datetime-range":
526
526
  return new Ia(n, o);
527
527
  case "date-range":
@@ -529,9 +529,9 @@ function hn() {
529
529
  case "datetime-picker":
530
530
  return new Ma(n, o);
531
531
  case "lookup":
532
- return new Fa(n, o);
533
- case "month-picker":
534
532
  return new Ta(n, o);
533
+ case "month-picker":
534
+ return new Fa(n, o);
535
535
  case "month-range":
536
536
  return new xa(n, o);
537
537
  case "number-range":
@@ -548,74 +548,74 @@ function hn() {
548
548
  }
549
549
  function _t(t, e) {
550
550
  const { t: n } = Qe(), o = y(t.fields), r = y([]), i = /* @__PURE__ */ new Map(), { createConditionValue: a } = hn();
551
- function c(s) {
552
- let l = "input-group";
553
- switch (s) {
551
+ function c(l) {
552
+ let s = "input-group";
553
+ switch (l) {
554
554
  case "year-picker":
555
555
  case "month-picker":
556
556
  case "month-range":
557
557
  case "date-range":
558
558
  case "datetime-range":
559
559
  case "datetime-picker":
560
- l = "date-picker";
560
+ s = "date-picker";
561
561
  break;
562
562
  default:
563
- l = s;
563
+ s = l;
564
564
  }
565
- return l;
565
+ return s;
566
566
  }
567
- function f(s) {
568
- const l = s.editor ? s.editor.type : "input-group";
569
- return s.editor.type = c(l), s.editor.type === "date-picker" && (l.indexOf("range") > -1 && (s.editor.enablePeriod = !0), l.indexOf("datetime") > -1 && (s.editor.showTime = !0), l.indexOf("year") > -1 && (s.editor.selectMode = "year"), l.indexOf("month") > -1 && (s.editor.selectMode = "month"), s.editor.weekSelect && (s.editor.selectMode = "week")), s.editor.type === "number-spinner" && (s.editor.needValid = !0), l === "input-group" && !s.editor.placeholder && (s.editor.placeholder = n("input-group.placeholder")), s.editor;
567
+ function f(l) {
568
+ const s = l.editor ? l.editor.type : "input-group";
569
+ return l.editor.type = c(s), l.editor.type === "date-picker" && (s.indexOf("range") > -1 && (l.editor.enablePeriod = !0), s.indexOf("datetime") > -1 && (l.editor.showTime = !0), s.indexOf("year") > -1 && (l.editor.selectMode = "year"), s.indexOf("month") > -1 && (l.editor.selectMode = "month"), l.editor.weekSelect && (l.editor.selectMode = "week")), l.editor.type === "number-spinner" && (l.editor.needValid = !0), s === "input-group" && !l.editor.placeholder && (l.editor.placeholder = n("input-group.placeholder")), l.editor;
570
570
  }
571
- function d(s) {
572
- return s.map((p) => Object.assign({}, p)).map((p) => (p.editor = f(p), p));
571
+ function d(l) {
572
+ return l.map((p) => Object.assign({}, p)).map((p) => (p.editor = f(p), p));
573
573
  }
574
- function v(s = !0) {
575
- o.value.reduce((l, p) => (s && (p.editor = f(p)), l.set(p.labelCode, p), l), i);
574
+ function h(l = !0) {
575
+ o.value.reduce((s, p) => (l && (p.editor = f(p)), s.set(p.labelCode, p), s), i);
576
576
  }
577
- function u(s) {
578
- return s.forEach((l) => {
579
- if (l) {
580
- const p = i.get(l.fieldCode);
581
- p.controlType && (l.value = a(p.controlType, l.value, p.editor));
577
+ function u(l) {
578
+ return l.forEach((s) => {
579
+ if (s) {
580
+ const p = i.get(s.fieldCode);
581
+ p.controlType && (s.value = a(p.controlType, s.value, p.editor));
582
582
  }
583
- }), s;
583
+ }), l;
584
584
  }
585
- return { convertToSingleControl: d, fields: o, fieldMap: i, fieldConditions: r, loadFieldConfigs: v, initialConditionValue: u };
585
+ return { convertToSingleControl: d, fields: o, fieldMap: i, fieldConditions: r, loadFieldConfigs: h, initialConditionValue: u };
586
586
  }
587
587
  function gn(t, e, n) {
588
588
  const o = y(null), r = y(n), i = y(0);
589
- function a(v, u) {
590
- let s = null;
589
+ function a(h, u) {
590
+ let l = null;
591
591
  return function() {
592
- const l = arguments;
593
- s ? (clearTimeout(s), s = setTimeout(() => {
594
- s = null, v(...l);
595
- }, 200)) : (v(...l), s = setTimeout(() => {
596
- s = null;
592
+ const s = arguments;
593
+ l ? (clearTimeout(l), l = setTimeout(() => {
594
+ l = null, h(...s);
595
+ }, 200)) : (h(...s), l = setTimeout(() => {
596
+ l = null;
597
597
  }, 200));
598
598
  };
599
599
  }
600
600
  function c() {
601
- r.value && (o.value = new ResizeObserver(a((v) => {
602
- const u = v[0];
601
+ r.value && (o.value = new ResizeObserver(a((h) => {
602
+ const u = h[0];
603
603
  i.value = u.contentRect.width;
604
604
  })), o.value.observe(r.value));
605
605
  }
606
- function f(v) {
607
- let s = "col-12";
608
- return v > 250 * 6 ? s = "col-2" : v > 250 * 4 ? s = "col-3" : v > 250 * 3 ? s = "col-4" : v > 250 * 2 && (s = "col-6"), s;
606
+ function f(h) {
607
+ let l = "col-12";
608
+ return h > 250 * 6 ? l = "col-2" : h > 250 * 4 ? l = "col-3" : h > 250 * 3 ? l = "col-4" : h > 250 * 2 && (l = "col-6"), l;
609
609
  }
610
610
  const d = z(() => f(i.value));
611
- return de([n], ([v]) => {
612
- r.value = v, c();
611
+ return de([n], ([h]) => {
612
+ r.value = h, c();
613
613
  }), {
614
614
  conditionClass: d,
615
615
  resizeObserver: o
616
616
  };
617
617
  }
618
- const nn = /* @__PURE__ */ Te({
618
+ const nn = /* @__PURE__ */ Fe({
619
619
  name: "FConditionFields",
620
620
  props: qt,
621
621
  emits: ["valueChange", "blur", "focus", "click", "input"],
@@ -626,12 +626,13 @@ const nn = /* @__PURE__ */ Te({
626
626
  initialConditionValue: c,
627
627
  fieldMap: f,
628
628
  loadFieldConfigs: d
629
- } = a, v = gn(t, e, n), {
630
- resizeObserver: u
631
- } = v;
629
+ } = a, h = gn(t, e, n), {
630
+ conditionClass: u,
631
+ resizeObserver: l
632
+ } = h;
632
633
  d(!0), c(i.value), ln(() => {
633
- var h;
634
- (h = u.value) == null || h.unobserve(n.value);
634
+ var C;
635
+ (C = l.value) == null || C.unobserve(n.value);
635
636
  }), de(() => t.conditions, () => {
636
637
  i.value = t.conditions, c(i.value);
637
638
  });
@@ -642,195 +643,195 @@ const nn = /* @__PURE__ */ Te({
642
643
  "condition-div": !0,
643
644
  "farris-form-controls-inline": !o.value || t.isControlInline === !0 || t.isControlInline === "auto" && o.value !== "en"
644
645
  }));
645
- function l(h, F, T, x) {
646
- switch (h.value.editorType) {
646
+ function p(C, g, x, N) {
647
+ switch (C.value.editorType) {
647
648
  case "combo-list":
648
- x.newValue && (h.value.valueList = x.newValue.map((N) => ({
649
- name: N.name,
650
- value: N.value
649
+ N.newValue && (C.value.valueList = N.newValue.map((P) => ({
650
+ name: P.name,
651
+ value: P.value
651
652
  })));
652
653
  break;
653
654
  case "radio-group":
654
- h.value.valueList = [T.data.find((N) => N.value === F)];
655
+ C.value.valueList = [x.data.find((P) => P.value === g)];
655
656
  break;
656
657
  case "year-range":
657
658
  case "month-range":
658
659
  case "date-range":
659
660
  case "datetime-range":
660
- h.value.setValue(F);
661
+ C.value.setValue(g);
661
662
  break;
662
663
  }
663
- e.emit("valueChange", F, h);
664
- }
665
- function p() {
666
- return i.value.map((h) => {
667
- var L, V, B, E, I, m;
668
- const F = (L = f.get(h.fieldCode)) == null ? void 0 : L.editor, T = (V = f.get(h.fieldCode)) == null ? void 0 : V.id;
669
- let x = !0;
670
- ((B = h.value) == null ? void 0 : B.editorType) === "lookup" && F ? (F.idValue = (E = h.value.mapFields) == null ? void 0 : E.map((w) => w.id).join(","), F.onClear = () => {
671
- h.value.mapFields = [], l(h, "");
672
- }, F["onUpdate:dataMapping"] = (w) => {
673
- h.value.mapFields = w.items, l(h, h.value.getValue());
674
- }, x = !1) : ((I = h.value) == null ? void 0 : I.editorType) === "number-range" && F ? (F.beginValue = h.value.begin, F.onBeginValueChange = (w) => {
675
- h.value.begin = w, l(h, w);
676
- }, F.endValue = h.value.end, F.onEndValueChange = (w) => {
677
- h.value.end = w, l(h, w);
678
- }, x = !1) : F && ["year-range", "month-range", "date-range", "datetime-range"].find((w) => {
679
- var g;
680
- return w === ((g = h.value) == null ? void 0 : g.editorType);
681
- }) && (F.beginValue = h.value.begin, F.endValue = h.value.end);
682
- let N = ((m = F == null ? void 0 : F.appearance) == null ? void 0 : m.class) || t.itemClass;
683
- return F != null && F.multiLineLabel && (N = N + " farris-group-multi-label"), C(no, {
684
- id: T,
685
- key: T,
686
- customClass: N,
687
- label: (F == null ? void 0 : F.showLabel) === !1 ? " " : h.fieldName,
688
- editor: F,
689
- required: F == null ? void 0 : F.required,
690
- modelValue: h.value.value,
691
- "onUpdate:modelValue": (w) => h.value.value = w,
692
- onChange: (w, g) => {
693
- x && l(h, w, F, g);
664
+ e.emit("valueChange", g, C);
665
+ }
666
+ function T() {
667
+ return i.value.map((C) => {
668
+ var V, B, E, I, v, F;
669
+ const g = (V = f.get(C.fieldCode)) == null ? void 0 : V.editor, x = (B = f.get(C.fieldCode)) == null ? void 0 : B.id;
670
+ let N = !0;
671
+ ((E = C.value) == null ? void 0 : E.editorType) === "lookup" && g ? (g.idValue = (I = C.value.mapFields) == null ? void 0 : I.map((m) => m.id).join(","), g.onClear = () => {
672
+ C.value.mapFields = [], p(C, "");
673
+ }, g["onUpdate:dataMapping"] = (m) => {
674
+ C.value.mapFields = m.items, p(C, C.value.getValue());
675
+ }, N = !1) : ((v = C.value) == null ? void 0 : v.editorType) === "number-range" && g ? (g.beginValue = C.value.begin, g.onBeginValueChange = (m) => {
676
+ C.value.begin = m, p(C, m);
677
+ }, g.endValue = C.value.end, g.onEndValueChange = (m) => {
678
+ C.value.end = m, p(C, m);
679
+ }, N = !1) : g && ["year-range", "month-range", "date-range", "datetime-range"].find((m) => {
680
+ var b;
681
+ return m === ((b = C.value) == null ? void 0 : b.editorType);
682
+ }) && (g.beginValue = C.value.begin, g.endValue = C.value.end);
683
+ let P = ((F = g == null ? void 0 : g.appearance) == null ? void 0 : F.class) || t.itemClass;
684
+ return g != null && g.multiLineLabel && (P = P + " farris-group-multi-label"), w(no, {
685
+ id: x,
686
+ key: x,
687
+ customClass: P,
688
+ label: (g == null ? void 0 : g.showLabel) === !1 ? " " : C.fieldName,
689
+ editor: g,
690
+ required: g == null ? void 0 : g.required,
691
+ modelValue: C.value.value,
692
+ "onUpdate:modelValue": (m) => C.value.value = m,
693
+ onChange: (m, b) => {
694
+ N && p(C, m, g, b);
694
695
  }
695
696
  }, null);
696
697
  });
697
698
  }
698
- return () => sn(C("div", {
699
+ return () => sn(w("div", {
699
700
  class: s.value,
700
701
  key: r.value,
701
702
  ref: n
702
- }, [p()]), [[un("area-response")]]);
703
+ }, [T()]), [[un("area-response")]]);
703
704
  }
704
705
  });
705
706
  function yn(t, e) {
706
707
  let n;
707
708
  function o(u) {
708
- const { properties: s, title: l, ignore: p } = u, h = p && Array.isArray(p), F = Object.keys(s).reduce((T, x) => ((!h || !p.find((N) => N === x)) && (T[x] = s[x].type === "object" && s[x].properties ? o(s[x]) : rt(s[x].default)), T), {});
709
- if (l && (!h || !p.find((T) => T === "id"))) {
710
- const T = l.toLowerCase().replace(/-/g, "_");
711
- F.id = `${T}_${Math.random().toString().slice(2, 6)}`;
709
+ const { properties: l, title: s, ignore: p } = u, T = p && Array.isArray(p), C = Object.keys(l).reduce((g, x) => ((!T || !p.find((N) => N === x)) && (g[x] = l[x].type === "object" && l[x].properties ? o(l[x]) : rt(l[x].default)), g), {});
710
+ if (s && (!T || !p.find((g) => g === "id"))) {
711
+ const g = s.toLowerCase().replace(/-/g, "_");
712
+ C.id = `${g}_${Math.random().toString().slice(2, 6)}`;
712
713
  }
713
- return F;
714
+ return C;
714
715
  }
715
716
  function r(u) {
716
- const { properties: s, title: l, required: p } = u;
717
+ const { properties: l, title: s, required: p } = u;
717
718
  if (p && Array.isArray(p)) {
718
- const h = p.reduce((F, T) => (F[T] = s[T].type === "object" && s[T].properties ? o(s[T]) : rt(s[T].default), F), {});
719
- if (l && p.find((F) => F === "id")) {
720
- const F = l.toLowerCase().replace(/-/g, "_");
721
- h.id = `${F}_${Math.random().toString().slice(2, 6)}`;
719
+ const T = p.reduce((C, g) => (C[g] = l[g].type === "object" && l[g].properties ? o(l[g]) : rt(l[g].default), C), {});
720
+ if (s && p.find((C) => C === "id")) {
721
+ const C = s.toLowerCase().replace(/-/g, "_");
722
+ T.id = `${C}_${Math.random().toString().slice(2, 6)}`;
722
723
  }
723
- return h;
724
+ return T;
724
725
  }
725
726
  return {
726
- type: l
727
+ type: s
727
728
  };
728
729
  }
729
- function i(u, s = {}, l) {
730
+ function i(u, l = {}, s) {
730
731
  const p = t[u];
731
732
  if (p) {
732
- let h = r(p);
733
- const F = e[u];
734
- return h = F ? F({ getSchemaByType: i }, h, s, l) : h, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(h), h;
733
+ let T = r(p);
734
+ const C = e[u];
735
+ return T = C ? C({ getSchemaByType: i }, T, l, s) : T, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(T), T;
735
736
  }
736
737
  return null;
737
738
  }
738
- function a(u, s) {
739
- const l = o(s);
740
- return Object.keys(l).reduce((p, h) => (Object.prototype.hasOwnProperty.call(u, h) && (p[h] && Jt(p[h]) && Jt(u[h] || !u[h]) ? Object.assign(p[h], u[h] || {}) : p[h] = u[h]), p), l), l;
739
+ function a(u, l) {
740
+ const s = o(l);
741
+ return Object.keys(s).reduce((p, T) => (Object.prototype.hasOwnProperty.call(u, T) && (p[T] && Jt(p[T]) && Jt(u[T] || !u[T]) ? Object.assign(p[T], u[T] || {}) : p[T] = u[T]), p), s), s;
741
742
  }
742
- function c(u, s) {
743
- return Object.keys(u).filter((p) => u[p] != null).reduce((p, h) => {
744
- if (s.has(h)) {
745
- const F = s.get(h);
746
- if (typeof F == "string")
747
- p[F] = u[h];
743
+ function c(u, l) {
744
+ return Object.keys(u).filter((p) => u[p] != null).reduce((p, T) => {
745
+ if (l.has(T)) {
746
+ const C = l.get(T);
747
+ if (typeof C == "string")
748
+ p[C] = u[T];
748
749
  else {
749
- const T = F(h, u[h], u);
750
- Object.assign(p, T);
750
+ const g = C(T, u[T], u);
751
+ Object.assign(p, g);
751
752
  }
752
753
  } else
753
- p[h] = u[h];
754
+ p[T] = u[T];
754
755
  return p;
755
756
  }, {});
756
757
  }
757
- function f(u, s, l = /* @__PURE__ */ new Map()) {
758
- const p = a(u, s);
759
- return c(p, l);
758
+ function f(u, l, s = /* @__PURE__ */ new Map()) {
759
+ const p = a(u, l);
760
+ return c(p, s);
760
761
  }
761
762
  function d(u) {
762
- var l;
763
- const s = u.type;
764
- if (s) {
765
- const p = t[s];
763
+ var s;
764
+ const l = u.type;
765
+ if (l) {
766
+ const p = t[l];
766
767
  if (!p)
767
768
  return u;
768
- const h = a(u, p), F = ((l = u.editor) == null ? void 0 : l.type) || "";
769
- if (F) {
770
- const T = t[F], x = a(u.editor, T);
771
- h.editor = x;
769
+ const T = a(u, p), C = ((s = u.editor) == null ? void 0 : s.type) || "";
770
+ if (C) {
771
+ const g = t[C], x = a(u.editor, g);
772
+ T.editor = x;
772
773
  }
773
- return h;
774
+ return T;
774
775
  }
775
776
  return u;
776
777
  }
777
- function v(u) {
778
+ function h(u) {
778
779
  n = u;
779
780
  }
780
- return { getSchemaByType: i, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: f, mappingSchemaToProps: c, setDesignerContext: v };
781
+ return { getSchemaByType: i, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: f, mappingSchemaToProps: c, setDesignerContext: h };
781
782
  }
782
- const bn = {}, Cn = {}, { resolveSchemaWithDefaultValue: Va, resolveSchemaToProps: Oa, mappingSchemaToProps: Na } = yn(bn, Cn);
783
+ const bn = {}, Cn = {}, { getSchemaByType: Zu, resolveSchemaWithDefaultValue: Va, resolveSchemaToProps: Oa, mappingSchemaToProps: Na, setDesignerContext: Ju } = yn(bn, Cn);
783
784
  function Pa(t = {}) {
784
- function e(d, v, u, s) {
785
+ function e(d, h, u, l) {
785
786
  if (typeof u == "number")
786
- return s[d].length === u;
787
+ return l[d].length === u;
787
788
  if (typeof u == "object") {
788
- const l = Object.keys(u)[0], p = u[l];
789
- if (l === "not")
790
- return Number(s[d].length) !== Number(p);
791
- if (l === "moreThan")
792
- return Number(s[d].length) >= Number(p);
793
- if (l === "lessThan")
794
- return Number(s[d].length) <= Number(p);
789
+ const s = Object.keys(u)[0], p = u[s];
790
+ if (s === "not")
791
+ return Number(l[d].length) !== Number(p);
792
+ if (s === "moreThan")
793
+ return Number(l[d].length) >= Number(p);
794
+ if (s === "lessThan")
795
+ return Number(l[d].length) <= Number(p);
795
796
  }
796
797
  return !1;
797
798
  }
798
- function n(d, v, u, s) {
799
- return s[d] && s[d].propertyValue && String(s[d].propertyValue.value) === String(u);
799
+ function n(d, h, u, l) {
800
+ return l[d] && l[d].propertyValue && String(l[d].propertyValue.value) === String(u);
800
801
  }
801
802
  const o = /* @__PURE__ */ new Map([
802
803
  ["length", e],
803
804
  ["getProperty", n]
804
805
  ]);
805
- Object.keys(t).reduce((d, v) => (d.set(v, t[v]), d), o);
806
- function r(d, v) {
806
+ Object.keys(t).reduce((d, h) => (d.set(h, t[h]), d), o);
807
+ function r(d, h) {
807
808
  const u = d;
808
- return typeof v == "number" ? [{ target: u, operator: "length", param: null, value: Number(v) }] : typeof v == "boolean" ? [{ target: u, operator: "getProperty", param: d, value: !!v }] : typeof v == "object" ? Object.keys(v).map((s) => {
809
- if (s === "length")
810
- return { target: u, operator: "length", param: null, value: v[s] };
811
- const l = s, p = v[s];
812
- return { target: u, operator: "getProperty", param: l, value: p };
809
+ return typeof h == "number" ? [{ target: u, operator: "length", param: null, value: Number(h) }] : typeof h == "boolean" ? [{ target: u, operator: "getProperty", param: d, value: !!h }] : typeof h == "object" ? Object.keys(h).map((l) => {
810
+ if (l === "length")
811
+ return { target: u, operator: "length", param: null, value: h[l] };
812
+ const s = l, p = h[l];
813
+ return { target: u, operator: "getProperty", param: s, value: p };
813
814
  }) : [];
814
815
  }
815
816
  function i(d) {
816
- return Object.keys(d).reduce((u, s) => {
817
- const l = r(s, d[s]);
818
- return u.push(...l), u;
817
+ return Object.keys(d).reduce((u, l) => {
818
+ const s = r(l, d[l]);
819
+ return u.push(...s), u;
819
820
  }, []);
820
821
  }
821
- function a(d, v) {
822
+ function a(d, h) {
822
823
  if (o.has(d.operator)) {
823
824
  const u = o.get(d.operator);
824
- return u && u(d.target, d.param, d.value, v) || !1;
825
+ return u && u(d.target, d.param, d.value, h) || !1;
825
826
  }
826
827
  return !1;
827
828
  }
828
- function c(d, v) {
829
- return i(d).reduce((l, p) => l && a(p, v), !0);
829
+ function c(d, h) {
830
+ return i(d).reduce((s, p) => s && a(p, h), !0);
830
831
  }
831
- function f(d, v) {
832
- const u = Object.keys(d), s = u.includes("allOf"), l = u.includes("anyOf"), p = s || l, T = (p ? d[p ? s ? "allOf" : "anyOf" : "allOf"] : [d]).map((N) => c(N, v));
833
- return s ? !T.includes(!1) : T.includes(!0);
832
+ function f(d, h) {
833
+ const u = Object.keys(d), l = u.includes("allOf"), s = u.includes("anyOf"), p = l || s, g = (p ? d[p ? l ? "allOf" : "anyOf" : "allOf"] : [d]).map((N) => c(N, h));
834
+ return l ? !g.includes(!1) : g.includes(!0);
834
835
  }
835
836
  return { parseValueSchema: f };
836
837
  }
@@ -1123,93 +1124,93 @@ function wn(t, e, n) {
1123
1124
  ["number", { type: "number-spinner", placeholder: "" }],
1124
1125
  ["events-editor", { type: "events-editor", hide: !0 }]
1125
1126
  ]), i = Pa();
1126
- function a(p, h) {
1127
- return () => i.parseValueSchema(p, h);
1127
+ function a(p, T) {
1128
+ return () => i.parseValueSchema(p, T);
1128
1129
  }
1129
- function c(p, h, F) {
1130
- return p.includes("visible") && h.visible !== void 0 ? typeof h.visible == "boolean" ? () => !!h.visible : h.visible === void 0 ? !0 : a(h.visible, F) : () => !0;
1130
+ function c(p, T, C) {
1131
+ return p.includes("visible") && T.visible !== void 0 ? typeof T.visible == "boolean" ? () => !!T.visible : T.visible === void 0 ? !0 : a(T.visible, C) : () => !0;
1131
1132
  }
1132
- function f(p, h, F) {
1133
- return p.includes("readonly") && h.readonly !== void 0 ? typeof h.readonly == "boolean" ? () => !!h.readonly : a(h.readonly, F) : () => !1;
1133
+ function f(p, T, C) {
1134
+ return p.includes("readonly") && T.readonly !== void 0 ? typeof T.readonly == "boolean" ? () => !!T.readonly : a(T.readonly, C) : () => !1;
1134
1135
  }
1135
- function d(p, h) {
1136
- const F = p.$converter || h;
1137
- return typeof F == "string" && F && o.has(F) ? o.get(F) || null : F || null;
1136
+ function d(p, T) {
1137
+ const C = p.$converter || T;
1138
+ return typeof C == "string" && C && o.has(C) ? o.get(C) || null : C || null;
1138
1139
  }
1139
- function v(p, h, F, T, x, N = "", L = "") {
1140
+ function h(p, T, C, g, x, N = "", P = "") {
1140
1141
  return Object.keys(p).map((B) => {
1141
- const E = y(1), I = B, m = p[B], w = Object.keys(m), g = m.title, b = m.type, S = r.get(b) || { type: "input-group", enableClear: !1 }, k = m.editor ? Object.assign({}, S, m.editor) : Object.assign({}, S), O = c(w, m, h), W = f(w, m, h);
1142
+ const E = y(1), I = B, v = p[B], F = Object.keys(v), m = v.title, b = v.type, S = r.get(b) || { type: "input-group", enableClear: !1 }, k = v.editor ? Object.assign({}, S, v.editor) : Object.assign({}, S), O = c(F, v, T), W = f(F, v, T);
1142
1143
  k.readonly = k.readonly === void 0 ? W() : k.readonly;
1143
- const K = m.type === "cascade" ? v(m.properties, h, F, T, x, N, L) : [], P = !0;
1144
- let j = d(m, L);
1144
+ const K = v.type === "cascade" ? h(v.properties, T, C, g, x, N, P) : [], L = !0;
1145
+ let j = d(v, P);
1145
1146
  const J = z({
1146
1147
  get() {
1147
1148
  if (E.value) {
1148
1149
  if (["class", "style"].find((ve) => ve === I) && !j && (j = o.get("/converter/appearance.converter") || null), j && j.convertFrom)
1149
- return j.convertFrom(F, B, x, N);
1150
- const ce = F[B];
1151
- return Object.prototype.hasOwnProperty.call(m, "defaultValue") && (ce === void 0 || typeof ce == "string" && ce === "") ? m.type === "boolean" ? m.defaultValue : m.defaultValue || "" : ce;
1150
+ return j.convertFrom(C, B, x, N);
1151
+ const ce = C[B];
1152
+ return Object.prototype.hasOwnProperty.call(v, "defaultValue") && (ce === void 0 || typeof ce == "string" && ce === "") ? v.type === "boolean" ? v.defaultValue : v.defaultValue || "" : ce;
1152
1153
  }
1153
1154
  return null;
1154
1155
  },
1155
1156
  set(ce) {
1156
- E.value += 1, j && j.convertTo ? (j.convertTo(T, B, ce, x, N), j.convertTo(F, B, ce, x, N)) : (T[B] = ce, F[B] = ce);
1157
+ E.value += 1, j && j.convertTo ? (j.convertTo(g, B, ce, x, N), j.convertTo(C, B, ce, x, N)) : (g[B] = ce, C[B] = ce);
1157
1158
  }
1158
- }), { refreshPanelAfterChanged: Y, description: ae, isExpand: ee, parentPropertyID: oe } = m, te = { propertyID: I, propertyName: g, propertyType: b, propertyValue: J, editor: k, visible: O, readonly: W, cascadeConfig: K, hideCascadeTitle: P, refreshPanelAfterChanged: Y, description: ae, isExpand: ee, parentPropertyID: oe };
1159
- return h[I] = te, te;
1159
+ }), { refreshPanelAfterChanged: Y, description: ae, isExpand: ee, parentPropertyID: oe } = v, te = { propertyID: I, propertyName: m, propertyType: b, propertyValue: J, editor: k, visible: O, readonly: W, cascadeConfig: K, hideCascadeTitle: L, refreshPanelAfterChanged: Y, description: ae, isExpand: ee, parentPropertyID: oe };
1160
+ return T[I] = te, te;
1160
1161
  });
1161
1162
  }
1162
- function u(p, h, F = {}) {
1163
- const T = {}, x = t[p];
1164
- return x && x.categories ? Object.keys(x.categories).map((L) => {
1165
- const V = x.categories[L], B = V == null ? void 0 : V.title, E = v(V.properties || {}, T, {}, F, h);
1166
- return { categoryId: L, categoryName: B, properties: E };
1163
+ function u(p, T, C = {}) {
1164
+ const g = {}, x = t[p];
1165
+ return x && x.categories ? Object.keys(x.categories).map((P) => {
1166
+ const V = x.categories[P], B = V == null ? void 0 : V.title, E = h(V.properties || {}, g, {}, C, T);
1167
+ return { categoryId: P, categoryName: B, properties: E };
1167
1168
  }) : [];
1168
1169
  }
1169
- function s(p, h, F, T, x = "") {
1170
- const N = h.$ref.schema, L = h.$ref.converter, V = F[N], B = V.type, E = n(V), I = {}, m = t[B];
1171
- if (m && m.categories) {
1172
- const w = m.categories[p], g = w == null ? void 0 : w.title;
1173
- L && Object.keys(w.properties).forEach((k) => {
1174
- w.properties[k].$converter = L;
1170
+ function l(p, T, C, g, x = "") {
1171
+ const N = T.$ref.schema, P = T.$ref.converter, V = C[N], B = V.type, E = n(V), I = {}, v = t[B];
1172
+ if (v && v.categories) {
1173
+ const F = v.categories[p], m = F == null ? void 0 : F.title;
1174
+ P && Object.keys(F.properties).forEach((k) => {
1175
+ F.properties[k].$converter = P;
1175
1176
  });
1176
- const b = (w == null ? void 0 : w.properties) || {}, S = v(b, I, E, V, T, x);
1177
- return { categoryId: p, categoryName: g, properties: S };
1177
+ const b = (F == null ? void 0 : F.properties) || {}, S = h(b, I, E, V, g, x);
1178
+ return { categoryId: p, categoryName: m, properties: S };
1178
1179
  }
1179
1180
  return { categoryId: p, categoryName: "", properties: [] };
1180
1181
  }
1181
- function l(p, h, F, T, x) {
1182
- const N = p.type, L = n(p), V = {};
1182
+ function s(p, T, C, g, x) {
1183
+ const N = p.type, P = n(p), V = {};
1183
1184
  let B = x || t[N];
1184
- if (B && Object.keys(B).length === 0 && F && F.getPropConfig && (B = F.getPropConfig(T)), B && B.categories) {
1185
+ if (B && Object.keys(B).length === 0 && C && C.getPropConfig && (B = C.getPropConfig(g)), B && B.categories) {
1185
1186
  const E = [];
1186
1187
  return Object.keys(B.categories).map((I) => {
1187
- const m = B.categories[I];
1188
- if (m.$ref) {
1189
- E.push(s(I, m, p, h, T));
1188
+ const v = B.categories[I];
1189
+ if (v.$ref) {
1190
+ E.push(l(I, v, p, T, g));
1190
1191
  return;
1191
1192
  }
1192
- const w = m == null ? void 0 : m.title, g = m == null ? void 0 : m.tabId, b = m == null ? void 0 : m.tabName, S = m == null ? void 0 : m.hide, k = m == null ? void 0 : m.hideTitle, O = v(m.properties || {}, V, L, p, h, T, m.$converter), { setPropertyRelates: W } = m, K = m == null ? void 0 : m.parentPropertyID;
1193
- E.push({ categoryId: I, categoryName: w, tabId: g, tabName: b, hide: S, properties: O, hideTitle: k, setPropertyRelates: W, parentPropertyID: K });
1193
+ const F = v == null ? void 0 : v.title, m = v == null ? void 0 : v.tabId, b = v == null ? void 0 : v.tabName, S = v == null ? void 0 : v.hide, k = v == null ? void 0 : v.hideTitle, O = h(v.properties || {}, V, P, p, T, g, v.$converter), { setPropertyRelates: W } = v, K = v == null ? void 0 : v.parentPropertyID;
1194
+ E.push({ categoryId: I, categoryName: F, tabId: m, tabName: b, hide: S, properties: O, hideTitle: k, setPropertyRelates: W, parentPropertyID: K });
1194
1195
  }), E;
1195
1196
  }
1196
1197
  return [];
1197
1198
  }
1198
1199
  return {
1199
- getPropertyConfigBySchema: l,
1200
+ getPropertyConfigBySchema: s,
1200
1201
  getPropertyConfigByType: u,
1201
1202
  propertyConverterMap: o
1202
1203
  };
1203
1204
  }
1204
- const Fn = {}, Tn = {};
1205
- wn(Fn, Tn, Va);
1206
- const xn = {}, Sn = {}, { resolveSchemaWithDefaultValue: ni } = yn(xn, Sn), kn = {}, Bn = {};
1205
+ const Tn = {}, Fn = {};
1206
+ wn(Tn, Fn, Va);
1207
+ const xn = {}, Sn = {}, { getSchemaByType: Qu, resolveSchemaWithDefaultValue: ni, resolveSchemaToProps: Ku, mappingSchemaToProps: ec, setDesignerContext: tc } = yn(xn, Sn), kn = {}, Bn = {};
1207
1208
  wn(kn, Bn, ni);
1208
- function Tt(t, e, n = /* @__PURE__ */ new Map(), o = (a, c, f, d) => c, r = {}, i = (a) => a) {
1209
- return bn[e.title] = e, Cn[e.title] = o, Fn[e.title] = r, Tn[e.title] = i, xn[e.title] = e, Sn[e.title] = o, kn[e.title] = r, Bn[e.title] = i, (a = {}, c = !0) => {
1209
+ function Ft(t, e, n = /* @__PURE__ */ new Map(), o = (a, c, f, d) => c, r = {}, i = (a) => a) {
1210
+ return bn[e.title] = e, Cn[e.title] = o, Tn[e.title] = r, Fn[e.title] = i, xn[e.title] = e, Sn[e.title] = o, kn[e.title] = r, Bn[e.title] = i, (a = {}, c = !0) => {
1210
1211
  if (!c)
1211
1212
  return Na(a, n);
1212
- const f = Oa(a, e, n), d = Object.keys(t).reduce((v, u) => (v[u] = t[u].default, v), {});
1213
+ const f = Oa(a, e, n), d = Object.keys(t).reduce((h, u) => (h[u] = t[u].default, h), {});
1213
1214
  return Object.assign(d, f);
1214
1215
  };
1215
1216
  }
@@ -1277,8 +1278,8 @@ class ai {
1277
1278
  const { selectedFields: i } = e;
1278
1279
  i == null || i.forEach((c) => {
1279
1280
  if (c.$type === Qt.SimpleField) {
1280
- const f = rt(c), d = this.resolveControlClassByFormColumns(e), v = this.controlCreatorUtils.setFormFieldProperty(f, "", d);
1281
- v && r.push(v);
1281
+ const f = rt(c), d = this.resolveControlClassByFormColumns(e), h = this.controlCreatorUtils.setFormFieldProperty(f, "", d);
1282
+ h && r.push(h);
1282
1283
  }
1283
1284
  });
1284
1285
  const { templateId: a } = this.formSchemaUtils.getFormSchema().module;
@@ -1345,19 +1346,19 @@ class ai {
1345
1346
  }
1346
1347
  }
1347
1348
  function ii(t, e, n, o) {
1348
- var i, a, c, f, d, v;
1349
+ var i, a, c, f, d, h;
1349
1350
  const r = n.parentComponentInstance;
1350
1351
  if (r && o) {
1351
- const u = (i = r.schema) == null ? void 0 : i.type, l = {
1352
+ const u = (i = r.schema) == null ? void 0 : i.type, s = {
1352
1353
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
1353
1354
  componentName: ((a = n.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((f = (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntity) == null ? void 0 : f.name) || "标题",
1354
1355
  componentType: "form",
1355
1356
  formColumns: u === "splitter-pane" ? 1 : 4,
1356
1357
  parentContainerId: r.schema.id,
1357
1358
  bindTo: ((d = n.bindingSourceContext) == null ? void 0 : d.bindTo) || "/",
1358
- selectedFields: (v = n.bindingSourceContext) == null ? void 0 : v.bindingEntityFields
1359
+ selectedFields: (h = n.bindingSourceContext) == null ? void 0 : h.bindingEntityFields
1359
1360
  };
1360
- return new ai(t, o).createComponent(l);
1361
+ return new ai(t, o).createComponent(s);
1361
1362
  } else
1362
1363
  return e;
1363
1364
  }
@@ -1427,8 +1428,8 @@ const si = "https://json-schema.org/draft/2020-12/schema", ui = "https://farris-
1427
1428
  /** 内部控件布局是否响应国际化 */
1428
1429
  adaptForLanguage: { type: Boolean, default: !0 }
1429
1430
  };
1430
- Tt(hi, vi, Wt, ii);
1431
- const gi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-design.gitee.io/form-group.schema.json", bi = "form-group", Ci = "A Farris Input Component", wi = "object", Fi = {
1431
+ Ft(hi, vi, Wt, ii);
1432
+ const gi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-design.gitee.io/form-group.schema.json", bi = "form-group", Ci = "A Farris Input Component", wi = "object", Ti = {
1432
1433
  id: {
1433
1434
  description: "The unique identifier for a form group",
1434
1435
  type: "string"
@@ -1500,7 +1501,7 @@ const gi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-
1500
1501
  type: "string",
1501
1502
  default: "visible"
1502
1503
  }
1503
- }, Ti = [
1504
+ }, Fi = [
1504
1505
  "id",
1505
1506
  "type",
1506
1507
  "editor"
@@ -1510,8 +1511,8 @@ const gi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-
1510
1511
  title: bi,
1511
1512
  description: Ci,
1512
1513
  type: wi,
1513
- properties: Fi,
1514
- required: Ti
1514
+ properties: Ti,
1515
+ required: Fi
1515
1516
  }, xt = {
1516
1517
  id: { type: String, default: "" },
1517
1518
  customClass: { type: String, default: "" },
@@ -1533,14 +1534,14 @@ const gi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-
1533
1534
  componentId: { type: String, default: "" },
1534
1535
  errors: { type: Object, default: null }
1535
1536
  };
1536
- Tt(
1537
+ Ft(
1537
1538
  xt,
1538
1539
  Mn,
1539
1540
  Wt,
1540
1541
  void 0
1541
1542
  );
1542
1543
  function xi(t, e, n) {
1543
- var g;
1544
+ var m;
1544
1545
  const o = n && n.getStyles && n.getStyles() || "", r = n && n.getDesignerClass && n.getDesignerClass() || "", i = y();
1545
1546
  let a;
1546
1547
  function c() {
@@ -1552,7 +1553,7 @@ function xi(t, e, n) {
1552
1553
  function d() {
1553
1554
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : n && n.checkCanDeleteComponent ? n.checkCanDeleteComponent() : !0;
1554
1555
  }
1555
- function v() {
1556
+ function h() {
1556
1557
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : n && n.hideNestedPaddingInDesginerView ? n.hideNestedPaddingInDesginerView() : !1;
1557
1558
  }
1558
1559
  function u(b) {
@@ -1563,7 +1564,7 @@ function xi(t, e, n) {
1563
1564
  const S = y(b == null ? void 0 : b.value.parent), k = u(S);
1564
1565
  return k || null;
1565
1566
  }
1566
- function s(b = e) {
1567
+ function l(b = e) {
1567
1568
  var W;
1568
1569
  if (n != null && n.getDraggableDesignItemElement)
1569
1570
  return n.getDraggableDesignItemElement(b);
@@ -1571,21 +1572,21 @@ function xi(t, e, n) {
1571
1572
  if (!S || !S.value)
1572
1573
  return null;
1573
1574
  const { getCustomButtons: O } = S.value;
1574
- return S.value.canMove || O && ((W = O()) != null && W.length) ? k : s(b.parent);
1575
+ return S.value.canMove || O && ((W = O()) != null && W.length) ? k : l(b.parent);
1575
1576
  }
1576
- function l(b) {
1577
+ function s(b) {
1577
1578
  return !!n && n.canAccepts(b);
1578
1579
  }
1579
1580
  function p() {
1580
1581
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
1581
1582
  }
1582
- function h() {
1583
+ function T() {
1583
1584
  }
1584
- function F(b, S) {
1585
+ function C(b, S) {
1585
1586
  var k;
1586
1587
  !b || !S || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(b, S), (k = e == null ? void 0 : e.setupContext) == null || k.emit("dragEnd"));
1587
1588
  }
1588
- function T(b, S) {
1589
+ function g(b, S) {
1589
1590
  const { componentType: k } = b;
1590
1591
  let O = co(k, b, S);
1591
1592
  n && n.onResolveNewComponentSchema && (O = n.onResolveNewComponentSchema(b, O));
@@ -1599,7 +1600,7 @@ function xi(t, e, n) {
1599
1600
  if (n && n.getPropsConfig)
1600
1601
  return n.getPropsConfig(...b);
1601
1602
  }
1602
- function L(b) {
1603
+ function P(b) {
1603
1604
  if (!b)
1604
1605
  return;
1605
1606
  const S = e == null ? void 0 : e.schema, { formSchemaUtils: k } = b;
@@ -1615,7 +1616,7 @@ function xi(t, e, n) {
1615
1616
  k.removeCommunicationInComponent(S);
1616
1617
  }
1617
1618
  function B(b) {
1618
- n && n.onRemoveComponent && n.onRemoveComponent(), L(b), V(b), e != null && e.schema.contents && e.schema.contents.map((S) => {
1619
+ n && n.onRemoveComponent && n.onRemoveComponent(), P(b), V(b), e != null && e.schema.contents && e.schema.contents.map((S) => {
1619
1620
  let k = S.id;
1620
1621
  S.type === "component-ref" && (k = S.component);
1621
1622
  const O = t.value.querySelectorAll(`#${k}-design-item`);
@@ -1641,57 +1642,57 @@ function xi(t, e, n) {
1641
1642
  if (n != null && n.getComponentTitle)
1642
1643
  S = n.getComponentTitle();
1643
1644
  else {
1644
- const { text: W, title: K, label: P, mainTitle: j, name: J, type: Y } = e.schema;
1645
- S = W || K || P || j || J || ((O = G[Y]) == null ? void 0 : O.name);
1645
+ const { text: W, title: K, label: L, mainTitle: j, name: J, type: Y } = e.schema;
1646
+ S = W || K || L || j || J || ((O = G[Y]) == null ? void 0 : O.name);
1646
1647
  }
1647
1648
  S && a.getControlBasicInfoMap().set(e.schema.id, {
1648
1649
  componentTitle: S,
1649
1650
  parentPathName: S
1650
1651
  });
1651
1652
  }
1652
- function m(b) {
1653
+ function v(b) {
1653
1654
  var W;
1654
1655
  const { changeObject: S } = b, { propertyID: k, propertyValue: O } = S;
1655
1656
  if (["text", "title", "label", "name", "mainTitle"].includes((W = b == null ? void 0 : b.changeObject) == null ? void 0 : W.propertyID) && k && O && (I(), a)) {
1656
- const K = a.getControlBasicInfoMap(), P = K.keys().toArray().filter((j) => {
1657
+ const K = a.getControlBasicInfoMap(), L = K.keys().toArray().filter((j) => {
1657
1658
  var J, Y;
1658
1659
  return ((J = K.get(j)) == null ? void 0 : J.reliedComponentId) === ((Y = e == null ? void 0 : e.schema) == null ? void 0 : Y.id);
1659
1660
  });
1660
- P != null && P.length && P.forEach((j) => {
1661
+ L != null && L.length && L.forEach((j) => {
1661
1662
  const J = K.get(j).parentPathName.split(" > ");
1662
1663
  J[0] = O, K.get(j).parentPathName = J.join(" > ");
1663
1664
  });
1664
1665
  }
1665
1666
  }
1666
- function w(b) {
1667
- if (m(b), n && n.onPropertyChanged)
1667
+ function F(b) {
1668
+ if (v(b), n && n.onPropertyChanged)
1668
1669
  return n.onPropertyChanged(b);
1669
1670
  }
1670
1671
  return i.value = {
1671
1672
  canMove: c(),
1672
1673
  canSelectParent: f(),
1673
1674
  canDelete: d(),
1674
- canNested: !v(),
1675
+ canNested: !h(),
1675
1676
  contents: e == null ? void 0 : e.schema.contents,
1676
1677
  elementRef: t,
1677
- parent: (g = e == null ? void 0 : e.parent) == null ? void 0 : g.componentInstance,
1678
+ parent: (m = e == null ? void 0 : e.parent) == null ? void 0 : m.componentInstance,
1678
1679
  schema: e == null ? void 0 : e.schema,
1679
1680
  styles: o,
1680
1681
  designerClass: r,
1681
- canAccepts: l,
1682
+ canAccepts: s,
1682
1683
  getBelongedComponentInstance: u,
1683
- getDraggableDesignItemElement: s,
1684
+ getDraggableDesignItemElement: l,
1684
1685
  getDraggingDisplayText: p,
1685
1686
  getPropConfig: N,
1686
- getDragScopeElement: h,
1687
- onAcceptMovedChildElement: F,
1687
+ getDragScopeElement: T,
1688
+ onAcceptMovedChildElement: C,
1688
1689
  onChildElementMovedOut: x,
1689
- addNewChildComponentSchema: T,
1690
+ addNewChildComponentSchema: g,
1690
1691
  triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || y(!1),
1691
1692
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || y(!1),
1692
1693
  onRemoveComponent: B,
1693
1694
  getCustomButtons: E,
1694
- onPropertyChanged: w,
1695
+ onPropertyChanged: F,
1695
1696
  setComponentBasicInfoMap: I,
1696
1697
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1697
1698
  }, i;
@@ -1709,7 +1710,7 @@ const Si = {
1709
1710
  * 实际支持 'visible'可见 | 'reserve-space' 占位不显示
1710
1711
  */
1711
1712
  showType: { type: String, default: "visible" }
1712
- }, In = /* @__PURE__ */ Te({
1713
+ }, In = /* @__PURE__ */ Fe({
1713
1714
  name: "FDynamicFormLabel",
1714
1715
  props: Si,
1715
1716
  emits: [],
@@ -1718,34 +1719,34 @@ const Si = {
1718
1719
  const n = y(t.required), o = y(t.text), r = y(t.valid), i = y(t.inValidTip);
1719
1720
  de(() => t.text, () => {
1720
1721
  o.value = t.text;
1721
- }), de(() => t.required, (v, u) => {
1722
- v !== u && (n.value = v);
1723
- }), de([() => t.valid, () => t.inValidTip], ([v, u]) => {
1724
- r.value = v, i.value = u;
1722
+ }), de(() => t.required, (h, u) => {
1723
+ h !== u && (n.value = h);
1724
+ }), de([() => t.valid, () => t.inValidTip], ([h, u]) => {
1725
+ r.value = h, i.value = u;
1725
1726
  });
1726
1727
  const a = z(() => r.value ? o.value : i.value), c = z(() => r.value ? "" : "color:red"), f = z(() => ({
1727
1728
  "col-form-label": !0,
1728
1729
  // 指定必填,当显示模式是隐藏或者没有指定标签名时,宽度不限定
1729
1730
  "f-width-auto": n.value && (t.showType === "none" || !o.value)
1730
1731
  })), d = z(() => t.showType === "reserve-space" || n.value || o.value && t.showType !== "none");
1731
- return () => d.value && C("label", {
1732
+ return () => d.value && w("label", {
1732
1733
  class: f.value,
1733
1734
  title: a.value,
1734
1735
  style: c.value
1735
- }, [!r.value && C("span", {
1736
+ }, [!r.value && w("span", {
1736
1737
  class: "f-icon f-icon-warning mr-1",
1737
1738
  style: "color: red; min-width: 16px;",
1738
1739
  title: i.value
1739
- }, null), C("span", {
1740
+ }, null), w("span", {
1740
1741
  class: "farris-label-text"
1741
- }, [n.value && C("span", {
1742
+ }, [n.value && w("span", {
1742
1743
  class: "farris-label-info text-danger"
1743
1744
  }, [cn("*")]), t.showType === "visible" && o.value])]);
1744
1745
  }
1745
1746
  }), D = {}, H = {}, q = {}, _ = {};
1746
1747
  let on = !1;
1747
1748
  function ki() {
1748
- on || (on = !0, yo.register(D, H, q, _), go.register(D, H, q, _), bo.register(D, H, q, _), Co.register(D, H, q, _), wo.register(D, H, q, _), Fo.register(D, H, q, _), en.register(D, H, q, _), tn.register(D, H, q, _), en.register(D, H, q, _), tn.register(D, H, q, _), At.register(D, H, q, _), To.register(D, H, q, _), xo.register(D, H, q, _), ko.register(D, H, q, _), So.register(D, H, q, _), Bo.register(D, H, q, _), Eo.register(D, H, q, _), Mo.register(D, H, q, _), to.register(D, H, q, _), Io.register(D, H, q, _), Br.register(D, H, q, _), Vo.register(D, H, q, _), Oo.register(D, H, q, _), Cr.register(D, H, q, _), Po.register(D, H, q, _), Lo.register(D, H, q, _), jo.register(D, H, q, _), Ro.register(D, H, q, _), $o.register(D, H, q, _), Ao.register(D, H, q, _), zo.register(D, H, q, _), Do.register(D, H, q, _), Ho.register(D, H, q, _), qo.register(D, H, q, _), Go.register(D, H, q, _), _o.register(D, H, q, _), Wo.register(D, H, q, _), Uo.register(D, H, q, _), Yo.register(D, H, q, _), Xo.register(D, H, q, _), Zo.register(D, H, q, _), Jo.register(D, H, q, _), Ko.register(D, H, q, _), er.register(D, H, q, _), Qo.register(D, H, q, _), gr.register(D, H, q), tr.register(D, H, q, _), nr.register(D, H, q, _), or.register(D, H, q, _), rr.register(D, H, q, _), ar.register(D, H, q, _), ir.register(D, H, q, _), Fr.register(D, H, q, _), lr.register(D, H, q, _), sr.register(D, H, q, _), ur.register(D, H, q, _), cr.register(D, H, q, _), dr.register(D, H, q, _), fr.register(D, H, q, _), mr.register(D, H, q, _), pr.register(D, H, q, _), vr.register(D, H, q, _), hr.register(D, H, q, _), yr.register(D, H, q, _), No.register(D, H, q, _), br.register(D, H, q, _), wr.register(D, H, q, _), Tr.register(D, H, q, _), xr.register(D, H, q, _), Sr.register(D, H, q, _), kr.register(D, H, q, _), Er.register(D, H, q, _), Mr.register(D, H, q, _), Ir.register(D, H, q, _), Vr.register(D, H, q, _), Or.register(D, H, q, _), Nr.register(D, H, q, _));
1749
+ on || (on = !0, yo.register(D, H, q, _), go.register(D, H, q, _), bo.register(D, H, q, _), Co.register(D, H, q, _), wo.register(D, H, q, _), To.register(D, H, q, _), en.register(D, H, q, _), tn.register(D, H, q, _), en.register(D, H, q, _), tn.register(D, H, q, _), At.register(D, H, q, _), Fo.register(D, H, q, _), xo.register(D, H, q, _), ko.register(D, H, q, _), So.register(D, H, q, _), Bo.register(D, H, q, _), Eo.register(D, H, q, _), Mo.register(D, H, q, _), to.register(D, H, q, _), Io.register(D, H, q, _), Br.register(D, H, q, _), Vo.register(D, H, q, _), Oo.register(D, H, q, _), Cr.register(D, H, q, _), Po.register(D, H, q, _), Lo.register(D, H, q, _), jo.register(D, H, q, _), Ro.register(D, H, q, _), $o.register(D, H, q, _), Ao.register(D, H, q, _), zo.register(D, H, q, _), Do.register(D, H, q, _), Ho.register(D, H, q, _), qo.register(D, H, q, _), Go.register(D, H, q, _), _o.register(D, H, q, _), Wo.register(D, H, q, _), Uo.register(D, H, q, _), Yo.register(D, H, q, _), Xo.register(D, H, q, _), Zo.register(D, H, q, _), Jo.register(D, H, q, _), Ko.register(D, H, q, _), er.register(D, H, q, _), Qo.register(D, H, q, _), gr.register(D, H, q), tr.register(D, H, q, _), nr.register(D, H, q, _), or.register(D, H, q, _), rr.register(D, H, q, _), ar.register(D, H, q, _), ir.register(D, H, q, _), Tr.register(D, H, q, _), lr.register(D, H, q, _), sr.register(D, H, q, _), ur.register(D, H, q, _), cr.register(D, H, q, _), dr.register(D, H, q, _), fr.register(D, H, q, _), mr.register(D, H, q, _), pr.register(D, H, q, _), vr.register(D, H, q, _), hr.register(D, H, q, _), yr.register(D, H, q, _), No.register(D, H, q, _), br.register(D, H, q, _), wr.register(D, H, q, _), Fr.register(D, H, q, _), xr.register(D, H, q, _), Sr.register(D, H, q, _), kr.register(D, H, q, _), Er.register(D, H, q, _), Mr.register(D, H, q, _), Ir.register(D, H, q, _), Vr.register(D, H, q, _), Or.register(D, H, q, _), Nr.register(D, H, q, _));
1749
1750
  }
1750
1751
  function Bi() {
1751
1752
  ki();
@@ -1863,7 +1864,7 @@ const Ei = {
1863
1864
  type: Object,
1864
1865
  default: null
1865
1866
  }
1866
- }, Mi = /* @__PURE__ */ Te({
1867
+ }, Mi = /* @__PURE__ */ Fe({
1867
1868
  name: "FValidationMessage",
1868
1869
  props: Ei,
1869
1870
  emits: [],
@@ -1882,79 +1883,79 @@ const Ei = {
1882
1883
  }
1883
1884
  return "";
1884
1885
  });
1885
- return () => r.value && C("div", {
1886
+ return () => r.value && w("div", {
1886
1887
  class: "farris-feedback f-state-invalid",
1887
1888
  onClick: () => o.value = !o.value
1888
- }, [!o.value && C("span", {
1889
+ }, [!o.value && w("span", {
1889
1890
  class: "f-icon f-icon-message_warning f-feedback-icon"
1890
- }, null), o.value && C("span", {
1891
+ }, null), o.value && w("span", {
1891
1892
  class: "f-feedback-message"
1892
1893
  }, [r.value])]);
1893
1894
  }
1894
- }), Ii = /* @__PURE__ */ Te({
1895
+ }), Ii = /* @__PURE__ */ Fe({
1895
1896
  name: "FDynamicFormGroup",
1896
1897
  props: xt,
1897
1898
  emits: ["change", "update:modelValue"],
1898
1899
  setup(t, e) {
1899
1900
  var E;
1900
- const n = y(t.id), o = y(t.customClass), r = y(t.editor), i = y(t.label), a = y(t.modelValue), c = y(t.readonly), f = y(((E = t.editor) == null ? void 0 : E.required) || t.required), d = y(t.showLabel), v = y(t.visible);
1901
+ const n = y(t.id), o = y(t.customClass), r = y(t.editor), i = y(t.label), a = y(t.modelValue), c = y(t.readonly), f = y(((E = t.editor) == null ? void 0 : E.required) || t.required), d = y(t.showLabel), h = y(t.visible);
1901
1902
  y(t.type);
1902
- const u = y(), s = y(t.errors), l = z(() => d.value ? t.showLabelType : "none"), {
1903
+ const u = y(), l = y(t.errors), s = z(() => d.value ? t.showLabelType : "none"), {
1903
1904
  resolveEditorProps: p,
1904
- resolveEditorType: h,
1905
- getChangeFunctionName: F,
1906
- getClearFunctionName: T
1905
+ resolveEditorType: T,
1906
+ getChangeFunctionName: C,
1907
+ getClearFunctionName: g
1907
1908
  } = Bi(), x = z(() => ({
1908
1909
  "form-group": !0,
1909
1910
  "farris-form-group": !0,
1910
1911
  "common-group": !0,
1911
1912
  "q-state-readonly": c.value
1912
1913
  }));
1913
- function N(I, m, w) {
1914
- a.value = m !== void 0 ? m : I, e.emit("update:modelValue", a.value), e.emit("change", a.value, {
1914
+ function N(I, v, F) {
1915
+ a.value = v !== void 0 ? v : I, e.emit("update:modelValue", a.value), e.emit("change", a.value, {
1915
1916
  newValue: I,
1916
- newModelValue: m,
1917
- parameters: w
1917
+ newModelValue: v,
1918
+ parameters: F
1918
1919
  });
1919
1920
  }
1920
- function L() {
1921
+ function P() {
1921
1922
  e.emit("update:modelValue", "");
1922
1923
  }
1923
1924
  const V = z(() => {
1924
- const I = r.value.type || "input-group", m = h(I), w = p(I, r.value), g = F(I), b = T(r.value.type);
1925
- return b && (w[b] = L), w[g] = N, (w.id == null || w.id === "") && (w.id = n.value), I === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (w.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (w.onEndValueChange = r.value.onEndValueChange)) : I === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? (w["onUpdate:idValue"] = r.value["onUpdate:idValue"], w.id = n.value) : I === "collection-property-editor" && r.value.onSelectionChange && typeof r.value.onSelectionChange == "function" ? w.onSelectionChange = r.value.onSelectionChange : I === "property-editor" && (w.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => C(m, at({
1925
+ const I = r.value.type || "input-group", v = T(I), F = p(I, r.value), m = C(I), b = g(r.value.type);
1926
+ return b && (F[b] = P), F[m] = N, (F.id == null || F.id === "") && (F.id = n.value), I === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (F.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (F.onEndValueChange = r.value.onEndValueChange)) : I === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? (F["onUpdate:idValue"] = r.value["onUpdate:idValue"], F.id = n.value) : I === "collection-property-editor" && r.value.onSelectionChange && typeof r.value.onSelectionChange == "function" ? F.onSelectionChange = r.value.onSelectionChange : I === "property-editor" && (F.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => w(v, at({
1926
1927
  ref: u
1927
- }, w, {
1928
+ }, F, {
1928
1929
  modelValue: a.value,
1929
1930
  "onUpdate:modelValue": (S) => a.value = S
1930
1931
  }), e.slots);
1931
1932
  });
1932
1933
  function B() {
1933
- return C(Mi, {
1934
+ return w(Mi, {
1934
1935
  id: `${n.value}-validation-message`,
1935
- errors: s.value
1936
+ errors: l.value
1936
1937
  }, null);
1937
1938
  }
1938
- return de([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible, () => t.errors], ([I, m, w, g, b, S, k, O, W, K]) => {
1939
- var P;
1940
- n.value = I, o.value = m, r.value = w, i.value = g, a.value = b, c.value = S, f.value = ((P = r.value) == null ? void 0 : P.required) || k, d.value = O, v.value = W, s.value = K;
1939
+ return de([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible, () => t.errors], ([I, v, F, m, b, S, k, O, W, K]) => {
1940
+ var L;
1941
+ n.value = I, o.value = v, r.value = F, i.value = m, a.value = b, c.value = S, f.value = ((L = r.value) == null ? void 0 : L.required) || k, d.value = O, h.value = W, l.value = K;
1941
1942
  }), e.expose({
1942
1943
  editorRef: u
1943
- }), () => v.value && C("div", {
1944
+ }), () => h.value && w("div", {
1944
1945
  id: `${n.value}-form-group`,
1945
1946
  class: o.value,
1946
1947
  style: t.customStyle
1947
- }, [C("div", {
1948
+ }, [w("div", {
1948
1949
  class: "farris-group-wrap"
1949
- }, [C("div", {
1950
+ }, [w("div", {
1950
1951
  class: x.value
1951
- }, [C(In, {
1952
+ }, [w(In, {
1952
1953
  id: `${n.value}-lable`,
1953
- showType: l.value,
1954
+ showType: s.value,
1954
1955
  required: f.value,
1955
1956
  text: i.value,
1956
1957
  title: i.value
1957
- }, null), C("div", {
1958
+ }, null), w("div", {
1958
1959
  class: "farris-input-wrap"
1959
1960
  }, [V.value(), B()])])])]);
1960
1961
  }
@@ -2049,68 +2050,68 @@ function Pi(t, e) {
2049
2050
  }
2050
2051
  function Li(t, e, n, o) {
2051
2052
  const { appendedContent: r } = o, i = y(t.enableViewPassword), a = z(() => t.type === "password"), c = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', f = '<span class="f-icon f-icon-eye"></span>', d = y(!1);
2052
- de(() => [t.readonly, t.disabled], ([s, l]) => {
2053
- a.value && (n.value = s || l ? "password" : n.value, r.value = s || l ? f : r.value);
2053
+ de(() => [t.readonly, t.disabled], ([l, s]) => {
2054
+ a.value && (n.value = l || s ? "password" : n.value, r.value = l || s ? f : r.value);
2054
2055
  });
2055
- function v() {
2056
+ function h() {
2056
2057
  return d.value = !d.value, n.value = d.value ? "text" : "password", r.value = d.value ? c : f, !1;
2057
2058
  }
2058
2059
  function u() {
2059
2060
  n.value = a.value ? "password" : "text", r.value = a.value ? i.value ? f : "" : r.value;
2060
2061
  }
2061
- return u(), { isPassword: a, onClickAppendedButton: v };
2062
+ return u(), { isPassword: a, onClickAppendedButton: h };
2062
2063
  }
2063
2064
  function ji(t, e, n, o, r) {
2064
2065
  const {
2065
2066
  appendedButtonClass: i,
2066
2067
  appendedContent: a
2067
2068
  } = n, c = z(() => t.showButtonWhenDisabled && (!t.editable || !t.readonly) && !t.disabled), f = z(() => a.value && !e.slots.groupTextTemplate), d = z(() => !!e.slots.groupTextTemplate), {
2068
- clearButtonClass: v,
2069
+ clearButtonClass: h,
2069
2070
  clearButtonStyle: u,
2070
- onClearValue: s,
2071
- shouldShowClearButton: l
2071
+ onClearValue: l,
2072
+ shouldShowClearButton: s
2072
2073
  } = o;
2073
2074
  function p() {
2074
- return C("span", {
2075
+ return w("span", {
2075
2076
  id: "clearIcon",
2076
- class: v.value,
2077
+ class: h.value,
2077
2078
  style: u.value,
2078
- onClick: (E) => s(E)
2079
- }, [C("i", {
2079
+ onClick: (E) => l(E)
2080
+ }, [w("i", {
2080
2081
  class: "f-icon modal_close"
2081
2082
  }, null)]);
2082
2083
  }
2083
- function h(E) {
2084
+ function T(E) {
2084
2085
  e.emit("iconMouseEnter", E);
2085
2086
  }
2086
- function F(E) {
2087
+ function C(E) {
2087
2088
  e.emit("iconMouseLeave", E);
2088
2089
  }
2089
- function T(E) {
2090
+ function g(E) {
2090
2091
  c.value && e.emit("clickHandle", {
2091
2092
  originalEvent: E
2092
2093
  }), E.stopPropagation();
2093
2094
  }
2094
- const x = t.type === "password" ? r.onClickAppendedButton : T;
2095
+ const x = t.type === "password" ? r.onClickAppendedButton : g;
2095
2096
  function N() {
2096
- return C("span", {
2097
+ return w("span", {
2097
2098
  class: "input-group-text",
2098
- onMouseenter: (E) => h(E),
2099
- onMouseleave: (E) => F(E),
2099
+ onMouseenter: (E) => T(E),
2100
+ onMouseleave: (E) => C(E),
2100
2101
  innerHTML: a.value,
2101
2102
  onClick: (E) => x(E)
2102
2103
  }, null);
2103
2104
  }
2104
- function L() {
2105
+ function P() {
2105
2106
  return e.slots.groupTextTemplate && e.slots.groupTextTemplate();
2106
2107
  }
2107
2108
  function V() {
2108
- return f.value ? N : d.value ? L : "";
2109
+ return f.value ? N : d.value ? P : "";
2109
2110
  }
2110
2111
  const B = V();
2111
- return () => C("div", {
2112
+ return () => w("div", {
2112
2113
  class: i.value
2113
- }, [l.value && p(), B && B()]);
2114
+ }, [s.value && p(), B && B()]);
2114
2115
  }
2115
2116
  const Vn = [
2116
2117
  { key: "none", value: "无" },
@@ -2247,7 +2248,7 @@ function Di(t, e) {
2247
2248
  }
2248
2249
  return { getPropsConfig: o };
2249
2250
  }
2250
- const Hi = /* @__PURE__ */ Te({
2251
+ const Hi = /* @__PURE__ */ Fe({
2251
2252
  name: "FInputGroupDesign",
2252
2253
  props: Ni,
2253
2254
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
@@ -2258,23 +2259,23 @@ const Hi = /* @__PURE__ */ Te({
2258
2259
  inputGroupStyle: c
2259
2260
  } = r, f = Pi(t), {
2260
2261
  shouldShowAppendedButton: d
2261
- } = f, v = ao(t, e, r), {
2262
+ } = f, h = ao(t, e, r), {
2262
2263
  onMouseEnter: u,
2263
- onMouseLeave: s
2264
- } = v, l = Li(t, e, a, f), p = y(), h = Ze("designer-host-service"), F = Ze("design-item-context"), T = Di(F, h), x = mo(p, F, T);
2264
+ onMouseLeave: l
2265
+ } = h, s = Li(t, e, a, f), p = y(), T = Ze("designer-host-service"), C = Ze("design-item-context"), g = Di(C, T), x = mo(p, C, g);
2265
2266
  it(() => {
2266
2267
  p.value.componentInstance = x;
2267
2268
  }), e.expose(x.value);
2268
- const N = ji(t, e, f, v, l), L = y();
2269
- return () => C("div", {
2269
+ const N = ji(t, e, f, h, s), P = y();
2270
+ return () => w("div", {
2270
2271
  id: "inputGroup",
2271
2272
  ref: p,
2272
2273
  class: i.value,
2273
2274
  style: c.value,
2274
2275
  onMouseenter: u,
2275
- onMouseleave: s
2276
- }, [C("input", {
2277
- ref: L,
2276
+ onMouseleave: l
2277
+ }, [w("input", {
2278
+ ref: P,
2278
2279
  class: "form-control",
2279
2280
  readonly: !0,
2280
2281
  placeholder: t.placeholder
@@ -2400,20 +2401,20 @@ var Gi = { exports: {} };
2400
2401
  })(function() {
2401
2402
  return (/* @__PURE__ */ function() {
2402
2403
  function n(o, r, i) {
2403
- function a(d, v) {
2404
+ function a(d, h) {
2404
2405
  if (!r[d]) {
2405
2406
  if (!o[d]) {
2406
2407
  var u = typeof ht == "function" && ht;
2407
- if (!v && u) return u(d, !0);
2408
+ if (!h && u) return u(d, !0);
2408
2409
  if (c) return c(d, !0);
2409
- var s = new Error("Cannot find module '" + d + "'");
2410
- throw s.code = "MODULE_NOT_FOUND", s;
2410
+ var l = new Error("Cannot find module '" + d + "'");
2411
+ throw l.code = "MODULE_NOT_FOUND", l;
2411
2412
  }
2412
- var l = r[d] = { exports: {} };
2413
- o[d][0].call(l.exports, function(p) {
2414
- var h = o[d][1][p];
2415
- return a(h || p);
2416
- }, l, l.exports, n, o, r, i);
2413
+ var s = r[d] = { exports: {} };
2414
+ o[d][0].call(s.exports, function(p) {
2415
+ var T = o[d][1][p];
2416
+ return a(T || p);
2417
+ }, s, s.exports, n, o, r, i);
2417
2418
  }
2418
2419
  return r[d].exports;
2419
2420
  }
@@ -2425,29 +2426,29 @@ var Gi = { exports: {} };
2425
2426
  1: [function(n, o, r) {
2426
2427
  var i = {}, a = "(?:^|\\s)", c = "(?:\\s|$)";
2427
2428
  function f(u) {
2428
- var s = i[u];
2429
- return s ? s.lastIndex = 0 : i[u] = s = new RegExp(a + u + c, "g"), s;
2429
+ var l = i[u];
2430
+ return l ? l.lastIndex = 0 : i[u] = l = new RegExp(a + u + c, "g"), l;
2430
2431
  }
2431
- function d(u, s) {
2432
- var l = u.className;
2433
- l.length ? f(s).test(l) || (u.className += " " + s) : u.className = s;
2432
+ function d(u, l) {
2433
+ var s = u.className;
2434
+ s.length ? f(l).test(s) || (u.className += " " + l) : u.className = l;
2434
2435
  }
2435
- function v(u, s) {
2436
- u.className = u.className.replace(f(s), " ").trim();
2436
+ function h(u, l) {
2437
+ u.className = u.className.replace(f(l), " ").trim();
2437
2438
  }
2438
2439
  o.exports = {
2439
2440
  add: d,
2440
- rm: v
2441
+ rm: h
2441
2442
  };
2442
2443
  }, {}],
2443
2444
  2: [function(n, o, r) {
2444
2445
  (function(i) {
2445
- var a = n("contra/emitter"), c = n("crossvent"), f = n("./classes"), d = document, v = d.documentElement;
2446
- function u(g, b) {
2446
+ var a = n("contra/emitter"), c = n("crossvent"), f = n("./classes"), d = document, h = d.documentElement;
2447
+ function u(m, b) {
2447
2448
  var S = arguments.length;
2448
- S === 1 && Array.isArray(g) === !1 && (b = g, g = []);
2449
- var k, O, W, K, P, j, J, Y, ae, ee = null, oe, te, ce = !1, ve = 0, se, Z = b || {};
2450
- Z.moves === void 0 && (Z.moves = x), Z.accepts === void 0 && (Z.accepts = x), Z.invalid === void 0 && (Z.invalid = st), Z.containers === void 0 && (Z.containers = g || []), Z.isContainer === void 0 && (Z.isContainer = T), Z.copy === void 0 && (Z.copy = !1), Z.copySortSource === void 0 && (Z.copySortSource = !1), Z.revertOnSpill === void 0 && (Z.revertOnSpill = !1), Z.removeOnSpill === void 0 && (Z.removeOnSpill = !1), Z.direction === void 0 && (Z.direction = "vertical"), Z.ignoreInputTextSelection === void 0 && (Z.ignoreInputTextSelection = !0), Z.mirrorContainer === void 0 && (Z.mirrorContainer = d.body);
2449
+ S === 1 && Array.isArray(m) === !1 && (b = m, m = []);
2450
+ var k, O, W, K, L, j, J, Y, ae, ee = null, oe, te, ce = !1, ve = 0, se, Z = b || {};
2451
+ Z.moves === void 0 && (Z.moves = x), Z.accepts === void 0 && (Z.accepts = x), Z.invalid === void 0 && (Z.invalid = st), Z.containers === void 0 && (Z.containers = m || []), Z.isContainer === void 0 && (Z.isContainer = g), Z.copy === void 0 && (Z.copy = !1), Z.copySortSource === void 0 && (Z.copySortSource = !1), Z.revertOnSpill === void 0 && (Z.revertOnSpill = !1), Z.removeOnSpill === void 0 && (Z.removeOnSpill = !1), Z.direction === void 0 && (Z.direction = "vertical"), Z.ignoreInputTextSelection === void 0 && (Z.ignoreInputTextSelection = !0), Z.mirrorContainer === void 0 && (Z.mirrorContainer = d.body);
2451
2452
  var ue = a({
2452
2453
  containers: Z.containers,
2453
2454
  start: Me,
@@ -2464,15 +2465,15 @@ var Gi = { exports: {} };
2464
2465
  }
2465
2466
  function Le(M) {
2466
2467
  var A = M ? "remove" : "add";
2467
- p(v, A, "mousedown", pe), p(v, A, "mouseup", Ae);
2468
+ p(h, A, "mousedown", pe), p(h, A, "mouseup", Ae);
2468
2469
  }
2469
2470
  function Ee(M) {
2470
2471
  var A = M ? "remove" : "add";
2471
- p(v, A, "mousemove", lt);
2472
+ p(h, A, "mousemove", lt);
2472
2473
  }
2473
2474
  function Ke(M) {
2474
2475
  var A = M ? "remove" : "add";
2475
- c[A](v, "selectstart", et), c[A](v, "click", et);
2476
+ c[A](h, "selectstart", et), c[A](h, "click", et);
2476
2477
  }
2477
2478
  function Ge() {
2478
2479
  Le(!0), Ae({});
@@ -2481,8 +2482,8 @@ var Gi = { exports: {} };
2481
2482
  oe && M.preventDefault();
2482
2483
  }
2483
2484
  function pe(M) {
2484
- K = M.clientX, P = M.clientY;
2485
- var A = h(M) !== 1 || M.metaKey || M.ctrlKey;
2485
+ K = M.clientX, L = M.clientY;
2486
+ var A = T(M) !== 1 || M.metaKey || M.ctrlKey;
2486
2487
  if (!A) {
2487
2488
  var U = M.target, Q = je(U);
2488
2489
  Q && (oe = Q, Ee(), M.type === "mousedown" && (B(U) ? U.focus() : M.preventDefault()));
@@ -2490,13 +2491,13 @@ var Gi = { exports: {} };
2490
2491
  }
2491
2492
  function lt(M) {
2492
2493
  if (oe) {
2493
- if (h(M) === 0) {
2494
+ if (T(M) === 0) {
2494
2495
  Ae({});
2495
2496
  return;
2496
2497
  }
2497
- if (!(M.clientX !== void 0 && Math.abs(M.clientX - K) <= (Z.slideFactorX || 0) && M.clientY !== void 0 && Math.abs(M.clientY - P) <= (Z.slideFactorY || 0))) {
2498
+ if (!(M.clientX !== void 0 && Math.abs(M.clientX - K) <= (Z.slideFactorX || 0) && M.clientY !== void 0 && Math.abs(M.clientY - L) <= (Z.slideFactorY || 0))) {
2498
2499
  if (Z.ignoreInputTextSelection) {
2499
- var A = w("clientX", M) || 0, U = w("clientY", M) || 0, Q = d.elementFromPoint(A, U);
2500
+ var A = F("clientX", M) || 0, U = F("clientY", M) || 0, Q = d.elementFromPoint(A, U);
2500
2501
  if (B(Q))
2501
2502
  return;
2502
2503
  }
@@ -2545,7 +2546,7 @@ var Gi = { exports: {} };
2545
2546
  }
2546
2547
  function Ae(M) {
2547
2548
  if (Ne(), !!ue.dragging) {
2548
- var A = Y || W, U = w("clientX", M) || 0, Q = w("clientY", M) || 0, ie = F(k, U, Q), le = he(ie, U, Q);
2549
+ var A = Y || W, U = F("clientX", M) || 0, Q = F("clientY", M) || 0, ie = C(k, U, Q), le = he(ie, U, Q);
2549
2550
  le && (Y && Z.copySortSource || !Y || le !== O) ? tt(A, le) : Z.removeOnSpill ? nt() : $();
2550
2551
  }
2551
2552
  }
@@ -2581,21 +2582,21 @@ var Gi = { exports: {} };
2581
2582
  var le = qe(Q);
2582
2583
  if (le === !1)
2583
2584
  return !1;
2584
- var Be = mt(Q, M), Fe = vt(Q, Be, A, U), xe = me(Q, Fe);
2585
- return xe ? !0 : Z.accepts(W, Q, O, Fe);
2585
+ var Be = mt(Q, M), Te = vt(Q, Be, A, U), xe = me(Q, Te);
2586
+ return xe ? !0 : Z.accepts(W, Q, O, Te);
2586
2587
  }
2587
2588
  }
2588
2589
  function Pe(M) {
2589
2590
  if (!k)
2590
2591
  return;
2591
2592
  M.preventDefault();
2592
- var A = w("clientX", M) || 0, U = w("clientY", M) || 0;
2593
+ var A = F("clientX", M) || 0, U = F("clientY", M) || 0;
2593
2594
  k.style.left = A - 2 + "px", k.style.top = U - 2 + "px";
2594
- var Q = Y || W, ie = F(k, A, U), le = he(ie, A, U), Be = le !== null && le !== ee;
2595
+ var Q = Y || W, ie = C(k, A, U), le = he(ie, A, U), Be = le !== null && le !== ee;
2595
2596
  (Be || le === null) && (Se(), ee = le, Ve()), Lt(ie, U);
2596
- var Fe = V(Q);
2597
+ var Te = V(Q);
2597
2598
  if (le === O && Y && !Z.copySortSource) {
2598
- Fe && Fe.removeChild(Q);
2599
+ Te && Te.removeChild(Q);
2599
2600
  return;
2600
2601
  }
2601
2602
  var xe, Ie = mt(le, ie);
@@ -2604,7 +2605,7 @@ var Gi = { exports: {} };
2604
2605
  else if (Z.revertOnSpill === !0 && !Y)
2605
2606
  xe = j, le = O;
2606
2607
  else {
2607
- Y && Fe && Fe.removeChild(Q), Y && te && (te.style.display = "none");
2608
+ Y && Te && Te.removeChild(Q), Y && te && (te.style.display = "none");
2608
2609
  return;
2609
2610
  }
2610
2611
  te.style.display = "block", St(xe, Q, Be), xe ? Nt(Ie, xe) : Pt(le);
@@ -2628,7 +2629,7 @@ var Gi = { exports: {} };
2628
2629
  ue.dragging && f.add(M, "gu-hide");
2629
2630
  }
2630
2631
  function Et() {
2631
- k || (k = document.createElement("div"), k.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;", k.innerHTML = Z.getMirrorText && Z.getMirrorText(W) || "控件", f.add(k, "gu-mirror"), Z.mirrorContainer.appendChild(k), p(v, "add", "mousemove", Pe), f.add(Z.mirrorContainer, "gu-unselectable"), ue.emit("cloned", k, W, "mirror"));
2632
+ k || (k = document.createElement("div"), k.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;", k.innerHTML = Z.getMirrorText && Z.getMirrorText(W) || "控件", f.add(k, "gu-mirror"), Z.mirrorContainer.appendChild(k), p(h, "add", "mousemove", Pe), f.add(Z.mirrorContainer, "gu-unselectable"), ue.emit("cloned", k, W, "mirror"));
2632
2633
  }
2633
2634
  function Mt() {
2634
2635
  if (te = document.createElement("div"), f.add(te, "gu-insertion"), W) {
@@ -2638,7 +2639,7 @@ var Gi = { exports: {} };
2638
2639
  ce = !1, Z.mirrorContainer.appendChild(te);
2639
2640
  }
2640
2641
  function It() {
2641
- k && (f.rm(Z.mirrorContainer, "gu-unselectable"), p(v, "remove", "mousemove", Pe), V(k).removeChild(k), k = null);
2642
+ k && (f.rm(Z.mirrorContainer, "gu-unselectable"), p(h, "remove", "mousemove", Pe), V(k).removeChild(k), k = null);
2642
2643
  }
2643
2644
  function Vt() {
2644
2645
  te && (V(te).removeChild(te), te = null);
@@ -2646,7 +2647,7 @@ var Gi = { exports: {} };
2646
2647
  function mt(M, A) {
2647
2648
  for (var U = A; U !== M && V(U) !== M; )
2648
2649
  U = V(U);
2649
- return U === v ? null : U;
2650
+ return U === h ? null : U;
2650
2651
  }
2651
2652
  function ut(M, A) {
2652
2653
  if (!A)
@@ -2660,8 +2661,8 @@ var Gi = { exports: {} };
2660
2661
  if (A) {
2661
2662
  var le = getComputedStyle(A), Be = le.getPropertyValue("display");
2662
2663
  if (/flex$/.test(Be)) {
2663
- var Fe = le.getPropertyValue("flex-direction") || "row";
2664
- if (Fe === "row" || Fe === "row-reverse")
2664
+ var Te = le.getPropertyValue("flex-direction") || "row";
2665
+ if (Te === "row" || Te === "row-reverse")
2665
2666
  return !Ot(A);
2666
2667
  }
2667
2668
  return !1;
@@ -2706,7 +2707,7 @@ var Gi = { exports: {} };
2706
2707
  te.style.display = "none";
2707
2708
  }
2708
2709
  function Lt(M, A) {
2709
- if (!Z.mirrorContainer.contains(M) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (se = s(M), !se || !se.contains(M)))
2710
+ if (!Z.mirrorContainer.contains(M) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (se = l(M), !se || !se.contains(M)))
2710
2711
  return;
2711
2712
  const U = document.querySelector(".dgComponentSelected"), Q = se.getBoundingClientRect();
2712
2713
  if (A - 30 < Q.top && se.scrollTop > 0) {
@@ -2720,9 +2721,9 @@ var Gi = { exports: {} };
2720
2721
  }
2721
2722
  }
2722
2723
  function vt(M, A, U, Q) {
2723
- var ie = Z.direction === "horizontal", le = Z.direction === "mixed", Be = A !== M ? xe() : Fe();
2724
+ var ie = Z.direction === "horizontal", le = Z.direction === "mixed", Be = A !== M ? xe() : Te();
2724
2725
  return Be;
2725
- function Fe() {
2726
+ function Te() {
2726
2727
  var ge = M.children.length, Ve, Se, Ce;
2727
2728
  for (Ve = 0; Ve < ge; Ve++)
2728
2729
  if (Se = M.children[Ve], Ce = Se.getBoundingClientRect(), ie && Ce.left + Ce.width / 2 > U || !le && !ie && Ce.top + Ce.height / 2 > Q || le && Ce.left + Ce.width > U && Ce.top + Ce.height > Q)
@@ -2735,7 +2736,7 @@ var Gi = { exports: {} };
2735
2736
  var Ve = Q - ge.top, Se = U - ge.left, Ce = ge.bottom - Q, ct = ge.right - U, dt = Math.min(Se, ct, Ve, Ce), ft;
2736
2737
  return ce ? ft = ct < Se : ft = Ce === dt || ct === dt || Se === dt, Ie(ft);
2737
2738
  }
2738
- return Ie(ie ? U > ge.left + N(ge) / 2 : Q > ge.top + L(ge) / 2);
2739
+ return Ie(ie ? U > ge.left + N(ge) / 2 : Q > ge.top + P(ge) / 2);
2739
2740
  }
2740
2741
  function Ie(ge) {
2741
2742
  return ge ? I(A) : A;
@@ -2745,26 +2746,26 @@ var Gi = { exports: {} };
2745
2746
  return typeof Z.copy == "boolean" ? Z.copy : Z.copy(M, A);
2746
2747
  }
2747
2748
  }
2748
- function s(g) {
2749
+ function l(m) {
2749
2750
  const b = Array.from(window.scrollContainerList);
2750
2751
  if (b.length === 1) {
2751
2752
  const k = Array.from(window.scrollContainerList)[0];
2752
2753
  return document.getElementById(k);
2753
2754
  }
2754
- const S = l(b);
2755
+ const S = s(b);
2755
2756
  for (const k of S)
2756
- if (k.contains(g))
2757
+ if (k.contains(m))
2757
2758
  return k;
2758
2759
  return null;
2759
2760
  }
2760
- function l(g) {
2761
+ function s(m) {
2761
2762
  const b = [];
2762
- return g.forEach((S) => {
2763
+ return m.forEach((S) => {
2763
2764
  const k = document.getElementById(S);
2764
2765
  k && b.push(k);
2765
2766
  }), b.sort((S, k) => S.contains(k) ? 1 : k.contains(S) ? -1 : 0), b;
2766
2767
  }
2767
- function p(g, b, S, k) {
2768
+ function p(m, b, S, k) {
2768
2769
  var O = {
2769
2770
  mouseup: "touchend",
2770
2771
  mousedown: "touchstart",
@@ -2778,66 +2779,66 @@ var Gi = { exports: {} };
2778
2779
  mousedown: "MSPointerDown",
2779
2780
  mousemove: "MSPointerMove"
2780
2781
  };
2781
- i.navigator.pointerEnabled ? c[b](g, W[S], k) : i.navigator.msPointerEnabled ? c[b](g, K[S], k) : (c[b](g, O[S], k), c[b](g, S, k));
2782
+ i.navigator.pointerEnabled ? c[b](m, W[S], k) : i.navigator.msPointerEnabled ? c[b](m, K[S], k) : (c[b](m, O[S], k), c[b](m, S, k));
2782
2783
  }
2783
- function h(g) {
2784
- if (g.touches !== void 0)
2785
- return g.touches.length;
2786
- if (g.which !== void 0 && g.which !== 0)
2787
- return g.which;
2788
- if (g.buttons !== void 0)
2789
- return g.buttons;
2790
- var b = g.button;
2784
+ function T(m) {
2785
+ if (m.touches !== void 0)
2786
+ return m.touches.length;
2787
+ if (m.which !== void 0 && m.which !== 0)
2788
+ return m.which;
2789
+ if (m.buttons !== void 0)
2790
+ return m.buttons;
2791
+ var b = m.button;
2791
2792
  if (b !== void 0)
2792
2793
  return b & 1 ? 1 : b & 2 ? 3 : b & 4 ? 2 : 0;
2793
2794
  }
2794
- function F(g, b, S) {
2795
- g = g || {};
2796
- var k = g.className || "", O;
2797
- return g.className += " gu-hide", O = d.elementFromPoint(b, S), g.className = k, O;
2795
+ function C(m, b, S) {
2796
+ m = m || {};
2797
+ var k = m.className || "", O;
2798
+ return m.className += " gu-hide", O = d.elementFromPoint(b, S), m.className = k, O;
2798
2799
  }
2799
- function T() {
2800
+ function g() {
2800
2801
  return !1;
2801
2802
  }
2802
2803
  function x() {
2803
2804
  return !0;
2804
2805
  }
2805
- function N(g) {
2806
- return g.width || g.right - g.left;
2806
+ function N(m) {
2807
+ return m.width || m.right - m.left;
2807
2808
  }
2808
- function L(g) {
2809
- return g.height || g.bottom - g.top;
2809
+ function P(m) {
2810
+ return m.height || m.bottom - m.top;
2810
2811
  }
2811
- function V(g) {
2812
- return g.parentNode === d ? null : g.parentNode;
2812
+ function V(m) {
2813
+ return m.parentNode === d ? null : m.parentNode;
2813
2814
  }
2814
- function B(g) {
2815
- return g.tagName === "INPUT" || g.tagName === "TEXTAREA" || g.tagName === "SELECT" || E(g);
2815
+ function B(m) {
2816
+ return m.tagName === "INPUT" || m.tagName === "TEXTAREA" || m.tagName === "SELECT" || E(m);
2816
2817
  }
2817
- function E(g) {
2818
- return !g || g.contentEditable === "false" ? !1 : g.contentEditable === "true" ? !0 : E(V(g));
2818
+ function E(m) {
2819
+ return !m || m.contentEditable === "false" ? !1 : m.contentEditable === "true" ? !0 : E(V(m));
2819
2820
  }
2820
- function I(g) {
2821
- return g.nextElementSibling || b();
2821
+ function I(m) {
2822
+ return m.nextElementSibling || b();
2822
2823
  function b() {
2823
- var S = g;
2824
+ var S = m;
2824
2825
  do
2825
2826
  S = S.nextSibling;
2826
2827
  while (S && S.nodeType !== 1);
2827
2828
  return S;
2828
2829
  }
2829
2830
  }
2830
- function m(g) {
2831
- return g.targetTouches && g.targetTouches.length ? g.targetTouches[0] : g.changedTouches && g.changedTouches.length ? g.changedTouches[0] : g;
2831
+ function v(m) {
2832
+ return m.targetTouches && m.targetTouches.length ? m.targetTouches[0] : m.changedTouches && m.changedTouches.length ? m.changedTouches[0] : m;
2832
2833
  }
2833
- function w(g, b) {
2834
- var S = m(b), k = {
2834
+ function F(m, b) {
2835
+ var S = v(b), k = {
2835
2836
  pageX: "clientX",
2836
2837
  // IE8
2837
2838
  pageY: "clientY"
2838
2839
  // IE8
2839
2840
  };
2840
- return g in k && !(g in S) && k[g] in S && (g = k[g]), S[g];
2841
+ return m in k && !(m in S) && k[m] in S && (m = k[m]), S[m];
2841
2842
  }
2842
2843
  o.exports = u;
2843
2844
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2858,35 +2859,35 @@ var Gi = { exports: {} };
2858
2859
  5: [function(n, o, r) {
2859
2860
  var i = n("atoa"), a = n("./debounce");
2860
2861
  o.exports = function(f, d) {
2861
- var v = d || {}, u = {};
2862
- return f === void 0 && (f = {}), f.on = function(s, l) {
2863
- return u[s] ? u[s].push(l) : u[s] = [l], f;
2864
- }, f.once = function(s, l) {
2865
- return l._once = !0, f.on(s, l), f;
2866
- }, f.off = function(s, l) {
2862
+ var h = d || {}, u = {};
2863
+ return f === void 0 && (f = {}), f.on = function(l, s) {
2864
+ return u[l] ? u[l].push(s) : u[l] = [s], f;
2865
+ }, f.once = function(l, s) {
2866
+ return s._once = !0, f.on(l, s), f;
2867
+ }, f.off = function(l, s) {
2867
2868
  var p = arguments.length;
2868
2869
  if (p === 1)
2869
- delete u[s];
2870
+ delete u[l];
2870
2871
  else if (p === 0)
2871
2872
  u = {};
2872
2873
  else {
2873
- var h = u[s];
2874
- if (!h)
2874
+ var T = u[l];
2875
+ if (!T)
2875
2876
  return f;
2876
- h.splice(h.indexOf(l), 1);
2877
+ T.splice(T.indexOf(s), 1);
2877
2878
  }
2878
2879
  return f;
2879
2880
  }, f.emit = function() {
2880
- var s = i(arguments);
2881
- return f.emitterSnapshot(s.shift()).apply(this, s);
2882
- }, f.emitterSnapshot = function(s) {
2883
- var l = (u[s] || []).slice(0);
2881
+ var l = i(arguments);
2882
+ return f.emitterSnapshot(l.shift()).apply(this, l);
2883
+ }, f.emitterSnapshot = function(l) {
2884
+ var s = (u[l] || []).slice(0);
2884
2885
  return function() {
2885
- var p = i(arguments), h = this || f;
2886
- if (s === "error" && v.throws !== !1 && !l.length)
2886
+ var p = i(arguments), T = this || f;
2887
+ if (l === "error" && h.throws !== !1 && !s.length)
2887
2888
  throw p.length === 1 ? p[0] : p;
2888
- return l.forEach(function(T) {
2889
- v.async ? a(T, p, h) : T.apply(h, p), T._once && f.off(s, T);
2889
+ return s.forEach(function(g) {
2890
+ h.async ? a(g, p, T) : g.apply(T, p), g._once && f.off(l, g);
2890
2891
  }), f;
2891
2892
  };
2892
2893
  }, f;
@@ -2894,49 +2895,49 @@ var Gi = { exports: {} };
2894
2895
  }, { "./debounce": 4, atoa: 3 }],
2895
2896
  6: [function(n, o, r) {
2896
2897
  (function(i) {
2897
- var a = n("custom-event"), c = n("./eventmap"), f = i.document, d = s, v = p, u = [];
2898
- i.addEventListener || (d = l, v = h), o.exports = {
2898
+ var a = n("custom-event"), c = n("./eventmap"), f = i.document, d = l, h = p, u = [];
2899
+ i.addEventListener || (d = s, h = T), o.exports = {
2899
2900
  add: d,
2900
- remove: v,
2901
- fabricate: F
2901
+ remove: h,
2902
+ fabricate: C
2902
2903
  };
2903
- function s(V, B, E, I) {
2904
+ function l(V, B, E, I) {
2904
2905
  return V.addEventListener(B, E, I);
2905
2906
  }
2906
- function l(V, B, E) {
2907
+ function s(V, B, E) {
2907
2908
  return V.attachEvent("on" + B, x(V, B, E));
2908
2909
  }
2909
2910
  function p(V, B, E, I) {
2910
2911
  return V.removeEventListener(B, E, I);
2911
2912
  }
2912
- function h(V, B, E) {
2913
+ function T(V, B, E) {
2913
2914
  var I = N(V, B, E);
2914
2915
  if (I)
2915
2916
  return V.detachEvent("on" + B, I);
2916
2917
  }
2917
- function F(V, B, E) {
2918
- var I = c.indexOf(B) === -1 ? w() : m();
2918
+ function C(V, B, E) {
2919
+ var I = c.indexOf(B) === -1 ? F() : v();
2919
2920
  V.dispatchEvent ? V.dispatchEvent(I) : V.fireEvent("on" + B, I);
2920
- function m() {
2921
- var g;
2922
- return f.createEvent ? (g = f.createEvent("Event"), g.initEvent(B, !0, !0)) : f.createEventObject && (g = f.createEventObject()), g;
2921
+ function v() {
2922
+ var m;
2923
+ return f.createEvent ? (m = f.createEvent("Event"), m.initEvent(B, !0, !0)) : f.createEventObject && (m = f.createEventObject()), m;
2923
2924
  }
2924
- function w() {
2925
+ function F() {
2925
2926
  return new a(B, { detail: E });
2926
2927
  }
2927
2928
  }
2928
- function T(V, B, E) {
2929
- return function(m) {
2930
- var w = m || i.event;
2931
- w.target = w.target || w.srcElement, w.preventDefault = w.preventDefault || function() {
2932
- w.returnValue = !1;
2933
- }, w.stopPropagation = w.stopPropagation || function() {
2934
- w.cancelBubble = !0;
2935
- }, w.which = w.which || w.keyCode, E.call(V, w);
2929
+ function g(V, B, E) {
2930
+ return function(v) {
2931
+ var F = v || i.event;
2932
+ F.target = F.target || F.srcElement, F.preventDefault = F.preventDefault || function() {
2933
+ F.returnValue = !1;
2934
+ }, F.stopPropagation = F.stopPropagation || function() {
2935
+ F.cancelBubble = !0;
2936
+ }, F.which = F.which || F.keyCode, E.call(V, F);
2936
2937
  };
2937
2938
  }
2938
2939
  function x(V, B, E) {
2939
- var I = N(V, B, E) || T(V, B, E);
2940
+ var I = N(V, B, E) || g(V, B, E);
2940
2941
  return u.push({
2941
2942
  wrapper: I,
2942
2943
  element: V,
@@ -2945,16 +2946,16 @@ var Gi = { exports: {} };
2945
2946
  }), I;
2946
2947
  }
2947
2948
  function N(V, B, E) {
2948
- var I = L(V, B, E);
2949
+ var I = P(V, B, E);
2949
2950
  if (I) {
2950
- var m = u[I].wrapper;
2951
- return u.splice(I, 1), m;
2951
+ var v = u[I].wrapper;
2952
+ return u.splice(I, 1), v;
2952
2953
  }
2953
2954
  }
2954
- function L(V, B, E) {
2955
- var I, m;
2955
+ function P(V, B, E) {
2956
+ var I, v;
2956
2957
  for (I = 0; I < u.length; I++)
2957
- if (m = u[I], m.element === V && m.type === B && m.fn === E)
2958
+ if (v = u[I], v.element === V && v.type === B && v.fn === E)
2958
2959
  return I;
2959
2960
  }
2960
2961
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2980,14 +2981,14 @@ var Gi = { exports: {} };
2980
2981
  }
2981
2982
  o.exports = c() ? a : (
2982
2983
  // IE >= 9
2983
- typeof document < "u" && typeof document.createEvent == "function" ? function(d, v) {
2984
+ typeof document < "u" && typeof document.createEvent == "function" ? function(d, h) {
2984
2985
  var u = document.createEvent("CustomEvent");
2985
- return v ? u.initCustomEvent(d, v.bubbles, v.cancelable, v.detail) : u.initCustomEvent(d, !1, !1, void 0), u;
2986
+ return h ? u.initCustomEvent(d, h.bubbles, h.cancelable, h.detail) : u.initCustomEvent(d, !1, !1, void 0), u;
2986
2987
  } : (
2987
2988
  // IE <= 8
2988
- function(d, v) {
2989
+ function(d, h) {
2989
2990
  var u = document.createEventObject();
2990
- return u.type = d, v ? (u.bubbles = !!v.bubbles, u.cancelable = !!v.cancelable, u.detail = v.detail) : (u.bubbles = !1, u.cancelable = !1, u.detail = void 0), u;
2991
+ return u.type = d, h ? (u.bubbles = !!h.bubbles, u.cancelable = !!h.cancelable, u.detail = h.detail) : (u.bubbles = !1, u.cancelable = !1, u.detail = void 0), u;
2991
2992
  }
2992
2993
  )
2993
2994
  );
@@ -3013,74 +3014,74 @@ var Gi = { exports: {} };
3013
3014
  c = d;
3014
3015
  }
3015
3016
  })();
3016
- function v(L) {
3017
+ function h(P) {
3017
3018
  if (a === setTimeout)
3018
- return setTimeout(L, 0);
3019
+ return setTimeout(P, 0);
3019
3020
  if ((a === f || !a) && setTimeout)
3020
- return a = setTimeout, setTimeout(L, 0);
3021
+ return a = setTimeout, setTimeout(P, 0);
3021
3022
  try {
3022
- return a(L, 0);
3023
+ return a(P, 0);
3023
3024
  } catch {
3024
3025
  try {
3025
- return a.call(null, L, 0);
3026
+ return a.call(null, P, 0);
3026
3027
  } catch {
3027
- return a.call(this, L, 0);
3028
+ return a.call(this, P, 0);
3028
3029
  }
3029
3030
  }
3030
3031
  }
3031
- function u(L) {
3032
+ function u(P) {
3032
3033
  if (c === clearTimeout)
3033
- return clearTimeout(L);
3034
+ return clearTimeout(P);
3034
3035
  if ((c === d || !c) && clearTimeout)
3035
- return c = clearTimeout, clearTimeout(L);
3036
+ return c = clearTimeout, clearTimeout(P);
3036
3037
  try {
3037
- return c(L);
3038
+ return c(P);
3038
3039
  } catch {
3039
3040
  try {
3040
- return c.call(null, L);
3041
+ return c.call(null, P);
3041
3042
  } catch {
3042
- return c.call(this, L);
3043
+ return c.call(this, P);
3043
3044
  }
3044
3045
  }
3045
3046
  }
3046
- var s = [], l = !1, p, h = -1;
3047
- function F() {
3048
- !l || !p || (l = !1, p.length ? s = p.concat(s) : h = -1, s.length && T());
3047
+ var l = [], s = !1, p, T = -1;
3048
+ function C() {
3049
+ !s || !p || (s = !1, p.length ? l = p.concat(l) : T = -1, l.length && g());
3049
3050
  }
3050
- function T() {
3051
- if (!l) {
3052
- var L = v(F);
3053
- l = !0;
3054
- for (var V = s.length; V; ) {
3055
- for (p = s, s = []; ++h < V; )
3056
- p && p[h].run();
3057
- h = -1, V = s.length;
3051
+ function g() {
3052
+ if (!s) {
3053
+ var P = h(C);
3054
+ s = !0;
3055
+ for (var V = l.length; V; ) {
3056
+ for (p = l, l = []; ++T < V; )
3057
+ p && p[T].run();
3058
+ T = -1, V = l.length;
3058
3059
  }
3059
- p = null, l = !1, u(L);
3060
+ p = null, s = !1, u(P);
3060
3061
  }
3061
3062
  }
3062
- i.nextTick = function(L) {
3063
+ i.nextTick = function(P) {
3063
3064
  var V = new Array(arguments.length - 1);
3064
3065
  if (arguments.length > 1)
3065
3066
  for (var B = 1; B < arguments.length; B++)
3066
3067
  V[B - 1] = arguments[B];
3067
- s.push(new x(L, V)), s.length === 1 && !l && v(T);
3068
+ l.push(new x(P, V)), l.length === 1 && !s && h(g);
3068
3069
  };
3069
- function x(L, V) {
3070
- this.fun = L, this.array = V;
3070
+ function x(P, V) {
3071
+ this.fun = P, this.array = V;
3071
3072
  }
3072
3073
  x.prototype.run = function() {
3073
3074
  this.fun.apply(null, this.array);
3074
3075
  }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {};
3075
3076
  function N() {
3076
3077
  }
3077
- i.on = N, i.addListener = N, i.once = N, i.off = N, i.removeListener = N, i.removeAllListeners = N, i.emit = N, i.prependListener = N, i.prependOnceListener = N, i.listeners = function(L) {
3078
+ i.on = N, i.addListener = N, i.once = N, i.off = N, i.removeListener = N, i.removeAllListeners = N, i.emit = N, i.prependListener = N, i.prependOnceListener = N, i.listeners = function(P) {
3078
3079
  return [];
3079
- }, i.binding = function(L) {
3080
+ }, i.binding = function(P) {
3080
3081
  throw new Error("process.binding is not supported");
3081
3082
  }, i.cwd = function() {
3082
3083
  return "/";
3083
- }, i.chdir = function(L) {
3084
+ }, i.chdir = function(P) {
3084
3085
  throw new Error("process.chdir is not supported");
3085
3086
  }, i.umask = function() {
3086
3087
  return 0;
@@ -3098,37 +3099,37 @@ var Gi = { exports: {} };
3098
3099
  }, { timers: 11 }],
3099
3100
  11: [function(n, o, r) {
3100
3101
  (function(i, a) {
3101
- var c = n("process/browser.js").nextTick, f = Function.prototype.apply, d = Array.prototype.slice, v = {}, u = 0;
3102
+ var c = n("process/browser.js").nextTick, f = Function.prototype.apply, d = Array.prototype.slice, h = {}, u = 0;
3102
3103
  r.setTimeout = function() {
3103
- return new s(f.call(setTimeout, window, arguments), clearTimeout);
3104
+ return new l(f.call(setTimeout, window, arguments), clearTimeout);
3104
3105
  }, r.setInterval = function() {
3105
- return new s(f.call(setInterval, window, arguments), clearInterval);
3106
- }, r.clearTimeout = r.clearInterval = function(l) {
3107
- l.close();
3106
+ return new l(f.call(setInterval, window, arguments), clearInterval);
3107
+ }, r.clearTimeout = r.clearInterval = function(s) {
3108
+ s.close();
3108
3109
  };
3109
- function s(l, p) {
3110
- this._id = l, this._clearFn = p;
3110
+ function l(s, p) {
3111
+ this._id = s, this._clearFn = p;
3111
3112
  }
3112
- s.prototype.unref = s.prototype.ref = function() {
3113
- }, s.prototype.close = function() {
3113
+ l.prototype.unref = l.prototype.ref = function() {
3114
+ }, l.prototype.close = function() {
3114
3115
  this._clearFn.call(window, this._id);
3115
- }, r.enroll = function(l, p) {
3116
- clearTimeout(l._idleTimeoutId), l._idleTimeout = p;
3117
- }, r.unenroll = function(l) {
3118
- clearTimeout(l._idleTimeoutId), l._idleTimeout = -1;
3119
- }, r._unrefActive = r.active = function(l) {
3120
- clearTimeout(l._idleTimeoutId);
3121
- var p = l._idleTimeout;
3122
- p >= 0 && (l._idleTimeoutId = setTimeout(function() {
3123
- l._onTimeout && l._onTimeout();
3116
+ }, r.enroll = function(s, p) {
3117
+ clearTimeout(s._idleTimeoutId), s._idleTimeout = p;
3118
+ }, r.unenroll = function(s) {
3119
+ clearTimeout(s._idleTimeoutId), s._idleTimeout = -1;
3120
+ }, r._unrefActive = r.active = function(s) {
3121
+ clearTimeout(s._idleTimeoutId);
3122
+ var p = s._idleTimeout;
3123
+ p >= 0 && (s._idleTimeoutId = setTimeout(function() {
3124
+ s._onTimeout && s._onTimeout();
3124
3125
  }, p));
3125
- }, r.setImmediate = typeof i == "function" ? i : function(l) {
3126
- var p = u++, h = arguments.length < 2 ? !1 : d.call(arguments, 1);
3127
- return v[p] = !0, c(function() {
3128
- v[p] && (h ? l.apply(null, h) : l.call(null), r.clearImmediate(p));
3126
+ }, r.setImmediate = typeof i == "function" ? i : function(s) {
3127
+ var p = u++, T = arguments.length < 2 ? !1 : d.call(arguments, 1);
3128
+ return h[p] = !0, c(function() {
3129
+ h[p] && (T ? s.apply(null, T) : s.call(null), r.clearImmediate(p));
3129
3130
  }), p;
3130
- }, r.clearImmediate = typeof a == "function" ? a : function(l) {
3131
- delete v[l];
3131
+ }, r.clearImmediate = typeof a == "function" ? a : function(s) {
3132
+ delete h[s];
3132
3133
  };
3133
3134
  }).call(this, n("timers").setImmediate, n("timers").clearImmediate);
3134
3135
  }, { "process/browser.js": 9, timers: 11 }]
@@ -3152,7 +3153,7 @@ const _i = {
3152
3153
  showCloseButton: { type: Boolean, default: !0 },
3153
3154
  animate: { type: String, default: "fadeIn" },
3154
3155
  options: { type: Object }
3155
- }, Dt = /* @__PURE__ */ Te({
3156
+ }, Dt = /* @__PURE__ */ Fe({
3156
3157
  name: "Toast",
3157
3158
  props: Wi,
3158
3159
  emits: ["close", "click"],
@@ -3160,83 +3161,83 @@ const _i = {
3160
3161
  const {
3161
3162
  locale: n,
3162
3163
  t: o
3163
- } = Qe(), r = y(t.animate), i = "fadeOut", a = z(() => t.options), c = y(!1), f = z(() => a.value.title && a.value.message), d = z(() => !a.value.title && a.value.message), v = z(() => {
3164
- const L = {
3164
+ } = Qe(), r = y(t.animate), i = "fadeOut", a = z(() => t.options), c = y(!1), f = z(() => a.value.title && a.value.message), d = z(() => !a.value.title && a.value.message), h = z(() => {
3165
+ const P = {
3165
3166
  animated: c.value,
3166
3167
  toast: !0,
3167
3168
  "toast--only-content": !f.value
3168
3169
  };
3169
- return L[t.animate] = !1, L[i] = c.value, L["toasty-type-" + a.value.type] = !0, a.value.theme && (L[a.value.theme] = !0), L;
3170
+ return P[t.animate] = !1, P[i] = c.value, P["toasty-type-" + a.value.type] = !0, a.value.theme && (P[a.value.theme] = !0), P;
3170
3171
  }), u = z(() => {
3171
3172
  const B = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, E = {
3172
3173
  "f-icon": !0
3173
3174
  };
3174
3175
  return E[B] = !0, E;
3175
- }), s = z(() => a.value.title || a.value.message), l = z(() => t.showCloseButton), p = z(() => !!a.value.buttons || !!e.slots.default), h = z(() => n.value === "en" ? {
3176
+ }), l = z(() => a.value.title || a.value.message), s = z(() => t.showCloseButton), p = z(() => !!a.value.buttons || !!e.slots.default), T = z(() => n.value === "en" ? {
3176
3177
  wordBreak: "keep-all",
3177
3178
  overflowWrap: "break-word"
3178
3179
  } : {});
3179
- function F(L) {
3180
- L.stopPropagation(), L.preventDefault(), c.value = !1, setTimeout(() => {
3180
+ function C(P) {
3181
+ P.stopPropagation(), P.preventDefault(), c.value = !1, setTimeout(() => {
3181
3182
  e.emit("close", a.value);
3182
3183
  }, 200);
3183
3184
  }
3184
- function T(L, V) {
3185
+ function g(P, V) {
3185
3186
  }
3186
- function x(L) {
3187
- return `f-preten-link ${L.customClass ? L.customClass : ""}`;
3187
+ function x(P) {
3188
+ return `f-preten-link ${P.customClass ? P.customClass : ""}`;
3188
3189
  }
3189
3190
  de(r, () => {
3190
3191
  r.value;
3191
3192
  });
3192
3193
  const N = () => {
3193
- var L;
3194
- return C(pt, null, [C("div", {
3194
+ var P;
3195
+ return w(pt, null, [w("div", {
3195
3196
  class: "after-toast-msg text-right"
3196
- }, [!e.slots.default && ((L = a.value.buttons) == null ? void 0 : L.map((V) => C("span", {
3197
+ }, [!e.slots.default && ((P = a.value.buttons) == null ? void 0 : P.map((V) => w("span", {
3197
3198
  class: x(V),
3198
3199
  onClick: (B) => void 0
3199
3200
  }, [V.text]))), e.slots.default && e.slots.default()])]);
3200
3201
  };
3201
- return () => C("div", {
3202
- class: v.value,
3202
+ return () => w("div", {
3203
+ class: h.value,
3203
3204
  style: "min-height:44px"
3204
- }, [l.value && C("button", {
3205
+ }, [s.value && w("button", {
3205
3206
  title: o("messageBox.close"),
3206
3207
  class: "toast-close f-btn-icon f-bare",
3207
- onClick: F
3208
- }, [C("span", {
3208
+ onClick: C
3209
+ }, [w("span", {
3209
3210
  class: "f-icon modal_close"
3210
- }, null)]), s.value && C("section", {
3211
+ }, null)]), l.value && w("section", {
3211
3212
  class: "modal-tips"
3212
- }, [!f.value && C("div", {
3213
+ }, [!f.value && w("div", {
3213
3214
  class: "float-left modal-tips-iconwrap"
3214
- }, [C("span", {
3215
+ }, [w("span", {
3215
3216
  class: u.value
3216
- }, null)]), C("div", {
3217
+ }, null)]), w("div", {
3217
3218
  class: "modal-tips-content"
3218
- }, [f.value && C(pt, null, [C("h5", {
3219
+ }, [f.value && w(pt, null, [w("h5", {
3219
3220
  class: "toast-title modal-tips-title",
3220
3221
  innerHTML: a.value.title
3221
- }, null), C("p", {
3222
+ }, null), w("p", {
3222
3223
  class: "toast-msg",
3223
3224
  innerHTML: a.value.message,
3224
- style: h.value
3225
- }, null), p.value && N()]), d.value && (a.value.buttons ? C("div", {
3225
+ style: T.value
3226
+ }, null), p.value && N()]), d.value && (a.value.buttons ? w("div", {
3226
3227
  class: "toast-title-btns-wrapper d-flex"
3227
- }, [C("h5", {
3228
+ }, [w("h5", {
3228
3229
  class: "toast-title modal-tips-title only-toast-msg",
3229
- style: h.value,
3230
+ style: T.value,
3230
3231
  innerHTML: a.value.message
3231
- }, null), C("div", {
3232
+ }, null), w("div", {
3232
3233
  class: "after-toast-title text-right ml-auto"
3233
- }, [N()])]) : C("h5", {
3234
+ }, [N()])]) : w("h5", {
3234
3235
  class: "toast-title modal-tips-title only-toast-msg",
3235
- style: h.value,
3236
+ style: T.value,
3236
3237
  innerHTML: a.value.message
3237
3238
  }, null))])])]);
3238
3239
  }
3239
- }), gt = /* @__PURE__ */ Te({
3240
+ }), gt = /* @__PURE__ */ Fe({
3240
3241
  name: "Notify",
3241
3242
  props: _i,
3242
3243
  emits: ["close", "empty"],
@@ -3249,37 +3250,37 @@ const _i = {
3249
3250
  top: 20,
3250
3251
  bottom: 12
3251
3252
  }, r = y(), i = y(t.options), a = y(t.showCloseButton), c = z(() => t.position || "bottom-right"), f = z(() => t.timeout != null ? t.timeout : 3e3), d = z(() => {
3252
- const s = t.bottom ? t.bottom : o.bottom, l = t.top ? t.top : o.top, p = {
3253
+ const l = t.bottom ? t.bottom : o.bottom, s = t.top ? t.top : o.top, p = {
3253
3254
  transition: "all 0.2s ease",
3254
3255
  left: c.value.indexOf("left") > -1 ? `${t.left ? t.left : o.left}px` : "",
3255
3256
  right: c.value.indexOf("right") > -1 ? `${t.right ? t.right : o.right}px` : "",
3256
- top: c.value.indexOf("top") > -1 ? `${l}px` : "",
3257
- bottom: c.value.indexOf("bottom") > -1 ? `${s}px` : ""
3257
+ top: c.value.indexOf("top") > -1 ? `${s}px` : "",
3258
+ bottom: c.value.indexOf("bottom") > -1 ? `${l}px` : ""
3258
3259
  };
3259
3260
  return c.value.indexOf("center") > -1 && (p.left = "50%", p.marginLeft = "calc(-24rem / 2)", c.value === "center-center" && (p.top = "50%", p.transform = "translate(-50%, -50%)")), p;
3260
3261
  });
3261
- function v(s) {
3262
+ function h(l) {
3262
3263
  e.emit("close");
3263
3264
  }
3264
3265
  f.value && setTimeout(() => {
3265
- v();
3266
+ h();
3266
3267
  }, f.value), e.expose({
3267
- closeToast: v,
3268
+ closeToast: h,
3268
3269
  container: r,
3269
3270
  notifyPosition: c
3270
3271
  });
3271
- function u(s, l) {
3272
- v();
3272
+ function u(l, s) {
3273
+ h();
3273
3274
  }
3274
- return () => C("div", {
3275
+ return () => w("div", {
3275
3276
  class: n.value,
3276
3277
  style: d.value,
3277
3278
  ref: r
3278
- }, [C(Dt, {
3279
+ }, [w(Dt, {
3279
3280
  options: i.value,
3280
3281
  showCloseButton: a.value,
3281
3282
  animate: t.animate,
3282
- onClose: (s) => u(s, i.value)
3283
+ onClose: (l) => u(l, i.value)
3283
3284
  }, null)]);
3284
3285
  }
3285
3286
  });
@@ -3314,22 +3315,22 @@ class Ui {
3314
3315
  }, 220);
3315
3316
  }
3316
3317
  if (r.position.indexOf("top") > -1) {
3317
- const v = n.getNotifyInstances(r.position), u = v[v.length - 1];
3318
+ const h = n.getNotifyInstances(r.position), u = h[h.length - 1];
3318
3319
  if (u) {
3319
- const s = u.value.container.getBoundingClientRect();
3320
- r.top = s.bottom;
3320
+ const l = u.value.container.getBoundingClientRect();
3321
+ r.top = l.bottom;
3321
3322
  }
3322
3323
  }
3323
3324
  return r.safeHtml && ((d = r.options) != null && d.message) && (r.options.message = n.escapeAllHtml(r.options.message)), Ct(() => {
3324
3325
  document.body.removeChild(i);
3325
3326
  }), it(() => {
3326
3327
  n.updateNotifyPositionForCreate(r, c);
3327
- }), () => C(fn, {
3328
+ }), () => w(fn, {
3328
3329
  mode: "out-in",
3329
3330
  name: "fade",
3330
3331
  appear: !0
3331
3332
  }, {
3332
- default: () => [C(gt, at({
3333
+ default: () => [w(gt, at({
3333
3334
  ref: c
3334
3335
  }, r, {
3335
3336
  onClose: f
@@ -3558,60 +3559,60 @@ const Xi = {
3558
3559
  }
3559
3560
  }
3560
3561
  };
3561
- function Zi(t, e, n, o, r, i, a, c, f, d, v, u, s, l, p, h, F) {
3562
+ function Zi(t, e, n, o, r, i, a, c, f, d, h, u, l, s, p, T, C) {
3562
3563
  const {
3563
- calculateCellPositionInRow: T
3564
+ calculateCellPositionInRow: g
3564
3565
  } = i, {
3565
3566
  columnContext: x,
3566
3567
  hasLeftFixedColumn: N,
3567
- hasRightFixedColumn: L
3568
+ hasRightFixedColumn: P
3568
3569
  } = a, {
3569
3570
  gridDataStyle: V,
3570
3571
  leftFixedGridDataStyle: B,
3571
3572
  rightFixedGridDataStyle: E
3572
- } = l, {
3573
+ } = s, {
3573
3574
  renderDataRow: I
3574
- } = Lr(t, e, x, F, c, f, d, v, u, s, l, p, h), m = [I];
3575
- function w(O, W) {
3576
- const K = T(O);
3577
- return F.value.filter((P) => P.visible !== !1).map((P, j) => m[P.type](P, K, W, j));
3575
+ } = Lr(t, e, x, C, c, f, d, h, u, l, s, p, T), v = [I];
3576
+ function F(O, W) {
3577
+ const K = g(O);
3578
+ return C.value.filter((L) => L.visible !== !1).map((L, j) => v[L.type](L, K, W, j));
3578
3579
  }
3579
- function g() {
3580
- return C("div", {
3580
+ function m() {
3581
+ return w("div", {
3581
3582
  ref: o,
3582
3583
  class: "fv-grid-content-left-fixed"
3583
- }, [C("div", {
3584
+ }, [w("div", {
3584
3585
  class: "fv-grid-data",
3585
3586
  style: B.value
3586
- }, [w(x.value.leftColumns.filter((O) => O.visible), "left")])]);
3587
+ }, [F(x.value.leftColumns.filter((O) => O.visible), "left")])]);
3587
3588
  }
3588
3589
  function b() {
3589
- return C("div", {
3590
+ return w("div", {
3590
3591
  ref: n,
3591
3592
  class: "fv-grid-content-primary"
3592
- }, [C("div", {
3593
+ }, [w("div", {
3593
3594
  class: "fv-grid-data",
3594
3595
  style: V.value
3595
- }, [w(x.value.primaryColumns.filter((O) => O.visible), "primary")])]);
3596
+ }, [F(x.value.primaryColumns.filter((O) => O.visible), "primary")])]);
3596
3597
  }
3597
3598
  function S() {
3598
- return C("div", {
3599
+ return w("div", {
3599
3600
  ref: r,
3600
3601
  class: "fv-grid-content-right-fixed"
3601
- }, [C("div", {
3602
+ }, [w("div", {
3602
3603
  class: "fv-grid-data",
3603
3604
  style: E.value
3604
- }, [w(x.value.rightColumns.filter((O) => O.visible), "right")])]);
3605
+ }, [F(x.value.rightColumns.filter((O) => O.visible), "right")])]);
3605
3606
  }
3606
3607
  function k() {
3607
3608
  const O = [];
3608
- return N.value && O.push(g()), O.push(b()), L.value && O.push(S()), O;
3609
+ return N.value && O.push(m()), O.push(b()), P.value && O.push(S()), O;
3609
3610
  }
3610
3611
  return {
3611
3612
  renderDataArea: k
3612
3613
  };
3613
3614
  }
3614
- const Ji = /* @__PURE__ */ Te({
3615
+ const Ji = /* @__PURE__ */ Fe({
3615
3616
  name: "FTreeGrid",
3616
3617
  props: Xi,
3617
3618
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
@@ -3619,24 +3620,24 @@ const Ji = /* @__PURE__ */ Te({
3619
3620
  var Yt, Xt;
3620
3621
  const o = ((Yt = t.rowOption) == null ? void 0 : Yt.height) || 28, r = y(20), i = y(t.columns), a = jr(t), {
3621
3622
  idField: c
3622
- } = a, f = y(), d = y(), v = y(), u = y(), s = y(), l = y([]), p = y(!1), h = y(((Xt = t.rowOption) == null ? void 0 : Xt.wrapContent) || !1), F = $r(t, a), T = Rr(t, e), x = Ar(t), {
3623
+ } = a, f = y(), d = y(), h = y(), u = y(), l = y(), s = y([]), p = y(!1), T = y(((Xt = t.rowOption) == null ? void 0 : Xt.wrapContent) || !1), C = $r(t, a), g = Rr(t, e), x = Ar(t), {
3623
3624
  collapseField: N
3624
3625
  } = x, {
3625
- showLoading: L,
3626
+ showLoading: P,
3626
3627
  renderLoading: V
3627
- } = zr(t, f), B = Dr(t, /* @__PURE__ */ new Map(), T, x, a), {
3628
+ } = zr(t, f), B = Dr(t, /* @__PURE__ */ new Map(), g, x, a), {
3628
3629
  dataView: E
3629
- } = B, I = Hr(t, B, a, l, e), {
3630
- showSelection: m,
3631
- selectedValues: w
3632
- } = I, g = qr(t, l, B, a, I, e), b = z(() => t.disabled), S = z(() => t.virtualized ? Math.min(B.dataView.value.length, r.value) : B.dataView.value.length), k = Gr(t, B), {
3630
+ } = B, I = Hr(t, B, a, s, e), {
3631
+ showSelection: v,
3632
+ selectedValues: F
3633
+ } = I, m = qr(t, s, B, a, I, e), b = z(() => t.disabled), S = z(() => t.virtualized ? Math.min(B.dataView.value.length, r.value) : B.dataView.value.length), k = Gr(t, B), {
3633
3634
  shouldRenderPagination: O
3634
3635
  } = k, {
3635
3636
  containerStyleObject: W
3636
3637
  } = _r(t), K = Wr(t), {
3637
- applyCommands: P
3638
+ applyCommands: L
3638
3639
  } = K;
3639
- P(i);
3640
+ L(i);
3640
3641
  const {
3641
3642
  applyColumnSetting: j,
3642
3643
  removeColumnSetting: J
@@ -3648,11 +3649,11 @@ const Ji = /* @__PURE__ */ Te({
3648
3649
  updateColumnRenderContext: te
3649
3650
  } = Y;
3650
3651
  ee(B, ae);
3651
- const ce = Zr(t, oe), ve = Jr(t, e, I, a), se = Qr(t, e, a, ve, l), Z = Kr(t), ue = ea(t, se, Z), qe = ta(t, B, se, x, a, Z, ue), Le = na(t, i, B, S, 0, qe), {
3652
+ const ce = Zr(t, oe), ve = Jr(t, e, I, a), se = Qr(t, e, a, ve, s), Z = Kr(t), ue = ea(t, se, Z), qe = ta(t, B, se, x, a, Z, ue), Le = na(t, i, B, S, 0, qe), {
3652
3653
  getVisualData: Ee
3653
3654
  } = Le, Ke = oa(t, oe), Ge = ra(t, I), {
3654
3655
  sidebarWidth: et
3655
- } = Ge, pe = aa(t, B, l, oe, Le, S, 0, et), {
3656
+ } = Ge, pe = aa(t, B, s, oe, Le, S, 0, et), {
3656
3657
  onWheel: lt,
3657
3658
  dataGridWidth: je,
3658
3659
  viewPortHeight: $e,
@@ -3661,7 +3662,7 @@ const Ji = /* @__PURE__ */ Te({
3661
3662
  updateVisibleRowsOnLatestVisibleScope: st
3662
3663
  } = pe, _e = ia(t, oe, d, Me, ce), {
3663
3664
  calculateColumnsSize: Ne
3664
- } = _e, Ae = la(), tt = sa(d, s, B, Ae, pe), nt = ua(t, e, Y, B, ce, F, pe), $ = z(() => {
3665
+ } = _e, Ae = la(), tt = sa(d, l, B, Ae, pe), nt = ua(t, e, Y, B, ce, C, pe), $ = z(() => {
3665
3666
  const X = {
3666
3667
  "fv-grid": !0,
3667
3668
  "fv-grid-bordered": t.showBorder,
@@ -3672,14 +3673,14 @@ const Ji = /* @__PURE__ */ Te({
3672
3673
  }), re = z(() => ({
3673
3674
  "fv-grid-content": !0,
3674
3675
  "fv-grid-content-hover": p.value,
3675
- "fv-grid-wrap-content": h.value
3676
+ "fv-grid-wrap-content": T.value
3676
3677
  })), {
3677
3678
  renderDataArea: me
3678
- } = Zi(t, e, v, u, s, Ke, Y, B, se, x, ve, I, g, pe, Le, Z, l), {
3679
+ } = Zi(t, e, h, u, l, Ke, Y, B, se, x, ve, I, m, pe, Le, Z, s), {
3679
3680
  renderGridHeader: he,
3680
3681
  renderGridColumnResizeOverlay: Pe,
3681
3682
  shouldShowHeader: St
3682
- } = ca(t, e, d, u, s, Y, B, nt, tt, T, Ae, _e, ce, I, Ge, ae, pe, Me, l), {
3683
+ } = ca(t, e, d, u, l, Y, B, nt, tt, g, Ae, _e, ce, I, Ge, ae, pe, Me, s), {
3683
3684
  renderDataGridSidebar: kt
3684
3685
  } = da(t, ve, I, Ge, pe), {
3685
3686
  renderDisableMask: Bt
@@ -3692,13 +3693,13 @@ const Ji = /* @__PURE__ */ Te({
3692
3693
  var X, ne, ye;
3693
3694
  if (d.value && d.value.clientHeight > 0 && ((X = d.value) == null ? void 0 : X.clientWidth) > 0) {
3694
3695
  const we = Math.ceil(d.value.clientHeight / o);
3695
- we > r.value && (r.value = we, st()), $e.value = ((ne = v.value) == null ? void 0 : ne.clientHeight) || 0, je.value = ((ye = d.value) == null ? void 0 : ye.clientWidth) || 0, Ne();
3696
+ we > r.value && (r.value = we, st()), $e.value = ((ne = h.value) == null ? void 0 : ne.clientHeight) || 0, je.value = ((ye = d.value) == null ? void 0 : ye.clientWidth) || 0, Ne();
3696
3697
  }
3697
3698
  }
3698
3699
  it(() => {
3699
- d.value && (r.value = Math.max(Math.ceil(d.value.clientHeight / o), r.value), l.value = Ee(0, S.value + 0 - 1), Pr(d.value, It), Ne(), Ht(() => {
3700
- d.value && (je.value = d.value.clientWidth), v.value && (Me.value = v.value.clientWidth, $e.value = v.value.clientHeight);
3701
- })), L.value && V();
3700
+ d.value && (r.value = Math.max(Math.ceil(d.value.clientHeight / o), r.value), s.value = Ee(0, S.value + 0 - 1), Pr(d.value, It), Ne(), Ht(() => {
3701
+ d.value && (je.value = d.value.clientWidth), h.value && (Me.value = h.value.clientWidth, $e.value = h.value.clientHeight);
3702
+ })), P.value && V();
3702
3703
  }), Ct(() => {
3703
3704
  }), de(Me, () => {
3704
3705
  d.value && Ne();
@@ -3715,19 +3716,19 @@ const Ji = /* @__PURE__ */ Te({
3715
3716
  }
3716
3717
  function Ot() {
3717
3718
  const X = ut();
3718
- B.insertNewDataItem(X), l.value = Ee(0, S.value + 0 - 1);
3719
+ B.insertNewDataItem(X), s.value = Ee(0, S.value + 0 - 1);
3719
3720
  }
3720
3721
  function Nt() {
3721
3722
  const X = ut();
3722
- B.insertNewChildDataItem(X), l.value = Ee(0, S.value + 0 - 1);
3723
+ B.insertNewChildDataItem(X), s.value = Ee(0, S.value + 0 - 1);
3723
3724
  }
3724
3725
  function Pt(X, ne) {
3725
- const ye = l.value.find((ke) => ke.raw[c.value] === ne), we = ye ? ye.dataIndex - 1 : -1;
3726
+ const ye = s.value.find((ke) => ke.raw[c.value] === ne), we = ye ? ye.dataIndex - 1 : -1;
3726
3727
  B.insertNewChildDataItems(X, we);
3727
3728
  }
3728
3729
  function Lt() {
3729
- const X = ut(), ne = g.getNextSelectableHierarchyItemId(X);
3730
- B.removeHierarchyDataItem(X), l.value = Ee(0, S.value + 0 - 1), ne && I.selectItemById(ne);
3730
+ const X = ut(), ne = m.getNextSelectableHierarchyItemId(X);
3731
+ B.removeHierarchyDataItem(X), s.value = Ee(0, S.value + 0 - 1), ne && m.selectItemById(ne);
3731
3732
  }
3732
3733
  function vt(X) {
3733
3734
  se.onEditingRow(X);
@@ -3739,7 +3740,7 @@ const Ji = /* @__PURE__ */ Te({
3739
3740
  se.cancelEditingRow(X);
3740
3741
  }
3741
3742
  function A(X) {
3742
- X && (i.value = X, P(i), te(i.value), ee(B, ae), Ne());
3743
+ X && (i.value = X, L(i), te(i.value), ee(B, ae), Ne());
3743
3744
  }
3744
3745
  de(() => t.columns, (X) => {
3745
3746
  A(X);
@@ -3748,32 +3749,32 @@ const Ji = /* @__PURE__ */ Te({
3748
3749
  X && (B.load(X), B.reOrderVisibleIndex(), ne != null && ne.keepScrollPosition ? pe.scrollTo(pe.offsetY.value) : Re());
3749
3750
  }
3750
3751
  function Q(X) {
3751
- I.selectItemById(X);
3752
+ m.selectItemById(X);
3752
3753
  }
3753
3754
  function ie(X) {
3754
- const ne = l.value.find((ye) => ye.raw[a.idField.value] === X);
3755
+ const ne = s.value.find((ye) => ye.raw[a.idField.value] === X);
3755
3756
  ne && ve.clickRowItem(ne);
3756
3757
  }
3757
3758
  function le(X) {
3758
3759
  ve.activeRowById(X);
3759
3760
  }
3760
3761
  function Be(X) {
3761
- I.selectItemByIds(X);
3762
+ m.selectItemByIds(X);
3762
3763
  }
3763
- function Fe() {
3764
+ function Te() {
3764
3765
  return I.getSelectedItems();
3765
3766
  }
3766
3767
  function xe() {
3767
3768
  I.clearSelection();
3768
3769
  }
3769
- const Ie = z(() => !l.value || !l.value.length), {
3770
+ const Ie = z(() => !s.value || !s.value.length), {
3770
3771
  renderEmpty: ge
3771
3772
  } = va(t, e);
3772
3773
  function Ve() {
3773
3774
  return I.getSelectionRow();
3774
3775
  }
3775
3776
  function Se(X) {
3776
- I.unSelectItemByIds(X);
3777
+ m.unSelectItemByIds(X);
3777
3778
  }
3778
3779
  function Ce() {
3779
3780
  return I.currentSelectedDataId.value;
@@ -3792,7 +3793,7 @@ const Ji = /* @__PURE__ */ Te({
3792
3793
  } = ye;
3793
3794
  be && !ze(ne[be]) && (we.__fv_collapse__ = ne[be]), Ue && !ze(ne[Ue]) && (we.__fv_checked__ = ne[Ue]), We && !ze(ne[We]) && (we.__fv_disabled__ = ne[We]), Ye && !ze(ne[Ye]) && (we.__fv_visible__ = ne[Ye]);
3794
3795
  }
3795
- const ke = l.value.find((be) => be.raw[c.value] === X), Zt = l.value.findIndex((be) => be.raw[c.value] === X);
3796
+ const ke = s.value.find((be) => be.raw[c.value] === X), Zt = s.value.findIndex((be) => be.raw[c.value] === X);
3796
3797
  if (ke) {
3797
3798
  if (ke.raw = we, Object.keys(ke.data).forEach((be) => {
3798
3799
  ke.data[be].updateData(we);
@@ -3805,7 +3806,7 @@ const Ji = /* @__PURE__ */ Te({
3805
3806
  } = ye;
3806
3807
  be && !ze(ne[be]) && (ke.collapse = ne[be]), Ue && !ze(ne[Ue]) && (ke.checked = ne[Ue]), We && !ze(ne[We]) && (ke.disabled = ne[We]), Ye && !ze(ne[Ye]) && (ke.visible = ne[Ye]);
3807
3808
  }
3808
- l.value = [...l.value.slice(0, Zt), ke, ...l.value.slice(Zt + 1)], B.updateSummary();
3809
+ s.value = [...s.value.slice(0, Zt), ke, ...s.value.slice(Zt + 1)], B.updateSummary();
3809
3810
  }
3810
3811
  }
3811
3812
  }
@@ -3823,14 +3824,14 @@ const Ji = /* @__PURE__ */ Te({
3823
3824
  X !== ne && (X ? j(i) : J(i), A(i.value));
3824
3825
  });
3825
3826
  function zn(X) {
3826
- return l.value.filter((ne) => X.includes(ne.raw[t.idField]));
3827
+ return s.value.filter((ne) => X.includes(ne.raw[t.idField]));
3827
3828
  }
3828
3829
  function Dn(X) {
3829
- const ne = a.idField.value, ye = l.value.find((we) => we.raw[ne] === X);
3830
+ const ne = a.idField.value, ye = s.value.find((we) => we.raw[ne] === X);
3830
3831
  ye && ve.changeRow(ye);
3831
3832
  }
3832
3833
  function Hn() {
3833
- I.keepSelectingOnPaging.value || xe(), B.updateVisibleDataSummary(l.value);
3834
+ I.keepSelectingOnPaging.value || xe(), B.updateVisibleDataSummary(s.value);
3834
3835
  }
3835
3836
  e.expose({
3836
3837
  activeRowById: le,
@@ -3847,7 +3848,7 @@ const Ji = /* @__PURE__ */ Te({
3847
3848
  updateDataSource: U,
3848
3849
  selectItemById: Q,
3849
3850
  selectItemByIds: Be,
3850
- getSelectedItems: Fe,
3851
+ getSelectedItems: Te,
3851
3852
  clearSelection: xe,
3852
3853
  getSelectionRow: Ve,
3853
3854
  clickRowItemById: ie,
@@ -3867,12 +3868,12 @@ const Ji = /* @__PURE__ */ Te({
3867
3868
  }), Gn = z(() => ({
3868
3869
  ...W.value,
3869
3870
  borderRadius: "5px"
3870
- })), {
3871
- renderDataGridPagination: gs
3872
- } = ha(t, e, B, pe, k, I), _n = z(() => ({
3871
+ }));
3872
+ ha(t, e, B, pe, k, I);
3873
+ const _n = z(() => ({
3873
3874
  "d-flex": !0,
3874
- "justify-content-between": O.value && m.value,
3875
- "justify-content-end": O.value && !m.value,
3875
+ "justify-content-between": O.value && v.value,
3876
+ "justify-content-end": O.value && !v.value,
3876
3877
  "position-relative": !0
3877
3878
  })), Wn = z(() => ({
3878
3879
  "d-flex": !0,
@@ -3880,22 +3881,22 @@ const Ji = /* @__PURE__ */ Te({
3880
3881
  })), {
3881
3882
  renderDataGridSummary: Un
3882
3883
  } = ga(t, B, Y);
3883
- return () => C("div", {
3884
+ return () => w("div", {
3884
3885
  ref: f,
3885
3886
  class: $.value,
3886
3887
  style: Gn.value,
3887
3888
  onWheel: lt
3888
- }, [d.value && St.value && he(), C("div", {
3889
+ }, [d.value && St.value && he(), w("div", {
3889
3890
  ref: d,
3890
3891
  class: re.value,
3891
3892
  onMouseover: () => p.value = !0,
3892
3893
  onMouseleave: () => p.value = !1,
3893
3894
  style: qn.value
3894
- }, [d.value && kt(l), d.value && me(), d.value && Ie.value && ge(), d.value && Et(), d.value && Mt()]), d.value && Un(), m.value && C("div", {
3895
+ }, [d.value && kt(s), d.value && me(), d.value && Ie.value && ge(), d.value && Et(), d.value && Mt()]), d.value && Un(), v.value && w("div", {
3895
3896
  class: _n.value
3896
- }, [m.value && C("div", {
3897
+ }, [v.value && w("div", {
3897
3898
  class: Wn.value
3898
- }, [C("div", null, ["已选:" + w.value.length, cn(" 条")])])]), Pe(), b.value && Bt()]);
3899
+ }, [w("div", null, ["已选:" + F.value.length, cn(" 条")])])]), Pe(), b.value && Bt()]);
3899
3900
  }
3900
3901
  });
3901
3902
  lo(Ji);
@@ -4036,7 +4037,7 @@ const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-
4036
4037
  onClick: { type: Function, default: () => {
4037
4038
  } }
4038
4039
  };
4039
- Tt(pl, ll, Qi, Ki, fl);
4040
+ Ft(pl, ll, Qi, Ki, fl);
4040
4041
  const ml = "https://json-schema.org/draft/2020-12/schema", vl = "https://farris-design.gitee.io/modal.schema.json", hl = "modal", gl = "弹窗组件", yl = "object", bl = {
4041
4042
  id: {
4042
4043
  description: "组件唯一标识",
@@ -4151,7 +4152,7 @@ const ml = "https://json-schema.org/draft/2020-12/schema", vl = "https://farris-
4151
4152
  onAccept: "确定事件",
4152
4153
  onCancel: "取消事件",
4153
4154
  beforeClose: "关闭前回调"
4154
- }, Fl = {
4155
+ }, Tl = {
4155
4156
  $schema: ml,
4156
4157
  $id: vl,
4157
4158
  title: hl,
@@ -4160,7 +4161,7 @@ const ml = "https://json-schema.org/draft/2020-12/schema", vl = "https://farris-
4160
4161
  properties: bl,
4161
4162
  required: Cl,
4162
4163
  events: wl
4163
- }, Tl = /* @__PURE__ */ new Map([
4164
+ }, Fl = /* @__PURE__ */ new Map([
4164
4165
  ["appearance", fo]
4165
4166
  ]);
4166
4167
  function xl(t, e, n) {
@@ -4255,7 +4256,7 @@ const On = {
4255
4256
  src: { type: String, default: "" },
4256
4257
  footerHeight: { type: Number, default: 60 },
4257
4258
  host: { type: Object, default: "body" }
4258
- }, kl = mn(On, Fl, Tl, xl), Bl = Sl();
4259
+ }, kl = mn(On, Tl, Fl, xl), Bl = Sl();
4259
4260
  class fe {
4260
4261
  constructor(e, n) {
4261
4262
  this.x = e, this.y = n;
@@ -4340,20 +4341,20 @@ class Xe {
4340
4341
  }
4341
4342
  }
4342
4343
  function El(t, e) {
4343
- const n = y(), o = y(), r = y(), i = y(), a = y(), c = y(), f = y(), d = y(), v = y(), u = y(), s = y(), l = y(t.resizeable), p = y(), h = y(t.draggable), F = y(!1);
4344
- function T() {
4345
- const P = o.value || document.body, j = window.getComputedStyle(P);
4344
+ const n = y(), o = y(), r = y(), i = y(), a = y(), c = y(), f = y(), d = y(), h = y(), u = y(), l = y(), s = y(t.resizeable), p = y(), T = y(t.draggable), C = y(!1);
4345
+ function g() {
4346
+ const L = o.value || document.body, j = window.getComputedStyle(L);
4346
4347
  if (!j || !n.value)
4347
4348
  return;
4348
4349
  const J = fe.getTransformInfo(n.value), Y = {};
4349
4350
  f.value && (Y.deltaL = n.value.offsetLeft - f.value.x, Y.deltaT = n.value.offsetTop - f.value.y);
4350
4351
  const ae = j.getPropertyValue("position");
4351
- Y.width = P.clientWidth, Y.height = P.clientHeight, Y.pr = parseInt(j.getPropertyValue("padding-right"), 10), Y.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), Y.position = j.getPropertyValue("position"), ae === "static" && (P.style.position = "relative"), Y.translateX = J.x, Y.translateY = J.y, u.value = Y;
4352
+ Y.width = L.clientWidth, Y.height = L.clientHeight, Y.pr = parseInt(j.getPropertyValue("padding-right"), 10), Y.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), Y.position = j.getPropertyValue("position"), ae === "static" && (L.style.position = "relative"), Y.translateX = J.x, Y.translateY = J.y, u.value = Y;
4352
4353
  }
4353
- function x(P) {
4354
+ function x(L) {
4354
4355
  if (n.value) {
4355
- i.value = Xe.getCurrent(n.value), a.value = fe.getCurrent(n.value), c.value = i.value ? Xe.copy(i.value) : null, f.value = a.value ? fe.copy(a.value) : null, T();
4356
- const j = P.target.getAttribute("type") || "";
4356
+ i.value = Xe.getCurrent(n.value), a.value = fe.getCurrent(n.value), c.value = i.value ? Xe.copy(i.value) : null, f.value = a.value ? fe.copy(a.value) : null, g();
4357
+ const j = L.target.getAttribute("type") || "";
4357
4358
  d.value = {
4358
4359
  n: !!j.match(/n/),
4359
4360
  s: !!j.match(/s/),
@@ -4363,49 +4364,49 @@ function El(t, e) {
4363
4364
  }
4364
4365
  }
4365
4366
  function N() {
4366
- var P, j, J, Y;
4367
+ var L, j, J, Y;
4367
4368
  if (n.value) {
4368
4369
  const ae = n.value;
4369
- d.value && ((d.value.n || d.value.s) && ((P = c.value) != null && P.height) && (ae.style.height = c.value.height + "px"), (d.value.w || d.value.e) && ((j = c.value) != null && j.width) && (ae.style.width = c.value.width + "px"), f.value && ((J = f.value) != null && J.x && (ae.style.left = f.value.x + "px"), (Y = f.value) != null && Y.y && (ae.style.top = f.value.y + "px")));
4370
+ d.value && ((d.value.n || d.value.s) && ((L = c.value) != null && L.height) && (ae.style.height = c.value.height + "px"), (d.value.w || d.value.e) && ((j = c.value) != null && j.width) && (ae.style.width = c.value.width + "px"), f.value && ((J = f.value) != null && J.x && (ae.style.left = f.value.x + "px"), (Y = f.value) != null && Y.y && (ae.style.top = f.value.y + "px")));
4370
4371
  }
4371
4372
  }
4372
- function L() {
4373
- const P = t.minHeight ? t.minHeight : 1, j = t.minWidth ? t.minWidth : 1;
4374
- c.value && f.value && d.value && i.value && (c.value.height < P && (c.value.height = P, d.value.n && a.value && (f.value.y = a.value.y + (i.value.height - P))), c.value.width < j && (c.value.width = j, d.value.w && a.value && (f.value.x = a.value.x + (i.value.width - j))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, a.value && d.value.n && (f.value.y = a.value.y + (i.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, d.value.w && a.value && (f.value.x = a.value.x + (i.value.width - t.maxWidth))));
4373
+ function P() {
4374
+ const L = t.minHeight ? t.minHeight : 1, j = t.minWidth ? t.minWidth : 1;
4375
+ c.value && f.value && d.value && i.value && (c.value.height < L && (c.value.height = L, d.value.n && a.value && (f.value.y = a.value.y + (i.value.height - L))), c.value.width < j && (c.value.width = j, d.value.w && a.value && (f.value.x = a.value.x + (i.value.width - j))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, a.value && d.value.n && (f.value.y = a.value.y + (i.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, d.value.w && a.value && (f.value.x = a.value.x + (i.value.width - t.maxWidth))));
4375
4376
  }
4376
4377
  function V() {
4377
4378
  if (o.value) {
4378
- const P = u.value;
4379
+ const L = u.value;
4379
4380
  if (f.value && c.value && d.value && i.value) {
4380
- const j = P.width - P.pr - P.deltaL - P.translateX - f.value.x, J = P.height - P.pb - P.deltaT - P.translateY - f.value.y;
4381
- d.value.n && f.value.y + P.translateY < 0 && a.value && (f.value.y = -P.translateY, c.value.height = i.value.height + a.value.y + P.translateY), d.value.w && f.value.x + P.translateX < 0 && a.value && (f.value.x = -P.translateX, c.value.width = i.value.width + a.value.x + P.translateX), c.value.width > j && (c.value.width = j), c.value.height > J && (c.value.height = J);
4381
+ const j = L.width - L.pr - L.deltaL - L.translateX - f.value.x, J = L.height - L.pb - L.deltaT - L.translateY - f.value.y;
4382
+ d.value.n && f.value.y + L.translateY < 0 && a.value && (f.value.y = -L.translateY, c.value.height = i.value.height + a.value.y + L.translateY), d.value.w && f.value.x + L.translateX < 0 && a.value && (f.value.x = -L.translateX, c.value.width = i.value.width + a.value.x + L.translateX), c.value.width > j && (c.value.width = j), c.value.height > J && (c.value.height = J);
4382
4383
  }
4383
4384
  }
4384
4385
  }
4385
- function B(P) {
4386
+ function B(L) {
4386
4387
  if (!r.value || !i.value || !a.value || !d.value)
4387
4388
  return;
4388
- P.subtract(r.value);
4389
- const j = P.x, J = P.y;
4390
- d.value.n ? (f.value.y = a.value.y + J, c.value.height = i.value.height - J) : d.value.s && (c.value.height = i.value.height + J), d.value.e ? c.value.width = i.value.width + j : d.value.w && (c.value.width = i.value.width - j, f.value.x = a.value.x + j), V(), L(), N();
4389
+ L.subtract(r.value);
4390
+ const j = L.x, J = L.y;
4391
+ d.value.n ? (f.value.y = a.value.y + J, c.value.height = i.value.height - J) : d.value.s && (c.value.height = i.value.height + J), d.value.e ? c.value.width = i.value.width + j : d.value.w && (c.value.width = i.value.width - j, f.value.x = a.value.x + j), V(), P(), N();
4391
4392
  }
4392
- function E(P) {
4393
- if (!v.value)
4393
+ function E(L) {
4394
+ if (!h.value)
4394
4395
  return;
4395
- const j = fe.fromEvent(P);
4396
+ const j = fe.fromEvent(L);
4396
4397
  j && B(j);
4397
4398
  }
4398
4399
  function I() {
4399
4400
  if (n.value) {
4400
4401
  const {
4401
- width: P,
4402
+ width: L,
4402
4403
  height: j,
4403
4404
  x: J,
4404
4405
  y: Y
4405
4406
  } = n.value.getBoundingClientRect(), ae = fe.getTransformInfo(n.value);
4406
4407
  return {
4407
4408
  size: {
4408
- width: P,
4409
+ width: L,
4409
4410
  height: j
4410
4411
  },
4411
4412
  position: {
@@ -4416,67 +4417,67 @@ function El(t, e) {
4416
4417
  }
4417
4418
  return null;
4418
4419
  }
4419
- function m(P) {
4420
+ function v(L) {
4420
4421
  if (n.value) {
4421
4422
  const j = I();
4422
- s.value = j;
4423
+ l.value = j;
4423
4424
  }
4424
- r.value = void 0, i.value = null, a.value = null, c.value = null, f.value = null, d.value = null, v.value = null, document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", m);
4425
+ r.value = void 0, i.value = null, a.value = null, c.value = null, f.value = null, d.value = null, h.value = null, document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", v);
4425
4426
  }
4426
- function w() {
4427
- document.addEventListener("mousemove", E), document.addEventListener("mouseup", m);
4427
+ function F() {
4428
+ document.addEventListener("mousemove", E), document.addEventListener("mouseup", v);
4428
4429
  }
4429
- function g(P) {
4430
- P instanceof MouseEvent && P.button === 2 || h.value && (document.body.click(), P.stopPropagation(), P.preventDefault(), r.value = fe.fromEvent(P), v.value = P.target, x(P), w());
4430
+ function m(L) {
4431
+ L instanceof MouseEvent && L.button === 2 || T.value && (document.body.click(), L.stopPropagation(), L.preventDefault(), r.value = fe.fromEvent(L), h.value = L.target, x(L), F());
4431
4432
  }
4432
- function b(P) {
4433
- return n.value = P, l.value && C(pt, null, [C("div", {
4433
+ function b(L) {
4434
+ return n.value = L, s.value && w(pt, null, [w("div", {
4434
4435
  class: "fv-resizable-handle fv-resizable-n",
4435
4436
  type: "n",
4436
- onMousedown: (j) => g(j)
4437
- }, null), C("div", {
4437
+ onMousedown: (j) => m(j)
4438
+ }, null), w("div", {
4438
4439
  class: "fv-resizable-handle fv-resizable-e",
4439
4440
  type: "e",
4440
- onMousedown: (j) => g(j)
4441
- }, null), C("div", {
4441
+ onMousedown: (j) => m(j)
4442
+ }, null), w("div", {
4442
4443
  class: "fv-resizable-handle fv-resizable-s",
4443
4444
  type: "s",
4444
- onMousedown: (j) => g(j)
4445
- }, null), C("div", {
4445
+ onMousedown: (j) => m(j)
4446
+ }, null), w("div", {
4446
4447
  class: "fv-resizable-handle fv-resizable-w",
4447
4448
  type: "w",
4448
- onMousedown: (j) => g(j)
4449
- }, null), C("div", {
4449
+ onMousedown: (j) => m(j)
4450
+ }, null), w("div", {
4450
4451
  class: "fv-resizable-handle fv-resizable-ne",
4451
4452
  type: "ne",
4452
- onMousedown: (j) => g(j)
4453
- }, null), C("div", {
4453
+ onMousedown: (j) => m(j)
4454
+ }, null), w("div", {
4454
4455
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4455
4456
  type: "se",
4456
- onMousedown: (j) => g(j)
4457
- }, null), C("div", {
4457
+ onMousedown: (j) => m(j)
4458
+ }, null), w("div", {
4458
4459
  class: "fv-resizable-handle fv-resizable-sw",
4459
4460
  type: "sw",
4460
- onMousedown: (j) => g(j)
4461
- }, null), C("div", {
4461
+ onMousedown: (j) => m(j)
4462
+ }, null), w("div", {
4462
4463
  class: "fv-resizable-handle fv-resizable-nw",
4463
4464
  type: "nw",
4464
- onMousedown: (j) => g(j)
4465
+ onMousedown: (j) => m(j)
4465
4466
  }, null)]);
4466
4467
  }
4467
- function S(P = !0) {
4468
+ function S(L = !0) {
4468
4469
  document.body.click();
4469
4470
  const j = o.value || document.body, J = Xe.getCurrent(j), Y = n.value;
4470
- P && Y && (p.value = I(), p.value.transform = Y.style.transform), J && Y && (c.value = J, c.value.height -= 14, c.value.width -= 14, Y.style.height = c.value.height + "px", Y.style.width = c.value.width + "px", Y.style.left = "7px", Y.style.top = "7px", Y.style.transform = "", s.value = {
4471
+ L && Y && (p.value = I(), p.value.transform = Y.style.transform), J && Y && (c.value = J, c.value.height -= 14, c.value.width -= 14, Y.style.height = c.value.height + "px", Y.style.width = c.value.width + "px", Y.style.left = "7px", Y.style.top = "7px", Y.style.transform = "", l.value = {
4471
4472
  size: c.value,
4472
4473
  position: {
4473
4474
  x: 0,
4474
4475
  y: 0
4475
4476
  }
4476
- }, h.value = !1, F.value = !0);
4477
+ }, T.value = !1, C.value = !0);
4477
4478
  }
4478
4479
  function k() {
4479
- var P, j;
4480
+ var L, j;
4480
4481
  if (document.body.click(), p.value) {
4481
4482
  const J = {
4482
4483
  width: p.value.size.width || 0,
@@ -4485,108 +4486,108 @@ function El(t, e) {
4485
4486
  x: (window.innerWidth - J.width) / 2,
4486
4487
  y: (window.innerHeight - J.height) / 2
4487
4488
  };
4488
- (P = c.value) == null || P.set(J), (j = f.value) == null || j.set(Y);
4489
+ (L = c.value) == null || L.set(J), (j = f.value) == null || j.set(Y);
4489
4490
  const ae = n.value;
4490
- ae.style.height = J.height + "px", ae.style.width = J.width + "px", ae.style.left = `${Y.x}px`, ae.style.top = `${Y.y}px`, ae.style.transform = "", s.value = {
4491
+ ae.style.height = J.height + "px", ae.style.width = J.width + "px", ae.style.left = `${Y.x}px`, ae.style.top = `${Y.y}px`, ae.style.transform = "", l.value = {
4491
4492
  size: J,
4492
4493
  position: Y
4493
- }, h.value = t.draggable, F.value = !1;
4494
+ }, T.value = t.draggable, C.value = !1;
4494
4495
  }
4495
4496
  }
4496
4497
  function O() {
4497
4498
  if (n.value) {
4498
- const P = Xe.getCurrent(n.value);
4499
- if (P) {
4499
+ const L = Xe.getCurrent(n.value);
4500
+ if (L) {
4500
4501
  const {
4501
4502
  width: j,
4502
4503
  height: J
4503
- } = P;
4504
+ } = L;
4504
4505
  n.value.style.left = `${(window.innerWidth - j) / 2}px`, n.value.style.top = `${(window.innerHeight - J) / 2}px`, n.value.style.transform = "";
4505
4506
  }
4506
4507
  }
4507
4508
  }
4508
4509
  function W() {
4509
- const P = () => {
4510
- F.value ? S(!1) : O(), document.body.click();
4510
+ const L = () => {
4511
+ C.value ? S(!1) : O(), document.body.click();
4511
4512
  };
4512
- return window.addEventListener("resize", P), () => {
4513
- window.removeEventListener("resize", P);
4513
+ return window.addEventListener("resize", L), () => {
4514
+ window.removeEventListener("resize", L);
4514
4515
  };
4515
4516
  }
4516
4517
  const K = W();
4517
4518
  return {
4518
4519
  renderResizeBar: b,
4519
4520
  boundingElement: o,
4520
- resizedEventParam: s,
4521
+ resizedEventParam: l,
4521
4522
  maximize: S,
4522
4523
  restore: k,
4523
- allowDrag: h,
4524
- isMaximized: F,
4524
+ allowDrag: T,
4525
+ isMaximized: C,
4525
4526
  unWindowResizeHandle: K,
4526
4527
  moveToCenter: O
4527
4528
  };
4528
4529
  }
4529
4530
  function Ml(t, e, n) {
4530
- const o = y(), r = y(t.draggable), i = y(t.lockAxis), a = y(), c = y(), f = y(!1), d = y(new fe(0, 0)), v = y(new fe(0, 0)), u = y(new fe(0, 0)), s = y(new fe(0, 0));
4531
+ const o = y(), r = y(t.draggable), i = y(t.lockAxis), a = y(), c = y(), f = y(!1), d = y(new fe(0, 0)), h = y(new fe(0, 0)), u = y(new fe(0, 0)), l = y(new fe(0, 0));
4531
4532
  de(() => n.value, (E) => {
4532
4533
  a.value.style.cursor = E ? "move" : "default";
4533
4534
  });
4534
- function l(E, I) {
4535
+ function s(E, I) {
4535
4536
  if (I.tagName === "BUTTON")
4536
4537
  return !1;
4537
4538
  if (I === E)
4538
4539
  return !0;
4539
- for (const m in I.children)
4540
- if (Object.prototype.hasOwnProperty.call(I.children, m) && l(E, I.children[m]))
4540
+ for (const v in I.children)
4541
+ if (Object.prototype.hasOwnProperty.call(I.children, v) && s(E, I.children[v]))
4541
4542
  return !0;
4542
4543
  return !1;
4543
4544
  }
4544
4545
  function p() {
4545
- var w, g;
4546
- let E = u.value.x + v.value.x, I = u.value.y + v.value.y;
4547
- i.value === "x" ? (E = ((w = d.value) == null ? void 0 : w.x) || 0, u.value.x = 0) : i.value === "y" && (I = ((g = d.value) == null ? void 0 : g.y) || 0, u.value.y = 0);
4548
- const m = `translate3d(${Math.round(E)}px, ${Math.round(I)}px, 0px)`;
4549
- o.value && (o.value.style.transform = m), s.value.x = E, s.value.y = I;
4546
+ var F, m;
4547
+ let E = u.value.x + h.value.x, I = u.value.y + h.value.y;
4548
+ i.value === "x" ? (E = ((F = d.value) == null ? void 0 : F.x) || 0, u.value.x = 0) : i.value === "y" && (I = ((m = d.value) == null ? void 0 : m.y) || 0, u.value.y = 0);
4549
+ const v = `translate3d(${Math.round(E)}px, ${Math.round(I)}px, 0px)`;
4550
+ o.value && (o.value.style.transform = v), l.value.x = E, l.value.y = I;
4550
4551
  }
4551
- function h() {
4552
+ function T() {
4552
4553
  if (!c.value || !o.value)
4553
4554
  return null;
4554
- const E = c.value.getBoundingClientRect(), I = o.value.getBoundingClientRect(), m = {
4555
+ const E = c.value.getBoundingClientRect(), I = o.value.getBoundingClientRect(), v = {
4555
4556
  top: E.top < I.top,
4556
4557
  right: E.right > I.right,
4557
4558
  bottom: E.bottom > I.bottom,
4558
4559
  left: E.left < I.left
4559
4560
  };
4560
- return m.top || (u.value.y -= I.top - E.top), m.bottom || (u.value.y -= I.bottom - E.bottom), m.right || (u.value.x -= I.right - E.right), m.left || (u.value.x -= I.left - E.left), p(), m;
4561
+ return v.top || (u.value.y -= I.top - E.top), v.bottom || (u.value.y -= I.bottom - E.bottom), v.right || (u.value.x -= I.right - E.right), v.left || (u.value.x -= I.left - E.left), p(), v;
4561
4562
  }
4562
- function F(E) {
4563
- E && (d.value && E.subtract(d.value), u.value.set(E), p(), h());
4563
+ function C(E) {
4564
+ E && (d.value && E.subtract(d.value), u.value.set(E), p(), T());
4564
4565
  }
4565
- function T(E) {
4566
- f.value && r.value && (E.stopPropagation(), E.preventDefault(), F(fe.fromEvent(E, a.value)));
4566
+ function g(E) {
4567
+ f.value && r.value && (E.stopPropagation(), E.preventDefault(), C(fe.fromEvent(E, a.value)));
4567
4568
  }
4568
4569
  function x() {
4569
4570
  var E;
4570
- f.value && (f.value = !1, v.value.add(u.value), u.value.reset(), (E = o.value) == null || E.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", x));
4571
+ f.value && (f.value = !1, h.value.add(u.value), u.value.reset(), (E = o.value) == null || E.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", x));
4571
4572
  }
4572
4573
  function N() {
4573
- !f.value && a.value && (f.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", x));
4574
+ !f.value && a.value && (f.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", g), document.addEventListener("mouseup", x));
4574
4575
  }
4575
- function L() {
4576
+ function P() {
4576
4577
  if (o.value) {
4577
4578
  const E = fe.getTransformInfo(o.value);
4578
- v.value.set(E);
4579
+ h.value.set(E);
4579
4580
  return;
4580
4581
  }
4581
- v.value.reset();
4582
+ h.value.reset();
4582
4583
  }
4583
4584
  function V(E) {
4584
4585
  if (!n.value || E instanceof MouseEvent && E.button === 2)
4585
4586
  return;
4586
4587
  const I = E.target || E.srcElement;
4587
- a.value !== void 0 && I && !l(I, a.value) || r.value !== !1 && (document.body.click(), E.stopPropagation(), E.preventDefault(), d.value = fe.fromEvent(E, o.value), L(), N());
4588
+ a.value !== void 0 && I && !s(I, a.value) || r.value !== !1 && (document.body.click(), E.stopPropagation(), E.preventDefault(), d.value = fe.fromEvent(E, o.value), P(), N());
4588
4589
  }
4589
- function B(E, I, m) {
4590
+ function B(E, I, v) {
4590
4591
  if (r.value && I) {
4591
4592
  if (E)
4592
4593
  a.value = E;
@@ -4594,16 +4595,16 @@ function Ml(t, e, n) {
4594
4595
  if (t.dragHandle instanceof HTMLElement)
4595
4596
  a.value = t.dragHandle;
4596
4597
  else if (typeof t.dragHandle == "string") {
4597
- const w = I.querySelector(t.dragHandle);
4598
- w && (a.value = w);
4598
+ const F = I.querySelector(t.dragHandle);
4599
+ F && (a.value = F);
4599
4600
  }
4600
4601
  }
4601
- o.value = I, c.value = m, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", V)) : r.value = !1;
4602
+ o.value = I, c.value = v, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", V)) : r.value = !1;
4602
4603
  }
4603
4604
  }
4604
4605
  return {
4605
4606
  registerDraggle: B,
4606
- resetTranslate: L
4607
+ resetTranslate: P
4607
4608
  };
4608
4609
  }
4609
4610
  function Nn(t, e) {
@@ -4634,15 +4635,15 @@ function Vl(t, e) {
4634
4635
  remove: o
4635
4636
  }) : null;
4636
4637
  }
4637
- const Je = /* @__PURE__ */ Te({
4638
+ const Je = /* @__PURE__ */ Fe({
4638
4639
  name: "FModal",
4639
4640
  props: On,
4640
4641
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4641
4642
  setup(t, e) {
4642
- const n = y(t.width || 300), o = y(t.height || 200), r = y(t.modelValue), i = y(""), a = y(t.class), c = y(t.fitContent), f = y(t.showHeader), d = y(""), v = y(t.showCloseButton), u = y(t.showMaxButton), s = y(!1), l = y(t.dialogType), p = y(t.src), h = y(""), F = y(t.showButtons), T = y(t.title), x = y(t.containment || null), N = y(), {
4643
- t: L
4643
+ const n = y(t.width || 300), o = y(t.height || 200), r = y(t.modelValue), i = y(""), a = y(t.class), c = y(t.fitContent), f = y(t.showHeader), d = y(""), h = y(t.showCloseButton), u = y(t.showMaxButton), l = y(!1), s = y(t.dialogType), p = y(t.src), T = y(""), C = y(t.showButtons), g = y(t.title), x = y(t.containment || null), N = y(), {
4644
+ t: P
4644
4645
  } = Qe();
4645
- T.value === "错误提示" && (T.value = L("messageBox.errorTitle"));
4646
+ g.value === "错误提示" && (g.value = P("messageBox.errorTitle"));
4646
4647
  const V = y(!1);
4647
4648
  function B($, re) {
4648
4649
  const me = re ? "accept" : "cancel";
@@ -4657,24 +4658,24 @@ const Je = /* @__PURE__ */ Te({
4657
4658
  }
4658
4659
  const E = [{
4659
4660
  name: "cancel",
4660
- text: L("messageBox.cancel") || "取消",
4661
+ text: P("messageBox.cancel") || "取消",
4661
4662
  class: "btn btn-secondary",
4662
4663
  handle: ($) => {
4663
4664
  B($, !1);
4664
4665
  }
4665
4666
  }, {
4666
4667
  name: "accept",
4667
- text: L("messageBox.ok") || "确定",
4668
+ text: P("messageBox.ok") || "确定",
4668
4669
  class: "btn btn-primary",
4669
4670
  handle: ($) => {
4670
4671
  B($, !0);
4671
4672
  }
4672
- }], I = y(t.buttons && t.buttons.length ? t.buttons : E), m = z(() => !!d.value), w = z(() => !!F.value && !!I.value), g = y(), b = y(), S = y(!1), {
4673
+ }], I = y(t.buttons && t.buttons.length ? t.buttons : E), v = z(() => !!d.value), F = z(() => !!C.value && !!I.value), m = y(), b = y(), S = y(!1), {
4673
4674
  renderResizeBar: k,
4674
4675
  maximize: O,
4675
4676
  restore: W,
4676
4677
  boundingElement: K,
4677
- resizedEventParam: P,
4678
+ resizedEventParam: L,
4678
4679
  allowDrag: j,
4679
4680
  unWindowResizeHandle: J,
4680
4681
  moveToCenter: Y
@@ -4689,16 +4690,16 @@ const Je = /* @__PURE__ */ Te({
4689
4690
  (!$ || $ - 1 <= 0) && document.body.classList.remove("modal-open"), N.value && N.value.classList.remove("show");
4690
4691
  }
4691
4692
  de(() => t.title, ($, re) => {
4692
- $ !== re && (T.value = $);
4693
+ $ !== re && (g.value = $);
4693
4694
  }), de(() => t.modelValue, ($, re) => {
4694
4695
  $ !== re && (r.value = $, r.value && t.draggable && Ht(() => {
4695
- b.value && !x.value && (x.value = b.value.parentElement, K.value = x.value, ae(g.value, b.value, K.value), Y());
4696
+ b.value && !x.value && (x.value = b.value.parentElement, K.value = x.value, ae(m.value, b.value, K.value), Y());
4696
4697
  }), $ || (x.value && (x.value = null), oe())), r.value ? V.value = ee() : (S.value = !1, j.value = t.draggable);
4697
4698
  }), de(() => t.showHeader, ($, re) => {
4698
4699
  $ !== re && (f.value = $);
4699
4700
  }), de(() => t.showButtons, ($, re) => {
4700
- $ !== re && (F.value = $);
4701
- }), de(() => P.value, ($, re) => {
4701
+ $ !== re && (C.value = $);
4702
+ }), de(() => L.value, ($, re) => {
4702
4703
  const me = $ || {}, he = re || {};
4703
4704
  JSON.stringify(me) !== JSON.stringify(he) && e.emit("resize", {
4704
4705
  newSize: $,
@@ -4751,7 +4752,7 @@ const Je = /* @__PURE__ */ Te({
4751
4752
  modalrevert: S.value
4752
4753
  })), Ke = z(() => ({
4753
4754
  "modal-body": !0,
4754
- "f-utils-flex-column": l.value === "iframe",
4755
+ "f-utils-flex-column": s.value === "iframe",
4755
4756
  "f-utils-fill": !0
4756
4757
  }));
4757
4758
  function Ge() {
@@ -4761,7 +4762,7 @@ const Je = /* @__PURE__ */ Te({
4761
4762
  }
4762
4763
  const et = z(() => {
4763
4764
  const $ = {
4764
- textAlgin: h.value
4765
+ textAlgin: T.value
4765
4766
  }, re = Ge();
4766
4767
  return Object.assign($, re);
4767
4768
  });
@@ -4776,13 +4777,13 @@ const Je = /* @__PURE__ */ Te({
4776
4777
  $.handle && await $.handle(re, $) && e.emit("closed", re);
4777
4778
  }
4778
4779
  function je($) {
4779
- $.width && (n.value = $.width), $.height && (o.value = $.height), $.buttons && (I.value = $.buttons), $.title && (T.value = $.title);
4780
+ $.width && (n.value = $.width), $.height && (o.value = $.height), $.buttons && (I.value = $.buttons), $.title && (g.value = $.title);
4780
4781
  }
4781
4782
  let $e = null, Me = null;
4782
4783
  Zn(() => {
4783
4784
  V.value = ee();
4784
4785
  }), it(() => {
4785
- b.value && !x.value && (x.value = b.value.parentElement, K.value = x.value, ae(g.value, b.value, K.value)), te.value && document.body.classList.add("modal-open"), $e = Il(t, e), Me = Vl(t, e);
4786
+ b.value && !x.value && (x.value = b.value.parentElement, K.value = x.value, ae(m.value, b.value, K.value)), te.value && document.body.classList.add("modal-open"), $e = Il(t, e), Me = Vl(t, e);
4786
4787
  }), Ct(() => {
4787
4788
  J && J(), $e && $e.remove(), Me && Me.remove();
4788
4789
  }), e.expose({
@@ -4793,31 +4794,31 @@ const Je = /* @__PURE__ */ Te({
4793
4794
  isMaximized: S
4794
4795
  });
4795
4796
  function Re() {
4796
- return C("ul", null, [s.value && C("li", {
4797
+ return w("ul", null, [l.value && w("li", {
4797
4798
  class: "f-btn-icon f-bare"
4798
- }, [C("span", {
4799
+ }, [w("span", {
4799
4800
  class: "f-icon modal_minimize"
4800
- }, null)]), u.value && C("li", {
4801
+ }, null)]), u.value && w("li", {
4801
4802
  onClick: pe,
4802
4803
  class: "f-btn-icon f-bare",
4803
4804
  style: "pointer-events: auto;"
4804
- }, [C("span", {
4805
+ }, [w("span", {
4805
4806
  class: Ee.value
4806
- }, null)]), v.value && C("li", {
4807
+ }, null)]), h.value && w("li", {
4807
4808
  class: "f-btn-icon f-bare",
4808
4809
  onClick: ($) => B($, !1),
4809
4810
  style: "pointer-events: auto;"
4810
- }, [C("span", {
4811
+ }, [w("span", {
4811
4812
  class: "f-icon modal_close"
4812
4813
  }, null)])]);
4813
4814
  }
4814
4815
  function st() {
4815
- return C("div", {
4816
+ return w("div", {
4816
4817
  class: "modal-footer",
4817
4818
  style: et.value
4818
4819
  }, [I.value && I.value.map(($) => {
4819
4820
  const re = y($.disabled);
4820
- return C("button", {
4821
+ return w("button", {
4821
4822
  name: $.name,
4822
4823
  type: "button",
4823
4824
  disabled: re.value,
@@ -4825,29 +4826,29 @@ const Je = /* @__PURE__ */ Te({
4825
4826
  onClick: (me) => {
4826
4827
  lt($, me);
4827
4828
  }
4828
- }, [!!$.iconClass && C("i", {
4829
+ }, [!!$.iconClass && w("i", {
4829
4830
  class: $.iconClass
4830
4831
  }, null), $.text]);
4831
4832
  })]);
4832
4833
  }
4833
4834
  function _e() {
4834
- return C("div", {
4835
- ref: g,
4835
+ return w("div", {
4836
+ ref: m,
4836
4837
  class: "modal-header",
4837
4838
  style: Le.value
4838
- }, [e.slots.headerTemplate ? e.slots.headerTemplate() : C("div", {
4839
+ }, [e.slots.headerTemplate ? e.slots.headerTemplate() : w("div", {
4839
4840
  class: "modal-title"
4840
- }, [m.value && C("span", {
4841
+ }, [v.value && w("span", {
4841
4842
  class: d.value,
4842
4843
  style: "margin-right: 8px"
4843
- }, null), C("span", {
4844
+ }, null), w("span", {
4844
4845
  class: "modal-title-label"
4845
- }, [T.value])]), C("div", {
4846
+ }, [g.value])]), w("div", {
4846
4847
  class: "actions"
4847
4848
  }, [Re()])]);
4848
4849
  }
4849
4850
  function Ne() {
4850
- return e.slots.footerTemplate ? e.slots.footerTemplate() : w.value && st();
4851
+ return e.slots.footerTemplate ? e.slots.footerTemplate() : F.value && st();
4851
4852
  }
4852
4853
  function Ae($) {
4853
4854
  if ($.stopPropagation(), t.allowClickMaskToClose) {
@@ -4858,16 +4859,16 @@ const Je = /* @__PURE__ */ Te({
4858
4859
  }
4859
4860
  function tt() {
4860
4861
  var $, re;
4861
- return C("div", {
4862
+ return w("div", {
4862
4863
  id: i.value,
4863
4864
  class: ve.value,
4864
4865
  style: se.value,
4865
4866
  ref: b
4866
- }, [C("div", {
4867
+ }, [w("div", {
4867
4868
  class: qe.value
4868
- }, [f.value && _e(), C("div", {
4869
+ }, [f.value && _e(), w("div", {
4869
4870
  class: Ke.value
4870
- }, [(re = ($ = e.slots).default) == null ? void 0 : re.call($), l.value === "iframe" && C("iframe", {
4871
+ }, [(re = ($ = e.slots).default) == null ? void 0 : re.call($), s.value === "iframe" && w("iframe", {
4871
4872
  title: i.value,
4872
4873
  class: "f-utils-fill",
4873
4874
  width: "100%",
@@ -4878,14 +4879,14 @@ const Je = /* @__PURE__ */ Te({
4878
4879
  function nt($) {
4879
4880
  return $ || "body";
4880
4881
  }
4881
- return () => C(Jn, {
4882
+ return () => w(Jn, {
4882
4883
  to: nt(t.host)
4883
4884
  }, {
4884
- default: () => [te.value && C(fn, {
4885
+ default: () => [te.value && w(fn, {
4885
4886
  name: "fade",
4886
4887
  appear: !0
4887
4888
  }, {
4888
- default: () => [C("div", {
4889
+ default: () => [w("div", {
4889
4890
  ref: N,
4890
4891
  class: ce.value,
4891
4892
  style: ue.value,
@@ -4909,22 +4910,22 @@ function Ol(t) {
4909
4910
  Ct(() => {
4910
4911
  document.body.removeChild(e);
4911
4912
  });
4912
- const i = y(), a = y(t.class || ""), c = y(!!t.showButtons), f = y(!!t.showHeader), d = y(t.showCloseButton == null ? !0 : t.showCloseButton), v = y(!0), u = y(t.title || ""), s = t.acceptCallback || (() => {
4913
- }), l = t.rejectCallback || (() => {
4913
+ const i = y(), a = y(t.class || ""), c = y(!!t.showButtons), f = y(!!t.showHeader), d = y(t.showCloseButton == null ? !0 : t.showCloseButton), h = y(!0), u = y(t.title || ""), l = t.acceptCallback || (() => {
4914
+ }), s = t.rejectCallback || (() => {
4914
4915
  }), p = t.closedCallback || ((N) => {
4915
- }), h = t.resizeHandle || ((N) => {
4916
- }), F = t.stopMoveHandle || ((N) => {
4917
- }), T = Pn(t), x = (N) => {
4918
- v.value = !1, n.unmount(), p(N);
4916
+ }), T = t.resizeHandle || ((N) => {
4917
+ }), C = t.stopMoveHandle || ((N) => {
4918
+ }), g = Pn(t), x = (N) => {
4919
+ h.value = !1, n.unmount(), p(N);
4919
4920
  };
4920
4921
  return it(() => {
4921
4922
  }), r.expose({
4922
4923
  modalRef: i
4923
- }), () => C(Je, {
4924
+ }), () => w(Je, {
4924
4925
  ref: i,
4925
4926
  class: a.value,
4926
- modelValue: v.value,
4927
- "onUpdate:modelValue": (N) => v.value = N,
4927
+ modelValue: h.value,
4928
+ "onUpdate:modelValue": (N) => h.value = N,
4928
4929
  title: u.value,
4929
4930
  width: t.width,
4930
4931
  height: t.height,
@@ -4933,14 +4934,14 @@ function Ol(t) {
4933
4934
  "show-buttons": c.value,
4934
4935
  "show-close-button": d.value,
4935
4936
  "show-max-button": !1,
4936
- onAccept: s,
4937
- onCancel: l,
4937
+ onAccept: l,
4938
+ onCancel: s,
4938
4939
  fitContent: t.fitContent == null ? !0 : t.fitContent,
4939
4940
  onClosed: x,
4940
- onResize: h,
4941
- onStopMove: F
4941
+ onResize: T,
4942
+ onStopMove: C
4942
4943
  }, {
4943
- default: () => [T && T(n)]
4944
+ default: () => [g && g(n)]
4944
4945
  });
4945
4946
  }
4946
4947
  });
@@ -4997,15 +4998,15 @@ class Ln {
4997
4998
  }), f = o.value.resizeHandle || ((V) => {
4998
4999
  }), d = e.stopMoveHandle || ((V) => {
4999
5000
  });
5000
- let v;
5001
- const u = Pn(o.value), s = (V) => {
5001
+ let h;
5002
+ const u = Pn(o.value), l = (V) => {
5002
5003
  var E;
5003
5004
  r.value = !1;
5004
5005
  const B = (E = V == null ? void 0 : V.target) == null ? void 0 : E.classList.contains("modal_close");
5005
5006
  c(V, this.isUseEscCloseModal.value ? "esc" : B ? "icon" : "button");
5006
- }, l = (V) => {
5007
- s(V), v && Ht(() => {
5008
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], $t(null, n), v = null, this.modalRef.value = null, this.modalRefs) {
5007
+ }, s = (V) => {
5008
+ l(V), h && Ht(() => {
5009
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], $t(null, n), h = null, this.modalRef.value = null, this.modalRefs) {
5009
5010
  const B = Object.keys(this.modalRefs).map((E) => Number(E));
5010
5011
  B.length > 0 ? this.activeModalIndex.value = Math.max(...B) : this.activeModalIndex.value = 0;
5011
5012
  }
@@ -5015,25 +5016,25 @@ class Ln {
5015
5016
  var B;
5016
5017
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((B = this.activeModalInstance.value) == null || B.close(V == null ? void 0 : V.event));
5017
5018
  }, {
5018
- width: h,
5019
- height: F
5020
- } = o.value, T = this.adaptToWindow(h || 500, F || 320);
5021
- Object.assign(o.value, T);
5022
- const x = () => C(Je, at({
5019
+ width: T,
5020
+ height: C
5021
+ } = o.value, g = this.adaptToWindow(T || 500, C || 320);
5022
+ Object.assign(o.value, g);
5023
+ const x = () => w(Je, at({
5023
5024
  ref: this.modalRef,
5024
5025
  modelValue: r.value,
5025
5026
  "onUpdate:modelValue": (V) => r.value = V
5026
5027
  }, o.value, {
5027
5028
  onAccept: i,
5028
5029
  onCancel: a,
5029
- onClosed: l,
5030
+ onClosed: s,
5030
5031
  onResize: f,
5031
5032
  onEsc: p,
5032
5033
  onStopMove: d
5033
5034
  }), {
5034
5035
  default: () => [u && u(this.app)]
5035
5036
  });
5036
- return v = ((V) => {
5037
+ return h = ((V) => {
5037
5038
  const B = Kn(x, V);
5038
5039
  return B.appContext = this.appContext, $t(B, n), B;
5039
5040
  })({
@@ -5044,11 +5045,11 @@ class Ln {
5044
5045
  o.value = {
5045
5046
  ...o.value,
5046
5047
  ...V
5047
- }, v && $t(eo(v, {
5048
+ }, h && $t(eo(h, {
5048
5049
  ...o
5049
5050
  }), n);
5050
5051
  },
5051
- destroy: l,
5052
+ destroy: s,
5052
5053
  modalRef: this.activeModalInstance,
5053
5054
  close: () => this.close()
5054
5055
  };
@@ -5072,7 +5073,7 @@ function Pl(t, e, n) {
5072
5073
  const c = t.formSchemaUtils.getViewModelIdByComponentId(a);
5073
5074
  if (!c)
5074
5075
  return !1;
5075
- const { schema: f } = e, { designViewModelUtils: d } = t, v = d.getDgViewModel(c), u = v == null ? void 0 : v.fields.find((s) => s.id === f.binding.field);
5076
+ const { schema: f } = e, { designViewModelUtils: d } = t, h = d.getDgViewModel(c), u = h == null ? void 0 : h.fields.find((l) => l.id === f.binding.field);
5076
5077
  return !(!u || u.$type !== jn.SimpleField);
5077
5078
  }
5078
5079
  function r() {
@@ -5097,7 +5098,7 @@ function Pl(t, e, n) {
5097
5098
  }
5098
5099
  return { checkBindingFieldValidation: i };
5099
5100
  }
5100
- const Ll = /* @__PURE__ */ Te({
5101
+ const Ll = /* @__PURE__ */ Fe({
5101
5102
  name: "FDynamicFormGroupDesign",
5102
5103
  props: xt,
5103
5104
  emits: ["change", "update:modelValue"],
@@ -5105,40 +5106,40 @@ const Ll = /* @__PURE__ */ Te({
5105
5106
  var B;
5106
5107
  const n = y(t.id), o = y(t.customClass), r = y(t.editor), i = y(t.label), a = y(t.modelValue), c = y(!0), f = y(((B = t.editor) == null ? void 0 : B.required) === !0), d = y(t.showLabel);
5107
5108
  y(t.type);
5108
- const v = y(), u = Ze("designer-host-service"), s = Ze("design-item-context"), l = z(() => d.value ? t.showLabelType : "none"), {
5109
+ const h = y(), u = Ze("designer-host-service"), l = Ze("design-item-context"), s = z(() => d.value ? t.showLabelType : "none"), {
5109
5110
  resolveEditorProps: p,
5110
- resolveEditorType: h
5111
- } = qi(), F = z(() => ({
5111
+ resolveEditorType: T
5112
+ } = qi(), C = z(() => ({
5112
5113
  "form-group": !0,
5113
5114
  "farris-form-group": !0,
5114
5115
  "common-group": !0,
5115
5116
  "q-state-readonly": c.value,
5116
5117
  "form-group-in-canvas": !0
5117
- })), T = z(() => {
5118
- const E = r.value.type || "input-group", I = h(E), m = p(E, r.value);
5119
- return () => C(I, at({
5120
- ref: v
5121
- }, m, {
5118
+ })), g = z(() => {
5119
+ const E = r.value.type || "input-group", I = T(E), v = p(E, r.value);
5120
+ return () => w(I, at({
5121
+ ref: h
5122
+ }, v, {
5122
5123
  modelValue: a.value,
5123
- "onUpdate:modelValue": (w) => a.value = w
5124
+ "onUpdate:modelValue": (F) => a.value = F
5124
5125
  }), null);
5125
5126
  });
5126
- de([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.showLabel], ([E, I, m, w, g, b, S]) => {
5127
+ de([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.showLabel], ([E, I, v, F, m, b, S]) => {
5127
5128
  var k;
5128
5129
  n.value = E, o.value = I, r.value = {
5129
- ...m
5130
- }, i.value = w, a.value = g, c.value = b, f.value = ((k = r.value) == null ? void 0 : k.required) === !0, d.value = S;
5130
+ ...v
5131
+ }, i.value = F, a.value = m, c.value = b, f.value = ((k = r.value) == null ? void 0 : k.required) === !0, d.value = S;
5131
5132
  }, {
5132
5133
  deep: !0
5133
5134
  });
5134
5135
  const N = !Ze("external-container-id"), {
5135
- checkBindingFieldValidation: L
5136
- } = Pl(u, s, t);
5136
+ checkBindingFieldValidation: P
5137
+ } = Pl(u, l, t);
5137
5138
  function V() {
5138
- const E = N ? L() : !0;
5139
- return C(In, {
5139
+ const E = N ? P() : !0;
5140
+ return w(In, {
5140
5141
  id: `${n.value}-lable`,
5141
- showType: l.value,
5142
+ showType: s.value,
5142
5143
  required: f.value,
5143
5144
  text: i.value,
5144
5145
  title: i.value,
@@ -5147,17 +5148,17 @@ const Ll = /* @__PURE__ */ Te({
5147
5148
  }, null);
5148
5149
  }
5149
5150
  return e.expose({
5150
- editorRef: v
5151
- }), () => C("div", {
5151
+ editorRef: h
5152
+ }), () => w("div", {
5152
5153
  id: `${n.value}-input-group`,
5153
5154
  class: o.value
5154
- }, [C("div", {
5155
+ }, [w("div", {
5155
5156
  class: "farris-group-wrap"
5156
- }, [C("div", {
5157
- class: F.value
5158
- }, [V(), C("div", {
5157
+ }, [w("div", {
5158
+ class: C.value
5159
+ }, [V(), w("div", {
5159
5160
  class: "farris-input-wrap"
5160
- }, [T.value()])])])]);
5161
+ }, [g.value()])])])]);
5161
5162
  }
5162
5163
  });
5163
5164
  function jl(t, e) {
@@ -5174,68 +5175,68 @@ function jl(t, e) {
5174
5175
  return !0;
5175
5176
  }
5176
5177
  function a(u) {
5177
- var T;
5178
- const s = e == null ? void 0 : e.designViewModelUtils, l = e == null ? void 0 : e.formSchemaUtils, p = (T = t == null ? void 0 : t.componentInstance.value) == null ? void 0 : T.belongedComponentId;
5179
- if (!p || !s || !l)
5178
+ var g;
5179
+ const l = e == null ? void 0 : e.designViewModelUtils, s = e == null ? void 0 : e.formSchemaUtils, p = (g = t == null ? void 0 : t.componentInstance.value) == null ? void 0 : g.belongedComponentId;
5180
+ if (!p || !l || !s)
5180
5181
  return;
5181
- const h = l.getViewModelIdByComponentId(p), F = s.getDgViewModel(h);
5182
- F && F.removeField([u]);
5183
- }
5184
- function c(u, s) {
5185
- const l = e == null ? void 0 : e.formSchemaUtils, { schema: p } = t;
5186
- if (l.getComponents().find((F) => {
5187
- let T = l.getControlsInCmpWidthBinding(F.viewModel, u);
5188
- if (T = T.filter((x) => {
5189
- var L;
5182
+ const T = s.getViewModelIdByComponentId(p), C = l.getDgViewModel(T);
5183
+ C && C.removeField([u]);
5184
+ }
5185
+ function c(u, l) {
5186
+ const s = e == null ? void 0 : e.formSchemaUtils, { schema: p } = t;
5187
+ if (s.getComponents().find((C) => {
5188
+ let g = s.getControlsInCmpWidthBinding(C.viewModel, u);
5189
+ if (g = g.filter((x) => {
5190
+ var P;
5190
5191
  if (x.id === p.id)
5191
5192
  return !1;
5192
- const N = s.type === "visible" ? x[s.type] : (L = x.editor) == null ? void 0 : L[s.type];
5193
- if (N && N.type === "Expression" && N.expressionId === s.id)
5193
+ const N = l.type === "visible" ? x[l.type] : (P = x.editor) == null ? void 0 : P[l.type];
5194
+ if (N && N.type === "Expression" && N.expressionId === l.id)
5194
5195
  return !0;
5195
- }), T.length)
5196
+ }), g.length)
5196
5197
  return !0;
5197
5198
  }))
5198
5199
  return !0;
5199
5200
  }
5200
5201
  function f(u) {
5201
5202
  var p;
5202
- const s = e == null ? void 0 : e.formSchemaUtils, { schema: l } = t;
5203
- if (s.getExpressions().length) {
5204
- const h = s.getExpressions(), F = h.findIndex((T) => T.target === u);
5205
- F > -1 && ((p = h[F].rules) == null || p.map((T) => {
5203
+ const l = e == null ? void 0 : e.formSchemaUtils, { schema: s } = t;
5204
+ if (l.getExpressions().length) {
5205
+ const T = l.getExpressions(), C = T.findIndex((g) => g.target === u);
5206
+ C > -1 && ((p = T[C].rules) == null || p.map((g) => {
5206
5207
  var x;
5207
- switch (T.type) {
5208
+ switch (g.type) {
5208
5209
  case "visible":
5209
5210
  case "readonly":
5210
5211
  case "required": {
5211
- const N = T.type === "visible" ? l[T.type] : (x = l.editor) == null ? void 0 : x[T.type];
5212
- N && N.type === "Expression" && N.expressionId === T.id && (c(u, T) || (T.needDelete = !0));
5212
+ const N = g.type === "visible" ? s[g.type] : (x = s.editor) == null ? void 0 : x[g.type];
5213
+ N && N.type === "Expression" && N.expressionId === g.id && (c(u, g) || (g.needDelete = !0));
5213
5214
  break;
5214
5215
  }
5215
5216
  default:
5216
- c(u, T) || (T.needDelete = !0);
5217
+ c(u, g) || (g.needDelete = !0);
5217
5218
  }
5218
- }), h[F].rules = h[F].rules.filter((T) => !T.needDelete));
5219
+ }), T[C].rules = T[C].rules.filter((g) => !g.needDelete));
5219
5220
  }
5220
5221
  }
5221
5222
  function d() {
5222
- var s, l;
5223
- const u = (s = t == null ? void 0 : t.parent) == null ? void 0 : s.componentInstance.value;
5224
- ((l = u == null ? void 0 : u.schema) == null ? void 0 : l.type) === vo["response-layout-item"].type && (u != null && u.schema.appearance.class) && (u.schema.appearance.class = u.schema.appearance.class.replace("f-form-layout", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form-controls-inline", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form-auto", ""), u.schema.appearance.class = u.schema.appearance.class.trim().replace(" ", " "));
5223
+ var l, s;
5224
+ const u = (l = t == null ? void 0 : t.parent) == null ? void 0 : l.componentInstance.value;
5225
+ ((s = u == null ? void 0 : u.schema) == null ? void 0 : s.type) === vo["response-layout-item"].type && (u != null && u.schema.appearance.class) && (u.schema.appearance.class = u.schema.appearance.class.replace("f-form-layout", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form-controls-inline", ""), u.schema.appearance.class = u.schema.appearance.class.replace("farris-form-auto", ""), u.schema.appearance.class = u.schema.appearance.class.trim().replace(" ", " "));
5225
5226
  }
5226
- function v() {
5227
- const { schema: u } = t, s = u.binding && u.binding.field;
5228
- s && (a(s), f(s)), d();
5227
+ function h() {
5228
+ const { schema: u } = t, l = u.binding && u.binding.field;
5229
+ l && (a(l), f(l)), d();
5229
5230
  }
5230
5231
  return {
5231
5232
  canAccepts: r,
5232
5233
  checkCanDeleteComponent: o,
5233
5234
  checkCanMoveComponent: n,
5234
5235
  hideNestedPaddingInDesginerView: i,
5235
- onRemoveComponent: v
5236
+ onRemoveComponent: h
5236
5237
  };
5237
5238
  }
5238
- const $l = /* @__PURE__ */ Te({
5239
+ const $l = /* @__PURE__ */ Fe({
5239
5240
  name: "FFormGroupDesign",
5240
5241
  props: xt,
5241
5242
  emits: [],
@@ -5243,11 +5244,11 @@ const $l = /* @__PURE__ */ Te({
5243
5244
  const n = y(), o = Ze("design-item-context"), r = Ze("designer-host-service"), i = jl(o, r), a = xi(n, o, i);
5244
5245
  return it(() => {
5245
5246
  n.value.componentInstance = a, a.value.getPropConfig = (...c) => {
5246
- var d, v, u;
5247
+ var d, h, u;
5247
5248
  let f = po[t.editor.type];
5248
- return f && Object.keys(f).length === 0 && ((d = n.value) != null && d.editorRef) && ((u = (v = n.value) == null ? void 0 : v.editorRef) != null && u.getPropConfig) && (f = n.value.editorRef.getPropConfig(...c, a.value)), f;
5249
+ return f && Object.keys(f).length === 0 && ((d = n.value) != null && d.editorRef) && ((u = (h = n.value) == null ? void 0 : h.editorRef) != null && u.getPropConfig) && (f = n.value.editorRef.getPropConfig(...c, a.value)), f;
5249
5250
  };
5250
- }), e.expose(a.value), () => C(Ll, at(t, {
5251
+ }), e.expose(a.value), () => w(Ll, at(t, {
5251
5252
  ref: n
5252
5253
  }), null);
5253
5254
  }
@@ -5266,7 +5267,7 @@ const $l = /* @__PURE__ */ Te({
5266
5267
  */
5267
5268
  selectOnCreated: { type: Boolean, default: !1 }
5268
5269
  };
5269
- Tt(
5270
+ Ft(
5270
5271
  Rl,
5271
5272
  Mn,
5272
5273
  Wt,
@@ -5366,21 +5367,21 @@ function Kl(t, e, n, o) {
5366
5367
  "font-size": `${r.value}px`,
5367
5368
  height: "100%"
5368
5369
  }));
5369
- function v(u) {
5370
+ function h(u) {
5370
5371
  if (u.currentTarget) {
5371
- const s = u.currentTarget.value || "";
5372
- c.value = s.length;
5372
+ const l = u.currentTarget.value || "";
5373
+ c.value = l.length;
5373
5374
  }
5374
5375
  }
5375
- return () => C(pt, null, [C("textarea", {
5376
+ return () => w(pt, null, [w("textarea", {
5376
5377
  title: "promptMessage",
5377
5378
  name: "promptMessage",
5378
5379
  class: "form-control",
5379
5380
  style: d.value,
5380
5381
  rows: "4",
5381
5382
  maxlength: i.value,
5382
- onInput: (u) => v(u)
5383
- }, [f.value]), C("span", {
5383
+ onInput: (u) => h(u)
5384
+ }, [f.value]), w("span", {
5384
5385
  class: "textarea-wordcount",
5385
5386
  title: a.value,
5386
5387
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -5425,37 +5426,37 @@ function ns(t, e) {
5425
5426
  return () => n && n();
5426
5427
  }
5427
5428
  function os(t, e) {
5428
- function n(l) {
5429
- if (l == null)
5429
+ function n(s) {
5430
+ if (s == null)
5430
5431
  return 0;
5431
5432
  let p = 0;
5432
- for (let h = 0; h < l.length; h++) {
5433
- const F = l.charCodeAt(h);
5434
- F >= 0 && F <= 128 ? p++ : p = p + 2;
5433
+ for (let T = 0; T < s.length; T++) {
5434
+ const C = s.charCodeAt(T);
5435
+ C >= 0 && C <= 128 ? p++ : p = p + 2;
5435
5436
  }
5436
5437
  return p;
5437
5438
  }
5438
- function o(l, p) {
5439
- if (l !== "" && l !== void 0 && l !== null) {
5440
- l = "" + l;
5441
- const h = l.length;
5442
- let F = "", T = 0;
5443
- for (let x = 0; x < h; x++) {
5444
- const N = l.charAt(x);
5445
- if (T++, encodeURI(N).length > 4 && T++, F = F.concat(N), T >= p)
5446
- return F = F.concat("..."), F;
5439
+ function o(s, p) {
5440
+ if (s !== "" && s !== void 0 && s !== null) {
5441
+ s = "" + s;
5442
+ const T = s.length;
5443
+ let C = "", g = 0;
5444
+ for (let x = 0; x < T; x++) {
5445
+ const N = s.charAt(x);
5446
+ if (g++, encodeURI(N).length > 4 && g++, C = C.concat(N), g >= p)
5447
+ return C = C.concat("..."), C;
5447
5448
  }
5448
- if (T < p)
5449
- return l;
5449
+ if (g < p)
5450
+ return s;
5450
5451
  }
5451
5452
  return "";
5452
5453
  }
5453
5454
  const r = z(() => !!t.value && !!t.value.date), i = z(() => {
5454
- const l = t.value && t.value.date || "";
5455
- return `${e.exception.happend} : ${l}`;
5456
- }), a = z(() => !!t.value && !!t.value.detail), c = z(() => t.value ? n(t.value.detail) > 160 : !1), f = y(!1), d = z(() => f.value ? e.exception.collapse : e.exception.expand), v = z(() => {
5457
- const l = e.exception.detail + " : " + (t.value && t.value.detail) || "";
5458
- return f.value ? l : o(l, 160);
5455
+ const s = t.value && t.value.date || "";
5456
+ return `${e.exception.happend} : ${s}`;
5457
+ }), a = z(() => !!t.value && !!t.value.detail), c = z(() => t.value ? n(t.value.detail) > 160 : !1), f = y(!1), d = z(() => f.value ? e.exception.collapse : e.exception.expand), h = z(() => {
5458
+ const s = e.exception.detail + " : " + (t.value && t.value.detail) || "";
5459
+ return f.value ? s : o(s, 160);
5459
5460
  }), u = z(() => ({
5460
5461
  position: "absolute",
5461
5462
  right: 0,
@@ -5463,53 +5464,53 @@ function os(t, e) {
5463
5464
  color: "#2A87FF",
5464
5465
  cursor: "pointer"
5465
5466
  }));
5466
- function s() {
5467
+ function l() {
5467
5468
  f.value = !f.value;
5468
5469
  }
5469
- return () => C("div", {
5470
+ return () => w("div", {
5470
5471
  class: "toast-msg-detail"
5471
- }, [r.value && C("div", null, [i.value]), a.value && C("div", {
5472
+ }, [r.value && w("div", null, [i.value]), a.value && w("div", {
5472
5473
  class: "exception_wrap"
5473
- }, [C("div", {
5474
+ }, [w("div", {
5474
5475
  class: "exception_error_msg"
5475
- }, [C("div", {
5476
- innerHTML: v.value
5477
- }, null), c.value && C("span", {
5476
+ }, [w("div", {
5477
+ innerHTML: h.value
5478
+ }, null), c.value && w("span", {
5478
5479
  style: u.value,
5479
- onClick: s
5480
+ onClick: l
5480
5481
  }, [d.value])])])]);
5481
5482
  }
5482
5483
  function rs(t) {
5483
- return () => C("p", {
5484
+ return () => w("p", {
5484
5485
  class: "toast-msg-detail",
5485
5486
  innerHTML: t.value
5486
5487
  }, null);
5487
5488
  }
5488
5489
  function as(t, e, n, o, r) {
5489
5490
  const i = y(t.exceptionInfo), a = z(() => {
5490
- const p = e.value === "question" ? "warning" : e.value, h = {
5491
+ const p = e.value === "question" ? "warning" : e.value, T = {
5491
5492
  "f-icon": !0
5492
- }, F = `f-icon-${p}`;
5493
- return h[F] = !0, h;
5494
- }), c = z(() => n.value || i.value && i.value.message), f = z(() => o.value), d = z(() => !!o.value), v = z(() => !!i.value);
5493
+ }, C = `f-icon-${p}`;
5494
+ return T[C] = !0, T;
5495
+ }), c = z(() => n.value || i.value && i.value.message), f = z(() => o.value), d = z(() => !!o.value), h = z(() => !!i.value);
5495
5496
  function u() {
5496
- return v.value ? os(i, r) : d.value ? rs(f) : () => null;
5497
+ return h.value ? os(i, r) : d.value ? rs(f) : () => null;
5497
5498
  }
5498
- const s = u(), l = z(() => r.locale === "en" ? {
5499
+ const l = u(), s = z(() => r.locale === "en" ? {
5499
5500
  wordBreak: "keep-all",
5500
5501
  overflowWrap: "break-word"
5501
5502
  } : {});
5502
- return () => C(pt, null, [C("div", {
5503
+ return () => w(pt, null, [w("div", {
5503
5504
  class: "float-left modal-tips-iconwrap"
5504
- }, [C("span", {
5505
+ }, [w("span", {
5505
5506
  class: a.value
5506
- }, null)]), C("div", {
5507
+ }, null)]), w("div", {
5507
5508
  class: "modal-tips-content"
5508
- }, [C("p", {
5509
+ }, [w("p", {
5509
5510
  class: "toast-msg-title",
5510
5511
  innerHTML: c.value,
5511
- style: l.value
5512
- }, null), s()])]);
5512
+ style: s.value
5513
+ }, null), l()])]);
5513
5514
  }
5514
5515
  function is(t, e, n, o) {
5515
5516
  const {
@@ -5521,8 +5522,8 @@ function is(t, e, n, o) {
5521
5522
  message: "",
5522
5523
  detail: ""
5523
5524
  }), d = z(() => f.value && f.value.detail || "");
5524
- function v(u) {
5525
- r(d.value).catch((s) => {
5525
+ function h(u) {
5526
+ r(d.value).catch((l) => {
5526
5527
  a.value = o.exception.copyFailed || "复制失败";
5527
5528
  }).finally(() => {
5528
5529
  i.value = !0, setTimeout(() => {
@@ -5530,37 +5531,37 @@ function is(t, e, n, o) {
5530
5531
  }, 700);
5531
5532
  });
5532
5533
  }
5533
- return () => C("span", {
5534
+ return () => w("span", {
5534
5535
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
5535
- }, [C("span", {
5536
- onClick: v,
5536
+ }, [w("span", {
5537
+ onClick: h,
5537
5538
  style: "cursor: pointer;"
5538
5539
  }, [c.value])]);
5539
5540
  }
5540
5541
  function ls(t, e, n, o, r) {
5541
- const i = y(t.type), a = y(t.buttons), c = y(t.exceptionInfo), f = y(r.ok || t.okButtonText), d = y(r.cancel || t.cancelButtonText), v = y(t.showCancelButton), u = y(t.showOkButton), s = z(() => !!(a.value && a.value.length)), l = z(() => c.value && c.value.message && c.value.detail), p = z(() => !(a.value && a.value.length) && (u.value || v.value)), h = is(t, n, o, r);
5542
+ const i = y(t.type), a = y(t.buttons), c = y(t.exceptionInfo), f = y(r.ok || t.okButtonText), d = y(r.cancel || t.cancelButtonText), h = y(t.showCancelButton), u = y(t.showOkButton), l = z(() => !!(a.value && a.value.length)), s = z(() => c.value && c.value.message && c.value.detail), p = z(() => !(a.value && a.value.length) && (u.value || h.value)), T = is(t, n, o, r);
5542
5543
  f.value === "关闭" ? f.value = r.close : f.value === "知道了" && (f.value = r.exception.roger);
5543
- function F(x) {
5544
+ function C(x) {
5544
5545
  i.value === "question" && e.emit("reject"), e.emit("close");
5545
5546
  }
5546
- function T(x) {
5547
+ function g(x) {
5547
5548
  i.value === "question" && e.emit("accept"), e.emit("close");
5548
5549
  }
5549
- return () => C("div", {
5550
+ return () => w("div", {
5550
5551
  class: "modal-footer"
5551
- }, [l.value && h(), p.value && v.value && C("button", {
5552
+ }, [s.value && T(), p.value && h.value && w("button", {
5552
5553
  type: "button",
5553
5554
  class: "btn btn-secondary btn-lg",
5554
- onClick: F
5555
- }, [d.value]), p.value && u.value && C("button", {
5555
+ onClick: C
5556
+ }, [d.value]), p.value && u.value && w("button", {
5556
5557
  type: "button",
5557
5558
  class: "btn btn-primary btn-lg",
5558
- onClick: T
5559
- }, [f.value]), s.value && a.value.length && a.value.map((x) => C("button", {
5559
+ onClick: g
5560
+ }, [f.value]), l.value && a.value.length && a.value.map((x) => w("button", {
5560
5561
  type: "button",
5561
5562
  onClick: x.handle,
5562
5563
  class: x.class
5563
- }, [x.iconClass && C("span", {
5564
+ }, [x.iconClass && w("span", {
5564
5565
  class: x.iconClass
5565
5566
  }, null), x.text]))]);
5566
5567
  }
@@ -5590,32 +5591,32 @@ function ss(t) {
5590
5591
  locale: n.value
5591
5592
  };
5592
5593
  }
5593
- const yt = /* @__PURE__ */ Te({
5594
+ const yt = /* @__PURE__ */ Fe({
5594
5595
  name: "FMessageBox",
5595
5596
  props: Yl,
5596
5597
  emits: ["accept", "reject", "close"],
5597
5598
  setup(t, e) {
5598
5599
  const n = ss(t), o = y(t.type), r = y(t.title), i = y(t.detail), a = z(() => {
5599
- const T = {
5600
+ const g = {
5600
5601
  "modal-tips": !0,
5601
5602
  "d-flex": !0,
5602
5603
  "flex-row": !0
5603
5604
  }, x = `messager-type-${o.value}`;
5604
- return T[x] = !0, T;
5605
+ return g[x] = !0, g;
5605
5606
  }), c = z(() => {
5606
- const T = {
5607
+ const g = {
5607
5608
  cursor: "default"
5608
5609
  };
5609
- return o.value === "prompt" ? T.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (T.padding = "0.5rem 1.5rem 1rem 1.5rem"), T;
5610
- }), f = Ql(), d = es(t, o, r, i), v = ts(), {
5610
+ return o.value === "prompt" ? g.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (g.padding = "0.5rem 1.5rem 1rem 1.5rem"), g;
5611
+ }), f = Ql(), d = es(t, o, r, i), h = ts(), {
5611
5612
  feedbackStyle: u,
5612
- feedbackMessage: s
5613
- } = v;
5614
- s.value = n.exception.copySuccess;
5615
- function l() {
5616
- return C("div", {
5613
+ feedbackMessage: l
5614
+ } = h;
5615
+ l.value = n.exception.copySuccess;
5616
+ function s() {
5617
+ return w("div", {
5617
5618
  style: u.value
5618
- }, [s.value]);
5619
+ }, [l.value]);
5619
5620
  }
5620
5621
  function p() {
5621
5622
  switch (o.value) {
@@ -5625,16 +5626,16 @@ const yt = /* @__PURE__ */ Te({
5625
5626
  return as(t, o, r, i, n);
5626
5627
  }
5627
5628
  }
5628
- const h = p(), F = ls(t, e, f, v, n);
5629
- return () => C("div", {
5629
+ const T = p(), C = ls(t, e, f, h, n);
5630
+ return () => w("div", {
5630
5631
  class: "farris-messager"
5631
- }, [!t.exceptionInfo && C("div", {
5632
+ }, [!t.exceptionInfo && w("div", {
5632
5633
  style: "height: 30px;width: 100%;position: absolute;",
5633
5634
  class: "messager-draggable"
5634
- }, null), C("section", {
5635
+ }, null), w("section", {
5635
5636
  class: a.value,
5636
5637
  style: c.value
5637
- }, [h()]), F(), l()]);
5638
+ }, [T()]), C(), s()]);
5638
5639
  }
5639
5640
  }), Oe = class Oe {
5640
5641
  static show(e) {
@@ -5644,7 +5645,7 @@ const yt = /* @__PURE__ */ Te({
5644
5645
  }), c = n.rejectCallback || (() => {
5645
5646
  });
5646
5647
  let f = null, d = new Ln(Oe.app);
5647
- const v = () => {
5648
+ const h = () => {
5648
5649
  f && (f == null || f.destroy(), d = null);
5649
5650
  };
5650
5651
  return f = d == null ? void 0 : d.open({
@@ -5657,10 +5658,10 @@ const yt = /* @__PURE__ */ Te({
5657
5658
  showMaxButton: !1,
5658
5659
  draggable: !0,
5659
5660
  dragHandle: ".messager-draggable",
5660
- render: () => C(yt, at(n, {
5661
+ render: () => w(yt, at(n, {
5661
5662
  onAccept: a,
5662
5663
  onReject: c,
5663
- onClose: v
5664
+ onClose: h
5664
5665
  }), null)
5665
5666
  }), d == null ? void 0 : d.getCurrentModal();
5666
5667
  }
@@ -5842,7 +5843,7 @@ function ms(t, e, n) {
5842
5843
  if (!a)
5843
5844
  return [];
5844
5845
  const c = a.editor.type, f = new Set(ps[c]);
5845
- return fs().filter((v) => f.has(v.value));
5846
+ return fs().filter((h) => f.has(h.value));
5846
5847
  }
5847
5848
  return { getCompareOperators: r };
5848
5849
  }
@@ -5861,154 +5862,154 @@ function vs() {
5861
5862
  conditionId: Date.now()
5862
5863
  };
5863
5864
  }
5864
- function i(m, w) {
5865
- return { relation: m, items: [], children: [], path: [], groupId: ++o, level: w };
5865
+ function i(v, F) {
5866
+ return { relation: v, items: [], children: [], path: [], groupId: ++o, level: F };
5866
5867
  }
5867
5868
  function a() {
5868
- const m = Object.assign({}, t.value);
5869
- n.forEach((w, g) => {
5870
- w.groupId === m.groupId && n.set(g, m);
5871
- }), e.forEach((w, g) => {
5872
- w.groupId === m.groupId && e.set(g, m);
5873
- }), t.value = m;
5874
- }
5875
- function c(m) {
5876
- const w = /* @__PURE__ */ new Map();
5877
- let g = 0;
5878
- return m.forEach((b, S) => {
5869
+ const v = Object.assign({}, t.value);
5870
+ n.forEach((F, m) => {
5871
+ F.groupId === v.groupId && n.set(m, v);
5872
+ }), e.forEach((F, m) => {
5873
+ F.groupId === v.groupId && e.set(m, v);
5874
+ }), t.value = v;
5875
+ }
5876
+ function c(v) {
5877
+ const F = /* @__PURE__ */ new Map();
5878
+ let m = 0;
5879
+ return v.forEach((b, S) => {
5879
5880
  var k, O;
5880
- if (g += ((k = b.lBracket) == null ? void 0 : k.length) || 0, w.set(S, g), g -= ((O = b.rBracket) == null ? void 0 : O.length) || 0, g < 0)
5881
+ if (m += ((k = b.lBracket) == null ? void 0 : k.length) || 0, F.set(S, m), m -= ((O = b.rBracket) == null ? void 0 : O.length) || 0, m < 0)
5881
5882
  throw new Error("The right bracket is out of range.");
5882
- }), w;
5883
+ }), F;
5883
5884
  }
5884
- function f(m, w, g, b, S) {
5885
- for (let k = 0; k < w; k++) {
5886
- const O = m + (k + 1), W = i(S, O);
5887
- g.children.push(W), n.set(W.groupId, g), g = g.children[g.children.length - 1], b.push(g);
5885
+ function f(v, F, m, b, S) {
5886
+ for (let k = 0; k < F; k++) {
5887
+ const O = v + (k + 1), W = i(S, O);
5888
+ m.children.push(W), n.set(W.groupId, m), m = m.children[m.children.length - 1], b.push(m);
5888
5889
  }
5889
- return g;
5890
+ return m;
5890
5891
  }
5891
- function d(m, w, g, b, S) {
5892
- for (let K = w; K <= 0; K++)
5892
+ function d(v, F, m, b, S) {
5893
+ for (let K = F; K <= 0; K++)
5893
5894
  b.pop();
5894
5895
  const k = b[b.length - 1];
5895
5896
  if (!k)
5896
5897
  throw new Error("The group path is out of range");
5897
- const O = m + w, W = i(S, O);
5898
- return k.children.push(W), n.set(W.groupId, k), g = k.children[k.children.length - 1], b.push(g), g;
5898
+ const O = v + F, W = i(S, O);
5899
+ return k.children.push(W), n.set(W.groupId, k), m = k.children[k.children.length - 1], b.push(m), m;
5899
5900
  }
5900
- function v(m, w, g, b) {
5901
- g.pop();
5902
- const S = g[g.length - 1], k = i(b, m);
5903
- return S.children.push(k), n.set(k.groupId, S), w = S.children[S.children.length - 1], g.push(w), w;
5901
+ function h(v, F, m, b) {
5902
+ m.pop();
5903
+ const S = m[m.length - 1], k = i(b, v);
5904
+ return S.children.push(k), n.set(k.groupId, S), F = S.children[S.children.length - 1], m.push(F), F;
5904
5905
  }
5905
- function u(m, w, g, b, S, k) {
5906
- let O = m[m.length - 1];
5906
+ function u(v, F, m, b, S, k) {
5907
+ let O = v[v.length - 1];
5907
5908
  if (!O)
5908
5909
  throw new Error("The group path is out of range");
5909
- const W = w.get(b) || 0, K = w.get(g) || 0;
5910
- if (g < 0 || g === b)
5911
- return m[m.length - 1];
5912
- const P = W - K, j = S && S.relation !== void 0 ? S.relation : 1;
5913
- return O = P > 0 ? f(K, P, O, m, j) : O, O = P < 0 ? d(K, P, O, m, j) : O, O = P === 0 && K > 0 && W > 0 && S && k && !!S.rBracket && !!k.lBracket ? v(K, O, m, j) : O, O;
5914
- }
5915
- function s(m) {
5916
- const g = { relation: m.length && m[0].relation !== void 0 ? m[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, b = [g], S = c(m);
5917
- return m.forEach((k, O) => {
5918
- const W = O - 1, K = m[W], P = u(b, S, W, O, K, k);
5919
- P.items.push(k), e.set(k.conditionId, P);
5920
- }), t.value = g, g;
5910
+ const W = F.get(b) || 0, K = F.get(m) || 0;
5911
+ if (m < 0 || m === b)
5912
+ return v[v.length - 1];
5913
+ const L = W - K, j = S && S.relation !== void 0 ? S.relation : 1;
5914
+ return O = L > 0 ? f(K, L, O, v, j) : O, O = L < 0 ? d(K, L, O, v, j) : O, O = L === 0 && K > 0 && W > 0 && S && k && !!S.rBracket && !!k.lBracket ? h(K, O, v, j) : O, O;
5915
+ }
5916
+ function l(v) {
5917
+ const m = { relation: v.length && v[0].relation !== void 0 ? v[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, b = [m], S = c(v);
5918
+ return v.forEach((k, O) => {
5919
+ const W = O - 1, K = v[W], L = u(b, S, W, O, K, k);
5920
+ L.items.push(k), e.set(k.conditionId, L);
5921
+ }), t.value = m, m;
5921
5922
  }
5922
- function l() {
5923
- const m = r();
5924
- e.set(m.conditionId, t.value), t.value.items.push(m);
5923
+ function s() {
5924
+ const v = r();
5925
+ e.set(v.conditionId, t.value), t.value.items.push(v);
5925
5926
  }
5926
- function p(m) {
5927
- if (!m)
5927
+ function p(v) {
5928
+ if (!v)
5928
5929
  return;
5929
- const w = e.get(m.conditionId);
5930
- if (w) {
5931
- const g = w.items.findIndex((S) => S.conditionId === m.conditionId) + 1, b = r();
5932
- e.set(b.conditionId, w), w.items.splice(g, 0, b), a();
5930
+ const F = e.get(v.conditionId);
5931
+ if (F) {
5932
+ const m = F.items.findIndex((S) => S.conditionId === v.conditionId) + 1, b = r();
5933
+ e.set(b.conditionId, F), F.items.splice(m, 0, b), a();
5933
5934
  }
5934
5935
  }
5935
- function h(m, w, g, b) {
5936
- m.reduce((S, k) => {
5936
+ function T(v, F, m, b) {
5937
+ v.reduce((S, k) => {
5937
5938
  const O = k.conditionId !== void 0, W = k.groupId !== void 0;
5938
5939
  if (O) {
5939
5940
  const K = k;
5940
- g.push(K), S.items.set(K.conditionId, K);
5941
+ m.push(K), S.items.set(K.conditionId, K);
5941
5942
  }
5942
5943
  if (W) {
5943
5944
  const K = k;
5944
5945
  b.push(K), S.groups.set(K.groupId, K);
5945
5946
  }
5946
5947
  return S;
5947
- }, w);
5948
+ }, F);
5948
5949
  }
5949
- function F(m, w, g, b, S) {
5950
- m && (m.items = w.length ? m.items.filter((k) => !g.has(k.conditionId)) : m.items, m.children = b.length ? m.children.filter((k) => !S.has(k.groupId)) : m.children);
5950
+ function C(v, F, m, b, S) {
5951
+ v && (v.items = F.length ? v.items.filter((k) => !m.has(k.conditionId)) : v.items, v.children = b.length ? v.children.filter((k) => !S.has(k.groupId)) : v.children);
5951
5952
  }
5952
- function T(m, w, g) {
5953
- w.forEach((b) => {
5954
- m.items.push(b), e.set(b.conditionId, m);
5955
- }), g.forEach((b) => {
5956
- m.children.push(b), n.set(b.groupId, m);
5953
+ function g(v, F, m) {
5954
+ F.forEach((b) => {
5955
+ v.items.push(b), e.set(b.conditionId, v);
5956
+ }), m.forEach((b) => {
5957
+ v.children.push(b), n.set(b.groupId, v);
5957
5958
  });
5958
5959
  }
5959
- function x(m) {
5960
- const w = m[0], g = w.conditionId !== void 0 ? e.get(w.conditionId) : n.get(w.groupId), b = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, S = [], k = [];
5961
- if (g) {
5962
- h(m, b, S, k), F(g, S, b.items, k, b.groups);
5963
- const O = i(g.relation, g.level + 1);
5964
- T(O, S, k), g.children.push(O), n.set(O.groupId, g), a();
5960
+ function x(v) {
5961
+ const F = v[0], m = F.conditionId !== void 0 ? e.get(F.conditionId) : n.get(F.groupId), b = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, S = [], k = [];
5962
+ if (m) {
5963
+ T(v, b, S, k), C(m, S, b.items, k, b.groups);
5964
+ const O = i(m.relation, m.level + 1);
5965
+ g(O, S, k), m.children.push(O), n.set(O.groupId, m), a();
5965
5966
  }
5966
5967
  }
5967
- function N(m) {
5968
- const w = [...m.items], g = [...m.children], b = n.get(m.groupId);
5969
- b && (b.children = b.children.filter((S) => S.groupId !== m.groupId), n.delete(m.groupId), w.forEach((S) => {
5968
+ function N(v) {
5969
+ const F = [...v.items], m = [...v.children], b = n.get(v.groupId);
5970
+ b && (b.children = b.children.filter((S) => S.groupId !== v.groupId), n.delete(v.groupId), F.forEach((S) => {
5970
5971
  b.items.push(S), e.set(S.conditionId, b);
5971
- }), g.forEach((S) => {
5972
+ }), m.forEach((S) => {
5972
5973
  b.children.push(S), n.set(S.groupId, b);
5973
5974
  }), a());
5974
5975
  }
5975
- function L(m) {
5976
- m.relation = m.relation === 1 ? 2 : 1, a();
5976
+ function P(v) {
5977
+ v.relation = v.relation === 1 ? 2 : 1, a();
5977
5978
  }
5978
5979
  let V;
5979
- function B(m) {
5980
- const { relation: w } = m;
5981
- return (m.children && m.children.length ? m.children.map((b, S, k) => {
5980
+ function B(v) {
5981
+ const { relation: F } = v;
5982
+ return (v.children && v.children.length ? v.children.map((b, S, k) => {
5982
5983
  const O = V(b);
5983
- return O[0].lBracket = (O[0].lBracket || "") + "(", O[O.length - 1].rBracket = (O[O.length - 1].rBracket || "") + ")", O[O.length - 1].relation = S < k.length - 1 ? w : 0, O;
5984
+ return O[0].lBracket = (O[0].lBracket || "") + "(", O[O.length - 1].rBracket = (O[O.length - 1].rBracket || "") + ")", O[O.length - 1].relation = S < k.length - 1 ? F : 0, O;
5984
5985
  }) : []).flat();
5985
5986
  }
5986
- V = (m = t.value) => {
5987
- const { relation: w } = m, g = m.items.map((S, k, O) => (S.lBracket = k === 0 ? "(" : "", S.rBracket = k === O.length - 1 ? ")" : "", S.relation = k < O.length - 1 ? w || 1 : 0, S)), b = B(m);
5988
- return [...g, ...b];
5987
+ V = (v = t.value) => {
5988
+ const { relation: F } = v, m = v.items.map((S, k, O) => (S.lBracket = k === 0 ? "(" : "", S.rBracket = k === O.length - 1 ? ")" : "", S.relation = k < O.length - 1 ? F || 1 : 0, S)), b = B(v);
5989
+ return [...m, ...b];
5989
5990
  };
5990
- function E(m) {
5991
- const w = m || t.value;
5992
- if (w.children.length && w.children.forEach((g) => {
5993
- E(g);
5994
- }), w.level === 0 && !w.items.length && w.children.length === 1) {
5995
- const g = w.children[0];
5996
- t.value.relation = g.relation, N(g);
5997
- } else w.items.length === 0 && w.children.length <= 1 && N(w);
5998
- }
5999
- function I(m) {
6000
- const w = e.get(m.conditionId);
6001
- w && (w.items = w.items.filter((g) => g.conditionId !== m.conditionId), e.delete(m.conditionId), E(), a());
5991
+ function E(v) {
5992
+ const F = v || t.value;
5993
+ if (F.children.length && F.children.forEach((m) => {
5994
+ E(m);
5995
+ }), F.level === 0 && !F.items.length && F.children.length === 1) {
5996
+ const m = F.children[0];
5997
+ t.value.relation = m.relation, N(m);
5998
+ } else F.items.length === 0 && F.children.length <= 1 && N(F);
5999
+ }
6000
+ function I(v) {
6001
+ const F = e.get(v.conditionId);
6002
+ F && (F.items = F.items.filter((m) => m.conditionId !== v.conditionId), e.delete(v.conditionId), E(), a());
6002
6003
  }
6003
6004
  return {
6004
- addCondition: l,
6005
- changeGroupRelation: L,
6005
+ addCondition: s,
6006
+ changeGroupRelation: P,
6006
6007
  conditionGroupMap: e,
6007
6008
  getConditions: V,
6008
6009
  group: x,
6009
6010
  groupParentMap: n,
6010
6011
  insertConditionTo: p,
6011
- loadConditionGroup: s,
6012
+ loadConditionGroup: l,
6012
6013
  refresh: a,
6013
6014
  removeCondition: I,
6014
6015
  rootGroup: t,
@@ -6018,48 +6019,48 @@ function vs() {
6018
6019
  function hs(t, e, n) {
6019
6020
  const o = y(/* @__PURE__ */ new Set()), r = y(/* @__PURE__ */ new Set()), { conditionGroupMap: i, groupParentMap: a } = n;
6020
6021
  let c, f;
6021
- function d(T) {
6022
- let x = c.level <= T.level ? c : T, N = c.level > T.level ? c : T;
6023
- const L = [];
6022
+ function d(g) {
6023
+ let x = c.level <= g.level ? c : g, N = c.level > g.level ? c : g;
6024
+ const P = [];
6024
6025
  for (; N && x && N !== x; )
6025
- N.level > x.level ? (L.push(N), N = a.get(N.groupId)) : N.level === x.level && (x = a.get(x.groupId), x && L.unshift(x));
6026
- return L;
6026
+ N.level > x.level ? (P.push(N), N = a.get(N.groupId)) : N.level === x.level && (x = a.get(x.groupId), x && P.unshift(x));
6027
+ return P;
6027
6028
  }
6028
- function v(T) {
6029
- r.value.add(T.groupId), T.items.forEach((x) => o.value.add(x.conditionId)), T.children.forEach((x) => v(x));
6029
+ function h(g) {
6030
+ r.value.add(g.groupId), g.items.forEach((x) => o.value.add(x.conditionId)), g.children.forEach((x) => h(x));
6030
6031
  }
6031
- function u(T) {
6032
- const { conditionId: x } = T;
6032
+ function u(g) {
6033
+ const { conditionId: x } = g;
6033
6034
  o.value.add(x), c = o.value.size === 0 ? i.get(x) : c;
6034
- const N = i.get(T.conditionId);
6035
- d(N).forEach((V) => v(V));
6035
+ const N = i.get(g.conditionId);
6036
+ d(N).forEach((V) => h(V));
6036
6037
  }
6037
- const s = z(() => o.value.size === 0 && r.value.size === 1), l = function(T) {
6038
- r.value.delete(T.groupId), T.items.forEach((N) => f(N)), T.children.forEach((N) => !s.value && l(N));
6039
- const x = a.get(T.groupId);
6040
- x && r.value.has(x.groupId) && l(x);
6038
+ const l = z(() => o.value.size === 0 && r.value.size === 1), s = function(g) {
6039
+ r.value.delete(g.groupId), g.items.forEach((N) => f(N)), g.children.forEach((N) => !l.value && s(N));
6040
+ const x = a.get(g.groupId);
6041
+ x && r.value.has(x.groupId) && s(x);
6041
6042
  };
6042
- f = function(T) {
6043
- const { conditionId: x } = T;
6043
+ f = function(g) {
6044
+ const { conditionId: x } = g;
6044
6045
  if (o.value.has(x) && o.value.delete(x), r.value.size > 0) {
6045
6046
  const N = i.get(x);
6046
- N && r.value.has(N.groupId) && l(N);
6047
+ N && r.value.has(N.groupId) && s(N);
6047
6048
  }
6048
6049
  };
6049
- function p(T) {
6050
- const { conditionId: x } = T;
6051
- o.value.size === 0 && (c = i.get(x)), o.value.has(x) ? f(T) : u(T);
6050
+ function p(g) {
6051
+ const { conditionId: x } = g;
6052
+ o.value.size === 0 && (c = i.get(x)), o.value.has(x) ? f(g) : u(g);
6052
6053
  }
6053
- function h() {
6054
- const T = [];
6055
- return c && (c.items.filter((x) => o.value.has(x.conditionId)).forEach((x) => T.push(x)), c.children.filter((x) => r.value.has(x.groupId)).forEach((x) => T.push(x))), T;
6054
+ function T() {
6055
+ const g = [];
6056
+ return c && (c.items.filter((x) => o.value.has(x.conditionId)).forEach((x) => g.push(x)), c.children.filter((x) => r.value.has(x.groupId)).forEach((x) => g.push(x))), g;
6056
6057
  }
6057
- function F() {
6058
+ function C() {
6058
6059
  o.value.clear(), r.value.clear();
6059
6060
  }
6060
- return { clear: F, getSelectedGroupItem: h, selectedItems: o, toggleSelect: p };
6061
+ return { clear: C, getSelectedGroupItem: T, selectedItems: o, toggleSelect: p };
6061
6062
  }
6062
- const Rt = /* @__PURE__ */ Te({
6063
+ const Rt = /* @__PURE__ */ Fe({
6063
6064
  name: "FConditionList",
6064
6065
  props: qt,
6065
6066
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
@@ -6070,76 +6071,76 @@ const Rt = /* @__PURE__ */ Te({
6070
6071
  fieldMap: c,
6071
6072
  loadFieldConfigs: f
6072
6073
  } = r, d = vs(), {
6073
- addCondition: v,
6074
+ addCondition: h,
6074
6075
  changeGroupRelation: u,
6075
- getConditions: s,
6076
- group: l,
6076
+ getConditions: l,
6077
+ group: s,
6077
6078
  insertConditionTo: p,
6078
- loadConditionGroup: h,
6079
- refresh: F,
6080
- removeCondition: T,
6079
+ loadConditionGroup: T,
6080
+ refresh: C,
6081
+ removeCondition: g,
6081
6082
  rootGroup: x,
6082
6083
  unGroup: N
6083
6084
  } = d, {
6084
- createConditionValue: L
6085
+ createConditionValue: P
6085
6086
  } = hn(), V = hs(t, e, d), {
6086
6087
  selectedItems: B,
6087
6088
  toggleSelect: E
6088
6089
  } = V, {
6089
6090
  getCompareOperators: I
6090
6091
  } = ms(t, e, r), {
6091
- conditionListLocale: m
6092
+ conditionListLocale: v
6092
6093
  } = cs();
6093
- f(!1), a.value = i(a.value), h(o.value);
6094
- function w(ee) {
6094
+ f(!1), a.value = i(a.value), T(o.value);
6095
+ function F(ee) {
6095
6096
  var te;
6096
6097
  const oe = ((te = c.get(ee.fieldCode)) == null ? void 0 : te.editor) || {
6097
6098
  type: "text"
6098
6099
  };
6099
- ee.value = L(oe.type, void 0), e.emit("labelCodeChange", ee);
6100
+ ee.value = P(oe.type, void 0), e.emit("labelCodeChange", ee);
6100
6101
  }
6101
- function g(ee, oe) {
6102
+ function m(ee, oe) {
6102
6103
  e.emit("compareTypeChange", oe);
6103
6104
  }
6104
6105
  function b() {
6105
6106
  }
6106
6107
  e.expose({
6107
- getConditions: s
6108
+ getConditions: l
6108
6109
  });
6109
6110
  function S(ee, oe) {
6110
6111
  e.emit("valueChange", ee, oe);
6111
6112
  }
6112
6113
  function k(ee) {
6113
- return C("div", {
6114
+ return w("div", {
6114
6115
  class: "condition-list-item-type mr-3"
6115
- }, [C(At, {
6116
+ }, [w(At, {
6116
6117
  "value-field": "labelCode",
6117
6118
  "text-field": "name",
6118
6119
  "id-field": "id",
6119
6120
  data: a.value,
6120
6121
  modelValue: ee.fieldCode,
6121
6122
  "onUpdate:modelValue": (oe) => ee.fieldCode = oe,
6122
- onChange: (oe) => w(ee)
6123
+ onChange: (oe) => F(ee)
6123
6124
  }, null)]);
6124
6125
  }
6125
6126
  function O(ee) {
6126
- return C("div", {
6127
+ return w("div", {
6127
6128
  class: "condition-list-item-compare mr-3"
6128
- }, [C(At, {
6129
+ }, [w(At, {
6129
6130
  "value-field": "value",
6130
6131
  "text-field": "name",
6131
6132
  "id-field": "id",
6132
6133
  data: I(ee),
6133
6134
  modelValue: ee.compareType,
6134
6135
  "onUpdate:modelValue": (oe) => ee.compareType = oe,
6135
- onChange: (oe) => g(oe, ee)
6136
+ onChange: (oe) => m(oe, ee)
6136
6137
  }, null)]);
6137
6138
  }
6138
6139
  function W(ee) {
6139
6140
  var oe;
6140
- return C("div", {
6141
+ return w("div", {
6141
6142
  class: "condition-list-item-control mr-3"
6142
- }, [C(Ii, {
6143
+ }, [w(Ii, {
6143
6144
  editor: (oe = c.get(ee.fieldCode)) == null ? void 0 : oe.editor,
6144
6145
  showLabel: !1,
6145
6146
  modelValue: ee.value.value,
@@ -6150,83 +6151,83 @@ const Rt = /* @__PURE__ */ Te({
6150
6151
  }, null)]);
6151
6152
  }
6152
6153
  function K(ee) {
6153
- return [C("div", {
6154
+ return [w("div", {
6154
6155
  class: "condition-list-item-extend"
6155
- }, [C("span", {
6156
+ }, [w("span", {
6156
6157
  class: "f-icon f-icon-plus-sm mr-2",
6157
6158
  onClick: () => p(ee)
6158
- }, null), C("span", {
6159
+ }, null), w("span", {
6159
6160
  class: "f-icon f-icon-minus-sm",
6160
- onClick: () => T(ee)
6161
- }, null)]), C("div", {
6161
+ onClick: () => g(ee)
6162
+ }, null)]), w("div", {
6162
6163
  class: "custom-control custom-checkbox"
6163
- }, [C("input", {
6164
+ }, [w("input", {
6164
6165
  title: "selection",
6165
6166
  class: "custom-control-input",
6166
6167
  type: "checkbox",
6167
6168
  checked: B.value.has(ee.conditionId)
6168
- }, null), C("label", {
6169
+ }, null), w("label", {
6169
6170
  class: "custom-control-label",
6170
6171
  onClick: () => E(ee)
6171
6172
  }, null)])];
6172
6173
  }
6173
- function P(ee) {
6174
- return ee.items.map((oe) => C("div", {
6174
+ function L(ee) {
6175
+ return ee.items.map((oe) => w("div", {
6175
6176
  class: "condition-list-item",
6176
6177
  key: oe.conditionId
6177
6178
  }, [k(oe), O(oe), W(oe), K(oe)]));
6178
6179
  }
6179
6180
  function j(ee) {
6180
- return C("div", {
6181
+ return w("div", {
6181
6182
  class: "condition-list-relation"
6182
- }, [C("span", {
6183
+ }, [w("span", {
6183
6184
  class: "condition-list-relation-close f-icon-filter-cancel btn-link",
6184
6185
  onClick: () => N(ee)
6185
- }, null), C("span", {
6186
+ }, null), w("span", {
6186
6187
  class: "condition-list-relation-text btn-link",
6187
6188
  onClick: () => u(ee)
6188
- }, [ee.relation === 1 ? m.and : m.or])]);
6189
+ }, [ee.relation === 1 ? v.and : v.or])]);
6189
6190
  }
6190
6191
  function J(ee) {
6191
- return C("div", {
6192
+ return w("div", {
6192
6193
  class: "condition-list-content"
6193
- }, [C("div", {
6194
+ }, [w("div", {
6194
6195
  class: "condition-list-content-group"
6195
- }, [P(ee), ee.children && ee.children.map((oe) => J(oe))]), j(ee)]);
6196
+ }, [L(ee), ee.children && ee.children.map((oe) => J(oe))]), j(ee)]);
6196
6197
  }
6197
6198
  function Y() {
6198
- l(V.getSelectedGroupItem()), V.clear();
6199
+ s(V.getSelectedGroupItem()), V.clear();
6199
6200
  }
6200
6201
  function ae() {
6201
- return C("div", {
6202
+ return w("div", {
6202
6203
  class: "condition-list-bottom"
6203
- }, [C("div", {
6204
+ }, [w("div", {
6204
6205
  class: "add-condition-btn mb-1 mr-3",
6205
- onClick: v
6206
- }, [C("span", {
6206
+ onClick: h
6207
+ }, [w("span", {
6207
6208
  class: "f-icon f-icon-filter-add"
6208
- }, null), C("span", {
6209
+ }, null), w("span", {
6209
6210
  class: "ml-1"
6210
- }, [m.add])]), C("div", {
6211
+ }, [v.add])]), w("div", {
6211
6212
  class: "add-condition-btn mb-1",
6212
6213
  onClick: Y
6213
- }, [C("span", {
6214
+ }, [w("span", {
6214
6215
  class: "f-icon f-icon-filter-grouping"
6215
- }, null), C("span", {
6216
+ }, null), w("span", {
6216
6217
  class: "ml-1"
6217
- }, [m.create])]), C("div", {
6218
+ }, [v.create])]), w("div", {
6218
6219
  class: "condition-list-reset add-condition-btn",
6219
6220
  onClick: b
6220
- }, [m.reset])]);
6221
+ }, [v.reset])]);
6221
6222
  }
6222
- return () => C("div", {
6223
+ return () => w("div", {
6223
6224
  class: "condition-list",
6224
6225
  key: n.value
6225
- }, [C("div", {
6226
+ }, [w("div", {
6226
6227
  class: "condition-list-body"
6227
6228
  }, [J(x.value)]), ae()]);
6228
6229
  }
6229
- }), Ju = /* @__PURE__ */ Te({
6230
+ }), nc = /* @__PURE__ */ Fe({
6230
6231
  name: "FConditionFieldsDesign",
6231
6232
  directives: {
6232
6233
  "area-response": uo
@@ -6241,34 +6242,34 @@ const Rt = /* @__PURE__ */ Te({
6241
6242
  resizeObserver: d
6242
6243
  } = f;
6243
6244
  c(!0), ln(() => {
6244
- var s;
6245
- (s = d.value) == null || s.unobserve(n.value);
6245
+ var l;
6246
+ (l = d.value) == null || l.unobserve(n.value);
6246
6247
  }), de(() => t.conditions, () => {
6247
6248
  r.value = t.conditions;
6248
6249
  });
6249
- const v = z(() => ({
6250
+ const h = z(() => ({
6250
6251
  // row: true,
6251
6252
  "f-utils-flex-row-wrap": !0,
6252
6253
  "farris-form": !0,
6253
6254
  "condition-div": !0
6254
6255
  }));
6255
6256
  function u() {
6256
- return r.value.map((s) => {
6257
- var h, F;
6258
- const l = (h = a.get(s.fieldCode)) == null ? void 0 : h.editor;
6259
- l && (l.disabled = !0);
6260
- let p = ((F = l == null ? void 0 : l.appearance) == null ? void 0 : F.class) || t.itemClass;
6261
- return l != null && l.multiLineLabel && (p = p + " farris-group-multi-label"), C($l, {
6257
+ return r.value.map((l) => {
6258
+ var T, C;
6259
+ const s = (T = a.get(l.fieldCode)) == null ? void 0 : T.editor;
6260
+ s && (s.disabled = !0);
6261
+ let p = ((C = s == null ? void 0 : s.appearance) == null ? void 0 : C.class) || t.itemClass;
6262
+ return s != null && s.multiLineLabel && (p = p + " farris-group-multi-label"), w($l, {
6262
6263
  customClass: p,
6263
- label: (l == null ? void 0 : l.showLabel) === !1 ? " " : s.fieldName,
6264
- required: l == null ? void 0 : l.required,
6265
- editor: l,
6264
+ label: (s == null ? void 0 : s.showLabel) === !1 ? " " : l.fieldName,
6265
+ required: s == null ? void 0 : s.required,
6266
+ editor: s,
6266
6267
  type: "form-group"
6267
6268
  }, null);
6268
6269
  });
6269
6270
  }
6270
- return () => sn(C("div", {
6271
- class: v.value,
6271
+ return () => sn(w("div", {
6272
+ class: h.value,
6272
6273
  key: o.value,
6273
6274
  ref: n
6274
6275
  }, [u()]), [[un("area-response")]]);
@@ -6283,16 +6284,16 @@ export {
6283
6284
  ba as ComboLookupValue,
6284
6285
  Rn as CompareType,
6285
6286
  ps as CompareTypeInEditor,
6286
- Ft as DatePickerValue,
6287
+ Tt as DatePickerValue,
6287
6288
  Gt as DateRangeValue,
6288
6289
  Ma as DateTimePickerValue,
6289
6290
  us as EnumType,
6290
6291
  nn as FConditionFields,
6291
- Ju as FConditionFieldsDesign,
6292
+ nc as FConditionFieldsDesign,
6292
6293
  Rt as FConditionList,
6293
6294
  wa as InputGroupValue,
6294
- Fa as LookupValue,
6295
- Ta as MonthPickerValue,
6295
+ Ta as LookupValue,
6296
+ Fa as MonthPickerValue,
6296
6297
  xa as MonthRangeValue,
6297
6298
  Sa as NumberRangeValue,
6298
6299
  ka as NumberSpinnerValue,