@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.1

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 (193) hide show
  1. package/components/avatar/index.esm.js +138 -1526
  2. package/components/avatar/index.umd.cjs +1 -6
  3. package/components/button/index.css +1 -1
  4. package/components/button/index.esm.js +15951 -15410
  5. package/components/button/index.umd.cjs +27 -27
  6. package/components/calendar/index.esm.js +269 -255
  7. package/components/calendar/index.umd.cjs +3 -3
  8. package/components/collection-property-editor/index.esm.js +243 -229
  9. package/components/collection-property-editor/index.umd.cjs +2 -2
  10. package/components/combo-list/index.esm.js +32 -32
  11. package/components/combo-list/index.umd.cjs +1 -1
  12. package/components/comment/index.esm.js +473 -456
  13. package/components/comment/index.umd.cjs +6 -6
  14. package/components/component/index.css +1 -1
  15. package/components/component/index.esm.js +2503 -2239
  16. package/components/component/index.umd.cjs +2 -2
  17. package/components/condition/index.esm.js +1064 -954
  18. package/components/condition/index.umd.cjs +2 -2
  19. package/components/data-grid/index.esm.js +1 -1
  20. package/components/data-grid/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.css +1 -1
  22. package/components/designer-canvas/index.esm.js +3894 -3058
  23. package/components/designer-canvas/index.umd.cjs +1 -1
  24. package/components/drawer/index.esm.js +91 -77
  25. package/components/drawer/index.umd.cjs +2 -2
  26. package/components/dynamic-form/index.esm.js +220 -215
  27. package/components/dynamic-form/index.umd.cjs +1 -1
  28. package/components/dynamic-resolver/index.esm.js +145 -131
  29. package/components/dynamic-resolver/index.umd.cjs +2 -2
  30. package/components/dynamic-view/index.esm.js +336 -329
  31. package/components/dynamic-view/index.umd.cjs +1 -1
  32. package/components/events-editor/index.esm.js +1611 -1536
  33. package/components/events-editor/index.umd.cjs +3 -3
  34. package/components/expression-editor/index.esm.js +219 -219
  35. package/components/expression-editor/index.umd.cjs +2 -2
  36. package/components/external-container/index.esm.js +179 -178
  37. package/components/external-container/index.umd.cjs +1 -1
  38. package/components/fieldset/index.esm.js +285 -221
  39. package/components/fieldset/index.umd.cjs +1 -1
  40. package/components/filter-bar/index.css +1 -0
  41. package/components/filter-bar/index.esm.js +1512 -1290
  42. package/components/filter-bar/index.umd.cjs +7 -7
  43. package/components/filter-condition-editor/index.esm.js +851 -831
  44. package/components/filter-condition-editor/index.umd.cjs +3 -3
  45. package/components/flow-canvas/index.esm.js +520 -501
  46. package/components/flow-canvas/index.umd.cjs +8 -8
  47. package/components/image/index.esm.js +101 -79
  48. package/components/image/index.umd.cjs +3 -3
  49. package/components/language-textbox/index.esm.js +330 -251
  50. package/components/language-textbox/index.umd.cjs +2 -2
  51. package/components/list-nav/index.esm.js +399 -313
  52. package/components/list-nav/index.umd.cjs +1 -1
  53. package/components/locale/index.esm.js +3 -0
  54. package/components/locale/index.umd.cjs +1 -1
  55. package/components/lookup/index.esm.js +997 -976
  56. package/components/lookup/index.umd.cjs +2 -2
  57. package/components/mapping-editor/index.esm.js +725 -705
  58. package/components/mapping-editor/index.umd.cjs +1 -1
  59. package/components/message-box/index.esm.js +542 -522
  60. package/components/message-box/index.umd.cjs +1 -1
  61. package/components/nav/index.esm.js +95 -308
  62. package/components/nav/index.umd.cjs +1 -1
  63. package/components/number-range/index.esm.js +115 -107
  64. package/components/number-range/index.umd.cjs +2 -2
  65. package/components/order/index.esm.js +56 -54
  66. package/components/order/index.umd.cjs +1 -1
  67. package/components/page-footer/index.esm.js +135 -123
  68. package/components/page-footer/index.umd.cjs +1 -1
  69. package/components/page-header/index.esm.js +266 -222
  70. package/components/page-header/index.umd.cjs +1 -1
  71. package/components/property-panel/index.esm.js +402 -375
  72. package/components/property-panel/index.umd.cjs +4 -4
  73. package/components/query-solution/index.esm.js +3171 -3061
  74. package/components/query-solution/index.umd.cjs +7 -7
  75. package/components/response-toolbar/index.esm.js +1 -1
  76. package/components/response-toolbar/index.umd.cjs +1 -1
  77. package/components/schema-selector/index.esm.js +1620 -1608
  78. package/components/schema-selector/index.umd.cjs +5 -5
  79. package/components/scroll-navbar/index.esm.js +150 -136
  80. package/components/scroll-navbar/index.umd.cjs +2 -2
  81. package/components/section/index.esm.js +323 -311
  82. package/components/section/index.umd.cjs +2 -2
  83. package/components/sort-condition-editor/index.esm.js +850 -830
  84. package/components/sort-condition-editor/index.umd.cjs +3 -3
  85. package/components/step/index.esm.js +991 -224
  86. package/components/step/index.umd.cjs +1 -1
  87. package/components/tabs/index.esm.js +356 -334
  88. package/components/tabs/index.umd.cjs +1 -1
  89. package/components/wizard/index.esm.js +159 -162
  90. package/components/wizard/index.umd.cjs +1 -1
  91. package/designer/avatar/index.esm.js +1721 -0
  92. package/designer/avatar/index.umd.cjs +6 -0
  93. package/designer/button-edit/index.esm.js +2 -1
  94. package/designer/button-edit/index.umd.cjs +1 -1
  95. package/designer/data-grid/index.esm.js +693 -659
  96. package/designer/data-grid/index.umd.cjs +6 -6
  97. package/designer/data-view/index.esm.js +90 -78
  98. package/designer/data-view/index.umd.cjs +2 -2
  99. package/designer/date-picker/index.esm.js +203 -203
  100. package/designer/date-picker/index.umd.cjs +1 -1
  101. package/designer/drawer/index.esm.js +181 -167
  102. package/designer/drawer/index.umd.cjs +2 -2
  103. package/designer/dynamic-form/index.esm.js +228 -206
  104. package/designer/dynamic-form/index.umd.cjs +2 -2
  105. package/designer/farris-designer.all.esm.js +10014 -9692
  106. package/designer/farris-designer.all.umd.cjs +18 -18
  107. package/designer/index.css +1 -1
  108. package/designer/input-group/index.esm.js +15 -15
  109. package/designer/input-group/index.umd.cjs +1 -1
  110. package/designer/nav/index.esm.js +1719 -0
  111. package/designer/nav/index.umd.cjs +6 -0
  112. package/designer/number-spinner/index.esm.js +8 -7
  113. package/designer/number-spinner/index.umd.cjs +1 -1
  114. package/designer/radio-group/index.esm.js +133 -125
  115. package/designer/radio-group/index.umd.cjs +2 -2
  116. package/designer/response-toolbar/index.esm.js +864 -863
  117. package/designer/response-toolbar/index.umd.cjs +1 -1
  118. package/designer/section/index.esm.js +245 -183
  119. package/designer/section/index.umd.cjs +1 -1
  120. package/designer/tabs/index.css +1 -1
  121. package/designer/tabs/index.esm.js +3667 -2810
  122. package/designer/tabs/index.umd.cjs +2 -2
  123. package/designer/time-picker/index.esm.js +26 -17
  124. package/designer/time-picker/index.umd.cjs +2 -2
  125. package/designer/tree-grid/index.esm.js +69 -37
  126. package/designer/tree-grid/index.umd.cjs +1 -1
  127. package/designer/wizard/index.esm.js +110 -110
  128. package/designer/wizard/index.umd.cjs +3 -3
  129. package/farris.all.esm.js +39993 -39089
  130. package/farris.all.umd.cjs +36 -36
  131. package/index.css +1 -1
  132. package/locales/filter-bar/ui/en.json +1 -0
  133. package/locales/filter-bar/ui/zh-CHS.json +1 -0
  134. package/locales/filter-bar/ui/zh-CHT.json +1 -0
  135. package/locales/ui/en.json +1 -0
  136. package/locales/ui/zh-CHS.json +1 -0
  137. package/locales/ui/zh-CHT.json +1 -0
  138. package/package.json +1 -1
  139. package/types/avatar/designer.d.ts +28 -0
  140. package/types/avatar/index.d.ts +0 -15
  141. package/types/avatar/src/composition/types.d.ts +3 -0
  142. package/types/avatar/src/composition/use-file.d.ts +19 -0
  143. package/types/avatar/src/composition/use-image.d.ts +1 -1
  144. package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
  145. package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
  146. package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
  147. package/types/components.d.ts +3 -0
  148. package/types/condition/index.d.ts +18 -6
  149. package/types/condition/src/condition-fields.component.d.ts +9 -3
  150. package/types/condition/src/condition-fields.design.component.d.ts +9 -3
  151. package/types/condition/src/condition-list.component.d.ts +9 -3
  152. package/types/condition/src/condition.props.d.ts +11 -0
  153. package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
  154. package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
  155. package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
  156. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
  157. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
  158. package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
  159. package/types/dynamic-view/src/components/maps.d.ts +130 -4
  160. package/types/filter-bar/src/composition/types.d.ts +2 -0
  161. package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
  162. package/types/filter-bar/src/locale/locale.d.ts +2 -1
  163. package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
  164. package/types/language-textbox/index.d.ts +65 -2
  165. package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
  166. package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
  167. package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
  168. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  169. package/types/lookup/src/composition/use-compat.d.ts +28 -0
  170. package/types/lookup/src/composition/use-state.d.ts +1 -0
  171. package/types/message-box/src/message-box.service.d.ts +2 -1
  172. package/types/nav/designer.d.ts +28 -0
  173. package/types/nav/index.d.ts +24 -20
  174. package/types/nav/src/designer/nav.design.props.d.ts +29 -0
  175. package/types/nav/src/designer/use-design-rules.d.ts +3 -0
  176. package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
  177. package/types/nav/src/schema/schema-mapper.d.ts +4 -0
  178. package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
  179. package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
  180. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  182. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
  183. package/types/section/src/designer/section.design.props.d.ts +4 -0
  184. package/types/section/src/property-config/section.property-config.d.ts +39 -0
  185. package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
  186. package/types/step/src/designer/use-designer-rules.d.ts +3 -0
  187. package/types/step/src/designer/use-step-creator.d.ts +6 -0
  188. package/types/step/src/property-config/step.property-config.d.ts +15 -0
  189. package/types/step/src/schema/schema-resolver.d.ts +2 -1
  190. package/types/tabs/src/composition/types.d.ts +4 -0
  191. package/types/tabs/src/tabs.props.d.ts +6 -0
  192. package/types/tooltip/index.d.ts +3 -3
  193. package/types/tooltip/src/tooltip.component.d.ts +2 -2
@@ -1,10 +1,10 @@
1
1
  var qn = Object.defineProperty;
2
2
  var Dn = (t, e, n) => e in t ? qn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var ie = (t, e, n) => Dn(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { excludeProperties as Yn, useNumberFormat as Ut, useGuid as kt, resolveField as Ce, useCommonUtils as hn, useDateFormat as vn, setFieldValue as Gt, getMaxZIndex as Jt, isMobilePhone as Xn, FormSchemaEntityField$Type as ut, FormSchemaEntityFieldTypeName as tt, getCustomStyle as Qt, getCustomClass as jt, FormSchemaEntityFieldType$Type as It, useThirdComponent as Zn, withInstall as Jn } from "../../components/common/index.esm.js";
4
+ import { excludeProperties as Yn, useNumberFormat as Ut, useGuid as kt, resolveField as Ce, useCommonUtils as hn, useDateFormat as vn, setFieldValue as jt, getMaxZIndex as Jt, isMobilePhone as Xn, FormSchemaEntityField$Type as ut, FormSchemaEntityFieldTypeName as tt, getCustomStyle as Qt, getCustomClass as Gt, FormSchemaEntityFieldType$Type as It, useThirdComponent as Zn, withInstall as Jn } from "../../components/common/index.esm.js";
5
5
  import Qn, { dataGridProps as yn } from "../../components/data-grid/index.esm.js";
6
6
  import { resolveAppearance as bn, createPropsResolver as Mt, getPropsResolverGenerator as Cn, createCollectionBindingResolver as Kn, createDataGridSelectionItemResolver as ei, createDataViewUpdateColumnsResolver as ti } from "../../components/dynamic-resolver/index.esm.js";
7
- import { computed as $, watch as ve, ref as F, createVNode as O, createTextVNode as je, reactive as ni, defineComponent as it, inject as We, onMounted as Ke, provide as ii, nextTick as at, Teleport as wn, createApp as Sn, onUnmounted as qt, Fragment as Ze, onBeforeMount as oi, watchEffect as li, Transition as ri, shallowRef as ai, render as Lt, h as si, cloneVNode as di, mergeProps as Mn, withDirectives as Tn, vShow as ui, onUpdated as ci, onBeforeUnmount as fi, withModifiers as mi, vModelText as pi } from "vue";
7
+ import { computed as H, watch as ve, ref as F, createVNode as O, createTextVNode as Ge, reactive as ni, defineComponent as it, inject as We, onMounted as Ke, provide as ii, nextTick as at, Teleport as wn, createApp as Sn, onUnmounted as qt, Fragment as Ze, onBeforeMount as oi, watchEffect as li, Transition as ri, shallowRef as ai, render as $t, h as si, cloneVNode as di, mergeProps as Mn, withDirectives as Tn, vShow as ui, onUpdated as ci, onBeforeUnmount as fi, withModifiers as mi, vModelText as pi } from "vue";
8
8
  import { useResizeObserver as gi } from "@vueuse/core";
9
9
  import { FCheckbox as Dt } from "../../components/checkbox/index.esm.js";
10
10
  import hi from "../../components/popover/index.esm.js";
@@ -15,15 +15,15 @@ import "../../components/transfer/index.esm.js";
15
15
  import "../../components/tabs/index.esm.js";
16
16
  import "../../components/filter-bar/index.esm.js";
17
17
  import "../../components/pagination/index.esm.js";
18
- import { useScreen as bi, useFilter as Ci, useIdentify as wi, useHierarchy as Si, useGroupData as Mi, useDataView as Ti, useSelection as Fi, usePagination as xi, useRow as _i, useEdit as ki, useVisualDataBound as Ei, useVisualDataCell as Ii, useVisualDataRow as Pi, useVisualGroupRow as Vi, useVisualSummaryRow as Bi, useVisualData as Oi, useSidebar as Ri, useColumn as Ni, useVirtualScroll as Ai, getPagination as Hi } from "../../components/data-view/index.esm.js";
18
+ import { useScreen as bi, useFilter as Ci, useIdentify as wi, useHierarchy as Si, useGroupData as Mi, useDataView as Ti, useSelection as Fi, usePagination as xi, useRow as _i, useEdit as ki, useVisualDataBound as Ei, useVisualDataCell as Ii, useVisualDataRow as Pi, useVisualGroupRow as Vi, useVisualSummaryRow as Bi, useVisualData as Oi, useSidebar as Ri, useColumn as Ni, useVirtualScroll as Ai, getPagination as Li } from "../../components/data-view/index.esm.js";
19
19
  import { FButton as nn } from "../../components/button/index.esm.js";
20
- import $i from "../../components/button-group/index.esm.js";
20
+ import Hi from "../../components/button-group/index.esm.js";
21
21
  import "../../components/list-view/index.esm.js";
22
22
  import "../../components/date-picker/index.esm.js";
23
23
  import "../../components/number-spinner/index.esm.js";
24
24
  import "../../components/search-box/index.esm.js";
25
25
  import { FNotifyService as Yt } from "../../components/notify/index.esm.js";
26
- import { useCondition as Li, CompareType as $e, ValueType as ot, TextValue as zt, RadioGroupValue as zi, NumberSpinnerValue as Wi, NumberRangeValue as Gi, MonthRangeValue as ji, MonthPickerValue as Ui, DateRangeValue as on, DateTimePickerValue as qi, DatePickerValue as Di, ComboLookupValue as Yi, ComboListValue as Xi, CheckBoxValue as Zi } from "../../components/condition/index.esm.js";
26
+ import { useCondition as $i, CompareType as He, ValueType as ot, TextValue as zt, RadioGroupValue as zi, NumberSpinnerValue as Wi, NumberRangeValue as ji, MonthRangeValue as Gi, MonthPickerValue as Ui, DateRangeValue as on, DateTimePickerValue as qi, DatePickerValue as Di, ComboLookupValue as Yi, ComboListValue as Xi, CheckBoxValue as Zi } from "../../components/condition/index.esm.js";
27
27
  import { FDynamicFormInput as Ji } from "../../components/dynamic-form/index.esm.js";
28
28
  import { FDesignerItem as Qi, useDesignerComponent as Fn, canvasChanged as bt, DgControl as D, refreshCanvas as Ki } from "../../components/designer-canvas/index.esm.js";
29
29
  import { useCommandOption as eo, useColumnOption as to, useRowOption as no, useSummary as io, useGroup as oo, useSort as lo, useFilter as ro, useAppearance as ao, useSelection as so, useRowNumber as uo, usePagination as co, useDataGridEvent as fo } from "../data-view/index.esm.js";
@@ -32,7 +32,7 @@ import { FieldSelectorRepositoryToken as _t } from "../../components/field-selec
32
32
  import po from "../../components/tags/index.esm.js";
33
33
  import go from "../../components/tree-view/index.esm.js";
34
34
  import "../../components/accordion/index.esm.js";
35
- import "../../components/avatar/index.esm.js";
35
+ import "../avatar/index.esm.js";
36
36
  import "../button-edit/index.esm.js";
37
37
  import "../../components/calendar/index.esm.js";
38
38
  import "../capsule/index.esm.js";
@@ -56,7 +56,7 @@ import "../../components/list-nav/index.esm.js";
56
56
  import "../list-view/index.esm.js";
57
57
  import "../../components/lookup/index.esm.js";
58
58
  import "../../components/mapping-editor/index.esm.js";
59
- import "../../components/nav/index.esm.js";
59
+ import "../nav/index.esm.js";
60
60
  import "../../components/number-range/index.esm.js";
61
61
  import "../number-spinner/index.esm.js";
62
62
  import "../../components/order/index.esm.js";
@@ -250,21 +250,21 @@ const ho = {
250
250
  componentId: { type: String, default: "" }
251
251
  }), "columnOption", "commandOption");
252
252
  function yo(t, e, n, i, o) {
253
- const { getGridHeaderCells: l } = o, r = 120, s = 50, d = $(() => {
253
+ const { getGridHeaderCells: l } = o, r = 120, s = 50, d = H(() => {
254
254
  var g;
255
255
  return ((g = t.rowNumber) == null ? void 0 : g.enable) || !1;
256
- }), m = $(() => {
256
+ }), m = H(() => {
257
257
  var g, C;
258
258
  return ((g = t.selection) == null ? void 0 : g.multiSelect) || ((C = t.selection) == null ? void 0 : C.showCheckbox) || !1;
259
- }), u = $(
259
+ }), u = H(
260
260
  () => {
261
261
  var g;
262
262
  return 0 + (d.value ? ((g = t.rowNumber) == null ? void 0 : g.width) || 32 : 0) + (m.value ? s : 0);
263
263
  }
264
- ), a = $(() => {
264
+ ), a = H(() => {
265
265
  var g;
266
266
  return (g = t.columnOption) == null ? void 0 : g.fitColumns;
267
- }), c = $(() => {
267
+ }), c = H(() => {
268
268
  var g;
269
269
  return a.value && ((g = t.columnOption) == null ? void 0 : g.fitMode) || "none";
270
270
  });
@@ -337,16 +337,16 @@ function yo(t, e, n, i, o) {
337
337
  var k;
338
338
  let I = 0;
339
339
  const B = g.value.primaryColumns, P = g.value.rightColumns;
340
- g.value.rightColumns.forEach((j) => {
341
- j.actualWidth = f(j, g.value, C), I += j.actualWidth;
340
+ g.value.rightColumns.forEach((G) => {
341
+ G.actualWidth = f(G, g.value, C), I += G.actualWidth;
342
342
  });
343
343
  const R = w - I, E = b[c.value];
344
344
  if (E && E(g, R), g.value.primaryColumnsWidth + I <= w)
345
345
  return g.value.primaryColumns = [...B, ...P], g.value.primaryColumnsWidth += I, g.value.rightColumns = [], g.value.rightColumnsWidth = 0, !0;
346
346
  const _ = /* @__PURE__ */ new Map();
347
- return _.set("primary", []), _.set("right", []), g.value.primaryColumns.reduce((j, V) => {
348
- var L, Z;
349
- return V.fixed === "right" ? (L = j.get("right")) == null || L.push(V) : (Z = j.get("primary")) == null || Z.push(V), j;
347
+ return _.set("primary", []), _.set("right", []), g.value.primaryColumns.reduce((G, V) => {
348
+ var $, Z;
349
+ return V.fixed === "right" ? ($ = G.get("right")) == null || $.push(V) : (Z = G.get("primary")) == null || Z.push(V), G;
350
350
  }, _), (k = _.get("right")) != null && k.length && (g.value.primaryColumns = [..._.get("primary") || []], g.value.rightColumns = [..._.get("right") || []]), g.value.primaryColumnsWidth = 0, g.value.rightColumnsWidth = 0, !1;
351
351
  }
352
352
  function S() {
@@ -416,7 +416,7 @@ function Co(t) {
416
416
  summaryColumns: []
417
417
  };
418
418
  }
419
- const l = F(t.summary), r = $(() => {
419
+ const l = F(t.summary), r = H(() => {
420
420
  const v = l.value;
421
421
  return (v == null ? void 0 : v.groupFields) || [];
422
422
  });
@@ -435,7 +435,7 @@ function Co(t) {
435
435
  return r.value && r.value.reduce((g, C) => (g.set(C, !0), g), S), v.reduce((g, C) => (C.filter = C.filter || bo, C.fixed === "left" ? (i.value.leftColumns.push(C), i.value.leftColumnsMap.set(C.field, C), i.value.leftColumnsWidth += C.actualWidth) : C.fixed === "right" ? (i.value.rightColumns.push(C), i.value.rightColumnsMap.set(C.field, C), i.value.rightColumnsWidth += C.actualWidth) : (i.value.primaryColumns.push(C), i.value.primaryColumnsMap.set(C.field, C), i.value.primaryColumnsWidth += C.actualWidth), S.has(C.field) && i.value.summaryColumns.push(C), g), i), s(), i;
436
436
  }
437
437
  d(t.columns);
438
- const m = $(() => i.value.leftColumns.length > 0), u = $(() => i.value.rightColumns.length > 0);
438
+ const m = H(() => i.value.leftColumns.length > 0), u = H(() => i.value.rightColumns.length > 0);
439
439
  function a(v, S) {
440
440
  return S.sortable && S.sort && S.sort !== "none" && v.push(S), v;
441
441
  }
@@ -586,7 +586,7 @@ function xo(t) {
586
586
  "margin-bottom": "3px"
587
587
  }
588
588
  }, {
589
- default: () => [je(" "), i(a.text), je(" ")]
589
+ default: () => [Ge(" "), i(a.text), Ge(" ")]
590
590
  }) : e(a, m) && O(nn, {
591
591
  type: a.type,
592
592
  size: a.size || "small",
@@ -595,7 +595,7 @@ function xo(t) {
595
595
  "margin-bottom": "3px"
596
596
  }
597
597
  }, {
598
- default: () => [je(" "), i(a.text), je(" ")]
598
+ default: () => [Ge(" "), i(a.text), Ge(" ")]
599
599
  }));
600
600
  }
601
601
  function l(d, m, u, a) {
@@ -615,7 +615,7 @@ function xo(t) {
615
615
  const {
616
616
  column: u
617
617
  } = d;
618
- return ((c = u == null ? void 0 : u.commands) == null ? void 0 : c.find((h) => h.command)) ? o(d, m) : O($i, {
618
+ return ((c = u == null ? void 0 : u.commands) == null ? void 0 : c.find((h) => h.command)) ? o(d, m) : O(Hi, {
619
619
  data: r(u.commands || []),
620
620
  count: typeof ((p = t.commandOption) == null ? void 0 : p.count) != "number" ? 2 : (f = t.commandOption) == null ? void 0 : f.count,
621
621
  size: "small",
@@ -630,7 +630,7 @@ function xo(t) {
630
630
  };
631
631
  }
632
632
  function _o(t) {
633
- const e = F(t.minHeight), n = F(t.minWidth), i = F(t.height), o = F(t.width), l = $(() => i.value <= 0 ? 0 : Math.max(i.value, e.value)), r = $(() => o.value <= 0 ? 0 : Math.max(o.value, n.value));
633
+ const e = F(t.minHeight), n = F(t.minWidth), i = F(t.height), o = F(t.width), l = H(() => i.value <= 0 ? 0 : Math.max(i.value, e.value)), r = H(() => o.value <= 0 ? 0 : Math.max(o.value, n.value));
634
634
  return ve([
635
635
  () => t.height,
636
636
  () => t.width,
@@ -638,7 +638,7 @@ function _o(t) {
638
638
  () => t.minWidth
639
639
  ], ([d, m, u, a]) => {
640
640
  e.value = Number(u), n.value = Number(a), i.value = Number(d), o.value = Number(m);
641
- }), { containerStyleObject: $(() => ({
641
+ }), { containerStyleObject: H(() => ({
642
642
  height: l.value > 0 ? `${l.value}px` : t.fit ? "100%" : "",
643
643
  width: r.value > 0 ? `${r.value}px` : t.fit ? "100%" : "",
644
644
  flex: "1 1 0"
@@ -646,7 +646,7 @@ function _o(t) {
646
646
  }
647
647
  function ko(t) {
648
648
  var l, r;
649
- const e = F(((l = t.commandOption) == null ? void 0 : l.enable) || !1), n = F(((r = t.commandOption) == null ? void 0 : r.commands) || []), i = $(() => Ae.getLocaleValue("datagrid.commandColumn.title"));
649
+ const e = F(((l = t.commandOption) == null ? void 0 : l.enable) || !1), n = F(((r = t.commandOption) == null ? void 0 : r.commands) || []), i = H(() => Ae.getLocaleValue("datagrid.commandColumn.title"));
650
650
  function o(s) {
651
651
  var d;
652
652
  if (e.value && !(s.value.findIndex((u) => u.dataType === rn) > -1)) {
@@ -768,16 +768,16 @@ function Eo(t, e) {
768
768
  }
769
769
  function Io(t, e) {
770
770
  var v;
771
- const { sum: n, toFixed: i } = Ut(), { uuid: o } = kt(), { idField: l } = e, r = F(t.summary), s = F(t.group), d = F(((v = t.group) == null ? void 0 : v.groupFields) || []), m = $(() => {
771
+ const { sum: n, toFixed: i } = Ut(), { uuid: o } = kt(), { idField: l } = e, r = F(t.summary), s = F(t.group), d = F(((v = t.group) == null ? void 0 : v.groupFields) || []), m = H(() => {
772
772
  var S;
773
773
  return (S = t.group) == null ? void 0 : S.enable;
774
- }), u = $(() => {
774
+ }), u = H(() => {
775
775
  var S;
776
776
  return (S = t.group) == null ? void 0 : S.showGroupPanel;
777
- }), a = $(() => {
777
+ }), a = H(() => {
778
778
  const S = r.value;
779
779
  return (S == null ? void 0 : S.groupFields) || [];
780
- }), c = $(() => {
780
+ }), c = H(() => {
781
781
  const S = s.value;
782
782
  return S && S.showSummary;
783
783
  }), p = F(0), f = /* @__PURE__ */ new Map();
@@ -785,14 +785,14 @@ function Io(t, e) {
785
785
  function y(S, g, C, w, I) {
786
786
  const B = w[C];
787
787
  B && (g.reduce((P, R, E) => {
788
- var j;
788
+ var G;
789
789
  const _ = R[B];
790
790
  let k = P.get(_);
791
791
  if (!k) {
792
- const V = a.value.reduce((L, Z) => (L.set(Z, 0), L), /* @__PURE__ */ new Map());
792
+ const V = a.value.reduce(($, Z) => ($.set(Z, 0), $), /* @__PURE__ */ new Map());
793
793
  k = {
794
794
  field: B,
795
- title: ((j = I.get(B)) == null ? void 0 : j.title) || B,
795
+ title: ((G = I.get(B)) == null ? void 0 : G.title) || B,
796
796
  value: _,
797
797
  layer: C,
798
798
  details: [],
@@ -801,16 +801,16 @@ function Io(t, e) {
801
801
  }
802
802
  return a.value && a.value.forEach((V) => {
803
803
  if (k) {
804
- const L = k.groupSummaries.get(V) || 0;
804
+ const $ = k.groupSummaries.get(V) || 0;
805
805
  k.groupSummaries.set(
806
806
  V,
807
- n([L, Ce(R, V)])
807
+ n([$, Ce(R, V)])
808
808
  );
809
809
  }
810
810
  }), a.value && a.value.forEach((V) => {
811
811
  if (k) {
812
- const L = k.groupSummaries.get(V) || 0;
813
- k.groupSummaries.set(V, i(L, 2));
812
+ const $ = k.groupSummaries.get(V) || 0;
813
+ k.groupSummaries.set(V, i($, 2));
814
814
  }
815
815
  }), k.details.push(R), P;
816
816
  }, S), C < w.length - 1 && S.forEach((P, R) => {
@@ -989,7 +989,7 @@ function Po(t, e, n, i) {
989
989
  _(N, U), U.map((q) => q[r.value]).forEach((q) => k(q));
990
990
  }
991
991
  }
992
- function j(N) {
992
+ function G(N) {
993
993
  const A = N[r.value];
994
994
  k(A);
995
995
  }
@@ -1002,7 +1002,7 @@ function Po(t, e, n, i) {
1002
1002
  _(q, te);
1003
1003
  return N;
1004
1004
  }
1005
- function L(N, A) {
1005
+ function $(N, A) {
1006
1006
  V(N, "ToCollapse", A);
1007
1007
  }
1008
1008
  function Z(N, A) {
@@ -1056,7 +1056,7 @@ function Po(t, e, n, i) {
1056
1056
  }), U.value.splice(fe, 0, ...ge);
1057
1057
  }
1058
1058
  }
1059
- function H(N, A) {
1059
+ function L(N, A) {
1060
1060
  const U = N[r.value], q = u.get(U), te = Array.from(q.descendant.keys());
1061
1061
  te.unshift(U);
1062
1062
  const se = u.get(q.parentId);
@@ -1068,7 +1068,7 @@ function Po(t, e, n, i) {
1068
1068
  }
1069
1069
  return {
1070
1070
  checkVisibleInHierarchy: o,
1071
- collapseTo: L,
1071
+ collapseTo: $,
1072
1072
  expandTo: Z,
1073
1073
  generateHierarchyData: re,
1074
1074
  hasRealChildren: B,
@@ -1077,8 +1077,8 @@ function Po(t, e, n, i) {
1077
1077
  insertChildren: Te,
1078
1078
  isVisibleInTree: R,
1079
1079
  shouldStratifyData: l,
1080
- toggleChildrenVisibiltyByCollapseStatus: j,
1081
- trimmedOriginalData: H
1080
+ toggleChildrenVisibiltyByCollapseStatus: G,
1081
+ trimmedOriginalData: L
1082
1082
  };
1083
1083
  }
1084
1084
  function Vo(t, e, n, i, o) {
@@ -1095,21 +1095,21 @@ function Vo(t, e, n, i, o) {
1095
1095
  toggleChildrenVisibiltyByCollapseStatus: E,
1096
1096
  trimmedOriginalData: _,
1097
1097
  checkVisibleInHierarchy: k
1098
- } = x, { idField: j, reviseIdentifyField: V } = o, L = F(t.newDataItem), Z = F(t.data || []), Q = F(t.data), { flatTreeData: re, isNestedTree: ke } = _n(t);
1098
+ } = x, { idField: G, reviseIdentifyField: V } = o, $ = F(t.newDataItem), Z = F(t.data || []), Q = F(t.data), { flatTreeData: re, isNestedTree: ke } = _n(t);
1099
1099
  if (t.hierarchy && ke(t.data)) {
1100
1100
  const W = re(t.data);
1101
1101
  T.value = W, Z.value = W, Q.value = W;
1102
1102
  }
1103
- const we = F(t.summary), Te = $(() => {
1103
+ const we = F(t.summary), Te = H(() => {
1104
1104
  const W = we.value;
1105
1105
  return (W == null ? void 0 : W.groupFields) || [];
1106
1106
  });
1107
- let H = /* @__PURE__ */ new Map();
1107
+ let L = /* @__PURE__ */ new Map();
1108
1108
  const N = F(Z.value.length), A = F(t.pagination);
1109
1109
  function U() {
1110
1110
  return A.value && A.value.enable && A.value.size > 0 ? A.value.size : Z.value.length;
1111
1111
  }
1112
- const q = F(1), te = $(() => A.value && A.value.enable && A.value.mode !== "server"), se = $(() => A.value && A.value.enable && A.value.mode === "server"), de = new Yt();
1112
+ const q = F(1), te = H(() => A.value && A.value.enable && A.value.mode !== "server"), se = H(() => A.value && A.value.enable && A.value.mode === "server"), de = new Yt();
1113
1113
  function fe(W, J) {
1114
1114
  const ne = Math.ceil(W.length / J);
1115
1115
  let ae = 0;
@@ -1126,35 +1126,35 @@ function Vo(t, e, n, i, o) {
1126
1126
  }
1127
1127
  function ge() {
1128
1128
  var qe;
1129
- Z.value = T.value, te.value && (N.value = Z.value.length), b.value && !te.value && (Z.value = y(M.value, T.value, e)), H = Te.value.reduce((he, _e) => (he.set(_e, 0), he), H);
1129
+ Z.value = T.value, te.value && (N.value = Z.value.length), b.value && !te.value && (Z.value = y(M.value, T.value, e)), L = Te.value.reduce((he, _e) => (he.set(_e, 0), he), L);
1130
1130
  const W = 0, J = U(), ne = (q.value - 1) * J;
1131
1131
  let xe = ne > Z.value.length - 1 || se.value ? W : ne, Be = se.value ? Z.value.length : Math.min(xe + J, Z.value.length);
1132
1132
  if (b.value && te.value) {
1133
1133
  const { accumulateGroupRowSize: he, groupData: _e, groupRowSizeList: Ee } = fe(T.value, J);
1134
1134
  Z.value = _e;
1135
- const He = Ee[q.value - 1];
1136
- xe += q.value - 2 < 0 ? 0 : he[q.value - 2], Be = xe + J + He;
1135
+ const Le = Ee[q.value - 1];
1136
+ xe += q.value - 2 < 0 ? 0 : he[q.value - 2], Be = xe + J + Le;
1137
1137
  }
1138
1138
  let Ue = 0;
1139
1139
  const Ne = [];
1140
1140
  if (Z.value.length) {
1141
1141
  V(Z.value);
1142
- const he = j.value !== t.idField;
1142
+ const he = G.value !== t.idField;
1143
1143
  for (let _e = xe; _e < Be; _e++) {
1144
1144
  const Ee = Z.value[_e];
1145
- Ee.__fv_data_grid_group_row__ ? (Ue = 0, Ee.__fv_data_index__ = "") : Ee.__fv_data_grid_group_summary__ ? Ee.__fv_data_index__ = "" : (Ue++, Ee.__fv_data_index__ = Ue + (q.value - 1) * J), Ee.__fv_index__ = _e, Ee.__fv_visible_index__ = _e, t.rowOption && t.rowOption.disabledField && (Ee.__fv_disabled__ = Ee[(qe = t.rowOption) == null ? void 0 : qe.disabledField]), he && (Ee[j.value] = _e), Te.value.forEach((He) => {
1146
- const Ht = H.get(He) || 0;
1147
- H.set(He, r([Ht, Ce(Ee, He) || 0]));
1145
+ Ee.__fv_data_grid_group_row__ ? (Ue = 0, Ee.__fv_data_index__ = "") : Ee.__fv_data_grid_group_summary__ ? Ee.__fv_data_index__ = "" : (Ue++, Ee.__fv_data_index__ = Ue + (q.value - 1) * J), Ee.__fv_index__ = _e, Ee.__fv_visible_index__ = _e, t.rowOption && t.rowOption.disabledField && (Ee.__fv_disabled__ = Ee[(qe = t.rowOption) == null ? void 0 : qe.disabledField]), he && (Ee[G.value] = _e), Te.value.forEach((Le) => {
1146
+ const Lt = L.get(Le) || 0;
1147
+ L.set(Le, r([Lt, Ce(Ee, Le) || 0]));
1148
1148
  }), Ne.push(Ee);
1149
1149
  }
1150
1150
  }
1151
1151
  return R.value && g(Ne), Te.value.forEach((he) => {
1152
- const _e = H.get(he) || 0;
1153
- H.set(he, s(_e, 2));
1152
+ const _e = L.get(he) || 0;
1153
+ L.set(he, s(_e, 2));
1154
1154
  }), Q.value = [...Ne], Ne;
1155
1155
  }
1156
- const me = F(ge()), Ie = $(() => (k.value, me.value.filter((W) => R.value ? W.__fv_visible__ !== !1 && P(W) : W.__fv_visible__ !== !1)));
1157
- function Le() {
1156
+ const me = F(ge()), Ie = H(() => (k.value, me.value.filter((W) => R.value ? W.__fv_visible__ !== !1 && P(W) : W.__fv_visible__ !== !1)));
1157
+ function $e() {
1158
1158
  Ie.value.forEach((W, J) => (W.__fv_visible_index__ = J, W));
1159
1159
  }
1160
1160
  function Se(W, J, ne = !1) {
@@ -1163,19 +1163,19 @@ function Vo(t, e, n, i, o) {
1163
1163
  let xe = ae;
1164
1164
  ((qe = t.filter) == null ? void 0 : qe.mode) !== "server" && (xe = ae.filter((he) => n.apply(he)));
1165
1165
  const Be = W && W.length ? xe.filter((he) => W.reduce((_e, Ee) => _e && Ee.filter(he), !0)) : xe, Ue = J && J.length ? Be.sort((he, _e) => {
1166
- const Ee = [...J], He = Ee.shift(), Ht = Ce(he, He.field) === void 0 || Ce(he, He.field) === null ? "" : Ce(he, He.field), Gn = Ce(_e, He.field) === void 0 || Ce(_e, He.field) === null ? "" : Ce(_e, He.field);
1167
- let $t = He.compare(
1168
- Ht,
1169
- Gn
1166
+ const Ee = [...J], Le = Ee.shift(), Lt = Ce(he, Le.field) === void 0 || Ce(he, Le.field) === null ? "" : Ce(he, Le.field), jn = Ce(_e, Le.field) === void 0 || Ce(_e, Le.field) === null ? "" : Ce(_e, Le.field);
1167
+ let Ht = Le.compare(
1168
+ Lt,
1169
+ jn
1170
1170
  );
1171
- for (; $t === 0 && Ee.length !== 0; ) {
1171
+ for (; Ht === 0 && Ee.length !== 0; ) {
1172
1172
  const et = Ee.shift();
1173
1173
  if (et) {
1174
- const jn = Ce(he, et.field) === void 0 || Ce(he, et.field) === null ? "" : Ce(he, et.field), Un = Ce(_e, et.field) === void 0 || Ce(_e, et.field) === null ? "" : Ce(_e, et.field);
1175
- $t = et.compare(jn, Un);
1174
+ const Gn = Ce(he, et.field) === void 0 || Ce(he, et.field) === null ? "" : Ce(he, et.field), Un = Ce(_e, et.field) === void 0 || Ce(_e, et.field) === null ? "" : Ce(_e, et.field);
1175
+ Ht = et.compare(Gn, Un);
1176
1176
  }
1177
1177
  }
1178
- return $t;
1178
+ return Ht;
1179
1179
  }) : Be, Ne = U();
1180
1180
  return me.value = Ue.map((he, _e) => {
1181
1181
  if (he.__fv_data_grid_group_row__) {
@@ -1185,7 +1185,7 @@ function Vo(t, e, n, i, o) {
1185
1185
  return he.__fv_index__ = _e, he.__fv_visible_index__ = _e, he.__fv_data_index__ = _e + 1 + (q.value - 1) * Ne, he;
1186
1186
  }), me.value;
1187
1187
  }
1188
- function G(W) {
1188
+ function j(W) {
1189
1189
  return c.clear(), f.value = W, f.value.reduce((J, ne) => (J.set(ne.field, ne), J), c), Se([], f.value);
1190
1190
  }
1191
1191
  function K(W, J) {
@@ -1226,7 +1226,7 @@ function Vo(t, e, n, i, o) {
1226
1226
  return d.set(ae, !1), u.delete(`collapse_${W}_${J}`), Se(Array.from(u.values()), Array.from(c.values()), !0);
1227
1227
  }
1228
1228
  function z(W) {
1229
- const J = W.raw[j.value], ne = (ae) => !ae.__fv_parents__.has(J);
1229
+ const J = W.raw[G.value], ne = (ae) => !ae.__fv_parents__.has(J);
1230
1230
  a.set(`fold_${J}`, {
1231
1231
  field: "id",
1232
1232
  fieldName: "id",
@@ -1236,7 +1236,7 @@ function Vo(t, e, n, i, o) {
1236
1236
  }), Se(Array.from(a.values()), Array.from(c.values())), g(me.value);
1237
1237
  }
1238
1238
  function oe(W) {
1239
- const J = W[j.value];
1239
+ const J = W[G.value];
1240
1240
  a.delete(`fold_${J}`);
1241
1241
  }
1242
1242
  function Fe(W) {
@@ -1246,7 +1246,7 @@ function Vo(t, e, n, i, o) {
1246
1246
  const W = ge();
1247
1247
  me.value = W, Se(Array.from(a.values()), Array.from(c.values())), t.hierarchy && g(me.value);
1248
1248
  }
1249
- function Ge(W) {
1249
+ function je(W) {
1250
1250
  const ne = t.hierarchy && ke(W) ? re(W) : W;
1251
1251
  T.value = ne, ue();
1252
1252
  }
@@ -1263,13 +1263,13 @@ function Vo(t, e, n, i, o) {
1263
1263
  function Ft(W = 0) {
1264
1264
  if (!(W > -1))
1265
1265
  return !1;
1266
- const ne = L.value();
1266
+ const ne = $.value();
1267
1267
  t.hierarchy ? w(W, ne, T) : T.value.splice(W, 0, ne), ue();
1268
1268
  }
1269
1269
  function Ot(W = 0) {
1270
1270
  if (!(W > -1 && t.hierarchy))
1271
1271
  return !1;
1272
- const ne = L.value(), ae = T.value[W];
1272
+ const ne = $.value(), ae = T.value[W];
1273
1273
  oe(ae), I(W, ne, T), ue();
1274
1274
  }
1275
1275
  function vt(W, J = 0) {
@@ -1283,7 +1283,7 @@ function Vo(t, e, n, i, o) {
1283
1283
  T.value.splice(J, 1), ue();
1284
1284
  }
1285
1285
  function xt(W) {
1286
- const J = T.value.findIndex((ne) => ne[j.value] === W);
1286
+ const J = T.value.findIndex((ne) => ne[G.value] === W);
1287
1287
  J !== -1 && (T.value.splice(J, 1), ue());
1288
1288
  }
1289
1289
  function Nt(W) {
@@ -1313,34 +1313,34 @@ function Vo(t, e, n, i, o) {
1313
1313
  }
1314
1314
  function le(W) {
1315
1315
  return W.map((ne) => {
1316
- const ae = Q.value.findIndex((xe) => "" + xe[j.value] == "" + ne);
1316
+ const ae = Q.value.findIndex((xe) => "" + xe[G.value] == "" + ne);
1317
1317
  return ae > -1 ? Q.value[ae] : null;
1318
1318
  }).filter((ne) => ne != null);
1319
1319
  }
1320
1320
  function ce() {
1321
1321
  const W = t.summary.groupFields;
1322
- H = W.reduce((J, ne) => (J.set(ne, 0), J), H);
1322
+ L = W.reduce((J, ne) => (J.set(ne, 0), J), L);
1323
1323
  for (const J of Z.value)
1324
1324
  W.forEach((ne) => {
1325
- const ae = H.get(ne) || 0;
1326
- H.set(ne, r([ae, Ce(J, ne) || 0]));
1325
+ const ae = L.get(ne) || 0;
1326
+ L.set(ne, r([ae, Ce(J, ne) || 0]));
1327
1327
  });
1328
1328
  W.forEach((J) => {
1329
- const ne = H.get(J) || 0;
1330
- H.set(J, s(ne, 2));
1329
+ const ne = L.get(J) || 0;
1330
+ L.set(J, s(ne, 2));
1331
1331
  });
1332
1332
  }
1333
1333
  function Me(W) {
1334
1334
  const J = t.summary.groupFields;
1335
- H = J.reduce((ne, ae) => (ne.set(ae, 0), ne), H);
1335
+ L = J.reduce((ne, ae) => (ne.set(ae, 0), ne), L);
1336
1336
  for (const ne of W)
1337
1337
  J.forEach((ae) => {
1338
- const xe = H.get(ae) || 0;
1339
- H.set(ae, r([xe, Ce(ne.raw, ae) || 0]));
1338
+ const xe = L.get(ae) || 0;
1339
+ L.set(ae, r([xe, Ce(ne.raw, ae) || 0]));
1340
1340
  });
1341
1341
  J.forEach((ne) => {
1342
- const ae = H.get(ne) || 0;
1343
- H.set(ne, s(ae, 2));
1342
+ const ae = L.get(ne) || 0;
1343
+ L.set(ne, s(ae, 2));
1344
1344
  });
1345
1345
  }
1346
1346
  return {
@@ -1364,7 +1364,7 @@ function Vo(t, e, n, i, o) {
1364
1364
  insertNewChildDataItems: vt,
1365
1365
  insertNewDataItem: Ft,
1366
1366
  isVisibleInTree: P,
1367
- load: Ge,
1367
+ load: je,
1368
1368
  navigatePageTo: ct,
1369
1369
  pageIndex: q,
1370
1370
  rawView: Q,
@@ -1375,10 +1375,10 @@ function Vo(t, e, n, i, o) {
1375
1375
  removeFilter: be,
1376
1376
  removeHierarchyDataItem: Nt,
1377
1377
  removeSorter: Y,
1378
- reOrderVisibleIndex: Le,
1379
- setSorters: G,
1378
+ reOrderVisibleIndex: $e,
1379
+ setSorters: j,
1380
1380
  sorters: f,
1381
- summaries: H,
1381
+ summaries: L,
1382
1382
  updateSummary: ce,
1383
1383
  toggleChildrenVisibiltyByCollapseStatus: E,
1384
1384
  totalItems: N,
@@ -1471,7 +1471,7 @@ const Bo = [
1471
1471
  return !1;
1472
1472
  },
1473
1473
  notEqual: (t, e, n) => t ? String(n).split(",").findIndex((o) => o === String(t[e])) === -1 : !1
1474
- }, Ho = {
1474
+ }, Lo = {
1475
1475
  equal: (t, e, n) => {
1476
1476
  if (t) {
1477
1477
  const i = Number.parseFloat(String(n)), o = Number.parseFloat(String(t[e]));
@@ -1514,15 +1514,15 @@ const Bo = [
1514
1514
  }
1515
1515
  return !1;
1516
1516
  }
1517
- }, $o = /* @__PURE__ */ new Map([
1517
+ }, Ho = /* @__PURE__ */ new Map([
1518
1518
  ["boolean", Ro],
1519
1519
  ["datetime", No],
1520
1520
  ["enum", Ao],
1521
- ["number", Ho],
1521
+ ["number", Lo],
1522
1522
  ["text", Oo]
1523
1523
  ]);
1524
- function Lo(t, e) {
1525
- const n = F([]), i = /* @__PURE__ */ new Map(), { loadConditionGroup: o } = Li();
1524
+ function $o(t, e) {
1525
+ const n = F([]), i = /* @__PURE__ */ new Map(), { loadConditionGroup: o } = $i();
1526
1526
  function l(x, v) {
1527
1527
  switch (x) {
1528
1528
  case "check-box":
@@ -1546,9 +1546,9 @@ function Lo(t, e) {
1546
1546
  case "month-picker":
1547
1547
  return new Ui({ value: v });
1548
1548
  case "month-range":
1549
- return new ji({ value: v });
1550
- case "number-range":
1551
1549
  return new Gi({ value: v });
1550
+ case "number-range":
1551
+ return new ji({ value: v });
1552
1552
  case "number-spinner":
1553
1553
  return new Wi({ value: v });
1554
1554
  case "radio-group":
@@ -1568,14 +1568,14 @@ function Lo(t, e) {
1568
1568
  ["reference", "lookup"]
1569
1569
  ]), s = /* @__PURE__ */ new Map([
1570
1570
  // ['boolean', CompareType.In],
1571
- ["boolean", $e.Equal],
1572
- ["date", $e.Equal],
1573
- ["datetime", $e.Equal],
1574
- ["number", $e.Equal],
1575
- ["string", $e.Equal],
1576
- ["text", $e.Equal],
1577
- ["enum", $e.In],
1578
- ["reference", $e.Equal]
1571
+ ["boolean", He.Equal],
1572
+ ["date", He.Equal],
1573
+ ["datetime", He.Equal],
1574
+ ["number", He.Equal],
1575
+ ["string", He.Equal],
1576
+ ["text", He.Equal],
1577
+ ["enum", He.In],
1578
+ ["reference", He.Equal]
1579
1579
  ]);
1580
1580
  function d() {
1581
1581
  n.value.forEach((v, S) => {
@@ -1588,7 +1588,7 @@ function Lo(t, e) {
1588
1588
  const C = [];
1589
1589
  g.length === 1 && C.push({
1590
1590
  filterField: v.fieldCode,
1591
- compare: v.compareType || v.compareType === 0 ? v.compareType : $e.Like,
1591
+ compare: v.compareType || v.compareType === 0 ? v.compareType : He.Like,
1592
1592
  value: v.value.value[0],
1593
1593
  relation: n.value.length > 1 ? v.relation || v.relation === 0 ? v.relation : 1 : 0,
1594
1594
  expresstype: ot.Value,
@@ -1596,7 +1596,7 @@ function Lo(t, e) {
1596
1596
  rbracket: v.rBracket || null
1597
1597
  }), g.length > 1 && C.push({
1598
1598
  filterField: v.fieldCode,
1599
- compare: v.compareType || v.compareType === 0 ? v.compareType : $e.Like,
1599
+ compare: v.compareType || v.compareType === 0 ? v.compareType : He.Like,
1600
1600
  value: v.value.value[0],
1601
1601
  relation: 2,
1602
1602
  expresstype: ot.Value,
@@ -1604,7 +1604,7 @@ function Lo(t, e) {
1604
1604
  rbracket: v.rBracket || null
1605
1605
  }, {
1606
1606
  filterField: v.fieldCode,
1607
- compare: v.compareType || v.compareType === 0 ? v.compareType : $e.Like,
1607
+ compare: v.compareType || v.compareType === 0 ? v.compareType : He.Like,
1608
1608
  value: v.value.value[1],
1609
1609
  relation: n.value.length > 1 ? v.relation || v.relation === 0 ? v.relation : 1 : 0,
1610
1610
  expresstype: ot.Value,
@@ -1614,7 +1614,7 @@ function Lo(t, e) {
1614
1614
  } else
1615
1615
  x.push({
1616
1616
  filterField: v.fieldCode,
1617
- compare: v.compareType || v.compareType === 0 ? v.compareType : $e.Like,
1617
+ compare: v.compareType || v.compareType === 0 ? v.compareType : He.Like,
1618
1618
  value: v.value.value,
1619
1619
  relation: n.value.length > 1 ? v.relation || v.relation === 0 ? v.relation : 1 : 0,
1620
1620
  expresstype: ot.Value,
@@ -1629,8 +1629,8 @@ function Lo(t, e) {
1629
1629
  return ((S = x.editor) == null ? void 0 : S.type) || r.get(v) || "text";
1630
1630
  }
1631
1631
  function u(x) {
1632
- var E, _, k, j, V;
1633
- const v = `field_filter_${x.field}`, S = Date.now(), g = x.field, C = ((E = x.column) == null ? void 0 : E.title) || "", w = ((_ = x.column) == null ? void 0 : _.dataType) || "string", I = s.get(w) || $e.Equal, B = ((j = (k = x.column) == null ? void 0 : k.editor) == null ? void 0 : j.type) || r.get(w) || "text", P = l(B, (V = x.column) == null ? void 0 : V.filter), R = B === "lookup" || B === "combo-lookup" ? ot.SmartHelp : B === "combo-list" ? ot.Enum : ot.Value;
1632
+ var E, _, k, G, V;
1633
+ const v = `field_filter_${x.field}`, S = Date.now(), g = x.field, C = ((E = x.column) == null ? void 0 : E.title) || "", w = ((_ = x.column) == null ? void 0 : _.dataType) || "string", I = s.get(w) || He.Equal, B = ((G = (k = x.column) == null ? void 0 : k.editor) == null ? void 0 : G.type) || r.get(w) || "text", P = l(B, (V = x.column) == null ? void 0 : V.filter), R = B === "lookup" || B === "combo-lookup" ? ot.SmartHelp : B === "combo-list" ? ot.Enum : ot.Value;
1634
1634
  i.set(v, { id: v, fieldCode: g, fieldName: C, compareType: I, valueType: R, value: P, conditionId: S, relation: 1 }), n.value = Array.from(i.values());
1635
1635
  }
1636
1636
  function a(x) {
@@ -1645,7 +1645,7 @@ function Lo(t, e) {
1645
1645
  }
1646
1646
  function f(x) {
1647
1647
  const { valueType: v } = x.value, S = x.compareType || "0", g = Bo[Number(S)];
1648
- return $o.get(v)[g];
1648
+ return Ho.get(v)[g];
1649
1649
  }
1650
1650
  function h(x) {
1651
1651
  const v = x.relation === 2 ? 0 : 1, S = x.items.map((C) => {
@@ -1683,21 +1683,21 @@ function Lo(t, e) {
1683
1683
  }
1684
1684
  function zo(t) {
1685
1685
  F(t.selection.showCheckbox || !1);
1686
- const e = $(() => {
1686
+ const e = H(() => {
1687
1687
  var r;
1688
1688
  return ((r = t.hierarchy) == null ? void 0 : r.collapseField) || "__fv_collapse__";
1689
- }), n = $(() => {
1689
+ }), n = H(() => {
1690
1690
  var r;
1691
1691
  return ((r = t.hierarchy) == null ? void 0 : r.hasChildrenField) || "__fv_hasChildren__";
1692
- }), i = $(() => {
1692
+ }), i = H(() => {
1693
1693
  var r;
1694
1694
  return ((r = t.hierarchy) == null ? void 0 : r.parentIdField) || "parent";
1695
- }), o = $(() => t.hierarchy && t.selection.showCheckbox), l = $(() => (t.treeNodeIconsData.fold || t.iconField) && t.showTreeNodeIcons);
1695
+ }), o = H(() => t.hierarchy && t.selection.showCheckbox), l = H(() => (t.treeNodeIconsData.fold || t.iconField) && t.showTreeNodeIcons);
1696
1696
  return { collapseField: e, hasChildrenField: n, parentIdField: i, shouldShowCheckBox: o, shouldShowIcon: l };
1697
1697
  }
1698
1698
  function Wo(t, e, n, i, o, l, r, s, d) {
1699
1699
  var yt;
1700
- const { dataView: m, visibleDataItems: u } = e, { getVisualData: a, maxVisibleRowIndex: c, minVisibleRowIndex: p } = o, f = $(() => i.value.primaryColumnsWidth), h = $(() => i.value.leftColumnsWidth), y = $(() => i.value.rightColumnsWidth), M = ((yt = t.rowOption) == null ? void 0 : yt.height) || 28, b = F(0), T = F(0);
1700
+ const { dataView: m, visibleDataItems: u } = e, { getVisualData: a, maxVisibleRowIndex: c, minVisibleRowIndex: p } = o, f = H(() => i.value.primaryColumnsWidth), h = H(() => i.value.leftColumnsWidth), y = H(() => i.value.rightColumnsWidth), M = ((yt = t.rowOption) == null ? void 0 : yt.height) || 28, b = F(0), T = F(0);
1701
1701
  let x = 0, v = l.value - 1;
1702
1702
  const S = F(0), g = F(0), C = F(0), w = F(t.virtualized), I = 24, B = 1.5;
1703
1703
  let P = null, R = null, E = null;
@@ -1708,14 +1708,14 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1708
1708
  const ee = c.value < X.length ? X[c.value] : X[X.length - 1];
1709
1709
  return ee.__fv_data_position__ > X.length * M ? X.length * M : (ee.__fv_data_position__ || 0) + (ee.__fv_data_height__ || 0) + Math.max(X.length - 1 - c.value, 0) * M;
1710
1710
  }
1711
- const k = $(() => {
1711
+ const k = H(() => {
1712
1712
  const X = _();
1713
1713
  u.value;
1714
1714
  let ee = g.value / Math.max(X, g.value), le = Math.floor(ee * g.value);
1715
1715
  for (; g.value > 0 && le < I; )
1716
1716
  ee *= B, le = Math.floor(ee * g.value);
1717
1717
  return le;
1718
- }), j = $(() => Math.floor(C.value / Math.max(f.value, C.value) * S.value)), V = 0, L = 0, Z = $(() => S.value - (h.value + f.value + y.value + s.value));
1718
+ }), G = H(() => Math.floor(C.value / Math.max(f.value, C.value) * S.value)), V = 0, $ = 0, Z = H(() => S.value - (h.value + f.value + y.value + s.value));
1719
1719
  function Q(X) {
1720
1720
  const le = Math.floor(X / M) + 1, ce = u.value;
1721
1721
  return ce.length > le ? ce[le].__fv_visible_index__ - 1 : 0;
@@ -1746,8 +1746,8 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1746
1746
  const le = (xe = t.pagination) != null && xe.enable ? 0 : Math.max(x - r, 0), ce = ee[ee.length - 1].__fv_visible_index__, Me = (Be = t.pagination) != null && Be.enable ? ee.length - 1 : Math.min(v + r, ce), { actualStart: W, actualEnd: J } = re(le, Me, ce), ne = ee[W - 1], ae = a(W, J, ne, X);
1747
1747
  ae.length && (n.value = [...ae]);
1748
1748
  }
1749
- const we = $(() => _() > g.value), Te = $(() => Math.floor(f.value) > C.value);
1750
- function H(X, ee) {
1749
+ const we = H(() => _() > g.value), Te = H(() => Math.floor(f.value) > C.value);
1750
+ function L(X, ee) {
1751
1751
  let le = X;
1752
1752
  const ce = le > V, Me = we.value;
1753
1753
  Me && le < g.value - ee && (le = g.value - ee), (!Me || ce) && (le = V), b.value !== le && (b.value = le);
@@ -1759,7 +1759,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1759
1759
  let ee = b.value + X;
1760
1760
  ee > V && (ee = V);
1761
1761
  const le = _();
1762
- H(ee, le), N();
1762
+ L(ee, le), N();
1763
1763
  }
1764
1764
  function U(X) {
1765
1765
  if (!Te.value) {
@@ -1767,7 +1767,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1767
1767
  return;
1768
1768
  }
1769
1769
  let ee = T.value + X;
1770
- ee > L && (ee = L), ee < Z.value && (ee = Z.value), T.value !== ee && (T.value = ee);
1770
+ ee > $ && (ee = $), ee < Z.value && (ee = Z.value), T.value !== ee && (T.value = ee);
1771
1771
  }
1772
1772
  function q() {
1773
1773
  Math.abs(T.value) + C.value > f.value && (T.value = Math.min(C.value - f.value, 0));
@@ -1777,7 +1777,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1777
1777
  }
1778
1778
  function se() {
1779
1779
  const X = _();
1780
- H(b.value, X);
1780
+ L(b.value, X);
1781
1781
  }
1782
1782
  ve([C, f], () => {
1783
1783
  U(0);
@@ -1795,58 +1795,58 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1795
1795
  const { deltaX: ee, deltaY: le } = de(X);
1796
1796
  A(le), U(ee);
1797
1797
  }
1798
- const ge = $(() => ({
1798
+ const ge = H(() => ({
1799
1799
  height: `${m.value.length * M}px`,
1800
1800
  width: `${h.value}px`,
1801
1801
  transform: `translateY(${b.value}px)`
1802
- })), me = $(() => ({
1802
+ })), me = H(() => ({
1803
1803
  transform: `translateY(${b.value}px)`
1804
- })), Ie = $(() => ({
1804
+ })), Ie = H(() => ({
1805
1805
  height: `${(t.autoHeight ? u.value : m.value).length * M}px`,
1806
1806
  width: `${f.value}px`,
1807
1807
  transform: `translate(${T.value}px, ${b.value}px)`
1808
- })), Le = $(() => ({
1808
+ })), $e = H(() => ({
1809
1809
  transform: `translate(${T.value}px, ${b.value}px)`
1810
- })), Se = $(() => ({
1810
+ })), Se = H(() => ({
1811
1811
  height: `${m.value.length * M}px`,
1812
1812
  width: `${y.value}px`,
1813
1813
  transform: `translateY(${b.value}px)`
1814
- })), G = $(() => ({
1814
+ })), j = H(() => ({
1815
1815
  transform: `translateY(${b.value}px)`
1816
- })), K = $(() => ({
1816
+ })), K = H(() => ({
1817
1817
  height: `${m.value.length * M}px`,
1818
1818
  width: `${s.value}px`,
1819
1819
  transform: `translateY(${b.value}px)`
1820
- })), Y = $(() => ({
1820
+ })), Y = H(() => ({
1821
1821
  width: `${h.value}px`
1822
- })), ye = $(() => ({
1822
+ })), ye = H(() => ({
1823
1823
  transform: `translateX(${T.value}px)`
1824
- })), be = $(() => ({
1824
+ })), be = H(() => ({
1825
1825
  width: `${y.value}px`
1826
- })), Re = $(() => {
1826
+ })), Re = H(() => {
1827
1827
  const X = _();
1828
- return H(b.value, X), b.value / (g.value - X) * (g.value - k.value);
1829
- }), Qe = $(() => ({
1828
+ return L(b.value, X), b.value / (g.value - X) * (g.value - k.value);
1829
+ }), Qe = H(() => ({
1830
1830
  width: "8px",
1831
1831
  height: `${k.value}px`,
1832
1832
  top: `${Re.value}px`,
1833
1833
  backgroundColor: "#cccccc !important"
1834
- })), pt = $(() => T.value / Z.value * (S.value - j.value)), gt = $(() => ({
1834
+ })), pt = H(() => T.value / Z.value * (S.value - G.value)), gt = H(() => ({
1835
1835
  height: "8px",
1836
- width: `${j.value}px`,
1836
+ width: `${G.value}px`,
1837
1837
  left: `${pt.value}px`,
1838
1838
  backgroundColor: "#cccccc !important"
1839
1839
  })), ze = F(!1), z = F(-1), oe = F(-1), Fe = F();
1840
1840
  function ue(X) {
1841
1841
  if (X instanceof MouseEvent ? X.pageX : X.touches[0].pageX, ze.value && oe.value !== -1) {
1842
- const ee = oe.value - X.pageX, le = S.value - j.value;
1842
+ const ee = oe.value - X.pageX, le = S.value - G.value;
1843
1843
  if (Math.abs(ee) <= le) {
1844
- const ce = ee / (C.value - j.value) * (f.value - C.value);
1844
+ const ce = ee / (C.value - G.value) * (f.value - C.value);
1845
1845
  U(ce), oe.value = X.pageX;
1846
1846
  }
1847
1847
  }
1848
1848
  }
1849
- function Ge(X) {
1849
+ function je(X) {
1850
1850
  if (ze.value && z.value !== -1) {
1851
1851
  const ee = z.value - X.pageY, le = _(), ce = le - k.value;
1852
1852
  if (Math.abs(ee) <= ce) {
@@ -1858,9 +1858,9 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1858
1858
  function ht(X) {
1859
1859
  const { pageX: ee, pageY: le } = X.touches[0];
1860
1860
  if (ze.value && oe.value !== -1) {
1861
- const ce = oe.value - ee, Me = S.value - j.value;
1861
+ const ce = oe.value - ee, Me = S.value - G.value;
1862
1862
  if (Math.abs(ce) <= Me) {
1863
- const W = ce / (C.value - j.value) * (f.value - C.value);
1863
+ const W = ce / (C.value - G.value) * (f.value - C.value);
1864
1864
  U(W), oe.value = ee;
1865
1865
  }
1866
1866
  }
@@ -1886,7 +1886,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1886
1886
  ze.value = !0;
1887
1887
  const ce = (ne = X.target) == null ? void 0 : ne.parentElement;
1888
1888
  ce && (ce.style.opacity = "1", Fe.value = ce);
1889
- const Me = le === "horizontal" ? ue : Kt(Ge, 50);
1889
+ const Me = le === "horizontal" ? ue : Kt(je, 50);
1890
1890
  P || (P = Me);
1891
1891
  const { pageX: W } = X, { pageY: J } = X;
1892
1892
  le === "vertical" && (z.value = X.pageY), le === "horizontal" && (oe.value = X.pageX), ee.value && (ee.value, document.addEventListener("mousemove", P), document.addEventListener("mouseup", Tt), document.body.style.userSelect = "none");
@@ -1919,7 +1919,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1919
1919
  fitHorizontalScroll: q,
1920
1920
  gridDataStyle: Ie,
1921
1921
  gridHeaderColumnsStyle: ye,
1922
- gridMergedDataStyle: Le,
1922
+ gridMergedDataStyle: $e,
1923
1923
  gridSideStyle: K,
1924
1924
  horizontalScrollThumbStyle: gt,
1925
1925
  leftFixedGridDataStyle: ge,
@@ -1933,7 +1933,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1933
1933
  resetScroll: te,
1934
1934
  rightFixedGridDataStyle: Se,
1935
1935
  rightFixedGridHeaderColumnsStyle: be,
1936
- rightFixedGridMergedDataStyle: G,
1936
+ rightFixedGridMergedDataStyle: j,
1937
1937
  shouldShowHorizontalScrollbar: Te,
1938
1938
  shouldShowVirticalScrollbar: we,
1939
1939
  updateVirticalScroll: se,
@@ -1947,7 +1947,7 @@ function Wo(t, e, n, i, o, l, r, s, d) {
1947
1947
  onTouchstartScrollThumb: Rt
1948
1948
  };
1949
1949
  }
1950
- function Go(t) {
1950
+ function jo(t) {
1951
1951
  var l;
1952
1952
  const { isUndefined: e } = hn(), n = ((l = t.rowOption) == null ? void 0 : l.height) || 28;
1953
1953
  function i(r, s) {
@@ -1971,7 +1971,7 @@ function Go(t) {
1971
1971
  }
1972
1972
  return { updateRowPosition: i, updateVisualInfomation: o };
1973
1973
  }
1974
- function jo() {
1974
+ function Go() {
1975
1975
  function t(e, n) {
1976
1976
  var r, s;
1977
1977
  if (!n.data || !n.data.length)
@@ -2074,7 +2074,7 @@ function Zo() {
2074
2074
  renderText: t
2075
2075
  } = Uo(), {
2076
2076
  renderEnumColumn: e
2077
- } = jo(), {
2077
+ } = Go(), {
2078
2078
  renderNumberColumn: n
2079
2079
  } = Do(), {
2080
2080
  renderDateColumn: i,
@@ -2141,11 +2141,11 @@ function Jo(t, e, n) {
2141
2141
  return b.getEditor = (v) => e.getEditor(v, T, v.parent), b.setRef = (v) => r(v, b, x), b.update = (v) => {
2142
2142
  v !== void 0 && (b.editingData = v);
2143
2143
  }, b.accept = () => {
2144
- Gt(b.editingData, x, T.field), b.data = Ce(x, T.field);
2144
+ jt(b.editingData, x, T.field), b.data = Ce(x, T.field);
2145
2145
  }, b.cancel = () => {
2146
2146
  b.editingData = b.data;
2147
2147
  }, b.updateData = (v) => {
2148
- Gt(Ce(v, T.field), x, T.field), b.data = Ce(x, T.field), b.editingData = Ce(x, T.field);
2148
+ jt(Ce(v, T.field), x, T.field), b.data = Ce(x, T.field), b.editingData = Ce(x, T.field);
2149
2149
  }, b;
2150
2150
  }
2151
2151
  function a(b, T) {
@@ -2176,7 +2176,7 @@ function Jo(t, e, n) {
2176
2176
  function Qo(t, e, n, i, o, l, r) {
2177
2177
  var T, x;
2178
2178
  const s = F(t.rowOption), d = ((T = s.value) == null ? void 0 : T.height) || 28, m = ((x = s.value) == null ? void 0 : x.wrapContent) || !1, { idField: u } = o, { collapseField: a } = i, { updateRowPosition: c } = l, { createCellByColumn: p } = r, f = (v, S, g, C) => {
2179
- Gt(Ce(v, C), S, C), g.data[C].data = Ce(S, C), g.data[C].editingData = Ce(S, C);
2179
+ jt(Ce(v, C), S, C), g.data[C].data = Ce(S, C), g.data[C].editingData = Ce(S, C);
2180
2180
  };
2181
2181
  function h(v, S, g, C, w, I) {
2182
2182
  var ke, we, Te;
@@ -2184,7 +2184,7 @@ function Qo(t, e, n, i, o, l, r) {
2184
2184
  __fv_data_grid_group_field__: B,
2185
2185
  __fv_data_grid_group_value__: P,
2186
2186
  __fv_data_index__: R
2187
- } = g, E = g.__fv_data_grid_group_layer__ || (g.__fv_parents__ ? (ke = g.__fv_parents__) == null ? void 0 : ke.size : 0) || 0, _ = typeof g.parent == "number" ? Number(g.parent) : -1, k = g.__fv_data_grid_group_collapse__ || g[a.value], j = g.__fv_visible__ === void 0 ? !0 : g.__fv_visible__, V = g.__fv_checked__, L = g.__fv_indeterminate__, Z = g.__fv_disabled__ || g[((we = t.rowOption) == null ? void 0 : we.disabledField) || "disabled"], Q = t.hierarchy && e.isVisibleInTree(g), re = {
2187
+ } = g, E = g.__fv_data_grid_group_layer__ || (g.__fv_parents__ ? (ke = g.__fv_parents__) == null ? void 0 : ke.size : 0) || 0, _ = typeof g.parent == "number" ? Number(g.parent) : -1, k = g.__fv_data_grid_group_collapse__ || g[a.value], G = g.__fv_visible__ === void 0 ? !0 : g.__fv_visible__, V = g.__fv_checked__, $ = g.__fv_indeterminate__, Z = g.__fv_disabled__ || g[((we = t.rowOption) == null ? void 0 : we.disabledField) || "disabled"], Q = t.hierarchy && e.isVisibleInTree(g), re = {
2188
2188
  collapse: k,
2189
2189
  data: {},
2190
2190
  dataIndex: R,
@@ -2199,18 +2199,18 @@ function Qo(t, e, n, i, o, l, r) {
2199
2199
  raw: g,
2200
2200
  checked: V,
2201
2201
  disabled: Z,
2202
- indeterminate: L,
2203
- setRef: (H) => {
2204
- re.ref = H;
2202
+ indeterminate: $,
2203
+ setRef: (L) => {
2204
+ re.ref = L;
2205
2205
  },
2206
- visible: j && Q || j && !t.hierarchy,
2206
+ visible: G && Q || G && !t.hierarchy,
2207
2207
  status: Xe.initial,
2208
- updateCell: (H, N) => {
2209
- f(H, g, re, N), e.updateSummary();
2208
+ updateCell: (L, N) => {
2209
+ f(L, g, re, N), e.updateSummary();
2210
2210
  },
2211
- updateCells: (H, N) => {
2211
+ updateCells: (L, N) => {
2212
2212
  N.forEach((A) => {
2213
- f(H, g, re, A);
2213
+ f(L, g, re, A);
2214
2214
  });
2215
2215
  }
2216
2216
  };
@@ -2239,10 +2239,10 @@ function Qo(t, e, n, i, o, l, r) {
2239
2239
  return { createEmptyRow: h, createNewRowFromDataItem: y, renderDataRow: b };
2240
2240
  }
2241
2241
  function Ko(t, e, n, i) {
2242
- const o = F(t.summary), { idField: l } = e, { createCellByField: r } = n, { createEmptyRow: s } = i, d = $(() => {
2242
+ const o = F(t.summary), { idField: l } = e, { createCellByField: r } = n, { createEmptyRow: s } = i, d = H(() => {
2243
2243
  const c = o.value;
2244
2244
  return (c == null ? void 0 : c.groupFields) || [];
2245
- }), m = $(() => {
2245
+ }), m = H(() => {
2246
2246
  const c = o.value;
2247
2247
  return c && c.enable && c.groupFields && c.groupFields.length > 0;
2248
2248
  });
@@ -2285,54 +2285,54 @@ function tl(t, e, n, i, o) {
2285
2285
  onClickRowExcludeDblclick: c
2286
2286
  } = i, p = /* @__PURE__ */ new Map([["boolean", "check-box"], ["datetime", "date-picker"], ["enum", "combo-list"], ["number", "number-spinner"], ["string", "input-group"], ["text", "text"], ["commands", "commands-editor"]]);
2287
2287
  let f, h, y, M, b;
2288
- function T(H) {
2289
- return h && h.raw[s.value] === H ? h : null;
2288
+ function T(L) {
2289
+ return h && h.raw[s.value] === L ? h : null;
2290
2290
  }
2291
2291
  const x = ni({});
2292
- function v(H) {
2293
- return (H == null ? void 0 : H.field) !== xn && (H == null ? void 0 : H.field) !== So;
2292
+ function v(L) {
2293
+ return (L == null ? void 0 : L.field) !== xn && (L == null ? void 0 : L.field) !== So;
2294
2294
  }
2295
- function S(H, N, A = {}) {
2296
- H.mode = Ve.editing, f = H, h = N, y = Ce(N == null ? void 0 : N.raw, H.field), M = A;
2295
+ function S(L, N, A = {}) {
2296
+ L.mode = Ve.editing, f = L, h = N, y = Ce(N == null ? void 0 : N.raw, L.field), M = A;
2297
2297
  for (const U in x)
2298
2298
  delete x[U];
2299
2299
  }
2300
- function g(H) {
2301
- H.accept(), H.mode = Ve.editable, f = null;
2300
+ function g(L) {
2301
+ L.accept(), L.mode = Ve.editable, f = null;
2302
2302
  }
2303
- function C(H) {
2304
- g(H);
2303
+ function C(L) {
2304
+ g(L);
2305
2305
  const N = {};
2306
2306
  h && (Object.keys(h).forEach((A) => {
2307
2307
  N[A] = h == null ? void 0 : h[A];
2308
2308
  }), h = null), e.emit("endEditCell", {
2309
- cell: H,
2309
+ cell: L,
2310
2310
  row: N,
2311
- newValue: Ce(N == null ? void 0 : N.raw, H.field),
2311
+ newValue: Ce(N == null ? void 0 : N.raw, L.field),
2312
2312
  oldValue: y,
2313
2313
  column: M,
2314
2314
  editor: x
2315
2315
  });
2316
2316
  }
2317
- function w(H) {
2317
+ function w(L) {
2318
2318
  const N = Promise.resolve(!0);
2319
- return H ? N.then(() => en(t.beforeEndEditCell) ? !0 : typeof t.beforeEndEditCell == "function" ? t.beforeEndEditCell({
2320
- cell: H,
2319
+ return L ? N.then(() => en(t.beforeEndEditCell) ? !0 : typeof t.beforeEndEditCell == "function" ? t.beforeEndEditCell({
2320
+ cell: L,
2321
2321
  row: h,
2322
- newValue: H.editingData,
2322
+ newValue: L.editingData,
2323
2323
  oldValue: y
2324
- }) : () => !0).then((A) => (A && (C(H), h && (h = null)), A)) : N;
2324
+ }) : () => !0).then((A) => (A && (C(L), h && (h = null)), A)) : N;
2325
2325
  }
2326
- function I(H) {
2327
- if (b && b !== H.target) {
2326
+ function I(L) {
2327
+ if (b && b !== L.target) {
2328
2328
  b = null;
2329
2329
  return;
2330
2330
  }
2331
2331
  if (document.body.classList.contains("lookup-modal-open"))
2332
2332
  return;
2333
- const A = H.target;
2333
+ const A = L.target;
2334
2334
  if (!(A != null && A.closest(".popover"))) {
2335
- if (H instanceof MouseEvent || H.key !== "Enter") {
2335
+ if (L instanceof MouseEvent || L.key !== "Enter") {
2336
2336
  const U = A.closest(".fv-grid-cell");
2337
2337
  if (f && f.ref && f.ref === U)
2338
2338
  return;
@@ -2347,74 +2347,74 @@ function tl(t, e, n, i, o) {
2347
2347
  r.value = !1, window.closeModal && delete window.closeModal;
2348
2348
  });
2349
2349
  }
2350
- function P(H, N, A) {
2350
+ function P(L, N, A) {
2351
2351
  return Promise.resolve().then(() => {
2352
2352
  var q;
2353
2353
  const U = (q = A.editor) == null ? void 0 : q.readonly;
2354
2354
  return !en(t.beforeEditCell) && typeof t.beforeEditCell == "function" ? t.beforeEditCell({
2355
- row: H,
2355
+ row: L,
2356
2356
  cell: N,
2357
- rawData: H.raw,
2357
+ rawData: L.raw,
2358
2358
  column: A
2359
2359
  }) : !U;
2360
2360
  }).then((U) => {
2361
- U && (l() ? (r.value = !0, B()) : S(N, H, A), document.body.removeEventListener("click", I, !0), document.body.addEventListener("click", I, !0));
2361
+ U && (l() ? (r.value = !0, B()) : S(N, L, A), document.body.removeEventListener("click", I, !0), document.body.addEventListener("click", I, !0));
2362
2362
  });
2363
2363
  }
2364
- function R(H, N, A, U = {}) {
2365
- H.stopPropagation(), c(H, A), v(N.column) && d.value && m.value.editMode === "cell" && N.mode === Ve.editable && w(f).then(() => {
2364
+ function R(L, N, A, U = {}) {
2365
+ L.stopPropagation(), c(L, A), v(N.column) && d.value && m.value.editMode === "cell" && N.mode === Ve.editable && w(f).then(() => {
2366
2366
  f || P(A, N, U);
2367
2367
  });
2368
2368
  }
2369
- function E(H, N, A, U = {}) {
2370
- l() || H.stopPropagation(), a(H, A), v(N.column) && d.value && m.value.editMode === "cell" && N.mode === Ve.editable && w(f).then(() => {
2369
+ function E(L, N, A, U = {}) {
2370
+ l() || L.stopPropagation(), a(L, A), v(N.column) && d.value && m.value.editMode === "cell" && N.mode === Ve.editable && w(f).then(() => {
2371
2371
  f || P(A, N, U);
2372
2372
  });
2373
2373
  }
2374
- function _(H) {
2375
- H.stopPropagation(), b = H.target;
2374
+ function _(L) {
2375
+ L.stopPropagation(), b = L.target;
2376
2376
  }
2377
- function k(H) {
2378
- H.stopPropagation(), b && (b = null);
2377
+ function k(L) {
2378
+ L.stopPropagation(), b && (b = null);
2379
2379
  }
2380
- function j(H) {
2381
- Object.values(H.data).filter((N) => N.mode === Ve.editable && v(N.column)).forEach((N) => {
2380
+ function G(L) {
2381
+ Object.values(L.data).filter((N) => N.mode === Ve.editable && v(N.column)).forEach((N) => {
2382
2382
  N.mode = Ve.editing;
2383
- }), H.status = Xe.editing, h = H;
2383
+ }), L.status = Xe.editing, h = L;
2384
2384
  }
2385
- function V(H, N) {
2386
- Object.values(H.data).filter((A) => A.mode === Ve.editing).forEach((A) => {
2385
+ function V(L, N) {
2386
+ Object.values(L.data).filter((A) => A.mode === Ve.editing).forEach((A) => {
2387
2387
  N ? A.accept() : A.cancel(), A.mode = Ve.editable;
2388
- }), H.status = Xe.initial, h === H && (h = null);
2388
+ }), L.status = Xe.initial, h === L && (h = null);
2389
2389
  }
2390
- function L(H) {
2391
- d.value && m.value.editMode === "row" && h !== H && (h && V(h, !1), j(H));
2390
+ function $(L) {
2391
+ d.value && m.value.editMode === "row" && h !== L && (h && V(h, !1), G(L));
2392
2392
  }
2393
- function Z(H) {
2394
- V(H, !0), H.status = Xe.initial;
2393
+ function Z(L) {
2394
+ V(L, !0), L.status = Xe.initial;
2395
2395
  }
2396
- function Q(H) {
2397
- V(H, !1), H.status = Xe.initial;
2396
+ function Q(L) {
2397
+ V(L, !1), L.status = Xe.initial;
2398
2398
  }
2399
- function re(H, N, A) {
2399
+ function re(L, N, A) {
2400
2400
  const U = N.dataType, q = N.editor || {
2401
2401
  type: p.get(U) || "input-group"
2402
2402
  };
2403
- return !u.value && q.type === "text" && (q.type = "input-group"), q && v(H.column) ? (q.type === "input-group" && (q.textAlign = N.align !== "center" && N.align !== "right" ? "left" : N.align, q.updateOn = "change"), q.type === "number-spinner" && (q.updateOn = "change"), q.type === "textarea" && (q.lineBreak = "alt enter"), q.context = {
2403
+ return !u.value && q.type === "text" && (q.type = "input-group"), q && v(L.column) ? (q.type === "input-group" && (q.textAlign = N.align !== "center" && N.align !== "right" ? "left" : N.align, q.updateOn = "change"), q.type === "number-spinner" && (q.updateOn = "change"), q.type === "textarea" && (q.lineBreak = "alt enter"), q.context = {
2404
2404
  rowData: A.raw,
2405
2405
  column: N,
2406
- cell: H,
2406
+ cell: L,
2407
2407
  editor: x
2408
2408
  }, q.readonly = !1, O(Ji, {
2409
2409
  focusOnCreated: t.focusOnEditingCell,
2410
2410
  selectOnCreated: t.selectOnEditingCell,
2411
2411
  editor: q,
2412
- modelValue: H.editingData,
2413
- "onUpdate:modelValue": (te) => H.editingData = te,
2412
+ modelValue: L.editingData,
2413
+ "onUpdate:modelValue": (te) => L.editingData = te,
2414
2414
  id: N.id,
2415
2415
  onMousedown: (te) => _(te),
2416
2416
  onMouseup: (te) => k(te)
2417
- }, null)) : H.data;
2417
+ }, null)) : L.data;
2418
2418
  }
2419
2419
  function ke() {
2420
2420
  w(f);
@@ -2422,10 +2422,10 @@ function tl(t, e, n, i, o) {
2422
2422
  ve(() => t.editable, () => {
2423
2423
  d.value = t.editable;
2424
2424
  }), ve(() => {
2425
- var H;
2426
- return (H = t.editOption) == null ? void 0 : H.editMode;
2427
- }, (H) => {
2428
- m.value.editMode = H;
2425
+ var L;
2426
+ return (L = t.editOption) == null ? void 0 : L.editMode;
2427
+ }, (L) => {
2428
+ m.value.editMode = L;
2429
2429
  });
2430
2430
  function we() {
2431
2431
  f = null, h = null, M = null, b = null, document.body.removeEventListener("click", I, !0);
@@ -2435,7 +2435,7 @@ function tl(t, e, n, i, o) {
2435
2435
  onClickOutOfCell: I,
2436
2436
  onClickCell: E,
2437
2437
  onClickCellByKeyboard: R,
2438
- onEditingRow: L,
2438
+ onEditingRow: $,
2439
2439
  acceptEditingRow: Z,
2440
2440
  cancelEditingRow: Q,
2441
2441
  getEditingSnapshot: T,
@@ -2486,8 +2486,8 @@ function il(t, e, n, i) {
2486
2486
  "fv-grid-disabled": P.disabled
2487
2487
  };
2488
2488
  if ((k = t.rowOption) != null && k.customRowStyle) {
2489
- const j = t.rowOption.customRowStyle(P.raw) || {};
2490
- return Object.assign({}, _, j.class || {});
2489
+ const G = t.rowOption.customRowStyle(P.raw) || {};
2490
+ return Object.assign({}, _, G.class || {});
2491
2491
  }
2492
2492
  return _;
2493
2493
  }
@@ -2518,9 +2518,9 @@ function il(t, e, n, i) {
2518
2518
  f(E), R !== E && e.emit("selectionChange", [P.raw], { id: E, data: P.raw });
2519
2519
  }
2520
2520
  function x(P, R) {
2521
- var k, j;
2521
+ var k, G;
2522
2522
  if (s.value && !(R != null && R.shiftKey) || a.value) {
2523
- (k = t.selection) != null && k.keepSelectingOnClick ? d(P) : m(P, (j = t.selection) == null ? void 0 : j.keepSelectingOnClick), u();
2523
+ (k = t.selection) != null && k.keepSelectingOnClick ? d(P) : m(P, (G = t.selection) == null ? void 0 : G.keepSelectingOnClick), u();
2524
2524
  return;
2525
2525
  }
2526
2526
  if (s.value && (R == null ? void 0 : R.shiftKey) || r.value) {
@@ -2558,8 +2558,8 @@ function il(t, e, n, i) {
2558
2558
  "align-items-center": !0
2559
2559
  };
2560
2560
  if ((k = t.rowOption) != null && k.customRowStyle) {
2561
- const j = t.rowOption.customRowStyle(P.raw) || {};
2562
- return Object.assign({}, _, j.class || {});
2561
+ const G = t.rowOption.customRowStyle(P.raw) || {};
2562
+ return Object.assign({}, _, G.class || {});
2563
2563
  }
2564
2564
  return _;
2565
2565
  }
@@ -2579,77 +2579,77 @@ function il(t, e, n, i) {
2579
2579
  };
2580
2580
  }
2581
2581
  function ol(t, e, n, i, o) {
2582
- const { idField: l } = n, { dataView: r, getSelectionItems: s } = e, d = F(""), m = $(() => t.selection.enableSelectRow), u = F(t.selection.multiSelect ?? !1), a = F(t.selection.multiSelectMode || "DependOnCheck"), c = F(t.selection.showCheckbox), p = $(() => {
2583
- var G;
2584
- return !!((G = t.selection) != null && G.showSelectAll);
2585
- }), f = F(t.selectionValues || []), h = $(() => t.selection.showSelection), y = $(() => {
2586
- var G;
2587
- return ((G = t.selection) == null ? void 0 : G.keepSelectingOnPaging) === void 0 ? !0 : t.selection.keepSelectingOnPaging;
2588
- }), M = F(!!f.value.length && i.value.length === f.value.length), b = F(!!f.value.length && i.value.length !== f.value.length), T = $(() => m.value && u.value), x = $(
2582
+ const { idField: l } = n, { dataView: r, getSelectionItems: s } = e, d = F(""), m = H(() => t.selection.enableSelectRow), u = F(t.selection.multiSelect ?? !1), a = F(t.selection.multiSelectMode || "DependOnCheck"), c = F(t.selection.showCheckbox), p = H(() => {
2583
+ var j;
2584
+ return !!((j = t.selection) != null && j.showSelectAll);
2585
+ }), f = F(t.selectionValues || []), h = H(() => t.selection.showSelection), y = H(() => {
2586
+ var j;
2587
+ return ((j = t.selection) == null ? void 0 : j.keepSelectingOnPaging) === void 0 ? !0 : t.selection.keepSelectingOnPaging;
2588
+ }), M = F(!!f.value.length && i.value.length === f.value.length), b = F(!!f.value.length && i.value.length !== f.value.length), T = H(() => m.value && u.value), x = H(
2589
2589
  () => m.value && !u.value && !c.value
2590
- ), v = $(() => !!t.hierarchy), S = $(() => {
2591
- const G = c.value && a.value === "DependOnCheck";
2592
- return T.value && G;
2593
- }), g = $(() => T.value && !c.value), C = $(() => T.value && c.value && a.value === "OnCheckAndClick");
2590
+ ), v = H(() => !!t.hierarchy), S = H(() => {
2591
+ const j = c.value && a.value === "DependOnCheck";
2592
+ return T.value && j;
2593
+ }), g = H(() => T.value && !c.value), C = H(() => T.value && c.value && a.value === "OnCheckAndClick");
2594
2594
  function w() {
2595
2595
  if (!y.value) {
2596
- const G = r.value.map((K) => K[l.value]);
2597
- f.value = f.value.filter((K) => G.includes(K));
2596
+ const j = r.value.map((K) => K[l.value]);
2597
+ f.value = f.value.filter((K) => j.includes(K));
2598
2598
  }
2599
2599
  }
2600
2600
  function I() {
2601
- const G = r.value.every((Y) => f.value.includes(Y[l.value])), K = r.value.every((Y) => !f.value.includes(Y[l.value]));
2602
- G && (M.value = !0, b.value = !1), K && (M.value = !1, b.value = !1), !G && !K && (M.value = !1, b.value = !0);
2601
+ const j = r.value.every((Y) => f.value.includes(Y[l.value])), K = r.value.every((Y) => !f.value.includes(Y[l.value]));
2602
+ j && (M.value = !0, b.value = !1), K && (M.value = !1, b.value = !1), !j && !K && (M.value = !1, b.value = !0);
2603
2603
  }
2604
2604
  function B() {
2605
2605
  return s(f.value);
2606
2606
  }
2607
2607
  function P() {
2608
- const G = i.value.reduce((Y, ye) => (Y.set(ye.raw[l.value], ye), Y), /* @__PURE__ */ new Map());
2609
- return f.value.map((Y) => G.get(Y)).filter((Y) => !!Y);
2608
+ const j = i.value.reduce((Y, ye) => (Y.set(ye.raw[l.value], ye), Y), /* @__PURE__ */ new Map());
2609
+ return f.value.map((Y) => j.get(Y)).filter((Y) => !!Y);
2610
2610
  }
2611
- function R(G) {
2611
+ function R(j) {
2612
2612
  var Y;
2613
- const K = G.raw.__fv_children_index__;
2613
+ const K = j.raw.__fv_children_index__;
2614
2614
  if (K && K.length) {
2615
2615
  const ye = K.map((be) => r.value[be]);
2616
- (Y = f.value) != null && Y.length && ye.some((Re) => !f.value.includes(Re[l.value])) && (G.indeterminate = !0, G.raw.__fv_indeterminate__ = !0);
2616
+ (Y = f.value) != null && Y.length && ye.some((Re) => !f.value.includes(Re[l.value])) && (j.indeterminate = !0, j.raw.__fv_indeterminate__ = !0);
2617
2617
  }
2618
2618
  }
2619
2619
  function E() {
2620
- const G = s(f.value);
2621
- o.emit("selectionUpdate", G, f.value);
2620
+ const j = s(f.value);
2621
+ o.emit("selectionUpdate", j, f.value);
2622
2622
  }
2623
- function _(G) {
2624
- o.emit("unSelectItem", G);
2623
+ function _(j) {
2624
+ o.emit("unSelectItem", j);
2625
2625
  }
2626
- function k(G) {
2627
- o.emit("selectItem", G);
2626
+ function k(j) {
2627
+ o.emit("selectItem", j);
2628
2628
  }
2629
- function j() {
2630
- const G = i.value.filter((Y) => Y.indeterminate).map((Y) => Y.raw[l.value]);
2629
+ function G() {
2630
+ const j = i.value.filter((Y) => Y.indeterminate).map((Y) => Y.raw[l.value]);
2631
2631
  i.value.forEach((Y) => {
2632
2632
  Y.checked = !1, Y.indeterminate = !1, Y.raw.__fv_checked__ = !1, Y.raw.__fv_indeterminate__ = !1;
2633
2633
  }), P().forEach((Y) => {
2634
2634
  Y.checked = !0, Y.raw.__fv_checked__ = !0;
2635
- }), G.forEach((Y) => {
2635
+ }), j.forEach((Y) => {
2636
2636
  const ye = i.value.find((be) => be.raw[l.value] === Y);
2637
2637
  R(ye);
2638
2638
  });
2639
2639
  }
2640
2640
  ve(() => i.value, () => {
2641
- j();
2642
- }), ve(() => t.selectionValues, (G) => {
2643
- f.value = G, j();
2644
- }, { immediate: !0 }), ve(() => t.selection, (G) => {
2645
- u.value = !!G.multiSelect, a.value = G.multiSelectMode || "DependOnCheck", c.value = !!G.showCheckbox;
2641
+ G();
2642
+ }), ve(() => t.selectionValues, (j) => {
2643
+ f.value = j, G();
2644
+ }, { immediate: !0 }), ve(() => t.selection, (j) => {
2645
+ u.value = !!j.multiSelect, a.value = j.multiSelectMode || "DependOnCheck", c.value = !!j.showCheckbox;
2646
2646
  });
2647
- const V = $(() => !u.value);
2648
- function L(G) {
2649
- return G.raw[l.value];
2647
+ const V = H(() => !u.value);
2648
+ function $(j) {
2649
+ return j.raw[l.value];
2650
2650
  }
2651
- function Z(G) {
2652
- return f.value.findIndex((Y) => Y === L(G));
2651
+ function Z(j) {
2652
+ return f.value.findIndex((Y) => Y === $(j));
2653
2653
  }
2654
2654
  function Q() {
2655
2655
  P().forEach((Y) => {
@@ -2658,71 +2658,71 @@ function ol(t, e, n, i, o) {
2658
2658
  Y.__fv_checked__ = !1;
2659
2659
  }), f.value = [], I();
2660
2660
  }
2661
- function re(G) {
2662
- const K = G;
2661
+ function re(j) {
2662
+ const K = j;
2663
2663
  K.__fv_checked__ = !0, K.__fv_indeterminate__ = !1;
2664
2664
  const Y = new Set(f.value);
2665
2665
  Y.add(K[l.value]), f.value = Array.from(Y.values()), w();
2666
2666
  }
2667
- function ke(G) {
2668
- const K = G;
2667
+ function ke(j) {
2668
+ const K = j;
2669
2669
  K.__fv_checked__ = !1, K.__fv_indeterminate__ = !1, f.value = f.value.filter((Y) => Y !== K[l.value]), w();
2670
2670
  }
2671
- function we(G) {
2672
- const K = G.raw;
2671
+ function we(j) {
2672
+ const K = j.raw;
2673
2673
  K.__fv_checked__ = !0, K.__fv_indeterminate__ = !1;
2674
2674
  const Y = new Set(f.value);
2675
- Y.add(K[l.value]), f.value = Array.from(Y.values()), w(), G.checked = !0, G.indeterminate = !1, E(), k(G);
2675
+ Y.add(K[l.value]), f.value = Array.from(Y.values()), w(), j.checked = !0, j.indeterminate = !1, E(), k(j);
2676
2676
  }
2677
- function Te(G) {
2678
- const K = G.raw;
2679
- K.__fv_checked__ = !1, K.__fv_indeterminate__ = !1, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), G.checked = !1, G.indeterminate = !1, E(), _(G);
2677
+ function Te(j) {
2678
+ const K = j.raw;
2679
+ K.__fv_checked__ = !1, K.__fv_indeterminate__ = !1, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), j.checked = !1, j.indeterminate = !1, E(), _(j);
2680
2680
  }
2681
- function H(G) {
2682
- G.disabled || we(G);
2681
+ function L(j) {
2682
+ j.disabled || we(j);
2683
2683
  }
2684
- function N(G) {
2685
- G.disabled || Te(G);
2684
+ function N(j) {
2685
+ j.disabled || Te(j);
2686
2686
  }
2687
- function A(G) {
2688
- G.__fv_checked__ = !1, G.__fv_indeterminate__ = !0, f.value = f.value.filter((K) => K !== G[l.value]), w();
2687
+ function A(j) {
2688
+ j.__fv_checked__ = !1, j.__fv_indeterminate__ = !0, f.value = f.value.filter((K) => K !== j[l.value]), w();
2689
2689
  }
2690
- function U(G) {
2691
- const K = G.raw;
2692
- K.__fv_checked__ = !1, K.__fv_indeterminate__ = !0, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), G.checked = !1, G.indeterminate = !0;
2690
+ function U(j) {
2691
+ const K = j.raw;
2692
+ K.__fv_checked__ = !1, K.__fv_indeterminate__ = !0, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), j.checked = !1, j.indeterminate = !0;
2693
2693
  }
2694
- function q(G) {
2695
- V.value && Q(), G.checked ? Te(G) : we(G);
2694
+ function q(j) {
2695
+ V.value && Q(), j.checked ? Te(j) : we(j);
2696
2696
  }
2697
- function te(G, K = !0) {
2698
- const Y = G.checked;
2699
- V.value && Q(), K ? G.checked ? N(G) : H(G) : Y ? N(G) : H(G);
2697
+ function te(j, K = !0) {
2698
+ const Y = j.checked;
2699
+ V.value && Q(), K ? j.checked ? N(j) : L(j) : Y ? N(j) : L(j);
2700
2700
  }
2701
- function se(G) {
2702
- Q(), H(G);
2701
+ function se(j) {
2702
+ Q(), L(j);
2703
2703
  }
2704
- function de(G) {
2705
- const K = i.value.find((Y) => Y.raw[l.value] === G);
2704
+ function de(j) {
2705
+ const K = i.value.find((Y) => Y.raw[l.value] === j);
2706
2706
  if (K)
2707
2707
  se(K);
2708
2708
  else {
2709
- const Y = r.value.find((ye) => ye[l.value] === G);
2709
+ const Y = r.value.find((ye) => ye[l.value] === j);
2710
2710
  Y && re(Y);
2711
2711
  }
2712
2712
  }
2713
- function fe(G) {
2714
- const K = i.value.filter((be) => G.includes(be.raw[l.value])), Y = K.map((be) => be.raw[l.value]), ye = r.value.filter((be) => {
2713
+ function fe(j) {
2714
+ const K = i.value.filter((be) => j.includes(be.raw[l.value])), Y = K.map((be) => be.raw[l.value]), ye = r.value.filter((be) => {
2715
2715
  const Re = be[l.value];
2716
- return !Y.includes(Re) && G.includes(Re);
2716
+ return !Y.includes(Re) && j.includes(Re);
2717
2717
  });
2718
2718
  K.length || ye.length, K.forEach((be) => {
2719
- H(be);
2719
+ L(be);
2720
2720
  }), ye.forEach((be) => {
2721
2721
  re(be);
2722
2722
  });
2723
2723
  }
2724
- function ge(G) {
2725
- for (const K of G) {
2724
+ function ge(j) {
2725
+ for (const K of j) {
2726
2726
  if (!f.value.includes(K))
2727
2727
  continue;
2728
2728
  const Y = i.value.find((ye) => ye.raw[l.value] === K);
@@ -2734,25 +2734,25 @@ function ol(t, e, n, i, o) {
2734
2734
  }
2735
2735
  }
2736
2736
  f.value = f.value.filter(
2737
- (K) => !G.includes(K)
2737
+ (K) => !j.includes(K)
2738
2738
  ), w();
2739
2739
  }
2740
2740
  function me() {
2741
- i.value.forEach((G) => {
2742
- const K = G.raw;
2741
+ i.value.forEach((j) => {
2742
+ const K = j.raw;
2743
2743
  K.__fv_checked__ = !0, K.__fv_indeterminate__ = !1;
2744
2744
  const Y = new Set(f.value);
2745
- Y.add(K[l.value]), f.value = Array.from(Y.values()), w(), G.checked = !0, G.indeterminate = !1;
2745
+ Y.add(K[l.value]), f.value = Array.from(Y.values()), w(), j.checked = !0, j.indeterminate = !1;
2746
2746
  });
2747
2747
  }
2748
2748
  function Ie() {
2749
- i.value.forEach((G) => {
2750
- const K = G.raw;
2751
- K.__fv_checked__ = !1, K.__fv_indeterminate__ = !1, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), G.checked = !1, G.indeterminate = !1;
2749
+ i.value.forEach((j) => {
2750
+ const K = j.raw;
2751
+ K.__fv_checked__ = !1, K.__fv_indeterminate__ = !1, f.value = f.value.filter((Y) => Y !== K[l.value]), w(), j.checked = !1, j.indeterminate = !1;
2752
2752
  });
2753
2753
  }
2754
- function Le() {
2755
- return i.value.find((G) => G.raw[l.value] === d.value);
2754
+ function $e() {
2755
+ return i.value.find((j) => j.raw[l.value] === d.value);
2756
2756
  }
2757
2757
  function Se() {
2758
2758
  d.value = "";
@@ -2764,7 +2764,7 @@ function ol(t, e, n, i, o) {
2764
2764
  enableSelectRow: m,
2765
2765
  findIndexInSelectedItems: Z,
2766
2766
  getSelectedItems: B,
2767
- getSelectionRow: Le,
2767
+ getSelectionRow: $e,
2768
2768
  indeterminate: U,
2769
2769
  indeterminateDataItem: A,
2770
2770
  isSelectingHirarchyItem: v,
@@ -2772,7 +2772,7 @@ function ol(t, e, n, i, o) {
2772
2772
  multiSelectOnClickRow: C,
2773
2773
  multiSelectOnClickRowWithShift: g,
2774
2774
  multiSelectOnlyOnCheck: S,
2775
- select: H,
2775
+ select: L,
2776
2776
  selectAll: me,
2777
2777
  selectedValues: f,
2778
2778
  selectDataItem: re,
@@ -2799,10 +2799,10 @@ function ol(t, e, n, i, o) {
2799
2799
  }
2800
2800
  function ll(t, e) {
2801
2801
  var y, M;
2802
- const n = String(Date.now()), i = 50, { showCheckBox: o } = e, l = F(((y = t.rowNumber) == null ? void 0 : y.enable) ?? !1), r = $(() => t.hierarchy && o.value && t.selection.enableSelectRow && t.selection.multiSelect ? !0 : o.value), s = F(l.value ? ((M = t.rowNumber) == null ? void 0 : M.width) ?? 36 : 0), d = F(r.value ? i : 0), m = $(() => {
2802
+ const n = String(Date.now()), i = 50, { showCheckBox: o } = e, l = F(((y = t.rowNumber) == null ? void 0 : y.enable) ?? !1), r = H(() => t.hierarchy && o.value && t.selection.enableSelectRow && t.selection.multiSelect ? !0 : o.value), s = F(l.value ? ((M = t.rowNumber) == null ? void 0 : M.width) ?? 36 : 0), d = F(r.value ? i : 0), m = H(() => {
2803
2803
  var b, T;
2804
2804
  return l.value ? ((b = t.rowNumber) == null ? void 0 : b.heading) === "序号" ? Ae.getLocaleValue("datagrid.lineNumberTitle") : (T = t.rowNumber) == null ? void 0 : T.heading : "";
2805
- }), u = $(() => (r.value ? Number(d.value) : 0) + (l.value ? Number(s.value) : 0)), a = $(() => r.value && (!t.hierarchy || t.hierarchy && t.checkboxPosition === "leading"));
2805
+ }), u = H(() => (r.value ? Number(d.value) : 0) + (l.value ? Number(s.value) : 0)), a = H(() => r.value && (!t.hierarchy || t.hierarchy && t.checkboxPosition === "leading"));
2806
2806
  ve(() => t.rowNumber, (b) => {
2807
2807
  b && b.enable !== void 0 && (l.value = b.enable), b && b.width !== void 0 && (s.value = b.width);
2808
2808
  });
@@ -2819,7 +2819,7 @@ function ll(t, e) {
2819
2819
  }
2820
2820
  return T;
2821
2821
  }
2822
- const p = $(() => ({
2822
+ const p = H(() => ({
2823
2823
  width: `${u.value}px`
2824
2824
  }));
2825
2825
  function f(b) {
@@ -2912,10 +2912,10 @@ function cl(t, e, n, i, o = "data-grid-column") {
2912
2912
  };
2913
2913
  return l.value.headerDepth > 1 && (R["line-height"] = `${I.depth * c}px`), p.set(B + 1, P + (I.actualWidth || a)), R;
2914
2914
  }
2915
- const h = $(() => ({
2915
+ const h = H(() => ({
2916
2916
  "fv-grid-header": !0,
2917
2917
  "fv-grid-header-group-columns": l.value.headerDepth > 1
2918
- })), y = $(() => ({
2918
+ })), y = H(() => ({
2919
2919
  height: `${l.value.headerDepth * c}px`
2920
2920
  })), M = function(I) {
2921
2921
  return e.showSetting && !!I.showSetting;
@@ -3043,10 +3043,12 @@ const Ct = {
3043
3043
  drawer: { type: "drawer", name: "抽屉" },
3044
3044
  "external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
3045
3045
  "list-nav": { type: "list-nav", name: "列表导航" },
3046
+ nav: { type: "nav", name: "标签类导航" },
3046
3047
  "list-view": { type: "list-view", name: "列表" },
3047
3048
  "filter-bar": { type: "filter-bar", name: "筛选条" },
3048
3049
  "language-textbox": { type: "language-textbox", name: "多语输入框" },
3049
3050
  image: { type: "image", name: "图像" },
3051
+ avatar: { type: "avatar", name: "头像" },
3050
3052
  "discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
3051
3053
  "discussion-list": { type: "discussion-list", name: "评论列表" },
3052
3054
  comment: { type: "comment", name: "评论区" },
@@ -3054,7 +3056,8 @@ const Ct = {
3054
3056
  calendar: { type: "calendar", name: "日历", icon: "date-picker" },
3055
3057
  wizard: { type: "wizard", name: "向导", icon: "wizard" },
3056
3058
  "wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
3057
- "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
3059
+ "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
3060
+ step: { type: "step", name: "步骤条", icon: "step" }
3058
3061
  };
3059
3062
  class fl extends mo {
3060
3063
  constructor(e, n) {
@@ -3209,7 +3212,7 @@ const dt = /* @__PURE__ */ it({
3209
3212
  }), ii("data-grid-context", {
3210
3213
  dataGridProps: t
3211
3214
  }), e.expose(r.value);
3212
- const s = F(t.columns), d = 20, m = nl(t), u = 0, a = F(), c = F(), p = F(t.showStripe), f = F([]), h = F(!1), y = F(((Se = t.rowOption) == null ? void 0 : Se.wrapContent) || !1), M = Lo(t, e), b = zo(t), T = Vo(t, /* @__PURE__ */ new Map(), M, b, m), x = ol(t, T, m, f, e), v = $(() => T.totalItems.value < d ? T.totalItems.value : d), {
3215
+ const s = F(t.columns), d = 20, m = nl(t), u = 0, a = F(), c = F(), p = F(t.showStripe), f = F([]), h = F(!1), y = F(((Se = t.rowOption) == null ? void 0 : Se.wrapContent) || !1), M = $o(t, e), b = zo(t), T = Vo(t, /* @__PURE__ */ new Map(), M, b, m), x = ol(t, T, m, f, e), v = H(() => T.totalItems.value < d ? T.totalItems.value : d), {
3213
3216
  containerStyleObject: S
3214
3217
  } = _o(t), g = ko(t), {
3215
3218
  applyCommands: C
@@ -3221,46 +3224,46 @@ const dt = /* @__PURE__ */ it({
3221
3224
  updateColumnRenderContext: R
3222
3225
  } = w;
3223
3226
  B(T, I);
3224
- const E = Eo(t, P), _ = il(t, e, x, m), k = tl(t, e, m, _), j = Go(t), V = Jo(t, k, j), L = Qo(t, T, k, b, m, j, V), Z = Ko(t, m, V, L), Q = el(t, m, V, L), re = wo(t, s, T, v, u, L, Z, Q), {
3227
+ const E = Eo(t, P), _ = il(t, e, x, m), k = tl(t, e, m, _), G = jo(t), V = Jo(t, k, G), $ = Qo(t, T, k, b, m, G, V), Z = Ko(t, m, V, $), Q = el(t, m, V, $), re = wo(t, s, T, v, u, $, Z, Q), {
3225
3228
  getVisualData: ke
3226
3229
  } = re, we = ll(t, x), {
3227
3230
  sidebarWidth: Te
3228
3231
  } = we;
3229
3232
  f.value = ke(0, v.value + u - 1);
3230
- const H = Wo(t, T, f, P, re, v, u, Te), {
3233
+ const L = Wo(t, T, f, P, re, v, u, Te), {
3231
3234
  onWheel: N,
3232
3235
  dataGridWidth: A,
3233
3236
  viewPortHeight: U,
3234
3237
  viewPortWidth: q
3235
- } = H, te = yo(t, P, a, q, E), {
3238
+ } = L, te = yo(t, P, a, q, E), {
3236
3239
  calculateColumnsSize: se
3237
- } = te, de = $(() => ({
3240
+ } = te, de = H(() => ({
3238
3241
  "fv-grid": !0,
3239
3242
  "fv-grid-bordered": !0,
3240
3243
  "fv-datagrid-strip": p.value
3241
- })), fe = $(() => ({
3244
+ })), fe = H(() => ({
3242
3245
  "fv-grid-content": !0,
3243
3246
  "fv-grid-content-hover": h.value,
3244
3247
  "fv-grid-wrap-content": y.value
3245
3248
  })), {
3246
3249
  renderGridHeader: ge
3247
- } = cl(o, t, w, H), {
3250
+ } = cl(o, t, w, L), {
3248
3251
  renderHorizontalScrollbar: me
3249
- } = Fo(t, a, H);
3252
+ } = Fo(t, a, L);
3250
3253
  function Ie() {
3251
- var G, K;
3252
- U.value = ((G = c.value) == null ? void 0 : G.clientHeight) || 0, A.value = ((K = a.value) == null ? void 0 : K.clientWidth) || 0, se();
3254
+ var j, K;
3255
+ U.value = ((j = c.value) == null ? void 0 : j.clientHeight) || 0, A.value = ((K = a.value) == null ? void 0 : K.clientWidth) || 0, se();
3253
3256
  }
3254
3257
  Ke(() => {
3255
3258
  a.value && (gi(a.value, Ie), se(), at(() => {
3256
3259
  a.value && (A.value = a.value.clientWidth), c.value && (q.value = c.value.clientWidth, U.value = c.value.clientHeight);
3257
3260
  }));
3258
3261
  });
3259
- function Le(G) {
3260
- G && (s.value = G, C(s), R(s.value), B(T, I), se());
3262
+ function $e(j) {
3263
+ j && (s.value = j, C(s), R(s.value), B(T, I), se());
3261
3264
  }
3262
- return ve(() => t.columns, (G) => {
3263
- Le(G), bt.value++;
3265
+ return ve(() => t.columns, (j) => {
3266
+ $e(j), bt.value++;
3264
3267
  }), ve(q, () => {
3265
3268
  a.value && se();
3266
3269
  }), () => O("div", {
@@ -3416,14 +3419,14 @@ const dt = /* @__PURE__ */ it({
3416
3419
  props: gl,
3417
3420
  emits: ["click"],
3418
3421
  setup(t, e) {
3419
- const n = F(t.popupContentPosition), i = F(t.host), o = $(() => ({
3422
+ const n = F(t.popupContentPosition), i = F(t.host), o = H(() => ({
3420
3423
  backgroundColor: t.backgroundColor || "",
3421
3424
  pointerEvents: "auto"
3422
3425
  }));
3423
3426
  function l(s) {
3424
3427
  e.emit("click"), s.preventDefault(), s.stopPropagation();
3425
3428
  }
3426
- $(() => {
3429
+ H(() => {
3427
3430
  const s = i.value;
3428
3431
  if (s) {
3429
3432
  const d = s.getBoundingClientRect(), {
@@ -3438,7 +3441,7 @@ const dt = /* @__PURE__ */ it({
3438
3441
  }
3439
3442
  return n.value;
3440
3443
  });
3441
- const r = $(() => ({
3444
+ const r = H(() => ({
3442
3445
  // position: 'relative',
3443
3446
  // left: `${position.value.left}px`,
3444
3447
  // top: `${position.value.top}px`
@@ -3669,43 +3672,43 @@ class rt {
3669
3672
  function wl(t, e) {
3670
3673
  const n = F(), i = F(), o = F(), l = F(), r = F(), s = F(), d = F(), m = F(), u = F(), a = F(), c = F(), p = F(t.resizeable), f = F(), h = F(t.draggable), y = F(!1);
3671
3674
  function M() {
3672
- const V = i.value || document.body, L = window.getComputedStyle(V);
3673
- if (!L || !n.value)
3675
+ const V = i.value || document.body, $ = window.getComputedStyle(V);
3676
+ if (!$ || !n.value)
3674
3677
  return;
3675
3678
  const Z = Pe.getTransformInfo(n.value), Q = {};
3676
3679
  d.value && (Q.deltaL = n.value.offsetLeft - d.value.x, Q.deltaT = n.value.offsetTop - d.value.y);
3677
- const re = L.getPropertyValue("position");
3678
- Q.width = V.clientWidth, Q.height = V.clientHeight, Q.pr = parseInt(L.getPropertyValue("padding-right"), 10), Q.pb = parseInt(L.getPropertyValue("padding-bottom"), 10), Q.position = L.getPropertyValue("position"), re === "static" && (V.style.position = "relative"), Q.translateX = Z.x, Q.translateY = Z.y, a.value = Q;
3680
+ const re = $.getPropertyValue("position");
3681
+ Q.width = V.clientWidth, Q.height = V.clientHeight, Q.pr = parseInt($.getPropertyValue("padding-right"), 10), Q.pb = parseInt($.getPropertyValue("padding-bottom"), 10), Q.position = $.getPropertyValue("position"), re === "static" && (V.style.position = "relative"), Q.translateX = Z.x, Q.translateY = Z.y, a.value = Q;
3679
3682
  }
3680
3683
  function b(V) {
3681
3684
  if (n.value) {
3682
3685
  l.value = rt.getCurrent(n.value), r.value = Pe.getCurrent(n.value), s.value = l.value ? rt.copy(l.value) : null, d.value = r.value ? Pe.copy(r.value) : null, M();
3683
- const L = V.target.getAttribute("type") || "";
3686
+ const $ = V.target.getAttribute("type") || "";
3684
3687
  m.value = {
3685
- n: !!L.match(/n/),
3686
- s: !!L.match(/s/),
3687
- w: !!L.match(/w/),
3688
- e: !!L.match(/e/)
3688
+ n: !!$.match(/n/),
3689
+ s: !!$.match(/s/),
3690
+ w: !!$.match(/w/),
3691
+ e: !!$.match(/e/)
3689
3692
  };
3690
3693
  }
3691
3694
  }
3692
3695
  function T() {
3693
- var V, L, Z, Q;
3696
+ var V, $, Z, Q;
3694
3697
  if (n.value) {
3695
3698
  const re = n.value;
3696
- m.value && ((m.value.n || m.value.s) && ((V = s.value) != null && V.height) && (re.style.height = s.value.height + "px"), (m.value.w || m.value.e) && ((L = s.value) != null && L.width) && (re.style.width = s.value.width + "px"), d.value && ((Z = d.value) != null && Z.x && (re.style.left = d.value.x + "px"), (Q = d.value) != null && Q.y && (re.style.top = d.value.y + "px")));
3699
+ m.value && ((m.value.n || m.value.s) && ((V = s.value) != null && V.height) && (re.style.height = s.value.height + "px"), (m.value.w || m.value.e) && (($ = s.value) != null && $.width) && (re.style.width = s.value.width + "px"), d.value && ((Z = d.value) != null && Z.x && (re.style.left = d.value.x + "px"), (Q = d.value) != null && Q.y && (re.style.top = d.value.y + "px")));
3697
3700
  }
3698
3701
  }
3699
3702
  function x() {
3700
- const V = t.minHeight ? t.minHeight : 1, L = t.minWidth ? t.minWidth : 1;
3701
- s.value && d.value && m.value && l.value && (s.value.height < V && (s.value.height = V, m.value.n && r.value && (d.value.y = r.value.y + (l.value.height - V))), s.value.width < L && (s.value.width = L, m.value.w && r.value && (d.value.x = r.value.x + (l.value.width - L))), t.maxHeight && s.value.height > t.maxHeight && (s.value.height = t.maxHeight, r.value && m.value.n && (d.value.y = r.value.y + (l.value.height - t.maxHeight))), t.maxWidth && s.value.width > t.maxWidth && (s.value.width = t.maxWidth, m.value.w && r.value && (d.value.x = r.value.x + (l.value.width - t.maxWidth))));
3703
+ const V = t.minHeight ? t.minHeight : 1, $ = t.minWidth ? t.minWidth : 1;
3704
+ s.value && d.value && m.value && l.value && (s.value.height < V && (s.value.height = V, m.value.n && r.value && (d.value.y = r.value.y + (l.value.height - V))), s.value.width < $ && (s.value.width = $, m.value.w && r.value && (d.value.x = r.value.x + (l.value.width - $))), t.maxHeight && s.value.height > t.maxHeight && (s.value.height = t.maxHeight, r.value && m.value.n && (d.value.y = r.value.y + (l.value.height - t.maxHeight))), t.maxWidth && s.value.width > t.maxWidth && (s.value.width = t.maxWidth, m.value.w && r.value && (d.value.x = r.value.x + (l.value.width - t.maxWidth))));
3702
3705
  }
3703
3706
  function v() {
3704
3707
  if (i.value) {
3705
3708
  const V = a.value;
3706
3709
  if (d.value && s.value && m.value && l.value) {
3707
- const L = V.width - V.pr - V.deltaL - V.translateX - d.value.x, Z = V.height - V.pb - V.deltaT - V.translateY - d.value.y;
3708
- m.value.n && d.value.y + V.translateY < 0 && r.value && (d.value.y = -V.translateY, s.value.height = l.value.height + r.value.y + V.translateY), m.value.w && d.value.x + V.translateX < 0 && r.value && (d.value.x = -V.translateX, s.value.width = l.value.width + r.value.x + V.translateX), s.value.width > L && (s.value.width = L), s.value.height > Z && (s.value.height = Z);
3710
+ const $ = V.width - V.pr - V.deltaL - V.translateX - d.value.x, Z = V.height - V.pb - V.deltaT - V.translateY - d.value.y;
3711
+ m.value.n && d.value.y + V.translateY < 0 && r.value && (d.value.y = -V.translateY, s.value.height = l.value.height + r.value.y + V.translateY), m.value.w && d.value.x + V.translateX < 0 && r.value && (d.value.x = -V.translateX, s.value.width = l.value.width + r.value.x + V.translateX), s.value.width > $ && (s.value.width = $), s.value.height > Z && (s.value.height = Z);
3709
3712
  }
3710
3713
  }
3711
3714
  }
@@ -3713,27 +3716,27 @@ function wl(t, e) {
3713
3716
  if (!o.value || !l.value || !r.value || !m.value)
3714
3717
  return;
3715
3718
  V.subtract(o.value);
3716
- const L = V.x, Z = V.y;
3717
- m.value.n ? (d.value.y = r.value.y + Z, s.value.height = l.value.height - Z) : m.value.s && (s.value.height = l.value.height + Z), m.value.e ? s.value.width = l.value.width + L : m.value.w && (s.value.width = l.value.width - L, d.value.x = r.value.x + L), v(), x(), T();
3719
+ const $ = V.x, Z = V.y;
3720
+ m.value.n ? (d.value.y = r.value.y + Z, s.value.height = l.value.height - Z) : m.value.s && (s.value.height = l.value.height + Z), m.value.e ? s.value.width = l.value.width + $ : m.value.w && (s.value.width = l.value.width - $, d.value.x = r.value.x + $), v(), x(), T();
3718
3721
  }
3719
3722
  function g(V) {
3720
3723
  if (!u.value)
3721
3724
  return;
3722
- const L = Pe.fromEvent(V);
3723
- L && S(L);
3725
+ const $ = Pe.fromEvent(V);
3726
+ $ && S($);
3724
3727
  }
3725
3728
  function C() {
3726
3729
  if (n.value) {
3727
3730
  const {
3728
3731
  width: V,
3729
- height: L,
3732
+ height: $,
3730
3733
  x: Z,
3731
3734
  y: Q
3732
3735
  } = n.value.getBoundingClientRect(), re = Pe.getTransformInfo(n.value);
3733
3736
  return {
3734
3737
  size: {
3735
3738
  width: V,
3736
- height: L
3739
+ height: $
3737
3740
  },
3738
3741
  position: {
3739
3742
  x: Z - re.x,
@@ -3745,8 +3748,8 @@ function wl(t, e) {
3745
3748
  }
3746
3749
  function w(V) {
3747
3750
  if (n.value) {
3748
- const L = C();
3749
- c.value = L;
3751
+ const $ = C();
3752
+ c.value = $;
3750
3753
  }
3751
3754
  o.value = void 0, l.value = null, r.value = null, s.value = null, d.value = null, m.value = null, u.value = null, document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", w);
3752
3755
  }
@@ -3760,40 +3763,40 @@ function wl(t, e) {
3760
3763
  return n.value = V, p.value && O(Ze, null, [O("div", {
3761
3764
  class: "fv-resizable-handle fv-resizable-n",
3762
3765
  type: "n",
3763
- onMousedown: (L) => B(L)
3766
+ onMousedown: ($) => B($)
3764
3767
  }, null), O("div", {
3765
3768
  class: "fv-resizable-handle fv-resizable-e",
3766
3769
  type: "e",
3767
- onMousedown: (L) => B(L)
3770
+ onMousedown: ($) => B($)
3768
3771
  }, null), O("div", {
3769
3772
  class: "fv-resizable-handle fv-resizable-s",
3770
3773
  type: "s",
3771
- onMousedown: (L) => B(L)
3774
+ onMousedown: ($) => B($)
3772
3775
  }, null), O("div", {
3773
3776
  class: "fv-resizable-handle fv-resizable-w",
3774
3777
  type: "w",
3775
- onMousedown: (L) => B(L)
3778
+ onMousedown: ($) => B($)
3776
3779
  }, null), O("div", {
3777
3780
  class: "fv-resizable-handle fv-resizable-ne",
3778
3781
  type: "ne",
3779
- onMousedown: (L) => B(L)
3782
+ onMousedown: ($) => B($)
3780
3783
  }, null), O("div", {
3781
3784
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
3782
3785
  type: "se",
3783
- onMousedown: (L) => B(L)
3786
+ onMousedown: ($) => B($)
3784
3787
  }, null), O("div", {
3785
3788
  class: "fv-resizable-handle fv-resizable-sw",
3786
3789
  type: "sw",
3787
- onMousedown: (L) => B(L)
3790
+ onMousedown: ($) => B($)
3788
3791
  }, null), O("div", {
3789
3792
  class: "fv-resizable-handle fv-resizable-nw",
3790
3793
  type: "nw",
3791
- onMousedown: (L) => B(L)
3794
+ onMousedown: ($) => B($)
3792
3795
  }, null)]);
3793
3796
  }
3794
3797
  function R(V = !0) {
3795
3798
  document.body.click();
3796
- const L = i.value || document.body, Z = rt.getCurrent(L), Q = n.value;
3799
+ const $ = i.value || document.body, Z = rt.getCurrent($), Q = n.value;
3797
3800
  V && Q && (f.value = C(), f.value.transform = Q.style.transform), Z && Q && (s.value = Z, s.value.height -= 14, s.value.width -= 14, Q.style.height = s.value.height + "px", Q.style.width = s.value.width + "px", Q.style.left = "7px", Q.style.top = "7px", Q.style.transform = "", c.value = {
3798
3801
  size: s.value,
3799
3802
  position: {
@@ -3803,7 +3806,7 @@ function wl(t, e) {
3803
3806
  }, h.value = !1, y.value = !0);
3804
3807
  }
3805
3808
  function E() {
3806
- var V, L;
3809
+ var V, $;
3807
3810
  if (document.body.click(), f.value) {
3808
3811
  const Z = {
3809
3812
  width: f.value.size.width || 0,
@@ -3812,7 +3815,7 @@ function wl(t, e) {
3812
3815
  x: (window.innerWidth - Z.width) / 2,
3813
3816
  y: (window.innerHeight - Z.height) / 2
3814
3817
  };
3815
- (V = s.value) == null || V.set(Z), (L = d.value) == null || L.set(Q);
3818
+ (V = s.value) == null || V.set(Z), ($ = d.value) == null || $.set(Q);
3816
3819
  const re = n.value;
3817
3820
  re.style.height = Z.height + "px", re.style.width = Z.width + "px", re.style.left = `${Q.x}px`, re.style.top = `${Q.y}px`, re.style.transform = "", c.value = {
3818
3821
  size: Z,
@@ -3825,10 +3828,10 @@ function wl(t, e) {
3825
3828
  const V = rt.getCurrent(n.value);
3826
3829
  if (V) {
3827
3830
  const {
3828
- width: L,
3831
+ width: $,
3829
3832
  height: Z
3830
3833
  } = V;
3831
- n.value.style.left = `${(window.innerWidth - L) / 2}px`, n.value.style.top = `${(window.innerHeight - Z) / 2}px`, n.value.style.transform = "";
3834
+ n.value.style.left = `${(window.innerWidth - $) / 2}px`, n.value.style.top = `${(window.innerHeight - Z) / 2}px`, n.value.style.transform = "";
3832
3835
  }
3833
3836
  }
3834
3837
  }
@@ -3840,7 +3843,7 @@ function wl(t, e) {
3840
3843
  window.removeEventListener("resize", V);
3841
3844
  };
3842
3845
  }
3843
- const j = k();
3846
+ const G = k();
3844
3847
  return {
3845
3848
  renderResizeBar: P,
3846
3849
  boundingElement: i,
@@ -3849,7 +3852,7 @@ function wl(t, e) {
3849
3852
  restore: E,
3850
3853
  allowDrag: h,
3851
3854
  isMaximized: y,
3852
- unWindowResizeHandle: j,
3855
+ unWindowResizeHandle: G,
3853
3856
  moveToCenter: _
3854
3857
  };
3855
3858
  }
@@ -3994,14 +3997,14 @@ const wt = /* @__PURE__ */ it({
3994
3997
  handle: (z) => {
3995
3998
  v(z, !0);
3996
3999
  }
3997
- }], g = F(t.buttons && t.buttons.length ? t.buttons : S), C = $(() => !!m.value), w = $(() => !!y.value && !!g.value), I = F(), B = F(), P = F(!1), {
4000
+ }], g = F(t.buttons && t.buttons.length ? t.buttons : S), C = H(() => !!m.value), w = H(() => !!y.value && !!g.value), I = F(), B = F(), P = F(!1), {
3998
4001
  renderResizeBar: R,
3999
4002
  maximize: E,
4000
4003
  restore: _,
4001
4004
  boundingElement: k,
4002
- resizedEventParam: j,
4005
+ resizedEventParam: G,
4003
4006
  allowDrag: V,
4004
- unWindowResizeHandle: L,
4007
+ unWindowResizeHandle: $,
4005
4008
  moveToCenter: Z
4006
4009
  } = wl(t), {
4007
4010
  registerDraggle: Q
@@ -4023,7 +4026,7 @@ const wt = /* @__PURE__ */ it({
4023
4026
  z !== oe && (d.value = z);
4024
4027
  }), ve(() => t.showButtons, (z, oe) => {
4025
4028
  z !== oe && (y.value = z);
4026
- }), ve(() => j.value, (z, oe) => {
4029
+ }), ve(() => G.value, (z, oe) => {
4027
4030
  const Fe = z || {}, ue = oe || {};
4028
4031
  JSON.stringify(Fe) !== JSON.stringify(ue) && e.emit("resize", {
4029
4032
  newSize: z,
@@ -4035,7 +4038,7 @@ const wt = /* @__PURE__ */ it({
4035
4038
  }), ve(() => t.class, (z, oe) => {
4036
4039
  r.value = z;
4037
4040
  });
4038
- const we = $(() => (o.value && document.body.classList.add("modal-open"), o.value)), Te = $(() => {
4041
+ const we = H(() => (o.value && document.body.classList.add("modal-open"), o.value)), Te = H(() => {
4039
4042
  var Fe;
4040
4043
  const z = {
4041
4044
  modal: !0,
@@ -4045,42 +4048,42 @@ const wt = /* @__PURE__ */ it({
4045
4048
  };
4046
4049
  z["f-modal-fitContent"] = !!s.value, z.show = !!we.value;
4047
4050
  const oe = (Fe = t.maskClass) == null ? void 0 : Fe.split(" ");
4048
- return oe == null || oe.reduce((ue, Ge) => (ue[Ge] = !0, ue), z), z;
4049
- }), H = $(() => {
4051
+ return oe == null || oe.reduce((ue, je) => (ue[je] = !0, ue), z), z;
4052
+ }), L = H(() => {
4050
4053
  var Fe;
4051
4054
  const z = {
4052
4055
  "modal-dialog": !0
4053
4056
  }, oe = (Fe = r.value) == null ? void 0 : Fe.split(" ");
4054
- return oe == null || oe.reduce((ue, Ge) => (ue[Ge] = !0, ue), z), z;
4055
- }), N = () => Xn() && !t.isMessager || !!t.fullscreen, A = $(() => {
4056
- const z = document.documentElement.clientWidth, oe = document.documentElement.clientHeight, Fe = Math.min(n.value, z), ue = t.position === "right" ? "100%" : s.value ? "auto" : `${Math.min(i.value, oe - 10)}px`, Ge = `${(window.innerHeight - (ue === "100%" || ue === "auto" ? 0 : parseInt(ue))) / 2}px`, ht = t.position === "right" ? `${window.innerWidth - Fe}px` : `${(window.innerWidth - Fe) / 2}px`, ct = {
4057
+ return oe == null || oe.reduce((ue, je) => (ue[je] = !0, ue), z), z;
4058
+ }), N = () => Xn() && !t.isMessager || !!t.fullscreen, A = H(() => {
4059
+ const z = document.documentElement.clientWidth, oe = document.documentElement.clientHeight, Fe = Math.min(n.value, z), ue = t.position === "right" ? "100%" : s.value ? "auto" : `${Math.min(i.value, oe - 10)}px`, je = `${(window.innerHeight - (ue === "100%" || ue === "auto" ? 0 : parseInt(ue))) / 2}px`, ht = t.position === "right" ? `${window.innerWidth - Fe}px` : `${(window.innerWidth - Fe) / 2}px`, ct = {
4057
4060
  position: "absolute",
4058
- top: Ge,
4061
+ top: je,
4059
4062
  left: ht,
4060
4063
  width: `${Fe}px`,
4061
4064
  height: ue
4062
4065
  };
4063
4066
  return t.mask || (ct.pointerEvents = "auto"), ct;
4064
- }), U = F(Jt() || 1050), q = $(() => {
4067
+ }), U = F(Jt() || 1050), q = H(() => {
4065
4068
  const z = {
4066
4069
  display: "block",
4067
4070
  overflow: "hidden"
4068
4071
  };
4069
4072
  return t.mask || (z.pointerEvents = "none", z.backgroundColor = "transparent"), x.value && (z.backgroundColor = "transparent"), z.zIndex = U.value, z;
4070
- }), te = $(() => ({
4073
+ }), te = H(() => ({
4071
4074
  "modal-content": !0,
4072
4075
  "modal-content-has-header": d.value,
4073
4076
  "is-mobile": N()
4074
- })), se = $(() => {
4077
+ })), se = H(() => {
4075
4078
  const z = {
4076
4079
  display: d.value ? "" : "none"
4077
4080
  };
4078
4081
  return z["pointer-events"] = V.value ? "auto" : "none", z;
4079
- }), de = $(() => ({
4082
+ }), de = H(() => ({
4080
4083
  "f-icon": !0,
4081
4084
  modal_maximize: !0,
4082
4085
  modalrevert: P.value
4083
- })), fe = $(() => ({
4086
+ })), fe = H(() => ({
4084
4087
  "modal-body": !0,
4085
4088
  "f-utils-flex-column": p.value === "iframe",
4086
4089
  "f-utils-fill": !0
@@ -4090,7 +4093,7 @@ const wt = /* @__PURE__ */ it({
4090
4093
  height: `${t.footerHeight || 60}px`
4091
4094
  };
4092
4095
  }
4093
- const me = $(() => {
4096
+ const me = H(() => {
4094
4097
  const z = {
4095
4098
  textAlgin: h.value
4096
4099
  }, oe = ge();
@@ -4103,7 +4106,7 @@ const wt = /* @__PURE__ */ it({
4103
4106
  }
4104
4107
  E(), P.value = !0;
4105
4108
  }
4106
- async function Le(z, oe) {
4109
+ async function $e(z, oe) {
4107
4110
  z.handle ? await z.handle(oe, z) && e.emit("closed", oe) : (typeof z.onClick == "string" && (z.onButtonClick = nt(z.onClick || ""), delete z.onClick), e.emit("buttonClick", {
4108
4111
  button: z,
4109
4112
  $event: oe
@@ -4112,13 +4115,13 @@ const wt = /* @__PURE__ */ it({
4112
4115
  function Se(z) {
4113
4116
  z.width && (n.value = z.width), z.height && (i.value = z.height), z.buttons && (g.value = z.buttons), z.title && (M.value = z.title);
4114
4117
  }
4115
- let G = null, K = null;
4118
+ let j = null, K = null;
4116
4119
  oi(() => {
4117
4120
  x.value = re();
4118
4121
  }), Ke(() => {
4119
- B.value && !b.value && (b.value = B.value.parentElement, k.value = b.value, Q(I.value, B.value, k.value)), we.value && document.body.classList.add("modal-open"), G = Ml(t, e), K = Tl(t, e);
4122
+ B.value && !b.value && (b.value = B.value.parentElement, k.value = b.value, Q(I.value, B.value, k.value)), we.value && document.body.classList.add("modal-open"), j = Ml(t, e), K = Tl(t, e);
4120
4123
  }), qt(() => {
4121
- L && L(), G && G.remove(), K && K.remove();
4124
+ $ && $(), j && j.remove(), K && K.remove();
4122
4125
  }), e.expose({
4123
4126
  modalElementRef: B,
4124
4127
  updateModalOptions: Se,
@@ -4167,8 +4170,8 @@ const wt = /* @__PURE__ */ it({
4167
4170
  type: "button",
4168
4171
  disabled: oe.value,
4169
4172
  class: Fe + (z.iconClass ? " btn-icontext" : "") + (z.visible === !1 ? "d-none" : ""),
4170
- onClick: (Ge) => {
4171
- Le(z, Ge);
4173
+ onClick: (je) => {
4174
+ $e(z, je);
4172
4175
  }
4173
4176
  }, [!!z.iconClass && O("i", {
4174
4177
  class: z.iconClass
@@ -4205,7 +4208,7 @@ const wt = /* @__PURE__ */ it({
4205
4208
  var z, oe;
4206
4209
  return O("div", {
4207
4210
  id: l.value,
4208
- class: H.value,
4211
+ class: L.value,
4209
4212
  style: A.value,
4210
4213
  ref: B
4211
4214
  }, [t.showFloatingClose && Y(), O("div", {
@@ -4301,7 +4304,7 @@ class xl {
4301
4304
  ie(this, "activeModalIndex", F(0));
4302
4305
  ie(this, "modalRefs", {});
4303
4306
  ie(this, "isUseEscCloseModal", F(!1));
4304
- ie(this, "activeModalInstance", $(() => this.modalRefs[this.activeModalIndex.value]));
4307
+ ie(this, "activeModalInstance", H(() => this.modalRefs[this.activeModalIndex.value]));
4305
4308
  this.app = e, this.appContext = e ? e._context : null;
4306
4309
  }
4307
4310
  getCurrentModal() {
@@ -4353,7 +4356,7 @@ class xl {
4353
4356
  s(v, this.isUseEscCloseModal.value ? "esc" : S ? "icon" : "button");
4354
4357
  }, p = (v) => {
4355
4358
  c(v), u && at(() => {
4356
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Lt(null, n), u = null, this.modalRef.value = null, this.modalRefs) {
4359
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], $t(null, n), u = null, this.modalRef.value = null, this.modalRefs) {
4357
4360
  const S = Object.keys(this.modalRefs).map((g) => Number(g));
4358
4361
  S.length > 0 ? this.activeModalIndex.value = Math.max(...S) : this.activeModalIndex.value = 0;
4359
4362
  }
@@ -4384,7 +4387,7 @@ class xl {
4384
4387
  });
4385
4388
  return u = ((v) => {
4386
4389
  const S = si(b, v);
4387
- return S.appContext = this.appContext, Lt(S, n), S;
4390
+ return S.appContext = this.appContext, $t(S, n), S;
4388
4391
  })({
4389
4392
  ...i.value
4390
4393
  // 'onUpdate:modelValue': onUpdateModelValue,
@@ -4393,7 +4396,7 @@ class xl {
4393
4396
  i.value = {
4394
4397
  ...i.value,
4395
4398
  ...v
4396
- }, u && Lt(di(u, {
4399
+ }, u && $t(di(u, {
4397
4400
  ...i
4398
4401
  }), n);
4399
4402
  },
@@ -4424,10 +4427,10 @@ function Pn(t, e) {
4424
4427
  return { judgeCanOpen: n };
4425
4428
  }
4426
4429
  function _l(t, e, n, i, o) {
4427
- const l = F(t.buttonBehavior), r = F(t.popupOnInput), s = $(() => ({
4430
+ const l = F(t.buttonBehavior), r = F(t.popupOnInput), s = H(() => ({
4428
4431
  "input-group-append": !0,
4429
4432
  "append-force-show": t.showButtonWhenDisabled && (t.readonly || t.disable)
4430
- })), { judgeCanOpen: d } = Pn(t, o), m = $(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), u = We(In, null), a = F();
4433
+ })), { judgeCanOpen: d } = Pn(t, o), m = H(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), u = We(In, null), a = F();
4431
4434
  async function c(h) {
4432
4435
  if (await d() && m.value) {
4433
4436
  const y = !!e.slots.default;
@@ -4461,7 +4464,7 @@ function _l(t, e, n, i, o) {
4461
4464
  };
4462
4465
  }
4463
4466
  function kl(t, e, n, i, o, l) {
4464
- const r = F(!1), s = $(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: d, hasClearClass: m } = l;
4467
+ const r = F(!1), s = H(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: d, hasClearClass: m } = l;
4465
4468
  function u(f) {
4466
4469
  r.value = f, m.value = f;
4467
4470
  }
@@ -4493,13 +4496,13 @@ function kl(t, e, n, i, o, l) {
4493
4496
  };
4494
4497
  }
4495
4498
  function El(t, e, n, i, o) {
4496
- const l = $(() => t.popupOnInput), r = $(() => t.popupOnFocus), { shouldPopupContent: s, closeAllPopover: d } = o, m = F(!1), u = $(() => t.enableTitle ? n.value : ""), a = $(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), c = $(() => t.readonly || !t.editable), p = F(!1), f = $(() => !t.disable && p.value), h = $(() => ({
4499
+ const l = H(() => t.popupOnInput), r = H(() => t.popupOnFocus), { shouldPopupContent: s, closeAllPopover: d } = o, m = F(!1), u = H(() => t.enableTitle ? n.value : ""), a = H(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), c = H(() => t.readonly || !t.editable), p = F(!1), f = H(() => !t.disable && p.value), h = H(() => ({
4497
4500
  "text-left": t.textAlign === "left",
4498
4501
  "text-center": t.textAlign === "center",
4499
4502
  "text-right": t.textAlign === "right",
4500
4503
  "form-control": !0,
4501
4504
  "f-utils-fill": !0
4502
- })), y = $(() => ({
4505
+ })), y = H(() => ({
4503
4506
  "input-group": !0,
4504
4507
  "f-state-disabled": t.disable,
4505
4508
  "f-state-editable": t.editable && !t.disable && !t.readonly,
@@ -4625,7 +4628,7 @@ function Pl(t, e, n) {
4625
4628
  onTextBoxValueChange: h
4626
4629
  } = n, y = F(t.id), {
4627
4630
  uuid: M
4628
- } = kt(), b = $(() => ({
4631
+ } = kt(), b = H(() => ({
4629
4632
  // 'border-top-right-radius': '6px',
4630
4633
  // 'border-bottom-right-radius': '6px'
4631
4634
  }));
@@ -4672,13 +4675,13 @@ function Pl(t, e, n) {
4672
4675
  }, null);
4673
4676
  }
4674
4677
  function Vl(t, e, n) {
4675
- const i = F(t.separator), o = $(() => t.readonly || t.disable), {
4678
+ const i = F(t.separator), o = H(() => t.readonly || t.disable), {
4676
4679
  changeTextBoxValue: l,
4677
4680
  onFocusTextBox: r,
4678
4681
  onBlurTextBox: s,
4679
4682
  onClickTextBox: d,
4680
4683
  textBoxPlaceholder: m
4681
- } = n, u = $(() => e.value ? e.value.split(i.value).map((f) => ({
4684
+ } = n, u = H(() => e.value ? e.value.split(i.value).map((f) => ({
4682
4685
  name: f,
4683
4686
  selectable: !0
4684
4687
  })) : []);
@@ -4724,7 +4727,7 @@ function Bl(t, e, n, i) {
4724
4727
  l(y);
4725
4728
  }, t.buttonBehavior === "Modal" ? 0 : 200), p = () => {
4726
4729
  e.emit("beforeClearValue");
4727
- }, f = $(() => ({
4730
+ }, f = H(() => ({
4728
4731
  "input-group-append input-append-wrapper": !0,
4729
4732
  "input-append-button": t.expandMode === "button",
4730
4733
  "input-append-text": t.expandMode === "text",
@@ -4809,16 +4812,16 @@ const Rl = /* @__PURE__ */ it({
4809
4812
  } = c, y = kl(t, e, o, p, a, c), {
4810
4813
  onMouseEnterTextBox: M,
4811
4814
  onMouseLeaveTextBox: b
4812
- } = y, T = F(!1), x = $(() => {
4815
+ } = y, T = F(!1), x = H(() => {
4813
4816
  const k = {
4814
4817
  "f-button-edit": !0,
4815
4818
  "f-cmp-inputgroup": !0,
4816
4819
  "f-button-edit-nowrap": !t.wrapText
4817
4820
  };
4818
- return i.value && i.value.split(" ").reduce((j, V) => (j[V] = !0, j), k), k;
4819
- }), v = $(() => ({
4821
+ return i.value && i.value.split(" ").reduce((G, V) => (G[V] = !0, G), k), k;
4822
+ }), v = H(() => ({
4820
4823
  overflow: t.wrapText ? "hidden" : ""
4821
- })), S = $(() => ({
4824
+ })), S = H(() => ({
4822
4825
  // paddingLeft: '3px',
4823
4826
  // backgroundColor: '#fff'
4824
4827
  }));
@@ -4826,8 +4829,8 @@ const Rl = /* @__PURE__ */ it({
4826
4829
  if (!t.multiSelect || t.inputType !== "tag" || !n.value)
4827
4830
  return 0;
4828
4831
  let k = 0;
4829
- const j = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4830
- return j && j.length && (k = j.map((V) => V.offsetTop).filter((V) => V > 20).length), k;
4832
+ const G = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4833
+ return G && G.length && (k = G.map((V) => V.offsetTop).filter((V) => V > 20).length), k;
4831
4834
  }
4832
4835
  const C = F(g());
4833
4836
  ci(() => {
@@ -4839,7 +4842,7 @@ const Rl = /* @__PURE__ */ it({
4839
4842
  "more-tags": !0
4840
4843
  }, [O("span", {
4841
4844
  class: "multi--more-text"
4842
- }, [je("+"), C.value])])]) : Pl(t, o, c);
4845
+ }, [Ge("+"), C.value])])]) : Pl(t, o, c);
4843
4846
  }
4844
4847
  let I = w();
4845
4848
  ve([() => t.multiSelect, () => t.inputType], () => {
@@ -4879,7 +4882,7 @@ const Rl = /* @__PURE__ */ it({
4879
4882
  }), fi(() => {
4880
4883
  var k;
4881
4884
  window.onresize = null, (k = window[lt]) == null || k.delete(n.value);
4882
- }), e.expose(_), ve(() => r.value, async (k, j) => {
4885
+ }), e.expose(_), ve(() => r.value, async (k, G) => {
4883
4886
  if (T.value) {
4884
4887
  E.value = k, T.value = !1;
4885
4888
  return;
@@ -4889,13 +4892,13 @@ const Rl = /* @__PURE__ */ it({
4889
4892
  const V = await t.beforeClosePopup();
4890
4893
  E.value = !V, (!V || t.readonly) && (r.value = !0);
4891
4894
  } catch (V) {
4892
- console.error("Error in beforeClosePopup:", V), E.value = j, r.value = j;
4895
+ console.error("Error in beforeClosePopup:", V), E.value = G, r.value = G;
4893
4896
  }
4894
4897
  return;
4895
4898
  }
4896
4899
  E.value = k;
4897
4900
  }), () => {
4898
- var k, j;
4901
+ var k, G;
4899
4902
  return O(Ze, null, [O("div", Mn(e.attrs, {
4900
4903
  ref: n,
4901
4904
  class: x.value,
@@ -4907,7 +4910,7 @@ const Rl = /* @__PURE__ */ it({
4907
4910
  style: S.value,
4908
4911
  onMouseenter: M,
4909
4912
  onMouseleave: b
4910
- }, [(j = (k = e.slots).precontent) == null ? void 0 : j.call(k), I(), B()])]), E.value && R()]);
4913
+ }, [(G = (k = e.slots).precontent) == null ? void 0 : G.call(k), I(), B()])]), E.value && R()]);
4911
4914
  };
4912
4915
  }
4913
4916
  }), Pt = /* @__PURE__ */ new Map([
@@ -5211,7 +5214,7 @@ function Vt(t, e, n, i) {
5211
5214
  function Bn(t, e, n) {
5212
5215
  return e;
5213
5216
  }
5214
- const Hl = "https://json-schema.org/draft/2020-12/schema", $l = "https://farris-design.gitee.io/grid-field-editor.schema.json", Ll = "grid-field-editor", zl = "A Farris Data Grid Component", Wl = "object", Gl = {
5217
+ const Ll = "https://json-schema.org/draft/2020-12/schema", Hl = "https://farris-design.gitee.io/grid-field-editor.schema.json", $l = "grid-field-editor", zl = "A Farris Data Grid Component", Wl = "object", jl = {
5215
5218
  id: {
5216
5219
  description: "The unique identifier for a Input Group",
5217
5220
  type: "string"
@@ -5231,17 +5234,17 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", $l = "https://farris-
5231
5234
  type: "object",
5232
5235
  default: null
5233
5236
  }
5234
- }, jl = [
5237
+ }, Gl = [
5235
5238
  "id",
5236
5239
  "type"
5237
5240
  ], On = {
5238
- $schema: Hl,
5239
- $id: $l,
5240
- title: Ll,
5241
+ $schema: Ll,
5242
+ $id: Hl,
5243
+ title: $l,
5241
5244
  description: zl,
5242
5245
  type: Wl,
5243
- properties: Gl,
5244
- required: jl
5246
+ properties: jl,
5247
+ required: Gl
5245
5248
  }, Xt = {
5246
5249
  modelValue: { type: String, default: "" },
5247
5250
  /** 组件唯一标识 */
@@ -5496,7 +5499,7 @@ function sr(t, e) {
5496
5499
  return { search: o };
5497
5500
  }
5498
5501
  function an(t, e, n, i, o, l, r, s, d, m) {
5499
- const u = F(t.size), a = F(t.textField), c = F(t.titleField), p = F(t.disableField), f = $(() => {
5502
+ const u = F(t.size), a = F(t.textField), c = F(t.titleField), p = F(t.disableField), f = H(() => {
5500
5503
  var w, I;
5501
5504
  return ((w = t.selection) == null ? void 0 : w.multiSelect) && ((I = t.selection) == null ? void 0 : I.showCheckbox);
5502
5505
  }), {
@@ -5509,7 +5512,7 @@ function an(t, e, n, i, o, l, r, s, d, m) {
5509
5512
  listViewItemStyle: x,
5510
5513
  onCheckItem: v,
5511
5514
  onClickItem: S
5512
- } = r, g = $(() => {
5515
+ } = r, g = H(() => {
5513
5516
  const w = {
5514
5517
  "text-overflow": "ellipsis",
5515
5518
  overflow: "hidden",
@@ -5627,12 +5630,12 @@ function ur(t, e, n, i, o, l, r, s, d, m) {
5627
5630
  dragend: g
5628
5631
  } = i, {
5629
5632
  removeItem: C
5630
- } = d, w = $(() => ({
5633
+ } = d, w = H(() => ({
5631
5634
  margin: u.value ? "10px 0" : "10px 0px 10px 14px"
5632
5635
  }));
5633
5636
  function I(_, k = "") {
5634
- const j = _.target;
5635
- j.title = j.scrollWidth > j.clientWidth ? k : "";
5637
+ const G = _.target;
5638
+ G.title = G.scrollWidth > G.clientWidth ? k : "";
5636
5639
  }
5637
5640
  function B(_) {
5638
5641
  return O("div", {
@@ -5644,7 +5647,7 @@ function ur(t, e, n, i, o, l, r, s, d, m) {
5644
5647
  return e.slots.itemContent ? e.slots.itemContent : B;
5645
5648
  }
5646
5649
  const R = P();
5647
- function E(_, k, j) {
5650
+ function E(_, k, G) {
5648
5651
  return O("li", {
5649
5652
  class: M(_, k),
5650
5653
  id: y(_, k),
@@ -5735,13 +5738,13 @@ function fr(t, e, n, i) {
5735
5738
  return { removeItem: r };
5736
5739
  }
5737
5740
  function mr(t, e, n, i, o, l, r, s, d, m) {
5738
- const u = F(t.view), a = F(t.view === "CardView"), c = F({}), p = fr(t, e, i, d), f = $(() => ({
5741
+ const u = F(t.view), a = F(t.view === "CardView"), c = F({}), p = fr(t, e, i, d), f = H(() => ({
5739
5742
  "f-list-view-group": !0,
5740
5743
  "f-list-view-group-multiselect": t.multiSelect,
5741
5744
  "d-flex": a.value,
5742
5745
  "flex-wrap": a.value
5743
- })), h = $(() => !!n.value && n.value.length > 0), y = $(() => n.value.length === 0);
5744
- $(() => y.value && !e.slots.empty);
5746
+ })), h = H(() => !!n.value && n.value.length > 0), y = H(() => n.value.length === 0);
5747
+ H(() => y.value && !e.slots.empty);
5745
5748
  function M() {
5746
5749
  return u.value === "SingleView" ? an : u.value === "DraggableView" ? ur : (u.value === "ContentView" || u.value === "CardView") && (t.contentTemplate || e.slots.content) ? dr : an;
5747
5750
  }
@@ -5782,14 +5785,14 @@ function pr(t, e, n) {
5782
5785
  };
5783
5786
  }
5784
5787
  function sn(t, e, n) {
5785
- const i = F(t.headerClass), o = F(t.placeholder), l = F(""), r = $(() => !l.value), s = $(() => !!l.value);
5788
+ const i = F(t.headerClass), o = F(t.placeholder), l = F(""), r = H(() => !l.value), s = H(() => !!l.value);
5786
5789
  function d(c) {
5787
5790
  l.value = "";
5788
5791
  }
5789
5792
  ve(l, (c) => {
5790
5793
  t.enableHighlightSearch && n.search(c), e.emit("afterSearch", c);
5791
5794
  });
5792
- const m = $(() => {
5795
+ const m = H(() => {
5793
5796
  const c = {
5794
5797
  "form-group": !0,
5795
5798
  "farris-form-group": !0
@@ -5955,10 +5958,10 @@ function vr(t, e, n, i, o, l) {
5955
5958
  moving: !!E.moving
5956
5959
  };
5957
5960
  if (typeof t.itemClass == "string")
5958
- return jt(k, t.itemClass);
5961
+ return Gt(k, t.itemClass);
5959
5962
  if (typeof t.itemClass == "function") {
5960
- const j = t.itemClass(E);
5961
- return jt(k, j);
5963
+ const G = t.itemClass(E);
5964
+ return Gt(k, G);
5962
5965
  }
5963
5966
  return k;
5964
5967
  }
@@ -5967,16 +5970,16 @@ function vr(t, e, n, i, o, l) {
5967
5970
  if (typeof t.itemStyle == "string")
5968
5971
  return Qt(k, t.itemStyle);
5969
5972
  if (typeof t.itemStyle == "function") {
5970
- const j = t.itemStyle(E);
5971
- return Qt(k, j);
5973
+ const G = t.itemStyle(E);
5974
+ return Qt(k, G);
5972
5975
  }
5973
5976
  return k;
5974
5977
  }
5975
- const w = $(() => !m.value);
5978
+ const w = H(() => !m.value);
5976
5979
  function I(E, _, k) {
5977
5980
  E.checked = k, !E.raw[s.value] && (w.value && (p.value = E.raw[r.value]), M(E));
5978
5981
  }
5979
- const B = $(() => m.value && u.value === "OnCheckClearByClick"), P = $(() => !m.value || m.value && (u.value === "OnCheckAndClick" || u.value === "OnClick"));
5982
+ const B = H(() => m.value && u.value === "OnCheckClearByClick"), P = H(() => !m.value || m.value && (u.value === "OnCheckAndClick" || u.value === "OnClick"));
5980
5983
  function R(E, _, k) {
5981
5984
  if (E.raw[s.value]) {
5982
5985
  k == null || k.preventDefault(), k == null || k.stopPropagation();
@@ -5999,26 +6002,26 @@ const dn = /* @__PURE__ */ it({
5999
6002
  props: ar,
6000
6003
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed", "selectionUpdate"],
6001
6004
  setup(t, e) {
6002
- const n = F(), i = F(!0), o = F(!1), l = F([]), r = 0, s = F(t.columns), d = Ci(t, e), m = wi(t), u = Si(t), a = Mi(t, m), c = Ti(t, /* @__PURE__ */ new Map(), d, u, m), p = Fi(t, c, m, l, e), f = sr(t, n), h = xi(t, c), y = $(() => c.dataView.value.length), M = _i(t, e, p, m), b = ki(t, e, m, M, l), T = Ei(t), x = Ii(t, {}, T), v = Pi(t, c, b, u, m, T, x), S = Vi(t, m, x, v), g = Bi(t, m, x, v), C = Oi(t, s, c, y, r, v, S, g), {
6005
+ const n = F(), i = F(!0), o = F(!1), l = F([]), r = 0, s = F(t.columns), d = Ci(t, e), m = wi(t), u = Si(t), a = Mi(t, m), c = Ti(t, /* @__PURE__ */ new Map(), d, u, m), p = Fi(t, c, m, l, e), f = sr(t, n), h = xi(t, c), y = H(() => c.dataView.value.length), M = _i(t, e, p, m), b = ki(t, e, m, M, l), T = Ei(t), x = Ii(t, {}, T), v = Pi(t, c, b, u, m, T, x), S = Vi(t, m, x, v), g = Bi(t, m, x, v), C = Oi(t, s, c, y, r, v, S, g), {
6003
6006
  getVisualData: w
6004
6007
  } = C;
6005
6008
  l.value = w(0, y.value + r - 1);
6006
- const I = $(() => {
6009
+ const I = H(() => {
6007
6010
  const Y = {
6008
6011
  "f-list-view": !0,
6009
6012
  "f-list-view-multiple": t.multiSelect
6010
6013
  };
6011
- return t.size !== "default" && (Y[`${t.size}-item`] = !0), jt(Y, t.customClass);
6012
- }), B = $(() => !!e.slots.footer || i.value);
6014
+ return t.size !== "default" && (Y[`${t.size}-item`] = !0), Gt(Y, t.customClass);
6015
+ }), B = H(() => !!e.slots.footer || i.value);
6013
6016
  function P() {
6014
6017
  return t.header === "SearchBar" ? sn : t.header === "ContentHeader" ? pr : sn;
6015
6018
  }
6016
6019
  const R = P(), {
6017
6020
  renderHeader: E
6018
- } = R(t, e, f), _ = gr(), k = hr(t, e, c, _), j = vr(t, e, l, k, _, p), {
6021
+ } = R(t, e, f), _ = gr(), k = hr(t, e, c, _), G = vr(t, e, l, k, _, p), {
6019
6022
  renderListArea: V
6020
- } = mr(t, e, l, c, a, _, p, C, j, k);
6021
- function L(Y) {
6023
+ } = mr(t, e, l, c, a, _, p, C, G, k);
6024
+ function $(Y) {
6022
6025
  f.search(Y);
6023
6026
  }
6024
6027
  function Z(Y) {
@@ -6028,23 +6031,23 @@ const dn = /* @__PURE__ */ it({
6028
6031
  p.clearSelection(), _.clearActiveItem();
6029
6032
  }
6030
6033
  function re() {
6031
- return j.selectedItems.value;
6034
+ return G.selectedItems.value;
6032
6035
  }
6033
6036
  function ke() {
6034
- return j.selectedItems.value.map((Y) => Y[m.idField.value]);
6037
+ return G.selectedItems.value.map((Y) => Y[m.idField.value]);
6035
6038
  }
6036
6039
  function we(Y) {
6037
- p.selectedValues.value = Y, j.updateSelectedItems();
6040
+ p.selectedValues.value = Y, G.updateSelectedItems();
6038
6041
  }
6039
6042
  function Te() {
6040
6043
  return p.currentSelectedDataId.value;
6041
6044
  }
6042
- function H(Y) {
6045
+ function L(Y) {
6043
6046
  M.activeRowById(Y);
6044
6047
  }
6045
6048
  function N(Y) {
6046
6049
  const ye = m.idField.value, be = l.value.find((Qe) => Qe.raw[ye] === Y), Re = l.value.findIndex((Qe) => Qe.raw[ye] === Y);
6047
- be && Re > -1 && j.onClickItem(be, Re);
6050
+ be && Re > -1 && G.onClickItem(be, Re);
6048
6051
  }
6049
6052
  function A(Y) {
6050
6053
  const ye = m.idField.value, be = l.value.find((Re) => Re.raw[ye] === Y);
@@ -6057,13 +6060,13 @@ const dn = /* @__PURE__ */ it({
6057
6060
  return l.value.filter((ye) => Y.includes(ye.raw[t.idField]));
6058
6061
  }
6059
6062
  e.expose({
6060
- search: L,
6063
+ search: $,
6061
6064
  updateDataSource: Z,
6062
6065
  clearSelection: Q,
6063
6066
  getSelections: re,
6064
6067
  updateSelectionByIds: we,
6065
6068
  getSelectionIds: ke,
6066
- activeRowById: H,
6069
+ activeRowById: L,
6067
6070
  getCurrentRowId: Te,
6068
6071
  clickRowItemById: N,
6069
6072
  updatePagination: U,
@@ -6082,12 +6085,12 @@ const dn = /* @__PURE__ */ it({
6082
6085
  } = se, ge = Ni(t, e), {
6083
6086
  applyColumnSorter: me,
6084
6087
  columnContext: Ie,
6085
- updateColumnRenderContext: Le
6088
+ updateColumnRenderContext: $e
6086
6089
  } = ge, Se = Ai(t, c, l, Ie, C, y, r, de, b), {
6087
- shouldRenderPagination: G
6090
+ shouldRenderPagination: j
6088
6091
  } = h, {
6089
6092
  renderDataGridPagination: K
6090
- } = Hi(t, e, c, Se, h, p);
6093
+ } = Li(t, e, c, Se, h, p);
6091
6094
  return () => O("div", {
6092
6095
  class: I.value,
6093
6096
  onClick: te
@@ -6109,21 +6112,21 @@ const dn = /* @__PURE__ */ it({
6109
6112
  props: Rn,
6110
6113
  emits: ["change", "activeChange", "selectItem", "unSelecteItem", "removeItem"],
6111
6114
  setup(t, e) {
6112
- const n = F(t.identifyField), i = F(t.displayType), o = F(!1), l = F(t.dataSource), r = F(t.textField), s = F(t.selections || []), d = $(() => s.value.map((R) => R[n.value])), m = /* @__PURE__ */ new Map(), u = F(), a = F(), c = F();
6115
+ const n = F(t.identifyField), i = F(t.displayType), o = F(!1), l = F(t.dataSource), r = F(t.textField), s = F(t.selections || []), d = H(() => s.value.map((R) => R[n.value])), m = /* @__PURE__ */ new Map(), u = F(), a = F(), c = F();
6113
6116
  let p;
6114
6117
  function f() {
6115
6118
  const R = /* @__PURE__ */ new Map(), E = t.selectionValues || [];
6116
- E.length && E.reduce((k, j) => (k.set(j, !0), k), R);
6119
+ E.length && E.reduce((k, G) => (k.set(G, !0), k), R);
6117
6120
  const _ = t.selections || [];
6118
- _.length && (R.clear(), _.reduce((k, j) => (k.set(j[n.value], !0), k), R)), s.value.length || (s.value = l.value.filter((k) => R.has(k[n.value])).map((k) => Object.assign({}, k))), l.value.forEach((k) => {
6119
- const j = k[n.value], V = R.has(j);
6120
- k.checked = V, V && m.set(j, k);
6121
+ _.length && (R.clear(), _.reduce((k, G) => (k.set(G[n.value], !0), k), R)), s.value.length || (s.value = l.value.filter((k) => R.has(k[n.value])).map((k) => Object.assign({}, k))), l.value.forEach((k) => {
6122
+ const G = k[n.value], V = R.has(G);
6123
+ k.checked = V, V && m.set(G, k);
6121
6124
  });
6122
6125
  }
6123
6126
  f(), ve(() => t.selections, (R) => {
6124
6127
  s.value = R, f();
6125
6128
  });
6126
- const h = $(() => i.value === "List"), y = $(() => i.value === "Tree");
6129
+ const h = H(() => i.value === "List"), y = H(() => i.value === "Tree");
6127
6130
  function M(R) {
6128
6131
  const E = nt(s.value);
6129
6132
  s.value = R.map((_) => Object.assign({}, _)), e.emit("change", s.value, E);
@@ -6247,7 +6250,7 @@ const dn = /* @__PURE__ */ it({
6247
6250
  class: "container columns-box f-utils-fill d-flex"
6248
6251
  }, [I()])])]);
6249
6252
  }
6250
- const P = $(() => ({
6253
+ const P = H(() => ({
6251
6254
  "f-transfer": !0,
6252
6255
  row: !0,
6253
6256
  "f-utils-fill": o.value
@@ -6275,9 +6278,9 @@ const dn = /* @__PURE__ */ it({
6275
6278
  let p = [];
6276
6279
  function f(E, _ = !0) {
6277
6280
  if (s.checkCanDeleteControl) {
6278
- const k = p.find((j) => {
6281
+ const k = p.find((G) => {
6279
6282
  var V;
6280
- return ((V = j.data) == null ? void 0 : V.id) === E.id;
6283
+ return ((V = G.data) == null ? void 0 : V.id) === E.id;
6281
6284
  });
6282
6285
  return s.checkCanDeleteControl(k, _);
6283
6286
  }
@@ -6295,7 +6298,7 @@ const dn = /* @__PURE__ */ it({
6295
6298
  const E = "[绑定字段不存在,待移除]";
6296
6299
  d.forEach((_) => {
6297
6300
  if (_.binding && _.binding.field) {
6298
- const k = p.find((j) => j.data.id === _.binding.field);
6301
+ const k = p.find((G) => G.data.id === _.binding.field);
6299
6302
  k ? k.data.$type === ut.ComplexField ? a.value.push(Object.assign({
6300
6303
  isInValidBinding: !0
6301
6304
  }, k.data, {
@@ -6313,11 +6316,11 @@ const dn = /* @__PURE__ */ it({
6313
6316
  function M(E, _ = []) {
6314
6317
  return E && E.forEach((k) => {
6315
6318
  if (_.push(k), k.children && M(k.children, _), s.appendIdentifyForNewControl) {
6316
- const j = d.find((V) => {
6317
- var L;
6318
- return ((L = V.binding) == null ? void 0 : L.field) === k.data.id;
6319
+ const G = d.find((V) => {
6320
+ var $;
6321
+ return (($ = V.binding) == null ? void 0 : $.field) === k.data.id;
6319
6322
  });
6320
- (!j || j[s.identifyForNewControl]) && s.appendIdentifyForNewControl(k);
6323
+ (!G || G[s.identifyForNewControl]) && s.appendIdentifyForNewControl(k);
6321
6324
  }
6322
6325
  }), _;
6323
6326
  }
@@ -6335,29 +6338,29 @@ const dn = /* @__PURE__ */ it({
6335
6338
  }
6336
6339
  function x(E, _, k) {
6337
6340
  if (o.getComponents().find((V) => {
6338
- let L = o.getControlsInCmpWidthBinding(V.viewModel, E);
6339
- if (L = L.filter((Z) => {
6341
+ let $ = o.getControlsInCmpWidthBinding(V.viewModel, E);
6342
+ if ($ = $.filter((Z) => {
6340
6343
  var re;
6341
6344
  if (Z.id === k)
6342
6345
  return !1;
6343
6346
  const Q = _.type === "visible" ? Z[_.type] : (re = Z.editor) == null ? void 0 : re[_.type];
6344
6347
  if (Q && Q.type === "Expression" && Q.expressionId === _.id)
6345
6348
  return !0;
6346
- }), L.length)
6349
+ }), $.length)
6347
6350
  return !0;
6348
6351
  }))
6349
6352
  return !0;
6350
6353
  }
6351
6354
  function v(E) {
6352
6355
  E.map((_) => {
6353
- var j;
6356
+ var G;
6354
6357
  const k = d.find((V) => {
6355
- var L;
6356
- return ((L = V.binding) == null ? void 0 : L.field) === _;
6358
+ var $;
6359
+ return (($ = V.binding) == null ? void 0 : $.field) === _;
6357
6360
  });
6358
6361
  if (k && o.getExpressions().length) {
6359
- const V = o.getExpressions(), L = V.findIndex((Z) => Z.target === _);
6360
- L > -1 && ((j = V[L].rules) == null || j.map((Z) => {
6362
+ const V = o.getExpressions(), $ = V.findIndex((Z) => Z.target === _);
6363
+ $ > -1 && ((G = V[$].rules) == null || G.map((Z) => {
6361
6364
  var Q;
6362
6365
  switch (Z.type) {
6363
6366
  case "visible":
@@ -6370,31 +6373,31 @@ const dn = /* @__PURE__ */ it({
6370
6373
  default:
6371
6374
  x(_, Z, k.id) || (Z.needDelete = !0);
6372
6375
  }
6373
- }), V[L].rules = V[L].rules.filter((Z) => !Z.needDelete));
6376
+ }), V[$].rules = V[$].rules.filter((Z) => !Z.needDelete));
6374
6377
  }
6375
6378
  });
6376
6379
  }
6377
6380
  function S() {
6378
- const E = i.getDgViewModel(n.value), _ = [], k = [], j = a.value;
6379
- j.forEach((L) => {
6381
+ const E = i.getDgViewModel(n.value), _ = [], k = [], G = a.value;
6382
+ G.forEach(($) => {
6380
6383
  const Z = d == null ? void 0 : d.find((Q) => {
6381
6384
  if (Q.binding && Q.binding.field)
6382
- return Q.binding.field === L.id;
6385
+ return Q.binding.field === $.id;
6383
6386
  });
6384
6387
  if (Z)
6385
6388
  _.push(Z);
6386
6389
  else {
6387
- const Q = r.setGridFieldProperty(t.gridType, L.data, null, m);
6388
- E.addField(L), _.push(Q);
6390
+ const Q = r.setGridFieldProperty(t.gridType, $.data, null, m);
6391
+ E.addField($), _.push(Q);
6389
6392
  }
6390
- k.push(L.id);
6393
+ k.push($.id);
6391
6394
  });
6392
- const V = E.fields.filter((L) => !k.includes(L.id));
6395
+ const V = E.fields.filter(($) => !k.includes($.id));
6393
6396
  if (V && V.length > 0) {
6394
- const L = V.map((Z) => Z.id);
6395
- E.removeField(L), v(L);
6397
+ const $ = V.map((Z) => Z.id);
6398
+ E.removeField($), v($);
6396
6399
  }
6397
- j.length !== a.value.length && (a.value = j), u.value = `共 ${_.length} 项`, e.emit("change", _);
6400
+ G.length !== a.value.length && (a.value = G), u.value = `共 ${_.length} 项`, e.emit("change", _);
6398
6401
  }
6399
6402
  const g = {
6400
6403
  fitContent: !1,
@@ -6423,8 +6426,8 @@ const dn = /* @__PURE__ */ it({
6423
6426
  _ > -1 && (a.value = [...a.value.slice(0, _), ...a.value.slice(_ + 1)]);
6424
6427
  }
6425
6428
  function P(E) {
6426
- const _ = E[0].__fv_index__, k = a.value.findIndex((V) => V.id === E[0].id), j = a.value.find((V) => V.id === E[0].id);
6427
- a.value.splice(k, 1), a.value.splice(_, 0, j);
6429
+ const _ = E[0].__fv_index__, k = a.value.findIndex((V) => V.id === E[0].id), G = a.value.find((V) => V.id === E[0].id);
6430
+ a.value.splice(k, 1), a.value.splice(_, 0, G);
6428
6431
  }
6429
6432
  const R = [{
6430
6433
  field: "name",
@@ -6465,7 +6468,7 @@ const dn = /* @__PURE__ */ it({
6465
6468
  }, {
6466
6469
  text: (E) => O("div", {
6467
6470
  style: "margin: 10px 0px 10px 14px;"
6468
- }, [E.data.name.data, je(" ["), E.data.bindingField.data, je("]")])
6471
+ }, [E.data.name.data, Ge(" ["), E.data.bindingField.data, Ge("]")])
6469
6472
  })])]
6470
6473
  });
6471
6474
  }
@@ -6931,8 +6934,8 @@ const dn = /* @__PURE__ */ it({
6931
6934
  formatter: { type: Function, default: () => {
6932
6935
  } },
6933
6936
  componentId: { type: String, default: "" }
6934
- }, Ar = Mt(Zt, kr, Vn, Bn), Hr = Mt(Zt, Nr, Vn, Bn);
6935
- function $r(t) {
6937
+ }, Ar = Mt(Zt, kr, Vn, Bn), Lr = Mt(Zt, Nr, Vn, Bn);
6938
+ function Hr(t) {
6936
6939
  const { formSchemaUtils: e, formStateMachineUtils: n } = t;
6937
6940
  function i(d, m = "") {
6938
6941
  return {
@@ -7344,7 +7347,7 @@ class An {
7344
7347
  * @returns
7345
7348
  */
7346
7349
  getPropertyEditorParams(e, n = [], i = "visible", o = {}, l = {}, r = "") {
7347
- const { getVariables: s, getControlName: d, getStateMachines: m } = $r(this.designerHostService), u = this.getRealTargetType(e), a = n && n.length > 0 ? n : ["Const", "Variable", "StateMachine", "Expression"], c = {
7350
+ const { getVariables: s, getControlName: d, getStateMachines: m } = Hr(this.designerHostService), u = this.getRealTargetType(e), a = n && n.length > 0 ? n : ["Const", "Variable", "StateMachine", "Expression"], c = {
7348
7351
  type: "property-editor",
7349
7352
  propertyTypes: a
7350
7353
  };
@@ -7516,7 +7519,7 @@ class An {
7516
7519
  }, n;
7517
7520
  }
7518
7521
  }
7519
- const Hn = [
7522
+ const Ln = [
7520
7523
  { key: "none", value: "无" },
7521
7524
  { key: "cellNumber", value: "手机号" },
7522
7525
  { key: "tel", value: "座机号/传真号" },
@@ -7528,7 +7531,7 @@ const Hn = [
7528
7531
  { key: "subjectCode", value: "10位数字会计科目代码" },
7529
7532
  { key: "custom", value: "自定义" }
7530
7533
  ];
7531
- function Lr(t) {
7534
+ function $r(t) {
7532
7535
  switch (t) {
7533
7536
  case "none":
7534
7537
  return "";
@@ -7557,11 +7560,11 @@ function Lr(t) {
7557
7560
  }
7558
7561
  function zr(t) {
7559
7562
  var e;
7560
- return "请输入正确的" + ((e = Hn.find((n) => n.key === t)) == null ? void 0 : e.value);
7563
+ return "请输入正确的" + ((e = Ln.find((n) => n.key === t)) == null ? void 0 : e.value);
7561
7564
  }
7562
7565
  const Wr = {
7563
7566
  convertTo: (t, e, n, i) => {
7564
- t.editor.formatValidation || (t.editor.formatValidation = { type: "none" }), t.editor.formatValidation.type = n, t.editor.formatValidation.expression = Lr(n), t.editor.formatValidation.message = zr(n);
7567
+ t.editor.formatValidation || (t.editor.formatValidation = { type: "none" }), t.editor.formatValidation.type = n, t.editor.formatValidation.expression = $r(n), t.editor.formatValidation.message = zr(n);
7565
7568
  },
7566
7569
  convertFrom: (t, e, n) => t.editor.formatValidation ? e === "type" ? t.editor.formatValidation[e] || "none" : t.editor.formatValidation[e] : "none"
7567
7570
  }, un = {
@@ -7569,19 +7572,19 @@ const Wr = {
7569
7572
  t.editor.formatValidation || (t.editor.formatValidation = { type: "none" }), t.editor.formatValidation[e] = n;
7570
7573
  },
7571
7574
  convertFrom: (t, e, n) => t.editor.formatValidation ? t.editor.formatValidation[e] : t.editor[e]
7572
- }, Gr = ["lookup", "more-vertical", "add", "edit", "x", "search", "image-edit", "copy", "source-code", "top_developmenttool", "reorder", "reload"];
7573
- function jr(t, e, n) {
7575
+ }, jr = ["lookup", "more-vertical", "add", "edit", "x", "search", "image-edit", "copy", "source-code", "top_developmenttool", "reorder", "reload"];
7576
+ function Gr(t, e, n) {
7574
7577
  const i = `<i class="f-icon f-icon-${e}"></i>`;
7575
7578
  n.value.setValue(i);
7576
7579
  }
7577
- const cn = (t) => O(Ze, null, [O("h5", null, [je("按钮图标示例")]), O("ul", {
7580
+ const cn = (t) => O(Ze, null, [O("h5", null, [Ge("按钮图标示例")]), O("ul", {
7578
7581
  class: "d-flex",
7579
7582
  style: "width: 200px; flex-wrap: wrap;align-items: center;height: 100px;"
7580
- }, [Gr.map((e) => O("li", {
7583
+ }, [jr.map((e) => O("li", {
7581
7584
  key: e,
7582
7585
  class: "btn",
7583
7586
  title: "双击添加到内容区域",
7584
- onDblclick: (n) => jr(n, e, t)
7587
+ onDblclick: (n) => Gr(n, e, t)
7585
7588
  }, [O("i", {
7586
7589
  class: `f-icon f-icon-${e}`
7587
7590
  }, null)]))])]);
@@ -7715,7 +7718,7 @@ class Ur extends Je {
7715
7718
  valueField: "key",
7716
7719
  idField: "key",
7717
7720
  editable: !1,
7718
- data: Hn
7721
+ data: Ln
7719
7722
  },
7720
7723
  refreshPanelAfterChanged: !0,
7721
7724
  $converter: Wr,
@@ -7755,7 +7758,7 @@ class Ur extends Je {
7755
7758
  tabName: "交互",
7756
7759
  setPropertyRelates(r, s) {
7757
7760
  const d = r.propertyValue;
7758
- delete s[n.viewModelId], d && n.eventsEditorUtils.saveRelatedParameters(s, n.viewModelId, d.events, d);
7761
+ delete s[n.viewModelId], d && (n.eventsEditorUtils.saveRelatedParameters(s, n.viewModelId, d.events, d), n.updateLinkedLabel(d, s));
7759
7762
  const m = n.designViewModelUtils.getDgViewModel(n.viewModelId);
7760
7763
  m && n.designViewModelField && m.changeField(n.designViewModelField.id, { valueChanging: s.fieldValueChanging, valueChanged: s.fieldValueChanged });
7761
7764
  }
@@ -7818,6 +7821,7 @@ ie(ft, "fieldControlTypeMapping", {
7818
7821
  { key: D.textarea.type, value: D.textarea.name },
7819
7822
  { key: D.lookup.type, value: D.lookup.name },
7820
7823
  { key: D.image.type, value: D.image.name },
7824
+ { key: D.avatar.type, value: D.avatar.name },
7821
7825
  { key: D["rich-text-editor"].type, value: D["rich-text-editor"].name }
7822
7826
  ],
7823
7827
  Decimal: [
@@ -7962,7 +7966,7 @@ function Dr(t) {
7962
7966
  getResonseFormLayoutConfig: r
7963
7967
  };
7964
7968
  }
7965
- const Yr = (t) => O(Ze, null, [O("h5", null, [je("代码示例")]), O("pre", {
7969
+ const Yr = (t) => O(Ze, null, [O("h5", null, [Ge("代码示例")]), O("pre", {
7966
7970
  style: "background-color: #f5f5f5; padding: 10px; border-radius: 5px;"
7967
7971
  }, [O("code", null, [`
7968
7972
  <h3>Tips:</h3>
@@ -7987,7 +7991,7 @@ class Bt extends An {
7987
7991
  },
7988
7992
  {
7989
7993
  label: "onClickLabel",
7990
- name: "点击标签事件"
7994
+ name: "标签点击事件"
7991
7995
  }
7992
7996
  ]);
7993
7997
  ie(this, "numberEditorOptions", {
@@ -8001,7 +8005,7 @@ class Bt extends An {
8001
8005
  getCommonPropertyConfig(n, i, o = "Card") {
8002
8006
  if (this.propertyConfig.categories.basic = this.getBasicProperties(n, i, o), this.propertyConfig.categories.appearance = this.getAppearanceProperties(n, i), this.propertyConfig.categories.behavior = this.getBehaviorConfig(n, "form-group"), o === "Card") {
8003
8007
  const l = this.getTipsConfig(n);
8004
- this.propertyConfig.categories.behavior.properties = { ...this.propertyConfig.categories.behavior.properties, ...l }, ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group"].includes(n.editor.type) && (this.propertyConfig.categories.expansion = this.getExpandProperties(n));
8008
+ this.propertyConfig.categories.behavior.properties = { ...this.propertyConfig.categories.behavior.properties, ...l }, ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "language-textbox"].includes(n.editor.type) && (this.propertyConfig.categories.expansion = this.getExpandProperties(n));
8005
8009
  }
8006
8010
  }
8007
8011
  getPropertyConfig(n, i) {
@@ -8272,7 +8276,7 @@ class Bt extends An {
8272
8276
  });
8273
8277
  }
8274
8278
  getTipsConfig(n) {
8275
- return ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor"].includes(n.editor.type) ? {
8279
+ return ["time-picker", "date-picker", "lookup", "combo-list", "number-spinner", "input-group", "textarea", "rich-text-editor", "language-textbox"].includes(n.editor.type) ? {
8276
8280
  enableTips: {
8277
8281
  refreshPanelAfterChanged: !0,
8278
8282
  description: "",
@@ -8438,6 +8442,13 @@ class Bt extends An {
8438
8442
  }
8439
8443
  return n.type;
8440
8444
  }
8445
+ updateLinkedLabel(n, i) {
8446
+ if (n.boundEventsList && n.boundEventsList.length > 0) {
8447
+ const o = n.boundEventsList.find((l) => l.boundEvents && l.boundEvents.label === "onClickLabel");
8448
+ i.linkLabel = !!o;
8449
+ } else
8450
+ i.linkLabel = !1;
8451
+ }
8441
8452
  /**
8442
8453
  * 组装输入类控件的交互面板:包含标签超链、绑定字段值变化前后事件等。
8443
8454
  * @param propertyData 属性值
@@ -8470,7 +8481,7 @@ class Bt extends An {
8470
8481
  tabName: "交互",
8471
8482
  setPropertyRelates(c, p) {
8472
8483
  const f = c.propertyValue;
8473
- delete n[r.viewModelId], f && (f.setPropertyRelates = this.setPropertyRelates, f.controlInfo = { type: r.getControlMethodType(n), name: n.title }, r.eventsEditorUtils.saveRelatedParameters(n, r.viewModelId, f.events, f)), l && l(c, p, f);
8484
+ delete n[r.viewModelId], f && (f.setPropertyRelates = this.setPropertyRelates, f.controlInfo = { type: r.getControlMethodType(n), name: n.title }, r.eventsEditorUtils.saveRelatedParameters(n, r.viewModelId, f.events, f), r.updateLinkedLabel(f, p)), l && l(c, p, f);
8474
8485
  const h = r.designViewModelUtils.getDgViewModel(r.viewModelId);
8475
8486
  h && r.designViewModelField && h.changeField(r.designViewModelField.id, { valueChanging: n.fieldValueChanging, valueChanged: n.fieldValueChanged });
8476
8487
  }
@@ -8514,35 +8525,67 @@ class Xr extends Bt {
8514
8525
  super(e, n);
8515
8526
  }
8516
8527
  getEditorProperties(e) {
8517
- return {
8518
- description: "编辑器",
8519
- title: "编辑器",
8520
- type: "avatar",
8521
- $converter: "/converter/property-editor.converter",
8522
- parentPropertyID: "editor",
8523
- properties: {
8524
- readonly: {
8525
- description: "",
8526
- title: "只读",
8527
- type: "boolean"
8528
- },
8529
- avatarWidth: {
8530
- description: "",
8531
- title: "头像宽度",
8532
- type: "number"
8533
- },
8534
- avatarHeight: {
8535
- description: "",
8536
- title: "头像高度",
8537
- type: "number"
8538
- },
8539
- cover: {
8540
- description: "",
8541
- title: "封面",
8542
- type: "string"
8528
+ return this.getComponentConfig(e, {}, {
8529
+ placeholder: {
8530
+ visible: !1
8531
+ },
8532
+ maxSize: {
8533
+ description: "允许头像上传的大小,单位MB",
8534
+ title: "允许图片大小 (M)",
8535
+ type: "number"
8536
+ },
8537
+ cover: {
8538
+ description: "",
8539
+ title: "默认封面",
8540
+ type: "string"
8541
+ },
8542
+ title: {
8543
+ description: "鼠标滑过图像时的提示文字",
8544
+ title: "提示文字",
8545
+ type: "string"
8546
+ },
8547
+ avatarWidth: {
8548
+ description: "",
8549
+ title: "头像宽度",
8550
+ type: "number",
8551
+ editor: {
8552
+ nullable: !0,
8553
+ min: 0,
8554
+ useThousands: !1,
8555
+ needValid: !0
8556
+ }
8557
+ },
8558
+ avatarHeight: {
8559
+ description: "",
8560
+ title: "头像高度",
8561
+ type: "number",
8562
+ editor: {
8563
+ nullable: !0,
8564
+ min: 0,
8565
+ useThousands: !1,
8566
+ needValid: !0
8567
+ }
8568
+ },
8569
+ imageType: {
8570
+ description: "允许图片上传的类型",
8571
+ title: "允许图片格式",
8572
+ type: "array",
8573
+ editor: {
8574
+ type: "combo-list",
8575
+ placeholder: "",
8576
+ multiSelect: !0,
8577
+ data: [
8578
+ { id: "png", name: "png" },
8579
+ { id: "jpg", name: "jpg" },
8580
+ { id: "jpeg", name: "jpeg" },
8581
+ { id: "webp", name: "webp" },
8582
+ { id: "svg", name: "svg" },
8583
+ { id: "gif", name: "gif" },
8584
+ { id: "bmp", name: "bmp" }
8585
+ ]
8543
8586
  }
8544
8587
  }
8545
- };
8588
+ });
8546
8589
  }
8547
8590
  }
8548
8591
  class Zr extends Je {
@@ -9002,7 +9045,7 @@ class Qr extends Je {
9002
9045
  tabName: "交互",
9003
9046
  setPropertyRelates(u, a) {
9004
9047
  const c = u.propertyValue;
9005
- delete e[l.viewModelId], c && (c.setPropertyRelates = this.setPropertyRelates, l.eventsEditorUtils.saveRelatedParameters(e, l.viewModelId, c.events, c)), o && o(u, a, c);
9048
+ delete e[l.viewModelId], c && (c.setPropertyRelates = this.setPropertyRelates, l.eventsEditorUtils.saveRelatedParameters(e, l.viewModelId, c.events, c), l.updateLinkedLabel(c, a)), o && o(u, a, c);
9006
9049
  const p = l.designViewModelUtils.getDgViewModel(l.viewModelId);
9007
9050
  p && l.designViewModelField && p.changeField(l.designViewModelField.id, { valueChanging: e.fieldValueChanging, valueChanged: e.fieldValueChanged }), e.editor.beforeOpen !== e.beforeOpen && (e.editor.beforeOpen = e.beforeOpen), e.editor.onChange !== e.onChange && (e.editor.onChange = e.onChange), e.editor.onClear !== e.onClear && (e.editor.onClear = e.onClear);
9008
9051
  }
@@ -9328,7 +9371,7 @@ class sa extends Je {
9328
9371
  tabName: "交互",
9329
9372
  setPropertyRelates(r, s) {
9330
9373
  const d = r.propertyValue;
9331
- delete s[n.viewModelId], d && n.eventsEditorUtils.saveRelatedParameters(s, n.viewModelId, d.events, d);
9374
+ delete s[n.viewModelId], d && (n.eventsEditorUtils.saveRelatedParameters(s, n.viewModelId, d.events, d), n.updateLinkedLabel(d, s));
9332
9375
  const m = n.designViewModelUtils.getDgViewModel(n.viewModelId);
9333
9376
  m && n.designViewModelField && m.changeField(n.designViewModelField.id, { valueChanging: s.fieldValueChanging, valueChanged: s.fieldValueChanged });
9334
9377
  }
@@ -9439,7 +9482,7 @@ function fa(t, e) {
9439
9482
  mode: "server"
9440
9483
  });
9441
9484
  }
9442
- const $n = {
9485
+ const Hn = {
9443
9486
  convertFrom: (t, e) => {
9444
9487
  var i;
9445
9488
  return (i = (t.editor ? t.editor : t).dataSource) == null ? void 0 : i.displayName;
@@ -9543,7 +9586,7 @@ const $n = {
9543
9586
  }
9544
9587
  i.pagination[e] = n;
9545
9588
  }
9546
- }, Ln = [
9589
+ }, $n = [
9547
9590
  {
9548
9591
  label: "clear",
9549
9592
  name: "清空事件"
@@ -9566,7 +9609,7 @@ const $n = {
9566
9609
  }
9567
9610
  ], pn = (t) => O(Ze, null, [O("h5", {
9568
9611
  style: "display: flex;justify-content: space-between;align-items: center;"
9569
- }, [je("示例代码:")]), O("pre", {
9612
+ }, [Ge("示例代码:")]), O("pre", {
9570
9613
  style: "height: calc(100% - 35px);margin: 0;"
9571
9614
  }, [`{
9572
9615
  // 列绑定字段返回自定义数据,rowData: 行数据, column: 列信息
@@ -9621,7 +9664,7 @@ function ya(t, e) {
9621
9664
  ],
9622
9665
  repositoryToken: va
9623
9666
  },
9624
- dataSourceConverter: $n,
9667
+ dataSourceConverter: Hn,
9625
9668
  defaultConverter: pe,
9626
9669
  idFieldEditor: {
9627
9670
  type: "field-selector",
@@ -10106,7 +10149,7 @@ class wa extends Je {
10106
10149
  }
10107
10150
  }
10108
10151
  },
10109
- $converter: $n
10152
+ $converter: Hn
10110
10153
  },
10111
10154
  filterConditions: {
10112
10155
  descriptions: "帮助过滤条件",
@@ -10443,7 +10486,7 @@ class wa extends Je {
10443
10486
  }
10444
10487
  getEventPropConfig(n) {
10445
10488
  const i = this;
10446
- let o = Ln;
10489
+ let o = $n;
10447
10490
  n.editor.openType === "Popup" && (o = o.filter((s) => s.label !== "beforeSelectData")), o.push(...this.formGroupEvents);
10448
10491
  const l = i.eventsEditorUtils.formProperties(n, i.viewModelId, o);
10449
10492
  return {
@@ -10456,7 +10499,7 @@ class wa extends Je {
10456
10499
  tabName: "交互",
10457
10500
  setPropertyRelates(s, d) {
10458
10501
  const m = s.propertyValue;
10459
- delete d[i.viewModelId], m && i.eventsEditorUtils.saveRelatedParameters(d, i.viewModelId, m.events, m);
10502
+ delete d[i.viewModelId], m && (i.eventsEditorUtils.saveRelatedParameters(d, i.viewModelId, m.events, m), i.updateLinkedLabel(m, d));
10460
10503
  const u = i.designViewModelUtils.getDgViewModel(i.viewModelId);
10461
10504
  u && i.designViewModelField && u.changeField(i.designViewModelField.id, { valueChanging: d.fieldValueChanging, valueChanged: d.fieldValueChanged });
10462
10505
  }
@@ -11044,7 +11087,7 @@ class ka extends An {
11044
11087
  ), i && o.push({
11045
11088
  label: "onClickLinkCommand",
11046
11089
  name: "超链接事件"
11047
- }), ((m = n == null ? void 0 : n.editor) == null ? void 0 : m.type) === "lookup" && (o = [...o, ...Ln], n.editor.openType === "Popup" && (o = o.filter((a) => a.label !== "beforeSelectData"))), ((u = n == null ? void 0 : n.editor) == null ? void 0 : u.type) === "date-picker" && (o = [{ label: "onDatePicked", name: "日期选择后事件" }]);
11090
+ }), ((m = n == null ? void 0 : n.editor) == null ? void 0 : m.type) === "lookup" && (o = [...o, ...$n], n.editor.openType === "Popup" && (o = o.filter((a) => a.label !== "beforeSelectData"))), ((u = n == null ? void 0 : n.editor) == null ? void 0 : u.type) === "date-picker" && (o = [{ label: "onDatePicked", name: "日期选择后事件" }]);
11048
11091
  const l = this, r = l.eventsEditorUtils.formProperties(n, l.viewModelId, o), s = l.createBaseEventProperty(r);
11049
11092
  this.propertyConfig.categories.eventsEditor = {
11050
11093
  title: "事件",
@@ -11195,20 +11238,6 @@ class ka extends An {
11195
11238
  language: "html"
11196
11239
  }
11197
11240
  },
11198
- // formatterType: {
11199
- // title: '启用列格式化',
11200
- // type: 'enum',
11201
- // $converter: '/converter/change-formatter-type.converter',
11202
- // description: '启用列格式化',
11203
- // refreshPanelAfterChanged: true,
11204
- // editor: {
11205
- // data: [
11206
- // { id: 'default', name: '默认格式化' },
11207
- // { id: 'custom', name: '列模板' },
11208
- // { id: 'hyperlink', name: '超链接模板' }
11209
- // ]
11210
- // },
11211
- // },
11212
11241
  summaryType: {
11213
11242
  description: "合计类型",
11214
11243
  title: "合计类型",
@@ -11227,47 +11256,41 @@ class ka extends An {
11227
11256
  title: "分组",
11228
11257
  visible: !!((s = (r = this.dataGridProps) == null ? void 0 : r.group) != null && s.enable),
11229
11258
  type: "boolean",
11230
- // enableGroup: {
11231
- // description: '启用分组',
11232
- // title: '分组',
11233
- // visible: !!this.dataGridProps?.group?.enable,
11234
- // type: 'boolean',
11235
- // refreshPanelAfterChanged: true
11236
- // }
11237
- fixed: {
11238
- description: "固定列",
11239
- title: "固定列",
11240
- type: "enum",
11241
- editor: {
11242
- data: [
11243
- { id: "primary", name: "不固定" },
11244
- { id: "left", name: "固定左侧" },
11245
- { id: "right", name: "固定右侧" }
11246
- ]
11247
- },
11248
- refreshPanelAfterChanged: !0
11249
- }
11259
+ refreshPanelAfterChanged: !0
11250
11260
  },
11251
- setPropertyRelates(d, m, u) {
11252
- if (d)
11253
- switch (d && d.propertyID) {
11254
- case "width": {
11255
- m.actualWidth = d.propertyValue;
11256
- break;
11257
- }
11258
- case "summaryType": {
11259
- const { groupFields: a } = i.summary;
11260
- !a.includes(m.field) && d.propertyValue === "sum" && a.push(m.field), a.includes(m.field) && d.propertyValue === "none" && a.splice(a.indexOf(m.field), 1);
11261
- break;
11262
- }
11263
- case "columnTemplate": {
11264
- d.propertyValue;
11265
- break;
11266
- }
11267
- case "enableGroup":
11268
- d.propertyValue ? i.group.groupFields = [m.field] : i.group.groupFields = [];
11269
- }
11261
+ fixed: {
11262
+ description: "固定列",
11263
+ title: "固定列",
11264
+ type: "enum",
11265
+ editor: {
11266
+ data: [
11267
+ { id: "primary", name: "不固定" },
11268
+ { id: "left", name: "固定左侧" },
11269
+ { id: "right", name: "固定右侧" }
11270
+ ]
11271
+ },
11272
+ refreshPanelAfterChanged: !0
11270
11273
  }
11274
+ },
11275
+ setPropertyRelates(d, m, u) {
11276
+ if (d)
11277
+ switch (d && d.propertyID) {
11278
+ case "width": {
11279
+ m.actualWidth = d.propertyValue;
11280
+ break;
11281
+ }
11282
+ case "summaryType": {
11283
+ const { groupFields: a } = i.summary;
11284
+ !a.includes(m.field) && d.propertyValue === "sum" && a.push(m.field), a.includes(m.field) && d.propertyValue === "none" && a.splice(a.indexOf(m.field), 1);
11285
+ break;
11286
+ }
11287
+ case "columnTemplate": {
11288
+ d.propertyValue;
11289
+ break;
11290
+ }
11291
+ case "enableGroup":
11292
+ d.propertyValue ? i.group.groupFields = [m.field] : i.group.groupFields = [];
11293
+ }
11271
11294
  }
11272
11295
  };
11273
11296
  }
@@ -11842,7 +11865,7 @@ const Pa = {
11842
11865
  }
11843
11866
  return "";
11844
11867
  }
11845
- }, Ha = {
11868
+ }, La = {
11846
11869
  convertTo: (t, e, n, i) => {
11847
11870
  t.column ? t.column[e] = n : t.column = {
11848
11871
  [e]: n
@@ -11857,7 +11880,7 @@ const Pa = {
11857
11880
  }
11858
11881
  return "";
11859
11882
  }
11860
- }, $a = {
11883
+ }, Ha = {
11861
11884
  convertTo: (t, e, n, i) => {
11862
11885
  t.summary ? t.summary[e] = n : t.summary = {
11863
11886
  [e]: n
@@ -11870,7 +11893,7 @@ const Pa = {
11870
11893
  var i;
11871
11894
  return e === "customSummaryStyle" ? t.summary.customSummaryStyle : e === "position" ? ((i = t.summary) == null ? void 0 : i[e]) || "bottom" : t.summary && e === "enable" ? t.summary.enable : t.type === "data-grid-column" ? t.enableSummary === void 0 ? !1 : t.enableSummary : "";
11872
11895
  }
11873
- }, La = {
11896
+ }, $a = {
11874
11897
  convertTo: (t, e, n, i) => {
11875
11898
  t.group ? t.group[e] = n : t.group = {
11876
11899
  [e]: n
@@ -11901,12 +11924,12 @@ const Pa = {
11901
11924
  t.pagination || (t.pagination = {}), e === "sizeLimits" ? t.pagination.sizeLimits = n.split(",") : t.pagination[e] = n;
11902
11925
  },
11903
11926
  convertFrom: (t, e, n) => t.pagination ? e === "sizeLimits" ? t.pagination.sizeLimits.join(",") : t.pagination[e] : t[e]
11904
- }, Ga = {
11927
+ }, ja = {
11905
11928
  convertTo: (t, e, n, i) => {
11906
11929
  t.rowNumber || (t.rowNumber = {}), t.rowNumber[e] = n;
11907
11930
  },
11908
11931
  convertFrom: (t, e, n) => t.rowNumber ? t.rowNumber[e] : t[e]
11909
- }, ja = {
11932
+ }, Ga = {
11910
11933
  convertTo: (t, e, n, i) => {
11911
11934
  t.selection || (t.selection = {}), t.selection[e] = n;
11912
11935
  },
@@ -11980,8 +12003,18 @@ const Pa = {
11980
12003
  </span>`), e === "columnTemplateType" && n === "default" && (t.columnTemplate = ""), e === "columnTemplateType" && n === "custom" && (t.columnTemplate = ""));
11981
12004
  },
11982
12005
  convertFrom: (t, e, n) => e === "columnTemplate" ? t.columnTemplate : e === "columnTemplateType" ? t.columnTemplateType ? t.columnTemplateType || "default" : t.columnTemplate && !t.onClickLinkCommand ? "custom" : t.columnTemplate && t.onClickLinkCommand ? "hyperlink" : "default" : ""
12006
+ }, Ka = {
12007
+ convertTo: (t, e, n, i) => {
12008
+ t.hierarchy || (t.hierarchy = {
12009
+ cascadeOption: {}
12010
+ }), t.hierarchy.cascadeOption || (t.hierarchy.cascadeOption = {}), t.hierarchy.cascadeOption[e] = n;
12011
+ },
12012
+ convertFrom: (t, e, n) => {
12013
+ var i, o;
12014
+ return !!((o = (i = t.hierarchy) == null ? void 0 : i.cascadeOption) != null && o[e]);
12015
+ }
11983
12016
  };
11984
- function Ka(t, e, n) {
12017
+ function es(t, e, n) {
11985
12018
  const i = /* @__PURE__ */ new Map([
11986
12019
  ["/converter/appearance.converter", Pa],
11987
12020
  ["/converter/buttons.converter", Va],
@@ -11991,20 +12024,21 @@ function Ka(t, e, n) {
11991
12024
  ["/converter/change-editor.converter", Ra],
11992
12025
  ["/converter/change-formatter.converter", Na],
11993
12026
  ["/converter/column-command.converter", Aa],
11994
- ["/converter/column-option.converter", Ha],
11995
- ["/converter/summary.converter", $a],
11996
- ["/converter/group.converter", La],
12027
+ ["/converter/column-option.converter", La],
12028
+ ["/converter/summary.converter", Ha],
12029
+ ["/converter/group.converter", $a],
11997
12030
  ["/converter/form-group-label.converter", qa],
11998
12031
  ["/converter/field-selector.converter", za],
11999
12032
  ["/converter/pagination.converter", Wa],
12000
- ["/converter/row-number.converter", Ga],
12001
- ["/converter/grid-selection.converter", ja],
12033
+ ["/converter/row-number.converter", ja],
12034
+ ["/converter/grid-selection.converter", Ga],
12002
12035
  ["/converter/size.converter", Da],
12003
12036
  ["/converter/change-formatter-enum.converter", Ya],
12004
12037
  ["/converter/grid-sort.converter", Xa],
12005
12038
  ["/converter/grid-filter.converter", Za],
12006
12039
  ["/converter/row-option.converter", Ja],
12007
- ["/converter/change-formatter-type.converter", Qa]
12040
+ ["/converter/change-formatter-type.converter", Qa],
12041
+ ["/converter/tree-auto-check.converter", Ka]
12008
12042
  ]), o = /* @__PURE__ */ new Map([
12009
12043
  ["string", { type: "input-group", enableClear: !1 }],
12010
12044
  ["boolean", {
@@ -12047,22 +12081,22 @@ function Ka(t, e, n) {
12047
12081
  return Object.keys(f).map((S) => {
12048
12082
  const g = F(1), C = S, w = f[S], I = Object.keys(w), B = w.title, P = w.type, R = o.get(P) || { type: "input-group", enableClear: !1 }, E = w.editor ? Object.assign({}, R, w.editor) : Object.assign({}, R), _ = s(I, w, h), k = d(I, w, h);
12049
12083
  E.readonly = E.readonly === void 0 ? k() : E.readonly;
12050
- const j = w.type === "cascade" ? u(w.properties, h, y, M, b, T, x) : [], V = !0;
12051
- let L = m(w, x);
12052
- const Z = $({
12084
+ const G = w.type === "cascade" ? u(w.properties, h, y, M, b, T, x) : [], V = !0;
12085
+ let $ = m(w, x);
12086
+ const Z = H({
12053
12087
  get() {
12054
12088
  if (g.value) {
12055
- if (["class", "style"].find((N) => N === C) && !L && (L = i.get("/converter/appearance.converter") || null), L && L.convertFrom)
12056
- return L.convertFrom(y, S, b, T);
12057
- const H = y[S];
12058
- return Object.prototype.hasOwnProperty.call(w, "defaultValue") && (H === void 0 || typeof H == "string" && H === "") ? w.type === "boolean" ? w.defaultValue : w.defaultValue || "" : H;
12089
+ if (["class", "style"].find((N) => N === C) && !$ && ($ = i.get("/converter/appearance.converter") || null), $ && $.convertFrom)
12090
+ return $.convertFrom(y, S, b, T);
12091
+ const L = y[S];
12092
+ return Object.prototype.hasOwnProperty.call(w, "defaultValue") && (L === void 0 || typeof L == "string" && L === "") ? w.type === "boolean" ? w.defaultValue : w.defaultValue || "" : L;
12059
12093
  }
12060
12094
  return null;
12061
12095
  },
12062
- set(H) {
12063
- g.value += 1, L && L.convertTo ? (L.convertTo(M, S, H, b, T), L.convertTo(y, S, H, b, T)) : (M[S] = H, y[S] = H);
12096
+ set(L) {
12097
+ g.value += 1, $ && $.convertTo ? ($.convertTo(M, S, L, b, T), $.convertTo(y, S, L, b, T)) : (M[S] = L, y[S] = L);
12064
12098
  }
12065
- }), { refreshPanelAfterChanged: Q, description: re, isExpand: ke, parentPropertyID: we } = w, Te = { propertyID: C, propertyName: B, propertyType: P, propertyValue: Z, editor: E, visible: _, readonly: k, cascadeConfig: j, hideCascadeTitle: V, refreshPanelAfterChanged: Q, description: re, isExpand: ke, parentPropertyID: we };
12099
+ }), { refreshPanelAfterChanged: Q, description: re, isExpand: ke, parentPropertyID: we } = w, Te = { propertyID: C, propertyName: B, propertyType: P, propertyValue: Z, editor: E, visible: _, readonly: k, cascadeConfig: G, hideCascadeTitle: V, refreshPanelAfterChanged: Q, description: re, isExpand: ke, parentPropertyID: we };
12066
12100
  return h[C] = Te, Te;
12067
12101
  });
12068
12102
  }
@@ -12096,8 +12130,8 @@ function Ka(t, e, n) {
12096
12130
  C.push(c(w, I, f, h, M));
12097
12131
  return;
12098
12132
  }
12099
- const B = I == null ? void 0 : I.title, P = I == null ? void 0 : I.tabId, R = I == null ? void 0 : I.tabName, E = I == null ? void 0 : I.hide, _ = I == null ? void 0 : I.hideTitle, k = u(I.properties || {}, v, x, f, h, M, I.$converter), { setPropertyRelates: j } = I, V = I == null ? void 0 : I.parentPropertyID;
12100
- C.push({ categoryId: w, categoryName: B, tabId: P, tabName: R, hide: E, properties: k, hideTitle: _, setPropertyRelates: j, parentPropertyID: V });
12133
+ const B = I == null ? void 0 : I.title, P = I == null ? void 0 : I.tabId, R = I == null ? void 0 : I.tabName, E = I == null ? void 0 : I.hide, _ = I == null ? void 0 : I.hideTitle, k = u(I.properties || {}, v, x, f, h, M, I.$converter), { setPropertyRelates: G } = I, V = I == null ? void 0 : I.parentPropertyID;
12134
+ C.push({ categoryId: w, categoryName: B, tabId: P, tabName: R, hide: E, properties: k, hideTitle: _, setPropertyRelates: G, parentPropertyID: V });
12101
12135
  }), C;
12102
12136
  }
12103
12137
  return [];
@@ -12108,7 +12142,7 @@ function Ka(t, e, n) {
12108
12142
  propertyConverterMap: i
12109
12143
  };
12110
12144
  }
12111
- function es(t, e) {
12145
+ function ts(t, e) {
12112
12146
  let n;
12113
12147
  function i(a) {
12114
12148
  const { properties: c, title: p, ignore: f } = a, h = f && Array.isArray(f), y = Object.keys(c).reduce((M, b) => ((!h || !f.find((T) => T === b)) && (M[b] = c[b].type === "object" && c[b].properties ? i(c[b]) : nt(c[b].default)), M), {});
@@ -12185,11 +12219,11 @@ function es(t, e) {
12185
12219
  }
12186
12220
  return { getSchemaByType: l, resolveSchemaWithDefaultValue: m, resolveSchemaToProps: d, mappingSchemaToProps: s, setDesignerContext: u };
12187
12221
  }
12188
- const ts = {}, ns = {}, { resolveSchemaWithDefaultValue: is } = es(ts, ns), os = {}, ls = {};
12189
- Ka(os, ls, is);
12190
- const { globalStorageKey: vu } = Zn();
12222
+ const ns = {}, is = {}, { resolveSchemaWithDefaultValue: os } = ts(ns, is), ls = {}, rs = {};
12223
+ es(ls, rs, os);
12224
+ const { globalStorageKey: yu } = Zn();
12191
12225
  var zn = /* @__PURE__ */ ((t) => (t.SimpleField = "SimpleField", t.ComplexField = "ComplexField", t))(zn || {});
12192
- function rs(t, e, n) {
12226
+ function as(t, e, n) {
12193
12227
  function i() {
12194
12228
  const r = n.componentId;
12195
12229
  if (!r)
@@ -12239,7 +12273,7 @@ const gn = /* @__PURE__ */ it({
12239
12273
  }
12240
12274
  const {
12241
12275
  checkBindingFieldValidation: d
12242
- } = rs(i, o, t), u = !We("external-container-id");
12276
+ } = as(i, o, t), u = !We("external-container-id");
12243
12277
  return () => {
12244
12278
  var f;
12245
12279
  const a = u ? d() : !0, c = "绑定信息已失效,请手动移除列", p = a ? "" : "color:red";
@@ -12254,10 +12288,10 @@ const gn = /* @__PURE__ */ it({
12254
12288
  onClick: (h) => s()
12255
12289
  }, [((f = t.editor) == null ? void 0 : f.required) === !0 && O("span", {
12256
12290
  class: "text-danger"
12257
- }, [je("*")]), t.title])]);
12291
+ }, [Ge("*")]), t.title])]);
12258
12292
  };
12259
12293
  }
12260
- }), as = "https://json-schema.org/draft/2020-12/schema", ss = "https://farris-design.gitee.io/data-grid.schema.json", ds = "data-grid", us = "A Farris Data Grid Component", cs = "object", fs = {
12294
+ }), ss = "https://json-schema.org/draft/2020-12/schema", ds = "https://farris-design.gitee.io/data-grid.schema.json", us = "data-grid", cs = "A Farris Data Grid Component", fs = "object", ms = {
12261
12295
  id: {
12262
12296
  description: "The unique identifier for a Input Group",
12263
12297
  type: "string"
@@ -13090,11 +13124,11 @@ const gn = /* @__PURE__ */ it({
13090
13124
  type: "boolean",
13091
13125
  default: !0
13092
13126
  }
13093
- }, ms = [
13127
+ }, ps = [
13094
13128
  "id",
13095
13129
  "type",
13096
13130
  "columns"
13097
- ], ps = {
13131
+ ], gs = {
13098
13132
  onClickRow: "行点击事件",
13099
13133
  onSelectionChange: "行切换事件",
13100
13134
  onDoubleClickRow: "行双击事件",
@@ -13110,16 +13144,16 @@ const gn = /* @__PURE__ */ it({
13110
13144
  onUnSelectAll: "取消全选事件",
13111
13145
  onEndEditCell: "单元格结束编辑事件"
13112
13146
  }, Wn = {
13113
- $schema: as,
13114
- $id: ss,
13115
- title: ds,
13116
- description: us,
13117
- type: cs,
13118
- properties: fs,
13119
- required: ms,
13120
- events: ps
13147
+ $schema: ss,
13148
+ $id: ds,
13149
+ title: us,
13150
+ description: cs,
13151
+ type: fs,
13152
+ properties: ms,
13153
+ required: ps,
13154
+ events: gs
13121
13155
  };
13122
- function gs() {
13156
+ function hs() {
13123
13157
  function t(e, n) {
13124
13158
  const i = {};
13125
13159
  return i.beforeEditCell = (o) => n.call("beforeEditCell", e, [o, e]), i.beforeUpdate = (o) => n.call("beforeUpdate", e, [o, e]), i;
@@ -13128,30 +13162,30 @@ function gs() {
13128
13162
  resolve: t
13129
13163
  };
13130
13164
  }
13131
- const hs = Cn(
13165
+ const vs = Cn(
13132
13166
  yn,
13133
13167
  Wn,
13134
13168
  Pt,
13135
13169
  Vt
13136
- ), vs = Mt(yn, Wn, Pt, Vt), ys = Kn(), bs = ei(), Cs = ti(), ws = gs();
13170
+ ), ys = Mt(yn, Wn, Pt, Vt), bs = Kn(), Cs = ei(), ws = ti(), Ss = hs();
13137
13171
  dt.install = (t) => {
13138
13172
  t.component(dt.name, dt);
13139
13173
  };
13140
13174
  dt.register = (t, e, n, i, o) => {
13141
- t["data-grid"] = Qn, e["data-grid"] = hs(o), t["grid-field-editor"] = br, e["grid-field-editor"] = Ul(o), i["data-grid"] = { bindingResolver: ys, selectionItemResolver: bs, updateColumnsResolver: Cs, callbackResolver: ws };
13175
+ t["data-grid"] = Qn, e["data-grid"] = vs(o), t["grid-field-editor"] = br, e["grid-field-editor"] = Ul(o), i["data-grid"] = { bindingResolver: bs, selectionItemResolver: Cs, updateColumnsResolver: ws, callbackResolver: Ss };
13142
13176
  };
13143
13177
  dt.registerDesigner = (t, e, n) => {
13144
- t["data-grid"] = dt, e["data-grid"] = vs, e["data-grid-column"] = Ar, t["data-grid-column"] = gn, e["tree-grid-column"] = Hr, t["tree-grid-column"] = gn;
13178
+ t["data-grid"] = dt, e["data-grid"] = ys, e["data-grid-column"] = Ar, t["data-grid-column"] = gn, e["tree-grid-column"] = Lr, t["tree-grid-column"] = gn;
13145
13179
  };
13146
- const yu = Jn(dt);
13180
+ const bu = Jn(dt);
13147
13181
  export {
13148
13182
  dt as FDataGridDesign,
13149
- ys as bindingResolver,
13150
- ws as callbackResolver,
13151
- yu as default,
13183
+ bs as bindingResolver,
13184
+ Ss as callbackResolver,
13185
+ bu as default,
13152
13186
  cl as getColumnHeader,
13153
- vs as propsResolver,
13154
- hs as propsResolverGenerator,
13155
- bs as selectionItemResolver,
13156
- Cs as updateColumnsResolver
13187
+ ys as propsResolver,
13188
+ vs as propsResolverGenerator,
13189
+ Cs as selectionItemResolver,
13190
+ ws as updateColumnsResolver
13157
13191
  };