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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,11 +1,11 @@
1
1
  var An = Object.defineProperty;
2
2
  var Hn = (e, t, n) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var X = (e, t, n) => Hn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as B, createVNode as x, createTextVNode as Te, defineComponent as Fe, Fragment as Ve, watch as le, onMounted as ze, reactive as Ue, createApp as qt, onUnmounted as ft, Transition as on, mergeProps as It, nextTick as Je, onBeforeMount as Un, Teleport as rn, shallowRef as zn, render as Ut, h as Dn, cloneVNode as qn, inject as zt, withDirectives as Wn, vShow as _n, onUpdated as Gn, onBeforeUnmount as Xn } from "vue";
5
- import { isPlainObject as Kt, cloneDeep as ve, isUndefined as Ae, debounce as Yn } from "lodash-es";
4
+ import { ref as C, computed as E, createVNode as x, createTextVNode as Te, defineComponent as Se, Fragment as Ve, watch as le, onMounted as De, reactive as Ue, createApp as qt, onUnmounted as ft, Transition as on, mergeProps as It, nextTick as Je, onBeforeMount as Un, Teleport as rn, shallowRef as Dn, render as Ut, h as zn, cloneVNode as qn, inject as Dt, withDirectives as Wn, vShow as _n, onUpdated as Gn, onBeforeUnmount as Xn } from "vue";
5
+ import { cloneDeep as ve, isPlainObject as Kt, isUndefined as Ae, debounce as Yn } from "lodash-es";
6
6
  import { getSchemaByType as en, createPropsResolver as ln, resolveAppearance as Qn } from "../dynamic-resolver/index.esm.js";
7
7
  import { DgControl as xt, useDesignerComponent as Jn } from "../designer-canvas/index.esm.js";
8
- import { useGuid as Ft, getCustomClass as Zn, withInstall as Kn, FormSchemaEntityField$Type as St, FormSchemaEntityFieldTypeName as tn, getMaxZIndex as eo, FormSchemaEntityFieldType$Type as to } from "../common/index.esm.js";
8
+ import { useGuid as St, getCustomClass as Zn, withInstall as Kn, FormSchemaEntityField$Type as Ft, FormSchemaEntityFieldTypeName as tn, getMaxZIndex as eo, FormSchemaEntityFieldType$Type as to } from "../common/index.esm.js";
9
9
  import { useConditionValue as no, FConditionFields as oo } from "../condition/index.esm.js";
10
10
  import { useCondition as io } from "../query-solution/index.esm.js";
11
11
  import { FDrawer as ro } from "../drawer/index.esm.js";
@@ -13,7 +13,7 @@ import { FDynamicFormGroup as lo } from "../dynamic-form/index.esm.js";
13
13
  import { useI18n as Wt } from "vue-i18n";
14
14
  import { LocaleService as Mt } from "../locale/index.esm.js";
15
15
  import { useResizeObserver as ao } from "@vueuse/core";
16
- import { getHierarchyRow as so, useIdentify as uo, useGroupData as co, useFilter as fo, useHierarchy as po, useLoading as mo, useDataView as vo, useSelection as go, useSelectHierarchyItem as ho, usePagination as yo, useDataViewContainerStyle as bo, useCommandColumn as Co, useSettingColumn as wo, useColumn as xo, useSort as Fo, useGroupColumn as So, useRow as To, useEdit as ko, useVisualDataBound as Io, useVisualDataCell as Mo, useVisualDataRow as Eo, useVisualData as Bo, useCellPosition as Po, useSidebar as Oo, useVirtualScroll as Vo, useFitColumn as Ro, useFilterHistory as No, useColumnFilter as $o, useDragColumn as Lo, getColumnHeader as jo, getSidebar as Ao, getDisableMask as Ho, getHorizontalScrollbar as Uo, getVerticalScrollbar as zo, getEmpty as Do, getPagination as qo, getSummary as Wo } from "../data-view/index.esm.js";
16
+ import { getHierarchyRow as so, useIdentify as uo, useGroupData as co, useFilter as fo, useHierarchy as po, useLoading as mo, useDataView as vo, useSelection as go, useSelectHierarchyItem as ho, usePagination as yo, useDataViewContainerStyle as bo, useCommandColumn as Co, useSettingColumn as wo, useColumn as xo, useSort as So, useGroupColumn as Fo, useRow as To, useEdit as ko, useVisualDataBound as Io, useVisualDataCell as Mo, useVisualDataRow as Bo, useVisualData as Eo, useCellPosition as Po, useSidebar as Oo, useVirtualScroll as Vo, useFitColumn as Ro, useFilterHistory as No, useColumnFilter as $o, useDragColumn as Lo, getColumnHeader as jo, getSidebar as Ao, getDisableMask as Ho, getHorizontalScrollbar as Uo, getVerticalScrollbar as Do, getEmpty as zo, getPagination as qo, getSummary as Wo } from "../data-view/index.esm.js";
17
17
  import { FPropertyPanel as _o } from "../property-panel/index.esm.js";
18
18
  import "../accordion/index.esm.js";
19
19
  import "../avatar/index.esm.js";
@@ -93,7 +93,7 @@ import Ko from "../popover/index.esm.js";
93
93
  function an(e, t) {
94
94
  let n;
95
95
  function o(c) {
96
- const { properties: p, title: a, ignore: d } = c, v = d && Array.isArray(d), h = Object.keys(p).reduce((F, I) => ((!v || !d.find((O) => O === I)) && (F[I] = p[I].type === "object" && p[I].properties ? o(p[I]) : ve(p[I].default)), F), {});
96
+ const { properties: p, title: a, ignore: d } = c, v = d && Array.isArray(d), h = Object.keys(p).reduce((F, I) => ((!v || !d.find((V) => V === I)) && (F[I] = p[I].type === "object" && p[I].properties ? o(p[I]) : ve(p[I].default)), F), {});
97
97
  if (a && (!v || !d.find((F) => F === "id"))) {
98
98
  const F = a.toLowerCase().replace(/-/g, "_");
99
99
  h.id = `${F}_${Math.random().toString().slice(2, 6)}`;
@@ -167,7 +167,7 @@ function an(e, t) {
167
167
  }
168
168
  return { getSchemaByType: r, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: s, mappingSchemaToProps: f, setDesignerContext: m };
169
169
  }
170
- const sn = {}, un = {}, { resolveSchemaWithDefaultValue: ei, resolveSchemaToProps: ti, mappingSchemaToProps: ni } = an(sn, un);
170
+ const sn = {}, un = {}, { getSchemaByType: iu, resolveSchemaWithDefaultValue: ei, resolveSchemaToProps: ti, mappingSchemaToProps: ni, setDesignerContext: ru } = an(sn, un);
171
171
  function oi(e = {}) {
172
172
  function t(u, m, c, p) {
173
173
  if (typeof c == "number")
@@ -217,7 +217,7 @@ function oi(e = {}) {
217
217
  return r(u).reduce((a, d) => a && l(d, m), !0);
218
218
  }
219
219
  function s(u, m) {
220
- const c = Object.keys(u), p = c.includes("allOf"), a = c.includes("anyOf"), d = p || a, F = (d ? u[d ? p ? "allOf" : "anyOf" : "allOf"] : [u]).map((O) => f(O, m));
220
+ const c = Object.keys(u), p = c.includes("allOf"), a = c.includes("anyOf"), d = p || a, F = (d ? u[d ? p ? "allOf" : "anyOf" : "allOf"] : [u]).map((V) => f(V, m));
221
221
  return p ? !F.includes(!1) : F.includes(!0);
222
222
  }
223
223
  return { parseValueSchema: s };
@@ -234,7 +234,7 @@ const ii = {
234
234
  e.editor && (e.editor[t] = n);
235
235
  },
236
236
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
237
- }, $ = {
237
+ }, L = {
238
238
  button: { type: "button", name: "按钮" },
239
239
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
240
240
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -285,7 +285,7 @@ const ii = {
285
285
  convertFrom: (e, t, n) => {
286
286
  var i;
287
287
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
288
- return ((i = $[o]) == null ? void 0 : i.name) || o;
288
+ return ((i = L[o]) == null ? void 0 : i.name) || o;
289
289
  }
290
290
  }, si = {
291
291
  convertTo: (e, t, n, o) => {
@@ -438,7 +438,7 @@ const ii = {
438
438
  if (t === "multiSort")
439
439
  return !!((i = e.sort) != null && i.multiSort);
440
440
  }
441
- }, Fi = {
441
+ }, Si = {
442
442
  convertTo: (e, t, n, o) => {
443
443
  e.filter || (e.filter = {}), e.filter[t] = n;
444
444
  },
@@ -447,7 +447,7 @@ const ii = {
447
447
  if (t === "mode")
448
448
  return ((o = e.filter) == null ? void 0 : o.mode) || "client";
449
449
  }
450
- }, Si = {
450
+ }, Fi = {
451
451
  convertTo: (e, t, n, o) => {
452
452
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
453
453
  [t]: n
@@ -484,8 +484,8 @@ function cn(e, t, n) {
484
484
  ["/converter/size.converter", Ci],
485
485
  ["/converter/change-formatter-enum.converter", wi],
486
486
  ["/converter/grid-sort.converter", xi],
487
- ["/converter/grid-filter.converter", Fi],
488
- ["/converter/row-option.converter", Si]
487
+ ["/converter/grid-filter.converter", Si],
488
+ ["/converter/row-option.converter", Fi]
489
489
  ]), i = /* @__PURE__ */ new Map([
490
490
  ["string", { type: "input-group", enableClear: !1 }],
491
491
  ["boolean", {
@@ -524,62 +524,62 @@ function cn(e, t, n) {
524
524
  const h = d.$converter || v;
525
525
  return typeof h == "string" && h && o.has(h) ? o.get(h) || null : h || null;
526
526
  }
527
- function m(d, v, h, F, I, O = "", k = "") {
527
+ function m(d, v, h, F, I, V = "", k = "") {
528
528
  return Object.keys(d).map((g) => {
529
- const b = C(1), y = g, w = d[g], E = Object.keys(w), S = w.title, L = w.type, H = i.get(L) || { type: "input-group", enableClear: !1 }, R = w.editor ? Object.assign({}, H, w.editor) : Object.assign({}, H), A = f(E, w, v), _ = s(E, w, v);
530
- R.readonly = R.readonly === void 0 ? _() : R.readonly;
531
- const Z = w.type === "cascade" ? m(w.properties, v, h, F, I, O, k) : [], j = !0;
532
- let V = u(w, k);
533
- const G = B({
529
+ const y = C(1), b = g, w = d[g], B = Object.keys(w), S = w.title, j = w.type, H = i.get(j) || { type: "input-group", enableClear: !1 }, R = w.editor ? Object.assign({}, H, w.editor) : Object.assign({}, H), W = f(B, w, v), z = s(B, w, v);
530
+ R.readonly = R.readonly === void 0 ? z() : R.readonly;
531
+ const Z = w.type === "cascade" ? m(w.properties, v, h, F, I, V, k) : [], O = !0;
532
+ let N = u(w, k);
533
+ const G = E({
534
534
  get() {
535
- if (b.value) {
536
- if (["class", "style"].find((ce) => ce === y) && !V && (V = o.get("/converter/appearance.converter") || null), V && V.convertFrom)
537
- return V.convertFrom(h, g, I, O);
535
+ if (y.value) {
536
+ if (["class", "style"].find((ce) => ce === b) && !N && (N = o.get("/converter/appearance.converter") || null), N && N.convertFrom)
537
+ return N.convertFrom(h, g, I, V);
538
538
  const re = h[g];
539
539
  return Object.prototype.hasOwnProperty.call(w, "defaultValue") && (re === void 0 || typeof re == "string" && re === "") ? w.type === "boolean" ? w.defaultValue : w.defaultValue || "" : re;
540
540
  }
541
541
  return null;
542
542
  },
543
543
  set(re) {
544
- b.value += 1, V && V.convertTo ? (V.convertTo(F, g, re, I, O), V.convertTo(h, g, re, I, O)) : (F[g] = re, h[g] = re);
544
+ y.value += 1, N && N.convertTo ? (N.convertTo(F, g, re, I, V), N.convertTo(h, g, re, I, V)) : (F[g] = re, h[g] = re);
545
545
  }
546
- }), { refreshPanelAfterChanged: D, description: K, isExpand: oe, parentPropertyID: ye } = w, Q = { propertyID: y, propertyName: S, propertyType: L, propertyValue: G, editor: R, visible: A, readonly: _, cascadeConfig: Z, hideCascadeTitle: j, refreshPanelAfterChanged: D, description: K, isExpand: oe, parentPropertyID: ye };
547
- return v[y] = Q, Q;
546
+ }), { refreshPanelAfterChanged: D, description: K, isExpand: oe, parentPropertyID: ye } = w, Q = { propertyID: b, propertyName: S, propertyType: j, propertyValue: G, editor: R, visible: W, readonly: z, cascadeConfig: Z, hideCascadeTitle: O, refreshPanelAfterChanged: D, description: K, isExpand: oe, parentPropertyID: ye };
547
+ return v[b] = Q, Q;
548
548
  });
549
549
  }
550
550
  function c(d, v, h = {}) {
551
551
  const F = {}, I = e[d];
552
552
  return I && I.categories ? Object.keys(I.categories).map((k) => {
553
- const T = I.categories[k], g = T == null ? void 0 : T.title, b = m(T.properties || {}, F, {}, h, v);
554
- return { categoryId: k, categoryName: g, properties: b };
553
+ const T = I.categories[k], g = T == null ? void 0 : T.title, y = m(T.properties || {}, F, {}, h, v);
554
+ return { categoryId: k, categoryName: g, properties: y };
555
555
  }) : [];
556
556
  }
557
557
  function p(d, v, h, F, I = "") {
558
- const O = v.$ref.schema, k = v.$ref.converter, T = h[O], g = T.type, b = n(T), y = {}, w = e[g];
558
+ const V = v.$ref.schema, k = v.$ref.converter, T = h[V], g = T.type, y = n(T), b = {}, w = e[g];
559
559
  if (w && w.categories) {
560
- const E = w.categories[d], S = E == null ? void 0 : E.title;
561
- k && Object.keys(E.properties).forEach((R) => {
562
- E.properties[R].$converter = k;
560
+ const B = w.categories[d], S = B == null ? void 0 : B.title;
561
+ k && Object.keys(B.properties).forEach((R) => {
562
+ B.properties[R].$converter = k;
563
563
  });
564
- const L = (E == null ? void 0 : E.properties) || {}, H = m(L, y, b, T, F, I);
564
+ const j = (B == null ? void 0 : B.properties) || {}, H = m(j, b, y, T, F, I);
565
565
  return { categoryId: d, categoryName: S, properties: H };
566
566
  }
567
567
  return { categoryId: d, categoryName: "", properties: [] };
568
568
  }
569
569
  function a(d, v, h, F, I) {
570
- const O = d.type, k = n(d), T = {};
571
- let g = I || e[O];
570
+ const V = d.type, k = n(d), T = {};
571
+ let g = I || e[V];
572
572
  if (g && Object.keys(g).length === 0 && h && h.getPropConfig && (g = h.getPropConfig(F)), g && g.categories) {
573
- const b = [];
574
- return Object.keys(g.categories).map((y) => {
575
- const w = g.categories[y];
573
+ const y = [];
574
+ return Object.keys(g.categories).map((b) => {
575
+ const w = g.categories[b];
576
576
  if (w.$ref) {
577
- b.push(p(y, w, d, v, F));
577
+ y.push(p(b, w, d, v, F));
578
578
  return;
579
579
  }
580
- const E = w == null ? void 0 : w.title, S = w == null ? void 0 : w.tabId, L = w == null ? void 0 : w.tabName, H = w == null ? void 0 : w.hide, R = w == null ? void 0 : w.hideTitle, A = m(w.properties || {}, T, k, d, v, F, w.$converter), { setPropertyRelates: _ } = w, Z = w == null ? void 0 : w.parentPropertyID;
581
- b.push({ categoryId: y, categoryName: E, tabId: S, tabName: L, hide: H, properties: A, hideTitle: R, setPropertyRelates: _, parentPropertyID: Z });
582
- }), b;
580
+ const B = w == null ? void 0 : w.title, S = w == null ? void 0 : w.tabId, j = w == null ? void 0 : w.tabName, H = w == null ? void 0 : w.hide, R = w == null ? void 0 : w.hideTitle, W = m(w.properties || {}, T, k, d, v, F, w.$converter), { setPropertyRelates: z } = w, Z = w == null ? void 0 : w.parentPropertyID;
581
+ y.push({ categoryId: b, categoryName: B, tabId: S, tabName: j, hide: H, properties: W, hideTitle: R, setPropertyRelates: z, parentPropertyID: Z });
582
+ }), y;
583
583
  }
584
584
  return [];
585
585
  }
@@ -591,7 +591,7 @@ function cn(e, t, n) {
591
591
  }
592
592
  const dn = {}, fn = {};
593
593
  cn(dn, fn, ei);
594
- const pn = {}, mn = {}, { resolveSchemaWithDefaultValue: Ti } = an(pn, mn), vn = {}, gn = {};
594
+ const pn = {}, mn = {}, { getSchemaByType: lu, resolveSchemaWithDefaultValue: Ti, resolveSchemaToProps: au, mappingSchemaToProps: su, setDesignerContext: uu } = an(pn, mn), vn = {}, gn = {};
595
595
  cn(vn, gn, Ti);
596
596
  function Ke(e, t, n = /* @__PURE__ */ new Map(), o = (l, f, s, u) => f, i = {}, r = (l) => l) {
597
597
  return sn[t.title] = t, un[t.title] = o, dn[t.title] = i, fn[t.title] = r, pn[t.title] = t, mn[t.title] = o, vn[t.title] = i, gn[t.title] = r, (l = {}, f = !0) => {
@@ -637,7 +637,7 @@ function Ii(e, t) {
637
637
  }
638
638
  } else
639
639
  c = {
640
- id: Ft().guid(),
640
+ id: St().guid(),
641
641
  code: `${m.id.replace(/-/g, "").replace("component", "").replace("viewmodel", "")}Filter1`,
642
642
  name: "过滤并加载数据1",
643
643
  params: [
@@ -671,7 +671,7 @@ function Ii(e, t) {
671
671
  }
672
672
  } else
673
673
  d = {
674
- id: Ft().guid(),
674
+ id: St().guid(),
675
675
  code: `${a.id.replace(/-/g, "").replace("component", "").replace("viewmodel", "")}Filter1`,
676
676
  name: "过滤列表数据1",
677
677
  params: [
@@ -737,7 +737,7 @@ function Mi(e, t, n, o) {
737
737
  }
738
738
  return t;
739
739
  }
740
- const Ei = "https://json-schema.org/draft/2020-12/schema", Bi = "https://farris-design.gitee.io/filter-bar.schema.json", Pi = "filter-bar", Oi = "A Farris Component", Vi = "object", Ri = {
740
+ const Bi = "https://json-schema.org/draft/2020-12/schema", Ei = "https://farris-design.gitee.io/filter-bar.schema.json", Pi = "filter-bar", Oi = "A Farris Component", Vi = "object", Ri = {
741
741
  id: {
742
742
  description: "The unique identifier for filter-bar",
743
743
  type: "string"
@@ -781,8 +781,8 @@ const Ei = "https://json-schema.org/draft/2020-12/schema", Bi = "https://farris-
781
781
  "id",
782
782
  "type"
783
783
  ], $i = {
784
- $schema: Ei,
785
- $id: Bi,
784
+ $schema: Bi,
785
+ $id: Ei,
786
786
  title: Pi,
787
787
  description: Oi,
788
788
  type: Vi,
@@ -852,11 +852,11 @@ function yn(e, t) {
852
852
  }), t.emit("reset");
853
853
  }
854
854
  d(e.fields, e.data);
855
- function O() {
855
+ function V() {
856
856
  var g;
857
- const k = (g = i.value) == null ? void 0 : g.filter((b) => {
858
- var y;
859
- return !((y = b.value) != null && y.isEmpty());
857
+ const k = (g = i.value) == null ? void 0 : g.filter((y) => {
858
+ var b;
859
+ return !((b = y.value) != null && b.isEmpty());
860
860
  });
861
861
  return u(k, o.value);
862
862
  }
@@ -870,7 +870,7 @@ function yn(e, t) {
870
870
  removeFilterItem: v,
871
871
  reset: I,
872
872
  shouldShowClearButtonInFilterItem: m,
873
- handleQuery: O
873
+ handleQuery: V
874
874
  };
875
875
  }
876
876
  function Li(e, t) {
@@ -931,7 +931,7 @@ function bn(e, t, n) {
931
931
  o.value = m.value.filter((I) => I.editor.isExtend);
932
932
  }
933
933
  p();
934
- const a = B(() => o.value && o.value.length > 0), d = B(() => l.value);
934
+ const a = E(() => o.value && o.value.length > 0), d = E(() => l.value);
935
935
  function v(I) {
936
936
  f.value = !0;
937
937
  }
@@ -952,7 +952,7 @@ function bn(e, t, n) {
952
952
  const Ai = {
953
953
  filterItem: { type: Object, default: null },
954
954
  position: { type: Object, default: null }
955
- }, Hi = /* @__PURE__ */ Fe({
955
+ }, Hi = /* @__PURE__ */ Se({
956
956
  name: "FFilterBarItem",
957
957
  props: Ai,
958
958
  emits: ["cancel", "confirm"],
@@ -1031,7 +1031,7 @@ const Ai = {
1031
1031
  filterItem: { type: Object, default: null },
1032
1032
  useFilterItemsComposition: { type: Object, default: null },
1033
1033
  disabled: { type: Boolean, default: !1 }
1034
- }, Cn = /* @__PURE__ */ Fe({
1034
+ }, Cn = /* @__PURE__ */ Se({
1035
1035
  name: "FFilterBarItem",
1036
1036
  props: Ui,
1037
1037
  emits: ["confirm"],
@@ -1049,7 +1049,7 @@ const Ai = {
1049
1049
  "f-filter-item-edit": n.value.id === i.value
1050
1050
  };
1051
1051
  };
1052
- B(() => !f.value && e.mode === "editable");
1052
+ E(() => !f.value && e.mode === "editable");
1053
1053
  function c(v) {
1054
1054
  e.mode === "display-only" ? r(n.value) : o(n.value);
1055
1055
  }
@@ -1104,7 +1104,7 @@ const Ai = {
1104
1104
  }, null)]);
1105
1105
  }
1106
1106
  });
1107
- function zi(e, t, n) {
1107
+ function Di(e, t, n) {
1108
1108
  const o = C(null);
1109
1109
  function i() {
1110
1110
  var a, d;
@@ -1146,12 +1146,12 @@ function zi(e, t, n) {
1146
1146
  cancelWidthObserver: r
1147
1147
  };
1148
1148
  }
1149
- const rt = /* @__PURE__ */ Fe({
1149
+ const rt = /* @__PURE__ */ Se({
1150
1150
  name: "FFilterBar",
1151
1151
  props: _t,
1152
1152
  emits: ["clear", "remove", "reset", "conditionChange", "change"],
1153
1153
  setup(e, t) {
1154
- const n = C(!0), o = C(!1), i = C(!1), r = C(!1), l = C(null), f = C(null), s = yn(e, t), u = zi(f, l, r), {
1154
+ const n = C(!0), o = C(!1), i = C(!1), r = C(!1), l = C(null), f = C(null), s = yn(e, t), u = Di(f, l, r), {
1155
1155
  cancelWidthObserver: m,
1156
1156
  setupWidthObserver: c
1157
1157
  } = u, {
@@ -1159,42 +1159,42 @@ const rt = /* @__PURE__ */ Fe({
1159
1159
  filterItems: a,
1160
1160
  loadFilterItems: d,
1161
1161
  handleQuery: v
1162
- } = s, h = B(() => ({
1162
+ } = s, h = E(() => ({
1163
1163
  display: p.value && p.value.length ? "" : "none"
1164
1164
  }));
1165
- le([() => e.data, () => e.fields], ([w, E]) => {
1166
- d(E, w);
1167
- }), ze(() => {
1165
+ le([() => e.data, () => e.fields], ([w, B]) => {
1166
+ d(B, w);
1167
+ }), De(() => {
1168
1168
  c();
1169
1169
  });
1170
- const F = B(() => o.value && n.value), I = B(() => ({
1170
+ const F = E(() => o.value && n.value), I = E(() => ({
1171
1171
  "f-filter-list": !0,
1172
1172
  "f-filter-list-extend": F.value
1173
1173
  // 'f-utils-overflow-hidden': true
1174
- })), O = B(() => ({
1174
+ })), V = E(() => ({
1175
1175
  '"extend-btn-arrow': !0,
1176
1176
  "f-icon": !0,
1177
1177
  "f-icon-arrow-chevron-up": o.value,
1178
1178
  "f-icon-arrow-chevron-down": !o.value
1179
- })), k = B(() => a.value.length > 0);
1180
- B(() => i.value && !o.value && r.value);
1179
+ })), k = E(() => a.value.length > 0);
1180
+ E(() => i.value && !o.value && r.value);
1181
1181
  const T = bn(e, t, s);
1182
1182
  function g(w) {
1183
1183
  t.emit("change", w);
1184
- const E = v();
1185
- t.emit("conditionChange", E);
1184
+ const B = v();
1185
+ t.emit("conditionChange", B);
1186
1186
  }
1187
- function b() {
1187
+ function y() {
1188
1188
  return x("div", {
1189
1189
  class: I.value,
1190
1190
  ref: l
1191
- }, [a.value.map((w, E) => !w.editor.isExtend && x(Cn, {
1191
+ }, [a.value.map((w, B) => !w.editor.isExtend && x(Cn, {
1192
1192
  filterItem: w,
1193
1193
  useFilterItemsComposition: s,
1194
1194
  onConfirm: g
1195
1195
  }, null)), o.value && T()]);
1196
1196
  }
1197
- function y() {
1197
+ function b() {
1198
1198
  o.value = !o.value, o.value ? m() : c();
1199
1199
  }
1200
1200
  return () => x("div", {
@@ -1207,20 +1207,20 @@ const rt = /* @__PURE__ */ Fe({
1207
1207
  ref: f
1208
1208
  }, [x("div", {
1209
1209
  class: "f-filter-list-wrapper d-flex w-100"
1210
- }, [k.value && b()]), !o.value && T()]), r.value && x("div", {
1210
+ }, [k.value && y()]), !o.value && T()]), r.value && x("div", {
1211
1211
  class: "f-filter-extend-btn"
1212
1212
  }, [x("button", {
1213
1213
  class: "btn btn-link",
1214
- onClick: y
1214
+ onClick: b
1215
1215
  }, [x("span", {
1216
1216
  class: "extend-btn-text"
1217
1217
  }, [o.value ? "收折" : "展开"]), x("span", {
1218
- class: O.value
1218
+ class: V.value
1219
1219
  }, null)])])])]);
1220
1220
  }
1221
- }), Di = C(0);
1221
+ }), zi = C(0);
1222
1222
  function qi() {
1223
- Di.value++;
1223
+ zi.value++;
1224
1224
  }
1225
1225
  const yt = C(0);
1226
1226
  function Wi(e) {
@@ -1578,7 +1578,7 @@ class _i {
1578
1578
  valueField: "value",
1579
1579
  idField: "value",
1580
1580
  editable: !1,
1581
- data: [{ value: t.type, name: $[t.type] && $[t.type].name }]
1581
+ data: [{ value: t.type, name: L[t.type] && L[t.type].name }]
1582
1582
  }
1583
1583
  }
1584
1584
  }
@@ -1810,10 +1810,10 @@ const it = class it {
1810
1810
  */
1811
1811
  static getEditorTypesByMDataType(t, n = !1, o = "") {
1812
1812
  if (n)
1813
- return [{ key: $["language-textbox"].type, value: $["language-textbox"].name }];
1813
+ return [{ key: L["language-textbox"].type, value: L["language-textbox"].name }];
1814
1814
  let i = it.fieldControlTypeMapping[t];
1815
1815
  if (o === "data-grid-column" && (i != null && i.length)) {
1816
- const r = [$["check-group"].type, $["radio-group"].type];
1816
+ const r = [L["check-group"].type, L["radio-group"].type];
1817
1817
  i = i.filter((l) => !r.includes(l.key));
1818
1818
  }
1819
1819
  return i;
@@ -1836,7 +1836,7 @@ const it = class it {
1836
1836
  static mappingDomPropAndSchemaProp(t, n) {
1837
1837
  var r;
1838
1838
  const o = (r = t.editor) == null ? void 0 : r.type, i = [];
1839
- return (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && i.push({ domField: "title", schemaField: "name" }), i.push({ domField: "label", schemaField: "name" }), i.push({ domField: "editor.required", schemaField: "require" }), i.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === $["input-group"].type || o === $.textarea.type || o === $["number-spinner"].type) && i.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === $["number-spinner"].type && i.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && i.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === $["combo-list"].type || o === $["radio-group"].type) && i.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && i.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === $["date-picker"].type && (i.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), i.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === $["number-spinner"].type && (i.push({ domField: "editor.max", schemaField: "editor.maxValue" }), i.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === $.lookup.type && (i.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), i.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), i.push({ domField: "editor.textField", schemaField: "editor.textField" }), i.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), i.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), i.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), i.push({ domField: "path", schemaField: "bindingPath" }), i.push({ domField: "binding.path", schemaField: "bindingField" }), i.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === $["data-grid-column"].type || t.type === $["tree-grid-column"].type) && i.push({ domField: "field", schemaField: "bindingPath" }), i;
1839
+ return (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && i.push({ domField: "title", schemaField: "name" }), i.push({ domField: "label", schemaField: "name" }), i.push({ domField: "editor.required", schemaField: "require" }), i.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === L["input-group"].type || o === L.textarea.type || o === L["number-spinner"].type) && i.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === L["number-spinner"].type && i.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && i.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === L["combo-list"].type || o === L["radio-group"].type) && i.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && i.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === L["date-picker"].type && (i.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), i.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === L["number-spinner"].type && (i.push({ domField: "editor.max", schemaField: "editor.maxValue" }), i.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === L.lookup.type && (i.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), i.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), i.push({ domField: "editor.textField", schemaField: "editor.textField" }), i.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), i.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), i.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), i.push({ domField: "path", schemaField: "bindingPath" }), i.push({ domField: "binding.path", schemaField: "bindingField" }), i.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === L["data-grid-column"].type || t.type === L["tree-grid-column"].type) && i.push({ domField: "field", schemaField: "bindingPath" }), i;
1840
1840
  }
1841
1841
  };
1842
1842
  /**
@@ -1844,53 +1844,53 @@ const it = class it {
1844
1844
  */
1845
1845
  X(it, "fieldControlTypeMapping", {
1846
1846
  String: [
1847
- { key: $["input-group"].type, value: $["input-group"].name },
1848
- { key: $.lookup.type, value: $.lookup.name },
1849
- { key: $["date-picker"].type, value: $["date-picker"].name },
1850
- { key: $.switch.type, value: $.switch.name },
1851
- { key: $["check-box"].type, value: $["check-box"].name },
1852
- { key: $["check-group"].type, value: $["check-group"].name },
1853
- { key: $["radio-group"].type, value: $["radio-group"].name },
1854
- { key: $["combo-list"].type, value: $["combo-list"].name },
1855
- { key: $.textarea.type, value: $.textarea.name },
1856
- { key: $["time-picker"].type, value: $["time-picker"].name }
1847
+ { key: L["input-group"].type, value: L["input-group"].name },
1848
+ { key: L.lookup.type, value: L.lookup.name },
1849
+ { key: L["date-picker"].type, value: L["date-picker"].name },
1850
+ { key: L.switch.type, value: L.switch.name },
1851
+ { key: L["check-box"].type, value: L["check-box"].name },
1852
+ { key: L["check-group"].type, value: L["check-group"].name },
1853
+ { key: L["radio-group"].type, value: L["radio-group"].name },
1854
+ { key: L["combo-list"].type, value: L["combo-list"].name },
1855
+ { key: L.textarea.type, value: L.textarea.name },
1856
+ { key: L["time-picker"].type, value: L["time-picker"].name }
1857
1857
  ],
1858
1858
  Text: [
1859
- { key: $.textarea.type, value: $.textarea.name },
1860
- { key: $.lookup.type, value: $.lookup.name }
1859
+ { key: L.textarea.type, value: L.textarea.name },
1860
+ { key: L.lookup.type, value: L.lookup.name }
1861
1861
  ],
1862
1862
  Decimal: [
1863
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
1863
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
1864
1864
  ],
1865
1865
  Integer: [
1866
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
1866
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
1867
1867
  ],
1868
1868
  Number: [
1869
- { key: $["number-spinner"].type, value: $["number-spinner"].name },
1870
- { key: $.switch.type, value: $.switch.name },
1871
- { key: $["check-box"].type, value: $["check-box"].name }
1869
+ { key: L["number-spinner"].type, value: L["number-spinner"].name },
1870
+ { key: L.switch.type, value: L.switch.name },
1871
+ { key: L["check-box"].type, value: L["check-box"].name }
1872
1872
  ],
1873
1873
  BigNumber: [
1874
- { key: $["number-spinner"].type, value: $["number-spinner"].name }
1874
+ { key: L["number-spinner"].type, value: L["number-spinner"].name }
1875
1875
  ],
1876
1876
  Date: [
1877
- { key: $["date-picker"].type, value: $["date-picker"].name }
1877
+ { key: L["date-picker"].type, value: L["date-picker"].name }
1878
1878
  ],
1879
1879
  DateTime: [
1880
- { key: $["date-picker"].type, value: $["date-picker"].name }
1880
+ { key: L["date-picker"].type, value: L["date-picker"].name }
1881
1881
  ],
1882
1882
  Boolean: [
1883
- { key: $.switch.type, value: $.switch.name },
1884
- { key: $["check-box"].type, value: $["check-box"].name }
1883
+ { key: L.switch.type, value: L.switch.name },
1884
+ { key: L["check-box"].type, value: L["check-box"].name }
1885
1885
  ],
1886
1886
  Enum: [
1887
- { key: $["combo-list"].type, value: $["combo-list"].name },
1888
- { key: $["radio-group"].type, value: $["radio-group"].name }
1887
+ { key: L["combo-list"].type, value: L["combo-list"].name },
1888
+ { key: L["radio-group"].type, value: L["radio-group"].name }
1889
1889
  ],
1890
1890
  Object: [
1891
- { key: $.lookup.type, value: $.lookup.name },
1892
- { key: $["combo-list"].type, value: $["combo-list"].name },
1893
- { key: $["radio-group"].type, value: $["radio-group"].name }
1891
+ { key: L.lookup.type, value: L.lookup.name },
1892
+ { key: L["combo-list"].type, value: L["combo-list"].name },
1893
+ { key: L["radio-group"].type, value: L["radio-group"].name }
1894
1894
  ]
1895
1895
  });
1896
1896
  let Tt = it;
@@ -1984,12 +1984,12 @@ function Xi(e) {
1984
1984
  var I;
1985
1985
  const h = o.get(v.id), F = h.appearance && h.appearance.class;
1986
1986
  if (F) {
1987
- const k = F.split(" ").filter((E) => !E.startsWith("col-")), T = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, b = "col-xl-" + v.columnInLG, y = "col-el-" + v.columnInEL, w = [T, g, b, y].concat(k);
1987
+ const k = F.split(" ").filter((B) => !B.startsWith("col-")), T = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, y = "col-xl-" + v.columnInLG, b = "col-el-" + v.columnInEL, w = [T, g, y, b].concat(k);
1988
1988
  h.appearance.class = w.join(" ");
1989
1989
  }
1990
1990
  if (v.fieldSetId) {
1991
- const O = a.contents.find((T) => T.id === v.fieldSetId), k = d.find((T) => T.id === v.fieldSetId);
1992
- k ? (I = k.contents) == null || I.push(h) : (d.push(O), O.contents = [h]);
1991
+ const V = a.contents.find((T) => T.id === v.fieldSetId), k = d.find((T) => T.id === v.fieldSetId);
1992
+ k ? (I = k.contents) == null || I.push(h) : (d.push(V), V.contents = [h]);
1993
1993
  } else
1994
1994
  d.push(h);
1995
1995
  }), a.contents = d, a.id;
@@ -2055,10 +2055,10 @@ var Yi = { exports: {} };
2055
2055
  2: [function(n, o, i) {
2056
2056
  (function(r) {
2057
2057
  var l = n("contra/emitter"), f = n("crossvent"), s = n("./classes"), u = document, m = u.documentElement;
2058
- function c(S, L) {
2058
+ function c(S, j) {
2059
2059
  var H = arguments.length;
2060
- H === 1 && Array.isArray(S) === !1 && (L = S, S = []);
2061
- var R, A, _, Z, j, V, G, D, K, oe = null, ye, Q, re = !1, ce = 0, ne, q = L || {};
2060
+ H === 1 && Array.isArray(S) === !1 && (j = S, S = []);
2061
+ var R, W, z, Z, O, N, G, D, K, oe = null, ye, Q, re = !1, ce = 0, ne, q = j || {};
2062
2062
  q.moves === void 0 && (q.moves = I), q.accepts === void 0 && (q.accepts = I), q.invalid === void 0 && (q.invalid = at), q.containers === void 0 && (q.containers = S || []), q.isContainer === void 0 && (q.isContainer = F), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = u.body);
2063
2063
  var ie = l({
2064
2064
  containers: q.containers,
@@ -2070,21 +2070,21 @@ var Yi = { exports: {} };
2070
2070
  canMove: $e,
2071
2071
  dragging: !1
2072
2072
  });
2073
- return q.removeOnSpill === !0 && ie.on("over", Bt).on("out", Pt), Re(), ie;
2074
- function De(M) {
2073
+ return q.removeOnSpill === !0 && ie.on("over", Et).on("out", Pt), Re(), ie;
2074
+ function ze(M) {
2075
2075
  return ie.containers.indexOf(M) !== -1 || q.isContainer(M);
2076
2076
  }
2077
2077
  function Re(M) {
2078
- var N = M ? "remove" : "add";
2079
- d(m, N, "mousedown", se), d(m, N, "mouseup", je);
2078
+ var $ = M ? "remove" : "add";
2079
+ d(m, $, "mousedown", se), d(m, $, "mouseup", je);
2080
2080
  }
2081
2081
  function ke(M) {
2082
- var N = M ? "remove" : "add";
2083
- d(m, N, "mousemove", lt);
2082
+ var $ = M ? "remove" : "add";
2083
+ d(m, $, "mousemove", lt);
2084
2084
  }
2085
2085
  function et(M) {
2086
- var N = M ? "remove" : "add";
2087
- f[N](m, "selectstart", tt), f[N](m, "click", tt);
2086
+ var $ = M ? "remove" : "add";
2087
+ f[$](m, "selectstart", tt), f[$](m, "click", tt);
2088
2088
  }
2089
2089
  function qe() {
2090
2090
  Re(!0), je({});
@@ -2093,11 +2093,11 @@ var Yi = { exports: {} };
2093
2093
  ye && M.preventDefault();
2094
2094
  }
2095
2095
  function se(M) {
2096
- Z = M.clientX, j = M.clientY;
2097
- var N = v(M) !== 1 || M.metaKey || M.ctrlKey;
2098
- if (!N) {
2099
- var U = M.target, W = Ne(U);
2100
- W && (ye = W, ke(), M.type === "mousedown" && (g(U) ? U.focus() : M.preventDefault()));
2096
+ Z = M.clientX, O = M.clientY;
2097
+ var $ = v(M) !== 1 || M.metaKey || M.ctrlKey;
2098
+ if (!$) {
2099
+ var A = M.target, _ = Ne(A);
2100
+ _ && (ye = _, ke(), M.type === "mousedown" && (g(A) ? A.focus() : M.preventDefault()));
2101
2101
  }
2102
2102
  }
2103
2103
  function lt(M) {
@@ -2106,29 +2106,29 @@ var Yi = { exports: {} };
2106
2106
  je({});
2107
2107
  return;
2108
2108
  }
2109
- if (!(M.clientX !== void 0 && Math.abs(M.clientX - Z) <= (q.slideFactorX || 0) && M.clientY !== void 0 && Math.abs(M.clientY - j) <= (q.slideFactorY || 0))) {
2109
+ if (!(M.clientX !== void 0 && Math.abs(M.clientX - Z) <= (q.slideFactorX || 0) && M.clientY !== void 0 && Math.abs(M.clientY - O) <= (q.slideFactorY || 0))) {
2110
2110
  if (q.ignoreInputTextSelection) {
2111
- var N = E("clientX", M) || 0, U = E("clientY", M) || 0, W = u.elementFromPoint(N, U);
2112
- if (g(W))
2111
+ var $ = B("clientX", M) || 0, A = B("clientY", M) || 0, _ = u.elementFromPoint($, A);
2112
+ if (g(_))
2113
2113
  return;
2114
2114
  }
2115
2115
  var ee = ye;
2116
- ke(!0), et(), We(), Le(ee), s.add(D || _, "gu-transit"), Vt(), Ot(), ce = 0, Oe(M);
2116
+ ke(!0), et(), We(), Le(ee), s.add(D || z, "gu-transit"), Vt(), Ot(), ce = 0, Oe(M);
2117
2117
  }
2118
2118
  }
2119
2119
  }
2120
2120
  function Ne(M) {
2121
- if (!(ie.dragging && R) && !De(M)) {
2122
- for (var N = M; T(M) && De(T(M)) === !1; )
2123
- if (q.invalid(M, N) || (M = T(M), !M))
2121
+ if (!(ie.dragging && R) && !ze(M)) {
2122
+ for (var $ = M; T(M) && ze(T(M)) === !1; )
2123
+ if (q.invalid(M, $) || (M = T(M), !M))
2124
2124
  return;
2125
- var U = T(M);
2126
- if (U && !q.invalid(M, N)) {
2127
- var W = q.moves(M, U, N, y(M));
2128
- if (W)
2125
+ var A = T(M);
2126
+ if (A && !q.invalid(M, $)) {
2127
+ var _ = q.moves(M, A, $, b(M));
2128
+ if (_)
2129
2129
  return {
2130
2130
  item: M,
2131
- source: U
2131
+ source: A
2132
2132
  };
2133
2133
  }
2134
2134
  }
@@ -2137,18 +2137,18 @@ var Yi = { exports: {} };
2137
2137
  return !!Ne(M);
2138
2138
  }
2139
2139
  function Ie(M) {
2140
- var N = Ne(M);
2141
- N && Le(N);
2140
+ var $ = Ne(M);
2141
+ $ && Le($);
2142
2142
  }
2143
2143
  function Le(M) {
2144
- Ht(M.item, M.source) && (D = M.item.cloneNode(!0), ie.emit("cloned", D, M.item, "copy")), A = M.source, _ = M.item, V = G = y(M.item), ie.dragging = !0, ie.emit("drag", _, A);
2144
+ Ht(M.item, M.source) && (D = M.item.cloneNode(!0), ie.emit("cloned", D, M.item, "copy")), W = M.source, z = M.item, N = G = b(M.item), ie.dragging = !0, ie.emit("drag", z, W);
2145
2145
  }
2146
2146
  function at() {
2147
2147
  return !1;
2148
2148
  }
2149
2149
  function We() {
2150
2150
  if (ie.dragging) {
2151
- var M = D || _;
2151
+ var M = D || z;
2152
2152
  nt(M, T(M));
2153
2153
  }
2154
2154
  }
@@ -2157,94 +2157,94 @@ var Yi = { exports: {} };
2157
2157
  }
2158
2158
  function je(M) {
2159
2159
  if (Pe(), !!ie.dragging) {
2160
- var N = D || _, U = E("clientX", M) || 0, W = E("clientY", M) || 0, ee = h(R, U, W), te = de(ee, U, W);
2161
- te && (D && q.copySortSource || !D || te !== A) ? nt(N, te) : q.removeOnSpill ? ot() : P();
2160
+ var $ = D || z, A = B("clientX", M) || 0, _ = B("clientY", M) || 0, ee = h(R, A, _), te = de(ee, A, _);
2161
+ te && (D && q.copySortSource || !D || te !== W) ? nt($, te) : q.removeOnSpill ? ot() : P();
2162
2162
  }
2163
2163
  }
2164
- function nt(M, N) {
2165
- var U = T(M);
2166
- D && q.copySortSource && N === A && U.removeChild(_), ue(N) ? ie.emit("cancel", M, A) : ie.emit("drop", M, N, A, G), J();
2164
+ function nt(M, $) {
2165
+ var A = T(M);
2166
+ D && q.copySortSource && $ === W && A.removeChild(z), ue($) ? ie.emit("cancel", M, W) : ie.emit("drop", M, $, W, G), J();
2167
2167
  }
2168
2168
  function ot() {
2169
2169
  if (ie.dragging) {
2170
- var M = D || _, N = T(M);
2171
- N && N.removeChild(M), ie.emit(D ? "cancel" : "remove", M, N, A), J();
2170
+ var M = D || z, $ = T(M);
2171
+ $ && $.removeChild(M), ie.emit(D ? "cancel" : "remove", M, $, W), J();
2172
2172
  }
2173
2173
  }
2174
2174
  function P(M) {
2175
2175
  if (ie.dragging) {
2176
- var N = arguments.length > 0 ? M : q.revertOnSpill, U = D || _, W = T(U), ee = ue(W);
2177
- ee === !1 && N && (D ? W && W.removeChild(D) : A.insertBefore(U, V)), ee || N ? ie.emit("cancel", U, A, A) : ie.emit("drop", U, W, A, G), J();
2176
+ var $ = arguments.length > 0 ? M : q.revertOnSpill, A = D || z, _ = T(A), ee = ue(_);
2177
+ ee === !1 && $ && (D ? _ && _.removeChild(D) : W.insertBefore(A, N)), ee || $ ? ie.emit("cancel", A, W, W) : ie.emit("drop", A, _, W, G), J();
2178
2178
  }
2179
2179
  }
2180
2180
  function J() {
2181
- var M = D || _;
2182
- Pe(), Rt(), Nt(), M && s.rm(M, "gu-transit"), K && clearTimeout(K), ie.dragging = !1, oe && ie.emit("out", M, oe, A), ie.emit("dragend", M, ce), A = _ = D = V = G = K = oe = null;
2181
+ var M = D || z;
2182
+ Pe(), Rt(), Nt(), M && s.rm(M, "gu-transit"), K && clearTimeout(K), ie.dragging = !1, oe && ie.emit("out", M, oe, W), ie.emit("dragend", M, ce), W = z = D = N = G = K = oe = null;
2183
2183
  }
2184
- function ue(M, N) {
2185
- var U;
2186
- return N !== void 0 ? U = N : R ? U = G : U = y(D || _), M === A && U === V;
2184
+ function ue(M, $) {
2185
+ var A;
2186
+ return $ !== void 0 ? A = $ : R ? A = G : A = b(D || z), M === W && A === N;
2187
2187
  }
2188
- function de(M, N, U) {
2189
- for (var W = M; W && !ee(); )
2190
- W = T(W);
2191
- return W;
2188
+ function de(M, $, A) {
2189
+ for (var _ = M; _ && !ee(); )
2190
+ _ = T(_);
2191
+ return _;
2192
2192
  function ee() {
2193
- var te = De(W);
2193
+ var te = ze(_);
2194
2194
  if (te === !1)
2195
2195
  return !1;
2196
- var Se = mt(W, M), be = vt(W, Se, N, U), Ce = ue(W, be);
2197
- return Ce ? !0 : q.accepts(_, W, A, be);
2196
+ var Fe = mt(_, M), be = vt(_, Fe, $, A), Ce = ue(_, be);
2197
+ return Ce ? !0 : q.accepts(z, _, W, be);
2198
2198
  }
2199
2199
  }
2200
2200
  function Oe(M) {
2201
2201
  if (!R)
2202
2202
  return;
2203
2203
  M.preventDefault();
2204
- var N = E("clientX", M) || 0, U = E("clientY", M) || 0;
2205
- R.style.left = N - 2 + "px", R.style.top = U - 2 + "px";
2206
- var W = D || _, ee = h(R, N, U), te = de(ee, N, U), Se = te !== null && te !== oe;
2207
- (Se || te === null) && (we(), oe = te, Ee()), At(ee, U);
2208
- var be = T(W);
2209
- if (te === A && D && !q.copySortSource) {
2210
- be && be.removeChild(W);
2204
+ var $ = B("clientX", M) || 0, A = B("clientY", M) || 0;
2205
+ R.style.left = $ - 2 + "px", R.style.top = A - 2 + "px";
2206
+ var _ = D || z, ee = h(R, $, A), te = de(ee, $, A), Fe = te !== null && te !== oe;
2207
+ (Fe || te === null) && (we(), oe = te, Be()), At(ee, A);
2208
+ var be = T(_);
2209
+ if (te === W && D && !q.copySortSource) {
2210
+ be && be.removeChild(_);
2211
2211
  return;
2212
2212
  }
2213
2213
  var Ce, Me = mt(te, ee);
2214
2214
  if (re = st(Me, te), Me !== null)
2215
- Ce = vt(te, Me, N, U);
2215
+ Ce = vt(te, Me, $, A);
2216
2216
  else if (q.revertOnSpill === !0 && !D)
2217
- Ce = V, te = A;
2217
+ Ce = N, te = W;
2218
2218
  else {
2219
- D && be && be.removeChild(W), D && Q && (Q.style.display = "none");
2219
+ D && be && be.removeChild(_), D && Q && (Q.style.display = "none");
2220
2220
  return;
2221
2221
  }
2222
- Q.style.display = "block", Et(Ce, W, Se), Ce ? Lt(Me, Ce) : jt(te);
2222
+ Q.style.display = "block", Bt(Ce, _, Fe), Ce ? Lt(Me, Ce) : jt(te);
2223
2223
  function fe(ge) {
2224
- ie.emit(ge, W, oe, A);
2224
+ ie.emit(ge, _, oe, W);
2225
2225
  }
2226
- function Ee() {
2227
- Se && fe("over");
2226
+ function Be() {
2227
+ Fe && fe("over");
2228
2228
  }
2229
2229
  function we() {
2230
2230
  oe && fe("out");
2231
2231
  }
2232
2232
  }
2233
- function Et(M, N, U) {
2234
- (M === N || M === y(N)) && (G = y(N)), (M === null && U || M !== N && M !== y(N)) && (G = M);
2233
+ function Bt(M, $, A) {
2234
+ (M === $ || M === b($)) && (G = b($)), (M === null && A || M !== $ && M !== b($)) && (G = M);
2235
2235
  }
2236
- function Bt(M) {
2236
+ function Et(M) {
2237
2237
  s.rm(M, "gu-hide");
2238
2238
  }
2239
2239
  function Pt(M) {
2240
2240
  ie.dragging && s.add(M, "gu-hide");
2241
2241
  }
2242
2242
  function Ot() {
2243
- R || (R = document.createElement("div"), R.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;", R.innerHTML = q.getMirrorText && q.getMirrorText(_) || "控件", s.add(R, "gu-mirror"), q.mirrorContainer.appendChild(R), d(m, "add", "mousemove", Oe), s.add(q.mirrorContainer, "gu-unselectable"), ie.emit("cloned", R, _, "mirror"));
2243
+ R || (R = document.createElement("div"), R.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;", R.innerHTML = q.getMirrorText && q.getMirrorText(z) || "控件", s.add(R, "gu-mirror"), q.mirrorContainer.appendChild(R), d(m, "add", "mousemove", Oe), s.add(q.mirrorContainer, "gu-unselectable"), ie.emit("cloned", R, z, "mirror"));
2244
2244
  }
2245
2245
  function Vt() {
2246
- if (Q = document.createElement("div"), s.add(Q, "gu-insertion"), _) {
2247
- var M = _.getBoundingClientRect();
2246
+ if (Q = document.createElement("div"), s.add(Q, "gu-insertion"), z) {
2247
+ var M = z.getBoundingClientRect();
2248
2248
  Q.style.left = M.left + "px", Q.style.top = M.top + "px";
2249
2249
  }
2250
2250
  re = !1, q.mirrorContainer.appendChild(Q);
@@ -2255,26 +2255,26 @@ var Yi = { exports: {} };
2255
2255
  function Nt() {
2256
2256
  Q && (T(Q).removeChild(Q), Q = null);
2257
2257
  }
2258
- function mt(M, N) {
2259
- for (var U = N; U !== M && T(U) !== M; )
2260
- U = T(U);
2261
- return U === m ? null : U;
2258
+ function mt(M, $) {
2259
+ for (var A = $; A !== M && T(A) !== M; )
2260
+ A = T(A);
2261
+ return A === m ? null : A;
2262
2262
  }
2263
- function st(M, N) {
2264
- if (!N)
2263
+ function st(M, $) {
2264
+ if (!$)
2265
2265
  return re;
2266
- var U = M || N && N.lastElementChild;
2267
- if (!U)
2266
+ var A = M || $ && $.lastElementChild;
2267
+ if (!A)
2268
2268
  return !0;
2269
- var W = getComputedStyle(M), ee = /^inline/.test(W.getPropertyValue("display")) || /^(left|right)$/.test(W.getPropertyValue("float"));
2269
+ var _ = getComputedStyle(M), ee = /^inline/.test(_.getPropertyValue("display")) || /^(left|right)$/.test(_.getPropertyValue("float"));
2270
2270
  if (ee)
2271
2271
  return !0;
2272
- if (N) {
2273
- var te = getComputedStyle(N), Se = te.getPropertyValue("display");
2274
- if (/flex$/.test(Se)) {
2272
+ if ($) {
2273
+ var te = getComputedStyle($), Fe = te.getPropertyValue("display");
2274
+ if (/flex$/.test(Fe)) {
2275
2275
  var be = te.getPropertyValue("flex-direction") || "row";
2276
2276
  if (be === "row" || be === "row-reverse")
2277
- return !$t(N);
2277
+ return !$t($);
2278
2278
  }
2279
2279
  return !1;
2280
2280
  }
@@ -2283,11 +2283,11 @@ var Yi = { exports: {} };
2283
2283
  function $t(M) {
2284
2284
  if (!M.children || !M.children.length)
2285
2285
  return !1;
2286
- for (const N of Array.from(M.children)) {
2287
- const W = (N.className && N.className.split(" ") || []).filter((ee) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(ee));
2288
- if (!W.length)
2286
+ for (const $ of Array.from(M.children)) {
2287
+ const _ = ($.className && $.className.split(" ") || []).filter((ee) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(ee));
2288
+ if (!_.length)
2289
2289
  return !1;
2290
- for (const ee of W) {
2290
+ for (const ee of _) {
2291
2291
  const te = ee.slice(ee.lastIndexOf("-") + 1);
2292
2292
  if (parseInt(te, 10) !== 12)
2293
2293
  return !1;
@@ -2295,93 +2295,93 @@ var Yi = { exports: {} };
2295
2295
  }
2296
2296
  return !0;
2297
2297
  }
2298
- function Lt(M, N) {
2299
- const U = N.getBoundingClientRect();
2300
- if (Q.style.left = U.left + "px", Q.style.top = U.top + "px", re) {
2301
- if (Q.style.height = U.height + "px", Q.style.width = "4px", M) {
2302
- const W = M.getBoundingClientRect();
2303
- W.top !== U.top && (Q.style.left = W.right + "px", Q.style.top = W.top + "px", Q.style.height = W.height + "px");
2298
+ function Lt(M, $) {
2299
+ const A = $.getBoundingClientRect();
2300
+ if (Q.style.left = A.left + "px", Q.style.top = A.top + "px", re) {
2301
+ if (Q.style.height = A.height + "px", Q.style.width = "4px", M) {
2302
+ const _ = M.getBoundingClientRect();
2303
+ _.top !== A.top && (Q.style.left = _.right + "px", Q.style.top = _.top + "px", Q.style.height = _.height + "px");
2304
2304
  }
2305
- } else if (Q.style.height = "4px", Q.style.width = U.width + "px", ne) {
2306
- const W = ne.getBoundingClientRect();
2307
- U.top < W.top && (Q.style.display = "none");
2305
+ } else if (Q.style.height = "4px", Q.style.width = A.width + "px", ne) {
2306
+ const _ = ne.getBoundingClientRect();
2307
+ A.top < _.top && (Q.style.display = "none");
2308
2308
  }
2309
- N === _ && _ && (Q.style.display = "none");
2309
+ $ === z && z && (Q.style.display = "none");
2310
2310
  }
2311
2311
  function jt(M) {
2312
2312
  G = null;
2313
- var N = M.lastElementChild;
2314
- if (N) {
2315
- var U = N.getBoundingClientRect();
2316
- re ? (Q.style.left = U.right + "px", Q.style.top = U.top + "px", Q.style.height = U.height + "px", Q.style.width = "4px") : (Q.style.left = U.left + "px", Q.style.top = U.bottom + "px", Q.style.height = "4px", Q.style.width = U.width + "px"), N === _ && _ && (Q.style.display = "none");
2313
+ var $ = M.lastElementChild;
2314
+ if ($) {
2315
+ var A = $.getBoundingClientRect();
2316
+ re ? (Q.style.left = A.right + "px", Q.style.top = A.top + "px", Q.style.height = A.height + "px", Q.style.width = "4px") : (Q.style.left = A.left + "px", Q.style.top = A.bottom + "px", Q.style.height = "4px", Q.style.width = A.width + "px"), $ === z && z && (Q.style.display = "none");
2317
2317
  } else
2318
2318
  Q.style.display = "none";
2319
2319
  }
2320
- function At(M, N) {
2320
+ function At(M, $) {
2321
2321
  if (!q.mirrorContainer.contains(M) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ne = p(M), !ne || !ne.contains(M)))
2322
2322
  return;
2323
- const U = document.querySelector(".dgComponentSelected"), W = ne.getBoundingClientRect();
2324
- if (N - 30 < W.top && ne.scrollTop > 0) {
2323
+ const A = document.querySelector(".dgComponentSelected"), _ = ne.getBoundingClientRect();
2324
+ if ($ - 30 < _.top && ne.scrollTop > 0) {
2325
2325
  let ee = ne.scrollTop < 10 ? ne.scrollTop : 10;
2326
- ne.scrollBy(0, -1 * ee), U && ne.contains(U) && (ce = ce + -1 * ee);
2326
+ ne.scrollBy(0, -1 * ee), A && ne.contains(A) && (ce = ce + -1 * ee);
2327
2327
  }
2328
- if (N + 30 > W.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2328
+ if ($ + 30 > _.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2329
2329
  const ee = ne.scrollHeight - ne.clientHeight - ne.scrollTop;
2330
2330
  let te = ee < 10 ? ee : 10;
2331
- ne.scrollBy(0, te), U && ne.contains(U) && (ce = ce + te);
2331
+ ne.scrollBy(0, te), A && ne.contains(A) && (ce = ce + te);
2332
2332
  }
2333
2333
  }
2334
- function vt(M, N, U, W) {
2335
- var ee = q.direction === "horizontal", te = q.direction === "mixed", Se = N !== M ? Ce() : be();
2336
- return Se;
2334
+ function vt(M, $, A, _) {
2335
+ var ee = q.direction === "horizontal", te = q.direction === "mixed", Fe = $ !== M ? Ce() : be();
2336
+ return Fe;
2337
2337
  function be() {
2338
- var fe = M.children.length, Ee, we, ge;
2339
- for (Ee = 0; Ee < fe; Ee++)
2340
- if (we = M.children[Ee], ge = we.getBoundingClientRect(), ee && ge.left + ge.width / 2 > U || !te && !ee && ge.top + ge.height / 2 > W || te && ge.left + ge.width > U && ge.top + ge.height > W)
2338
+ var fe = M.children.length, Be, we, ge;
2339
+ for (Be = 0; Be < fe; Be++)
2340
+ if (we = M.children[Be], ge = we.getBoundingClientRect(), ee && ge.left + ge.width / 2 > A || !te && !ee && ge.top + ge.height / 2 > _ || te && ge.left + ge.width > A && ge.top + ge.height > _)
2341
2341
  return we;
2342
2342
  return null;
2343
2343
  }
2344
2344
  function Ce() {
2345
- var fe = N.getBoundingClientRect();
2345
+ var fe = $.getBoundingClientRect();
2346
2346
  if (te) {
2347
- var Ee = W - fe.top, we = U - fe.left, ge = fe.bottom - W, ut = fe.right - U, ct = Math.min(we, ut, Ee, ge), dt;
2347
+ var Be = _ - fe.top, we = A - fe.left, ge = fe.bottom - _, ut = fe.right - A, ct = Math.min(we, ut, Be, ge), dt;
2348
2348
  return re ? dt = ut < we : dt = ge === ct || ut === ct || we === ct, Me(dt);
2349
2349
  }
2350
- return Me(ee ? U > fe.left + O(fe) / 2 : W > fe.top + k(fe) / 2);
2350
+ return Me(ee ? A > fe.left + V(fe) / 2 : _ > fe.top + k(fe) / 2);
2351
2351
  }
2352
2352
  function Me(fe) {
2353
- return fe ? y(N) : N;
2353
+ return fe ? b($) : $;
2354
2354
  }
2355
2355
  }
2356
- function Ht(M, N) {
2357
- return typeof q.copy == "boolean" ? q.copy : q.copy(M, N);
2356
+ function Ht(M, $) {
2357
+ return typeof q.copy == "boolean" ? q.copy : q.copy(M, $);
2358
2358
  }
2359
2359
  }
2360
2360
  function p(S) {
2361
- const L = Array.from(window.scrollContainerList);
2362
- if (L.length === 1) {
2361
+ const j = Array.from(window.scrollContainerList);
2362
+ if (j.length === 1) {
2363
2363
  const R = Array.from(window.scrollContainerList)[0];
2364
2364
  return document.getElementById(R);
2365
2365
  }
2366
- const H = a(L);
2366
+ const H = a(j);
2367
2367
  for (const R of H)
2368
2368
  if (R.contains(S))
2369
2369
  return R;
2370
2370
  return null;
2371
2371
  }
2372
2372
  function a(S) {
2373
- const L = [];
2373
+ const j = [];
2374
2374
  return S.forEach((H) => {
2375
2375
  const R = document.getElementById(H);
2376
- R && L.push(R);
2377
- }), L.sort((H, R) => H.contains(R) ? 1 : R.contains(H) ? -1 : 0), L;
2376
+ R && j.push(R);
2377
+ }), j.sort((H, R) => H.contains(R) ? 1 : R.contains(H) ? -1 : 0), j;
2378
2378
  }
2379
- function d(S, L, H, R) {
2380
- var A = {
2379
+ function d(S, j, H, R) {
2380
+ var W = {
2381
2381
  mouseup: "touchend",
2382
2382
  mousedown: "touchstart",
2383
2383
  mousemove: "touchmove"
2384
- }, _ = {
2384
+ }, z = {
2385
2385
  mouseup: "pointerup",
2386
2386
  mousedown: "pointerdown",
2387
2387
  mousemove: "pointermove"
@@ -2390,7 +2390,7 @@ var Yi = { exports: {} };
2390
2390
  mousedown: "MSPointerDown",
2391
2391
  mousemove: "MSPointerMove"
2392
2392
  };
2393
- r.navigator.pointerEnabled ? f[L](S, _[H], R) : r.navigator.msPointerEnabled ? f[L](S, Z[H], R) : (f[L](S, A[H], R), f[L](S, H, R));
2393
+ r.navigator.pointerEnabled ? f[j](S, z[H], R) : r.navigator.msPointerEnabled ? f[j](S, Z[H], R) : (f[j](S, W[H], R), f[j](S, H, R));
2394
2394
  }
2395
2395
  function v(S) {
2396
2396
  if (S.touches !== void 0)
@@ -2399,14 +2399,14 @@ var Yi = { exports: {} };
2399
2399
  return S.which;
2400
2400
  if (S.buttons !== void 0)
2401
2401
  return S.buttons;
2402
- var L = S.button;
2403
- if (L !== void 0)
2404
- return L & 1 ? 1 : L & 2 ? 3 : L & 4 ? 2 : 0;
2402
+ var j = S.button;
2403
+ if (j !== void 0)
2404
+ return j & 1 ? 1 : j & 2 ? 3 : j & 4 ? 2 : 0;
2405
2405
  }
2406
- function h(S, L, H) {
2406
+ function h(S, j, H) {
2407
2407
  S = S || {};
2408
- var R = S.className || "", A;
2409
- return S.className += " gu-hide", A = u.elementFromPoint(L, H), S.className = R, A;
2408
+ var R = S.className || "", W;
2409
+ return S.className += " gu-hide", W = u.elementFromPoint(j, H), S.className = R, W;
2410
2410
  }
2411
2411
  function F() {
2412
2412
  return !1;
@@ -2414,7 +2414,7 @@ var Yi = { exports: {} };
2414
2414
  function I() {
2415
2415
  return !0;
2416
2416
  }
2417
- function O(S) {
2417
+ function V(S) {
2418
2418
  return S.width || S.right - S.left;
2419
2419
  }
2420
2420
  function k(S) {
@@ -2424,14 +2424,14 @@ var Yi = { exports: {} };
2424
2424
  return S.parentNode === u ? null : S.parentNode;
2425
2425
  }
2426
2426
  function g(S) {
2427
- return S.tagName === "INPUT" || S.tagName === "TEXTAREA" || S.tagName === "SELECT" || b(S);
2428
- }
2429
- function b(S) {
2430
- return !S || S.contentEditable === "false" ? !1 : S.contentEditable === "true" ? !0 : b(T(S));
2427
+ return S.tagName === "INPUT" || S.tagName === "TEXTAREA" || S.tagName === "SELECT" || y(S);
2431
2428
  }
2432
2429
  function y(S) {
2433
- return S.nextElementSibling || L();
2434
- function L() {
2430
+ return !S || S.contentEditable === "false" ? !1 : S.contentEditable === "true" ? !0 : y(T(S));
2431
+ }
2432
+ function b(S) {
2433
+ return S.nextElementSibling || j();
2434
+ function j() {
2435
2435
  var H = S;
2436
2436
  do
2437
2437
  H = H.nextSibling;
@@ -2442,8 +2442,8 @@ var Yi = { exports: {} };
2442
2442
  function w(S) {
2443
2443
  return S.targetTouches && S.targetTouches.length ? S.targetTouches[0] : S.changedTouches && S.changedTouches.length ? S.changedTouches[0] : S;
2444
2444
  }
2445
- function E(S, L) {
2446
- var H = w(L), R = {
2445
+ function B(S, j) {
2446
+ var H = w(j), R = {
2447
2447
  pageX: "clientX",
2448
2448
  // IE8
2449
2449
  pageY: "clientY"
@@ -2512,62 +2512,62 @@ var Yi = { exports: {} };
2512
2512
  remove: m,
2513
2513
  fabricate: h
2514
2514
  };
2515
- function p(T, g, b, y) {
2516
- return T.addEventListener(g, b, y);
2515
+ function p(T, g, y, b) {
2516
+ return T.addEventListener(g, y, b);
2517
2517
  }
2518
- function a(T, g, b) {
2519
- return T.attachEvent("on" + g, I(T, g, b));
2518
+ function a(T, g, y) {
2519
+ return T.attachEvent("on" + g, I(T, g, y));
2520
2520
  }
2521
- function d(T, g, b, y) {
2522
- return T.removeEventListener(g, b, y);
2521
+ function d(T, g, y, b) {
2522
+ return T.removeEventListener(g, y, b);
2523
2523
  }
2524
- function v(T, g, b) {
2525
- var y = O(T, g, b);
2526
- if (y)
2527
- return T.detachEvent("on" + g, y);
2524
+ function v(T, g, y) {
2525
+ var b = V(T, g, y);
2526
+ if (b)
2527
+ return T.detachEvent("on" + g, b);
2528
2528
  }
2529
- function h(T, g, b) {
2530
- var y = f.indexOf(g) === -1 ? E() : w();
2531
- T.dispatchEvent ? T.dispatchEvent(y) : T.fireEvent("on" + g, y);
2529
+ function h(T, g, y) {
2530
+ var b = f.indexOf(g) === -1 ? B() : w();
2531
+ T.dispatchEvent ? T.dispatchEvent(b) : T.fireEvent("on" + g, b);
2532
2532
  function w() {
2533
2533
  var S;
2534
2534
  return s.createEvent ? (S = s.createEvent("Event"), S.initEvent(g, !0, !0)) : s.createEventObject && (S = s.createEventObject()), S;
2535
2535
  }
2536
- function E() {
2537
- return new l(g, { detail: b });
2536
+ function B() {
2537
+ return new l(g, { detail: y });
2538
2538
  }
2539
2539
  }
2540
- function F(T, g, b) {
2540
+ function F(T, g, y) {
2541
2541
  return function(w) {
2542
- var E = w || r.event;
2543
- E.target = E.target || E.srcElement, E.preventDefault = E.preventDefault || function() {
2544
- E.returnValue = !1;
2545
- }, E.stopPropagation = E.stopPropagation || function() {
2546
- E.cancelBubble = !0;
2547
- }, E.which = E.which || E.keyCode, b.call(T, E);
2542
+ var B = w || r.event;
2543
+ B.target = B.target || B.srcElement, B.preventDefault = B.preventDefault || function() {
2544
+ B.returnValue = !1;
2545
+ }, B.stopPropagation = B.stopPropagation || function() {
2546
+ B.cancelBubble = !0;
2547
+ }, B.which = B.which || B.keyCode, y.call(T, B);
2548
2548
  };
2549
2549
  }
2550
- function I(T, g, b) {
2551
- var y = O(T, g, b) || F(T, g, b);
2550
+ function I(T, g, y) {
2551
+ var b = V(T, g, y) || F(T, g, y);
2552
2552
  return c.push({
2553
- wrapper: y,
2553
+ wrapper: b,
2554
2554
  element: T,
2555
2555
  type: g,
2556
- fn: b
2557
- }), y;
2556
+ fn: y
2557
+ }), b;
2558
2558
  }
2559
- function O(T, g, b) {
2560
- var y = k(T, g, b);
2561
- if (y) {
2562
- var w = c[y].wrapper;
2563
- return c.splice(y, 1), w;
2559
+ function V(T, g, y) {
2560
+ var b = k(T, g, y);
2561
+ if (b) {
2562
+ var w = c[b].wrapper;
2563
+ return c.splice(b, 1), w;
2564
2564
  }
2565
2565
  }
2566
- function k(T, g, b) {
2567
- var y, w;
2568
- for (y = 0; y < c.length; y++)
2569
- if (w = c[y], w.element === T && w.type === g && w.fn === b)
2570
- return y;
2566
+ function k(T, g, y) {
2567
+ var b, w;
2568
+ for (b = 0; b < c.length; b++)
2569
+ if (w = c[b], w.element === T && w.type === g && w.fn === y)
2570
+ return b;
2571
2571
  }
2572
2572
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
2573
2573
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2684,9 +2684,9 @@ var Yi = { exports: {} };
2684
2684
  I.prototype.run = function() {
2685
2685
  this.fun.apply(null, this.array);
2686
2686
  }, r.title = "browser", r.browser = !0, r.env = {}, r.argv = [], r.version = "", r.versions = {};
2687
- function O() {
2687
+ function V() {
2688
2688
  }
2689
- r.on = O, r.addListener = O, r.once = O, r.off = O, r.removeListener = O, r.removeAllListeners = O, r.emit = O, r.prependListener = O, r.prependOnceListener = O, r.listeners = function(k) {
2689
+ r.on = V, r.addListener = V, r.once = V, r.off = V, r.removeListener = V, r.removeAllListeners = V, r.emit = V, r.prependListener = V, r.prependOnceListener = V, r.listeners = function(k) {
2690
2690
  return [];
2691
2691
  }, r.binding = function(k) {
2692
2692
  throw new Error("process.binding is not supported");
@@ -2764,7 +2764,7 @@ const Qi = {
2764
2764
  showCloseButton: { type: Boolean, default: !0 },
2765
2765
  animate: { type: String, default: "fadeIn" },
2766
2766
  options: { type: Object }
2767
- }, Dt = /* @__PURE__ */ Fe({
2767
+ }, zt = /* @__PURE__ */ Se({
2768
2768
  name: "Toast",
2769
2769
  props: Ji,
2770
2770
  emits: ["close", "click"],
@@ -2772,19 +2772,19 @@ const Qi = {
2772
2772
  const {
2773
2773
  locale: n,
2774
2774
  t: o
2775
- } = Wt(), i = C(e.animate), r = "fadeOut", l = B(() => e.options), f = C(!1), s = B(() => l.value.title && l.value.message), u = B(() => !l.value.title && l.value.message), m = B(() => {
2775
+ } = Wt(), i = C(e.animate), r = "fadeOut", l = E(() => e.options), f = C(!1), s = E(() => l.value.title && l.value.message), u = E(() => !l.value.title && l.value.message), m = E(() => {
2776
2776
  const k = {
2777
2777
  animated: f.value,
2778
2778
  toast: !0,
2779
2779
  "toast--only-content": !s.value
2780
2780
  };
2781
2781
  return k[e.animate] = !1, k[r] = f.value, k["toasty-type-" + l.value.type] = !0, l.value.theme && (k[l.value.theme] = !0), k;
2782
- }), c = B(() => {
2783
- const g = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, b = {
2782
+ }), c = E(() => {
2783
+ const g = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, y = {
2784
2784
  "f-icon": !0
2785
2785
  };
2786
- return b[g] = !0, b;
2787
- }), p = B(() => l.value.title || l.value.message), a = B(() => e.showCloseButton), d = B(() => !!l.value.buttons || !!t.slots.default), v = B(() => n.value === "en" ? {
2786
+ return y[g] = !0, y;
2787
+ }), p = E(() => l.value.title || l.value.message), a = E(() => e.showCloseButton), d = E(() => !!l.value.buttons || !!t.slots.default), v = E(() => n.value === "en" ? {
2788
2788
  wordBreak: "keep-all",
2789
2789
  overflowWrap: "break-word"
2790
2790
  } : {});
@@ -2801,7 +2801,7 @@ const Qi = {
2801
2801
  le(i, () => {
2802
2802
  i.value;
2803
2803
  });
2804
- const O = () => {
2804
+ const V = () => {
2805
2805
  var k;
2806
2806
  return x(Ve, null, [x("div", {
2807
2807
  class: "after-toast-msg text-right"
@@ -2834,7 +2834,7 @@ const Qi = {
2834
2834
  class: "toast-msg",
2835
2835
  innerHTML: l.value.message,
2836
2836
  style: v.value
2837
- }, null), d.value && O()]), u.value && (l.value.buttons ? x("div", {
2837
+ }, null), d.value && V()]), u.value && (l.value.buttons ? x("div", {
2838
2838
  class: "toast-title-btns-wrapper d-flex"
2839
2839
  }, [x("h5", {
2840
2840
  class: "toast-title modal-tips-title only-toast-msg",
@@ -2842,25 +2842,25 @@ const Qi = {
2842
2842
  innerHTML: l.value.message
2843
2843
  }, null), x("div", {
2844
2844
  class: "after-toast-title text-right ml-auto"
2845
- }, [O()])]) : x("h5", {
2845
+ }, [V()])]) : x("h5", {
2846
2846
  class: "toast-title modal-tips-title only-toast-msg",
2847
2847
  style: v.value,
2848
2848
  innerHTML: l.value.message
2849
2849
  }, null))])])]);
2850
2850
  }
2851
- }), Ct = /* @__PURE__ */ Fe({
2851
+ }), Ct = /* @__PURE__ */ Se({
2852
2852
  name: "Notify",
2853
2853
  props: Qi,
2854
2854
  emits: ["close", "empty"],
2855
2855
  setup(e, t) {
2856
- const n = B(() => ({
2856
+ const n = E(() => ({
2857
2857
  "farris-notify": !0
2858
2858
  })), o = {
2859
2859
  left: 12,
2860
2860
  right: 12,
2861
2861
  top: 20,
2862
2862
  bottom: 12
2863
- }, i = C(), r = C(e.options), l = C(e.showCloseButton), f = B(() => e.position || "bottom-right"), s = B(() => e.timeout != null ? e.timeout : 3e3), u = B(() => {
2863
+ }, i = C(), r = C(e.options), l = C(e.showCloseButton), f = E(() => e.position || "bottom-right"), s = E(() => e.timeout != null ? e.timeout : 3e3), u = E(() => {
2864
2864
  const p = e.bottom ? e.bottom : o.bottom, a = e.top ? e.top : o.top, d = {
2865
2865
  transition: "all 0.2s ease",
2866
2866
  left: f.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -2887,7 +2887,7 @@ const Qi = {
2887
2887
  class: n.value,
2888
2888
  style: u.value,
2889
2889
  ref: i
2890
- }, [x(Dt, {
2890
+ }, [x(zt, {
2891
2891
  options: r.value,
2892
2892
  showCloseButton: l.value,
2893
2893
  animate: e.animate,
@@ -2934,7 +2934,7 @@ class Zi {
2934
2934
  }
2935
2935
  return i.safeHtml && ((u = i.options) != null && u.message) && (i.options.message = n.escapeAllHtml(i.options.message)), ft(() => {
2936
2936
  document.body.removeChild(r);
2937
- }), ze(() => {
2937
+ }), De(() => {
2938
2938
  n.updateNotifyPositionForCreate(i, f);
2939
2939
  }), () => x(on, {
2940
2940
  mode: "out-in",
@@ -3016,7 +3016,7 @@ class Zi {
3016
3016
  }
3017
3017
  const Ki = Symbol("NOTIFY_SERVICE_TOKEN");
3018
3018
  Ct.install = (e) => {
3019
- e.component(Ct.name, Ct), e.component(Dt.name, Dt);
3019
+ e.component(Ct.name, Ct), e.component(zt.name, zt);
3020
3020
  const t = new Zi();
3021
3021
  e.provide(Ki, t), e.provide("FNotifyService", t);
3022
3022
  };
@@ -3175,18 +3175,18 @@ function tr(e, t, n, o, i, r, l, f, s, u, m, c, p, a, d, v, h) {
3175
3175
  calculateCellPositionInRow: F
3176
3176
  } = r, {
3177
3177
  columnContext: I,
3178
- hasLeftFixedColumn: O,
3178
+ hasLeftFixedColumn: V,
3179
3179
  hasRightFixedColumn: k
3180
3180
  } = l, {
3181
3181
  gridDataStyle: T,
3182
3182
  leftFixedGridDataStyle: g,
3183
- rightFixedGridDataStyle: b
3183
+ rightFixedGridDataStyle: y
3184
3184
  } = a, {
3185
- renderDataRow: y
3186
- } = so(e, t, I, h, f, s, u, m, c, p, a, d, v), w = [y];
3187
- function E(A, _) {
3188
- const Z = F(A);
3189
- return h.value.filter((j) => j.visible !== !1).map((j, V) => w[j.type](j, Z, _, V));
3185
+ renderDataRow: b
3186
+ } = so(e, t, I, h, f, s, u, m, c, p, a, d, v), w = [b];
3187
+ function B(W, z) {
3188
+ const Z = F(W);
3189
+ return h.value.filter((O) => O.visible !== !1).map((O, N) => w[O.type](O, Z, z, N));
3190
3190
  }
3191
3191
  function S() {
3192
3192
  return x("div", {
@@ -3195,16 +3195,16 @@ function tr(e, t, n, o, i, r, l, f, s, u, m, c, p, a, d, v, h) {
3195
3195
  }, [x("div", {
3196
3196
  class: "fv-grid-data",
3197
3197
  style: g.value
3198
- }, [E(I.value.leftColumns.filter((A) => A.visible), "left")])]);
3198
+ }, [B(I.value.leftColumns.filter((W) => W.visible), "left")])]);
3199
3199
  }
3200
- function L() {
3200
+ function j() {
3201
3201
  return x("div", {
3202
3202
  ref: n,
3203
3203
  class: "fv-grid-content-primary"
3204
3204
  }, [x("div", {
3205
3205
  class: "fv-grid-data",
3206
3206
  style: T.value
3207
- }, [E(I.value.primaryColumns.filter((A) => A.visible), "primary")])]);
3207
+ }, [B(I.value.primaryColumns.filter((W) => W.visible), "primary")])]);
3208
3208
  }
3209
3209
  function H() {
3210
3210
  return x("div", {
@@ -3212,18 +3212,18 @@ function tr(e, t, n, o, i, r, l, f, s, u, m, c, p, a, d, v, h) {
3212
3212
  class: "fv-grid-content-right-fixed"
3213
3213
  }, [x("div", {
3214
3214
  class: "fv-grid-data",
3215
- style: b.value
3216
- }, [E(I.value.rightColumns.filter((A) => A.visible), "right")])]);
3215
+ style: y.value
3216
+ }, [B(I.value.rightColumns.filter((W) => W.visible), "right")])]);
3217
3217
  }
3218
3218
  function R() {
3219
- const A = [];
3220
- return O.value && A.push(S()), A.push(L()), k.value && A.push(H()), A;
3219
+ const W = [];
3220
+ return V.value && W.push(S()), W.push(j()), k.value && W.push(H()), W;
3221
3221
  }
3222
3222
  return {
3223
3223
  renderDataArea: R
3224
3224
  };
3225
3225
  }
3226
- const nr = /* @__PURE__ */ Fe({
3226
+ const nr = /* @__PURE__ */ Se({
3227
3227
  name: "FTreeGrid",
3228
3228
  props: er,
3229
3229
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
@@ -3232,37 +3232,37 @@ const nr = /* @__PURE__ */ Fe({
3232
3232
  const o = ((Qt = e.rowOption) == null ? void 0 : Qt.height) || 28, i = C(20), r = C(e.columns), l = uo(e), {
3233
3233
  idField: f
3234
3234
  } = l, s = C(), u = C(), m = C(), c = C(), p = C(), a = C([]), d = C(!1), v = C(((Jt = e.rowOption) == null ? void 0 : Jt.wrapContent) || !1), h = co(e, l), F = fo(e, t), I = po(e), {
3235
- collapseField: O
3235
+ collapseField: V
3236
3236
  } = I, {
3237
3237
  showLoading: k,
3238
3238
  renderLoading: T
3239
3239
  } = mo(e, s), g = vo(e, /* @__PURE__ */ new Map(), F, I, l), {
3240
- dataView: b
3241
- } = g, y = go(e, g, l, a, t), {
3240
+ dataView: y
3241
+ } = g, b = go(e, g, l, a, t), {
3242
3242
  showSelection: w,
3243
- selectedValues: E
3244
- } = y, S = ho(e, a, g, l, y, t), L = B(() => e.disabled), H = B(() => e.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), R = yo(e, g), {
3245
- shouldRenderPagination: A
3243
+ selectedValues: B
3244
+ } = b, S = ho(e, a, g, l, b, t), j = E(() => e.disabled), H = E(() => e.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), R = yo(e, g), {
3245
+ shouldRenderPagination: W
3246
3246
  } = R, {
3247
- containerStyleObject: _
3247
+ containerStyleObject: z
3248
3248
  } = bo(e), Z = Co(e), {
3249
- applyCommands: j
3249
+ applyCommands: O
3250
3250
  } = Z;
3251
- j(r);
3251
+ O(r);
3252
3252
  const {
3253
- applyColumnSetting: V,
3253
+ applyColumnSetting: N,
3254
3254
  removeColumnSetting: G
3255
3255
  } = wo(e);
3256
- e.showSetting && V(r);
3257
- const D = xo(e, t), K = Fo(e), {
3256
+ e.showSetting && N(r);
3257
+ const D = xo(e, t), K = So(e), {
3258
3258
  applyColumnSorter: oe,
3259
3259
  columnContext: ye,
3260
3260
  updateColumnRenderContext: Q
3261
3261
  } = D;
3262
3262
  oe(g, K);
3263
- const re = So(e, ye), ce = To(e, t, y, l), ne = ko(e, t, l, ce, a), q = Io(e), ie = Mo(e, ne, q), De = Eo(e, g, ne, I, l, q, ie), Re = Bo(e, r, g, H, 0, De), {
3263
+ const re = Fo(e, ye), ce = To(e, t, b, l), ne = ko(e, t, l, ce, a), q = Io(e), ie = Mo(e, ne, q), ze = Bo(e, g, ne, I, l, q, ie), Re = Eo(e, r, g, H, 0, ze), {
3264
3264
  getVisualData: ke
3265
- } = Re, et = Po(e, ye), qe = Oo(e, y), {
3265
+ } = Re, et = Po(e, ye), qe = Oo(e, b), {
3266
3266
  sidebarWidth: tt
3267
3267
  } = qe, se = Vo(e, g, a, ye, Re, H, 0, tt), {
3268
3268
  onWheel: lt,
@@ -3273,41 +3273,41 @@ const nr = /* @__PURE__ */ Fe({
3273
3273
  updateVisibleRowsOnLatestVisibleScope: at
3274
3274
  } = se, We = Ro(e, ye, u, Ie, re), {
3275
3275
  calculateColumnsSize: Pe
3276
- } = We, je = No(), nt = $o(u, p, g, je, se), ot = Lo(e, t, D, g, re, h, se), P = B(() => {
3277
- const z = {
3276
+ } = We, je = No(), nt = $o(u, p, g, je, se), ot = Lo(e, t, D, g, re, h, se), P = E(() => {
3277
+ const U = {
3278
3278
  "fv-grid": !0,
3279
3279
  "fv-grid-bordered": e.showBorder,
3280
3280
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
3281
3281
  "fv-datagrid-strip": e.showStripe
3282
3282
  };
3283
- return Zn(z, e.customClass);
3284
- }), J = B(() => ({
3283
+ return Zn(U, e.customClass);
3284
+ }), J = E(() => ({
3285
3285
  "fv-grid-content": !0,
3286
3286
  "fv-grid-content-hover": d.value,
3287
3287
  "fv-grid-wrap-content": v.value
3288
3288
  })), {
3289
3289
  renderDataArea: ue
3290
- } = tr(e, t, m, c, p, et, D, g, ne, I, ce, y, S, se, Re, q, a), {
3290
+ } = tr(e, t, m, c, p, et, D, g, ne, I, ce, b, S, se, Re, q, a), {
3291
3291
  renderGridHeader: de,
3292
3292
  renderGridColumnResizeOverlay: Oe,
3293
- shouldShowHeader: Et
3294
- } = jo(e, t, u, c, p, D, g, ot, nt, F, je, We, re, y, qe, K, se, Ie, a), {
3295
- renderDataGridSidebar: Bt
3296
- } = Ao(e, ce, y, qe, se), {
3293
+ shouldShowHeader: Bt
3294
+ } = jo(e, t, u, c, p, D, g, ot, nt, F, je, We, re, b, qe, K, se, Ie, a), {
3295
+ renderDataGridSidebar: Et
3296
+ } = Ao(e, ce, b, qe, se), {
3297
3297
  renderDisableMask: Pt
3298
3298
  } = Ho(), {
3299
3299
  renderHorizontalScrollbar: Ot
3300
3300
  } = Uo(e, u, se), {
3301
3301
  renderVerticalScrollbar: Vt
3302
- } = zo(e, u, se);
3302
+ } = Do(e, u, se);
3303
3303
  function Rt() {
3304
- var z, Y, pe;
3305
- if (u.value && u.value.clientHeight > 0 && ((z = u.value) == null ? void 0 : z.clientWidth) > 0) {
3304
+ var U, Y, pe;
3305
+ if (u.value && u.value.clientHeight > 0 && ((U = u.value) == null ? void 0 : U.clientWidth) > 0) {
3306
3306
  const he = Math.ceil(u.value.clientHeight / o);
3307
3307
  he > i.value && (i.value = he, at()), $e.value = ((Y = m.value) == null ? void 0 : Y.clientHeight) || 0, Ne.value = ((pe = u.value) == null ? void 0 : pe.clientWidth) || 0, Pe();
3308
3308
  }
3309
3309
  }
3310
- ze(() => {
3310
+ De(() => {
3311
3311
  u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), a.value = ke(0, H.value + 0 - 1), ao(u.value, Rt), Pe(), Je(() => {
3312
3312
  u.value && (Ne.value = u.value.clientWidth), m.value && (Ie.value = m.value.clientWidth, $e.value = m.value.clientHeight);
3313
3313
  })), k.value && T();
@@ -3315,83 +3315,83 @@ const nr = /* @__PURE__ */ Fe({
3315
3315
  }), le(Ie, () => {
3316
3316
  u.value && Pe();
3317
3317
  });
3318
- function Nt(z) {
3319
- g.collapseTo(z), g.reOrderVisibleIndex(), Le();
3318
+ function Nt(U) {
3319
+ g.collapseTo(U), g.reOrderVisibleIndex(), Le();
3320
3320
  }
3321
- function mt(z) {
3322
- g.expandTo(z), g.reOrderVisibleIndex(), Le();
3321
+ function mt(U) {
3322
+ g.expandTo(U), g.reOrderVisibleIndex(), Le();
3323
3323
  }
3324
3324
  function st() {
3325
- const z = y.getSelectionRow();
3326
- return z ? z.dataIndex - 1 : -1;
3325
+ const U = b.getSelectionRow();
3326
+ return U ? U.dataIndex - 1 : -1;
3327
3327
  }
3328
3328
  function $t() {
3329
- const z = st();
3330
- g.insertNewDataItem(z), a.value = ke(0, H.value + 0 - 1);
3329
+ const U = st();
3330
+ g.insertNewDataItem(U), a.value = ke(0, H.value + 0 - 1);
3331
3331
  }
3332
3332
  function Lt() {
3333
- const z = st();
3334
- g.insertNewChildDataItem(z), a.value = ke(0, H.value + 0 - 1);
3333
+ const U = st();
3334
+ g.insertNewChildDataItem(U), a.value = ke(0, H.value + 0 - 1);
3335
3335
  }
3336
- function jt(z, Y) {
3336
+ function jt(U, Y) {
3337
3337
  const pe = a.value.find((xe) => xe.raw[f.value] === Y), he = pe ? pe.dataIndex - 1 : -1;
3338
- g.insertNewChildDataItems(z, he);
3338
+ g.insertNewChildDataItems(U, he);
3339
3339
  }
3340
3340
  function At() {
3341
- const z = st(), Y = S.getNextSelectableHierarchyItemId(z);
3342
- g.removeHierarchyDataItem(z), a.value = ke(0, H.value + 0 - 1), Y && y.selectItemById(Y);
3341
+ const U = st(), Y = S.getNextSelectableHierarchyItemId(U);
3342
+ g.removeHierarchyDataItem(U), a.value = ke(0, H.value + 0 - 1), Y && S.selectItemById(Y);
3343
3343
  }
3344
- function vt(z) {
3345
- ne.onEditingRow(z);
3344
+ function vt(U) {
3345
+ ne.onEditingRow(U);
3346
3346
  }
3347
- function Ht(z) {
3348
- ne.acceptEditingRow(z);
3347
+ function Ht(U) {
3348
+ ne.acceptEditingRow(U);
3349
3349
  }
3350
- function M(z) {
3351
- ne.cancelEditingRow(z);
3350
+ function M(U) {
3351
+ ne.cancelEditingRow(U);
3352
3352
  }
3353
- function N(z) {
3354
- z && (r.value = z, j(r), Q(r.value), oe(g, K), Pe());
3353
+ function $(U) {
3354
+ U && (r.value = U, O(r), Q(r.value), oe(g, K), Pe());
3355
3355
  }
3356
- le(() => e.columns, (z) => {
3357
- N(z);
3356
+ le(() => e.columns, (U) => {
3357
+ $(U);
3358
3358
  });
3359
- function U(z, Y) {
3360
- z && (g.load(z), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? se.scrollTo(se.offsetY.value) : Le());
3359
+ function A(U, Y) {
3360
+ U && (g.load(U), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? se.scrollTo(se.offsetY.value) : Le());
3361
3361
  }
3362
- function W(z) {
3363
- y.selectItemById(z);
3362
+ function _(U) {
3363
+ S.selectItemById(U);
3364
3364
  }
3365
- function ee(z) {
3366
- const Y = a.value.find((pe) => pe.raw[l.idField.value] === z);
3365
+ function ee(U) {
3366
+ const Y = a.value.find((pe) => pe.raw[l.idField.value] === U);
3367
3367
  Y && ce.clickRowItem(Y);
3368
3368
  }
3369
- function te(z) {
3370
- ce.activeRowById(z);
3369
+ function te(U) {
3370
+ ce.activeRowById(U);
3371
3371
  }
3372
- function Se(z) {
3373
- y.selectItemByIds(z);
3372
+ function Fe(U) {
3373
+ S.selectItemByIds(U);
3374
3374
  }
3375
3375
  function be() {
3376
- return y.getSelectedItems();
3376
+ return b.getSelectedItems();
3377
3377
  }
3378
3378
  function Ce() {
3379
- y.clearSelection();
3379
+ b.clearSelection();
3380
3380
  }
3381
- const Me = B(() => !a.value || !a.value.length), {
3381
+ const Me = E(() => !a.value || !a.value.length), {
3382
3382
  renderEmpty: fe
3383
- } = Do(e, t);
3384
- function Ee() {
3385
- return y.getSelectionRow();
3383
+ } = zo(e, t);
3384
+ function Be() {
3385
+ return b.getSelectionRow();
3386
3386
  }
3387
- function we(z) {
3388
- y.unSelectItemByIds(z);
3387
+ function we(U) {
3388
+ S.unSelectItemByIds(U);
3389
3389
  }
3390
3390
  function ge() {
3391
- return y.currentSelectedDataId.value;
3391
+ return b.currentSelectedDataId.value;
3392
3392
  }
3393
- function ut(z, Y, pe) {
3394
- const he = b.value.find((xe) => xe[f.value] === z);
3393
+ function ut(U, Y, pe) {
3394
+ const he = y.value.find((xe) => xe[f.value] === U);
3395
3395
  if (he) {
3396
3396
  if (Object.keys(he).forEach((me) => {
3397
3397
  Object.prototype.hasOwnProperty.call(Y, me) && (he[me] = Y[me]);
@@ -3404,7 +3404,7 @@ const nr = /* @__PURE__ */ Fe({
3404
3404
  } = pe;
3405
3405
  me && !Ae(Y[me]) && (he.__fv_collapse__ = Y[me]), Ge && !Ae(Y[Ge]) && (he.__fv_checked__ = Y[Ge]), _e && !Ae(Y[_e]) && (he.__fv_disabled__ = Y[_e]), Xe && !Ae(Y[Xe]) && (he.__fv_visible__ = Y[Xe]);
3406
3406
  }
3407
- const xe = a.value.find((me) => me.raw[f.value] === z), Zt = a.value.findIndex((me) => me.raw[f.value] === z);
3407
+ const xe = a.value.find((me) => me.raw[f.value] === U), Zt = a.value.findIndex((me) => me.raw[f.value] === U);
3408
3408
  if (xe) {
3409
3409
  if (xe.raw = he, Object.keys(xe.data).forEach((me) => {
3410
3410
  xe.data[me].updateData(he);
@@ -3421,28 +3421,28 @@ const nr = /* @__PURE__ */ Fe({
3421
3421
  }
3422
3422
  }
3423
3423
  }
3424
- function ct(z) {
3425
- return Object.prototype.hasOwnProperty.call(z, "raw") ? g.hasRealChildren(z.raw) : g.hasRealChildren(z);
3424
+ function ct(U) {
3425
+ return Object.prototype.hasOwnProperty.call(U, "raw") ? g.hasRealChildren(U.raw) : g.hasRealChildren(U);
3426
3426
  }
3427
- function dt(z) {
3428
- const Y = g.dataView.value.find((pe) => pe[f.value] === z);
3429
- return Y ? Y[O.value] : "";
3427
+ function dt(U) {
3428
+ const Y = g.dataView.value.find((pe) => pe[f.value] === U);
3429
+ return Y ? Y[V.value] : "";
3430
3430
  }
3431
- function Bn() {
3432
- return O.value;
3431
+ function En() {
3432
+ return V.value;
3433
3433
  }
3434
- le(() => e.showSetting, (z, Y) => {
3435
- z !== Y && (z ? V(r) : G(r), N(r.value));
3434
+ le(() => e.showSetting, (U, Y) => {
3435
+ U !== Y && (U ? N(r) : G(r), $(r.value));
3436
3436
  });
3437
- function Pn(z) {
3438
- return a.value.filter((Y) => z.includes(Y.raw[e.idField]));
3437
+ function Pn(U) {
3438
+ return a.value.filter((Y) => U.includes(Y.raw[e.idField]));
3439
3439
  }
3440
- function On(z) {
3441
- const Y = l.idField.value, pe = a.value.find((he) => he.raw[Y] === z);
3440
+ function On(U) {
3441
+ const Y = l.idField.value, pe = a.value.find((he) => he.raw[Y] === U);
3442
3442
  pe && ce.changeRow(pe);
3443
3443
  }
3444
3444
  function Vn() {
3445
- y.keepSelectingOnPaging.value || Ce(), g.updateVisibleDataSummary(a.value);
3445
+ b.keepSelectingOnPaging.value || Ce(), g.updateVisibleDataSummary(a.value);
3446
3446
  }
3447
3447
  t.expose({
3448
3448
  activeRowById: te,
@@ -3455,38 +3455,38 @@ const nr = /* @__PURE__ */ Fe({
3455
3455
  editDataItem: vt,
3456
3456
  acceptDataItem: Ht,
3457
3457
  cancelDataItem: M,
3458
- updateColumns: N,
3459
- updateDataSource: U,
3460
- selectItemById: W,
3461
- selectItemByIds: Se,
3458
+ updateColumns: $,
3459
+ updateDataSource: A,
3460
+ selectItemById: _,
3461
+ selectItemByIds: Fe,
3462
3462
  getSelectedItems: be,
3463
3463
  clearSelection: Ce,
3464
- getSelectionRow: Ee,
3464
+ getSelectionRow: Be,
3465
3465
  clickRowItemById: ee,
3466
3466
  unSelectItemByIds: we,
3467
3467
  getCurrentRowId: ge,
3468
3468
  reassignRowData: ut,
3469
3469
  hasChildren: ct,
3470
- getCollapseField: Bn,
3470
+ getCollapseField: En,
3471
3471
  getCollapseStatusById: dt,
3472
3472
  getVisibleDataByIds: Pn,
3473
3473
  selectRowById: On,
3474
3474
  updateDerivedData: Vn
3475
3475
  });
3476
- const Rn = B(() => {
3477
- const z = {};
3478
- return se.shouldShowHorizontalScrollbar.value && (z.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (z.paddingRight = "10px"), z;
3479
- }), Nn = B(() => ({
3480
- ..._.value,
3476
+ const Rn = E(() => {
3477
+ const U = {};
3478
+ return se.shouldShowHorizontalScrollbar.value && (U.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (U.paddingRight = "10px"), U;
3479
+ }), Nn = E(() => ({
3480
+ ...z.value,
3481
3481
  borderRadius: "5px"
3482
- })), {
3483
- renderDataGridPagination: xa
3484
- } = qo(e, t, g, se, R, y), $n = B(() => ({
3482
+ }));
3483
+ qo(e, t, g, se, R, b);
3484
+ const $n = E(() => ({
3485
3485
  "d-flex": !0,
3486
- "justify-content-between": A.value && w.value,
3487
- "justify-content-end": A.value && !w.value,
3486
+ "justify-content-between": W.value && w.value,
3487
+ "justify-content-end": W.value && !w.value,
3488
3488
  "position-relative": !0
3489
- })), Ln = B(() => ({
3489
+ })), Ln = E(() => ({
3490
3490
  "d-flex": !0,
3491
3491
  "align-items-center": !0
3492
3492
  })), {
@@ -3497,17 +3497,17 @@ const nr = /* @__PURE__ */ Fe({
3497
3497
  class: P.value,
3498
3498
  style: Nn.value,
3499
3499
  onWheel: lt
3500
- }, [u.value && Et.value && de(), x("div", {
3500
+ }, [u.value && Bt.value && de(), x("div", {
3501
3501
  ref: u,
3502
3502
  class: J.value,
3503
3503
  onMouseover: () => d.value = !0,
3504
3504
  onMouseleave: () => d.value = !1,
3505
3505
  style: Rn.value
3506
- }, [u.value && Bt(a), u.value && ue(), u.value && Me.value && fe(), u.value && Ot(), u.value && Vt()]), u.value && jn(), w.value && x("div", {
3506
+ }, [u.value && Et(a), u.value && ue(), u.value && Me.value && fe(), u.value && Ot(), u.value && Vt()]), u.value && jn(), w.value && x("div", {
3507
3507
  class: $n.value
3508
3508
  }, [w.value && x("div", {
3509
3509
  class: Ln.value
3510
- }, [x("div", null, ["已选:" + E.value.length, Te(" 条")])])]), Oe(), L.value && Pt()]);
3510
+ }, [x("div", null, ["已选:" + B.value.length, Te(" 条")])])]), Oe(), j.value && Pt()]);
3511
3511
  }
3512
3512
  });
3513
3513
  Kn(nr);
@@ -3709,7 +3709,7 @@ class wr {
3709
3709
  }), n.contents = [o];
3710
3710
  const { selectedFields: r } = t;
3711
3711
  r == null || r.forEach((f) => {
3712
- if (f.$type === St.SimpleField) {
3712
+ if (f.$type === Ft.SimpleField) {
3713
3713
  const s = ve(f), u = this.resolveControlClassByFormColumns(t), m = this.controlCreatorUtils.setFormFieldProperty(s, "", u);
3714
3714
  m && i.push(m);
3715
3715
  }
@@ -3761,7 +3761,7 @@ class wr {
3761
3761
  assembleViewModelFields(t) {
3762
3762
  const n = [], { selectedFields: o } = t;
3763
3763
  return o == null || o.forEach((i) => {
3764
- if (i.$type === St.SimpleField) {
3764
+ if (i.$type === Ft.SimpleField) {
3765
3765
  let r = "blur";
3766
3766
  const l = i.type.name;
3767
3767
  (l === tn.Enum || l === tn.Boolean) && (r = "change"), n.push({
@@ -3794,10 +3794,10 @@ function xr(e, t, n, o) {
3794
3794
  } else
3795
3795
  return t;
3796
3796
  }
3797
- function Fr(e, t, n) {
3797
+ function Sr(e, t, n) {
3798
3798
  return t;
3799
3799
  }
3800
- const Sr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-design.gitee.io/response-form.schema.json", kr = "response-form", Ir = "A Farris Data Collection Component", Mr = "object", Er = {
3800
+ const Fr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-design.gitee.io/response-form.schema.json", kr = "response-form", Ir = "A Farris Data Collection Component", Mr = "object", Br = {
3801
3801
  id: {
3802
3802
  description: "The unique identifier for a form group",
3803
3803
  type: "string"
@@ -3840,18 +3840,18 @@ const Sr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-
3840
3840
  type: "boolean",
3841
3841
  default: !0
3842
3842
  }
3843
- }, Br = [
3843
+ }, Er = [
3844
3844
  "id",
3845
3845
  "type",
3846
3846
  "contents"
3847
3847
  ], Pr = {
3848
- $schema: Sr,
3848
+ $schema: Fr,
3849
3849
  $id: Tr,
3850
3850
  title: kr,
3851
3851
  description: Ir,
3852
3852
  type: Mr,
3853
- properties: Er,
3854
- required: Br
3853
+ properties: Br,
3854
+ required: Er
3855
3855
  }, Or = {
3856
3856
  customClass: { type: String, default: "" },
3857
3857
  customStyle: { type: String, defaut: "" },
@@ -3993,7 +3993,7 @@ Ke(
3993
3993
  Gt,
3994
3994
  void 0
3995
3995
  );
3996
- const zr = "https://json-schema.org/draft/2020-12/schema", Dr = "https://farris-design.gitee.io/grid-field-editor.schema.json", qr = "response-form-layout-setting", Wr = "A Farris Data Grid Component", _r = "object", Gr = {
3996
+ const Dr = "https://json-schema.org/draft/2020-12/schema", zr = "https://farris-design.gitee.io/grid-field-editor.schema.json", qr = "response-form-layout-setting", Wr = "A Farris Data Grid Component", _r = "object", Gr = {
3997
3997
  id: {
3998
3998
  description: "The unique identifier for a Input Group",
3999
3999
  type: "string"
@@ -4011,8 +4011,8 @@ const zr = "https://json-schema.org/draft/2020-12/schema", Dr = "https://farris-
4011
4011
  "id",
4012
4012
  "type"
4013
4013
  ], Yr = {
4014
- $schema: zr,
4015
- $id: Dr,
4014
+ $schema: Dr,
4015
+ $id: zr,
4016
4016
  title: qr,
4017
4017
  description: Wr,
4018
4018
  type: _r,
@@ -4029,7 +4029,7 @@ const zr = "https://json-schema.org/draft/2020-12/schema", Dr = "https://farris-
4029
4029
  }
4030
4030
  }
4031
4031
  };
4032
- ln(Qr, Yr, br, Fr);
4032
+ ln(Qr, Yr, br, Sr);
4033
4033
  const Jr = {
4034
4034
  width: { Type: Number, default: 400 },
4035
4035
  type: { Type: String, default: "info" },
@@ -4083,7 +4083,7 @@ function tl() {
4083
4083
  return { onCopy: e };
4084
4084
  }
4085
4085
  function nl(e, t, n, o) {
4086
- const i = C(14), r = C(140), l = C(""), f = C(o.value.length), s = B(() => o.value), u = B(() => ({
4086
+ const i = C(14), r = C(140), l = C(""), f = C(o.value.length), s = E(() => o.value), u = E(() => ({
4087
4087
  "font-size": `${i.value}px`,
4088
4088
  height: "100%"
4089
4089
  }));
@@ -4117,7 +4117,7 @@ function ol(e, t, n, o) {
4117
4117
  function il() {
4118
4118
  const e = C(!1), t = C("复制成功");
4119
4119
  return {
4120
- feedbackStyle: B(() => {
4120
+ feedbackStyle: E(() => {
4121
4121
  const o = {
4122
4122
  position: "absolute",
4123
4123
  left: "50%",
@@ -4162,8 +4162,8 @@ function ll(e, t) {
4162
4162
  const v = a.length;
4163
4163
  let h = "", F = 0;
4164
4164
  for (let I = 0; I < v; I++) {
4165
- const O = a.charAt(I);
4166
- if (F++, encodeURI(O).length > 4 && F++, h = h.concat(O), F >= d)
4165
+ const V = a.charAt(I);
4166
+ if (F++, encodeURI(V).length > 4 && F++, h = h.concat(V), F >= d)
4167
4167
  return h = h.concat("..."), h;
4168
4168
  }
4169
4169
  if (F < d)
@@ -4171,13 +4171,13 @@ function ll(e, t) {
4171
4171
  }
4172
4172
  return "";
4173
4173
  }
4174
- const i = B(() => !!e.value && !!e.value.date), r = B(() => {
4174
+ const i = E(() => !!e.value && !!e.value.date), r = E(() => {
4175
4175
  const a = e.value && e.value.date || "";
4176
4176
  return `${t.exception.happend} : ${a}`;
4177
- }), l = B(() => !!e.value && !!e.value.detail), f = B(() => e.value ? n(e.value.detail) > 160 : !1), s = C(!1), u = B(() => s.value ? t.exception.collapse : t.exception.expand), m = B(() => {
4177
+ }), l = E(() => !!e.value && !!e.value.detail), f = E(() => e.value ? n(e.value.detail) > 160 : !1), s = C(!1), u = E(() => s.value ? t.exception.collapse : t.exception.expand), m = E(() => {
4178
4178
  const a = t.exception.detail + " : " + (e.value && e.value.detail) || "";
4179
4179
  return s.value ? a : o(a, 160);
4180
- }), c = B(() => ({
4180
+ }), c = E(() => ({
4181
4181
  position: "absolute",
4182
4182
  right: 0,
4183
4183
  bottom: s.value ? 0 : "2px",
@@ -4207,16 +4207,16 @@ function al(e) {
4207
4207
  }, null);
4208
4208
  }
4209
4209
  function sl(e, t, n, o, i) {
4210
- const r = C(e.exceptionInfo), l = B(() => {
4210
+ const r = C(e.exceptionInfo), l = E(() => {
4211
4211
  const d = t.value === "question" ? "warning" : t.value, v = {
4212
4212
  "f-icon": !0
4213
4213
  }, h = `f-icon-${d}`;
4214
4214
  return v[h] = !0, v;
4215
- }), f = B(() => n.value || r.value && r.value.message), s = B(() => o.value), u = B(() => !!o.value), m = B(() => !!r.value);
4215
+ }), f = E(() => n.value || r.value && r.value.message), s = E(() => o.value), u = E(() => !!o.value), m = E(() => !!r.value);
4216
4216
  function c() {
4217
4217
  return m.value ? ll(r, i) : u.value ? al(s) : () => null;
4218
4218
  }
4219
- const p = c(), a = B(() => i.locale === "en" ? {
4219
+ const p = c(), a = E(() => i.locale === "en" ? {
4220
4220
  wordBreak: "keep-all",
4221
4221
  overflowWrap: "break-word"
4222
4222
  } : {});
@@ -4241,7 +4241,7 @@ function ul(e, t, n, o) {
4241
4241
  date: "",
4242
4242
  message: "",
4243
4243
  detail: ""
4244
- }), u = B(() => s.value && s.value.detail || "");
4244
+ }), u = E(() => s.value && s.value.detail || "");
4245
4245
  function m(c) {
4246
4246
  i(u.value).catch((p) => {
4247
4247
  l.value = o.exception.copyFailed || "复制失败";
@@ -4259,7 +4259,7 @@ function ul(e, t, n, o) {
4259
4259
  }, [f.value])]);
4260
4260
  }
4261
4261
  function cl(e, t, n, o, i) {
4262
- const r = C(e.type), l = C(e.buttons), f = C(e.exceptionInfo), s = C(i.ok || e.okButtonText), u = C(i.cancel || e.cancelButtonText), m = C(e.showCancelButton), c = C(e.showOkButton), p = B(() => !!(l.value && l.value.length)), a = B(() => f.value && f.value.message && f.value.detail), d = B(() => !(l.value && l.value.length) && (c.value || m.value)), v = ul(e, n, o, i);
4262
+ const r = C(e.type), l = C(e.buttons), f = C(e.exceptionInfo), s = C(i.ok || e.okButtonText), u = C(i.cancel || e.cancelButtonText), m = C(e.showCancelButton), c = C(e.showOkButton), p = E(() => !!(l.value && l.value.length)), a = E(() => f.value && f.value.message && f.value.detail), d = E(() => !(l.value && l.value.length) && (c.value || m.value)), v = ul(e, n, o, i);
4263
4263
  s.value === "关闭" ? s.value = i.close : s.value === "知道了" && (s.value = i.exception.roger);
4264
4264
  function h(I) {
4265
4265
  r.value === "question" && t.emit("reject"), t.emit("close");
@@ -4311,19 +4311,19 @@ function dl(e) {
4311
4311
  locale: n.value
4312
4312
  };
4313
4313
  }
4314
- const wt = /* @__PURE__ */ Fe({
4314
+ const wt = /* @__PURE__ */ Se({
4315
4315
  name: "FMessageBox",
4316
4316
  props: Jr,
4317
4317
  emits: ["accept", "reject", "close"],
4318
4318
  setup(e, t) {
4319
- const n = dl(e), o = C(e.type), i = C(e.title), r = C(e.detail), l = B(() => {
4319
+ const n = dl(e), o = C(e.type), i = C(e.title), r = C(e.detail), l = E(() => {
4320
4320
  const F = {
4321
4321
  "modal-tips": !0,
4322
4322
  "d-flex": !0,
4323
4323
  "flex-row": !0
4324
4324
  }, I = `messager-type-${o.value}`;
4325
4325
  return F[I] = !0, F;
4326
- }), f = B(() => {
4326
+ }), f = E(() => {
4327
4327
  const F = {
4328
4328
  cursor: "default"
4329
4329
  };
@@ -4486,7 +4486,7 @@ const wt = /* @__PURE__ */ Fe({
4486
4486
  function xl(e, t, n) {
4487
4487
  return t;
4488
4488
  }
4489
- function Fl() {
4489
+ function Sl() {
4490
4490
  function e(t, n) {
4491
4491
  const o = {};
4492
4492
  return o.beforeClose = (i) => n.call("beforeClose", [i, t]), o;
@@ -4495,7 +4495,7 @@ function Fl() {
4495
4495
  resolve: e
4496
4496
  };
4497
4497
  }
4498
- const Fn = {
4498
+ const Sn = {
4499
4499
  /**
4500
4500
  * 允许点击遮罩关闭对话框
4501
4501
  */
@@ -4575,7 +4575,7 @@ const Fn = {
4575
4575
  src: { type: String, default: "" },
4576
4576
  footerHeight: { type: Number, default: 60 },
4577
4577
  host: { type: Object, default: "body" }
4578
- }, Sl = ln(Fn, Cl, wl, xl), Tl = Fl();
4578
+ }, Fl = ln(Sn, Cl, wl, xl), Tl = Sl();
4579
4579
  class ae {
4580
4580
  constructor(t, n) {
4581
4581
  this.x = t, this.y = n;
@@ -4662,71 +4662,71 @@ class Qe {
4662
4662
  function kl(e, t) {
4663
4663
  const n = C(), o = C(), i = C(), r = C(), l = C(), f = C(), s = C(), u = C(), m = C(), c = C(), p = C(), a = C(e.resizeable), d = C(), v = C(e.draggable), h = C(!1);
4664
4664
  function F() {
4665
- const j = o.value || document.body, V = window.getComputedStyle(j);
4666
- if (!V || !n.value)
4665
+ const O = o.value || document.body, N = window.getComputedStyle(O);
4666
+ if (!N || !n.value)
4667
4667
  return;
4668
4668
  const G = ae.getTransformInfo(n.value), D = {};
4669
4669
  s.value && (D.deltaL = n.value.offsetLeft - s.value.x, D.deltaT = n.value.offsetTop - s.value.y);
4670
- const K = V.getPropertyValue("position");
4671
- D.width = j.clientWidth, D.height = j.clientHeight, D.pr = parseInt(V.getPropertyValue("padding-right"), 10), D.pb = parseInt(V.getPropertyValue("padding-bottom"), 10), D.position = V.getPropertyValue("position"), K === "static" && (j.style.position = "relative"), D.translateX = G.x, D.translateY = G.y, c.value = D;
4670
+ const K = N.getPropertyValue("position");
4671
+ D.width = O.clientWidth, D.height = O.clientHeight, D.pr = parseInt(N.getPropertyValue("padding-right"), 10), D.pb = parseInt(N.getPropertyValue("padding-bottom"), 10), D.position = N.getPropertyValue("position"), K === "static" && (O.style.position = "relative"), D.translateX = G.x, D.translateY = G.y, c.value = D;
4672
4672
  }
4673
- function I(j) {
4673
+ function I(O) {
4674
4674
  if (n.value) {
4675
4675
  r.value = Qe.getCurrent(n.value), l.value = ae.getCurrent(n.value), f.value = r.value ? Qe.copy(r.value) : null, s.value = l.value ? ae.copy(l.value) : null, F();
4676
- const V = j.target.getAttribute("type") || "";
4676
+ const N = O.target.getAttribute("type") || "";
4677
4677
  u.value = {
4678
- n: !!V.match(/n/),
4679
- s: !!V.match(/s/),
4680
- w: !!V.match(/w/),
4681
- e: !!V.match(/e/)
4678
+ n: !!N.match(/n/),
4679
+ s: !!N.match(/s/),
4680
+ w: !!N.match(/w/),
4681
+ e: !!N.match(/e/)
4682
4682
  };
4683
4683
  }
4684
4684
  }
4685
- function O() {
4686
- var j, V, G, D;
4685
+ function V() {
4686
+ var O, N, G, D;
4687
4687
  if (n.value) {
4688
4688
  const K = n.value;
4689
- u.value && ((u.value.n || u.value.s) && ((j = f.value) != null && j.height) && (K.style.height = f.value.height + "px"), (u.value.w || u.value.e) && ((V = f.value) != null && V.width) && (K.style.width = f.value.width + "px"), s.value && ((G = s.value) != null && G.x && (K.style.left = s.value.x + "px"), (D = s.value) != null && D.y && (K.style.top = s.value.y + "px")));
4689
+ u.value && ((u.value.n || u.value.s) && ((O = f.value) != null && O.height) && (K.style.height = f.value.height + "px"), (u.value.w || u.value.e) && ((N = f.value) != null && N.width) && (K.style.width = f.value.width + "px"), s.value && ((G = s.value) != null && G.x && (K.style.left = s.value.x + "px"), (D = s.value) != null && D.y && (K.style.top = s.value.y + "px")));
4690
4690
  }
4691
4691
  }
4692
4692
  function k() {
4693
- const j = e.minHeight ? e.minHeight : 1, V = e.minWidth ? e.minWidth : 1;
4694
- f.value && s.value && u.value && r.value && (f.value.height < j && (f.value.height = j, u.value.n && l.value && (s.value.y = l.value.y + (r.value.height - j))), f.value.width < V && (f.value.width = V, u.value.w && l.value && (s.value.x = l.value.x + (r.value.width - V))), e.maxHeight && f.value.height > e.maxHeight && (f.value.height = e.maxHeight, l.value && u.value.n && (s.value.y = l.value.y + (r.value.height - e.maxHeight))), e.maxWidth && f.value.width > e.maxWidth && (f.value.width = e.maxWidth, u.value.w && l.value && (s.value.x = l.value.x + (r.value.width - e.maxWidth))));
4693
+ const O = e.minHeight ? e.minHeight : 1, N = e.minWidth ? e.minWidth : 1;
4694
+ f.value && s.value && u.value && r.value && (f.value.height < O && (f.value.height = O, u.value.n && l.value && (s.value.y = l.value.y + (r.value.height - O))), f.value.width < N && (f.value.width = N, u.value.w && l.value && (s.value.x = l.value.x + (r.value.width - N))), e.maxHeight && f.value.height > e.maxHeight && (f.value.height = e.maxHeight, l.value && u.value.n && (s.value.y = l.value.y + (r.value.height - e.maxHeight))), e.maxWidth && f.value.width > e.maxWidth && (f.value.width = e.maxWidth, u.value.w && l.value && (s.value.x = l.value.x + (r.value.width - e.maxWidth))));
4695
4695
  }
4696
4696
  function T() {
4697
4697
  if (o.value) {
4698
- const j = c.value;
4698
+ const O = c.value;
4699
4699
  if (s.value && f.value && u.value && r.value) {
4700
- const V = j.width - j.pr - j.deltaL - j.translateX - s.value.x, G = j.height - j.pb - j.deltaT - j.translateY - s.value.y;
4701
- u.value.n && s.value.y + j.translateY < 0 && l.value && (s.value.y = -j.translateY, f.value.height = r.value.height + l.value.y + j.translateY), u.value.w && s.value.x + j.translateX < 0 && l.value && (s.value.x = -j.translateX, f.value.width = r.value.width + l.value.x + j.translateX), f.value.width > V && (f.value.width = V), f.value.height > G && (f.value.height = G);
4700
+ const N = O.width - O.pr - O.deltaL - O.translateX - s.value.x, G = O.height - O.pb - O.deltaT - O.translateY - s.value.y;
4701
+ u.value.n && s.value.y + O.translateY < 0 && l.value && (s.value.y = -O.translateY, f.value.height = r.value.height + l.value.y + O.translateY), u.value.w && s.value.x + O.translateX < 0 && l.value && (s.value.x = -O.translateX, f.value.width = r.value.width + l.value.x + O.translateX), f.value.width > N && (f.value.width = N), f.value.height > G && (f.value.height = G);
4702
4702
  }
4703
4703
  }
4704
4704
  }
4705
- function g(j) {
4705
+ function g(O) {
4706
4706
  if (!i.value || !r.value || !l.value || !u.value)
4707
4707
  return;
4708
- j.subtract(i.value);
4709
- const V = j.x, G = j.y;
4710
- u.value.n ? (s.value.y = l.value.y + G, f.value.height = r.value.height - G) : u.value.s && (f.value.height = r.value.height + G), u.value.e ? f.value.width = r.value.width + V : u.value.w && (f.value.width = r.value.width - V, s.value.x = l.value.x + V), T(), k(), O();
4708
+ O.subtract(i.value);
4709
+ const N = O.x, G = O.y;
4710
+ u.value.n ? (s.value.y = l.value.y + G, f.value.height = r.value.height - G) : u.value.s && (f.value.height = r.value.height + G), u.value.e ? f.value.width = r.value.width + N : u.value.w && (f.value.width = r.value.width - N, s.value.x = l.value.x + N), T(), k(), V();
4711
4711
  }
4712
- function b(j) {
4712
+ function y(O) {
4713
4713
  if (!m.value)
4714
4714
  return;
4715
- const V = ae.fromEvent(j);
4716
- V && g(V);
4715
+ const N = ae.fromEvent(O);
4716
+ N && g(N);
4717
4717
  }
4718
- function y() {
4718
+ function b() {
4719
4719
  if (n.value) {
4720
4720
  const {
4721
- width: j,
4722
- height: V,
4721
+ width: O,
4722
+ height: N,
4723
4723
  x: G,
4724
4724
  y: D
4725
4725
  } = n.value.getBoundingClientRect(), K = ae.getTransformInfo(n.value);
4726
4726
  return {
4727
4727
  size: {
4728
- width: j,
4729
- height: V
4728
+ width: O,
4729
+ height: N
4730
4730
  },
4731
4731
  position: {
4732
4732
  x: G - K.x,
@@ -4736,58 +4736,58 @@ function kl(e, t) {
4736
4736
  }
4737
4737
  return null;
4738
4738
  }
4739
- function w(j) {
4739
+ function w(O) {
4740
4740
  if (n.value) {
4741
- const V = y();
4742
- p.value = V;
4741
+ const N = b();
4742
+ p.value = N;
4743
4743
  }
4744
- i.value = void 0, r.value = null, l.value = null, f.value = null, s.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", w);
4744
+ i.value = void 0, r.value = null, l.value = null, f.value = null, s.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", w);
4745
4745
  }
4746
- function E() {
4747
- document.addEventListener("mousemove", b), document.addEventListener("mouseup", w);
4746
+ function B() {
4747
+ document.addEventListener("mousemove", y), document.addEventListener("mouseup", w);
4748
4748
  }
4749
- function S(j) {
4750
- j instanceof MouseEvent && j.button === 2 || v.value && (document.body.click(), j.stopPropagation(), j.preventDefault(), i.value = ae.fromEvent(j), m.value = j.target, I(j), E());
4749
+ function S(O) {
4750
+ O instanceof MouseEvent && O.button === 2 || v.value && (document.body.click(), O.stopPropagation(), O.preventDefault(), i.value = ae.fromEvent(O), m.value = O.target, I(O), B());
4751
4751
  }
4752
- function L(j) {
4753
- return n.value = j, a.value && x(Ve, null, [x("div", {
4752
+ function j(O) {
4753
+ return n.value = O, a.value && x(Ve, null, [x("div", {
4754
4754
  class: "fv-resizable-handle fv-resizable-n",
4755
4755
  type: "n",
4756
- onMousedown: (V) => S(V)
4756
+ onMousedown: (N) => S(N)
4757
4757
  }, null), x("div", {
4758
4758
  class: "fv-resizable-handle fv-resizable-e",
4759
4759
  type: "e",
4760
- onMousedown: (V) => S(V)
4760
+ onMousedown: (N) => S(N)
4761
4761
  }, null), x("div", {
4762
4762
  class: "fv-resizable-handle fv-resizable-s",
4763
4763
  type: "s",
4764
- onMousedown: (V) => S(V)
4764
+ onMousedown: (N) => S(N)
4765
4765
  }, null), x("div", {
4766
4766
  class: "fv-resizable-handle fv-resizable-w",
4767
4767
  type: "w",
4768
- onMousedown: (V) => S(V)
4768
+ onMousedown: (N) => S(N)
4769
4769
  }, null), x("div", {
4770
4770
  class: "fv-resizable-handle fv-resizable-ne",
4771
4771
  type: "ne",
4772
- onMousedown: (V) => S(V)
4772
+ onMousedown: (N) => S(N)
4773
4773
  }, null), x("div", {
4774
4774
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4775
4775
  type: "se",
4776
- onMousedown: (V) => S(V)
4776
+ onMousedown: (N) => S(N)
4777
4777
  }, null), x("div", {
4778
4778
  class: "fv-resizable-handle fv-resizable-sw",
4779
4779
  type: "sw",
4780
- onMousedown: (V) => S(V)
4780
+ onMousedown: (N) => S(N)
4781
4781
  }, null), x("div", {
4782
4782
  class: "fv-resizable-handle fv-resizable-nw",
4783
4783
  type: "nw",
4784
- onMousedown: (V) => S(V)
4784
+ onMousedown: (N) => S(N)
4785
4785
  }, null)]);
4786
4786
  }
4787
- function H(j = !0) {
4787
+ function H(O = !0) {
4788
4788
  document.body.click();
4789
- const V = o.value || document.body, G = Qe.getCurrent(V), D = n.value;
4790
- j && D && (d.value = y(), d.value.transform = D.style.transform), G && D && (f.value = G, f.value.height -= 14, f.value.width -= 14, D.style.height = f.value.height + "px", D.style.width = f.value.width + "px", D.style.left = "7px", D.style.top = "7px", D.style.transform = "", p.value = {
4789
+ const N = o.value || document.body, G = Qe.getCurrent(N), D = n.value;
4790
+ O && D && (d.value = b(), d.value.transform = D.style.transform), G && D && (f.value = G, f.value.height -= 14, f.value.width -= 14, D.style.height = f.value.height + "px", D.style.width = f.value.width + "px", D.style.left = "7px", D.style.top = "7px", D.style.transform = "", p.value = {
4791
4791
  size: f.value,
4792
4792
  position: {
4793
4793
  x: 0,
@@ -4796,7 +4796,7 @@ function kl(e, t) {
4796
4796
  }, v.value = !1, h.value = !0);
4797
4797
  }
4798
4798
  function R() {
4799
- var j, V;
4799
+ var O, N;
4800
4800
  if (document.body.click(), d.value) {
4801
4801
  const G = {
4802
4802
  width: d.value.size.width || 0,
@@ -4805,7 +4805,7 @@ function kl(e, t) {
4805
4805
  x: (window.innerWidth - G.width) / 2,
4806
4806
  y: (window.innerHeight - G.height) / 2
4807
4807
  };
4808
- (j = f.value) == null || j.set(G), (V = s.value) == null || V.set(D);
4808
+ (O = f.value) == null || O.set(G), (N = s.value) == null || N.set(D);
4809
4809
  const K = n.value;
4810
4810
  K.style.height = G.height + "px", K.style.width = G.width + "px", K.style.left = `${D.x}px`, K.style.top = `${D.y}px`, K.style.transform = "", p.value = {
4811
4811
  size: G,
@@ -4813,29 +4813,29 @@ function kl(e, t) {
4813
4813
  }, v.value = e.draggable, h.value = !1;
4814
4814
  }
4815
4815
  }
4816
- function A() {
4816
+ function W() {
4817
4817
  if (n.value) {
4818
- const j = Qe.getCurrent(n.value);
4819
- if (j) {
4818
+ const O = Qe.getCurrent(n.value);
4819
+ if (O) {
4820
4820
  const {
4821
- width: V,
4821
+ width: N,
4822
4822
  height: G
4823
- } = j;
4824
- n.value.style.left = `${(window.innerWidth - V) / 2}px`, n.value.style.top = `${(window.innerHeight - G) / 2}px`, n.value.style.transform = "";
4823
+ } = O;
4824
+ n.value.style.left = `${(window.innerWidth - N) / 2}px`, n.value.style.top = `${(window.innerHeight - G) / 2}px`, n.value.style.transform = "";
4825
4825
  }
4826
4826
  }
4827
4827
  }
4828
- function _() {
4829
- const j = () => {
4830
- h.value ? H(!1) : A(), document.body.click();
4828
+ function z() {
4829
+ const O = () => {
4830
+ h.value ? H(!1) : W(), document.body.click();
4831
4831
  };
4832
- return window.addEventListener("resize", j), () => {
4833
- window.removeEventListener("resize", j);
4832
+ return window.addEventListener("resize", O), () => {
4833
+ window.removeEventListener("resize", O);
4834
4834
  };
4835
4835
  }
4836
- const Z = _();
4836
+ const Z = z();
4837
4837
  return {
4838
- renderResizeBar: L,
4838
+ renderResizeBar: j,
4839
4839
  boundingElement: o,
4840
4840
  resizedEventParam: p,
4841
4841
  maximize: H,
@@ -4843,82 +4843,82 @@ function kl(e, t) {
4843
4843
  allowDrag: v,
4844
4844
  isMaximized: h,
4845
4845
  unWindowResizeHandle: Z,
4846
- moveToCenter: A
4846
+ moveToCenter: W
4847
4847
  };
4848
4848
  }
4849
4849
  function Il(e, t, n) {
4850
4850
  const o = C(), i = C(e.draggable), r = C(e.lockAxis), l = C(), f = C(), s = C(!1), u = C(new ae(0, 0)), m = C(new ae(0, 0)), c = C(new ae(0, 0)), p = C(new ae(0, 0));
4851
- le(() => n.value, (b) => {
4852
- l.value.style.cursor = b ? "move" : "default";
4851
+ le(() => n.value, (y) => {
4852
+ l.value.style.cursor = y ? "move" : "default";
4853
4853
  });
4854
- function a(b, y) {
4855
- if (y.tagName === "BUTTON")
4854
+ function a(y, b) {
4855
+ if (b.tagName === "BUTTON")
4856
4856
  return !1;
4857
- if (y === b)
4857
+ if (b === y)
4858
4858
  return !0;
4859
- for (const w in y.children)
4860
- if (Object.prototype.hasOwnProperty.call(y.children, w) && a(b, y.children[w]))
4859
+ for (const w in b.children)
4860
+ if (Object.prototype.hasOwnProperty.call(b.children, w) && a(y, b.children[w]))
4861
4861
  return !0;
4862
4862
  return !1;
4863
4863
  }
4864
4864
  function d() {
4865
- var E, S;
4866
- let b = c.value.x + m.value.x, y = c.value.y + m.value.y;
4867
- r.value === "x" ? (b = ((E = u.value) == null ? void 0 : E.x) || 0, c.value.x = 0) : r.value === "y" && (y = ((S = u.value) == null ? void 0 : S.y) || 0, c.value.y = 0);
4868
- const w = `translate3d(${Math.round(b)}px, ${Math.round(y)}px, 0px)`;
4869
- o.value && (o.value.style.transform = w), p.value.x = b, p.value.y = y;
4865
+ var B, S;
4866
+ let y = c.value.x + m.value.x, b = c.value.y + m.value.y;
4867
+ r.value === "x" ? (y = ((B = u.value) == null ? void 0 : B.x) || 0, c.value.x = 0) : r.value === "y" && (b = ((S = u.value) == null ? void 0 : S.y) || 0, c.value.y = 0);
4868
+ const w = `translate3d(${Math.round(y)}px, ${Math.round(b)}px, 0px)`;
4869
+ o.value && (o.value.style.transform = w), p.value.x = y, p.value.y = b;
4870
4870
  }
4871
4871
  function v() {
4872
4872
  if (!f.value || !o.value)
4873
4873
  return null;
4874
- const b = f.value.getBoundingClientRect(), y = o.value.getBoundingClientRect(), w = {
4875
- top: b.top < y.top,
4876
- right: b.right > y.right,
4877
- bottom: b.bottom > y.bottom,
4878
- left: b.left < y.left
4874
+ const y = f.value.getBoundingClientRect(), b = o.value.getBoundingClientRect(), w = {
4875
+ top: y.top < b.top,
4876
+ right: y.right > b.right,
4877
+ bottom: y.bottom > b.bottom,
4878
+ left: y.left < b.left
4879
4879
  };
4880
- return w.top || (c.value.y -= y.top - b.top), w.bottom || (c.value.y -= y.bottom - b.bottom), w.right || (c.value.x -= y.right - b.right), w.left || (c.value.x -= y.left - b.left), d(), w;
4880
+ return w.top || (c.value.y -= b.top - y.top), w.bottom || (c.value.y -= b.bottom - y.bottom), w.right || (c.value.x -= b.right - y.right), w.left || (c.value.x -= b.left - y.left), d(), w;
4881
4881
  }
4882
- function h(b) {
4883
- b && (u.value && b.subtract(u.value), c.value.set(b), d(), v());
4882
+ function h(y) {
4883
+ y && (u.value && y.subtract(u.value), c.value.set(y), d(), v());
4884
4884
  }
4885
- function F(b) {
4886
- s.value && i.value && (b.stopPropagation(), b.preventDefault(), h(ae.fromEvent(b, l.value)));
4885
+ function F(y) {
4886
+ s.value && i.value && (y.stopPropagation(), y.preventDefault(), h(ae.fromEvent(y, l.value)));
4887
4887
  }
4888
4888
  function I() {
4889
- var b;
4890
- s.value && (s.value = !1, m.value.add(c.value), c.value.reset(), (b = o.value) == null || b.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I));
4889
+ var y;
4890
+ s.value && (s.value = !1, m.value.add(c.value), c.value.reset(), (y = o.value) == null || y.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", I));
4891
4891
  }
4892
- function O() {
4892
+ function V() {
4893
4893
  !s.value && l.value && (s.value = !0, l.value.classList.add("ng-dragging"), document.addEventListener("mousemove", F), document.addEventListener("mouseup", I));
4894
4894
  }
4895
4895
  function k() {
4896
4896
  if (o.value) {
4897
- const b = ae.getTransformInfo(o.value);
4898
- m.value.set(b);
4897
+ const y = ae.getTransformInfo(o.value);
4898
+ m.value.set(y);
4899
4899
  return;
4900
4900
  }
4901
4901
  m.value.reset();
4902
4902
  }
4903
- function T(b) {
4904
- if (!n.value || b instanceof MouseEvent && b.button === 2)
4903
+ function T(y) {
4904
+ if (!n.value || y instanceof MouseEvent && y.button === 2)
4905
4905
  return;
4906
- const y = b.target || b.srcElement;
4907
- l.value !== void 0 && y && !a(y, l.value) || i.value !== !1 && (document.body.click(), b.stopPropagation(), b.preventDefault(), u.value = ae.fromEvent(b, o.value), k(), O());
4906
+ const b = y.target || y.srcElement;
4907
+ l.value !== void 0 && b && !a(b, l.value) || i.value !== !1 && (document.body.click(), y.stopPropagation(), y.preventDefault(), u.value = ae.fromEvent(y, o.value), k(), V());
4908
4908
  }
4909
- function g(b, y, w) {
4910
- if (i.value && y) {
4911
- if (b)
4912
- l.value = b;
4909
+ function g(y, b, w) {
4910
+ if (i.value && b) {
4911
+ if (y)
4912
+ l.value = y;
4913
4913
  else if (e.dragHandle) {
4914
4914
  if (e.dragHandle instanceof HTMLElement)
4915
4915
  l.value = e.dragHandle;
4916
4916
  else if (typeof e.dragHandle == "string") {
4917
- const E = y.querySelector(e.dragHandle);
4918
- E && (l.value = E);
4917
+ const B = b.querySelector(e.dragHandle);
4918
+ B && (l.value = B);
4919
4919
  }
4920
4920
  }
4921
- o.value = y, f.value = w, l.value ? (l.value.classList.add("ng-draggable"), l.value.addEventListener("mousedown", T)) : i.value = !1;
4921
+ o.value = b, f.value = w, l.value ? (l.value.classList.add("ng-draggable"), l.value.addEventListener("mousedown", T)) : i.value = !1;
4922
4922
  }
4923
4923
  }
4924
4924
  return {
@@ -4926,7 +4926,7 @@ function Il(e, t, n) {
4926
4926
  resetTranslate: k
4927
4927
  };
4928
4928
  }
4929
- function Sn(e, t) {
4929
+ function Fn(e, t) {
4930
4930
  if (e) {
4931
4931
  const n = (o) => {
4932
4932
  o.key.toLowerCase() === e.toLowerCase() && t({ event: o, key: e });
@@ -4939,27 +4939,27 @@ function Sn(e, t) {
4939
4939
  function Ml(e, t) {
4940
4940
  const n = C(e.enableEsc);
4941
4941
  let o = null;
4942
- return n.value ? (o = Sn("Escape", (i) => {
4942
+ return n.value ? (o = Fn("Escape", (i) => {
4943
4943
  t.emit("esc", { event: i.event, type: "esc" });
4944
4944
  }), {
4945
4945
  remove: o
4946
4946
  }) : null;
4947
4947
  }
4948
- function El(e, t) {
4948
+ function Bl(e, t) {
4949
4949
  const n = C(e.enableEnter);
4950
4950
  let o = null;
4951
- return n.value ? (o = Sn("Enter", (i) => {
4951
+ return n.value ? (o = Fn("Enter", (i) => {
4952
4952
  t.emit("enter", { event: i.event, type: "enter" });
4953
4953
  }), {
4954
4954
  remove: o
4955
4955
  }) : null;
4956
4956
  }
4957
- const Ze = /* @__PURE__ */ Fe({
4957
+ const Ze = /* @__PURE__ */ Se({
4958
4958
  name: "FModal",
4959
- props: Fn,
4959
+ props: Sn,
4960
4960
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4961
4961
  setup(e, t) {
4962
- const n = C(e.width || 300), o = C(e.height || 200), i = C(e.modelValue), r = C(""), l = C(e.class), f = C(e.fitContent), s = C(e.showHeader), u = C(""), m = C(e.showCloseButton), c = C(e.showMaxButton), p = C(!1), a = C(e.dialogType), d = C(e.src), v = C(""), h = C(e.showButtons), F = C(e.title), I = C(e.containment || null), O = C(), {
4962
+ const n = C(e.width || 300), o = C(e.height || 200), i = C(e.modelValue), r = C(""), l = C(e.class), f = C(e.fitContent), s = C(e.showHeader), u = C(""), m = C(e.showCloseButton), c = C(e.showMaxButton), p = C(!1), a = C(e.dialogType), d = C(e.src), v = C(""), h = C(e.showButtons), F = C(e.title), I = C(e.containment || null), V = C(), {
4963
4963
  t: k
4964
4964
  } = Wt();
4965
4965
  F.value === "错误提示" && (F.value = k("messageBox.errorTitle"));
@@ -4975,7 +4975,7 @@ const Ze = /* @__PURE__ */ Fe({
4975
4975
  de && (i.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", P));
4976
4976
  });
4977
4977
  }
4978
- const b = [{
4978
+ const y = [{
4979
4979
  name: "cancel",
4980
4980
  text: k("messageBox.cancel") || "取消",
4981
4981
  class: "btn btn-secondary",
@@ -4989,36 +4989,36 @@ const Ze = /* @__PURE__ */ Fe({
4989
4989
  handle: (P) => {
4990
4990
  g(P, !0);
4991
4991
  }
4992
- }], y = C(e.buttons && e.buttons.length ? e.buttons : b), w = B(() => !!u.value), E = B(() => !!h.value && !!y.value), S = C(), L = C(), H = C(!1), {
4992
+ }], b = C(e.buttons && e.buttons.length ? e.buttons : y), w = E(() => !!u.value), B = E(() => !!h.value && !!b.value), S = C(), j = C(), H = C(!1), {
4993
4993
  renderResizeBar: R,
4994
- maximize: A,
4995
- restore: _,
4994
+ maximize: W,
4995
+ restore: z,
4996
4996
  boundingElement: Z,
4997
- resizedEventParam: j,
4998
- allowDrag: V,
4997
+ resizedEventParam: O,
4998
+ allowDrag: N,
4999
4999
  unWindowResizeHandle: G,
5000
5000
  moveToCenter: D
5001
5001
  } = kl(e), {
5002
5002
  registerDraggle: K
5003
- } = Il(e, t, V);
5003
+ } = Il(e, t, N);
5004
5004
  function oe() {
5005
5005
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
5006
5006
  }
5007
5007
  function ye() {
5008
5008
  const P = document.querySelectorAll(".farris-modal").length;
5009
- (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), O.value && O.value.classList.remove("show");
5009
+ (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), V.value && V.value.classList.remove("show");
5010
5010
  }
5011
5011
  le(() => e.title, (P, J) => {
5012
5012
  P !== J && (F.value = P);
5013
5013
  }), le(() => e.modelValue, (P, J) => {
5014
5014
  P !== J && (i.value = P, i.value && e.draggable && Je(() => {
5015
- L.value && !I.value && (I.value = L.value.parentElement, Z.value = I.value, K(S.value, L.value, Z.value), D());
5016
- }), P || (I.value && (I.value = null), ye())), i.value ? T.value = oe() : (H.value = !1, V.value = e.draggable);
5015
+ j.value && !I.value && (I.value = j.value.parentElement, Z.value = I.value, K(S.value, j.value, Z.value), D());
5016
+ }), P || (I.value && (I.value = null), ye())), i.value ? T.value = oe() : (H.value = !1, N.value = e.draggable);
5017
5017
  }), le(() => e.showHeader, (P, J) => {
5018
5018
  P !== J && (s.value = P);
5019
5019
  }), le(() => e.showButtons, (P, J) => {
5020
5020
  P !== J && (h.value = P);
5021
- }), le(() => j.value, (P, J) => {
5021
+ }), le(() => O.value, (P, J) => {
5022
5022
  const ue = P || {}, de = J || {};
5023
5023
  JSON.stringify(ue) !== JSON.stringify(de) && t.emit("resize", {
5024
5024
  newSize: P,
@@ -5026,7 +5026,7 @@ const Ze = /* @__PURE__ */ Fe({
5026
5026
  isMaximized: H.value
5027
5027
  });
5028
5028
  });
5029
- const Q = B(() => (i.value && document.body.classList.add("modal-open"), i.value)), re = B(() => {
5029
+ const Q = E(() => (i.value && document.body.classList.add("modal-open"), i.value)), re = E(() => {
5030
5030
  var ue;
5031
5031
  const P = {
5032
5032
  modal: !0,
@@ -5036,13 +5036,13 @@ const Ze = /* @__PURE__ */ Fe({
5036
5036
  P["f-modal-fitContent"] = !!f.value, P.show = !!Q.value;
5037
5037
  const J = (ue = e.maskClass) == null ? void 0 : ue.split(" ");
5038
5038
  return J == null || J.reduce((de, Oe) => (de[Oe] = !0, de), P), P;
5039
- }), ce = B(() => {
5039
+ }), ce = E(() => {
5040
5040
  var ue;
5041
5041
  const P = {
5042
5042
  "modal-dialog": !0
5043
5043
  }, J = (ue = l.value) == null ? void 0 : ue.split(" ");
5044
5044
  return J == null || J.reduce((de, Oe) => (de[Oe] = !0, de), P), P;
5045
- }), ne = B(() => {
5045
+ }), ne = E(() => {
5046
5046
  const P = {
5047
5047
  position: "absolute",
5048
5048
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -5051,25 +5051,25 @@ const Ze = /* @__PURE__ */ Fe({
5051
5051
  height: f.value ? "auto" : `${o.value}px`
5052
5052
  };
5053
5053
  return e.mask || (P.pointerEvents = "auto"), P;
5054
- }), q = () => eo() || 1040, ie = B(() => {
5054
+ }), q = () => eo() || 1040, ie = E(() => {
5055
5055
  const P = {
5056
5056
  display: "block",
5057
5057
  zIndex: q()
5058
5058
  };
5059
5059
  return e.mask || (P.pointerEvents = "none", P.backgroundColor = "transparent"), T.value && (P.backgroundColor = "transparent"), P;
5060
- }), De = B(() => ({
5060
+ }), ze = E(() => ({
5061
5061
  "modal-content": !0,
5062
5062
  "modal-content-has-header": s.value
5063
- })), Re = B(() => {
5063
+ })), Re = E(() => {
5064
5064
  const P = {
5065
5065
  display: s.value ? "" : "none"
5066
5066
  };
5067
- return P["pointer-events"] = V.value ? "auto" : "none", P;
5068
- }), ke = B(() => ({
5067
+ return P["pointer-events"] = N.value ? "auto" : "none", P;
5068
+ }), ke = E(() => ({
5069
5069
  "f-icon": !0,
5070
5070
  modal_maximize: !0,
5071
5071
  modalrevert: H.value
5072
- })), et = B(() => ({
5072
+ })), et = E(() => ({
5073
5073
  "modal-body": !0,
5074
5074
  "f-utils-flex-column": a.value === "iframe",
5075
5075
  "f-utils-fill": !0
@@ -5079,7 +5079,7 @@ const Ze = /* @__PURE__ */ Fe({
5079
5079
  height: `${e.footerHeight || 60}px`
5080
5080
  };
5081
5081
  }
5082
- const tt = B(() => {
5082
+ const tt = E(() => {
5083
5083
  const P = {
5084
5084
  textAlgin: v.value
5085
5085
  }, J = qe();
@@ -5087,26 +5087,26 @@ const Ze = /* @__PURE__ */ Fe({
5087
5087
  });
5088
5088
  function se(P) {
5089
5089
  if (P == null || P.stopPropagation(), H.value) {
5090
- H.value = !1, _();
5090
+ H.value = !1, z();
5091
5091
  return;
5092
5092
  }
5093
- A(), H.value = !0;
5093
+ W(), H.value = !0;
5094
5094
  }
5095
5095
  async function lt(P, J) {
5096
5096
  P.handle && await P.handle(J, P) && t.emit("closed", J);
5097
5097
  }
5098
5098
  function Ne(P) {
5099
- P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (y.value = P.buttons), P.title && (F.value = P.title);
5099
+ P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (b.value = P.buttons), P.title && (F.value = P.title);
5100
5100
  }
5101
5101
  let $e = null, Ie = null;
5102
5102
  Un(() => {
5103
5103
  T.value = oe();
5104
- }), ze(() => {
5105
- L.value && !I.value && (I.value = L.value.parentElement, Z.value = I.value, K(S.value, L.value, Z.value)), Q.value && document.body.classList.add("modal-open"), $e = Ml(e, t), Ie = El(e, t);
5104
+ }), De(() => {
5105
+ j.value && !I.value && (I.value = j.value.parentElement, Z.value = I.value, K(S.value, j.value, Z.value)), Q.value && document.body.classList.add("modal-open"), $e = Ml(e, t), Ie = Bl(e, t);
5106
5106
  }), ft(() => {
5107
5107
  G && G(), $e && $e.remove(), Ie && Ie.remove();
5108
5108
  }), t.expose({
5109
- modalElementRef: L,
5109
+ modalElementRef: j,
5110
5110
  updateModalOptions: Ne,
5111
5111
  close: g,
5112
5112
  maxDialog: se,
@@ -5135,7 +5135,7 @@ const Ze = /* @__PURE__ */ Fe({
5135
5135
  return x("div", {
5136
5136
  class: "modal-footer",
5137
5137
  style: tt.value
5138
- }, [y.value && y.value.map((P) => {
5138
+ }, [b.value && b.value.map((P) => {
5139
5139
  const J = C(P.disabled);
5140
5140
  return x("button", {
5141
5141
  name: P.name,
@@ -5167,11 +5167,11 @@ const Ze = /* @__PURE__ */ Fe({
5167
5167
  }, [Le()])]);
5168
5168
  }
5169
5169
  function Pe() {
5170
- return t.slots.footerTemplate ? t.slots.footerTemplate() : E.value && at();
5170
+ return t.slots.footerTemplate ? t.slots.footerTemplate() : B.value && at();
5171
5171
  }
5172
5172
  function je(P) {
5173
5173
  if (P.stopPropagation(), e.allowClickMaskToClose) {
5174
- if (P.target !== O.value)
5174
+ if (P.target !== V.value)
5175
5175
  return;
5176
5176
  g(P, !1);
5177
5177
  }
@@ -5182,9 +5182,9 @@ const Ze = /* @__PURE__ */ Fe({
5182
5182
  id: r.value,
5183
5183
  class: ce.value,
5184
5184
  style: ne.value,
5185
- ref: L
5185
+ ref: j
5186
5186
  }, [x("div", {
5187
- class: De.value
5187
+ class: ze.value
5188
5188
  }, [s.value && We(), x("div", {
5189
5189
  class: et.value
5190
5190
  }, [(J = (P = t.slots).default) == null ? void 0 : J.call(P), a.value === "iframe" && x("iframe", {
@@ -5193,7 +5193,7 @@ const Ze = /* @__PURE__ */ Fe({
5193
5193
  width: "100%",
5194
5194
  frameborder: "0",
5195
5195
  src: d.value
5196
- }, null)]), Pe()]), !f.value && L.value && !H.value && R(L.value)]);
5196
+ }, null)]), Pe()]), !f.value && j.value && !H.value && R(j.value)]);
5197
5197
  }
5198
5198
  function ot(P) {
5199
5199
  return P || "body";
@@ -5206,7 +5206,7 @@ const Ze = /* @__PURE__ */ Fe({
5206
5206
  appear: !0
5207
5207
  }, {
5208
5208
  default: () => [x("div", {
5209
- ref: O,
5209
+ ref: V,
5210
5210
  class: re.value,
5211
5211
  style: ie.value,
5212
5212
  onClick: je
@@ -5221,7 +5221,7 @@ function Tn(e) {
5221
5221
  if (e.render && typeof e.render == "function")
5222
5222
  return e.render;
5223
5223
  }
5224
- function Bl(e) {
5224
+ function El(e) {
5225
5225
  const t = document.createElement("div");
5226
5226
  t.style.display = "contents";
5227
5227
  const n = qt({
@@ -5231,20 +5231,20 @@ function Bl(e) {
5231
5231
  });
5232
5232
  const r = C(), l = C(e.class || ""), f = C(!!e.showButtons), s = C(!!e.showHeader), u = C(e.showCloseButton == null ? !0 : e.showCloseButton), m = C(!0), c = C(e.title || ""), p = e.acceptCallback || (() => {
5233
5233
  }), a = e.rejectCallback || (() => {
5234
- }), d = e.closedCallback || ((O) => {
5235
- }), v = e.resizeHandle || ((O) => {
5236
- }), h = e.stopMoveHandle || ((O) => {
5237
- }), F = Tn(e), I = (O) => {
5238
- m.value = !1, n.unmount(), d(O);
5234
+ }), d = e.closedCallback || ((V) => {
5235
+ }), v = e.resizeHandle || ((V) => {
5236
+ }), h = e.stopMoveHandle || ((V) => {
5237
+ }), F = Tn(e), I = (V) => {
5238
+ m.value = !1, n.unmount(), d(V);
5239
5239
  };
5240
- return ze(() => {
5240
+ return De(() => {
5241
5241
  }), i.expose({
5242
5242
  modalRef: r
5243
5243
  }), () => x(Ze, {
5244
5244
  ref: r,
5245
5245
  class: l.value,
5246
5246
  modelValue: m.value,
5247
- "onUpdate:modelValue": (O) => m.value = O,
5247
+ "onUpdate:modelValue": (V) => m.value = V,
5248
5248
  title: c.value,
5249
5249
  width: e.width,
5250
5250
  height: e.height,
@@ -5273,7 +5273,7 @@ class kn {
5273
5273
  X(this, "activeModalIndex", C(0));
5274
5274
  X(this, "modalRefs", {});
5275
5275
  X(this, "isUseEscCloseModal", C(!1));
5276
- X(this, "activeModalInstance", B(() => this.modalRefs[this.activeModalIndex.value]));
5276
+ X(this, "activeModalInstance", E(() => this.modalRefs[this.activeModalIndex.value]));
5277
5277
  this.app = t, this.appContext = t ? t._context : null;
5278
5278
  }
5279
5279
  getCurrentModal() {
@@ -5298,7 +5298,7 @@ class kn {
5298
5298
  showButtons: !0,
5299
5299
  showHeader: !0
5300
5300
  }, t);
5301
- return Bl(n);
5301
+ return El(n);
5302
5302
  }
5303
5303
  close(t) {
5304
5304
  var n, o;
@@ -5307,7 +5307,7 @@ class kn {
5307
5307
  open(t) {
5308
5308
  const n = document.createDocumentFragment();
5309
5309
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
5310
- const o = zn(Object.assign({
5310
+ const o = Dn(Object.assign({
5311
5311
  title: "",
5312
5312
  showButtons: !0,
5313
5313
  showHeader: !0
@@ -5319,14 +5319,14 @@ class kn {
5319
5319
  });
5320
5320
  let m;
5321
5321
  const c = Tn(o.value), p = (T) => {
5322
- var b;
5322
+ var y;
5323
5323
  i.value = !1;
5324
- const g = (b = T == null ? void 0 : T.target) == null ? void 0 : b.classList.contains("modal_close");
5324
+ const g = (y = T == null ? void 0 : T.target) == null ? void 0 : y.classList.contains("modal_close");
5325
5325
  f(T, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5326
5326
  }, a = (T) => {
5327
5327
  p(T), m && Je(() => {
5328
5328
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Ut(null, n), m = null, this.modalRef.value = null, this.modalRefs) {
5329
- const g = Object.keys(this.modalRefs).map((b) => Number(b));
5329
+ const g = Object.keys(this.modalRefs).map((y) => Number(y));
5330
5330
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
5331
5331
  }
5332
5332
  this.isUseEscCloseModal.value = !1;
@@ -5354,7 +5354,7 @@ class kn {
5354
5354
  default: () => [c && c(this.app)]
5355
5355
  });
5356
5356
  return m = ((T) => {
5357
- const g = Dn(I, T);
5357
+ const g = zn(I, T);
5358
5358
  return g.appContext = this.appContext, Ut(g, n), g;
5359
5359
  })({
5360
5360
  ...o.value
@@ -5381,16 +5381,16 @@ Ze.install = (e) => {
5381
5381
  e.provide(In, t), e.provide("FModalService", t);
5382
5382
  };
5383
5383
  Ze.register = (e, t, n, o) => {
5384
- e.modal = Ze, t.modal = Sl, o.modal = { callbackResolver: Tl };
5384
+ e.modal = Ze, t.modal = Fl, o.modal = { callbackResolver: Tl };
5385
5385
  };
5386
- const Be = class Be {
5386
+ const Ee = class Ee {
5387
5387
  static show(t) {
5388
5388
  const n = Ue({
5389
5389
  ...t
5390
5390
  }), o = !1, i = n.type === "error" || n.type === "prompt", r = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
5391
5391
  }), f = n.rejectCallback || (() => {
5392
5392
  });
5393
- let s = null, u = new kn(Be.app);
5393
+ let s = null, u = new kn(Ee.app);
5394
5394
  const m = () => {
5395
5395
  s && (s == null || s.destroy(), u = null);
5396
5396
  };
@@ -5419,7 +5419,7 @@ const Be = class Be {
5419
5419
  okButtonText: "知道了",
5420
5420
  showCancelButton: !1
5421
5421
  });
5422
- Be.show(o);
5422
+ Ee.show(o);
5423
5423
  }
5424
5424
  static warning(t, n) {
5425
5425
  const o = Ue({
@@ -5429,7 +5429,7 @@ const Be = class Be {
5429
5429
  okButtonText: "知道了",
5430
5430
  showCancelButton: !1
5431
5431
  });
5432
- Be.show(o);
5432
+ Ee.show(o);
5433
5433
  }
5434
5434
  static success(t, n) {
5435
5435
  const o = Ue({
@@ -5439,7 +5439,7 @@ const Be = class Be {
5439
5439
  okButtonText: "关闭",
5440
5440
  showCancelButton: !1
5441
5441
  });
5442
- Be.show(o);
5442
+ Ee.show(o);
5443
5443
  }
5444
5444
  static error(t, n, o) {
5445
5445
  const i = Ue({
@@ -5453,7 +5453,7 @@ const Be = class Be {
5453
5453
  detail: n
5454
5454
  }
5455
5455
  });
5456
- Be.show(i);
5456
+ Ee.show(i);
5457
5457
  }
5458
5458
  static prompt(t, n) {
5459
5459
  const o = Ue({
@@ -5463,7 +5463,7 @@ const Be = class Be {
5463
5463
  okButtonText: "确定",
5464
5464
  cancelButtonText: "取消"
5465
5465
  });
5466
- Be.show(o);
5466
+ Ee.show(o);
5467
5467
  }
5468
5468
  static question(t, n, o, i) {
5469
5469
  const r = Ue({
@@ -5475,11 +5475,11 @@ const Be = class Be {
5475
5475
  acceptCallback: o,
5476
5476
  rejectCallback: i
5477
5477
  });
5478
- Be.show(r);
5478
+ Ee.show(r);
5479
5479
  }
5480
5480
  };
5481
- X(Be, "app", null);
5482
- let kt = Be;
5481
+ X(Ee, "app", null);
5482
+ let kt = Ee;
5483
5483
  wt.install = (e) => {
5484
5484
  e.component(wt.name, wt), kt.app = e, e.provide("FMessageBoxService", kt);
5485
5485
  };
@@ -5597,7 +5597,7 @@ class Pl extends _i {
5597
5597
  if (n.binding.type === "Variable") {
5598
5598
  if (this.bindingVarible = this.formSchemaUtils.getVariableById(n.binding.field), !this.bindingVarible)
5599
5599
  return !1;
5600
- } else if (!this.designViewModelField || this.designViewModelField.$type !== St.SimpleField)
5600
+ } else if (!this.designViewModelField || this.designViewModelField.$type !== Ft.SimpleField)
5601
5601
  return !1;
5602
5602
  return !0;
5603
5603
  }
@@ -5612,11 +5612,11 @@ class Pl extends _i {
5612
5612
  canChangeControlType: !1,
5613
5613
  editorTypeList: [{
5614
5614
  key: n.editor.type,
5615
- value: ((r = $[n.editor.type]) == null ? void 0 : r.name) || n.editor.type
5615
+ value: ((r = L[n.editor.type]) == null ? void 0 : r.name) || n.editor.type
5616
5616
  }]
5617
5617
  };
5618
5618
  let i = [];
5619
- return this.designViewModelField && this.designViewModelField.$type === St.SimpleField ? i = Tt.getEditorTypesByMDataType(this.designViewModelField.type.name, this.designViewModelField.multiLanguage) : this.bindingVarible && (i = Tt.getEditorTypesByMDataType(this.bindingVarible.type, this.designViewModelField.multiLanguage)), { canChangeControlType: o, editorTypeList: i };
5619
+ return this.designViewModelField && this.designViewModelField.$type === Ft.SimpleField ? i = Tt.getEditorTypesByMDataType(this.designViewModelField.type.name, this.designViewModelField.multiLanguage) : this.bindingVarible && (i = Tt.getEditorTypesByMDataType(this.bindingVarible.type, this.designViewModelField.multiLanguage)), { canChangeControlType: o, editorTypeList: i };
5620
5620
  }
5621
5621
  changeBindingField(n, o, i) {
5622
5622
  o.needRefreshEntityTree = !0;
@@ -6044,7 +6044,7 @@ function Vl(e, t) {
6044
6044
  onRemoveComponent: l
6045
6045
  };
6046
6046
  }
6047
- const Rl = /* @__PURE__ */ Fe({
6047
+ const Rl = /* @__PURE__ */ Se({
6048
6048
  name: "FFilterBarDesign",
6049
6049
  props: _t,
6050
6050
  emits: ["Clear", "Remove", "Reset"],
@@ -6053,27 +6053,27 @@ const Rl = /* @__PURE__ */ Fe({
6053
6053
  filterFields: f,
6054
6054
  filterItems: s,
6055
6055
  loadFilterItems: u
6056
- } = l, m = C(), c = zt("design-item-context"), p = zt("designer-host-service"), a = Vl(c, p), d = Jn(m, c, a), v = B(() => ({
6056
+ } = l, m = C(), c = Dt("design-item-context"), p = Dt("designer-host-service"), a = Vl(c, p), d = Jn(m, c, a), v = E(() => ({
6057
6057
  display: f.value && f.value.length ? "" : "none"
6058
6058
  }));
6059
- ze(() => {
6059
+ De(() => {
6060
6060
  m.value.componentInstance = d;
6061
- }), t.expose(d.value), le([() => e.data, () => e.fields], ([y, w]) => {
6062
- u(w, y);
6061
+ }), t.expose(d.value), le([() => e.data, () => e.fields], ([b, w]) => {
6062
+ u(w, b);
6063
6063
  });
6064
- const h = B(() => o.value && n.value), F = B(() => ({
6064
+ const h = E(() => o.value && n.value), F = E(() => ({
6065
6065
  "f-filter-list": !0,
6066
6066
  "f-filter-list-extend": h.value
6067
- })), I = B(() => s.value.length > 0);
6068
- function O() {
6067
+ })), I = E(() => s.value.length > 0);
6068
+ function V() {
6069
6069
  return x("div", {
6070
6070
  class: F.value
6071
- }, [s.value.map((y, w) => x(Cn, {
6072
- filterItem: y,
6071
+ }, [s.value.map((b, w) => x(Cn, {
6072
+ filterItem: b,
6073
6073
  useFilterItemsComposition: l
6074
6074
  }, null))]);
6075
6075
  }
6076
- const k = B(() => i.value && !o.value && r.value), T = Li(), g = B(() => !o.value), b = bn(e, t, l);
6076
+ const k = E(() => i.value && !o.value && r.value), T = Li(), g = E(() => !o.value), y = bn(e, t, l);
6077
6077
  return () => x("div", {
6078
6078
  ref: m,
6079
6079
  class: "f-filter-wrapper",
@@ -6084,7 +6084,7 @@ const Rl = /* @__PURE__ */ Fe({
6084
6084
  class: "f-filter-main f-utils-fill"
6085
6085
  }, [x("div", {
6086
6086
  class: "f-filter-list-wrapper"
6087
- }, [I.value && O(), k.value && T(), g.value && b()])])])]);
6087
+ }, [I.value && V(), k.value && T(), g.value && y()])])])]);
6088
6088
  }
6089
6089
  }), Nl = "https://json-schema.org/draft/2020-12/schema", $l = "https://farris-design.gitee.io/query-solution-config.schema.json", Ll = "query-solution-config", jl = "A Farris Container Component", Al = {
6090
6090
  fieldsConfig: {
@@ -6129,7 +6129,7 @@ const Rl = /* @__PURE__ */ Fe({
6129
6129
  ["appearance", pt]
6130
6130
  // ['preset', resolvePreset]
6131
6131
  ]);
6132
- function zl(e, t, n) {
6132
+ function Dl(e, t, n) {
6133
6133
  return t;
6134
6134
  }
6135
6135
  const Mn = {
@@ -6146,8 +6146,8 @@ const Mn = {
6146
6146
  // 已预设字段
6147
6147
  presetFields: { type: [Array, Function], default: [] }
6148
6148
  };
6149
- Ke(Mn, Hl, Ul, zl);
6150
- const Dl = {
6149
+ Ke(Mn, Hl, Ul, Dl);
6150
+ const zl = {
6151
6151
  class: {
6152
6152
  description: "样式",
6153
6153
  title: "样式",
@@ -6258,7 +6258,7 @@ const Dl = {
6258
6258
  defaultValue: !1
6259
6259
  }
6260
6260
  }, nn = {
6261
- common: Dl,
6261
+ common: zl,
6262
6262
  "input-group": {
6263
6263
  maxLength: {
6264
6264
  description: "文本字数最大长度。最小值是0,如果指定为0,不限定长度。指定的最大长度不应超过该字段在实体中的值。",
@@ -6478,6 +6478,10 @@ function Yt(e) {
6478
6478
  key: "lookup",
6479
6479
  value: "帮助"
6480
6480
  },
6481
+ "combo-lookup": {
6482
+ key: "combo-lookup",
6483
+ value: "下拉帮助"
6484
+ },
6481
6485
  "combo-list": {
6482
6486
  key: "combo-list",
6483
6487
  value: "下拉列表"
@@ -6782,13 +6786,13 @@ function Yt(e) {
6782
6786
  function u(p) {
6783
6787
  if (!p || !p.id)
6784
6788
  return null;
6785
- const { id: a, code: d, labelCode: v, name: h, controlType: F, labelName: I, $type: O, $typeInfo: k, ...T } = p, g = {
6789
+ const { id: a, code: d, labelCode: v, name: h, controlType: F, labelName: I, $type: V, $typeInfo: k, ...T } = p, g = {
6786
6790
  id: a,
6787
6791
  code: d,
6788
6792
  labelCode: v,
6789
6793
  name: h,
6790
6794
  controlType: F,
6791
- $type: O,
6795
+ $type: V,
6792
6796
  $typeInfo: k,
6793
6797
  editor: T
6794
6798
  };
@@ -6850,7 +6854,7 @@ function Yt(e) {
6850
6854
  };
6851
6855
  }
6852
6856
  function Gl(e, t) {
6853
- const { getControlTypeListByFieldType: n, getRealControlType: o } = Yt(), { uuid: i } = Ft(), r = C(0);
6857
+ const { getControlTypeListByFieldType: n, getRealControlType: o } = Yt(), { uuid: i } = St(), r = C(0);
6854
6858
  function l(g) {
6855
6859
  return {
6856
6860
  description: "Basic Infomation",
@@ -6900,13 +6904,13 @@ function Gl(e, t) {
6900
6904
  return g.$type !== "EntityType";
6901
6905
  }
6902
6906
  function s(g) {
6903
- const { defaultConverter: b, dataSourceEditor: y, idFieldEditor: w, textFieldEditor: E, mappingFieldsEditor: S, dataSourceConverter: L } = Xo(g, e), H = {
6907
+ const { defaultConverter: y, dataSourceEditor: b, idFieldEditor: w, textFieldEditor: B, mappingFieldsEditor: S, dataSourceConverter: j } = Xo(g, e), H = {
6904
6908
  description: "帮助元数据",
6905
6909
  title: "帮助元数据",
6906
6910
  type: "string",
6907
- $converter: L,
6911
+ $converter: j,
6908
6912
  editor: {
6909
- ...y,
6913
+ ...b,
6910
6914
  onSubmitModal: (G) => {
6911
6915
  if (G) {
6912
6916
  const D = e.formSchemaUtils.getFormMetadataBasicInfo();
@@ -6926,11 +6930,11 @@ function Gl(e, t) {
6926
6930
  title: "文本字段",
6927
6931
  type: "string",
6928
6932
  editor: {
6929
- ...E,
6933
+ ...B,
6930
6934
  bindingType: { enable: !1 },
6931
6935
  onSubmitModal: (G) => (g.textField = G[0].bindingPath, null)
6932
6936
  }
6933
- }, A = {
6937
+ }, W = {
6934
6938
  description: "显示值字段",
6935
6939
  title: "值字段",
6936
6940
  type: "string",
@@ -6939,7 +6943,7 @@ function Gl(e, t) {
6939
6943
  bindingType: { enable: !1 },
6940
6944
  onSubmitModal: (G) => (g.valueField = G[0].bindingPath, null)
6941
6945
  }
6942
- }, _ = {
6946
+ }, z = {
6943
6947
  description: "字段映射",
6944
6948
  title: "字段映射",
6945
6949
  type: "string",
@@ -6951,38 +6955,38 @@ function Gl(e, t) {
6951
6955
  type: "boolean",
6952
6956
  defaultValue: !1,
6953
6957
  visible: !(g.multiSelect && g.openType === "Popup")
6954
- }, j = {
6958
+ }, O = {
6955
6959
  description: "",
6956
6960
  title: "任意输入",
6957
6961
  type: "boolean",
6958
6962
  defaultValue: !1,
6959
6963
  visible: Z.visible && !!g.editable && f(g)
6960
- }, V = {
6964
+ }, N = {
6961
6965
  description: "是否多选",
6962
6966
  title: "是否多选",
6963
6967
  type: "boolean",
6964
6968
  defaultValue: !1,
6965
- $converter: b,
6969
+ $converter: y,
6966
6970
  visible: f(g)
6967
6971
  };
6968
- return { helpId: H, textField: R, valueField: A, mappingFields: _, editable: Z, allowFreeInput: j, multiSelect: V };
6972
+ return { helpId: H, textField: R, valueField: W, mappingFields: z, editable: Z, allowFreeInput: O, multiSelect: N };
6969
6973
  }
6970
6974
  function u(g) {
6971
- const b = Yo(g);
6972
- ["showNavigation", "navigatorWidth"].map((w) => delete b[w]);
6973
- const y = Qo(g, !1);
6974
- return y.setPropertyRelates = (w, E) => {
6975
+ const y = Yo(g);
6976
+ ["showNavigation", "navigatorWidth"].map((w) => delete y[w]);
6977
+ const b = Qo(g, !1);
6978
+ return b.setPropertyRelates = (w, B) => {
6975
6979
  w && ["showLimits", "sizeLimits"].indexOf(w.propertyID) > -1 && r.value++;
6976
6980
  }, {
6977
6981
  dialog: {
6978
6982
  description: "",
6979
6983
  title: "弹窗窗口配置",
6980
- properties: b,
6981
- setPropertyRelates(w, E) {
6984
+ properties: y,
6985
+ setPropertyRelates(w, B) {
6982
6986
  w && w.propertyID === "openType" && r.value++;
6983
6987
  }
6984
6988
  },
6985
- pager: y
6989
+ pager: b
6986
6990
  };
6987
6991
  }
6988
6992
  function m(g) {
@@ -7006,7 +7010,7 @@ function Gl(e, t) {
7006
7010
  } };
7007
7011
  }
7008
7012
  function c(g) {
7009
- const b = {
7013
+ const y = {
7010
7014
  description: "最大值",
7011
7015
  title: "最大值",
7012
7016
  type: "number",
@@ -7017,7 +7021,7 @@ function Gl(e, t) {
7017
7021
  min: g.min,
7018
7022
  needValid: !0
7019
7023
  }
7020
- }, y = {
7024
+ }, b = {
7021
7025
  description: "最小值",
7022
7026
  title: "最小值",
7023
7027
  type: "number",
@@ -7029,53 +7033,53 @@ function Gl(e, t) {
7029
7033
  needValid: !0
7030
7034
  }
7031
7035
  };
7032
- return { max: b, min: y };
7036
+ return { max: y, min: b };
7033
7037
  }
7034
- function p(g, b) {
7035
- if (!b)
7038
+ function p(g, y) {
7039
+ if (!y)
7036
7040
  return g;
7037
- const y = b.includes("yyyy"), w = b.includes("MM"), E = b.includes("dd"), S = b.includes("HH"), L = b.includes("mm"), H = b.includes("ss");
7038
- return y || (g = g.filter((R) => !R.id.includes("yyyy"))), w || (g = g.filter((R) => !R.id.includes("MM"))), E || (g = g.filter((R) => !R.id.includes("dd"))), S || (g = g.filter((R) => !R.id.includes("HH"))), L || (g = g.filter((R) => !R.id.includes("mm"))), H || (g = g.filter((R) => !R.id.includes("ss"))), g;
7041
+ const b = y.includes("yyyy"), w = y.includes("MM"), B = y.includes("dd"), S = y.includes("HH"), j = y.includes("mm"), H = y.includes("ss");
7042
+ return b || (g = g.filter((R) => !R.id.includes("yyyy"))), w || (g = g.filter((R) => !R.id.includes("MM"))), B || (g = g.filter((R) => !R.id.includes("dd"))), S || (g = g.filter((R) => !R.id.includes("HH"))), j || (g = g.filter((R) => !R.id.includes("mm"))), H || (g = g.filter((R) => !R.id.includes("ss"))), g;
7039
7043
  }
7040
7044
  function a(g) {
7041
- const { timeFormats: b, yMdFormats: y, yMFormats: w, mdFormats: E, yFormats: S } = Go(), L = [];
7045
+ const { timeFormats: y, yMdFormats: b, yMFormats: w, mdFormats: B, yFormats: S } = Go(), j = [];
7042
7046
  switch (g) {
7043
7047
  case "date-picker":
7044
7048
  case "date-range": {
7045
- L.push(...y, ...w, ...S, ...E);
7049
+ j.push(...b, ...w, ...S, ...B);
7046
7050
  break;
7047
7051
  }
7048
7052
  case "datetime-picker":
7049
7053
  case "datetime-range": {
7050
- L.push(...b, ...y, ...w, ...S, ...E);
7054
+ j.push(...y, ...b, ...w, ...S, ...B);
7051
7055
  break;
7052
7056
  }
7053
7057
  case "year-picker": {
7054
- L.push(...S);
7058
+ j.push(...S);
7055
7059
  break;
7056
7060
  }
7057
7061
  case "month-picker":
7058
7062
  case "month-range": {
7059
- L.push(...w);
7063
+ j.push(...w);
7060
7064
  break;
7061
7065
  }
7062
7066
  }
7063
- return L;
7067
+ return j;
7064
7068
  }
7065
7069
  function d(g) {
7066
- const { controlType: b } = g, y = a(b), w = {
7070
+ const { controlType: y } = g, b = a(y), w = {
7067
7071
  description: "查询格式",
7068
7072
  title: "查询格式",
7069
7073
  type: "enum",
7070
7074
  editor: {
7071
- data: y
7075
+ data: b
7072
7076
  }
7073
7077
  }, S = {
7074
7078
  description: "显示格式",
7075
7079
  title: "显示格式",
7076
7080
  type: "enum",
7077
7081
  editor: {
7078
- data: p(y, g.valueFormat)
7082
+ data: p(b, g.valueFormat)
7079
7083
  }
7080
7084
  };
7081
7085
  return { valueFormat: w, displayFormat: S };
@@ -7084,9 +7088,9 @@ function Gl(e, t) {
7084
7088
  return ["date-range", "date-picker", "datetime-range", "datetime-picker", "year-picker", "month-picker", "month-range"].indexOf(g) > -1;
7085
7089
  }
7086
7090
  function h(g) {
7087
- var E;
7088
- const { controlType: b } = g, y = Object.assign({}, nn.common);
7089
- ["date-range", "datetime-range", "month-range", "number-range"].indexOf(b) > -1 ? (delete y.placeholder, delete y.multiLineLabel, Object.assign(y, {
7091
+ var B;
7092
+ const { controlType: y } = g, b = Object.assign({}, nn.common);
7093
+ ["date-range", "datetime-range", "month-range", "number-range"].indexOf(y) > -1 ? (delete b.placeholder, delete b.multiLineLabel, Object.assign(b, {
7090
7094
  beginPlaceholder: {
7091
7095
  description: "当控件没有值时在输入框中显示的文本",
7092
7096
  title: "开始提示文本",
@@ -7105,7 +7109,7 @@ function Gl(e, t) {
7105
7109
  type: "boolean",
7106
7110
  $converter: ht
7107
7111
  }
7108
- })) : (y.placeholder.$converter = ht, y.multiLineLabel.$converter = _l), v(b) && (["date-range"].indexOf(b) > -1 && Object.assign(y, {
7112
+ })) : (b.placeholder.$converter = ht, b.multiLineLabel.$converter = _l), v(y) && (["date-range"].indexOf(y) > -1 && Object.assign(b, {
7109
7113
  weekSelect: {
7110
7114
  description: "启用周选择",
7111
7115
  title: "启用周选择",
@@ -7115,7 +7119,7 @@ function Gl(e, t) {
7115
7119
  readonly: g.enableQuickSelect
7116
7120
  }
7117
7121
  }
7118
- }), ["year-picker", "month-picker", "month-range"].indexOf(b) < 0 && Object.assign(y, {
7122
+ }), ["year-picker", "month-picker", "month-range"].indexOf(y) < 0 && Object.assign(b, {
7119
7123
  firstDayOfTheWeek: {
7120
7124
  description: "",
7121
7125
  title: "每周起始日",
@@ -7149,27 +7153,27 @@ function Gl(e, t) {
7149
7153
  }
7150
7154
  }
7151
7155
  }));
7152
- const w = Object.assign({}, y, nn[o(b)]);
7153
- return b === "combo-list" && ((E = g.$typeInfo) == null ? void 0 : E.$type) === "BooleanType" && (w.multiSelect.visible = !1), w;
7156
+ const w = Object.assign({}, b, nn[o(y)]);
7157
+ return y === "combo-list" && ((B = g.$typeInfo) == null ? void 0 : B.$type) === "BooleanType" && (w.multiSelect.visible = !1), w;
7154
7158
  }
7155
7159
  function F(g) {
7156
- const { controlType: b } = g, y = {
7160
+ const { controlType: y } = g, b = {
7157
7161
  description: "",
7158
7162
  title: "控件",
7159
7163
  properties: h(g)
7160
7164
  };
7161
- switch (b) {
7165
+ switch (y) {
7162
7166
  case "lookup":
7163
7167
  case "combo-lookup": {
7164
- const { helpId: w, textField: E, valueField: S, mappingFields: L, editable: H, allowFreeInput: R, multiSelect: A } = s(g);
7165
- y.properties.helpId = w, y.properties.textField = E, y.properties.valueField = S, y.properties.mapFields = L, y.properties.editable = H, y.properties.allowFreeInput = R, y.properties.multiSelect = A;
7168
+ const { helpId: w, textField: B, valueField: S, mappingFields: j, editable: H, allowFreeInput: R, multiSelect: W } = s(g);
7169
+ b.properties.helpId = w, b.properties.textField = B, b.properties.valueField = S, b.properties.mapFields = j, b.properties.editable = H, b.properties.allowFreeInput = R, b.properties.multiSelect = W;
7166
7170
  break;
7167
7171
  }
7168
7172
  case "radio-group":
7169
7173
  case "combo-list":
7170
7174
  {
7171
7175
  const { enumValues: w } = m();
7172
- y.properties.data = w;
7176
+ b.properties.data = w;
7173
7177
  }
7174
7178
  break;
7175
7179
  case "year-picker":
@@ -7179,27 +7183,27 @@ function Gl(e, t) {
7179
7183
  case "date-picker":
7180
7184
  case "datetime-range":
7181
7185
  case "datetime-picker": {
7182
- const { $typeInfo: w } = g, { valueFormat: E, displayFormat: S } = d(g);
7183
- w && w.name === "String" && (y.properties.valueFormat = E), y.properties.displayFormat = S;
7186
+ const { $typeInfo: w } = g, { valueFormat: B, displayFormat: S } = d(g);
7187
+ w && w.name === "String" && (b.properties.valueFormat = B), b.properties.displayFormat = S;
7184
7188
  break;
7185
7189
  }
7186
7190
  case "number-spinner":
7187
7191
  case "number-range": {
7188
- const { max: w, min: E } = c(g);
7189
- y.properties.max = w, y.properties.min = E;
7192
+ const { max: w, min: B } = c(g);
7193
+ b.properties.max = w, b.properties.min = B;
7190
7194
  break;
7191
7195
  }
7192
7196
  case "input-group": {
7193
- g.$typeInfo && (y.properties.maxLength.editor.max = g.$typeInfo.length);
7197
+ g.$typeInfo && (b.properties.maxLength.editor.max = g.$typeInfo.length);
7194
7198
  break;
7195
7199
  }
7196
7200
  }
7197
- return y.setPropertyRelates = (w, E) => {
7198
- w && (["lookup", "combo-lookup"].indexOf(b) > -1 && ["helpId", "editable", "multiSelect"].indexOf(w.propertyID) > -1 ? r.value++ : v(b) && ["weekSelect", "enableQuickSelect"].indexOf(w.propertyID) > -1 ? (w.propertyValue && w.propertyID === "weekSelect" && (g.enableQuickSelect = !1, g.firstDayOfTheWeek = "Mon"), w.propertyValue && w.propertyID === "enableQuickSelect" && (g.weekSelect = !1), r.value++) : ["number-spinner", "number-range"].indexOf(b) > -1 && ["max", "min"].indexOf(w.propertyID) > -1 && r.value++);
7199
- }, y;
7201
+ return b.setPropertyRelates = (w, B) => {
7202
+ w && (["lookup", "combo-lookup"].indexOf(y) > -1 && ["helpId", "editable", "multiSelect"].indexOf(w.propertyID) > -1 ? r.value++ : v(y) && ["weekSelect", "enableQuickSelect"].indexOf(w.propertyID) > -1 ? (w.propertyValue && w.propertyID === "weekSelect" && (g.enableQuickSelect = !1, g.firstDayOfTheWeek = "Mon"), w.propertyValue && w.propertyID === "enableQuickSelect" && (g.weekSelect = !1), r.value++) : ["number-spinner", "number-range"].indexOf(y) > -1 && ["max", "min"].indexOf(w.propertyID) > -1 && r.value++);
7203
+ }, b;
7200
7204
  }
7201
7205
  function I(g) {
7202
- const b = [
7206
+ const y = [
7203
7207
  {
7204
7208
  label: "valueChangedCmd",
7205
7209
  name: "值变化事件"
@@ -7208,7 +7212,7 @@ function Gl(e, t) {
7208
7212
  switch (g) {
7209
7213
  case "combo-lookup":
7210
7214
  case "lookup":
7211
- b.push({
7215
+ y.push({
7212
7216
  label: "preEventCmd",
7213
7217
  name: "帮助前事件"
7214
7218
  }, {
@@ -7217,7 +7221,7 @@ function Gl(e, t) {
7217
7221
  });
7218
7222
  break;
7219
7223
  case "combo-list":
7220
- b.push({
7224
+ y.push({
7221
7225
  label: "beforeShow",
7222
7226
  name: "面板展开前事件"
7223
7227
  }, {
@@ -7226,14 +7230,14 @@ function Gl(e, t) {
7226
7230
  });
7227
7231
  break;
7228
7232
  }
7229
- return b;
7233
+ return y;
7230
7234
  }
7231
- function O(g) {
7232
- const b = I(g.controlType), y = e.eventsEditorUtils.formProperties(g, e.viewModelId, b), w = {};
7235
+ function V(g) {
7236
+ const y = I(g.controlType), b = e.eventsEditorUtils.formProperties(g, e.viewModelId, y), w = {};
7233
7237
  return w[e.viewModelId] = {
7234
7238
  type: "events-editor",
7235
7239
  editor: {
7236
- initialData: y
7240
+ initialData: b
7237
7241
  }
7238
7242
  }, {
7239
7243
  title: "事件",
@@ -7243,32 +7247,32 @@ function Gl(e, t) {
7243
7247
  refreshPanelAfterChanged: !0,
7244
7248
  tabId: "commands",
7245
7249
  tabName: "交互",
7246
- setPropertyRelates(S, L) {
7250
+ setPropertyRelates(S, j) {
7247
7251
  const H = S.propertyValue;
7248
7252
  delete g[e.viewModelId], H && (H.setPropertyRelates = this.setPropertyRelates, e.eventsEditorUtils.saveRelatedParameters(g, e.viewModelId, H.events, H)), g.remoteSort = !!g.columnSorted;
7249
7253
  }
7250
7254
  };
7251
7255
  }
7252
7256
  function k(g) {
7253
- const { controlType: b } = g;
7254
- let y = {};
7255
- switch (b) {
7257
+ const { controlType: y } = g;
7258
+ let b = {};
7259
+ switch (y) {
7256
7260
  case "lookup":
7257
- y = u(g);
7261
+ b = u(g);
7258
7262
  }
7259
- return y;
7263
+ return b;
7260
7264
  }
7261
7265
  function T(g) {
7262
- const b = l(g), y = F(g);
7263
- O(g);
7266
+ const y = l(g), b = F(g);
7267
+ V(g);
7264
7268
  const w = k(g);
7265
7269
  return {
7266
7270
  title: "query-solution-config",
7267
7271
  description: "A Farris Component",
7268
7272
  type: "object",
7269
7273
  categories: {
7270
- basic: b,
7271
- control: y,
7274
+ basic: y,
7275
+ control: b,
7272
7276
  ...w
7273
7277
  // eventsEditor
7274
7278
  }
@@ -7315,13 +7319,13 @@ function Xl(e, t, n, o) {
7315
7319
  le(() => {
7316
7320
  var h, F;
7317
7321
  return [(h = s.value) == null ? void 0 : h.id, (F = s.value) == null ? void 0 : F.controlType];
7318
- }, ([h, F], [I, O]) => {
7322
+ }, ([h, F], [I, V]) => {
7319
7323
  if (!h)
7320
7324
  i.value.updatePropertyConfig({}, {}, !0);
7321
7325
  else if (h !== I) {
7322
7326
  const k = u(s.value);
7323
7327
  i.value.updatePropertyConfig(k, s.value, !0);
7324
- } else if (F !== O) {
7328
+ } else if (F !== V) {
7325
7329
  const k = o.get(h), T = p(k);
7326
7330
  T.controlType = F;
7327
7331
  const g = {
@@ -7336,8 +7340,8 @@ function Xl(e, t, n, o) {
7336
7340
  propertyID: F
7337
7341
  } = h.changeObject;
7338
7342
  if ((F === "precision" || F === "max" || F === "min") && a(!1), F === "valueFormat") {
7339
- const I = u(s.value), O = I.categories.control.properties.displayFormat.editor.data;
7340
- O.find((k) => s.value.displayFormat === k.id) || (s.value.displayFormat = O[0].id), i.value.updatePropertyConfig(I, s.value, !1);
7343
+ const I = u(s.value), V = I.categories.control.properties.displayFormat.editor.data;
7344
+ V.find((k) => s.value.displayFormat === k.id) || (s.value.displayFormat = V[0].id), i.value.updatePropertyConfig(I, s.value, !1);
7341
7345
  }
7342
7346
  }
7343
7347
  le(() => m.value, (h) => {
@@ -7363,93 +7367,93 @@ function Yl(e, t, n, o) {
7363
7367
  const i = /* @__PURE__ */ new Map(), r = C(!1), l = C(), f = C([]), s = C([]), u = C([]), {
7364
7368
  getSolutionField: m
7365
7369
  } = Yt(), c = {
7366
- customRowStatus: (b) => {
7367
- const y = b.raw;
7368
- b.disabled = y.$type !== "SimpleField" || y.$typeInfo.name === "Text";
7370
+ customRowStatus: (y) => {
7371
+ const b = y.raw;
7372
+ y.disabled = b.$type !== "SimpleField" || b.$typeInfo.name === "Text";
7369
7373
  }
7370
7374
  };
7371
7375
  let p = [];
7372
- function a(b) {
7373
- n.value = b.length ? b[0] : null;
7376
+ function a(y) {
7377
+ n.value = y.length ? y[0] : null;
7374
7378
  }
7375
- function d(b) {
7379
+ function d(y) {
7376
7380
  var w;
7377
- s.value.forEach((E) => {
7378
- !b.find((L) => L.id === E.id) && o.set(E.id, ve(i.get(E.id)));
7379
- }), s.value = b;
7380
- const y = (w = n.value) == null ? void 0 : w.id;
7381
- (!y || !s.value.find((E) => E.id === y)) && (n.value = null);
7382
- }
7383
- function v(b, y = !1) {
7384
- if (b.forEach((w) => {
7381
+ s.value.forEach((B) => {
7382
+ !y.find((j) => j.id === B.id) && o.set(B.id, ve(i.get(B.id)));
7383
+ }), s.value = y;
7384
+ const b = (w = n.value) == null ? void 0 : w.id;
7385
+ (!b || !s.value.find((B) => B.id === b)) && (n.value = null);
7386
+ }
7387
+ function v(y, b = !1) {
7388
+ if (y.forEach((w) => {
7385
7389
  w.data = m(w.data), o.set(w.data.id, ve(w.data)), i.set(w.data.id, ve(w.data)), w.children && w.children.length && v(w.children);
7386
- }), y)
7387
- return b;
7390
+ }), b)
7391
+ return y;
7388
7392
  }
7389
7393
  function h() {
7390
- const b = ve(e.fieldsConfig);
7391
- return v(b, !0);
7394
+ const y = ve(e.fieldsConfig);
7395
+ return v(y, !0);
7392
7396
  }
7393
- function F(b, y) {
7394
- return b.reduce((w, E) => {
7395
- y.set(E.data.id, E.data), E.children && E.children.length && F(E.children, y);
7396
- }, y);
7397
+ function F(y, b) {
7398
+ return y.reduce((w, B) => {
7399
+ b.set(B.data.id, B.data), B.children && B.children.length && F(B.children, b);
7400
+ }, b);
7397
7401
  }
7398
7402
  function I() {
7399
7403
  u.value = h();
7400
- const b = /* @__PURE__ */ new Map([]);
7401
- F(e.fieldsConfig, b);
7402
- const y = {}, w = ve(e.modelValue) || [];
7403
- s.value = [], w.forEach((E) => {
7404
- const S = b.get(E.id);
7405
- S && (y[E.id] = {
7406
- ...E.editor,
7404
+ const y = /* @__PURE__ */ new Map([]);
7405
+ F(e.fieldsConfig, y);
7406
+ const b = {}, w = ve(e.modelValue) || [];
7407
+ s.value = [], w.forEach((B) => {
7408
+ const S = y.get(B.id);
7409
+ S && (b[B.id] = {
7410
+ ...B.editor,
7407
7411
  id: S.id,
7408
7412
  code: S.code,
7409
7413
  labelCode: S.path,
7410
7414
  labelName: S.name,
7411
- name: E.name,
7415
+ name: B.name,
7412
7416
  $type: S.$type,
7413
7417
  $typeInfo: S.type,
7414
- controlType: E.controlType
7415
- }, delete y[E.id].type, s.value.push(y[E.id]), o.set(E.id, ve(y[E.id])));
7416
- }), r.value = !0, l.value = ve(y), f.value = ve(s.value), typeof e.presetFields == "function" ? p = e.presetFields() : p = e.presetFields;
7417
- }
7418
- function O() {
7419
- const b = [];
7420
- s.value.forEach((y) => {
7421
- const w = o.get(y.id);
7418
+ controlType: B.controlType
7419
+ }, delete b[B.id].type, s.value.push(b[B.id]), o.set(B.id, ve(b[B.id])));
7420
+ }), r.value = !0, l.value = ve(b), f.value = ve(s.value), typeof e.presetFields == "function" ? p = e.presetFields() : p = e.presetFields;
7421
+ }
7422
+ function V() {
7423
+ const y = [];
7424
+ s.value.forEach((b) => {
7425
+ const w = o.get(b.id);
7422
7426
  if (w) {
7423
7427
  const {
7424
- id: E,
7428
+ id: B,
7425
7429
  code: S,
7426
- labelCode: L,
7430
+ labelCode: j,
7427
7431
  name: H,
7428
7432
  controlType: R,
7429
- labelName: A,
7430
- $type: _,
7433
+ labelName: W,
7434
+ $type: z,
7431
7435
  $typeInfo: Z,
7432
- ...j
7433
- } = w, V = {
7434
- id: E,
7436
+ ...O
7437
+ } = w, N = {
7438
+ id: B,
7435
7439
  code: S,
7436
- labelCode: L,
7440
+ labelCode: j,
7437
7441
  name: H,
7438
7442
  controlType: R,
7439
- $type: _,
7443
+ $type: z,
7440
7444
  $typeInfo: Z,
7441
- editor: j
7445
+ editor: O
7442
7446
  };
7443
- V.editor.type = R, b.push(V);
7447
+ N.editor.type = R, y.push(N);
7444
7448
  }
7445
- }), t.emit("update:modelValue", b), e.onFieldsChanged && typeof e.onFieldsChanged == "function" && e.onFieldsChanged(b), r.value = !1, n.value = null;
7449
+ }), t.emit("update:modelValue", y), e.onFieldsChanged && typeof e.onFieldsChanged == "function" && e.onFieldsChanged(y), r.value = !1, n.value = null;
7446
7450
  }
7447
7451
  function k() {
7448
7452
  s.value = ve(f.value), r.value = !1, n.value = null;
7449
7453
  }
7450
- function T(b) {
7451
- let y = "draggable-item--text-truncate";
7452
- return p.find((w) => w === b.raw.id) && (y += " query-solution-selected-fields"), y;
7454
+ function T(y) {
7455
+ let b = "draggable-item--text-truncate";
7456
+ return p.find((w) => w === y.raw.id) && (b += " query-solution-selected-fields"), b;
7453
7457
  }
7454
7458
  function g() {
7455
7459
  return r.value ? x(Zo, {
@@ -7457,15 +7461,16 @@ function Yl(e, t, n, o) {
7457
7461
  "data-source": u.value,
7458
7462
  rowOption: c,
7459
7463
  "display-type": "Tree",
7460
- class: "query-solution-config-transfer",
7464
+ class: "query-solution-config-transfer h-100",
7461
7465
  "text-field": "labelName",
7462
7466
  onActiveChange: a,
7463
7467
  onChange: d,
7464
- selectedItemClass: T
7468
+ selectedItemClass: T,
7469
+ style: "height:auto;"
7465
7470
  }, {
7466
- text: (b) => x("div", {
7471
+ text: (y) => x("div", {
7467
7472
  style: "margin: 10px 0px 10px 14px;"
7468
- }, [b.data.name.data, x("div", {
7473
+ }, [y.data.name.data, x("div", {
7469
7474
  class: "checked-tip",
7470
7475
  style: "display:none;"
7471
7476
  }, null), x("span", {
@@ -7478,7 +7483,7 @@ function Yl(e, t, n, o) {
7478
7483
  renderTransfer: g,
7479
7484
  initData: I,
7480
7485
  selectPanels: s,
7481
- confirm: O,
7486
+ confirm: V,
7482
7487
  cancel: k
7483
7488
  };
7484
7489
  }
@@ -7610,19 +7615,19 @@ const Ql = {
7610
7615
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
7611
7616
  host: { type: Object },
7612
7617
  backgroundColor: { type: String, default: "" }
7613
- }, Zl = /* @__PURE__ */ Fe({
7618
+ }, Zl = /* @__PURE__ */ Se({
7614
7619
  name: "FOverlay",
7615
7620
  props: Jl,
7616
7621
  emits: ["click"],
7617
7622
  setup(e, t) {
7618
- const n = C(e.popupContentPosition), o = C(e.host), i = B(() => ({
7623
+ const n = C(e.popupContentPosition), o = C(e.host), i = E(() => ({
7619
7624
  backgroundColor: e.backgroundColor || "",
7620
7625
  pointerEvents: "auto"
7621
7626
  }));
7622
7627
  function r(f) {
7623
7628
  t.emit("click"), f.preventDefault(), f.stopPropagation();
7624
7629
  }
7625
- B(() => {
7630
+ E(() => {
7626
7631
  const f = o.value;
7627
7632
  if (f) {
7628
7633
  const s = f.getBoundingClientRect(), {
@@ -7637,7 +7642,7 @@ const Ql = {
7637
7642
  }
7638
7643
  return n.value;
7639
7644
  });
7640
- const l = B(() => ({
7645
+ const l = E(() => ({
7641
7646
  // position: 'relative',
7642
7647
  // left: `${position.value.left}px`,
7643
7648
  // top: `${position.value.top}px`
@@ -7694,7 +7699,7 @@ class ta {
7694
7699
  return ea(t);
7695
7700
  }
7696
7701
  }
7697
- function En(e, t) {
7702
+ function Bn(e, t) {
7698
7703
  function n() {
7699
7704
  const o = e.beforeOpen || e.beforeClickButton || null;
7700
7705
  let i = Promise.resolve(!0);
@@ -7709,10 +7714,10 @@ function En(e, t) {
7709
7714
  return { judgeCanOpen: n };
7710
7715
  }
7711
7716
  function na(e, t, n, o, i) {
7712
- const r = C(e.buttonBehavior), l = C(e.popupOnInput), f = B(() => ({
7717
+ const r = C(e.buttonBehavior), l = C(e.popupOnInput), f = E(() => ({
7713
7718
  "input-group-append": !0,
7714
7719
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
7715
- })), { judgeCanOpen: s } = En(e, i), u = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = zt(In, null), c = C();
7720
+ })), { judgeCanOpen: s } = Bn(e, i), u = E(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = Dt(In, null), c = C();
7716
7721
  async function p(v) {
7717
7722
  if (await s() && u.value) {
7718
7723
  const h = !!t.slots.default;
@@ -7746,7 +7751,7 @@ function na(e, t, n, o, i) {
7746
7751
  };
7747
7752
  }
7748
7753
  function oa(e, t, n, o, i, r) {
7749
- const l = C(!1), f = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: s, hasClearClass: u } = r;
7754
+ const l = C(!1), f = E(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: s, hasClearClass: u } = r;
7750
7755
  function m(d) {
7751
7756
  l.value = d, u.value = d;
7752
7757
  }
@@ -7778,13 +7783,13 @@ function oa(e, t, n, o, i, r) {
7778
7783
  };
7779
7784
  }
7780
7785
  function ia(e, t, n, o, i) {
7781
- const r = B(() => e.popupOnInput), l = B(() => e.popupOnFocus), { shouldPopupContent: f, closeAllPopover: s } = i, u = C(!1), m = B(() => e.enableTitle ? n.value : ""), c = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = B(() => e.readonly || !e.editable), a = C(!1), d = B(() => !e.disable && a.value), v = B(() => ({
7786
+ const r = E(() => e.popupOnInput), l = E(() => e.popupOnFocus), { shouldPopupContent: f, closeAllPopover: s } = i, u = C(!1), m = E(() => e.enableTitle ? n.value : ""), c = E(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = E(() => e.readonly || !e.editable), a = C(!1), d = E(() => !e.disable && a.value), v = E(() => ({
7782
7787
  "text-left": e.textAlign === "left",
7783
7788
  "text-center": e.textAlign === "center",
7784
7789
  "text-right": e.textAlign === "right",
7785
7790
  "form-control": !0,
7786
7791
  "f-utils-fill": !0
7787
- })), h = B(() => ({
7792
+ })), h = E(() => ({
7788
7793
  "input-group": !0,
7789
7794
  "f-state-disabled": e.disable,
7790
7795
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -7792,8 +7797,8 @@ function ia(e, t, n, o, i) {
7792
7797
  "f-state-focus": d.value,
7793
7798
  "input-group--has-clear": e.enableClear && u.value
7794
7799
  }));
7795
- function F(S, L = !0) {
7796
- n.value = S, L && (t.emit("change", S), t.emit("update:modelValue", S));
7800
+ function F(S, j = !0) {
7801
+ n.value = S, j && (t.emit("change", S), t.emit("update:modelValue", S));
7797
7802
  }
7798
7803
  function I(S) {
7799
7804
  f.value = !1, F(S, !0);
@@ -7804,7 +7809,7 @@ function ia(e, t, n, o, i) {
7804
7809
  n.value = S;
7805
7810
  }
7806
7811
  );
7807
- function O(S) {
7812
+ function V(S) {
7808
7813
  a.value = !1, t.emit("blur", S), S.stopPropagation();
7809
7814
  }
7810
7815
  function k(S) {
@@ -7815,21 +7820,21 @@ function ia(e, t, n, o, i) {
7815
7820
  }
7816
7821
  function g(S) {
7817
7822
  t.emit("input", S);
7818
- const L = S.target.value;
7819
- o.value = L, n.value !== L && F(L, e.updateOn === "change"), r.value && !f.value && i.popup();
7823
+ const j = S.target.value;
7824
+ o.value = j, n.value !== j && F(j, e.updateOn === "change"), r.value && !f.value && i.popup();
7820
7825
  }
7821
- function b(S) {
7826
+ function y(S) {
7822
7827
  S.target.tagName !== "INPUT" && S.preventDefault(), S.stopPropagation();
7823
7828
  }
7824
- function y(S) {
7829
+ function b(S) {
7825
7830
  t.emit("keydown", S);
7826
7831
  }
7827
7832
  function w(S) {
7828
7833
  S.key === "Enter" && (r.value || l.value) && i.hidePopup(), t.emit("keyup", S);
7829
7834
  }
7830
- function E(S) {
7831
- const L = S.target.value;
7832
- S.stopPropagation(), F(L);
7835
+ function B(S) {
7836
+ const j = S.target.value;
7837
+ S.stopPropagation(), F(j);
7833
7838
  }
7834
7839
  return {
7835
7840
  hasFocusedTextBox: d,
@@ -7841,19 +7846,19 @@ function ia(e, t, n, o, i) {
7841
7846
  hasClearClass: u,
7842
7847
  changeTextBoxValue: F,
7843
7848
  commitValue: I,
7844
- onBlurTextBox: O,
7849
+ onBlurTextBox: V,
7845
7850
  onClickTextBox: k,
7846
7851
  onFocusTextBox: T,
7847
7852
  onInput: g,
7848
- onKeyDownTextBox: y,
7853
+ onKeyDownTextBox: b,
7849
7854
  onKeyUpTextBox: w,
7850
- onMouseDownTextBox: b,
7851
- onTextBoxValueChange: E
7855
+ onMouseDownTextBox: y,
7856
+ onTextBoxValueChange: B
7852
7857
  };
7853
7858
  }
7854
7859
  const Ye = "FarrisVue_PopoverInstancesKey";
7855
7860
  function ra(e, t, n, o) {
7856
- const i = C(), r = C(!1), { judgeCanOpen: l } = En(e, o);
7861
+ const i = C(), r = C(!1), { judgeCanOpen: l } = Bn(e, o);
7857
7862
  le(() => i.value, (a, d) => {
7858
7863
  window[Ye] = window[Ye] || /* @__PURE__ */ new WeakMap(), a ? window[Ye].set(n.value, a) : window[Ye].delete(n.value);
7859
7864
  });
@@ -7910,23 +7915,23 @@ function la(e, t, n) {
7910
7915
  onTextBoxValueChange: v
7911
7916
  } = n, h = C(e.id), {
7912
7917
  uuid: F
7913
- } = Ft(), I = B(() => ({
7918
+ } = St(), I = E(() => ({
7914
7919
  "border-top-right-radius": "6px",
7915
7920
  "border-bottom-right-radius": "6px"
7916
7921
  }));
7917
- ze(() => {
7918
- var b, y;
7919
- e.selectOnCreated && ((b = o.value) == null || b.select()), e.focusOnCreated && ((y = o.value) == null || y.focus({
7922
+ De(() => {
7923
+ var y, b;
7924
+ e.selectOnCreated && ((y = o.value) == null || y.select()), e.focusOnCreated && ((b = o.value) == null || b.focus({
7920
7925
  preventScroll: !0
7921
7926
  })), h.value || (h.value = "button-edit_" + F(8)), h.value = h.value + "-textbox";
7922
7927
  });
7923
- const O = C(!1), k = (b) => {
7924
- b.preventDefault(), O.value = !0;
7925
- }, T = (b) => {
7926
- b.preventDefault(), O.value = !1, c(b);
7928
+ const V = C(!1), k = (y) => {
7929
+ y.preventDefault(), V.value = !0;
7930
+ }, T = (y) => {
7931
+ y.preventDefault(), V.value = !1, c(y);
7927
7932
  };
7928
- function g(b) {
7929
- O.value || c(b);
7933
+ function g(y) {
7934
+ V.value || c(y);
7930
7935
  }
7931
7936
  return () => x("input", {
7932
7937
  id: e.id ? e.id + "-textbox" : void 0,
@@ -7957,13 +7962,13 @@ function la(e, t, n) {
7957
7962
  }, null);
7958
7963
  }
7959
7964
  function aa(e, t, n) {
7960
- const o = C(e.separator), i = B(() => e.readonly || e.disable), {
7965
+ const o = C(e.separator), i = E(() => e.readonly || e.disable), {
7961
7966
  changeTextBoxValue: r,
7962
7967
  onFocusTextBox: l,
7963
7968
  onBlurTextBox: f,
7964
7969
  onClickTextBox: s,
7965
7970
  textBoxPlaceholder: u
7966
- } = n, m = B(() => t.value ? t.value.split(o.value).map((d) => ({
7971
+ } = n, m = E(() => t.value ? t.value.split(o.value).map((d) => ({
7967
7972
  name: d,
7968
7973
  selectable: !0
7969
7974
  })) : []);
@@ -8065,7 +8070,7 @@ function ua(e, t, n) {
8065
8070
  }
8066
8071
  });
8067
8072
  }
8068
- const ca = /* @__PURE__ */ Fe({
8073
+ const ca = /* @__PURE__ */ Se({
8069
8074
  name: "FButtonEdit",
8070
8075
  props: Ql,
8071
8076
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue"],
@@ -8082,31 +8087,31 @@ const ca = /* @__PURE__ */ Fe({
8082
8087
  } = p, h = oa(e, t, i, a, c, p), {
8083
8088
  onMouseEnterTextBox: F,
8084
8089
  onMouseLeaveTextBox: I
8085
- } = h, O = B(() => {
8086
- const A = {
8090
+ } = h, V = C(!1), k = E(() => {
8091
+ const z = {
8087
8092
  "f-button-edit": !0,
8088
8093
  "f-cmp-inputgroup": !0,
8089
8094
  "f-button-edit-nowrap": !e.wrapText
8090
8095
  };
8091
- return o.value && o.value.split(" ").reduce((_, Z) => (_[Z] = !0, _), A), A;
8092
- }), k = B(() => ({
8096
+ return o.value && o.value.split(" ").reduce((Z, O) => (Z[O] = !0, Z), z), z;
8097
+ }), T = E(() => ({
8093
8098
  overflow: e.wrapText ? "hidden" : ""
8094
- })), T = B(() => ({
8099
+ })), g = E(() => ({
8095
8100
  paddingLeft: "3px",
8096
8101
  backgroundColor: "#fff"
8097
8102
  }));
8098
- function g() {
8103
+ function y() {
8099
8104
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
8100
8105
  return 0;
8101
- let A = 0;
8102
- const _ = Array.from(n.value.querySelectorAll(".farris-tag-item"));
8103
- return _ && _.length && (A = _.map((Z) => Z.offsetTop).filter((Z) => Z > 20).length), A;
8106
+ let z = 0;
8107
+ const Z = Array.from(n.value.querySelectorAll(".farris-tag-item"));
8108
+ return Z && Z.length && (z = Z.map((O) => O.offsetTop).filter((O) => O > 20).length), z;
8104
8109
  }
8105
- const b = C(g());
8110
+ const b = C(y());
8106
8111
  Gn(() => {
8107
- b.value = g();
8112
+ b.value = y();
8108
8113
  });
8109
- function y() {
8114
+ function w() {
8110
8115
  return e.multiSelect && e.inputType === "tag" ? () => x(Ve, null, [aa(e, i, p)(), !!b.value && x("div", {
8111
8116
  class: "d-flex flex-row mr-2 more-tags",
8112
8117
  "more-tags": !0
@@ -8114,14 +8119,14 @@ const ca = /* @__PURE__ */ Fe({
8114
8119
  class: "multi--more-text"
8115
8120
  }, [Te("+"), b.value])])]) : la(e, i, p);
8116
8121
  }
8117
- let w = y();
8122
+ let B = w();
8118
8123
  le([() => e.multiSelect, () => e.inputType], () => {
8119
- w = y();
8124
+ B = w();
8120
8125
  });
8121
8126
  const {
8122
- renderButtonGroup: E,
8123
- buttonHandleElement: S
8124
- } = sa(e, t, m, h), L = ua(e, t, r), H = C(l.value), R = {
8127
+ renderButtonGroup: S,
8128
+ buttonHandleElement: j
8129
+ } = sa(e, t, m, h), H = ua(e, t, r), R = C(l.value), W = {
8125
8130
  displayText: c,
8126
8131
  commitValue: d,
8127
8132
  elementRef: n,
@@ -8131,60 +8136,64 @@ const ca = /* @__PURE__ */ Fe({
8131
8136
  shouldPopupContent: l,
8132
8137
  togglePopup: u,
8133
8138
  openDialog: () => {
8134
- S.value && e.buttonBehavior === "Modal" && S.value.click();
8139
+ j.value && e.buttonBehavior === "Modal" && j.value.click();
8135
8140
  },
8136
8141
  getModal: () => {
8137
- var A;
8138
- return e.buttonBehavior === "Modal" ? (A = m.modalRef.value) == null ? void 0 : A.value : null;
8142
+ var z;
8143
+ return e.buttonBehavior === "Modal" ? (z = m.modalRef.value) == null ? void 0 : z.value : null;
8139
8144
  },
8140
8145
  getTextbox: () => {
8141
- var A;
8142
- return (A = n.value) == null ? void 0 : A.querySelector("input");
8146
+ var z;
8147
+ return (z = n.value) == null ? void 0 : z.querySelector("input");
8143
8148
  },
8144
8149
  forceClosePopup: () => {
8145
- H.value = !1;
8150
+ R.value = !1, V.value = !0, l.value = !1;
8146
8151
  }
8147
8152
  };
8148
- return ze(() => {
8149
- n.value.componentInstance = R, window.onresize = () => {
8153
+ return De(() => {
8154
+ n.value.componentInstance = W, window.onresize = () => {
8150
8155
  document.body.click();
8151
8156
  };
8152
8157
  }), Xn(() => {
8153
- var A;
8154
- window.onresize = null, (A = window[Ye]) == null || A.delete(n.value);
8155
- }), t.expose(R), le(() => l.value, async (A, _) => {
8156
- if (!A && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
8158
+ var z;
8159
+ window.onresize = null, (z = window[Ye]) == null || z.delete(n.value);
8160
+ }), t.expose(W), le(() => l.value, async (z, Z) => {
8161
+ if (V.value) {
8162
+ R.value = z, V.value = !1;
8163
+ return;
8164
+ }
8165
+ if (!z && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
8157
8166
  try {
8158
- const Z = await e.beforeClosePopup();
8159
- H.value = !Z, l.value = !Z && !e.readonly;
8160
- } catch (Z) {
8161
- console.error("Error in beforeClosePopup:", Z), H.value = _, l.value = _;
8167
+ const O = await e.beforeClosePopup();
8168
+ R.value = !O, (!O || e.readonly) && (l.value = !0);
8169
+ } catch (O) {
8170
+ console.error("Error in beforeClosePopup:", O), R.value = Z, l.value = Z;
8162
8171
  }
8163
8172
  return;
8164
8173
  }
8165
- H.value = A;
8174
+ R.value = z;
8166
8175
  }), () => {
8167
- var A, _;
8176
+ var z, Z;
8168
8177
  return x(Ve, null, [x("div", It(t.attrs, {
8169
8178
  ref: n,
8170
- class: O.value,
8179
+ class: k.value,
8171
8180
  id: e.id ? e.id : void 0,
8172
- style: k.value
8181
+ style: T.value
8173
8182
  }), [x("div", {
8174
8183
  id: e.id ? `${e.id}-input-group` : void 0,
8175
8184
  class: v.value,
8176
- style: T.value,
8185
+ style: g.value,
8177
8186
  onMouseenter: F,
8178
8187
  onMouseleave: I
8179
- }, [(_ = (A = t.slots).precontent) == null ? void 0 : _.call(A), w(), E()])]), H.value && L()]);
8188
+ }, [(Z = (z = t.slots).precontent) == null ? void 0 : Z.call(z), B(), S()])]), R.value && H()]);
8180
8189
  };
8181
8190
  }
8182
- }), da = /* @__PURE__ */ Fe({
8191
+ }), da = /* @__PURE__ */ Se({
8183
8192
  name: "FQuerySolutionConfig",
8184
8193
  props: Mn,
8185
8194
  emits: ["update:modelValue"],
8186
8195
  setup(e, t) {
8187
- const n = C(null), o = B(() => "共" + e.modelValue.length + "项"), i = /* @__PURE__ */ new Map(), r = Xl(e, t, n, i), {
8196
+ const n = C(null), o = E(() => "共" + e.modelValue.length + "项"), i = /* @__PURE__ */ new Map(), r = Xl(e, t, n, i), {
8188
8197
  renderPanel: l
8189
8198
  } = r, {
8190
8199
  renderTransfer: f,
@@ -8203,6 +8212,7 @@ const ca = /* @__PURE__ */ Fe({
8203
8212
  width: 900,
8204
8213
  height: 600,
8205
8214
  draggable: !0,
8215
+ showMaxButton: !0,
8206
8216
  title: "筛选方案配置",
8207
8217
  acceptCallback: c,
8208
8218
  rejectCallback: p