@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
@@ -3,10 +3,10 @@ var Ea = (e, t, n) => t in e ? Ma(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var we = (e, t, n) => Ea(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { defineComponent as oe, ref as C, computed as N, createVNode as v, Teleport as Tn, createApp as nn, onUnmounted as wt, Fragment as ot, watch as Z, nextTick as Ue, onBeforeMount as Da, onMounted as be, Transition as Bn, shallowRef as Pa, render as Jt, h as Na, cloneVNode as Ia, mergeProps as kt, reactive as Ge, createTextVNode as ie, inject as ke, withDirectives as On, vShow as ja, onUpdated as an, onBeforeUnmount as Mn, provide as En, vModelText as Ra } from "vue";
5
5
  import { resolveAppearance as Dn, createPropsResolver as on, getSchemaByTypeForDesigner as La } from "../dynamic-resolver/index.esm.js";
6
- import { useI18n as xt } from "vue-i18n";
6
+ import { useI18n as St } from "vue-i18n";
7
7
  import { getMaxZIndex as Va, getCustomClass as Pn, withInstall as Nt, FormSchemaEntityField$Type as yn, FormSchemaEntityFieldTypeName as vn, useGuid as $a, FormSchemaEntityFieldType$Type as Aa, getCustomStyle as za } from "../common/index.esm.js";
8
8
  import { LocaleService as It } from "../locale/index.esm.js";
9
- import { isPlainObject as hn, cloneDeep as Le, isUndefined as Ie, debounce as Nn } from "lodash-es";
9
+ import { cloneDeep as Le, isPlainObject as hn, isUndefined as Ie, debounce as Nn } from "lodash-es";
10
10
  import "../accordion/index.esm.js";
11
11
  import "../avatar/index.esm.js";
12
12
  import Ha from "../../designer/button-edit/index.esm.js";
@@ -84,7 +84,7 @@ import "../external-container/index.esm.js";
84
84
  import "../language-textbox/index.esm.js";
85
85
  import { useDesignerComponent as Ga } from "../designer-canvas/index.esm.js";
86
86
  import { useResizeObserver as Ua } from "@vueuse/core";
87
- import { getHierarchyRow as _a, useIdentify as Ya, useGroupData as Xa, useFilter as Ja, useHierarchy as Qa, useLoading as Za, useDataView as Ka, useSelection as eo, useSelectHierarchyItem as to, usePagination as no, useDataViewContainerStyle as ao, useCommandColumn as oo, useSettingColumn as lo, useColumn as io, useSort as ro, useGroupColumn as so, useRow as uo, useEdit as co, useVisualDataBound as fo, useVisualDataCell as po, useVisualDataRow as mo, useVisualData as yo, useCellPosition as vo, useSidebar as ho, useVirtualScroll as go, useFitColumn as bo, useFilterHistory as Co, useColumnFilter as wo, useDragColumn as ko, getColumnHeader as xo, getSidebar as So, getDisableMask as Fo, getHorizontalScrollbar as To, getVerticalScrollbar as Bo, getEmpty as Oo, getPagination as Mo, getSummary as Eo } from "../data-view/index.esm.js";
87
+ import { getHierarchyRow as _a, useIdentify as Ya, useGroupData as Xa, useFilter as Ja, useHierarchy as Qa, useLoading as Za, useDataView as Ka, useSelection as eo, useSelectHierarchyItem as to, usePagination as no, useDataViewContainerStyle as ao, useCommandColumn as oo, useSettingColumn as lo, useColumn as io, useSort as ro, useGroupColumn as so, useRow as uo, useEdit as co, useVisualDataBound as fo, useVisualDataCell as po, useVisualDataRow as mo, useVisualData as yo, useCellPosition as vo, useSidebar as ho, useVirtualScroll as go, useFitColumn as bo, useFilterHistory as Co, useColumnFilter as wo, useDragColumn as ko, getColumnHeader as So, getSidebar as xo, getDisableMask as Fo, getHorizontalScrollbar as To, getVerticalScrollbar as Bo, getEmpty as Oo, getPagination as Mo, getSummary as Eo } from "../data-view/index.esm.js";
88
88
  import { InputBaseProperty as Do } from "../property-panel/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
90
  import Po from "../popover/index.esm.js";
@@ -608,18 +608,18 @@ class nt {
608
608
  function tl(e, t) {
609
609
  const n = C(), a = C(), o = C(), l = C(), i = C(), u = C(), s = C(), c = C(), h = C(), f = C(), r = C(), m = C(e.resizeable), d = C(), g = C(e.draggable), p = C(!1);
610
610
  function w() {
611
- const $ = a.value || document.body, j = window.getComputedStyle($);
611
+ const L = a.value || document.body, j = window.getComputedStyle(L);
612
612
  if (!j || !n.value)
613
613
  return;
614
614
  const G = re.getTransformInfo(n.value), W = {};
615
615
  s.value && (W.deltaL = n.value.offsetLeft - s.value.x, W.deltaT = n.value.offsetTop - s.value.y);
616
616
  const ee = j.getPropertyValue("position");
617
- W.width = $.clientWidth, W.height = $.clientHeight, W.pr = parseInt(j.getPropertyValue("padding-right"), 10), W.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), W.position = j.getPropertyValue("position"), ee === "static" && ($.style.position = "relative"), W.translateX = G.x, W.translateY = G.y, f.value = W;
617
+ W.width = L.clientWidth, W.height = L.clientHeight, W.pr = parseInt(j.getPropertyValue("padding-right"), 10), W.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), W.position = j.getPropertyValue("position"), ee === "static" && (L.style.position = "relative"), W.translateX = G.x, W.translateY = G.y, f.value = W;
618
618
  }
619
- function k($) {
619
+ function k(L) {
620
620
  if (n.value) {
621
621
  l.value = nt.getCurrent(n.value), i.value = re.getCurrent(n.value), u.value = l.value ? nt.copy(l.value) : null, s.value = i.value ? re.copy(i.value) : null, w();
622
- const j = $.target.getAttribute("type") || "";
622
+ const j = L.target.getAttribute("type") || "";
623
623
  c.value = {
624
624
  n: !!j.match(/n/),
625
625
  s: !!j.match(/s/),
@@ -629,49 +629,49 @@ function tl(e, t) {
629
629
  }
630
630
  }
631
631
  function B() {
632
- var $, j, G, W;
632
+ var L, j, G, W;
633
633
  if (n.value) {
634
634
  const ee = n.value;
635
- c.value && ((c.value.n || c.value.s) && (($ = u.value) != null && $.height) && (ee.style.height = u.value.height + "px"), (c.value.w || c.value.e) && ((j = u.value) != null && j.width) && (ee.style.width = u.value.width + "px"), s.value && ((G = s.value) != null && G.x && (ee.style.left = s.value.x + "px"), (W = s.value) != null && W.y && (ee.style.top = s.value.y + "px")));
635
+ c.value && ((c.value.n || c.value.s) && ((L = u.value) != null && L.height) && (ee.style.height = u.value.height + "px"), (c.value.w || c.value.e) && ((j = u.value) != null && j.width) && (ee.style.width = u.value.width + "px"), s.value && ((G = s.value) != null && G.x && (ee.style.left = s.value.x + "px"), (W = s.value) != null && W.y && (ee.style.top = s.value.y + "px")));
636
636
  }
637
637
  }
638
- function O() {
639
- const $ = e.minHeight ? e.minHeight : 1, j = e.minWidth ? e.minWidth : 1;
640
- u.value && s.value && c.value && l.value && (u.value.height < $ && (u.value.height = $, c.value.n && i.value && (s.value.y = i.value.y + (l.value.height - $))), u.value.width < j && (u.value.width = j, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - j))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, i.value && c.value.n && (s.value.y = i.value.y + (l.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - e.maxWidth))));
638
+ function M() {
639
+ const L = e.minHeight ? e.minHeight : 1, j = e.minWidth ? e.minWidth : 1;
640
+ u.value && s.value && c.value && l.value && (u.value.height < L && (u.value.height = L, c.value.n && i.value && (s.value.y = i.value.y + (l.value.height - L))), u.value.width < j && (u.value.width = j, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - j))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, i.value && c.value.n && (s.value.y = i.value.y + (l.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - e.maxWidth))));
641
641
  }
642
642
  function b() {
643
643
  if (a.value) {
644
- const $ = f.value;
644
+ const L = f.value;
645
645
  if (s.value && u.value && c.value && l.value) {
646
- const j = $.width - $.pr - $.deltaL - $.translateX - s.value.x, G = $.height - $.pb - $.deltaT - $.translateY - s.value.y;
647
- c.value.n && s.value.y + $.translateY < 0 && i.value && (s.value.y = -$.translateY, u.value.height = l.value.height + i.value.y + $.translateY), c.value.w && s.value.x + $.translateX < 0 && i.value && (s.value.x = -$.translateX, u.value.width = l.value.width + i.value.x + $.translateX), u.value.width > j && (u.value.width = j), u.value.height > G && (u.value.height = G);
646
+ const j = L.width - L.pr - L.deltaL - L.translateX - s.value.x, G = L.height - L.pb - L.deltaT - L.translateY - s.value.y;
647
+ c.value.n && s.value.y + L.translateY < 0 && i.value && (s.value.y = -L.translateY, u.value.height = l.value.height + i.value.y + L.translateY), c.value.w && s.value.x + L.translateX < 0 && i.value && (s.value.x = -L.translateX, u.value.width = l.value.width + i.value.x + L.translateX), u.value.width > j && (u.value.width = j), u.value.height > G && (u.value.height = G);
648
648
  }
649
649
  }
650
650
  }
651
- function y($) {
651
+ function y(L) {
652
652
  if (!o.value || !l.value || !i.value || !c.value)
653
653
  return;
654
- $.subtract(o.value);
655
- const j = $.x, G = $.y;
656
- c.value.n ? (s.value.y = i.value.y + G, u.value.height = l.value.height - G) : c.value.s && (u.value.height = l.value.height + G), c.value.e ? u.value.width = l.value.width + j : c.value.w && (u.value.width = l.value.width - j, s.value.x = i.value.x + j), b(), O(), B();
654
+ L.subtract(o.value);
655
+ const j = L.x, G = L.y;
656
+ c.value.n ? (s.value.y = i.value.y + G, u.value.height = l.value.height - G) : c.value.s && (u.value.height = l.value.height + G), c.value.e ? u.value.width = l.value.width + j : c.value.w && (u.value.width = l.value.width - j, s.value.x = i.value.x + j), b(), M(), B();
657
657
  }
658
- function F($) {
658
+ function x(L) {
659
659
  if (!h.value)
660
660
  return;
661
- const j = re.fromEvent($);
661
+ const j = re.fromEvent(L);
662
662
  j && y(j);
663
663
  }
664
- function M() {
664
+ function E() {
665
665
  if (n.value) {
666
666
  const {
667
- width: $,
667
+ width: L,
668
668
  height: j,
669
669
  x: G,
670
670
  y: W
671
671
  } = n.value.getBoundingClientRect(), ee = re.getTransformInfo(n.value);
672
672
  return {
673
673
  size: {
674
- width: $,
674
+ width: L,
675
675
  height: j
676
676
  },
677
677
  position: {
@@ -682,58 +682,58 @@ function tl(e, t) {
682
682
  }
683
683
  return null;
684
684
  }
685
- function I($) {
685
+ function I(L) {
686
686
  if (n.value) {
687
- const j = M();
687
+ const j = E();
688
688
  r.value = j;
689
689
  }
690
- o.value = void 0, l.value = null, i.value = null, u.value = null, s.value = null, c.value = null, h.value = null, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I);
690
+ o.value = void 0, l.value = null, i.value = null, u.value = null, s.value = null, c.value = null, h.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", I);
691
691
  }
692
692
  function R() {
693
- document.addEventListener("mousemove", F), document.addEventListener("mouseup", I);
693
+ document.addEventListener("mousemove", x), document.addEventListener("mouseup", I);
694
694
  }
695
- function x($) {
696
- $ instanceof MouseEvent && $.button === 2 || g.value && (document.body.click(), $.stopPropagation(), $.preventDefault(), o.value = re.fromEvent($), h.value = $.target, k($), R());
695
+ function O(L) {
696
+ L instanceof MouseEvent && L.button === 2 || g.value && (document.body.click(), L.stopPropagation(), L.preventDefault(), o.value = re.fromEvent(L), h.value = L.target, k(L), R());
697
697
  }
698
- function T($) {
699
- return n.value = $, m.value && v(ot, null, [v("div", {
698
+ function F(L) {
699
+ return n.value = L, m.value && v(ot, null, [v("div", {
700
700
  class: "fv-resizable-handle fv-resizable-n",
701
701
  type: "n",
702
- onMousedown: (j) => x(j)
702
+ onMousedown: (j) => O(j)
703
703
  }, null), v("div", {
704
704
  class: "fv-resizable-handle fv-resizable-e",
705
705
  type: "e",
706
- onMousedown: (j) => x(j)
706
+ onMousedown: (j) => O(j)
707
707
  }, null), v("div", {
708
708
  class: "fv-resizable-handle fv-resizable-s",
709
709
  type: "s",
710
- onMousedown: (j) => x(j)
710
+ onMousedown: (j) => O(j)
711
711
  }, null), v("div", {
712
712
  class: "fv-resizable-handle fv-resizable-w",
713
713
  type: "w",
714
- onMousedown: (j) => x(j)
714
+ onMousedown: (j) => O(j)
715
715
  }, null), v("div", {
716
716
  class: "fv-resizable-handle fv-resizable-ne",
717
717
  type: "ne",
718
- onMousedown: (j) => x(j)
718
+ onMousedown: (j) => O(j)
719
719
  }, null), v("div", {
720
720
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
721
721
  type: "se",
722
- onMousedown: (j) => x(j)
722
+ onMousedown: (j) => O(j)
723
723
  }, null), v("div", {
724
724
  class: "fv-resizable-handle fv-resizable-sw",
725
725
  type: "sw",
726
- onMousedown: (j) => x(j)
726
+ onMousedown: (j) => O(j)
727
727
  }, null), v("div", {
728
728
  class: "fv-resizable-handle fv-resizable-nw",
729
729
  type: "nw",
730
- onMousedown: (j) => x(j)
730
+ onMousedown: (j) => O(j)
731
731
  }, null)]);
732
732
  }
733
- function S($ = !0) {
733
+ function S(L = !0) {
734
734
  document.body.click();
735
735
  const j = a.value || document.body, G = nt.getCurrent(j), W = n.value;
736
- $ && W && (d.value = M(), d.value.transform = W.style.transform), G && W && (u.value = G, u.value.height -= 14, u.value.width -= 14, W.style.height = u.value.height + "px", W.style.width = u.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", r.value = {
736
+ L && W && (d.value = E(), d.value.transform = W.style.transform), G && W && (u.value = G, u.value.height -= 14, u.value.width -= 14, W.style.height = u.value.height + "px", W.style.width = u.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", r.value = {
737
737
  size: u.value,
738
738
  position: {
739
739
  x: 0,
@@ -741,8 +741,8 @@ function tl(e, t) {
741
741
  }
742
742
  }, g.value = !1, p.value = !0);
743
743
  }
744
- function E() {
745
- var $, j;
744
+ function T() {
745
+ var L, j;
746
746
  if (document.body.click(), d.value) {
747
747
  const G = {
748
748
  width: d.value.size.width || 0,
@@ -751,7 +751,7 @@ function tl(e, t) {
751
751
  x: (window.innerWidth - G.width) / 2,
752
752
  y: (window.innerHeight - G.height) / 2
753
753
  };
754
- ($ = u.value) == null || $.set(G), (j = s.value) == null || j.set(W);
754
+ (L = u.value) == null || L.set(G), (j = s.value) == null || j.set(W);
755
755
  const ee = n.value;
756
756
  ee.style.height = G.height + "px", ee.style.width = G.width + "px", ee.style.left = `${W.x}px`, ee.style.top = `${W.y}px`, ee.style.transform = "", r.value = {
757
757
  size: G,
@@ -759,117 +759,117 @@ function tl(e, t) {
759
759
  }, g.value = e.draggable, p.value = !1;
760
760
  }
761
761
  }
762
- function D() {
762
+ function P() {
763
763
  if (n.value) {
764
- const $ = nt.getCurrent(n.value);
765
- if ($) {
764
+ const L = nt.getCurrent(n.value);
765
+ if (L) {
766
766
  const {
767
767
  width: j,
768
768
  height: G
769
- } = $;
769
+ } = L;
770
770
  n.value.style.left = `${(window.innerWidth - j) / 2}px`, n.value.style.top = `${(window.innerHeight - G) / 2}px`, n.value.style.transform = "";
771
771
  }
772
772
  }
773
773
  }
774
- function z() {
775
- const $ = () => {
776
- p.value ? S(!1) : D(), document.body.click();
774
+ function V() {
775
+ const L = () => {
776
+ p.value ? S(!1) : P(), document.body.click();
777
777
  };
778
- return window.addEventListener("resize", $), () => {
779
- window.removeEventListener("resize", $);
778
+ return window.addEventListener("resize", L), () => {
779
+ window.removeEventListener("resize", L);
780
780
  };
781
781
  }
782
- const Y = z();
782
+ const _ = V();
783
783
  return {
784
- renderResizeBar: T,
784
+ renderResizeBar: F,
785
785
  boundingElement: a,
786
786
  resizedEventParam: r,
787
787
  maximize: S,
788
- restore: E,
788
+ restore: T,
789
789
  allowDrag: g,
790
790
  isMaximized: p,
791
- unWindowResizeHandle: Y,
792
- moveToCenter: D
791
+ unWindowResizeHandle: _,
792
+ moveToCenter: P
793
793
  };
794
794
  }
795
795
  function nl(e, t, n) {
796
796
  const a = C(), o = C(e.draggable), l = C(e.lockAxis), i = C(), u = C(), s = C(!1), c = C(new re(0, 0)), h = C(new re(0, 0)), f = C(new re(0, 0)), r = C(new re(0, 0));
797
- Z(() => n.value, (F) => {
798
- i.value.style.cursor = F ? "move" : "default";
797
+ Z(() => n.value, (x) => {
798
+ i.value.style.cursor = x ? "move" : "default";
799
799
  });
800
- function m(F, M) {
801
- if (M.tagName === "BUTTON")
800
+ function m(x, E) {
801
+ if (E.tagName === "BUTTON")
802
802
  return !1;
803
- if (M === F)
803
+ if (E === x)
804
804
  return !0;
805
- for (const I in M.children)
806
- if (Object.prototype.hasOwnProperty.call(M.children, I) && m(F, M.children[I]))
805
+ for (const I in E.children)
806
+ if (Object.prototype.hasOwnProperty.call(E.children, I) && m(x, E.children[I]))
807
807
  return !0;
808
808
  return !1;
809
809
  }
810
810
  function d() {
811
- var R, x;
812
- let F = f.value.x + h.value.x, M = f.value.y + h.value.y;
813
- l.value === "x" ? (F = ((R = c.value) == null ? void 0 : R.x) || 0, f.value.x = 0) : l.value === "y" && (M = ((x = c.value) == null ? void 0 : x.y) || 0, f.value.y = 0);
814
- const I = `translate3d(${Math.round(F)}px, ${Math.round(M)}px, 0px)`;
815
- a.value && (a.value.style.transform = I), r.value.x = F, r.value.y = M;
811
+ var R, O;
812
+ let x = f.value.x + h.value.x, E = f.value.y + h.value.y;
813
+ l.value === "x" ? (x = ((R = c.value) == null ? void 0 : R.x) || 0, f.value.x = 0) : l.value === "y" && (E = ((O = c.value) == null ? void 0 : O.y) || 0, f.value.y = 0);
814
+ const I = `translate3d(${Math.round(x)}px, ${Math.round(E)}px, 0px)`;
815
+ a.value && (a.value.style.transform = I), r.value.x = x, r.value.y = E;
816
816
  }
817
817
  function g() {
818
818
  if (!u.value || !a.value)
819
819
  return null;
820
- const F = u.value.getBoundingClientRect(), M = a.value.getBoundingClientRect(), I = {
821
- top: F.top < M.top,
822
- right: F.right > M.right,
823
- bottom: F.bottom > M.bottom,
824
- left: F.left < M.left
820
+ const x = u.value.getBoundingClientRect(), E = a.value.getBoundingClientRect(), I = {
821
+ top: x.top < E.top,
822
+ right: x.right > E.right,
823
+ bottom: x.bottom > E.bottom,
824
+ left: x.left < E.left
825
825
  };
826
- return I.top || (f.value.y -= M.top - F.top), I.bottom || (f.value.y -= M.bottom - F.bottom), I.right || (f.value.x -= M.right - F.right), I.left || (f.value.x -= M.left - F.left), d(), I;
826
+ return I.top || (f.value.y -= E.top - x.top), I.bottom || (f.value.y -= E.bottom - x.bottom), I.right || (f.value.x -= E.right - x.right), I.left || (f.value.x -= E.left - x.left), d(), I;
827
827
  }
828
- function p(F) {
829
- F && (c.value && F.subtract(c.value), f.value.set(F), d(), g());
828
+ function p(x) {
829
+ x && (c.value && x.subtract(c.value), f.value.set(x), d(), g());
830
830
  }
831
- function w(F) {
832
- s.value && o.value && (F.stopPropagation(), F.preventDefault(), p(re.fromEvent(F, i.value)));
831
+ function w(x) {
832
+ s.value && o.value && (x.stopPropagation(), x.preventDefault(), p(re.fromEvent(x, i.value)));
833
833
  }
834
834
  function k() {
835
- var F;
836
- s.value && (s.value = !1, h.value.add(f.value), f.value.reset(), (F = a.value) == null || F.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k));
835
+ var x;
836
+ s.value && (s.value = !1, h.value.add(f.value), f.value.reset(), (x = a.value) == null || x.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k));
837
837
  }
838
838
  function B() {
839
839
  !s.value && i.value && (s.value = !0, i.value.classList.add("ng-dragging"), document.addEventListener("mousemove", w), document.addEventListener("mouseup", k));
840
840
  }
841
- function O() {
841
+ function M() {
842
842
  if (a.value) {
843
- const F = re.getTransformInfo(a.value);
844
- h.value.set(F);
843
+ const x = re.getTransformInfo(a.value);
844
+ h.value.set(x);
845
845
  return;
846
846
  }
847
847
  h.value.reset();
848
848
  }
849
- function b(F) {
850
- if (!n.value || F instanceof MouseEvent && F.button === 2)
849
+ function b(x) {
850
+ if (!n.value || x instanceof MouseEvent && x.button === 2)
851
851
  return;
852
- const M = F.target || F.srcElement;
853
- i.value !== void 0 && M && !m(M, i.value) || o.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), c.value = re.fromEvent(F, a.value), O(), B());
852
+ const E = x.target || x.srcElement;
853
+ i.value !== void 0 && E && !m(E, i.value) || o.value !== !1 && (document.body.click(), x.stopPropagation(), x.preventDefault(), c.value = re.fromEvent(x, a.value), M(), B());
854
854
  }
855
- function y(F, M, I) {
856
- if (o.value && M) {
857
- if (F)
858
- i.value = F;
855
+ function y(x, E, I) {
856
+ if (o.value && E) {
857
+ if (x)
858
+ i.value = x;
859
859
  else if (e.dragHandle) {
860
860
  if (e.dragHandle instanceof HTMLElement)
861
861
  i.value = e.dragHandle;
862
862
  else if (typeof e.dragHandle == "string") {
863
- const R = M.querySelector(e.dragHandle);
863
+ const R = E.querySelector(e.dragHandle);
864
864
  R && (i.value = R);
865
865
  }
866
866
  }
867
- a.value = M, u.value = I, i.value ? (i.value.classList.add("ng-draggable"), i.value.addEventListener("mousedown", b)) : o.value = !1;
867
+ a.value = E, u.value = I, i.value ? (i.value.classList.add("ng-draggable"), i.value.addEventListener("mousedown", b)) : o.value = !1;
868
868
  }
869
869
  }
870
870
  return {
871
871
  registerDraggle: y,
872
- resetTranslate: O
872
+ resetTranslate: M
873
873
  };
874
874
  }
875
875
  function Vn(e, t) {
@@ -906,11 +906,11 @@ const at = /* @__PURE__ */ oe({
906
906
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
907
907
  setup(e, t) {
908
908
  const n = C(e.width || 300), a = C(e.height || 200), o = C(e.modelValue), l = C(""), i = C(e.class), u = C(e.fitContent), s = C(e.showHeader), c = C(""), h = C(e.showCloseButton), f = C(e.showMaxButton), r = C(!1), m = C(e.dialogType), d = C(e.src), g = C(""), p = C(e.showButtons), w = C(e.title), k = C(e.containment || null), B = C(), {
909
- t: O
910
- } = xt();
911
- w.value === "错误提示" && (w.value = O("messageBox.errorTitle"));
909
+ t: M
910
+ } = St();
911
+ w.value === "错误提示" && (w.value = M("messageBox.errorTitle"));
912
912
  const b = C(!1);
913
- function y(L, Q) {
913
+ function y($, Q) {
914
914
  const ue = Q ? "accept" : "cancel";
915
915
  Promise.resolve().then(() => {
916
916
  var fe;
@@ -918,29 +918,29 @@ const at = /* @__PURE__ */ oe({
918
918
  closeType: ue
919
919
  });
920
920
  }).then((fe) => {
921
- fe && (o.value = !1, t.emit("update:modelValue", !1), Q != null && t.emit(Q ? "accept" : "cancel"), t.emit("closed", L));
921
+ fe && (o.value = !1, t.emit("update:modelValue", !1), Q != null && t.emit(Q ? "accept" : "cancel"), t.emit("closed", $));
922
922
  });
923
923
  }
924
- const F = [{
924
+ const x = [{
925
925
  name: "cancel",
926
- text: O("messageBox.cancel") || "取消",
926
+ text: M("messageBox.cancel") || "取消",
927
927
  class: "btn btn-secondary",
928
- handle: (L) => {
929
- y(L, !1);
928
+ handle: ($) => {
929
+ y($, !1);
930
930
  }
931
931
  }, {
932
932
  name: "accept",
933
- text: O("messageBox.ok") || "确定",
933
+ text: M("messageBox.ok") || "确定",
934
934
  class: "btn btn-primary",
935
- handle: (L) => {
936
- y(L, !0);
935
+ handle: ($) => {
936
+ y($, !0);
937
937
  }
938
- }], M = C(e.buttons && e.buttons.length ? e.buttons : F), I = N(() => !!c.value), R = N(() => !!p.value && !!M.value), x = C(), T = C(), S = C(!1), {
939
- renderResizeBar: E,
940
- maximize: D,
941
- restore: z,
942
- boundingElement: Y,
943
- resizedEventParam: $,
938
+ }], E = C(e.buttons && e.buttons.length ? e.buttons : x), I = N(() => !!c.value), R = N(() => !!p.value && !!E.value), O = C(), F = C(), S = C(!1), {
939
+ renderResizeBar: T,
940
+ maximize: P,
941
+ restore: V,
942
+ boundingElement: _,
943
+ resizedEventParam: L,
944
944
  allowDrag: j,
945
945
  unWindowResizeHandle: G,
946
946
  moveToCenter: W
@@ -951,66 +951,66 @@ const at = /* @__PURE__ */ oe({
951
951
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
952
952
  }
953
953
  function ve() {
954
- const L = document.querySelectorAll(".farris-modal").length;
955
- (!L || L - 1 <= 0) && document.body.classList.remove("modal-open"), B.value && B.value.classList.remove("show");
956
- }
957
- Z(() => e.title, (L, Q) => {
958
- L !== Q && (w.value = L);
959
- }), Z(() => e.modelValue, (L, Q) => {
960
- L !== Q && (o.value = L, o.value && e.draggable && Ue(() => {
961
- T.value && !k.value && (k.value = T.value.parentElement, Y.value = k.value, ee(x.value, T.value, Y.value), W());
962
- }), L || (k.value && (k.value = null), ve())), o.value ? b.value = ce() : (S.value = !1, j.value = e.draggable);
963
- }), Z(() => e.showHeader, (L, Q) => {
964
- L !== Q && (s.value = L);
965
- }), Z(() => e.showButtons, (L, Q) => {
966
- L !== Q && (p.value = L);
967
- }), Z(() => $.value, (L, Q) => {
968
- const ue = L || {}, fe = Q || {};
954
+ const $ = document.querySelectorAll(".farris-modal").length;
955
+ (!$ || $ - 1 <= 0) && document.body.classList.remove("modal-open"), B.value && B.value.classList.remove("show");
956
+ }
957
+ Z(() => e.title, ($, Q) => {
958
+ $ !== Q && (w.value = $);
959
+ }), Z(() => e.modelValue, ($, Q) => {
960
+ $ !== Q && (o.value = $, o.value && e.draggable && Ue(() => {
961
+ F.value && !k.value && (k.value = F.value.parentElement, _.value = k.value, ee(O.value, F.value, _.value), W());
962
+ }), $ || (k.value && (k.value = null), ve())), o.value ? b.value = ce() : (S.value = !1, j.value = e.draggable);
963
+ }), Z(() => e.showHeader, ($, Q) => {
964
+ $ !== Q && (s.value = $);
965
+ }), Z(() => e.showButtons, ($, Q) => {
966
+ $ !== Q && (p.value = $);
967
+ }), Z(() => L.value, ($, Q) => {
968
+ const ue = $ || {}, fe = Q || {};
969
969
  JSON.stringify(ue) !== JSON.stringify(fe) && t.emit("resize", {
970
- newSize: L,
970
+ newSize: $,
971
971
  oldSize: Q,
972
972
  isMaximized: S.value
973
973
  });
974
974
  });
975
975
  const X = N(() => (o.value && document.body.classList.add("modal-open"), o.value)), le = N(() => {
976
976
  var ue;
977
- const L = {
977
+ const $ = {
978
978
  modal: !0,
979
979
  "farris-modal": !0,
980
980
  fade: !0
981
981
  };
982
- L["f-modal-fitContent"] = !!u.value, L.show = !!X.value;
982
+ $["f-modal-fitContent"] = !!u.value, $.show = !!X.value;
983
983
  const Q = (ue = e.maskClass) == null ? void 0 : ue.split(" ");
984
- return Q == null || Q.reduce((fe, Ne) => (fe[Ne] = !0, fe), L), L;
984
+ return Q == null || Q.reduce((fe, Ne) => (fe[Ne] = !0, fe), $), $;
985
985
  }), de = N(() => {
986
986
  var ue;
987
- const L = {
987
+ const $ = {
988
988
  "modal-dialog": !0
989
989
  }, Q = (ue = i.value) == null ? void 0 : ue.split(" ");
990
- return Q == null || Q.reduce((fe, Ne) => (fe[Ne] = !0, fe), L), L;
990
+ return Q == null || Q.reduce((fe, Ne) => (fe[Ne] = !0, fe), $), $;
991
991
  }), ne = N(() => {
992
- const L = {
992
+ const $ = {
993
993
  position: "absolute",
994
994
  top: `${(window.innerHeight - a.value) / 2}px`,
995
995
  left: `${(window.innerWidth - n.value) / 2}px`,
996
996
  width: `${n.value}px`,
997
997
  height: u.value ? "auto" : `${a.value}px`
998
998
  };
999
- return e.mask || (L.pointerEvents = "auto"), L;
999
+ return e.mask || ($.pointerEvents = "auto"), $;
1000
1000
  }), U = () => Va() || 1040, ae = N(() => {
1001
- const L = {
1001
+ const $ = {
1002
1002
  display: "block",
1003
1003
  zIndex: U()
1004
1004
  };
1005
- return e.mask || (L.pointerEvents = "none", L.backgroundColor = "transparent"), b.value && (L.backgroundColor = "transparent"), L;
1005
+ return e.mask || ($.pointerEvents = "none", $.backgroundColor = "transparent"), b.value && ($.backgroundColor = "transparent"), $;
1006
1006
  }), Xe = N(() => ({
1007
1007
  "modal-content": !0,
1008
1008
  "modal-content-has-header": s.value
1009
1009
  })), $e = N(() => {
1010
- const L = {
1010
+ const $ = {
1011
1011
  display: s.value ? "" : "none"
1012
1012
  };
1013
- return L["pointer-events"] = j.value ? "auto" : "none", L;
1013
+ return $["pointer-events"] = j.value ? "auto" : "none", $;
1014
1014
  }), Be = N(() => ({
1015
1015
  "f-icon": !0,
1016
1016
  modal_maximize: !0,
@@ -1026,33 +1026,33 @@ const at = /* @__PURE__ */ oe({
1026
1026
  };
1027
1027
  }
1028
1028
  const rt = N(() => {
1029
- const L = {
1029
+ const $ = {
1030
1030
  textAlgin: g.value
1031
1031
  }, Q = Je();
1032
- return Object.assign(L, Q);
1032
+ return Object.assign($, Q);
1033
1033
  });
1034
- function se(L) {
1035
- if (L == null || L.stopPropagation(), S.value) {
1036
- S.value = !1, z();
1034
+ function se($) {
1035
+ if ($ == null || $.stopPropagation(), S.value) {
1036
+ S.value = !1, V();
1037
1037
  return;
1038
1038
  }
1039
- D(), S.value = !0;
1039
+ P(), S.value = !0;
1040
1040
  }
1041
- async function pt(L, Q) {
1042
- L.handle && await L.handle(Q, L) && t.emit("closed", Q);
1041
+ async function pt($, Q) {
1042
+ $.handle && await $.handle(Q, $) && t.emit("closed", Q);
1043
1043
  }
1044
- function Ae(L) {
1045
- L.width && (n.value = L.width), L.height && (a.value = L.height), L.buttons && (M.value = L.buttons), L.title && (w.value = L.title);
1044
+ function Ae($) {
1045
+ $.width && (n.value = $.width), $.height && (a.value = $.height), $.buttons && (E.value = $.buttons), $.title && (w.value = $.title);
1046
1046
  }
1047
1047
  let ze = null, Oe = null;
1048
1048
  Da(() => {
1049
1049
  b.value = ce();
1050
1050
  }), be(() => {
1051
- T.value && !k.value && (k.value = T.value.parentElement, Y.value = k.value, ee(x.value, T.value, Y.value)), X.value && document.body.classList.add("modal-open"), ze = al(e, t), Oe = ol(e, t);
1051
+ F.value && !k.value && (k.value = F.value.parentElement, _.value = k.value, ee(O.value, F.value, _.value)), X.value && document.body.classList.add("modal-open"), ze = al(e, t), Oe = ol(e, t);
1052
1052
  }), wt(() => {
1053
1053
  G && G(), ze && ze.remove(), Oe && Oe.remove();
1054
1054
  }), t.expose({
1055
- modalElementRef: T,
1055
+ modalElementRef: F,
1056
1056
  updateModalOptions: Ae,
1057
1057
  close: y,
1058
1058
  maxDialog: se,
@@ -1071,7 +1071,7 @@ const at = /* @__PURE__ */ oe({
1071
1071
  class: Be.value
1072
1072
  }, null)]), h.value && v("li", {
1073
1073
  class: "f-btn-icon f-bare",
1074
- onClick: (L) => y(L, !1),
1074
+ onClick: ($) => y($, !1),
1075
1075
  style: "pointer-events: auto;"
1076
1076
  }, [v("span", {
1077
1077
  class: "f-icon modal_close"
@@ -1081,24 +1081,24 @@ const at = /* @__PURE__ */ oe({
1081
1081
  return v("div", {
1082
1082
  class: "modal-footer",
1083
1083
  style: rt.value
1084
- }, [M.value && M.value.map((L) => {
1085
- const Q = C(L.disabled);
1084
+ }, [E.value && E.value.map(($) => {
1085
+ const Q = C($.disabled);
1086
1086
  return v("button", {
1087
- name: L.name,
1087
+ name: $.name,
1088
1088
  type: "button",
1089
1089
  disabled: Q.value,
1090
- class: L.class + (L.iconClass ? " btn-icontext" : ""),
1090
+ class: $.class + ($.iconClass ? " btn-icontext" : ""),
1091
1091
  onClick: (ue) => {
1092
- pt(L, ue);
1092
+ pt($, ue);
1093
1093
  }
1094
- }, [!!L.iconClass && v("i", {
1095
- class: L.iconClass
1096
- }, null), L.text]);
1094
+ }, [!!$.iconClass && v("i", {
1095
+ class: $.iconClass
1096
+ }, null), $.text]);
1097
1097
  })]);
1098
1098
  }
1099
1099
  function Qe() {
1100
1100
  return v("div", {
1101
- ref: x,
1101
+ ref: O,
1102
1102
  class: "modal-header",
1103
1103
  style: $e.value
1104
1104
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : v("div", {
@@ -1115,34 +1115,34 @@ const at = /* @__PURE__ */ oe({
1115
1115
  function Pe() {
1116
1116
  return t.slots.footerTemplate ? t.slots.footerTemplate() : R.value && mt();
1117
1117
  }
1118
- function We(L) {
1119
- if (L.stopPropagation(), e.allowClickMaskToClose) {
1120
- if (L.target !== B.value)
1118
+ function We($) {
1119
+ if ($.stopPropagation(), e.allowClickMaskToClose) {
1120
+ if ($.target !== B.value)
1121
1121
  return;
1122
- y(L, !1);
1122
+ y($, !1);
1123
1123
  }
1124
1124
  }
1125
1125
  function st() {
1126
- var L, Q;
1126
+ var $, Q;
1127
1127
  return v("div", {
1128
1128
  id: l.value,
1129
1129
  class: de.value,
1130
1130
  style: ne.value,
1131
- ref: T
1131
+ ref: F
1132
1132
  }, [v("div", {
1133
1133
  class: Xe.value
1134
1134
  }, [s.value && Qe(), v("div", {
1135
1135
  class: it.value
1136
- }, [(Q = (L = t.slots).default) == null ? void 0 : Q.call(L), m.value === "iframe" && v("iframe", {
1136
+ }, [(Q = ($ = t.slots).default) == null ? void 0 : Q.call($), m.value === "iframe" && v("iframe", {
1137
1137
  title: l.value,
1138
1138
  class: "f-utils-fill",
1139
1139
  width: "100%",
1140
1140
  frameborder: "0",
1141
1141
  src: d.value
1142
- }, null)]), Pe()]), !u.value && T.value && !S.value && E(T.value)]);
1142
+ }, null)]), Pe()]), !u.value && F.value && !S.value && T(F.value)]);
1143
1143
  }
1144
- function ut(L) {
1145
- return L || "body";
1144
+ function ut($) {
1145
+ return $ || "body";
1146
1146
  }
1147
1147
  return () => v(Tn, {
1148
1148
  to: ut(e.host)
@@ -1265,14 +1265,14 @@ class An {
1265
1265
  });
1266
1266
  let h;
1267
1267
  const f = $n(a.value), r = (b) => {
1268
- var F;
1268
+ var x;
1269
1269
  o.value = !1;
1270
- const y = (F = b == null ? void 0 : b.target) == null ? void 0 : F.classList.contains("modal_close");
1270
+ const y = (x = b == null ? void 0 : b.target) == null ? void 0 : x.classList.contains("modal_close");
1271
1271
  u(b, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
1272
1272
  }, m = (b) => {
1273
1273
  r(b), h && Ue(() => {
1274
1274
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Jt(null, n), h = null, this.modalRef.value = null, this.modalRefs) {
1275
- const y = Object.keys(this.modalRefs).map((F) => Number(F));
1275
+ const y = Object.keys(this.modalRefs).map((x) => Number(x));
1276
1276
  y.length > 0 ? this.activeModalIndex.value = Math.max(...y) : this.activeModalIndex.value = 0;
1277
1277
  }
1278
1278
  this.isUseEscCloseModal.value = !1;
@@ -1386,7 +1386,7 @@ const rl = {
1386
1386
  e.editor && (e.editor[t] = n);
1387
1387
  },
1388
1388
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
1389
- }, V = {
1389
+ }, A = {
1390
1390
  button: { type: "button", name: "按钮" },
1391
1391
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
1392
1392
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -1437,7 +1437,7 @@ const rl = {
1437
1437
  convertFrom: (e, t, n) => {
1438
1438
  var o;
1439
1439
  const a = e.editor && e.editor[t] ? e.editor[t] : e[t];
1440
- return ((o = V[a]) == null ? void 0 : o.name) || a;
1440
+ return ((o = A[a]) == null ? void 0 : o.name) || a;
1441
1441
  }
1442
1442
  }, dl = {
1443
1443
  convertTo: (e, t, n, a) => {
@@ -1569,12 +1569,12 @@ const rl = {
1569
1569
  convertTo: (e, t, n) => {
1570
1570
  e[t] = n;
1571
1571
  }
1572
- }, xl = {
1572
+ }, Sl = {
1573
1573
  convertTo: (e, t, n, a) => {
1574
1574
  e.size || (e.size = {}), e.size[t] = n;
1575
1575
  },
1576
1576
  convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
1577
- }, Sl = {
1577
+ }, xl = {
1578
1578
  convertFrom: (e, t, n) => {
1579
1579
  var a, o;
1580
1580
  return (a = e.formatter) != null && a.data && t === "formatterEnumData" && !e.formatterEnumData ? (o = e.formatter) == null ? void 0 : o.data : e.formatterEnumData;
@@ -1633,8 +1633,8 @@ function zn(e, t, n) {
1633
1633
  ["/converter/pagination.converter", gl],
1634
1634
  ["/converter/row-number.converter", bl],
1635
1635
  ["/converter/grid-selection.converter", Cl],
1636
- ["/converter/size.converter", xl],
1637
- ["/converter/change-formatter-enum.converter", Sl],
1636
+ ["/converter/size.converter", Sl],
1637
+ ["/converter/change-formatter-enum.converter", xl],
1638
1638
  ["/converter/grid-sort.converter", Fl],
1639
1639
  ["/converter/grid-filter.converter", Tl],
1640
1640
  ["/converter/row-option.converter", Bl]
@@ -1676,16 +1676,16 @@ function zn(e, t, n) {
1676
1676
  const p = d.$converter || g;
1677
1677
  return typeof p == "string" && p && a.has(p) ? a.get(p) || null : p || null;
1678
1678
  }
1679
- function h(d, g, p, w, k, B = "", O = "") {
1679
+ function h(d, g, p, w, k, B = "", M = "") {
1680
1680
  return Object.keys(d).map((y) => {
1681
- const F = C(1), M = y, I = d[y], R = Object.keys(I), x = I.title, T = I.type, S = o.get(T) || { type: "input-group", enableClear: !1 }, E = I.editor ? Object.assign({}, S, I.editor) : Object.assign({}, S), D = u(R, I, g), z = s(R, I, g);
1682
- E.readonly = E.readonly === void 0 ? z() : E.readonly;
1683
- const Y = I.type === "cascade" ? h(I.properties, g, p, w, k, B, O) : [], $ = !0;
1684
- let j = c(I, O);
1681
+ const x = C(1), E = y, I = d[y], R = Object.keys(I), O = I.title, F = I.type, S = o.get(F) || { type: "input-group", enableClear: !1 }, T = I.editor ? Object.assign({}, S, I.editor) : Object.assign({}, S), P = u(R, I, g), V = s(R, I, g);
1682
+ T.readonly = T.readonly === void 0 ? V() : T.readonly;
1683
+ const _ = I.type === "cascade" ? h(I.properties, g, p, w, k, B, M) : [], L = !0;
1684
+ let j = c(I, M);
1685
1685
  const G = N({
1686
1686
  get() {
1687
- if (F.value) {
1688
- if (["class", "style"].find((de) => de === M) && !j && (j = a.get("/converter/appearance.converter") || null), j && j.convertFrom)
1687
+ if (x.value) {
1688
+ if (["class", "style"].find((de) => de === E) && !j && (j = a.get("/converter/appearance.converter") || null), j && j.convertFrom)
1689
1689
  return j.convertFrom(p, y, k, B);
1690
1690
  const le = p[y];
1691
1691
  return Object.prototype.hasOwnProperty.call(I, "defaultValue") && (le === void 0 || typeof le == "string" && le === "") ? I.type === "boolean" ? I.defaultValue : I.defaultValue || "" : le;
@@ -1693,45 +1693,45 @@ function zn(e, t, n) {
1693
1693
  return null;
1694
1694
  },
1695
1695
  set(le) {
1696
- F.value += 1, j && j.convertTo ? (j.convertTo(w, y, le, k, B), j.convertTo(p, y, le, k, B)) : (w[y] = le, p[y] = le);
1696
+ x.value += 1, j && j.convertTo ? (j.convertTo(w, y, le, k, B), j.convertTo(p, y, le, k, B)) : (w[y] = le, p[y] = le);
1697
1697
  }
1698
- }), { refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: ve } = I, X = { propertyID: M, propertyName: x, propertyType: T, propertyValue: G, editor: E, visible: D, readonly: z, cascadeConfig: Y, hideCascadeTitle: $, refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: ve };
1699
- return g[M] = X, X;
1698
+ }), { refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: ve } = I, X = { propertyID: E, propertyName: O, propertyType: F, propertyValue: G, editor: T, visible: P, readonly: V, cascadeConfig: _, hideCascadeTitle: L, refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: ve };
1699
+ return g[E] = X, X;
1700
1700
  });
1701
1701
  }
1702
1702
  function f(d, g, p = {}) {
1703
1703
  const w = {}, k = e[d];
1704
- return k && k.categories ? Object.keys(k.categories).map((O) => {
1705
- const b = k.categories[O], y = b == null ? void 0 : b.title, F = h(b.properties || {}, w, {}, p, g);
1706
- return { categoryId: O, categoryName: y, properties: F };
1704
+ return k && k.categories ? Object.keys(k.categories).map((M) => {
1705
+ const b = k.categories[M], y = b == null ? void 0 : b.title, x = h(b.properties || {}, w, {}, p, g);
1706
+ return { categoryId: M, categoryName: y, properties: x };
1707
1707
  }) : [];
1708
1708
  }
1709
1709
  function r(d, g, p, w, k = "") {
1710
- const B = g.$ref.schema, O = g.$ref.converter, b = p[B], y = b.type, F = n(b), M = {}, I = e[y];
1710
+ const B = g.$ref.schema, M = g.$ref.converter, b = p[B], y = b.type, x = n(b), E = {}, I = e[y];
1711
1711
  if (I && I.categories) {
1712
- const R = I.categories[d], x = R == null ? void 0 : R.title;
1713
- O && Object.keys(R.properties).forEach((E) => {
1714
- R.properties[E].$converter = O;
1712
+ const R = I.categories[d], O = R == null ? void 0 : R.title;
1713
+ M && Object.keys(R.properties).forEach((T) => {
1714
+ R.properties[T].$converter = M;
1715
1715
  });
1716
- const T = (R == null ? void 0 : R.properties) || {}, S = h(T, M, F, b, w, k);
1717
- return { categoryId: d, categoryName: x, properties: S };
1716
+ const F = (R == null ? void 0 : R.properties) || {}, S = h(F, E, x, b, w, k);
1717
+ return { categoryId: d, categoryName: O, properties: S };
1718
1718
  }
1719
1719
  return { categoryId: d, categoryName: "", properties: [] };
1720
1720
  }
1721
1721
  function m(d, g, p, w, k) {
1722
- const B = d.type, O = n(d), b = {};
1722
+ const B = d.type, M = n(d), b = {};
1723
1723
  let y = k || e[B];
1724
1724
  if (y && Object.keys(y).length === 0 && p && p.getPropConfig && (y = p.getPropConfig(w)), y && y.categories) {
1725
- const F = [];
1726
- return Object.keys(y.categories).map((M) => {
1727
- const I = y.categories[M];
1725
+ const x = [];
1726
+ return Object.keys(y.categories).map((E) => {
1727
+ const I = y.categories[E];
1728
1728
  if (I.$ref) {
1729
- F.push(r(M, I, d, g, w));
1729
+ x.push(r(E, I, d, g, w));
1730
1730
  return;
1731
1731
  }
1732
- const R = I == null ? void 0 : I.title, x = I == null ? void 0 : I.tabId, T = I == null ? void 0 : I.tabName, S = I == null ? void 0 : I.hide, E = I == null ? void 0 : I.hideTitle, D = h(I.properties || {}, b, O, d, g, w, I.$converter), { setPropertyRelates: z } = I, Y = I == null ? void 0 : I.parentPropertyID;
1733
- F.push({ categoryId: M, categoryName: R, tabId: x, tabName: T, hide: S, properties: D, hideTitle: E, setPropertyRelates: z, parentPropertyID: Y });
1734
- }), F;
1732
+ const R = I == null ? void 0 : I.title, O = I == null ? void 0 : I.tabId, F = I == null ? void 0 : I.tabName, S = I == null ? void 0 : I.hide, T = I == null ? void 0 : I.hideTitle, P = h(I.properties || {}, b, M, d, g, w, I.$converter), { setPropertyRelates: V } = I, _ = I == null ? void 0 : I.parentPropertyID;
1733
+ x.push({ categoryId: E, categoryName: R, tabId: O, tabName: F, hide: S, properties: P, hideTitle: T, setPropertyRelates: V, parentPropertyID: _ });
1734
+ }), x;
1735
1735
  }
1736
1736
  return [];
1737
1737
  }
@@ -1818,9 +1818,9 @@ function Hn(e, t) {
1818
1818
  }
1819
1819
  return { getSchemaByType: l, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: s, mappingSchemaToProps: u, setDesignerContext: h };
1820
1820
  }
1821
- const Wn = {}, qn = {}, { resolveSchemaWithDefaultValue: Ol } = Hn(Wn, qn), Gn = {}, Un = {};
1821
+ const Wn = {}, qn = {}, { getSchemaByType: Sd, resolveSchemaWithDefaultValue: Ol, resolveSchemaToProps: xd, mappingSchemaToProps: Fd, setDesignerContext: Td } = Hn(Wn, qn), Gn = {}, Un = {};
1822
1822
  zn(Gn, Un, Ol);
1823
- const _n = {}, Yn = {}, { resolveSchemaWithDefaultValue: Ml, resolveSchemaToProps: El, mappingSchemaToProps: Dl } = Hn(_n, Yn), Xn = {}, Jn = {};
1823
+ const _n = {}, Yn = {}, { getSchemaByType: Bd, resolveSchemaWithDefaultValue: Ml, resolveSchemaToProps: El, mappingSchemaToProps: Dl, setDesignerContext: Od } = Hn(_n, Yn), Xn = {}, Jn = {};
1824
1824
  zn(Xn, Jn, Ml);
1825
1825
  function Ve(e, t, n = /* @__PURE__ */ new Map(), a = (i, u, s, c) => u, o = {}, l = (i) => i) {
1826
1826
  return _n[t.title] = t, Yn[t.title] = a, Xn[t.title] = o, Jn[t.title] = l, Wn[t.title] = t, qn[t.title] = a, Gn[t.title] = o, Un[t.title] = l, (i = {}, u = !0) => {
@@ -1954,10 +1954,10 @@ const dt = class dt {
1954
1954
  */
1955
1955
  static getEditorTypesByMDataType(t, n = !1, a = "") {
1956
1956
  if (n)
1957
- return [{ key: V["language-textbox"].type, value: V["language-textbox"].name }];
1957
+ return [{ key: A["language-textbox"].type, value: A["language-textbox"].name }];
1958
1958
  let o = dt.fieldControlTypeMapping[t];
1959
1959
  if (a === "data-grid-column" && (o != null && o.length)) {
1960
- const l = [V["check-group"].type, V["radio-group"].type];
1960
+ const l = [A["check-group"].type, A["radio-group"].type];
1961
1961
  o = o.filter((i) => !l.includes(i.key));
1962
1962
  }
1963
1963
  return o;
@@ -1980,7 +1980,7 @@ const dt = class dt {
1980
1980
  static mappingDomPropAndSchemaProp(t, n) {
1981
1981
  var l;
1982
1982
  const a = (l = t.editor) == null ? void 0 : l.type, o = [];
1983
- return (t.type === V["data-grid-column"].type || t.type === V["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && o.push({ domField: "title", schemaField: "name" }), o.push({ domField: "label", schemaField: "name" }), o.push({ domField: "editor.required", schemaField: "require" }), o.push({ domField: "editor.readonly", schemaField: "readonly" }), (a === V["input-group"].type || a === V.textarea.type || a === V["number-spinner"].type) && o.push({ domField: "editor.maxLength", schemaField: "type.length" }), a === V["number-spinner"].type && o.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === V["data-grid-column"].type || t.type === V["tree-grid-column"].type) && o.push({ domField: "formatter.precision", schemaField: "type.precision" }), (a === V["combo-list"].type || a === V["radio-group"].type) && o.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === V["data-grid-column"].type || t.type === V["tree-grid-column"].type) && o.push({ domField: "formatter.data", schemaField: "type.enumValues" }), a === V["date-picker"].type && (o.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), o.push({ domField: "editor.fieldType", schemaField: "type.name" })), a === V["number-spinner"].type && (o.push({ domField: "editor.max", schemaField: "editor.maxValue" }), o.push({ domField: "editor.min", schemaField: "editor.minValue" })), a === V.lookup.type && (o.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), o.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), o.push({ domField: "editor.textField", schemaField: "editor.textField" }), o.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), o.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), o.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), o.push({ domField: "path", schemaField: "bindingPath" }), o.push({ domField: "binding.path", schemaField: "bindingField" }), o.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === V["data-grid-column"].type || t.type === V["tree-grid-column"].type) && o.push({ domField: "field", schemaField: "bindingPath" }), o;
1983
+ return (t.type === A["data-grid-column"].type || t.type === A["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && o.push({ domField: "title", schemaField: "name" }), o.push({ domField: "label", schemaField: "name" }), o.push({ domField: "editor.required", schemaField: "require" }), o.push({ domField: "editor.readonly", schemaField: "readonly" }), (a === A["input-group"].type || a === A.textarea.type || a === A["number-spinner"].type) && o.push({ domField: "editor.maxLength", schemaField: "type.length" }), a === A["number-spinner"].type && o.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === A["data-grid-column"].type || t.type === A["tree-grid-column"].type) && o.push({ domField: "formatter.precision", schemaField: "type.precision" }), (a === A["combo-list"].type || a === A["radio-group"].type) && o.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === A["data-grid-column"].type || t.type === A["tree-grid-column"].type) && o.push({ domField: "formatter.data", schemaField: "type.enumValues" }), a === A["date-picker"].type && (o.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), o.push({ domField: "editor.fieldType", schemaField: "type.name" })), a === A["number-spinner"].type && (o.push({ domField: "editor.max", schemaField: "editor.maxValue" }), o.push({ domField: "editor.min", schemaField: "editor.minValue" })), a === A.lookup.type && (o.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), o.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), o.push({ domField: "editor.textField", schemaField: "editor.textField" }), o.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), o.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), o.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), o.push({ domField: "path", schemaField: "bindingPath" }), o.push({ domField: "binding.path", schemaField: "bindingField" }), o.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === A["data-grid-column"].type || t.type === A["tree-grid-column"].type) && o.push({ domField: "field", schemaField: "bindingPath" }), o;
1984
1984
  }
1985
1985
  };
1986
1986
  /**
@@ -1988,53 +1988,53 @@ const dt = class dt {
1988
1988
  */
1989
1989
  we(dt, "fieldControlTypeMapping", {
1990
1990
  String: [
1991
- { key: V["input-group"].type, value: V["input-group"].name },
1992
- { key: V.lookup.type, value: V.lookup.name },
1993
- { key: V["date-picker"].type, value: V["date-picker"].name },
1994
- { key: V.switch.type, value: V.switch.name },
1995
- { key: V["check-box"].type, value: V["check-box"].name },
1996
- { key: V["check-group"].type, value: V["check-group"].name },
1997
- { key: V["radio-group"].type, value: V["radio-group"].name },
1998
- { key: V["combo-list"].type, value: V["combo-list"].name },
1999
- { key: V.textarea.type, value: V.textarea.name },
2000
- { key: V["time-picker"].type, value: V["time-picker"].name }
1991
+ { key: A["input-group"].type, value: A["input-group"].name },
1992
+ { key: A.lookup.type, value: A.lookup.name },
1993
+ { key: A["date-picker"].type, value: A["date-picker"].name },
1994
+ { key: A.switch.type, value: A.switch.name },
1995
+ { key: A["check-box"].type, value: A["check-box"].name },
1996
+ { key: A["check-group"].type, value: A["check-group"].name },
1997
+ { key: A["radio-group"].type, value: A["radio-group"].name },
1998
+ { key: A["combo-list"].type, value: A["combo-list"].name },
1999
+ { key: A.textarea.type, value: A.textarea.name },
2000
+ { key: A["time-picker"].type, value: A["time-picker"].name }
2001
2001
  ],
2002
2002
  Text: [
2003
- { key: V.textarea.type, value: V.textarea.name },
2004
- { key: V.lookup.type, value: V.lookup.name }
2003
+ { key: A.textarea.type, value: A.textarea.name },
2004
+ { key: A.lookup.type, value: A.lookup.name }
2005
2005
  ],
2006
2006
  Decimal: [
2007
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
2007
+ { key: A["number-spinner"].type, value: A["number-spinner"].name }
2008
2008
  ],
2009
2009
  Integer: [
2010
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
2010
+ { key: A["number-spinner"].type, value: A["number-spinner"].name }
2011
2011
  ],
2012
2012
  Number: [
2013
- { key: V["number-spinner"].type, value: V["number-spinner"].name },
2014
- { key: V.switch.type, value: V.switch.name },
2015
- { key: V["check-box"].type, value: V["check-box"].name }
2013
+ { key: A["number-spinner"].type, value: A["number-spinner"].name },
2014
+ { key: A.switch.type, value: A.switch.name },
2015
+ { key: A["check-box"].type, value: A["check-box"].name }
2016
2016
  ],
2017
2017
  BigNumber: [
2018
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
2018
+ { key: A["number-spinner"].type, value: A["number-spinner"].name }
2019
2019
  ],
2020
2020
  Date: [
2021
- { key: V["date-picker"].type, value: V["date-picker"].name }
2021
+ { key: A["date-picker"].type, value: A["date-picker"].name }
2022
2022
  ],
2023
2023
  DateTime: [
2024
- { key: V["date-picker"].type, value: V["date-picker"].name }
2024
+ { key: A["date-picker"].type, value: A["date-picker"].name }
2025
2025
  ],
2026
2026
  Boolean: [
2027
- { key: V.switch.type, value: V.switch.name },
2028
- { key: V["check-box"].type, value: V["check-box"].name }
2027
+ { key: A.switch.type, value: A.switch.name },
2028
+ { key: A["check-box"].type, value: A["check-box"].name }
2029
2029
  ],
2030
2030
  Enum: [
2031
- { key: V["combo-list"].type, value: V["combo-list"].name },
2032
- { key: V["radio-group"].type, value: V["radio-group"].name }
2031
+ { key: A["combo-list"].type, value: A["combo-list"].name },
2032
+ { key: A["radio-group"].type, value: A["radio-group"].name }
2033
2033
  ],
2034
2034
  Object: [
2035
- { key: V.lookup.type, value: V.lookup.name },
2036
- { key: V["combo-list"].type, value: V["combo-list"].name },
2037
- { key: V["radio-group"].type, value: V["radio-group"].name }
2035
+ { key: A.lookup.type, value: A.lookup.name },
2036
+ { key: A["combo-list"].type, value: A["combo-list"].name },
2037
+ { key: A["radio-group"].type, value: A["radio-group"].name }
2038
2038
  ]
2039
2039
  });
2040
2040
  let gn = dt;
@@ -2092,239 +2092,239 @@ var zl = { exports: {} };
2092
2092
  2: [function(n, a, o) {
2093
2093
  (function(l) {
2094
2094
  var i = n("contra/emitter"), u = n("crossvent"), s = n("./classes"), c = document, h = c.documentElement;
2095
- function f(x, T) {
2095
+ function f(O, F) {
2096
2096
  var S = arguments.length;
2097
- S === 1 && Array.isArray(x) === !1 && (T = x, x = []);
2098
- var E, D, z, Y, $, j, G, W, ee, ce = null, ve, X, le = !1, de = 0, ne, U = T || {};
2099
- U.moves === void 0 && (U.moves = k), U.accepts === void 0 && (U.accepts = k), U.invalid === void 0 && (U.invalid = mt), U.containers === void 0 && (U.containers = x || []), U.isContainer === void 0 && (U.isContainer = w), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = c.body);
2097
+ S === 1 && Array.isArray(O) === !1 && (F = O, O = []);
2098
+ var T, P, V, _, L, j, G, W, ee, ce = null, ve, X, le = !1, de = 0, ne, U = F || {};
2099
+ U.moves === void 0 && (U.moves = k), U.accepts === void 0 && (U.accepts = k), U.invalid === void 0 && (U.invalid = mt), U.containers === void 0 && (U.containers = O || []), U.isContainer === void 0 && (U.isContainer = w), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = c.body);
2100
2100
  var ae = i({
2101
2101
  containers: U.containers,
2102
2102
  start: Oe,
2103
2103
  end: Qe,
2104
- cancel: L,
2104
+ cancel: $,
2105
2105
  remove: ut,
2106
2106
  destroy: Je,
2107
2107
  canMove: ze,
2108
2108
  dragging: !1
2109
2109
  });
2110
2110
  return U.removeOnSpill === !0 && ae.on("over", $t).on("out", At), $e(), ae;
2111
- function Xe(P) {
2112
- return ae.containers.indexOf(P) !== -1 || U.isContainer(P);
2111
+ function Xe(D) {
2112
+ return ae.containers.indexOf(D) !== -1 || U.isContainer(D);
2113
2113
  }
2114
- function $e(P) {
2115
- var A = P ? "remove" : "add";
2116
- d(h, A, "mousedown", se), d(h, A, "mouseup", We);
2114
+ function $e(D) {
2115
+ var z = D ? "remove" : "add";
2116
+ d(h, z, "mousedown", se), d(h, z, "mouseup", We);
2117
2117
  }
2118
- function Be(P) {
2119
- var A = P ? "remove" : "add";
2120
- d(h, A, "mousemove", pt);
2118
+ function Be(D) {
2119
+ var z = D ? "remove" : "add";
2120
+ d(h, z, "mousemove", pt);
2121
2121
  }
2122
- function it(P) {
2123
- var A = P ? "remove" : "add";
2124
- u[A](h, "selectstart", rt), u[A](h, "click", rt);
2122
+ function it(D) {
2123
+ var z = D ? "remove" : "add";
2124
+ u[z](h, "selectstart", rt), u[z](h, "click", rt);
2125
2125
  }
2126
2126
  function Je() {
2127
2127
  $e(!0), We({});
2128
2128
  }
2129
- function rt(P) {
2130
- ve && P.preventDefault();
2129
+ function rt(D) {
2130
+ ve && D.preventDefault();
2131
2131
  }
2132
- function se(P) {
2133
- Y = P.clientX, $ = P.clientY;
2134
- var A = g(P) !== 1 || P.metaKey || P.ctrlKey;
2135
- if (!A) {
2136
- var H = P.target, _ = Ae(H);
2137
- _ && (ve = _, Be(), P.type === "mousedown" && (y(H) ? H.focus() : P.preventDefault()));
2132
+ function se(D) {
2133
+ _ = D.clientX, L = D.clientY;
2134
+ var z = g(D) !== 1 || D.metaKey || D.ctrlKey;
2135
+ if (!z) {
2136
+ var H = D.target, Y = Ae(H);
2137
+ Y && (ve = Y, Be(), D.type === "mousedown" && (y(H) ? H.focus() : D.preventDefault()));
2138
2138
  }
2139
2139
  }
2140
- function pt(P) {
2140
+ function pt(D) {
2141
2141
  if (ve) {
2142
- if (g(P) === 0) {
2142
+ if (g(D) === 0) {
2143
2143
  We({});
2144
2144
  return;
2145
2145
  }
2146
- if (!(P.clientX !== void 0 && Math.abs(P.clientX - Y) <= (U.slideFactorX || 0) && P.clientY !== void 0 && Math.abs(P.clientY - $) <= (U.slideFactorY || 0))) {
2146
+ if (!(D.clientX !== void 0 && Math.abs(D.clientX - _) <= (U.slideFactorX || 0) && D.clientY !== void 0 && Math.abs(D.clientY - L) <= (U.slideFactorY || 0))) {
2147
2147
  if (U.ignoreInputTextSelection) {
2148
- var A = R("clientX", P) || 0, H = R("clientY", P) || 0, _ = c.elementFromPoint(A, H);
2149
- if (y(_))
2148
+ var z = R("clientX", D) || 0, H = R("clientY", D) || 0, Y = c.elementFromPoint(z, H);
2149
+ if (y(Y))
2150
2150
  return;
2151
2151
  }
2152
2152
  var K = ve;
2153
- Be(!0), it(), Qe(), He(K), s.add(W || z, "gu-transit"), Ht(), zt(), de = 0, Ne(P);
2153
+ Be(!0), it(), Qe(), He(K), s.add(W || V, "gu-transit"), Ht(), zt(), de = 0, Ne(D);
2154
2154
  }
2155
2155
  }
2156
2156
  }
2157
- function Ae(P) {
2158
- if (!(ae.dragging && E) && !Xe(P)) {
2159
- for (var A = P; b(P) && Xe(b(P)) === !1; )
2160
- if (U.invalid(P, A) || (P = b(P), !P))
2157
+ function Ae(D) {
2158
+ if (!(ae.dragging && T) && !Xe(D)) {
2159
+ for (var z = D; b(D) && Xe(b(D)) === !1; )
2160
+ if (U.invalid(D, z) || (D = b(D), !D))
2161
2161
  return;
2162
- var H = b(P);
2163
- if (H && !U.invalid(P, A)) {
2164
- var _ = U.moves(P, H, A, M(P));
2165
- if (_)
2162
+ var H = b(D);
2163
+ if (H && !U.invalid(D, z)) {
2164
+ var Y = U.moves(D, H, z, E(D));
2165
+ if (Y)
2166
2166
  return {
2167
- item: P,
2167
+ item: D,
2168
2168
  source: H
2169
2169
  };
2170
2170
  }
2171
2171
  }
2172
2172
  }
2173
- function ze(P) {
2174
- return !!Ae(P);
2173
+ function ze(D) {
2174
+ return !!Ae(D);
2175
2175
  }
2176
- function Oe(P) {
2177
- var A = Ae(P);
2178
- A && He(A);
2176
+ function Oe(D) {
2177
+ var z = Ae(D);
2178
+ z && He(z);
2179
2179
  }
2180
- function He(P) {
2181
- Xt(P.item, P.source) && (W = P.item.cloneNode(!0), ae.emit("cloned", W, P.item, "copy")), D = P.source, z = P.item, j = G = M(P.item), ae.dragging = !0, ae.emit("drag", z, D);
2180
+ function He(D) {
2181
+ Xt(D.item, D.source) && (W = D.item.cloneNode(!0), ae.emit("cloned", W, D.item, "copy")), P = D.source, V = D.item, j = G = E(D.item), ae.dragging = !0, ae.emit("drag", V, P);
2182
2182
  }
2183
2183
  function mt() {
2184
2184
  return !1;
2185
2185
  }
2186
2186
  function Qe() {
2187
2187
  if (ae.dragging) {
2188
- var P = W || z;
2189
- st(P, b(P));
2188
+ var D = W || V;
2189
+ st(D, b(D));
2190
2190
  }
2191
2191
  }
2192
2192
  function Pe() {
2193
2193
  ve = !1, Be(!0), it(!0);
2194
2194
  }
2195
- function We(P) {
2195
+ function We(D) {
2196
2196
  if (Pe(), !!ae.dragging) {
2197
- var A = W || z, H = R("clientX", P) || 0, _ = R("clientY", P) || 0, K = p(E, H, _), te = fe(K, H, _);
2198
- te && (W && U.copySortSource || !W || te !== D) ? st(A, te) : U.removeOnSpill ? ut() : L();
2197
+ var z = W || V, H = R("clientX", D) || 0, Y = R("clientY", D) || 0, K = p(T, H, Y), te = fe(K, H, Y);
2198
+ te && (W && U.copySortSource || !W || te !== P) ? st(z, te) : U.removeOnSpill ? ut() : $();
2199
2199
  }
2200
2200
  }
2201
- function st(P, A) {
2202
- var H = b(P);
2203
- W && U.copySortSource && A === D && H.removeChild(z), ue(A) ? ae.emit("cancel", P, D) : ae.emit("drop", P, A, D, G), Q();
2201
+ function st(D, z) {
2202
+ var H = b(D);
2203
+ W && U.copySortSource && z === P && H.removeChild(V), ue(z) ? ae.emit("cancel", D, P) : ae.emit("drop", D, z, P, G), Q();
2204
2204
  }
2205
2205
  function ut() {
2206
2206
  if (ae.dragging) {
2207
- var P = W || z, A = b(P);
2208
- A && A.removeChild(P), ae.emit(W ? "cancel" : "remove", P, A, D), Q();
2207
+ var D = W || V, z = b(D);
2208
+ z && z.removeChild(D), ae.emit(W ? "cancel" : "remove", D, z, P), Q();
2209
2209
  }
2210
2210
  }
2211
- function L(P) {
2211
+ function $(D) {
2212
2212
  if (ae.dragging) {
2213
- var A = arguments.length > 0 ? P : U.revertOnSpill, H = W || z, _ = b(H), K = ue(_);
2214
- K === !1 && A && (W ? _ && _.removeChild(W) : D.insertBefore(H, j)), K || A ? ae.emit("cancel", H, D, D) : ae.emit("drop", H, _, D, G), Q();
2213
+ var z = arguments.length > 0 ? D : U.revertOnSpill, H = W || V, Y = b(H), K = ue(Y);
2214
+ K === !1 && z && (W ? Y && Y.removeChild(W) : P.insertBefore(H, j)), K || z ? ae.emit("cancel", H, P, P) : ae.emit("drop", H, Y, P, G), Q();
2215
2215
  }
2216
2216
  }
2217
2217
  function Q() {
2218
- var P = W || z;
2219
- Pe(), Wt(), qt(), P && s.rm(P, "gu-transit"), ee && clearTimeout(ee), ae.dragging = !1, ce && ae.emit("out", P, ce, D), ae.emit("dragend", P, de), D = z = W = j = G = ee = ce = null;
2218
+ var D = W || V;
2219
+ Pe(), Wt(), qt(), D && s.rm(D, "gu-transit"), ee && clearTimeout(ee), ae.dragging = !1, ce && ae.emit("out", D, ce, P), ae.emit("dragend", D, de), P = V = W = j = G = ee = ce = null;
2220
2220
  }
2221
- function ue(P, A) {
2221
+ function ue(D, z) {
2222
2222
  var H;
2223
- return A !== void 0 ? H = A : E ? H = G : H = M(W || z), P === D && H === j;
2223
+ return z !== void 0 ? H = z : T ? H = G : H = E(W || V), D === P && H === j;
2224
2224
  }
2225
- function fe(P, A, H) {
2226
- for (var _ = P; _ && !K(); )
2227
- _ = b(_);
2228
- return _;
2225
+ function fe(D, z, H) {
2226
+ for (var Y = D; Y && !K(); )
2227
+ Y = b(Y);
2228
+ return Y;
2229
2229
  function K() {
2230
- var te = Xe(_);
2230
+ var te = Xe(Y);
2231
2231
  if (te === !1)
2232
2232
  return !1;
2233
- var Te = Ft(_, P), Ce = Tt(_, Te, A, H), xe = ue(_, Ce);
2234
- return xe ? !0 : U.accepts(z, _, D, Ce);
2233
+ var Te = Ft(Y, D), Ce = Tt(Y, Te, z, H), Se = ue(Y, Ce);
2234
+ return Se ? !0 : U.accepts(V, Y, P, Ce);
2235
2235
  }
2236
2236
  }
2237
- function Ne(P) {
2238
- if (!E)
2237
+ function Ne(D) {
2238
+ if (!T)
2239
2239
  return;
2240
- P.preventDefault();
2241
- var A = R("clientX", P) || 0, H = R("clientY", P) || 0;
2242
- E.style.left = A - 2 + "px", E.style.top = H - 2 + "px";
2243
- var _ = W || z, K = p(E, A, H), te = fe(K, A, H), Te = te !== null && te !== ce;
2244
- (Te || te === null) && (Se(), ce = te, Ee()), Yt(K, H);
2245
- var Ce = b(_);
2246
- if (te === D && W && !U.copySortSource) {
2247
- Ce && Ce.removeChild(_);
2240
+ D.preventDefault();
2241
+ var z = R("clientX", D) || 0, H = R("clientY", D) || 0;
2242
+ T.style.left = z - 2 + "px", T.style.top = H - 2 + "px";
2243
+ var Y = W || V, K = p(T, z, H), te = fe(K, z, H), Te = te !== null && te !== ce;
2244
+ (Te || te === null) && (xe(), ce = te, Ee()), Yt(K, H);
2245
+ var Ce = b(Y);
2246
+ if (te === P && W && !U.copySortSource) {
2247
+ Ce && Ce.removeChild(Y);
2248
2248
  return;
2249
2249
  }
2250
- var xe, Me = Ft(te, K);
2250
+ var Se, Me = Ft(te, K);
2251
2251
  if (le = yt(Me, te), Me !== null)
2252
- xe = Tt(te, Me, A, H);
2252
+ Se = Tt(te, Me, z, H);
2253
2253
  else if (U.revertOnSpill === !0 && !W)
2254
- xe = j, te = D;
2254
+ Se = j, te = P;
2255
2255
  else {
2256
- W && Ce && Ce.removeChild(_), W && X && (X.style.display = "none");
2256
+ W && Ce && Ce.removeChild(Y), W && X && (X.style.display = "none");
2257
2257
  return;
2258
2258
  }
2259
- X.style.display = "block", Vt(xe, _, Te), xe ? Ut(Me, xe) : _t(te);
2259
+ X.style.display = "block", Vt(Se, Y, Te), Se ? Ut(Me, Se) : _t(te);
2260
2260
  function pe(he) {
2261
- ae.emit(he, _, ce, D);
2261
+ ae.emit(he, Y, ce, P);
2262
2262
  }
2263
2263
  function Ee() {
2264
2264
  Te && pe("over");
2265
2265
  }
2266
- function Se() {
2266
+ function xe() {
2267
2267
  ce && pe("out");
2268
2268
  }
2269
2269
  }
2270
- function Vt(P, A, H) {
2271
- (P === A || P === M(A)) && (G = M(A)), (P === null && H || P !== A && P !== M(A)) && (G = P);
2270
+ function Vt(D, z, H) {
2271
+ (D === z || D === E(z)) && (G = E(z)), (D === null && H || D !== z && D !== E(z)) && (G = D);
2272
2272
  }
2273
- function $t(P) {
2274
- s.rm(P, "gu-hide");
2273
+ function $t(D) {
2274
+ s.rm(D, "gu-hide");
2275
2275
  }
2276
- function At(P) {
2277
- ae.dragging && s.add(P, "gu-hide");
2276
+ function At(D) {
2277
+ ae.dragging && s.add(D, "gu-hide");
2278
2278
  }
2279
2279
  function zt() {
2280
- E || (E = document.createElement("div"), E.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;", E.innerHTML = U.getMirrorText && U.getMirrorText(z) || "控件", s.add(E, "gu-mirror"), U.mirrorContainer.appendChild(E), d(h, "add", "mousemove", Ne), s.add(U.mirrorContainer, "gu-unselectable"), ae.emit("cloned", E, z, "mirror"));
2280
+ T || (T = document.createElement("div"), T.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;", T.innerHTML = U.getMirrorText && U.getMirrorText(V) || "控件", s.add(T, "gu-mirror"), U.mirrorContainer.appendChild(T), d(h, "add", "mousemove", Ne), s.add(U.mirrorContainer, "gu-unselectable"), ae.emit("cloned", T, V, "mirror"));
2281
2281
  }
2282
2282
  function Ht() {
2283
- if (X = document.createElement("div"), s.add(X, "gu-insertion"), z) {
2284
- var P = z.getBoundingClientRect();
2285
- X.style.left = P.left + "px", X.style.top = P.top + "px";
2283
+ if (X = document.createElement("div"), s.add(X, "gu-insertion"), V) {
2284
+ var D = V.getBoundingClientRect();
2285
+ X.style.left = D.left + "px", X.style.top = D.top + "px";
2286
2286
  }
2287
2287
  le = !1, U.mirrorContainer.appendChild(X);
2288
2288
  }
2289
2289
  function Wt() {
2290
- E && (s.rm(U.mirrorContainer, "gu-unselectable"), d(h, "remove", "mousemove", Ne), b(E).removeChild(E), E = null);
2290
+ T && (s.rm(U.mirrorContainer, "gu-unselectable"), d(h, "remove", "mousemove", Ne), b(T).removeChild(T), T = null);
2291
2291
  }
2292
2292
  function qt() {
2293
2293
  X && (b(X).removeChild(X), X = null);
2294
2294
  }
2295
- function Ft(P, A) {
2296
- for (var H = A; H !== P && b(H) !== P; )
2295
+ function Ft(D, z) {
2296
+ for (var H = z; H !== D && b(H) !== D; )
2297
2297
  H = b(H);
2298
2298
  return H === h ? null : H;
2299
2299
  }
2300
- function yt(P, A) {
2301
- if (!A)
2300
+ function yt(D, z) {
2301
+ if (!z)
2302
2302
  return le;
2303
- var H = P || A && A.lastElementChild;
2303
+ var H = D || z && z.lastElementChild;
2304
2304
  if (!H)
2305
2305
  return !0;
2306
- var _ = getComputedStyle(P), K = /^inline/.test(_.getPropertyValue("display")) || /^(left|right)$/.test(_.getPropertyValue("float"));
2306
+ var Y = getComputedStyle(D), K = /^inline/.test(Y.getPropertyValue("display")) || /^(left|right)$/.test(Y.getPropertyValue("float"));
2307
2307
  if (K)
2308
2308
  return !0;
2309
- if (A) {
2310
- var te = getComputedStyle(A), Te = te.getPropertyValue("display");
2309
+ if (z) {
2310
+ var te = getComputedStyle(z), Te = te.getPropertyValue("display");
2311
2311
  if (/flex$/.test(Te)) {
2312
2312
  var Ce = te.getPropertyValue("flex-direction") || "row";
2313
2313
  if (Ce === "row" || Ce === "row-reverse")
2314
- return !Gt(A);
2314
+ return !Gt(z);
2315
2315
  }
2316
2316
  return !1;
2317
2317
  }
2318
2318
  return !0;
2319
2319
  }
2320
- function Gt(P) {
2321
- if (!P.children || !P.children.length)
2320
+ function Gt(D) {
2321
+ if (!D.children || !D.children.length)
2322
2322
  return !1;
2323
- for (const A of Array.from(P.children)) {
2324
- const _ = (A.className && A.className.split(" ") || []).filter((K) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(K));
2325
- if (!_.length)
2323
+ for (const z of Array.from(D.children)) {
2324
+ const Y = (z.className && z.className.split(" ") || []).filter((K) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(K));
2325
+ if (!Y.length)
2326
2326
  return !1;
2327
- for (const K of _) {
2327
+ for (const K of Y) {
2328
2328
  const te = K.slice(K.lastIndexOf("-") + 1);
2329
2329
  if (parseInt(te, 10) !== 12)
2330
2330
  return !1;
@@ -2332,118 +2332,118 @@ var zl = { exports: {} };
2332
2332
  }
2333
2333
  return !0;
2334
2334
  }
2335
- function Ut(P, A) {
2336
- const H = A.getBoundingClientRect();
2335
+ function Ut(D, z) {
2336
+ const H = z.getBoundingClientRect();
2337
2337
  if (X.style.left = H.left + "px", X.style.top = H.top + "px", le) {
2338
- if (X.style.height = H.height + "px", X.style.width = "4px", P) {
2339
- const _ = P.getBoundingClientRect();
2340
- _.top !== H.top && (X.style.left = _.right + "px", X.style.top = _.top + "px", X.style.height = _.height + "px");
2338
+ if (X.style.height = H.height + "px", X.style.width = "4px", D) {
2339
+ const Y = D.getBoundingClientRect();
2340
+ Y.top !== H.top && (X.style.left = Y.right + "px", X.style.top = Y.top + "px", X.style.height = Y.height + "px");
2341
2341
  }
2342
2342
  } else if (X.style.height = "4px", X.style.width = H.width + "px", ne) {
2343
- const _ = ne.getBoundingClientRect();
2344
- H.top < _.top && (X.style.display = "none");
2343
+ const Y = ne.getBoundingClientRect();
2344
+ H.top < Y.top && (X.style.display = "none");
2345
2345
  }
2346
- A === z && z && (X.style.display = "none");
2346
+ z === V && V && (X.style.display = "none");
2347
2347
  }
2348
- function _t(P) {
2348
+ function _t(D) {
2349
2349
  G = null;
2350
- var A = P.lastElementChild;
2351
- if (A) {
2352
- var H = A.getBoundingClientRect();
2353
- le ? (X.style.left = H.right + "px", X.style.top = H.top + "px", X.style.height = H.height + "px", X.style.width = "4px") : (X.style.left = H.left + "px", X.style.top = H.bottom + "px", X.style.height = "4px", X.style.width = H.width + "px"), A === z && z && (X.style.display = "none");
2350
+ var z = D.lastElementChild;
2351
+ if (z) {
2352
+ var H = z.getBoundingClientRect();
2353
+ le ? (X.style.left = H.right + "px", X.style.top = H.top + "px", X.style.height = H.height + "px", X.style.width = "4px") : (X.style.left = H.left + "px", X.style.top = H.bottom + "px", X.style.height = "4px", X.style.width = H.width + "px"), z === V && V && (X.style.display = "none");
2354
2354
  } else
2355
2355
  X.style.display = "none";
2356
2356
  }
2357
- function Yt(P, A) {
2358
- if (!U.mirrorContainer.contains(P) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ne = r(P), !ne || !ne.contains(P)))
2357
+ function Yt(D, z) {
2358
+ if (!U.mirrorContainer.contains(D) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ne = r(D), !ne || !ne.contains(D)))
2359
2359
  return;
2360
- const H = document.querySelector(".dgComponentSelected"), _ = ne.getBoundingClientRect();
2361
- if (A - 30 < _.top && ne.scrollTop > 0) {
2360
+ const H = document.querySelector(".dgComponentSelected"), Y = ne.getBoundingClientRect();
2361
+ if (z - 30 < Y.top && ne.scrollTop > 0) {
2362
2362
  let K = ne.scrollTop < 10 ? ne.scrollTop : 10;
2363
2363
  ne.scrollBy(0, -1 * K), H && ne.contains(H) && (de = de + -1 * K);
2364
2364
  }
2365
- if (A + 30 > _.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2365
+ if (z + 30 > Y.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2366
2366
  const K = ne.scrollHeight - ne.clientHeight - ne.scrollTop;
2367
2367
  let te = K < 10 ? K : 10;
2368
2368
  ne.scrollBy(0, te), H && ne.contains(H) && (de = de + te);
2369
2369
  }
2370
2370
  }
2371
- function Tt(P, A, H, _) {
2372
- var K = U.direction === "horizontal", te = U.direction === "mixed", Te = A !== P ? xe() : Ce();
2371
+ function Tt(D, z, H, Y) {
2372
+ var K = U.direction === "horizontal", te = U.direction === "mixed", Te = z !== D ? Se() : Ce();
2373
2373
  return Te;
2374
2374
  function Ce() {
2375
- var pe = P.children.length, Ee, Se, he;
2375
+ var pe = D.children.length, Ee, xe, he;
2376
2376
  for (Ee = 0; Ee < pe; Ee++)
2377
- if (Se = P.children[Ee], he = Se.getBoundingClientRect(), K && he.left + he.width / 2 > H || !te && !K && he.top + he.height / 2 > _ || te && he.left + he.width > H && he.top + he.height > _)
2378
- return Se;
2377
+ if (xe = D.children[Ee], he = xe.getBoundingClientRect(), K && he.left + he.width / 2 > H || !te && !K && he.top + he.height / 2 > Y || te && he.left + he.width > H && he.top + he.height > Y)
2378
+ return xe;
2379
2379
  return null;
2380
2380
  }
2381
- function xe() {
2382
- var pe = A.getBoundingClientRect();
2381
+ function Se() {
2382
+ var pe = z.getBoundingClientRect();
2383
2383
  if (te) {
2384
- var Ee = _ - pe.top, Se = H - pe.left, he = pe.bottom - _, vt = pe.right - H, ht = Math.min(Se, vt, Ee, he), gt;
2385
- return le ? gt = vt < Se : gt = he === ht || vt === ht || Se === ht, Me(gt);
2384
+ var Ee = Y - pe.top, xe = H - pe.left, he = pe.bottom - Y, vt = pe.right - H, ht = Math.min(xe, vt, Ee, he), gt;
2385
+ return le ? gt = vt < xe : gt = he === ht || vt === ht || xe === ht, Me(gt);
2386
2386
  }
2387
- return Me(K ? H > pe.left + B(pe) / 2 : _ > pe.top + O(pe) / 2);
2387
+ return Me(K ? H > pe.left + B(pe) / 2 : Y > pe.top + M(pe) / 2);
2388
2388
  }
2389
2389
  function Me(pe) {
2390
- return pe ? M(A) : A;
2390
+ return pe ? E(z) : z;
2391
2391
  }
2392
2392
  }
2393
- function Xt(P, A) {
2394
- return typeof U.copy == "boolean" ? U.copy : U.copy(P, A);
2393
+ function Xt(D, z) {
2394
+ return typeof U.copy == "boolean" ? U.copy : U.copy(D, z);
2395
2395
  }
2396
2396
  }
2397
- function r(x) {
2398
- const T = Array.from(window.scrollContainerList);
2399
- if (T.length === 1) {
2400
- const E = Array.from(window.scrollContainerList)[0];
2401
- return document.getElementById(E);
2397
+ function r(O) {
2398
+ const F = Array.from(window.scrollContainerList);
2399
+ if (F.length === 1) {
2400
+ const T = Array.from(window.scrollContainerList)[0];
2401
+ return document.getElementById(T);
2402
2402
  }
2403
- const S = m(T);
2404
- for (const E of S)
2405
- if (E.contains(x))
2406
- return E;
2403
+ const S = m(F);
2404
+ for (const T of S)
2405
+ if (T.contains(O))
2406
+ return T;
2407
2407
  return null;
2408
2408
  }
2409
- function m(x) {
2410
- const T = [];
2411
- return x.forEach((S) => {
2412
- const E = document.getElementById(S);
2413
- E && T.push(E);
2414
- }), T.sort((S, E) => S.contains(E) ? 1 : E.contains(S) ? -1 : 0), T;
2409
+ function m(O) {
2410
+ const F = [];
2411
+ return O.forEach((S) => {
2412
+ const T = document.getElementById(S);
2413
+ T && F.push(T);
2414
+ }), F.sort((S, T) => S.contains(T) ? 1 : T.contains(S) ? -1 : 0), F;
2415
2415
  }
2416
- function d(x, T, S, E) {
2417
- var D = {
2416
+ function d(O, F, S, T) {
2417
+ var P = {
2418
2418
  mouseup: "touchend",
2419
2419
  mousedown: "touchstart",
2420
2420
  mousemove: "touchmove"
2421
- }, z = {
2421
+ }, V = {
2422
2422
  mouseup: "pointerup",
2423
2423
  mousedown: "pointerdown",
2424
2424
  mousemove: "pointermove"
2425
- }, Y = {
2425
+ }, _ = {
2426
2426
  mouseup: "MSPointerUp",
2427
2427
  mousedown: "MSPointerDown",
2428
2428
  mousemove: "MSPointerMove"
2429
2429
  };
2430
- l.navigator.pointerEnabled ? u[T](x, z[S], E) : l.navigator.msPointerEnabled ? u[T](x, Y[S], E) : (u[T](x, D[S], E), u[T](x, S, E));
2430
+ l.navigator.pointerEnabled ? u[F](O, V[S], T) : l.navigator.msPointerEnabled ? u[F](O, _[S], T) : (u[F](O, P[S], T), u[F](O, S, T));
2431
2431
  }
2432
- function g(x) {
2433
- if (x.touches !== void 0)
2434
- return x.touches.length;
2435
- if (x.which !== void 0 && x.which !== 0)
2436
- return x.which;
2437
- if (x.buttons !== void 0)
2438
- return x.buttons;
2439
- var T = x.button;
2440
- if (T !== void 0)
2441
- return T & 1 ? 1 : T & 2 ? 3 : T & 4 ? 2 : 0;
2432
+ function g(O) {
2433
+ if (O.touches !== void 0)
2434
+ return O.touches.length;
2435
+ if (O.which !== void 0 && O.which !== 0)
2436
+ return O.which;
2437
+ if (O.buttons !== void 0)
2438
+ return O.buttons;
2439
+ var F = O.button;
2440
+ if (F !== void 0)
2441
+ return F & 1 ? 1 : F & 2 ? 3 : F & 4 ? 2 : 0;
2442
2442
  }
2443
- function p(x, T, S) {
2444
- x = x || {};
2445
- var E = x.className || "", D;
2446
- return x.className += " gu-hide", D = c.elementFromPoint(T, S), x.className = E, D;
2443
+ function p(O, F, S) {
2444
+ O = O || {};
2445
+ var T = O.className || "", P;
2446
+ return O.className += " gu-hide", P = c.elementFromPoint(F, S), O.className = T, P;
2447
2447
  }
2448
2448
  function w() {
2449
2449
  return !1;
@@ -2451,42 +2451,42 @@ var zl = { exports: {} };
2451
2451
  function k() {
2452
2452
  return !0;
2453
2453
  }
2454
- function B(x) {
2455
- return x.width || x.right - x.left;
2454
+ function B(O) {
2455
+ return O.width || O.right - O.left;
2456
2456
  }
2457
- function O(x) {
2458
- return x.height || x.bottom - x.top;
2457
+ function M(O) {
2458
+ return O.height || O.bottom - O.top;
2459
2459
  }
2460
- function b(x) {
2461
- return x.parentNode === c ? null : x.parentNode;
2460
+ function b(O) {
2461
+ return O.parentNode === c ? null : O.parentNode;
2462
2462
  }
2463
- function y(x) {
2464
- return x.tagName === "INPUT" || x.tagName === "TEXTAREA" || x.tagName === "SELECT" || F(x);
2463
+ function y(O) {
2464
+ return O.tagName === "INPUT" || O.tagName === "TEXTAREA" || O.tagName === "SELECT" || x(O);
2465
2465
  }
2466
- function F(x) {
2467
- return !x || x.contentEditable === "false" ? !1 : x.contentEditable === "true" ? !0 : F(b(x));
2466
+ function x(O) {
2467
+ return !O || O.contentEditable === "false" ? !1 : O.contentEditable === "true" ? !0 : x(b(O));
2468
2468
  }
2469
- function M(x) {
2470
- return x.nextElementSibling || T();
2471
- function T() {
2472
- var S = x;
2469
+ function E(O) {
2470
+ return O.nextElementSibling || F();
2471
+ function F() {
2472
+ var S = O;
2473
2473
  do
2474
2474
  S = S.nextSibling;
2475
2475
  while (S && S.nodeType !== 1);
2476
2476
  return S;
2477
2477
  }
2478
2478
  }
2479
- function I(x) {
2480
- return x.targetTouches && x.targetTouches.length ? x.targetTouches[0] : x.changedTouches && x.changedTouches.length ? x.changedTouches[0] : x;
2479
+ function I(O) {
2480
+ return O.targetTouches && O.targetTouches.length ? O.targetTouches[0] : O.changedTouches && O.changedTouches.length ? O.changedTouches[0] : O;
2481
2481
  }
2482
- function R(x, T) {
2483
- var S = I(T), E = {
2482
+ function R(O, F) {
2483
+ var S = I(F), T = {
2484
2484
  pageX: "clientX",
2485
2485
  // IE8
2486
2486
  pageY: "clientY"
2487
2487
  // IE8
2488
2488
  };
2489
- return x in E && !(x in S) && E[x] in S && (x = E[x]), S[x];
2489
+ return O in T && !(O in S) && T[O] in S && (O = T[O]), S[O];
2490
2490
  }
2491
2491
  a.exports = f;
2492
2492
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2549,62 +2549,62 @@ var zl = { exports: {} };
2549
2549
  remove: h,
2550
2550
  fabricate: p
2551
2551
  };
2552
- function r(b, y, F, M) {
2553
- return b.addEventListener(y, F, M);
2552
+ function r(b, y, x, E) {
2553
+ return b.addEventListener(y, x, E);
2554
2554
  }
2555
- function m(b, y, F) {
2556
- return b.attachEvent("on" + y, k(b, y, F));
2555
+ function m(b, y, x) {
2556
+ return b.attachEvent("on" + y, k(b, y, x));
2557
2557
  }
2558
- function d(b, y, F, M) {
2559
- return b.removeEventListener(y, F, M);
2558
+ function d(b, y, x, E) {
2559
+ return b.removeEventListener(y, x, E);
2560
2560
  }
2561
- function g(b, y, F) {
2562
- var M = B(b, y, F);
2563
- if (M)
2564
- return b.detachEvent("on" + y, M);
2561
+ function g(b, y, x) {
2562
+ var E = B(b, y, x);
2563
+ if (E)
2564
+ return b.detachEvent("on" + y, E);
2565
2565
  }
2566
- function p(b, y, F) {
2567
- var M = u.indexOf(y) === -1 ? R() : I();
2568
- b.dispatchEvent ? b.dispatchEvent(M) : b.fireEvent("on" + y, M);
2566
+ function p(b, y, x) {
2567
+ var E = u.indexOf(y) === -1 ? R() : I();
2568
+ b.dispatchEvent ? b.dispatchEvent(E) : b.fireEvent("on" + y, E);
2569
2569
  function I() {
2570
- var x;
2571
- return s.createEvent ? (x = s.createEvent("Event"), x.initEvent(y, !0, !0)) : s.createEventObject && (x = s.createEventObject()), x;
2570
+ var O;
2571
+ return s.createEvent ? (O = s.createEvent("Event"), O.initEvent(y, !0, !0)) : s.createEventObject && (O = s.createEventObject()), O;
2572
2572
  }
2573
2573
  function R() {
2574
- return new i(y, { detail: F });
2574
+ return new i(y, { detail: x });
2575
2575
  }
2576
2576
  }
2577
- function w(b, y, F) {
2577
+ function w(b, y, x) {
2578
2578
  return function(I) {
2579
2579
  var R = I || l.event;
2580
2580
  R.target = R.target || R.srcElement, R.preventDefault = R.preventDefault || function() {
2581
2581
  R.returnValue = !1;
2582
2582
  }, R.stopPropagation = R.stopPropagation || function() {
2583
2583
  R.cancelBubble = !0;
2584
- }, R.which = R.which || R.keyCode, F.call(b, R);
2584
+ }, R.which = R.which || R.keyCode, x.call(b, R);
2585
2585
  };
2586
2586
  }
2587
- function k(b, y, F) {
2588
- var M = B(b, y, F) || w(b, y, F);
2587
+ function k(b, y, x) {
2588
+ var E = B(b, y, x) || w(b, y, x);
2589
2589
  return f.push({
2590
- wrapper: M,
2590
+ wrapper: E,
2591
2591
  element: b,
2592
2592
  type: y,
2593
- fn: F
2594
- }), M;
2593
+ fn: x
2594
+ }), E;
2595
2595
  }
2596
- function B(b, y, F) {
2597
- var M = O(b, y, F);
2598
- if (M) {
2599
- var I = f[M].wrapper;
2600
- return f.splice(M, 1), I;
2596
+ function B(b, y, x) {
2597
+ var E = M(b, y, x);
2598
+ if (E) {
2599
+ var I = f[E].wrapper;
2600
+ return f.splice(E, 1), I;
2601
2601
  }
2602
2602
  }
2603
- function O(b, y, F) {
2604
- var M, I;
2605
- for (M = 0; M < f.length; M++)
2606
- if (I = f[M], I.element === b && I.type === y && I.fn === F)
2607
- return M;
2603
+ function M(b, y, x) {
2604
+ var E, I;
2605
+ for (E = 0; E < f.length; E++)
2606
+ if (I = f[E], I.element === b && I.type === y && I.fn === x)
2607
+ return E;
2608
2608
  }
2609
2609
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
2610
2610
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2662,33 +2662,33 @@ var zl = { exports: {} };
2662
2662
  u = c;
2663
2663
  }
2664
2664
  })();
2665
- function h(O) {
2665
+ function h(M) {
2666
2666
  if (i === setTimeout)
2667
- return setTimeout(O, 0);
2667
+ return setTimeout(M, 0);
2668
2668
  if ((i === s || !i) && setTimeout)
2669
- return i = setTimeout, setTimeout(O, 0);
2669
+ return i = setTimeout, setTimeout(M, 0);
2670
2670
  try {
2671
- return i(O, 0);
2671
+ return i(M, 0);
2672
2672
  } catch {
2673
2673
  try {
2674
- return i.call(null, O, 0);
2674
+ return i.call(null, M, 0);
2675
2675
  } catch {
2676
- return i.call(this, O, 0);
2676
+ return i.call(this, M, 0);
2677
2677
  }
2678
2678
  }
2679
2679
  }
2680
- function f(O) {
2680
+ function f(M) {
2681
2681
  if (u === clearTimeout)
2682
- return clearTimeout(O);
2682
+ return clearTimeout(M);
2683
2683
  if ((u === c || !u) && clearTimeout)
2684
- return u = clearTimeout, clearTimeout(O);
2684
+ return u = clearTimeout, clearTimeout(M);
2685
2685
  try {
2686
- return u(O);
2686
+ return u(M);
2687
2687
  } catch {
2688
2688
  try {
2689
- return u.call(null, O);
2689
+ return u.call(null, M);
2690
2690
  } catch {
2691
- return u.call(this, O);
2691
+ return u.call(this, M);
2692
2692
  }
2693
2693
  }
2694
2694
  }
@@ -2698,38 +2698,38 @@ var zl = { exports: {} };
2698
2698
  }
2699
2699
  function w() {
2700
2700
  if (!m) {
2701
- var O = h(p);
2701
+ var M = h(p);
2702
2702
  m = !0;
2703
2703
  for (var b = r.length; b; ) {
2704
2704
  for (d = r, r = []; ++g < b; )
2705
2705
  d && d[g].run();
2706
2706
  g = -1, b = r.length;
2707
2707
  }
2708
- d = null, m = !1, f(O);
2708
+ d = null, m = !1, f(M);
2709
2709
  }
2710
2710
  }
2711
- l.nextTick = function(O) {
2711
+ l.nextTick = function(M) {
2712
2712
  var b = new Array(arguments.length - 1);
2713
2713
  if (arguments.length > 1)
2714
2714
  for (var y = 1; y < arguments.length; y++)
2715
2715
  b[y - 1] = arguments[y];
2716
- r.push(new k(O, b)), r.length === 1 && !m && h(w);
2716
+ r.push(new k(M, b)), r.length === 1 && !m && h(w);
2717
2717
  };
2718
- function k(O, b) {
2719
- this.fun = O, this.array = b;
2718
+ function k(M, b) {
2719
+ this.fun = M, this.array = b;
2720
2720
  }
2721
2721
  k.prototype.run = function() {
2722
2722
  this.fun.apply(null, this.array);
2723
2723
  }, l.title = "browser", l.browser = !0, l.env = {}, l.argv = [], l.version = "", l.versions = {};
2724
2724
  function B() {
2725
2725
  }
2726
- l.on = B, l.addListener = B, l.once = B, l.off = B, l.removeListener = B, l.removeAllListeners = B, l.emit = B, l.prependListener = B, l.prependOnceListener = B, l.listeners = function(O) {
2726
+ l.on = B, l.addListener = B, l.once = B, l.off = B, l.removeListener = B, l.removeAllListeners = B, l.emit = B, l.prependListener = B, l.prependOnceListener = B, l.listeners = function(M) {
2727
2727
  return [];
2728
- }, l.binding = function(O) {
2728
+ }, l.binding = function(M) {
2729
2729
  throw new Error("process.binding is not supported");
2730
2730
  }, l.cwd = function() {
2731
2731
  return "/";
2732
- }, l.chdir = function(O) {
2732
+ }, l.chdir = function(M) {
2733
2733
  throw new Error("process.chdir is not supported");
2734
2734
  }, l.umask = function() {
2735
2735
  return 0;
@@ -2809,40 +2809,40 @@ const Hl = {
2809
2809
  const {
2810
2810
  locale: n,
2811
2811
  t: a
2812
- } = xt(), o = C(e.animate), l = "fadeOut", i = N(() => e.options), u = C(!1), s = N(() => i.value.title && i.value.message), c = N(() => !i.value.title && i.value.message), h = N(() => {
2813
- const O = {
2812
+ } = St(), o = C(e.animate), l = "fadeOut", i = N(() => e.options), u = C(!1), s = N(() => i.value.title && i.value.message), c = N(() => !i.value.title && i.value.message), h = N(() => {
2813
+ const M = {
2814
2814
  animated: u.value,
2815
2815
  toast: !0,
2816
2816
  "toast--only-content": !s.value
2817
2817
  };
2818
- return O[e.animate] = !1, O[l] = u.value, O["toasty-type-" + i.value.type] = !0, i.value.theme && (O[i.value.theme] = !0), O;
2818
+ return M[e.animate] = !1, M[l] = u.value, M["toasty-type-" + i.value.type] = !0, i.value.theme && (M[i.value.theme] = !0), M;
2819
2819
  }), f = N(() => {
2820
- const y = `f-icon-${i.value && i.value.type ? i.value.type.replace("toasty-type-", "") : "default"}`, F = {
2820
+ const y = `f-icon-${i.value && i.value.type ? i.value.type.replace("toasty-type-", "") : "default"}`, x = {
2821
2821
  "f-icon": !0
2822
2822
  };
2823
- return F[y] = !0, F;
2823
+ return x[y] = !0, x;
2824
2824
  }), r = N(() => i.value.title || i.value.message), m = N(() => e.showCloseButton), d = N(() => !!i.value.buttons || !!t.slots.default), g = N(() => n.value === "en" ? {
2825
2825
  wordBreak: "keep-all",
2826
2826
  overflowWrap: "break-word"
2827
2827
  } : {});
2828
- function p(O) {
2829
- O.stopPropagation(), O.preventDefault(), u.value = !1, setTimeout(() => {
2828
+ function p(M) {
2829
+ M.stopPropagation(), M.preventDefault(), u.value = !1, setTimeout(() => {
2830
2830
  t.emit("close", i.value);
2831
2831
  }, 200);
2832
2832
  }
2833
- function w(O, b) {
2833
+ function w(M, b) {
2834
2834
  }
2835
- function k(O) {
2836
- return `f-preten-link ${O.customClass ? O.customClass : ""}`;
2835
+ function k(M) {
2836
+ return `f-preten-link ${M.customClass ? M.customClass : ""}`;
2837
2837
  }
2838
2838
  Z(o, () => {
2839
2839
  o.value;
2840
2840
  });
2841
2841
  const B = () => {
2842
- var O;
2842
+ var M;
2843
2843
  return v(ot, null, [v("div", {
2844
2844
  class: "after-toast-msg text-right"
2845
- }, [!t.slots.default && ((O = i.value.buttons) == null ? void 0 : O.map((b) => v("span", {
2845
+ }, [!t.slots.default && ((M = i.value.buttons) == null ? void 0 : M.map((b) => v("span", {
2846
2846
  class: k(b),
2847
2847
  onClick: (y) => void 0
2848
2848
  }, [b.text]))), t.slots.default && t.slots.default()])]);
@@ -3213,35 +3213,35 @@ function Ul(e, t, n, a, o, l, i, u, s, c, h, f, r, m, d, g, p) {
3213
3213
  } = l, {
3214
3214
  columnContext: k,
3215
3215
  hasLeftFixedColumn: B,
3216
- hasRightFixedColumn: O
3216
+ hasRightFixedColumn: M
3217
3217
  } = i, {
3218
3218
  gridDataStyle: b,
3219
3219
  leftFixedGridDataStyle: y,
3220
- rightFixedGridDataStyle: F
3220
+ rightFixedGridDataStyle: x
3221
3221
  } = m, {
3222
- renderDataRow: M
3223
- } = _a(e, t, k, p, u, s, c, h, f, r, m, d, g), I = [M];
3224
- function R(D, z) {
3225
- const Y = w(D);
3226
- return p.value.filter(($) => $.visible !== !1).map(($, j) => I[$.type]($, Y, z, j));
3222
+ renderDataRow: E
3223
+ } = _a(e, t, k, p, u, s, c, h, f, r, m, d, g), I = [E];
3224
+ function R(P, V) {
3225
+ const _ = w(P);
3226
+ return p.value.filter((L) => L.visible !== !1).map((L, j) => I[L.type](L, _, V, j));
3227
3227
  }
3228
- function x() {
3228
+ function O() {
3229
3229
  return v("div", {
3230
3230
  ref: a,
3231
3231
  class: "fv-grid-content-left-fixed"
3232
3232
  }, [v("div", {
3233
3233
  class: "fv-grid-data",
3234
3234
  style: y.value
3235
- }, [R(k.value.leftColumns.filter((D) => D.visible), "left")])]);
3235
+ }, [R(k.value.leftColumns.filter((P) => P.visible), "left")])]);
3236
3236
  }
3237
- function T() {
3237
+ function F() {
3238
3238
  return v("div", {
3239
3239
  ref: n,
3240
3240
  class: "fv-grid-content-primary"
3241
3241
  }, [v("div", {
3242
3242
  class: "fv-grid-data",
3243
3243
  style: b.value
3244
- }, [R(k.value.primaryColumns.filter((D) => D.visible), "primary")])]);
3244
+ }, [R(k.value.primaryColumns.filter((P) => P.visible), "primary")])]);
3245
3245
  }
3246
3246
  function S() {
3247
3247
  return v("div", {
@@ -3249,15 +3249,15 @@ function Ul(e, t, n, a, o, l, i, u, s, c, h, f, r, m, d, g, p) {
3249
3249
  class: "fv-grid-content-right-fixed"
3250
3250
  }, [v("div", {
3251
3251
  class: "fv-grid-data",
3252
- style: F.value
3253
- }, [R(k.value.rightColumns.filter((D) => D.visible), "right")])]);
3252
+ style: x.value
3253
+ }, [R(k.value.rightColumns.filter((P) => P.visible), "right")])]);
3254
3254
  }
3255
- function E() {
3256
- const D = [];
3257
- return B.value && D.push(x()), D.push(T()), O.value && D.push(S()), D;
3255
+ function T() {
3256
+ const P = [];
3257
+ return B.value && P.push(O()), P.push(F()), M.value && P.push(S()), P;
3258
3258
  }
3259
3259
  return {
3260
- renderDataArea: E
3260
+ renderDataArea: T
3261
3261
  };
3262
3262
  }
3263
3263
  const _l = /* @__PURE__ */ oe({
@@ -3271,21 +3271,21 @@ const _l = /* @__PURE__ */ oe({
3271
3271
  } = i, s = C(), c = C(), h = C(), f = C(), r = C(), m = C([]), d = C(!1), g = C(((pn = e.rowOption) == null ? void 0 : pn.wrapContent) || !1), p = Xa(e, i), w = Ja(e, t), k = Qa(e), {
3272
3272
  collapseField: B
3273
3273
  } = k, {
3274
- showLoading: O,
3274
+ showLoading: M,
3275
3275
  renderLoading: b
3276
3276
  } = Za(e, s), y = Ka(e, /* @__PURE__ */ new Map(), w, k, i), {
3277
- dataView: F
3278
- } = y, M = eo(e, y, i, m, t), {
3277
+ dataView: x
3278
+ } = y, E = eo(e, y, i, m, t), {
3279
3279
  showSelection: I,
3280
3280
  selectedValues: R
3281
- } = M, x = to(e, m, y, i, M, t), T = N(() => e.disabled), S = N(() => e.virtualized ? Math.min(y.dataView.value.length, o.value) : y.dataView.value.length), E = no(e, y), {
3282
- shouldRenderPagination: D
3283
- } = E, {
3284
- containerStyleObject: z
3285
- } = ao(e), Y = oo(e), {
3286
- applyCommands: $
3287
- } = Y;
3288
- $(l);
3281
+ } = E, O = to(e, m, y, i, E, t), F = N(() => e.disabled), S = N(() => e.virtualized ? Math.min(y.dataView.value.length, o.value) : y.dataView.value.length), T = no(e, y), {
3282
+ shouldRenderPagination: P
3283
+ } = T, {
3284
+ containerStyleObject: V
3285
+ } = ao(e), _ = oo(e), {
3286
+ applyCommands: L
3287
+ } = _;
3288
+ L(l);
3289
3289
  const {
3290
3290
  applyColumnSetting: j,
3291
3291
  removeColumnSetting: G
@@ -3297,9 +3297,9 @@ const _l = /* @__PURE__ */ oe({
3297
3297
  updateColumnRenderContext: X
3298
3298
  } = W;
3299
3299
  ce(y, ee);
3300
- const le = so(e, ve), de = uo(e, t, M, i), ne = co(e, t, i, de, m), U = fo(e), ae = po(e, ne, U), Xe = mo(e, y, ne, k, i, U, ae), $e = yo(e, l, y, S, 0, Xe), {
3300
+ const le = so(e, ve), de = uo(e, t, E, i), ne = co(e, t, i, de, m), U = fo(e), ae = po(e, ne, U), Xe = mo(e, y, ne, k, i, U, ae), $e = yo(e, l, y, S, 0, Xe), {
3301
3301
  getVisualData: Be
3302
- } = $e, it = vo(e, ve), Je = ho(e, M), {
3302
+ } = $e, it = vo(e, ve), Je = ho(e, E), {
3303
3303
  sidebarWidth: rt
3304
3304
  } = Je, se = go(e, y, m, ve, $e, S, 0, rt), {
3305
3305
  onWheel: pt,
@@ -3310,7 +3310,7 @@ const _l = /* @__PURE__ */ oe({
3310
3310
  updateVisibleRowsOnLatestVisibleScope: mt
3311
3311
  } = se, Qe = bo(e, ve, c, Oe, le), {
3312
3312
  calculateColumnsSize: Pe
3313
- } = Qe, We = Co(), st = wo(c, r, y, We, se), ut = ko(e, t, W, y, le, p, se), L = N(() => {
3313
+ } = Qe, We = Co(), st = wo(c, r, y, We, se), ut = ko(e, t, W, y, le, p, se), $ = N(() => {
3314
3314
  const q = {
3315
3315
  "fv-grid": !0,
3316
3316
  "fv-grid-bordered": e.showBorder,
@@ -3324,13 +3324,13 @@ const _l = /* @__PURE__ */ oe({
3324
3324
  "fv-grid-wrap-content": g.value
3325
3325
  })), {
3326
3326
  renderDataArea: ue
3327
- } = Ul(e, t, h, f, r, it, W, y, ne, k, de, M, x, se, $e, U, m), {
3327
+ } = Ul(e, t, h, f, r, it, W, y, ne, k, de, E, O, se, $e, U, m), {
3328
3328
  renderGridHeader: fe,
3329
3329
  renderGridColumnResizeOverlay: Ne,
3330
3330
  shouldShowHeader: Vt
3331
- } = xo(e, t, c, f, r, W, y, ut, st, w, We, Qe, le, M, Je, ee, se, Oe, m), {
3331
+ } = So(e, t, c, f, r, W, y, ut, st, w, We, Qe, le, E, Je, ee, se, Oe, m), {
3332
3332
  renderDataGridSidebar: $t
3333
- } = So(e, de, M, Je, se), {
3333
+ } = xo(e, de, E, Je, se), {
3334
3334
  renderDisableMask: At
3335
3335
  } = Fo(), {
3336
3336
  renderHorizontalScrollbar: zt
@@ -3347,7 +3347,7 @@ const _l = /* @__PURE__ */ oe({
3347
3347
  be(() => {
3348
3348
  c.value && (o.value = Math.max(Math.ceil(c.value.clientHeight / a), o.value), m.value = Be(0, S.value + 0 - 1), Ua(c.value, Wt), Pe(), Ue(() => {
3349
3349
  c.value && (Ae.value = c.value.clientWidth), h.value && (Oe.value = h.value.clientWidth, ze.value = h.value.clientHeight);
3350
- })), O.value && b();
3350
+ })), M.value && b();
3351
3351
  }), wt(() => {
3352
3352
  }), Z(Oe, () => {
3353
3353
  c.value && Pe();
@@ -3359,7 +3359,7 @@ const _l = /* @__PURE__ */ oe({
3359
3359
  y.expandTo(q), y.reOrderVisibleIndex(), He();
3360
3360
  }
3361
3361
  function yt() {
3362
- const q = M.getSelectionRow();
3362
+ const q = E.getSelectionRow();
3363
3363
  return q ? q.dataIndex - 1 : -1;
3364
3364
  }
3365
3365
  function Gt() {
@@ -3375,8 +3375,8 @@ const _l = /* @__PURE__ */ oe({
3375
3375
  y.insertNewChildDataItems(q, ge);
3376
3376
  }
3377
3377
  function Yt() {
3378
- const q = yt(), J = x.getNextSelectableHierarchyItemId(q);
3379
- y.removeHierarchyDataItem(q), m.value = Be(0, S.value + 0 - 1), J && M.selectItemById(J);
3378
+ const q = yt(), J = O.getNextSelectableHierarchyItemId(q);
3379
+ y.removeHierarchyDataItem(q), m.value = Be(0, S.value + 0 - 1), J && O.selectItemById(J);
3380
3380
  }
3381
3381
  function Tt(q) {
3382
3382
  ne.onEditingRow(q);
@@ -3384,20 +3384,20 @@ const _l = /* @__PURE__ */ oe({
3384
3384
  function Xt(q) {
3385
3385
  ne.acceptEditingRow(q);
3386
3386
  }
3387
- function P(q) {
3387
+ function D(q) {
3388
3388
  ne.cancelEditingRow(q);
3389
3389
  }
3390
- function A(q) {
3391
- q && (l.value = q, $(l), X(l.value), ce(y, ee), Pe());
3390
+ function z(q) {
3391
+ q && (l.value = q, L(l), X(l.value), ce(y, ee), Pe());
3392
3392
  }
3393
3393
  Z(() => e.columns, (q) => {
3394
- A(q);
3394
+ z(q);
3395
3395
  });
3396
3396
  function H(q, J) {
3397
3397
  q && (y.load(q), y.reOrderVisibleIndex(), J != null && J.keepScrollPosition ? se.scrollTo(se.offsetY.value) : He());
3398
3398
  }
3399
- function _(q) {
3400
- M.selectItemById(q);
3399
+ function Y(q) {
3400
+ O.selectItemById(q);
3401
3401
  }
3402
3402
  function K(q) {
3403
3403
  const J = m.value.find((me) => me.raw[i.idField.value] === q);
@@ -3407,28 +3407,28 @@ const _l = /* @__PURE__ */ oe({
3407
3407
  de.activeRowById(q);
3408
3408
  }
3409
3409
  function Te(q) {
3410
- M.selectItemByIds(q);
3410
+ O.selectItemByIds(q);
3411
3411
  }
3412
3412
  function Ce() {
3413
- return M.getSelectedItems();
3413
+ return E.getSelectedItems();
3414
3414
  }
3415
- function xe() {
3416
- M.clearSelection();
3415
+ function Se() {
3416
+ E.clearSelection();
3417
3417
  }
3418
3418
  const Me = N(() => !m.value || !m.value.length), {
3419
3419
  renderEmpty: pe
3420
3420
  } = Oo(e, t);
3421
3421
  function Ee() {
3422
- return M.getSelectionRow();
3422
+ return E.getSelectionRow();
3423
3423
  }
3424
- function Se(q) {
3425
- M.unSelectItemByIds(q);
3424
+ function xe(q) {
3425
+ O.unSelectItemByIds(q);
3426
3426
  }
3427
3427
  function he() {
3428
- return M.currentSelectedDataId.value;
3428
+ return E.currentSelectedDataId.value;
3429
3429
  }
3430
3430
  function vt(q, J, me) {
3431
- const ge = F.value.find((Fe) => Fe[u.value] === q);
3431
+ const ge = x.value.find((Fe) => Fe[u.value] === q);
3432
3432
  if (ge) {
3433
3433
  if (Object.keys(ge).forEach((ye) => {
3434
3434
  Object.prototype.hasOwnProperty.call(J, ye) && (ge[ye] = J[ye]);
@@ -3469,7 +3469,7 @@ const _l = /* @__PURE__ */ oe({
3469
3469
  return B.value;
3470
3470
  }
3471
3471
  Z(() => e.showSetting, (q, J) => {
3472
- q !== J && (q ? j(l) : G(l), A(l.value));
3472
+ q !== J && (q ? j(l) : G(l), z(l.value));
3473
3473
  });
3474
3474
  function wa(q) {
3475
3475
  return m.value.filter((J) => q.includes(J.raw[e.idField]));
@@ -3478,8 +3478,8 @@ const _l = /* @__PURE__ */ oe({
3478
3478
  const J = i.idField.value, me = m.value.find((ge) => ge.raw[J] === q);
3479
3479
  me && de.changeRow(me);
3480
3480
  }
3481
- function xa() {
3482
- M.keepSelectingOnPaging.value || xe(), y.updateVisibleDataSummary(m.value);
3481
+ function Sa() {
3482
+ E.keepSelectingOnPaging.value || Se(), y.updateVisibleDataSummary(m.value);
3483
3483
  }
3484
3484
  t.expose({
3485
3485
  activeRowById: te,
@@ -3491,16 +3491,16 @@ const _l = /* @__PURE__ */ oe({
3491
3491
  removeDataItem: Yt,
3492
3492
  editDataItem: Tt,
3493
3493
  acceptDataItem: Xt,
3494
- cancelDataItem: P,
3495
- updateColumns: A,
3494
+ cancelDataItem: D,
3495
+ updateColumns: z,
3496
3496
  updateDataSource: H,
3497
- selectItemById: _,
3497
+ selectItemById: Y,
3498
3498
  selectItemByIds: Te,
3499
3499
  getSelectedItems: Ce,
3500
- clearSelection: xe,
3500
+ clearSelection: Se,
3501
3501
  getSelectionRow: Ee,
3502
3502
  clickRowItemById: K,
3503
- unSelectItemByIds: Se,
3503
+ unSelectItemByIds: xe,
3504
3504
  getCurrentRowId: he,
3505
3505
  reassignRowData: vt,
3506
3506
  hasChildren: ht,
@@ -3508,20 +3508,20 @@ const _l = /* @__PURE__ */ oe({
3508
3508
  getCollapseStatusById: gt,
3509
3509
  getVisibleDataByIds: wa,
3510
3510
  selectRowById: ka,
3511
- updateDerivedData: xa
3511
+ updateDerivedData: Sa
3512
3512
  });
3513
- const Sa = N(() => {
3513
+ const xa = N(() => {
3514
3514
  const q = {};
3515
3515
  return se.shouldShowHorizontalScrollbar.value && (q.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (q.paddingRight = "10px"), q;
3516
3516
  }), Fa = N(() => ({
3517
- ...z.value,
3517
+ ...V.value,
3518
3518
  borderRadius: "5px"
3519
- })), {
3520
- renderDataGridPagination: Au
3521
- } = Mo(e, t, y, se, E, M), Ta = N(() => ({
3519
+ }));
3520
+ Mo(e, t, y, se, T, E);
3521
+ const Ta = N(() => ({
3522
3522
  "d-flex": !0,
3523
- "justify-content-between": D.value && I.value,
3524
- "justify-content-end": D.value && !I.value,
3523
+ "justify-content-between": P.value && I.value,
3524
+ "justify-content-end": P.value && !I.value,
3525
3525
  "position-relative": !0
3526
3526
  })), Ba = N(() => ({
3527
3527
  "d-flex": !0,
@@ -3531,7 +3531,7 @@ const _l = /* @__PURE__ */ oe({
3531
3531
  } = Eo(e, y, W);
3532
3532
  return () => v("div", {
3533
3533
  ref: s,
3534
- class: L.value,
3534
+ class: $.value,
3535
3535
  style: Fa.value,
3536
3536
  onWheel: pt
3537
3537
  }, [c.value && Vt.value && fe(), v("div", {
@@ -3539,12 +3539,12 @@ const _l = /* @__PURE__ */ oe({
3539
3539
  class: Q.value,
3540
3540
  onMouseover: () => d.value = !0,
3541
3541
  onMouseleave: () => d.value = !1,
3542
- style: Sa.value
3542
+ style: xa.value
3543
3543
  }, [c.value && $t(m), c.value && ue(), c.value && Me.value && pe(), c.value && zt(), c.value && Ht()]), c.value && Oa(), I.value && v("div", {
3544
3544
  class: Ta.value
3545
3545
  }, [I.value && v("div", {
3546
3546
  class: Ba.value
3547
- }, [v("div", null, ["已选:" + R.value.length, ie(" 条")])])]), Ne(), T.value && At()]);
3547
+ }, [v("div", null, ["已选:" + R.value.length, ie(" 条")])])]), Ne(), F.value && At()]);
3548
3548
  }
3549
3549
  });
3550
3550
  Nt(_l);
@@ -3687,7 +3687,7 @@ const Jl = "https://json-schema.org/draft/2020-12/schema", Ql = "https://farris-
3687
3687
  };
3688
3688
  Ve(ui, ai, Yl, Xl, si);
3689
3689
  function Zn(e, t, n) {
3690
- var x;
3690
+ var O;
3691
3691
  const a = n && n.getStyles && n.getStyles() || "", o = n && n.getDesignerClass && n.getDesignerClass() || "", l = C();
3692
3692
  let i;
3693
3693
  function u() {
@@ -3702,85 +3702,85 @@ function Zn(e, t, n) {
3702
3702
  function h() {
3703
3703
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !0 : n && n.hideNestedPaddingInDesginerView ? n.hideNestedPaddingInDesginerView() : !1;
3704
3704
  }
3705
- function f(T) {
3706
- if (!T || !T.value)
3705
+ function f(F) {
3706
+ if (!F || !F.value)
3707
3707
  return null;
3708
- if (T.value.schema && T.value.schema.type === "component")
3709
- return T.value;
3710
- const S = C(T == null ? void 0 : T.value.parent), E = f(S);
3711
- return E || null;
3708
+ if (F.value.schema && F.value.schema.type === "component")
3709
+ return F.value;
3710
+ const S = C(F == null ? void 0 : F.value.parent), T = f(S);
3711
+ return T || null;
3712
3712
  }
3713
- function r(T = t) {
3714
- var z;
3713
+ function r(F = t) {
3714
+ var V;
3715
3715
  if (n != null && n.getDraggableDesignItemElement)
3716
- return n.getDraggableDesignItemElement(T);
3717
- const { componentInstance: S, designerItemElementRef: E } = T;
3716
+ return n.getDraggableDesignItemElement(F);
3717
+ const { componentInstance: S, designerItemElementRef: T } = F;
3718
3718
  if (!S || !S.value)
3719
3719
  return null;
3720
- const { getCustomButtons: D } = S.value;
3721
- return S.value.canMove || D && ((z = D()) != null && z.length) ? E : r(T.parent);
3720
+ const { getCustomButtons: P } = S.value;
3721
+ return S.value.canMove || P && ((V = P()) != null && V.length) ? T : r(F.parent);
3722
3722
  }
3723
- function m(T) {
3724
- return !!n && n.canAccepts(T);
3723
+ function m(F) {
3724
+ return !!n && n.canAccepts(F);
3725
3725
  }
3726
3726
  function d() {
3727
3727
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
3728
3728
  }
3729
3729
  function g() {
3730
3730
  }
3731
- function p(T, S) {
3732
- var E;
3733
- !T || !S || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(T, S), (E = t == null ? void 0 : t.setupContext) == null || E.emit("dragEnd"));
3731
+ function p(F, S) {
3732
+ var T;
3733
+ !F || !S || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(F, S), (T = t == null ? void 0 : t.setupContext) == null || T.emit("dragEnd"));
3734
3734
  }
3735
- function w(T, S) {
3736
- const { componentType: E } = T;
3737
- let D = La(E, T, S);
3738
- n && n.onResolveNewComponentSchema && (D = n.onResolveNewComponentSchema(T, D));
3739
- const z = E.toLowerCase().replace(/-/g, "_");
3740
- return D && !D.id && D.type === E && (D.id = `${z}_${Math.random().toString().slice(2, 6)}`), D;
3735
+ function w(F, S) {
3736
+ const { componentType: T } = F;
3737
+ let P = La(T, F, S);
3738
+ n && n.onResolveNewComponentSchema && (P = n.onResolveNewComponentSchema(F, P));
3739
+ const V = T.toLowerCase().replace(/-/g, "_");
3740
+ return P && !P.id && P.type === T && (P.id = `${V}_${Math.random().toString().slice(2, 6)}`), P;
3741
3741
  }
3742
- function k(T) {
3743
- T && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(T);
3742
+ function k(F) {
3743
+ F && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(F);
3744
3744
  }
3745
- function B(...T) {
3745
+ function B(...F) {
3746
3746
  if (n && n.getPropsConfig)
3747
- return n.getPropsConfig(...T);
3747
+ return n.getPropsConfig(...F);
3748
3748
  }
3749
- function O(T) {
3750
- if (!T)
3749
+ function M(F) {
3750
+ if (!F)
3751
3751
  return;
3752
- const S = t == null ? void 0 : t.schema, { formSchemaUtils: E } = T;
3753
- if (S && E.getExpressions().length) {
3754
- const D = E.getExpressions().findIndex((z) => z.target === S.id);
3755
- D > -1 && E.getExpressions().splice(D, 1);
3752
+ const S = t == null ? void 0 : t.schema, { formSchemaUtils: T } = F;
3753
+ if (S && T.getExpressions().length) {
3754
+ const P = T.getExpressions().findIndex((V) => V.target === S.id);
3755
+ P > -1 && T.getExpressions().splice(P, 1);
3756
3756
  }
3757
3757
  }
3758
- function b(T) {
3759
- if (!T || !(t != null && t.schema))
3758
+ function b(F) {
3759
+ if (!F || !(t != null && t.schema))
3760
3760
  return;
3761
- const S = t.schema, { formSchemaUtils: E } = T;
3762
- E.removeCommunicationInComponent(S);
3763
- }
3764
- function y(T) {
3765
- n && n.onRemoveComponent && n.onRemoveComponent(), O(T), b(T), t != null && t.schema.contents && t.schema.contents.map((S) => {
3766
- let E = S.id;
3767
- S.type === "component-ref" && (E = S.component);
3768
- const D = e.value.querySelectorAll(`#${E}-design-item`);
3769
- D != null && D.length && Array.from(D).map((z) => {
3770
- var Y;
3771
- (Y = z == null ? void 0 : z.componentInstance) != null && Y.value.onRemoveComponent && z.componentInstance.value.onRemoveComponent(T);
3761
+ const S = t.schema, { formSchemaUtils: T } = F;
3762
+ T.removeCommunicationInComponent(S);
3763
+ }
3764
+ function y(F) {
3765
+ n && n.onRemoveComponent && n.onRemoveComponent(), M(F), b(F), t != null && t.schema.contents && t.schema.contents.map((S) => {
3766
+ let T = S.id;
3767
+ S.type === "component-ref" && (T = S.component);
3768
+ const P = e.value.querySelectorAll(`#${T}-design-item`);
3769
+ P != null && P.length && Array.from(P).map((V) => {
3770
+ var _;
3771
+ (_ = V == null ? void 0 : V.componentInstance) != null && _.value.onRemoveComponent && V.componentInstance.value.onRemoveComponent(F);
3772
3772
  });
3773
3773
  });
3774
3774
  }
3775
- function F() {
3775
+ function x() {
3776
3776
  if (n && n.getCustomButtons)
3777
3777
  return n.getCustomButtons();
3778
3778
  }
3779
- function M(T) {
3780
- var E, D;
3781
- if (!((E = t == null ? void 0 : t.schema) != null && E.id))
3779
+ function E(F) {
3780
+ var T, P;
3781
+ if (!((T = t == null ? void 0 : t.schema) != null && T.id))
3782
3782
  return;
3783
- if (!i && T && (i = T.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
3783
+ if (!i && F && (i = F.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
3784
3784
  n.setComponentBasicInfoMap();
3785
3785
  return;
3786
3786
  }
@@ -3788,31 +3788,31 @@ function Zn(e, t, n) {
3788
3788
  if (n != null && n.getComponentTitle)
3789
3789
  S = n.getComponentTitle();
3790
3790
  else {
3791
- const { text: z, title: Y, label: $, mainTitle: j, name: G, type: W } = t.schema;
3792
- S = z || Y || $ || j || G || ((D = V[W]) == null ? void 0 : D.name);
3791
+ const { text: V, title: _, label: L, mainTitle: j, name: G, type: W } = t.schema;
3792
+ S = V || _ || L || j || G || ((P = A[W]) == null ? void 0 : P.name);
3793
3793
  }
3794
3794
  S && i.getControlBasicInfoMap().set(t.schema.id, {
3795
3795
  componentTitle: S,
3796
3796
  parentPathName: S
3797
3797
  });
3798
3798
  }
3799
- function I(T) {
3800
- var z;
3801
- const { changeObject: S } = T, { propertyID: E, propertyValue: D } = S;
3802
- if (["text", "title", "label", "name", "mainTitle"].includes((z = T == null ? void 0 : T.changeObject) == null ? void 0 : z.propertyID) && E && D && (M(), i)) {
3803
- const Y = i.getControlBasicInfoMap(), $ = Y.keys().toArray().filter((j) => {
3799
+ function I(F) {
3800
+ var V;
3801
+ const { changeObject: S } = F, { propertyID: T, propertyValue: P } = S;
3802
+ if (["text", "title", "label", "name", "mainTitle"].includes((V = F == null ? void 0 : F.changeObject) == null ? void 0 : V.propertyID) && T && P && (E(), i)) {
3803
+ const _ = i.getControlBasicInfoMap(), L = _.keys().toArray().filter((j) => {
3804
3804
  var G, W;
3805
- return ((G = Y.get(j)) == null ? void 0 : G.reliedComponentId) === ((W = t == null ? void 0 : t.schema) == null ? void 0 : W.id);
3805
+ return ((G = _.get(j)) == null ? void 0 : G.reliedComponentId) === ((W = t == null ? void 0 : t.schema) == null ? void 0 : W.id);
3806
3806
  });
3807
- $ != null && $.length && $.forEach((j) => {
3808
- const G = Y.get(j).parentPathName.split(" > ");
3809
- G[0] = D, Y.get(j).parentPathName = G.join(" > ");
3807
+ L != null && L.length && L.forEach((j) => {
3808
+ const G = _.get(j).parentPathName.split(" > ");
3809
+ G[0] = P, _.get(j).parentPathName = G.join(" > ");
3810
3810
  });
3811
3811
  }
3812
3812
  }
3813
- function R(T) {
3814
- if (I(T), n && n.onPropertyChanged)
3815
- return n.onPropertyChanged(T);
3813
+ function R(F) {
3814
+ if (I(F), n && n.onPropertyChanged)
3815
+ return n.onPropertyChanged(F);
3816
3816
  }
3817
3817
  return l.value = {
3818
3818
  canMove: u(),
@@ -3821,7 +3821,7 @@ function Zn(e, t, n) {
3821
3821
  canNested: !h(),
3822
3822
  contents: t == null ? void 0 : t.schema.contents,
3823
3823
  elementRef: e,
3824
- parent: (x = t == null ? void 0 : t.parent) == null ? void 0 : x.componentInstance,
3824
+ parent: (O = t == null ? void 0 : t.parent) == null ? void 0 : O.componentInstance,
3825
3825
  schema: t == null ? void 0 : t.schema,
3826
3826
  styles: a,
3827
3827
  designerClass: o,
@@ -3837,9 +3837,9 @@ function Zn(e, t, n) {
3837
3837
  triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || C(!1),
3838
3838
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || C(!1),
3839
3839
  onRemoveComponent: y,
3840
- getCustomButtons: F,
3840
+ getCustomButtons: x,
3841
3841
  onPropertyChanged: R,
3842
- setComponentBasicInfoMap: M,
3842
+ setComponentBasicInfoMap: E,
3843
3843
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
3844
3844
  }, l;
3845
3845
  }
@@ -4053,7 +4053,7 @@ const mi = "https://json-schema.org/draft/2020-12/schema", yi = "https://farris-
4053
4053
  adaptForLanguage: { type: Boolean, default: !0 }
4054
4054
  };
4055
4055
  Ve(ki, wi, ln, fi);
4056
- function xi() {
4056
+ function Si() {
4057
4057
  function e(t, n) {
4058
4058
  var i;
4059
4059
  if (!t)
@@ -4062,13 +4062,13 @@ function xi() {
4062
4062
  if (!a)
4063
4063
  return !1;
4064
4064
  const o = a.schema.type, l = n == null ? void 0 : n.formSchemaUtils.getComponentById(a.belongedComponentId);
4065
- return !((t.componentCategory === "input" || t.componentType === "form-group") && ![V["response-layout-item"].type, V["response-form"].type, V.fieldset.type].includes(o) || (t.componentType === V.tabs.type || t.componentType === V.section.type) && ((l == null ? void 0 : l.componentType) !== "frame" || ![V["content-container"].type, V["splitter-pane"].type, V["response-layout-item"].type].includes(o)) || [V["query-solution"].type, V["filter-bar"].type].includes(t.componentType) || t.componentType === V.fieldset.type && o !== V["response-form"].type);
4065
+ return !((t.componentCategory === "input" || t.componentType === "form-group") && ![A["response-layout-item"].type, A["response-form"].type, A.fieldset.type].includes(o) || (t.componentType === A.tabs.type || t.componentType === A.section.type) && ((l == null ? void 0 : l.componentType) !== "frame" || ![A["content-container"].type, A["splitter-pane"].type, A["response-layout-item"].type].includes(o)) || [A["query-solution"].type, A["filter-bar"].type].includes(t.componentType) || t.componentType === A.fieldset.type && o !== A["response-form"].type);
4066
4066
  }
4067
4067
  return {
4068
4068
  basalDragulaRuleForContainer: e
4069
4069
  };
4070
4070
  }
4071
- const Si = {
4071
+ const xi = {
4072
4072
  id: { type: String, default: "" },
4073
4073
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
4074
4074
  editor: { type: Object, default: {} },
@@ -4084,7 +4084,7 @@ const Si = {
4084
4084
  selectOnCreated: { type: Boolean, default: !1 }
4085
4085
  };
4086
4086
  Ve(
4087
- Si,
4087
+ xi,
4088
4088
  Qn,
4089
4089
  ln,
4090
4090
  void 0
@@ -4382,7 +4382,7 @@ function _i(e, t, n, a, o) {
4382
4382
  }, null), k.text]))]);
4383
4383
  }
4384
4384
  function Yi(e) {
4385
- const { t, locale: n } = xt();
4385
+ const { t, locale: n } = St();
4386
4386
  function a(o, l, i) {
4387
4387
  return l === i ? t(o) : l;
4388
4388
  }
@@ -4660,44 +4660,44 @@ function Qi(e, t, n, a, o) {
4660
4660
  "f-state-focus": d.value,
4661
4661
  "input-group--has-clear": e.enableClear && c.value
4662
4662
  }));
4663
- function w(x, T = !0) {
4664
- n.value = x, T && (t.emit("change", x), t.emit("update:modelValue", x));
4663
+ function w(O, F = !0) {
4664
+ n.value = O, F && (t.emit("change", O), t.emit("update:modelValue", O));
4665
4665
  }
4666
- function k(x) {
4667
- u.value = !1, w(x, !0);
4666
+ function k(O) {
4667
+ u.value = !1, w(O, !0);
4668
4668
  }
4669
4669
  Z(
4670
4670
  () => e.modelValue,
4671
- (x) => {
4672
- n.value = x;
4671
+ (O) => {
4672
+ n.value = O;
4673
4673
  }
4674
4674
  );
4675
- function B(x) {
4676
- m.value = !1, t.emit("blur", x), x.stopPropagation();
4675
+ function B(O) {
4676
+ m.value = !1, t.emit("blur", O), O.stopPropagation();
4677
4677
  }
4678
- function O(x) {
4679
- t.emit("click", x), s(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
4678
+ function M(O) {
4679
+ t.emit("click", O), s(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
4680
4680
  }
4681
- function b(x) {
4682
- !e.disable && !e.readonly && (m.value = !0, r.value || (t.emit("focus", x), i.value && !u.value && o.popup()));
4681
+ function b(O) {
4682
+ !e.disable && !e.readonly && (m.value = !0, r.value || (t.emit("focus", O), i.value && !u.value && o.popup()));
4683
4683
  }
4684
- function y(x) {
4685
- t.emit("input", x);
4686
- const T = x.target.value;
4687
- a.value = T, n.value !== T && w(T, e.updateOn === "change"), l.value && !u.value && o.popup();
4684
+ function y(O) {
4685
+ t.emit("input", O);
4686
+ const F = O.target.value;
4687
+ a.value = F, n.value !== F && w(F, e.updateOn === "change"), l.value && !u.value && o.popup();
4688
4688
  }
4689
- function F(x) {
4690
- x.target.tagName !== "INPUT" && x.preventDefault(), x.stopPropagation();
4689
+ function x(O) {
4690
+ O.target.tagName !== "INPUT" && O.preventDefault(), O.stopPropagation();
4691
4691
  }
4692
- function M(x) {
4693
- t.emit("keydown", x);
4692
+ function E(O) {
4693
+ t.emit("keydown", O);
4694
4694
  }
4695
- function I(x) {
4696
- x.key === "Enter" && (l.value || i.value) && o.hidePopup(), t.emit("keyup", x);
4695
+ function I(O) {
4696
+ O.key === "Enter" && (l.value || i.value) && o.hidePopup(), t.emit("keyup", O);
4697
4697
  }
4698
- function R(x) {
4699
- const T = x.target.value;
4700
- x.stopPropagation(), w(T);
4698
+ function R(O) {
4699
+ const F = O.target.value;
4700
+ O.stopPropagation(), w(F);
4701
4701
  }
4702
4702
  return {
4703
4703
  hasFocusedTextBox: d,
@@ -4710,12 +4710,12 @@ function Qi(e, t, n, a, o) {
4710
4710
  changeTextBoxValue: w,
4711
4711
  commitValue: k,
4712
4712
  onBlurTextBox: B,
4713
- onClickTextBox: O,
4713
+ onClickTextBox: M,
4714
4714
  onFocusTextBox: b,
4715
4715
  onInput: y,
4716
- onKeyDownTextBox: M,
4716
+ onKeyDownTextBox: E,
4717
4717
  onKeyUpTextBox: I,
4718
- onMouseDownTextBox: F,
4718
+ onMouseDownTextBox: x,
4719
4719
  onTextBoxValueChange: R
4720
4720
  };
4721
4721
  }
@@ -4783,18 +4783,18 @@ function Ki(e, t, n) {
4783
4783
  "border-bottom-right-radius": "6px"
4784
4784
  }));
4785
4785
  be(() => {
4786
- var F, M;
4787
- e.selectOnCreated && ((F = a.value) == null || F.select()), e.focusOnCreated && ((M = a.value) == null || M.focus({
4786
+ var x, E;
4787
+ e.selectOnCreated && ((x = a.value) == null || x.select()), e.focusOnCreated && ((E = a.value) == null || E.focus({
4788
4788
  preventScroll: !0
4789
4789
  })), p.value || (p.value = "button-edit_" + w(8)), p.value = p.value + "-textbox";
4790
4790
  });
4791
- const B = C(!1), O = (F) => {
4792
- F.preventDefault(), B.value = !0;
4793
- }, b = (F) => {
4794
- F.preventDefault(), B.value = !1, f(F);
4791
+ const B = C(!1), M = (x) => {
4792
+ x.preventDefault(), B.value = !0;
4793
+ }, b = (x) => {
4794
+ x.preventDefault(), B.value = !1, f(x);
4795
4795
  };
4796
- function y(F) {
4797
- B.value || f(F);
4796
+ function y(x) {
4797
+ B.value || f(x);
4798
4798
  }
4799
4799
  return () => v("input", {
4800
4800
  id: e.id ? e.id + "-textbox" : void 0,
@@ -4821,7 +4821,7 @@ function Ki(e, t, n) {
4821
4821
  onKeyup: m,
4822
4822
  onMousedown: d,
4823
4823
  onCompositionend: b,
4824
- onCompositionstart: O
4824
+ onCompositionstart: M
4825
4825
  }, null);
4826
4826
  }
4827
4827
  function er(e, t, n) {
@@ -4950,46 +4950,46 @@ const Rt = /* @__PURE__ */ oe({
4950
4950
  } = r, p = Ji(e, t, o, m, f, r), {
4951
4951
  onMouseEnterTextBox: w,
4952
4952
  onMouseLeaveTextBox: k
4953
- } = p, B = N(() => {
4954
- const D = {
4953
+ } = p, B = C(!1), M = N(() => {
4954
+ const V = {
4955
4955
  "f-button-edit": !0,
4956
4956
  "f-cmp-inputgroup": !0,
4957
4957
  "f-button-edit-nowrap": !e.wrapText
4958
4958
  };
4959
- return a.value && a.value.split(" ").reduce((z, Y) => (z[Y] = !0, z), D), D;
4960
- }), O = N(() => ({
4959
+ return a.value && a.value.split(" ").reduce((_, L) => (_[L] = !0, _), V), V;
4960
+ }), b = N(() => ({
4961
4961
  overflow: e.wrapText ? "hidden" : ""
4962
- })), b = N(() => ({
4962
+ })), y = N(() => ({
4963
4963
  paddingLeft: "3px",
4964
4964
  backgroundColor: "#fff"
4965
4965
  }));
4966
- function y() {
4966
+ function x() {
4967
4967
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
4968
4968
  return 0;
4969
- let D = 0;
4970
- const z = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4971
- return z && z.length && (D = z.map((Y) => Y.offsetTop).filter((Y) => Y > 20).length), D;
4969
+ let V = 0;
4970
+ const _ = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4971
+ return _ && _.length && (V = _.map((L) => L.offsetTop).filter((L) => L > 20).length), V;
4972
4972
  }
4973
- const F = C(y());
4973
+ const E = C(x());
4974
4974
  an(() => {
4975
- F.value = y();
4975
+ E.value = x();
4976
4976
  });
4977
- function M() {
4978
- return e.multiSelect && e.inputType === "tag" ? () => v(ot, null, [er(e, o, r)(), !!F.value && v("div", {
4977
+ function I() {
4978
+ return e.multiSelect && e.inputType === "tag" ? () => v(ot, null, [er(e, o, r)(), !!E.value && v("div", {
4979
4979
  class: "d-flex flex-row mr-2 more-tags",
4980
4980
  "more-tags": !0
4981
4981
  }, [v("span", {
4982
4982
  class: "multi--more-text"
4983
- }, [ie("+"), F.value])])]) : Ki(e, o, r);
4983
+ }, [ie("+"), E.value])])]) : Ki(e, o, r);
4984
4984
  }
4985
- let I = M();
4985
+ let R = I();
4986
4986
  Z([() => e.multiSelect, () => e.inputType], () => {
4987
- I = M();
4987
+ R = I();
4988
4988
  });
4989
4989
  const {
4990
- renderButtonGroup: R,
4991
- buttonHandleElement: x
4992
- } = tr(e, t, h, p), T = nr(e, t, l), S = C(i.value), E = {
4990
+ renderButtonGroup: O,
4991
+ buttonHandleElement: F
4992
+ } = tr(e, t, h, p), S = nr(e, t, l), T = C(i.value), P = {
4993
4993
  displayText: f,
4994
4994
  commitValue: d,
4995
4995
  elementRef: n,
@@ -4999,52 +4999,56 @@ const Rt = /* @__PURE__ */ oe({
4999
4999
  shouldPopupContent: i,
5000
5000
  togglePopup: c,
5001
5001
  openDialog: () => {
5002
- x.value && e.buttonBehavior === "Modal" && x.value.click();
5002
+ F.value && e.buttonBehavior === "Modal" && F.value.click();
5003
5003
  },
5004
5004
  getModal: () => {
5005
- var D;
5006
- return e.buttonBehavior === "Modal" ? (D = h.modalRef.value) == null ? void 0 : D.value : null;
5005
+ var V;
5006
+ return e.buttonBehavior === "Modal" ? (V = h.modalRef.value) == null ? void 0 : V.value : null;
5007
5007
  },
5008
5008
  getTextbox: () => {
5009
- var D;
5010
- return (D = n.value) == null ? void 0 : D.querySelector("input");
5009
+ var V;
5010
+ return (V = n.value) == null ? void 0 : V.querySelector("input");
5011
5011
  },
5012
5012
  forceClosePopup: () => {
5013
- S.value = !1;
5013
+ T.value = !1, B.value = !0, i.value = !1;
5014
5014
  }
5015
5015
  };
5016
5016
  return be(() => {
5017
- n.value.componentInstance = E, window.onresize = () => {
5017
+ n.value.componentInstance = P, window.onresize = () => {
5018
5018
  document.body.click();
5019
5019
  };
5020
5020
  }), Mn(() => {
5021
- var D;
5022
- window.onresize = null, (D = window[tt]) == null || D.delete(n.value);
5023
- }), t.expose(E), Z(() => i.value, async (D, z) => {
5024
- if (!D && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
5021
+ var V;
5022
+ window.onresize = null, (V = window[tt]) == null || V.delete(n.value);
5023
+ }), t.expose(P), Z(() => i.value, async (V, _) => {
5024
+ if (B.value) {
5025
+ T.value = V, B.value = !1;
5026
+ return;
5027
+ }
5028
+ if (!V && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
5025
5029
  try {
5026
- const Y = await e.beforeClosePopup();
5027
- S.value = !Y, i.value = !Y && !e.readonly;
5028
- } catch (Y) {
5029
- console.error("Error in beforeClosePopup:", Y), S.value = z, i.value = z;
5030
+ const L = await e.beforeClosePopup();
5031
+ T.value = !L, (!L || e.readonly) && (i.value = !0);
5032
+ } catch (L) {
5033
+ console.error("Error in beforeClosePopup:", L), T.value = _, i.value = _;
5030
5034
  }
5031
5035
  return;
5032
5036
  }
5033
- S.value = D;
5037
+ T.value = V;
5034
5038
  }), () => {
5035
- var D, z;
5039
+ var V, _;
5036
5040
  return v(ot, null, [v("div", kt(t.attrs, {
5037
5041
  ref: n,
5038
- class: B.value,
5042
+ class: M.value,
5039
5043
  id: e.id ? e.id : void 0,
5040
- style: O.value
5044
+ style: b.value
5041
5045
  }), [v("div", {
5042
5046
  id: e.id ? `${e.id}-input-group` : void 0,
5043
5047
  class: g.value,
5044
- style: b.value,
5048
+ style: y.value,
5045
5049
  onMouseenter: w,
5046
5050
  onMouseleave: k
5047
- }, [(z = (D = t.slots).precontent) == null ? void 0 : z.call(D), I(), R()])]), S.value && T()]);
5051
+ }, [(_ = (V = t.slots).precontent) == null ? void 0 : _.call(V), R(), O()])]), T.value && S()]);
5048
5052
  };
5049
5053
  }
5050
5054
  }), ar = "https://json-schema.org/draft/2020-12/schema", or = "https://farris-design.gitee.io/field-selector.schema.json", lr = "field-selector", ir = "A Farris Input Component", rr = "object", sr = {
@@ -5466,6 +5470,10 @@ const Rt = /* @__PURE__ */ oe({
5466
5470
  description: "启用高亮搜索",
5467
5471
  type: "boolean",
5468
5472
  default: !1
5473
+ },
5474
+ onChange: {
5475
+ description: "",
5476
+ type: "string"
5469
5477
  }
5470
5478
  }, gr = [
5471
5479
  "type"
@@ -5657,7 +5665,7 @@ const un = {
5657
5665
  popupOnClick: { type: Boolean, default: !0 }
5658
5666
  }, kr = Object.assign({}, un, {
5659
5667
  readonly: {}
5660
- }), aa = on(un, Cr, dr, wr), xr = {
5668
+ }), aa = on(un, Cr, dr, wr), Sr = {
5661
5669
  dataSource: { type: Array, default: [] },
5662
5670
  enableSearch: { type: Boolean, default: !1 },
5663
5671
  idField: { type: String, default: "id" },
@@ -5678,9 +5686,9 @@ const un = {
5678
5686
  },
5679
5687
  // 搜索启用高亮
5680
5688
  enableHighlightSearch: { type: Boolean, default: !0 }
5681
- }, Sr = /* @__PURE__ */ oe({
5689
+ }, xr = /* @__PURE__ */ oe({
5682
5690
  name: "FComboListContainer",
5683
- props: xr,
5691
+ props: Sr,
5684
5692
  emits: ["selectionChange"],
5685
5693
  setup(e, t) {
5686
5694
  const n = C(), a = C(e.dataSource), o = C([]), l = C(e.separator), i = C(e.width), u = C(e.maxHeight), s = C(String(e.selectedValues).split(l.value)), c = N(() => e.multiSelect), h = N(() => ({
@@ -5725,8 +5733,8 @@ const un = {
5725
5733
  const k = (p = s.value) == null ? void 0 : p[0];
5726
5734
  let B = k;
5727
5735
  if (!Ie(k)) {
5728
- const O = typeof k, b = typeof ((w = a.value[0]) == null ? void 0 : w[e.valueField || e.idField]);
5729
- b === "number" && O !== b && (B = Number(k)), b === "boolean" && O !== b && (B = k === "true" ? !0 : k === "false" ? !1 : k), g(B);
5736
+ const M = typeof k, b = typeof ((w = a.value[0]) == null ? void 0 : w[e.valueField || e.idField]);
5737
+ b === "number" && M !== b && (B = Number(k)), b === "boolean" && M !== b && (B = k === "true" ? !0 : k === "false" ? !1 : k), g(B);
5730
5738
  }
5731
5739
  }
5732
5740
  }), t.expose({
@@ -5756,12 +5764,12 @@ const un = {
5756
5764
  }
5757
5765
  });
5758
5766
  function Fr(e) {
5759
- const { t } = xt(), n = C(""), a = C(e.modelValue), o = C(e.data || []), l = C(e.editable);
5767
+ const { t } = St(), n = C(""), a = C(e.modelValue), o = C(e.data || []), l = C(e.editable);
5760
5768
  function i(r) {
5761
5769
  const m = e.multiSelect ? String(r).split(e.separator) : [String(r)], d = m.map((w) => [w, !0]), g = new Map(d);
5762
5770
  return o.value.filter((w) => g.has(String(w[e.valueField]))).sort((w, k) => {
5763
- const B = m.indexOf(w[e.valueField]), O = m.indexOf(k[e.valueField]);
5764
- return B - O;
5771
+ const B = m.indexOf(w[e.valueField]), M = m.indexOf(k[e.valueField]);
5772
+ return B - M;
5765
5773
  });
5766
5774
  }
5767
5775
  function u(r) {
@@ -5788,9 +5796,9 @@ function Fr(e) {
5788
5796
  const { url: r, method: m = "GET", headers: d = { "Content-Type": "application/json;charset=utf-8;" }, body: g = null } = e.remote, p = m.toLowerCase() === "get" ? { method: m, headers: d } : { method: m, headers: d, body: g };
5789
5797
  let w = !1;
5790
5798
  fetch(new Request(r, p)).then((k) => {
5791
- var O, b;
5799
+ var M, b;
5792
5800
  if (k.status === 200)
5793
- return w = !!((b = (O = k.headers) == null ? void 0 : O.get("content-type")) != null && b.includes("application/json")), w ? k.text() : k.json();
5801
+ return w = !!((b = (M = k.headers) == null ? void 0 : M.get("content-type")) != null && b.includes("application/json")), w ? k.text() : k.json();
5794
5802
  throw k.status === 405 ? new Error(t("comboList.remoteError")) : new Error(k.statusText);
5795
5803
  }).then((k) => {
5796
5804
  k.length && (o.value = w ? JSON.parse(k) : k);
@@ -5816,61 +5824,65 @@ const lt = /* @__PURE__ */ oe({
5816
5824
  setup(e, t) {
5817
5825
  const {
5818
5826
  t: n
5819
- } = xt(), a = C(), o = C(), l = C(e.disabled || e.readonly), i = C(e.enableClear), u = C(e.enableSearch), s = C(e.readonly), {
5827
+ } = St(), a = C(), o = C(), l = C(e.disabled || e.readonly), i = C(e.enableClear), u = C(e.enableSearch), s = C(e.readonly), {
5820
5828
  dataSource: c,
5821
5829
  displayText: h,
5822
5830
  editable: f,
5823
5831
  modelValue: r,
5824
- getItemsByValue: m
5825
- } = Fr(e), d = C(e.dropDownIcon);
5826
- d.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (d.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
5827
- const g = N(() => e.multiSelect), p = N(() => o.value ? o.value.elementRef.getBoundingClientRect().width : 0);
5828
- function w() {
5829
- !g.value && o.value && o.value.hidePopup();
5832
+ getSelectedItemsByDisplayText: m,
5833
+ getItemsByDisplayText: d,
5834
+ getItemsByValue: g
5835
+ } = Fr(e), p = C(e.dropDownIcon);
5836
+ p.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (p.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
5837
+ const w = N(() => e.multiSelect), k = N(() => o.value ? o.value.elementRef.getBoundingClientRect().width : 0);
5838
+ function B() {
5839
+ !w.value && o.value && o.value.hidePopup();
5830
5840
  }
5831
- function k(x) {
5832
- h.value = x.map((S) => S[e.textField]).join(e.separator);
5841
+ function M(S) {
5842
+ h.value = S.map((P) => P[e.textField]).join(e.separator);
5833
5843
  let T = "";
5834
- x.length === 1 ? T = x[0][e.valueField] : T = x.map((S) => S[e.valueField]).join(e.separator), r.value !== T && (r.value = T, t.emit("update:modelValue", r.value), t.emit("change", x, r.value));
5844
+ S.length === 1 ? T = S[0][e.valueField] : T = S.map((P) => P[e.valueField]).join(e.separator), r.value !== T && (r.value = T, t.emit("update:modelValue", r.value), t.emit("change", S, r.value));
5835
5845
  }
5836
- function B() {
5837
- const x = m(r.value);
5838
- k(x);
5846
+ function b() {
5847
+ const S = g(r.value);
5848
+ M(S);
5839
5849
  }
5840
- function O() {
5850
+ function y() {
5841
5851
  s.value || h.value;
5842
5852
  }
5843
- function b(x) {
5853
+ function x(S) {
5844
5854
  var T;
5845
5855
  r.value = "", (T = a.value) == null || T.activeRowById(""), t.emit("update:modelValue", ""), t.emit("change", [], ""), t.emit("clear");
5846
5856
  }
5847
- function y(x) {
5848
- var T, S;
5849
- e.enableSearch && e.enableHighlightSearch && ((T = a.value) == null || T.search(x)), (S = a.value) == null || S.activeRowById(x), t.emit("change", [r.value], r.value);
5857
+ function E(S) {
5858
+ var T, P;
5859
+ e.enableSearch && e.enableHighlightSearch && ((T = a.value) == null || T.search(S)), (P = a.value) == null || P.activeRowById(S), t.emit("change", [r.value], r.value);
5850
5860
  }
5851
- function F(x) {
5861
+ function I(S) {
5852
5862
  if (e.multiSelect) {
5853
- const T = m(r.value), E = T.map((D) => D[e.idField || e.valueField]).join(e.separator);
5854
- r.value !== E && (r.value = E, t.emit("update:modelValue", r.value), t.emit("change", T, r.value));
5863
+ const T = d(S);
5864
+ e.viewType;
5865
+ const V = T.map((_) => _[e.idField || e.valueField]).join(e.separator);
5866
+ r.value !== V && (r.value = V, t.emit("update:modelValue", r.value), t.emit("change", T, r.value));
5855
5867
  }
5856
5868
  }
5857
- function M() {
5869
+ function R() {
5858
5870
  return h.value;
5859
5871
  }
5860
- function I(x) {
5872
+ function O(S) {
5861
5873
  const {
5862
5874
  value: T
5863
- } = x.target;
5864
- y(T), t.emit("input", T);
5875
+ } = S.target;
5876
+ E(T), t.emit("input", T);
5865
5877
  }
5866
- function R() {
5878
+ function F() {
5867
5879
  o.value.hidePopup();
5868
5880
  }
5869
5881
  return t.expose({
5870
- getDisplayText: M,
5871
- hidePopup: R
5872
- }), Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([x, T, S, E, D]) => {
5873
- l.value = x, f.value = T, i.value = S, u.value = E, s.value = D;
5882
+ getDisplayText: R,
5883
+ hidePopup: F
5884
+ }), Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([S, T, P, V, _]) => {
5885
+ l.value = S, f.value = T, i.value = P, u.value = V, s.value = _;
5874
5886
  }), () => v(jn, {
5875
5887
  ref: o,
5876
5888
  id: e.id,
@@ -5878,7 +5890,7 @@ const lt = /* @__PURE__ */ oe({
5878
5890
  readonly: s.value,
5879
5891
  forcePlaceholder: e.forcePlaceholder,
5880
5892
  editable: f.value,
5881
- buttonContent: d.value,
5893
+ buttonContent: p.value,
5882
5894
  placeholder: e.placeholder === "请选择" ? n("comboList.placeholder") : e.placeholder,
5883
5895
  enableClear: i.value,
5884
5896
  maxLength: e.maxLength,
@@ -5887,14 +5899,14 @@ const lt = /* @__PURE__ */ oe({
5887
5899
  multiSelect: e.multiSelect,
5888
5900
  inputType: e.multiSelect ? e.viewType : "text",
5889
5901
  modelValue: h.value,
5890
- "onUpdate:modelValue": (x) => h.value = x,
5902
+ "onUpdate:modelValue": (S) => h.value = S,
5891
5903
  focusOnCreated: e.focusOnCreated,
5892
5904
  selectOnCreated: e.selectOnCreated,
5893
- onClear: b,
5894
- onClick: O,
5895
- onChange: F,
5896
- onBlur: B,
5897
- onInput: I,
5905
+ onClear: x,
5906
+ onClick: y,
5907
+ onChange: I,
5908
+ onBlur: b,
5909
+ onInput: O,
5898
5910
  beforeOpen: e.beforeOpen,
5899
5911
  placement: e.placement,
5900
5912
  popupMinWidth: e.minPanelWidth,
@@ -5902,7 +5914,7 @@ const lt = /* @__PURE__ */ oe({
5902
5914
  popupOnClick: e.popupOnClick,
5903
5915
  limitContentBySpace: !0
5904
5916
  }, {
5905
- default: () => [v(Sr, {
5917
+ default: () => [v(xr, {
5906
5918
  ref: a,
5907
5919
  idField: e.idField,
5908
5920
  valueField: e.valueField,
@@ -5915,9 +5927,9 @@ const lt = /* @__PURE__ */ oe({
5915
5927
  enableSearch: u.value,
5916
5928
  maxHeight: e.maxHeight,
5917
5929
  enableHighlightSearch: e.enableHighlightSearch,
5918
- width: e.fitEditor ? p.value : void 0,
5919
- onSelectionChange: (x) => {
5920
- k(x), w();
5930
+ width: e.fitEditor ? k.value : void 0,
5931
+ onSelectionChange: (S) => {
5932
+ M(S), B();
5921
5933
  }
5922
5934
  }, null)]
5923
5935
  });
@@ -5933,7 +5945,7 @@ class Tr extends Do {
5933
5945
  super(t, n);
5934
5946
  }
5935
5947
  getCommonEditorProperties(t) {
5936
- var n, a, o, l, i, u;
5948
+ var n, a, o;
5937
5949
  return {
5938
5950
  viewType: {
5939
5951
  visible: !!((n = t.editor) != null && n.multiSelect),
@@ -5967,14 +5979,15 @@ class Tr extends Do {
5967
5979
  title: "允许编辑",
5968
5980
  type: "boolean",
5969
5981
  refreshPanelAfterChanged: !0,
5970
- readonly: !!((l = t.editor) != null && l.multiSelect) && (((i = t.editor) == null ? void 0 : i.viewType) === "tag" || !t.editor.viewType)
5971
- },
5972
- enableHighlightSearch: {
5973
- visible: !!((u = t.editor) != null && u.editable),
5974
- description: "编辑状态下启用高亮搜索",
5975
- title: "启用高亮搜索",
5976
- type: "boolean"
5982
+ readonly: !0
5983
+ // readonly: !!propertyData.editor?.multiSelect && (propertyData.editor?.viewType === 'tag' || !propertyData.editor!.viewType)
5977
5984
  }
5985
+ // enableHighlightSearch: {
5986
+ // visible: !!propertyData.editor?.editable,
5987
+ // description: "编辑状态下启用高亮搜索",
5988
+ // title: "启用高亮搜索",
5989
+ // type: "boolean"
5990
+ // },
5978
5991
  };
5979
5992
  }
5980
5993
  getEditorProperties(t) {
@@ -6401,19 +6414,19 @@ function ra(e) {
6401
6414
  return o.value > 0 && (p.cursor = "n-resize"), p;
6402
6415
  });
6403
6416
  function h(p, w, k, B) {
6404
- const O = e.value;
6405
- if (O) {
6406
- const { left: b, right: y, width: F } = O.getBoundingClientRect();
6407
- let M = p.clientX - b;
6408
- B === "right" && (M = y - p.clientX), M > w && (M = w), M < k && (M = k), B === "right" && (M = F - M), a.value = M;
6417
+ const M = e.value;
6418
+ if (M) {
6419
+ const { left: b, right: y, width: x } = M.getBoundingClientRect();
6420
+ let E = p.clientX - b;
6421
+ B === "right" && (E = y - p.clientX), E > w && (E = w), E < k && (E = k), B === "right" && (E = x - E), a.value = E;
6409
6422
  }
6410
6423
  }
6411
6424
  function f(p, w, k, B) {
6412
- const O = e.value;
6413
- if (O) {
6414
- const { top: b, bottom: y, height: F } = O.getBoundingClientRect();
6415
- let M = p.clientY - b;
6416
- B === "bottom" && (M = y - p.clientY), M > w && (M = w), M < k && (M = k), B === "bottom" && (M = F - M), o.value = M;
6425
+ const M = e.value;
6426
+ if (M) {
6427
+ const { top: b, bottom: y, height: x } = M.getBoundingClientRect();
6428
+ let E = p.clientY - b;
6429
+ B === "bottom" && (E = y - p.clientY), E > w && (E = w), E < k && (E = k), B === "bottom" && (E = x - E), o.value = E;
6417
6430
  }
6418
6431
  }
6419
6432
  function r() {
@@ -6434,20 +6447,20 @@ function ra(e) {
6434
6447
  function d(p, w) {
6435
6448
  const k = r(), B = m();
6436
6449
  if (k && B) {
6437
- const O = B == null ? void 0 : B.right, b = B == null ? void 0 : B.left;
6450
+ const M = B == null ? void 0 : B.right, b = B == null ? void 0 : B.left;
6438
6451
  if (p === "left" && b)
6439
- return O ? k.width - O.clientWidth - w : k.width - w;
6440
- if (p === "right" && O)
6452
+ return M ? k.width - M.clientWidth - w : k.width - w;
6453
+ if (p === "right" && M)
6441
6454
  return b ? k.width - b.clientWidth - w : k.width - w;
6442
6455
  }
6443
6456
  }
6444
6457
  function g(p, w) {
6445
6458
  const k = r(), B = m();
6446
6459
  if (k && B) {
6447
- const O = B == null ? void 0 : B.bottom, b = B == null ? void 0 : B.top;
6460
+ const M = B == null ? void 0 : B.bottom, b = B == null ? void 0 : B.top;
6448
6461
  if (p === "top" && b)
6449
- return O ? k.height - O.clientHeight - w : k.height - w;
6450
- if (p === "bottom" && O)
6462
+ return M ? k.height - M.clientHeight - w : k.height - w;
6463
+ if (p === "bottom" && M)
6451
6464
  return b ? k.height - b.clientHeight - w : k.height - w;
6452
6465
  }
6453
6466
  }
@@ -6709,38 +6722,38 @@ function ua(e, t, n, a, o) {
6709
6722
  let g = "", p, w, k;
6710
6723
  function B(y) {
6711
6724
  if ((g === "left" || g === "right") && w) {
6712
- const { left: F } = w.getBoundingClientRect(), { width: M } = p.getBoundingClientRect(), I = y.clientX - F;
6713
- let R = g === "left" ? (M || 0) + (I - l.value) : (M || 0) - (I - l.value);
6725
+ const { left: x } = w.getBoundingClientRect(), { width: E } = p.getBoundingClientRect(), I = y.clientX - x;
6726
+ let R = g === "left" ? (E || 0) + (I - l.value) : (E || 0) - (I - l.value);
6714
6727
  R = n.value > 0 ? Math.max(n.value, R) : R;
6715
- const x = d(g, n.value);
6716
- x != null && (R = x > R ? R : x), e.value = R;
6728
+ const O = d(g, n.value);
6729
+ O != null && (R = O > R ? R : O), e.value = R;
6717
6730
  }
6718
6731
  if ((g === "top" || g === "bottom") && w) {
6719
- const { top: F } = w.getBoundingClientRect(), { height: M } = p.getBoundingClientRect(), I = y.clientY - F;
6720
- let R = g === "top" ? (M || 0) + (I - c.value) : (M || 0) - (I - c.value);
6732
+ const { top: x } = w.getBoundingClientRect(), { height: E } = p.getBoundingClientRect(), I = y.clientY - x;
6733
+ let R = g === "top" ? (E || 0) + (I - c.value) : (E || 0) - (I - c.value);
6721
6734
  R = a.value > 0 ? Math.max(a.value, R) : R;
6722
- const x = m(g, a.value);
6723
- x != null && (R = x > R ? R : x), t.value = R;
6735
+ const O = m(g, a.value);
6736
+ O != null && (R = O > R ? R : O), t.value = R;
6724
6737
  }
6725
6738
  i.value = 0, h.value = 0, l.value = -1, c.value = -1, u.value = !1, s.value = !1, document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", B), document.body.style.userSelect = "", g = "", p = null, w = null;
6726
6739
  }
6727
- function O(y, F, M) {
6728
- if (g = F, p = M, u.value = !0, w = y.composedPath().find((R) => (R.className || "").split(" ")[0] === "f-layout"), w) {
6729
- const { left: R } = w.getBoundingClientRect(), x = y.clientX - R;
6730
- i.value = x, l.value = x;
6731
- const T = d(g, n.value) || 0;
6732
- k = (S) => f(S, T, n.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", B), document.body.style.userSelect = "none";
6740
+ function M(y, x, E) {
6741
+ if (g = x, p = E, u.value = !0, w = y.composedPath().find((R) => (R.className || "").split(" ")[0] === "f-layout"), w) {
6742
+ const { left: R } = w.getBoundingClientRect(), O = y.clientX - R;
6743
+ i.value = O, l.value = O;
6744
+ const F = d(g, n.value) || 0;
6745
+ k = (S) => f(S, F, n.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", B), document.body.style.userSelect = "none";
6733
6746
  }
6734
6747
  }
6735
- function b(y, F, M) {
6736
- if (g = F, p = M, s.value = !0, w = y.composedPath().find((R) => (R.className || "").split(" ")[0] === "f-layout"), w) {
6748
+ function b(y, x, E) {
6749
+ if (g = x, p = E, s.value = !0, w = y.composedPath().find((R) => (R.className || "").split(" ")[0] === "f-layout"), w) {
6737
6750
  const { top: R } = w.getBoundingClientRect();
6738
6751
  h.value = y.clientY - R, c.value = y.clientY - R;
6739
- const x = m(g, a.value) || 0;
6740
- k = (T) => r(T, x, a.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", B), document.body.style.userSelect = "none";
6752
+ const O = m(g, a.value) || 0;
6753
+ k = (F) => r(F, O, a.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", B), document.body.style.userSelect = "none";
6741
6754
  }
6742
6755
  }
6743
- return { onClickHorizontalResizeBar: O, onClickVerticalResizeBar: b };
6756
+ return { onClickHorizontalResizeBar: M, onClickVerticalResizeBar: b };
6744
6757
  }
6745
6758
  const je = /* @__PURE__ */ oe({
6746
6759
  name: "FLayoutPane",
@@ -6772,15 +6785,15 @@ const je = /* @__PURE__ */ oe({
6772
6785
  "f-page-content-nav": c.value === "left" || c.value === "right",
6773
6786
  "f-page-content-main": c.value === "center"
6774
6787
  };
6775
- return e.customClass && String(e.customClass).split(" ").reduce((y, F) => (y[F] = !0, y), b), b;
6776
- }), O = N(() => {
6788
+ return e.customClass && String(e.customClass).split(" ").reduce((y, x) => (y[x] = !0, y), b), b;
6789
+ }), M = N(() => {
6777
6790
  const b = {};
6778
6791
  return (u.value && c.value === "left" || c.value === "right") && (b.width = `${u.value}px`), (i.value && c.value === "bottom" || c.value === "top") && (b.height = `${i.value}px`), e.visible || (b.display = "none"), b;
6779
6792
  });
6780
6793
  return () => v("div", {
6781
6794
  ref: s,
6782
6795
  class: B.value,
6783
- style: O.value,
6796
+ style: M.value,
6784
6797
  "data-position": c.value
6785
6798
  }, [t.slots.default && t.slots.default(), w.value && v("span", {
6786
6799
  class: p.value,
@@ -6829,7 +6842,7 @@ const as = /* @__PURE__ */ oe({
6829
6842
  function os(e, t) {
6830
6843
  const n = e.schema;
6831
6844
  function a(l) {
6832
- return !!xi().basalDragulaRuleForContainer(l);
6845
+ return !!Si().basalDragulaRuleForContainer(l);
6833
6846
  }
6834
6847
  function o() {
6835
6848
  const l = ["f-layout-pane"];
@@ -6869,8 +6882,8 @@ const ls = /* @__PURE__ */ oe({
6869
6882
  "f-page-content-nav": f.value === "left" || f.value === "right",
6870
6883
  "f-page-content-main": f.value === "center"
6871
6884
  };
6872
- return e.customClass && String(e.customClass).split(" ").reduce((y, F) => (y[F] = !0, y), b), b;
6873
- }), O = N(() => {
6885
+ return e.customClass && String(e.customClass).split(" ").reduce((y, x) => (y[x] = !0, y), b), b;
6886
+ }), M = N(() => {
6874
6887
  const b = {
6875
6888
  flex: "1"
6876
6889
  };
@@ -6879,7 +6892,7 @@ const ls = /* @__PURE__ */ oe({
6879
6892
  return () => v("div", {
6880
6893
  ref: n,
6881
6894
  class: B.value,
6882
- style: O.value
6895
+ style: M.value
6883
6896
  }, [v("div", {
6884
6897
  ref: a,
6885
6898
  class: "drag-container",
@@ -9111,7 +9124,7 @@ function ws(e, t, n) {
9111
9124
  writable: !0
9112
9125
  }) : e[t] = n, e;
9113
9126
  }
9114
- function xn(e, t) {
9127
+ function Sn(e, t) {
9115
9128
  var n = Object.keys(e);
9116
9129
  if (Object.getOwnPropertySymbols) {
9117
9130
  var a = Object.getOwnPropertySymbols(e);
@@ -9121,12 +9134,12 @@ function xn(e, t) {
9121
9134
  }
9122
9135
  return n;
9123
9136
  }
9124
- function Sn(e) {
9137
+ function xn(e) {
9125
9138
  for (var t = 1; t < arguments.length; t++) {
9126
9139
  var n = arguments[t] != null ? arguments[t] : {};
9127
- t % 2 ? xn(Object(n), !0).forEach(function(a) {
9140
+ t % 2 ? Sn(Object(n), !0).forEach(function(a) {
9128
9141
  ws(e, a, n[a]);
9129
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xn(Object(n)).forEach(function(a) {
9142
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Sn(Object(n)).forEach(function(a) {
9130
9143
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
9131
9144
  });
9132
9145
  }
@@ -9155,18 +9168,18 @@ function bt(e) {
9155
9168
  function Dt(e) {
9156
9169
  return {}.toString.call(e).includes("Object");
9157
9170
  }
9158
- function xs(e) {
9171
+ function Ss(e) {
9159
9172
  return !Object.keys(e).length;
9160
9173
  }
9161
9174
  function Ct(e) {
9162
9175
  return typeof e == "function";
9163
9176
  }
9164
- function Ss(e, t) {
9177
+ function xs(e, t) {
9165
9178
  return Object.prototype.hasOwnProperty.call(e, t);
9166
9179
  }
9167
9180
  function Fs(e, t) {
9168
9181
  return Dt(t) || Ye("changeType"), Object.keys(t).some(function(n) {
9169
- return !Ss(e, n);
9182
+ return !xs(e, n);
9170
9183
  }) && Ye("changeField"), t;
9171
9184
  }
9172
9185
  function Ts(e) {
@@ -9178,7 +9191,7 @@ function Bs(e) {
9178
9191
  }) && Ye("handlersType");
9179
9192
  }
9180
9193
  function Os(e) {
9181
- e || Ye("initialIsRequired"), Dt(e) || Ye("initialType"), xs(e) && Ye("initialContent");
9194
+ e || Ye("initialIsRequired"), Dt(e) || Ye("initialType"), Ss(e) && Ye("initialContent");
9182
9195
  }
9183
9196
  function Ms(e, t) {
9184
9197
  throw new Error(e[t] || e.default);
@@ -9220,7 +9233,7 @@ function Ps(e, t) {
9220
9233
  return Ct(t) ? t(e.current) : t;
9221
9234
  }
9222
9235
  function Ns(e, t) {
9223
- return e.current = Sn(Sn({}, e.current), t), t;
9236
+ return e.current = xn(xn({}, e.current), t), t;
9224
9237
  }
9225
9238
  function Is(e, t, n) {
9226
9239
  return Ct(t) ? t(e.current) : Object.keys(n).forEach(function(a) {
@@ -9312,7 +9325,7 @@ var Gs = js.create({
9312
9325
  resolve: null,
9313
9326
  reject: null,
9314
9327
  monaco: null
9315
- }), fa = vs(Gs, 2), St = fa[0], Lt = fa[1];
9328
+ }), fa = vs(Gs, 2), xt = fa[0], Lt = fa[1];
9316
9329
  function Us(e) {
9317
9330
  var t = Hs.config(e), n = t.monaco, a = ys(t, ["monaco"]);
9318
9331
  Lt(function(o) {
@@ -9323,7 +9336,7 @@ function Us(e) {
9323
9336
  });
9324
9337
  }
9325
9338
  function _s() {
9326
- var e = St(function(t) {
9339
+ var e = xt(function(t) {
9327
9340
  var n = t.monaco, a = t.isInitialized, o = t.resolve;
9328
9341
  return {
9329
9342
  monaco: n,
@@ -9350,7 +9363,7 @@ function Xs(e) {
9350
9363
  return e && (t.src = e), t;
9351
9364
  }
9352
9365
  function Js(e) {
9353
- var t = St(function(a) {
9366
+ var t = xt(function(a) {
9354
9367
  var o = a.config, l = a.reject;
9355
9368
  return {
9356
9369
  config: o,
@@ -9362,7 +9375,7 @@ function Js(e) {
9362
9375
  }, n.onerror = t.reject, n;
9363
9376
  }
9364
9377
  function Qs() {
9365
- var e = St(function(n) {
9378
+ var e = xt(function(n) {
9366
9379
  var a = n.config, o = n.resolve, l = n.reject;
9367
9380
  return {
9368
9381
  config: a,
@@ -9377,12 +9390,12 @@ function Qs() {
9377
9390
  });
9378
9391
  }
9379
9392
  function pa(e) {
9380
- St().monaco || Lt({
9393
+ xt().monaco || Lt({
9381
9394
  monaco: e
9382
9395
  });
9383
9396
  }
9384
9397
  function Zs() {
9385
- return St(function(e) {
9398
+ return xt(function(e) {
9386
9399
  var t = e.monaco;
9387
9400
  return t;
9388
9401
  });
@@ -9610,25 +9623,25 @@ const Ks = /* @__PURE__ */ oe({
9610
9623
  const n = C("dataEntity"), a = C(e.dataSource), {
9611
9624
  entities: o,
9612
9625
  variables: l
9613
- } = a.value, i = C(""), u = C((o == null ? void 0 : o.fields) || []), s = (S, E) => {
9626
+ } = a.value, i = C(""), u = C((o == null ? void 0 : o.fields) || []), s = (S, T) => {
9614
9627
  S.stopPropagation(), t.emit("fieldClick", {
9615
9628
  $event: S,
9616
- item: E.raw
9629
+ item: T.raw
9617
9630
  });
9618
- }, c = (S, E) => {
9619
- const D = `${E.raw.name} [${E.raw.bindingPath}]`;
9631
+ }, c = (S, T) => {
9632
+ const P = `${T.raw.name} [${T.raw.bindingPath}]`;
9620
9633
  return v("div", {
9621
9634
  class: "d-flex align-items-center w-100 entity-field",
9622
9635
  style: "justify-content: space-between;"
9623
9636
  }, [v("span", {
9624
- title: D,
9637
+ title: P,
9625
9638
  class: "f-utils-fill text-truncate"
9626
- }, [D]), v("button", {
9639
+ }, [P]), v("button", {
9627
9640
  title: "插入属性名称",
9628
9641
  class: "btn btn-link d-none",
9629
9642
  style: "width:24px;height:24px",
9630
- onClick: (z) => s(z, E),
9631
- onDblclick: (z) => z.stopPropagation()
9643
+ onClick: (V) => s(V, T),
9644
+ onDblclick: (V) => V.stopPropagation()
9632
9645
  }, [v("span", {
9633
9646
  class: "f-icon f-icon-new-edit",
9634
9647
  style: "font-size: 12px;"
@@ -9649,40 +9662,40 @@ const Ks = /* @__PURE__ */ oe({
9649
9662
  "f-icon f-icon-arrow-chevron-down": h.value[S],
9650
9663
  "f-icon f-icon-arrow-chevron-right": !h.value[S]
9651
9664
  })), p = N(() => (S) => {
9652
- var E;
9665
+ var T;
9653
9666
  return {
9654
9667
  "functions-item pl-2": !0,
9655
- selected: ((E = f.value) == null ? void 0 : E.key) === S.key
9668
+ selected: ((T = f.value) == null ? void 0 : T.key) === S.key
9656
9669
  };
9657
9670
  });
9658
- function w(S, E) {
9659
- S.stopPropagation(), h.value = h.value || {}, h.value[E] = !h.value[E];
9671
+ function w(S, T) {
9672
+ S.stopPropagation(), h.value = h.value || {}, h.value[T] = !h.value[T];
9660
9673
  }
9661
- function k(S, E) {
9662
- S.stopPropagation(), f.value = E;
9674
+ function k(S, T) {
9675
+ S.stopPropagation(), f.value = T;
9663
9676
  }
9664
- function B(S, E) {
9677
+ function B(S, T) {
9665
9678
  t.emit("variableItemDblClick", {
9666
9679
  $event: S,
9667
- item: E
9680
+ item: T
9668
9681
  });
9669
9682
  }
9670
- function O({
9683
+ function M({
9671
9684
  $event: S,
9672
- node: E
9685
+ node: T
9673
9686
  }) {
9674
9687
  t.emit("entityItemDblClick", {
9675
9688
  $event: S,
9676
- item: E.data,
9689
+ item: T.data,
9677
9690
  entityCode: o == null ? void 0 : o.entityCode,
9678
- parentCodes: E.data.parents.join(".")
9691
+ parentCodes: T.data.parents.join(".")
9679
9692
  });
9680
9693
  }
9681
9694
  function b() {
9682
9695
  return v(nu, {
9683
9696
  data: u.value,
9684
9697
  formatter: c,
9685
- onDblclickNode: O
9698
+ onDblclickNode: M
9686
9699
  }, null);
9687
9700
  }
9688
9701
  function y() {
@@ -9694,25 +9707,25 @@ const Ks = /* @__PURE__ */ oe({
9694
9707
  class: d.value(S)
9695
9708
  }, [v("div", {
9696
9709
  class: "functions-type-name pl-2 d-flex align-items-center",
9697
- onClick: (E) => {
9698
- w(E, S);
9710
+ onClick: (T) => {
9711
+ w(T, S);
9699
9712
  }
9700
9713
  }, [v("span", {
9701
9714
  class: g.value(S)
9702
9715
  }, null), l[S].name]), v("ul", {
9703
9716
  class: "pl-3 mr-2"
9704
- }, [l[S].items.map((E) => v("li", {
9705
- class: p.value(E),
9706
- onClick: (D) => k(D, E),
9707
- onDblclick: (D) => B(D, E)
9708
- }, [E.name]))])]))]);
9709
- }
9710
- function F(S, E) {
9711
- if (S.stopPropagation(), n.value === E) {
9717
+ }, [l[S].items.map((T) => v("li", {
9718
+ class: p.value(T),
9719
+ onClick: (P) => k(P, T),
9720
+ onDblclick: (P) => B(P, T)
9721
+ }, [T.name]))])]))]);
9722
+ }
9723
+ function x(S, T) {
9724
+ if (S.stopPropagation(), n.value === T) {
9712
9725
  n.value = "";
9713
9726
  return;
9714
9727
  }
9715
- n.value = E;
9728
+ n.value = T;
9716
9729
  }
9717
9730
  be(() => {
9718
9731
  if (l) {
@@ -9720,32 +9733,32 @@ const Ks = /* @__PURE__ */ oe({
9720
9733
  h.value[S] = !0;
9721
9734
  }
9722
9735
  });
9723
- function M(S, E) {
9724
- const D = S.children.map((Y) => M(Y, E)).filter((Y) => Y !== null);
9725
- return S.data.name.toLowerCase().includes(E.toLowerCase()) || S.data.bindingPath.toLowerCase().includes(E.toLowerCase()) ? {
9736
+ function E(S, T) {
9737
+ const P = S.children.map((_) => E(_, T)).filter((_) => _ !== null);
9738
+ return S.data.name.toLowerCase().includes(T.toLowerCase()) || S.data.bindingPath.toLowerCase().includes(T.toLowerCase()) ? {
9726
9739
  data: {
9727
9740
  ...S.data
9728
9741
  },
9729
9742
  children: S.children
9730
9743
  // 注意这里保留原始子节点
9731
- } : D.length > 0 ? {
9744
+ } : P.length > 0 ? {
9732
9745
  data: {
9733
9746
  ...S.data
9734
9747
  },
9735
- children: D
9748
+ children: P
9736
9749
  } : null;
9737
9750
  }
9738
- function I(S, E) {
9739
- return S.map((D) => M(D, E)).filter((D) => D !== null);
9751
+ function I(S, T) {
9752
+ return S.map((P) => E(P, T)).filter((P) => P !== null);
9740
9753
  }
9741
9754
  function R() {
9742
9755
  const S = I((o == null ? void 0 : o.fields) || [], i.value);
9743
9756
  u.value = S;
9744
9757
  }
9745
- function x() {
9758
+ function O() {
9746
9759
  u.value = (o == null ? void 0 : o.fields) || [];
9747
9760
  }
9748
- function T(S) {
9761
+ function F(S) {
9749
9762
  S.key === "Enter" && R();
9750
9763
  }
9751
9764
  return () => v("div", {
@@ -9756,7 +9769,7 @@ const Ks = /* @__PURE__ */ oe({
9756
9769
  class: r.value("dataEntity")
9757
9770
  }, [v("div", {
9758
9771
  class: "title px-2 d-flex align-items-center",
9759
- onClick: (S) => F(S, "dataEntity")
9772
+ onClick: (S) => x(S, "dataEntity")
9760
9773
  }, [ie("数据实体"), v("span", {
9761
9774
  class: m.value("dataEntity")
9762
9775
  }, null)]), v("div", {
@@ -9772,13 +9785,13 @@ const Ks = /* @__PURE__ */ oe({
9772
9785
  modelValue: i.value,
9773
9786
  "onUpdate:modelValue": (S) => i.value = S,
9774
9787
  onClickButton: R,
9775
- onClear: x,
9776
- onKeyup: T
9788
+ onClear: O,
9789
+ onKeyup: F
9777
9790
  }, null)]), b()])]), v("li", {
9778
9791
  class: r.value("variables")
9779
9792
  }, [v("div", {
9780
9793
  class: "title px-2 d-flex align-items-center",
9781
- onClick: (S) => F(S, "variables")
9794
+ onClick: (S) => x(S, "variables")
9782
9795
  }, [ie("变量"), v("span", {
9783
9796
  class: m.value("variables")
9784
9797
  }, null)]), v("div", {
@@ -9821,7 +9834,7 @@ const Ks = /* @__PURE__ */ oe({
9821
9834
  };
9822
9835
  }), r = C(Object.keys(s.value));
9823
9836
  Z(() => e.functionItems, (b) => {
9824
- s.value = b, r.value = Object.keys(s.value), i.value && (l.value = r.value.reduce((y, F) => (y[F] = !0, y), {}));
9837
+ s.value = b, r.value = Object.keys(s.value), i.value && (l.value = r.value.reduce((y, x) => (y[x] = !0, y), {}));
9825
9838
  });
9826
9839
  function m(b) {
9827
9840
  b || (b = a.value);
@@ -9850,12 +9863,12 @@ const Ks = /* @__PURE__ */ oe({
9850
9863
  item: y
9851
9864
  });
9852
9865
  }
9853
- Z(() => a.value, (b, y, F) => {
9866
+ Z(() => a.value, (b, y, x) => {
9854
9867
  if (b) {
9855
- const M = setTimeout(() => {
9868
+ const E = setTimeout(() => {
9856
9869
  m(b);
9857
9870
  }, 200);
9858
- F(() => clearTimeout(M));
9871
+ x(() => clearTimeout(E));
9859
9872
  }
9860
9873
  });
9861
9874
  function w() {
@@ -9867,7 +9880,7 @@ const Ks = /* @__PURE__ */ oe({
9867
9880
  function B(b) {
9868
9881
  b.key === "Enter" && w();
9869
9882
  }
9870
- function O() {
9883
+ function M() {
9871
9884
  return r.value.length ? r.value.map((b) => v("li", {
9872
9885
  "function-type": b,
9873
9886
  class: c.value(b)
@@ -9884,8 +9897,8 @@ const Ks = /* @__PURE__ */ oe({
9884
9897
  if (y.visible !== !1)
9885
9898
  return v("li", {
9886
9899
  class: f.value(y),
9887
- onClick: (F) => g(F, y),
9888
- onDblclick: (F) => p(F, y)
9900
+ onClick: (x) => g(x, y),
9901
+ onDblclick: (x) => p(x, y)
9889
9902
  }, [b === "advanced" ? y.key : y.name]);
9890
9903
  })])])) : v("li", {
9891
9904
  class: "empty-message"
@@ -9925,7 +9938,7 @@ const Ks = /* @__PURE__ */ oe({
9925
9938
  default: () => [v("ul", {
9926
9939
  class: "w-100 functions-list",
9927
9940
  style: "user-select: none"
9928
- }, [O()])]
9941
+ }, [M()])]
9929
9942
  }), v(je, {
9930
9943
  "custom-class": "position-relative",
9931
9944
  position: "bottom",
@@ -10001,8 +10014,8 @@ function ru(e, t, n) {
10001
10014
  if (a.value) {
10002
10015
  let w = Object.keys(p);
10003
10016
  const { types: k, functions: B } = a.value;
10004
- return k && k.length && (w = w.filter((O) => k.includes(O))), B && B.length && Object.values(p).forEach((O) => {
10005
- O.items.forEach((b) => {
10017
+ return k && k.length && (w = w.filter((M) => k.includes(M))), B && B.length && Object.values(p).forEach((M) => {
10018
+ M.items.forEach((b) => {
10006
10019
  B.includes(b.name) && (b.visible = !1);
10007
10020
  });
10008
10021
  }), p;
@@ -10040,20 +10053,20 @@ function ru(e, t, n) {
10040
10053
  if (!p)
10041
10054
  return "";
10042
10055
  const w = o(p), k = l(n, "name2key");
10043
- for (let O = 0; O < w.length; O++) {
10056
+ for (let M = 0; M < w.length; M++) {
10044
10057
  let b = 0;
10045
- if (b === 0 && k && w[O].length > 2 && w[O][0] === '"' && w[O][w[O].length - 1] === '"') {
10046
- const y = w[O].substring(1, w[O].length - 1);
10047
- if (k.has(y) && w[O - 1] === "(" && w[O + 1] === ")") {
10048
- const F = k.get(y);
10049
- F !== void 0 && (w[O] = `"${F}"`, b = 1);
10058
+ if (b === 0 && k && w[M].length > 2 && w[M][0] === '"' && w[M][w[M].length - 1] === '"') {
10059
+ const y = w[M].substring(1, w[M].length - 1);
10060
+ if (k.has(y) && w[M - 1] === "(" && w[M + 1] === ")") {
10061
+ const x = k.get(y);
10062
+ x !== void 0 && (w[M] = `"${x}"`, b = 1);
10050
10063
  }
10051
10064
  }
10052
10065
  if (b === 0) {
10053
- const y = Object.values(t).map((F) => F.items).flat();
10054
- for (let F = 0; F < y.length; F++)
10055
- if (w[O] === y[F].name) {
10056
- w[O] = y[F].keyFront + "." + y[F].key, b = 1;
10066
+ const y = Object.values(t).map((x) => x.items).flat();
10067
+ for (let x = 0; x < y.length; x++)
10068
+ if (w[M] === y[x].name) {
10069
+ w[M] = y[x].keyFront + "." + y[x].key, b = 1;
10057
10070
  break;
10058
10071
  }
10059
10072
  }
@@ -10062,38 +10075,38 @@ function ru(e, t, n) {
10062
10075
  return JSON.stringify({ expr: B, sexpr: "" });
10063
10076
  }
10064
10077
  function m(p, w, k, B) {
10065
- let O = "";
10078
+ let M = "";
10066
10079
  const b = [];
10067
10080
  for (const y of w)
10068
10081
  y.keyFront === "Math" && b.push(y.key);
10069
10082
  for (let y = 0; y < p.length; y++) {
10070
10083
  if (p[y] === "Math" && p[y + 1] === "." && !b.includes(p[y + 2])) {
10071
- O = O + p[y] + p[y + 1] + p[y + 2], y = y + 2;
10084
+ M = M + p[y] + p[y + 1] + p[y + 2], y = y + 2;
10072
10085
  continue;
10073
10086
  }
10074
10087
  if (B.includes(p[y]) && p[y + 1] === ".") {
10075
10088
  y = y + 1;
10076
10089
  continue;
10077
10090
  } else {
10078
- let F = 0;
10079
- if (F === 0 && p[y].length > 2 && p[y][0] === '"' && p[y][p[y].length - 1] === '"') {
10080
- const M = p[y].substring(1, p[y].length - 1);
10081
- if (k.has(M) && p[y - 1] === "(" && p[y + 1] === ")") {
10082
- const I = k.get(M);
10083
- I !== void 0 && (O = O + `"${I}"`, F = 1);
10091
+ let x = 0;
10092
+ if (x === 0 && p[y].length > 2 && p[y][0] === '"' && p[y][p[y].length - 1] === '"') {
10093
+ const E = p[y].substring(1, p[y].length - 1);
10094
+ if (k.has(E) && p[y - 1] === "(" && p[y + 1] === ")") {
10095
+ const I = k.get(E);
10096
+ I !== void 0 && (M = M + `"${I}"`, x = 1);
10084
10097
  }
10085
10098
  }
10086
- if (F === 0) {
10087
- for (let M = 0; M < w.length; M++)
10088
- if (p[y] === w[M].key && w[M].type.toLowerCase() !== "advanced") {
10089
- O = O + w[M].name, F = 1;
10099
+ if (x === 0) {
10100
+ for (let E = 0; E < w.length; E++)
10101
+ if (p[y] === w[E].key && w[E].type.toLowerCase() !== "advanced") {
10102
+ M = M + w[E].name, x = 1;
10090
10103
  break;
10091
10104
  }
10092
10105
  }
10093
- F === 0 && (O = O + p[y]);
10106
+ x === 0 && (M = M + p[y]);
10094
10107
  }
10095
10108
  }
10096
- return O;
10109
+ return M;
10097
10110
  }
10098
10111
  function d(p) {
10099
10112
  if (!p)
@@ -10141,7 +10154,7 @@ const uu = /* @__PURE__ */ oe({
10141
10154
  props: Mr,
10142
10155
  emits: [],
10143
10156
  setup(e, t) {
10144
- var x;
10157
+ var O;
10145
10158
  const n = C(), a = C(e.validateMessage), o = C(e.messageType), l = C(e.modelValue), i = C(), u = [{
10146
10159
  label: "提示",
10147
10160
  value: "info"
@@ -10162,82 +10175,82 @@ const uu = /* @__PURE__ */ oe({
10162
10175
  onFunctionSearch: g
10163
10176
  } = su(e, d);
10164
10177
  function p({
10165
- $event: T,
10178
+ $event: F,
10166
10179
  item: S
10167
10180
  }) {
10168
- var D;
10169
- const E = s(S);
10170
- (D = i.value) == null || D.insertText(E);
10181
+ var P;
10182
+ const T = s(S);
10183
+ (P = i.value) == null || P.insertText(T);
10171
10184
  }
10172
10185
  function w({
10173
- $event: T,
10186
+ $event: F,
10174
10187
  item: S
10175
10188
  }) {
10176
- var D;
10177
- const E = c(S);
10178
- (D = i.value) == null || D.insertText(E);
10179
- }
10180
- function k(T) {
10181
- return T.reduce((S, E) => {
10182
- var D;
10183
- return S.push(E.data), (D = E.children) != null && D.length && S.push(...k(E.children)), S;
10189
+ var P;
10190
+ const T = c(S);
10191
+ (P = i.value) == null || P.insertText(T);
10192
+ }
10193
+ function k(F) {
10194
+ return F.reduce((S, T) => {
10195
+ var P;
10196
+ return S.push(T.data), (P = T.children) != null && P.length && S.push(...k(T.children)), S;
10184
10197
  }, []);
10185
10198
  }
10186
- const B = k(((x = e == null ? void 0 : e.entities) == null ? void 0 : x.fields) || []);
10187
- function O(T) {
10188
- return T.map((S) => {
10189
- const E = B.find((D) => D.bindingPath === S);
10190
- return E && E.type === "entity" ? `${S}[0]` : S;
10199
+ const B = k(((O = e == null ? void 0 : e.entities) == null ? void 0 : O.fields) || []);
10200
+ function M(F) {
10201
+ return F.map((S) => {
10202
+ const T = B.find((P) => P.bindingPath === S);
10203
+ return T && T.type === "entity" ? `${S}[0]` : S;
10191
10204
  }).join(".");
10192
10205
  }
10193
10206
  function b({
10194
- $event: T,
10207
+ $event: F,
10195
10208
  item: S,
10196
- parentCodes: E,
10197
- entityCode: D
10209
+ parentCodes: T,
10210
+ entityCode: P
10198
10211
  }) {
10199
- var $;
10200
- const z = f(S);
10201
- E = e.isServerSide ? O(S.parents) : E;
10202
- let Y = `${E}.${z}`;
10203
- D === z && (Y = z), ($ = i.value) == null || $.insertText(`${Y}`);
10212
+ var L;
10213
+ const V = f(S);
10214
+ T = e.isServerSide ? M(S.parents) : T;
10215
+ let _ = `${T}.${V}`;
10216
+ P === V && (_ = V), (L = i.value) == null || L.insertText(`${_}`);
10204
10217
  }
10205
10218
  function y({
10206
- $event: T,
10219
+ $event: F,
10207
10220
  item: S
10208
10221
  }) {
10209
- var D;
10210
- const E = f(S);
10211
- (D = i.value) == null || D.insertText(`${E}`);
10222
+ var P;
10223
+ const T = f(S);
10224
+ (P = i.value) == null || P.insertText(`${T}`);
10212
10225
  }
10213
- function F() {
10214
- var T;
10215
- return (T = i.value) == null ? void 0 : T.getContent();
10226
+ function x() {
10227
+ var F;
10228
+ return (F = i.value) == null ? void 0 : F.getContent();
10216
10229
  }
10217
- function M() {
10230
+ function E() {
10218
10231
  var S;
10219
- const T = (S = i.value) == null ? void 0 : S.getContent();
10232
+ const F = (S = i.value) == null ? void 0 : S.getContent();
10220
10233
  return {
10221
- value: r(T),
10234
+ value: r(F),
10222
10235
  message: a.value,
10223
10236
  messageType: o.value
10224
10237
  };
10225
10238
  }
10226
10239
  const I = C("");
10227
10240
  function R() {
10228
- var T;
10229
- (T = i.value) == null || T.clearText();
10241
+ var F;
10242
+ (F = i.value) == null || F.clearText();
10230
10243
  }
10231
10244
  return be(async () => {
10232
10245
  if (l.value) {
10233
- const T = JSON.parse(l.value), {
10246
+ const F = JSON.parse(l.value), {
10234
10247
  expr: S
10235
- } = T;
10248
+ } = F;
10236
10249
  S && (I.value = await m(S) || "");
10237
10250
  }
10238
10251
  }), t.expose({
10239
- getExpressionContext: F,
10240
- getExpressionValue: M,
10252
+ getExpressionContext: x,
10253
+ getExpressionValue: E,
10241
10254
  resetExpression: R
10242
10255
  }), () => v("div", {
10243
10256
  ref: n,
@@ -10263,7 +10276,7 @@ const uu = /* @__PURE__ */ oe({
10263
10276
  class: "f-utils-fill my-2 ml-1"
10264
10277
  }, [v(Ks, {
10265
10278
  modelValue: I.value,
10266
- "onUpdate:modelValue": (T) => I.value = T,
10279
+ "onUpdate:modelValue": (F) => I.value = F,
10267
10280
  ref: i
10268
10281
  }, null)]), e.showMessage && v("div", {
10269
10282
  class: "d-flex flex-column p-1",
@@ -10274,7 +10287,7 @@ const uu = /* @__PURE__ */ oe({
10274
10287
  style: "width: 75px",
10275
10288
  data: u,
10276
10289
  modelValue: o.value,
10277
- "onUpdate:modelValue": (T) => o.value = T,
10290
+ "onUpdate:modelValue": (F) => o.value = F,
10278
10291
  textField: "label",
10279
10292
  valueField: "value",
10280
10293
  idField: "value",
@@ -10282,7 +10295,7 @@ const uu = /* @__PURE__ */ oe({
10282
10295
  minPanelWidth: 130,
10283
10296
  placement: "auto"
10284
10297
  }, null)]), On(v("textarea", {
10285
- "onUpdate:modelValue": (T) => a.value = T,
10298
+ "onUpdate:modelValue": (F) => a.value = F,
10286
10299
  class: "form-control",
10287
10300
  style: "resize:none;border:none;outline:1px solid var(--f-neutral-04);"
10288
10301
  }, null), [[Ra, a.value]])])]
@@ -10531,11 +10544,11 @@ const gu = /* @__PURE__ */ oe({
10531
10544
  if (typeof k == "object") {
10532
10545
  const {
10533
10546
  canClose: B,
10534
- message: O
10547
+ message: M
10535
10548
  } = k;
10536
10549
  if (!B)
10537
- return O && (n == null || n.error({
10538
- message: O
10550
+ return M && (n == null || n.error({
10551
+ message: M
10539
10552
  })), !1;
10540
10553
  }
10541
10554
  }
@@ -10695,7 +10708,7 @@ function va(e) {
10695
10708
  }
10696
10709
  const wu = /* @__PURE__ */ new Map([
10697
10710
  ["appearance", jt]
10698
- ]), ku = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-design.gitee.io/combo-list.schema.json", Su = "combo-tree", Fu = "A Farris Input Component", Tu = "object", Bu = {
10711
+ ]), ku = "https://json-schema.org/draft/2020-12/schema", Su = "https://farris-design.gitee.io/combo-list.schema.json", xu = "combo-tree", Fu = "A Farris Input Component", Tu = "object", Bu = {
10699
10712
  id: {
10700
10713
  description: "The unique identifier for a combo list",
10701
10714
  type: "string"
@@ -10853,8 +10866,8 @@ const wu = /* @__PURE__ */ new Map([
10853
10866
  "type"
10854
10867
  ], Mu = {
10855
10868
  $schema: ku,
10856
- $id: xu,
10857
- title: Su,
10869
+ $id: Su,
10870
+ title: xu,
10858
10871
  description: Fu,
10859
10872
  type: Tu,
10860
10873
  properties: Bu,
@@ -11227,54 +11240,55 @@ const Pt = /* @__PURE__ */ oe({
11227
11240
  displayText: r,
11228
11241
  editable: m,
11229
11242
  modelValue: d,
11230
- flatTreeNodes: g
11231
- } = Iu(e), p = N(() => e.multiSelect);
11243
+ getSelectedItemsByDisplayText: g,
11244
+ flatTreeNodes: p
11245
+ } = Iu(e), w = N(() => e.multiSelect);
11232
11246
  N(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
11233
- const w = N(() => {
11234
- var T;
11235
- const x = (T = n.value) == null ? void 0 : T.popoverRef;
11236
- return x ? x.shown : !1;
11247
+ const k = N(() => {
11248
+ var S;
11249
+ const F = (S = n.value) == null ? void 0 : S.popoverRef;
11250
+ return F ? F.shown : !1;
11237
11251
  }), {
11238
- onValueChange: k,
11239
- resetDataSource: B
11252
+ onValueChange: B,
11253
+ resetDataSource: M
11240
11254
  } = ju({
11241
11255
  comboEditorRef: n,
11242
11256
  dataSource: f,
11243
11257
  searchFields: u,
11244
11258
  originalValue: s,
11245
- showPopover: w,
11246
- flatTreeNodes: g
11259
+ showPopover: k,
11260
+ flatTreeNodes: p
11247
11261
  }, e.idField);
11248
- function O() {
11249
- !p.value && n.value && n.value.hidePopup();
11262
+ function b() {
11263
+ !w.value && n.value && n.value.hidePopup();
11250
11264
  }
11251
- const b = (x) => e.displayFormatter ? e.displayFormatter(x) : x.map((T) => T[e.textField]).join(e.separator);
11252
- function y(x = []) {
11253
- if (!p.value)
11254
- r.value = b(x), d.value = x.map((T) => T[e.valueField]).join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", x, d.value);
11265
+ const y = (F) => e.displayFormatter ? e.displayFormatter(F) : F.map((S) => S[e.textField]).join(e.separator);
11266
+ function x(F = []) {
11267
+ if (!w.value)
11268
+ r.value = y(F), d.value = F.map((S) => S[e.valueField]).join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", F, d.value);
11255
11269
  else {
11256
- const T = Object.keys(h), S = Object.values(h);
11257
- r.value = b(S), d.value = T.join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", S, d.value);
11270
+ const S = Object.keys(h), T = Object.values(h);
11271
+ r.value = y(T), d.value = S.join(e.separator), t.emit("update:modelValue", d.value), t.emit("change", T, d.value);
11258
11272
  }
11259
- O();
11273
+ b();
11260
11274
  }
11261
- function F(x) {
11262
- var T;
11263
- d.value = "", w.value && ((T = n.value) == null || T.hidePopup()), t.emit("update:modelValue", ""), t.emit("change", null, d.value), t.emit("clear");
11275
+ function E(F) {
11276
+ var S;
11277
+ d.value = "", k.value && ((S = n.value) == null || S.hidePopup()), t.emit("update:modelValue", ""), t.emit("change", null, d.value), t.emit("clear");
11264
11278
  }
11265
- function M(x) {
11266
- p.value && (delete h[x.id], y());
11279
+ function I(F) {
11280
+ w.value && (delete h[F.id], x());
11267
11281
  }
11268
- function I(x) {
11269
- p.value && (h[x.id] = x.data, y());
11282
+ function R(F) {
11283
+ w.value && (h[F.id] = F.data, x());
11270
11284
  }
11271
- Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([x, T, S, E, D]) => {
11272
- a.value = x, m.value = T, o.value = S, l.value = E, i.value = D;
11285
+ Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([F, S, T, P, V]) => {
11286
+ a.value = F, m.value = S, o.value = T, l.value = P, i.value = V;
11273
11287
  });
11274
- const R = () => {
11275
- if (s.value = Le(f.value), p.value && d.value) {
11276
- const x = [];
11277
- g(f.value, x), d.value.split(e.separator).reduce((T, S) => (T[S] = x.find((E) => E.id === S), T), h);
11288
+ const O = () => {
11289
+ if (s.value = Le(f.value), w.value && d.value) {
11290
+ const F = [];
11291
+ p(f.value, F), d.value.split(e.separator).reduce((S, T) => (S[T] = F.find((P) => P.id === T), S), h);
11278
11292
  }
11279
11293
  };
11280
11294
  return () => v(jn, {
@@ -11293,16 +11307,16 @@ const Pt = /* @__PURE__ */ oe({
11293
11307
  inputType: e.viewType,
11294
11308
  popupOnClick: !0,
11295
11309
  modelValue: r.value,
11296
- "onUpdate:modelValue": (x) => r.value = x,
11297
- onClear: F,
11298
- onInput: k,
11310
+ "onUpdate:modelValue": (F) => r.value = F,
11311
+ onClear: E,
11312
+ onInput: B,
11299
11313
  focusOnCreated: e.focusOnCreated,
11300
11314
  selectOnCreated: e.selectOnCreated,
11301
- beforeOpen: R,
11315
+ beforeOpen: O,
11302
11316
  placement: e.placement,
11303
11317
  popupMinWidth: e.minPanelWidth
11304
11318
  }, {
11305
- default: () => [w.value && v(Nu, {
11319
+ default: () => [k.value && v(Nu, {
11306
11320
  ref: c,
11307
11321
  maxHeight: e.maxHeight,
11308
11322
  multiSelect: e.multiSelect,
@@ -11313,15 +11327,15 @@ const Pt = /* @__PURE__ */ oe({
11313
11327
  titleField: e.titleField,
11314
11328
  data: s.value,
11315
11329
  selectedValues: d.value,
11316
- onSelectionChange: y,
11330
+ onSelectionChange: x,
11317
11331
  formatter: e.formatter,
11318
11332
  editorParams: e.editorParams,
11319
11333
  repositoryToken: e.repositoryToken,
11320
11334
  customRowStatus: e.customRowStatus,
11321
- searchHandler: k,
11322
- onUnSelectItem: M,
11323
- onSelectItem: I,
11324
- onClearSearch: B
11335
+ searchHandler: B,
11336
+ onUnSelectItem: I,
11337
+ onSelectItem: R,
11338
+ onClearSearch: M
11325
11339
  }, null)]
11326
11340
  });
11327
11341
  }
@@ -11411,14 +11425,14 @@ const Ru = /* @__PURE__ */ oe({
11411
11425
  itemIntoView: g
11412
11426
  } = ba(e, t, s), p = C(e.expressionOptions || {});
11413
11427
  function w(B) {
11414
- var O, b;
11428
+ var M, b;
11415
11429
  switch (B.expresstype) {
11416
11430
  case Re.Variable:
11417
11431
  return v(qa, {
11418
11432
  modelValue: B.value,
11419
11433
  "onUpdate:modelValue": (y) => B.value = y,
11420
11434
  showOutline: !1,
11421
- fieldData: (O = e.formContextData) == null ? void 0 : O.fieldData,
11435
+ fieldData: (M = e.formContextData) == null ? void 0 : M.fieldData,
11422
11436
  varData: (b = e.formContextData) == null ? void 0 : b.varData
11423
11437
  }, null);
11424
11438
  case Re.Expression:
@@ -11437,9 +11451,9 @@ const Ru = /* @__PURE__ */ oe({
11437
11451
  }, null);
11438
11452
  }
11439
11453
  }
11440
- function k(B, O, b) {
11454
+ function k(B, M, b) {
11441
11455
  return v(lt, {
11442
- data: O,
11456
+ data: M,
11443
11457
  modelValue: B[b],
11444
11458
  "onUpdate:modelValue": (y) => B[b] = y,
11445
11459
  textField: "label",
@@ -11478,24 +11492,24 @@ const Ru = /* @__PURE__ */ oe({
11478
11492
  style: "width: 60px"
11479
11493
  }, [v("b", null, [ie("关系")])])])]), v("tbody", {
11480
11494
  ref: s
11481
- }, [c.value.map((B, O) => v("tr", {
11482
- index: O,
11483
- class: d.value(O),
11484
- onClick: (b) => m(B, O)
11495
+ }, [c.value.map((B, M) => v("tr", {
11496
+ index: M,
11497
+ class: d.value(M),
11498
+ onClick: (b) => m(B, M)
11485
11499
  }, [v("td", {
11486
11500
  style: "text-overflow: unset;",
11487
11501
  align: "center",
11488
11502
  class: "px-1"
11489
11503
  }, [v("button", {
11490
11504
  title: "插入",
11491
- onClick: (b) => f(O, b),
11505
+ onClick: (b) => f(M, b),
11492
11506
  type: "button",
11493
11507
  class: "btn btn-link p-1 mr-0"
11494
11508
  }, [v("span", {
11495
11509
  class: "f-icon f-icon-plus"
11496
11510
  }, null)]), v("button", {
11497
11511
  title: "移除",
11498
- onClick: (b) => r(O, b),
11512
+ onClick: (b) => r(M, b),
11499
11513
  type: "button",
11500
11514
  class: "btn btn-link p-1 m-0"
11501
11515
  }, [v("span", {
@@ -11696,19 +11710,19 @@ function $u(e, t) {
11696
11710
  function h() {
11697
11711
  if (e.editorType === "filter")
11698
11712
  for (let y = 0; y < t.value.length - 1; y++) {
11699
- const F = t.value[y];
11700
- (F.relation === ct.Empty || !F.relation) && (F.relation = ct.And);
11713
+ const x = t.value[y];
11714
+ (x.relation === ct.Empty || !x.relation) && (x.relation = ct.And);
11701
11715
  }
11702
11716
  }
11703
11717
  function f() {
11704
11718
  const y = Object.assign({}, u);
11705
11719
  t.value = [...t.value, y];
11706
- const F = t.value.length - 1;
11707
- n.value = F, h();
11720
+ const x = t.value.length - 1;
11721
+ n.value = x, h();
11708
11722
  }
11709
11723
  function r({ index: y }) {
11710
- const F = Object.assign({}, u);
11711
- e.insertType === "above" ? y === 0 ? t.value.unshift(F) : t.value.splice(y, 0, F) : t.value.splice(y + 1, 0, F), t.value = [...t.value], h();
11724
+ const x = Object.assign({}, u);
11725
+ e.insertType === "above" ? y === 0 ? t.value.unshift(x) : t.value.splice(y, 0, x) : t.value.splice(y + 1, 0, x), t.value = [...t.value], h();
11712
11726
  }
11713
11727
  function m({ index: y }) {
11714
11728
  t.value.splice(y, 1), t.value = [...t.value], !(n.value < 0) && (y === n.value ? t.value[y] ? n.value = y : t.value[y - 1] ? n.value = y - 1 : n.value = -1 : y < n.value && (t.value[n.value - 1] ? n.value = n.value - 1 : t.value[n.value] || (n.value = -1)));
@@ -11721,14 +11735,14 @@ function $u(e, t) {
11721
11735
  }
11722
11736
  function p() {
11723
11737
  if (n.value >= 0) {
11724
- const y = n.value, F = t.value.splice(y, 1);
11725
- t.value.splice(y - 1, 0, ...F), n.value = y - 1;
11738
+ const y = n.value, x = t.value.splice(y, 1);
11739
+ t.value.splice(y - 1, 0, ...x), n.value = y - 1;
11726
11740
  }
11727
11741
  }
11728
11742
  function w() {
11729
11743
  if (n.value >= 0) {
11730
- const y = n.value, F = t.value.splice(y, 1);
11731
- t.value.splice(y + 1, 0, ...F), n.value = y + 1;
11744
+ const y = n.value, x = t.value.splice(y, 1);
11745
+ t.value.splice(y + 1, 0, ...x), n.value = y + 1;
11732
11746
  }
11733
11747
  }
11734
11748
  function k() {
@@ -11737,36 +11751,36 @@ function $u(e, t) {
11737
11751
  function B({ index: y }) {
11738
11752
  n.value = y;
11739
11753
  }
11740
- function O(y) {
11754
+ function M(y) {
11741
11755
  if (y.length % 2 !== 0)
11742
11756
  return !1;
11743
- let F = "";
11744
- for (const M of y)
11745
- if (M === "(")
11746
- F += M;
11747
- else if (M === ")") {
11748
- if (!F.endsWith("("))
11757
+ let x = "";
11758
+ for (const E of y)
11759
+ if (E === "(")
11760
+ x += E;
11761
+ else if (E === ")") {
11762
+ if (!x.endsWith("("))
11749
11763
  return !1;
11750
- F = F.slice(0, -1);
11764
+ x = x.slice(0, -1);
11751
11765
  }
11752
- return F.length === 0;
11766
+ return x.length === 0;
11753
11767
  }
11754
11768
  function b() {
11755
11769
  const y = t.value.length;
11756
11770
  if (!y)
11757
11771
  return !0;
11758
- let F = !0, M = !0;
11772
+ let x = !0, E = !0;
11759
11773
  if (e.editorType !== "sort") {
11760
- t.value[y - 1].relation = ct.Empty, M = !t.value.slice(0, -1).some(
11761
- (T) => T.relation === ct.Empty || !T.relation
11774
+ t.value[y - 1].relation = ct.Empty, E = !t.value.slice(0, -1).some(
11775
+ (F) => F.relation === ct.Empty || !F.relation
11762
11776
  );
11763
- const x = t.value.flatMap((T) => [T.lbracket, T.rbracket]).join("");
11764
- F = O(x);
11777
+ const O = t.value.flatMap((F) => [F.lbracket, F.rbracket]).join("");
11778
+ x = M(O);
11765
11779
  }
11766
11780
  const I = t.value.some((R) => !R[i]);
11767
11781
  return [
11768
- { result: F, message: "括号不匹配,请检查。" },
11769
- { result: M, message: "关系设置不完整,请检查。" },
11782
+ { result: x, message: "括号不匹配,请检查。" },
11783
+ { result: E, message: "关系设置不完整,请检查。" },
11770
11784
  { result: !I, message: "字段不允许为空,请检查。" }
11771
11785
  ].find((R) => !R.result);
11772
11786
  }
@@ -11807,18 +11821,18 @@ const en = /* @__PURE__ */ oe({
11807
11821
  onMoveTop: w,
11808
11822
  onInsert: k,
11809
11823
  onRemove: B,
11810
- activeRowIndex: O,
11824
+ activeRowIndex: M,
11811
11825
  onSelectRow: b,
11812
11826
  canClear: y,
11813
- canMove: F,
11814
- validateCondition: M,
11827
+ canMove: x,
11828
+ validateCondition: E,
11815
11829
  resetActiveRow: I
11816
11830
  } = $u(e, c), R = N(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
11817
- function x() {
11831
+ function O() {
11818
11832
  return e.editorType === "sort" ? v(Vu, {
11819
11833
  conditions: c.value,
11820
11834
  fields: u.value,
11821
- activeIndex: O.value,
11835
+ activeIndex: M.value,
11822
11836
  onInsert: (j) => k(j),
11823
11837
  onRemove: (j) => B(j),
11824
11838
  idField: e.idField,
@@ -11830,15 +11844,15 @@ const en = /* @__PURE__ */ oe({
11830
11844
  conditions: c.value,
11831
11845
  fields: u.value,
11832
11846
  idField: e.idField,
11833
- activeIndex: O.value,
11847
+ activeIndex: M.value,
11834
11848
  onInsert: (j) => k(j),
11835
11849
  onRemove: (j) => B(j),
11836
11850
  onRowClick: (j) => b(j),
11837
11851
  formContextData: i.value
11838
11852
  }, null);
11839
11853
  }
11840
- const T = N(() => JSON.stringify(c.value) === JSON.stringify(h.value)), S = N(() => e.disableConfirmWhenUnchanged && T.value);
11841
- async function E() {
11854
+ const F = N(() => JSON.stringify(c.value) === JSON.stringify(h.value)), S = N(() => e.disableConfirmWhenUnchanged && F.value);
11855
+ async function T() {
11842
11856
  if (t.emit("update:modelValue", c.value), e.onSubmitModal) {
11843
11857
  o == null || o.show();
11844
11858
  const j = await e.onSubmitModal({
@@ -11848,11 +11862,11 @@ const en = /* @__PURE__ */ oe({
11848
11862
  originalConditions: h,
11849
11863
  FMessageBoxService: ft
11850
11864
  });
11851
- return o == null || o.clearAll(), j && (O.value = -1, a.success("过滤条件配置成功!")), j;
11865
+ return o == null || o.clearAll(), j && (M.value = -1, a.success("过滤条件配置成功!")), j;
11852
11866
  }
11853
11867
  return !0;
11854
11868
  }
11855
- const D = {
11869
+ const P = {
11856
11870
  title: R.value,
11857
11871
  width: 800,
11858
11872
  height: 600,
@@ -11863,7 +11877,7 @@ const en = /* @__PURE__ */ oe({
11863
11877
  resizeable: !0,
11864
11878
  draggable: !0,
11865
11879
  closedCallback: () => {
11866
- O.value = -1;
11880
+ M.value = -1;
11867
11881
  },
11868
11882
  buttons: [{
11869
11883
  name: "cancel",
@@ -11876,12 +11890,12 @@ const en = /* @__PURE__ */ oe({
11876
11890
  class: "btn btn-primary",
11877
11891
  disabled: S,
11878
11892
  handle: async (j) => {
11879
- const G = M();
11880
- return T.value ? !0 : typeof G == "object" && G !== null && G && G.message ? (a.warning(G.message), !1) : await E();
11893
+ const G = E();
11894
+ return F.value ? !0 : typeof G == "object" && G !== null && G && G.message ? (a.warning(G.message), !1) : await T();
11881
11895
  }
11882
11896
  }]
11883
11897
  };
11884
- async function z() {
11898
+ async function V() {
11885
11899
  if (e.beforeOpen)
11886
11900
  try {
11887
11901
  o == null || o.show();
@@ -11913,10 +11927,10 @@ const en = /* @__PURE__ */ oe({
11913
11927
  }
11914
11928
  return I(), !0;
11915
11929
  }
11916
- function Y() {
11930
+ function _() {
11917
11931
  t.emit("update:modelValue", "");
11918
11932
  }
11919
- function $(j) {
11933
+ function L(j) {
11920
11934
  t.emit("update:modelValue", j);
11921
11935
  }
11922
11936
  return () => v(Rt, {
@@ -11928,20 +11942,20 @@ const en = /* @__PURE__ */ oe({
11928
11942
  enableClear: e.enableClear,
11929
11943
  buttonContent: s,
11930
11944
  buttonBehavior: "Modal",
11931
- modalOptions: D,
11932
- beforeOpen: z,
11933
- onClear: Y,
11945
+ modalOptions: P,
11946
+ beforeOpen: V,
11947
+ onClear: _,
11934
11948
  enableTitle: e.enableTitle,
11935
- "onUpdate:modelValue": $
11949
+ "onUpdate:modelValue": L
11936
11950
  }, {
11937
11951
  default: () => [v("div", {
11938
11952
  class: "h-100 d-flex flex-column"
11939
11953
  }, [v("div", {
11940
11954
  style: "border-top: 1px solid white; position: absolute; top: 0; width: 100%; z-index: 2;",
11941
11955
  class: "shading-border-top"
11942
- }, null), x(), v(Lu, {
11956
+ }, null), O(), v(Lu, {
11943
11957
  canClear: y,
11944
- canMove: F,
11958
+ canMove: x,
11945
11959
  onAdd: r,
11946
11960
  onClear: m,
11947
11961
  onMoveBottom: d,
@@ -11951,7 +11965,7 @@ const en = /* @__PURE__ */ oe({
11951
11965
  }, null)])]
11952
11966
  });
11953
11967
  }
11954
- }), Sd = {
11968
+ }), Md = {
11955
11969
  install(e) {
11956
11970
  e.component(en.name, en);
11957
11971
  },
@@ -11966,7 +11980,7 @@ export {
11966
11980
  ct as FilterRelation,
11967
11981
  bu as SortType,
11968
11982
  Re as ValueType,
11969
- Sd as default,
11983
+ Md as default,
11970
11984
  ta as filterConditionEditorProps,
11971
11985
  cr as propsResolver,
11972
11986
  Cu as treeNodeStatus,