@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,17 +1,17 @@
1
1
  var Sn = Object.defineProperty;
2
2
  var Tn = (e, t, n) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var me = (e, t, n) => Tn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as Be, ref as r, computed as y, createVNode as l, Teleport as Tt, createApp as ft, onUnmounted as Qe, Fragment as pe, watch as Q, nextTick as Le, onBeforeMount as Mn, onMounted as Ae, watchEffect as kn, Transition as Mt, shallowRef as Fn, render as ut, h as On, cloneVNode as In, mergeProps as ot, inject as tt, withDirectives as En, vShow as Pn, onUpdated as Dn, onBeforeUnmount as Rn, createTextVNode as xe, reactive as ge, isVNode as kt, Comment as Hn, provide as jn } from "vue";
3
+ var ge = (e, t, n) => Tn(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { defineComponent as Be, ref as r, computed as b, createVNode as l, Teleport as Tt, createApp as ft, onUnmounted as Qe, Fragment as pe, watch as Q, nextTick as Le, onBeforeMount as Mn, onMounted as Ae, watchEffect as kn, Transition as Mt, shallowRef as Fn, render as ut, h as On, cloneVNode as In, mergeProps as ot, inject as tt, withDirectives as En, vShow as Pn, onUpdated as Dn, onBeforeUnmount as Rn, createTextVNode as xe, reactive as ve, isVNode as kt, Comment as Hn, provide as jn } from "vue";
5
5
  import { LocaleService as be } from "../locale/index.esm.js";
6
6
  import { getMaxZIndex as wt, isMobilePhone as Nn, useGuid as Vn, withInstall as Ft, useCommonUtils as zn, getCustomClass as Ln } from "../common/index.esm.js";
7
7
  import { cloneDeep as Ot, debounce as An } from "lodash-es";
8
8
  import "../property-panel/index.esm.js";
9
- import xt from "../button/index.esm.js";
9
+ import { FButton as xt } from "../button/index.esm.js";
10
10
  import "../field-selector/index.esm.js";
11
11
  import Wn from "../tags/index.esm.js";
12
12
  import Gn from "../popover/index.esm.js";
13
13
  import { useResizeObserver as $n } from "@vueuse/core";
14
- import { CellMode as Un, useScreen as qn, useIdentify as Kn, useGroupData as _n, useFilter as Yn, useHierarchy as Xn, useLoading as Jn, useDataView as Zn, usePagination as Qn, useSelection as ea, useDataViewContainerStyle as ta, useCommandColumn as na, useSettingColumn as aa, useColumn as oa, useSort as la, useGroupColumn as ia, useRow as sa, useEdit as ua, useVisualDataBound as ra, useVisualDataCell as ca, useVisualDataRow as da, useVisualGroupRow as fa, useVisualSummaryRow as va, useVisualData as ma, useCellContentStyle as ha, useCellPosition as ga, useSidebar as pa, useVirtualScroll as ya, useFitColumn as ba, useFilterHistory as Ca, useColumnFilter as wa, useDragColumn as xa, getColumnHeader as Ba, getPagination as Sa, getSidebar as Ta, getDisableMask as Ma, getSummary as ka, getHorizontalScrollbar as Fa, getVerticalScrollbar as Oa, getFilterPanel as Ia, getGroupPanel as Ea, useAdapt as Pa, useNavigation as Da, getEmpty as Ra, COMMAND_COLUMN_DATA_TYPE as Bt, SETTING_COLUMN_DATA_TYPE as St } from "../data-view/index.esm.js";
14
+ import { CellMode as Un, useScreen as qn, useIdentify as Kn, useGroupData as Yn, useFilter as _n, useHierarchy as Xn, useLoading as Jn, useDataView as Zn, usePagination as Qn, useSelection as ea, useDataViewContainerStyle as ta, useCommandColumn as na, useSettingColumn as aa, useColumn as oa, useSort as la, useGroupColumn as ia, useRow as sa, useEdit as ua, useVisualDataBound as ra, useVisualDataCell as ca, useVisualDataRow as da, useVisualGroupRow as fa, useVisualSummaryRow as va, useVisualData as ma, useCellContentStyle as ha, useCellPosition as ga, useSidebar as pa, useVirtualScroll as ya, useFitColumn as ba, useFilterHistory as Ca, useColumnFilter as wa, useDragColumn as xa, getColumnHeader as Ba, getPagination as Sa, getSidebar as Ta, getDisableMask as Ma, getSummary as ka, getHorizontalScrollbar as Fa, getVerticalScrollbar as Oa, getFilterPanel as Ia, getGroupPanel as Ea, useAdapt as Pa, useNavigation as Da, getEmpty as Ra, COMMAND_COLUMN_DATA_TYPE as Bt, SETTING_COLUMN_DATA_TYPE as St } from "../data-view/index.esm.js";
15
15
  import Ha from "../drawer/index.esm.js";
16
16
  import ja, { FDynamicFormLabel as Na } from "../dynamic-form/index.esm.js";
17
17
  import { createPropsResolver as Va } from "../dynamic-resolver/index.esm.js";
@@ -153,29 +153,29 @@ const za = {
153
153
  props: La,
154
154
  emits: ["click"],
155
155
  setup(e, t) {
156
- const n = r(e.popupContentPosition), a = r(e.host), o = y(() => ({
156
+ const n = r(e.popupContentPosition), a = r(e.host), o = b(() => ({
157
157
  backgroundColor: e.backgroundColor || "",
158
158
  pointerEvents: "auto"
159
159
  }));
160
160
  function i(u) {
161
161
  t.emit("click"), u.preventDefault(), u.stopPropagation();
162
162
  }
163
- y(() => {
163
+ b(() => {
164
164
  const u = a.value;
165
165
  if (u) {
166
- const v = u.getBoundingClientRect(), {
166
+ const m = u.getBoundingClientRect(), {
167
167
  left: f,
168
168
  top: g,
169
- height: C
170
- } = v;
169
+ height: p
170
+ } = m;
171
171
  return {
172
172
  left: f,
173
- top: g + C
173
+ top: g + p
174
174
  };
175
175
  }
176
176
  return n.value;
177
177
  });
178
- const s = y(() => ({
178
+ const s = b(() => ({
179
179
  // position: 'relative',
180
180
  // left: `${position.value.left}px`,
181
181
  // top: `${position.value.top}px`
@@ -184,14 +184,14 @@ const za = {
184
184
  to: "body"
185
185
  }, {
186
186
  default: () => {
187
- var u, v;
187
+ var u, m;
188
188
  return [l("div", {
189
189
  class: "overlay-container",
190
190
  onClick: (f) => i(f),
191
191
  style: o.value
192
192
  }, [l("div", {
193
193
  style: s.value
194
- }, [(v = (u = t.slots).default) == null ? void 0 : v.call(u)])])];
194
+ }, [(m = (u = t.slots).default) == null ? void 0 : m.call(u)])])];
195
195
  }
196
196
  });
197
197
  }
@@ -404,19 +404,19 @@ class He {
404
404
  }
405
405
  }
406
406
  function qa(e, t) {
407
- const n = r(), a = r(), o = r(), i = r(), s = r(), u = r(), v = r(), f = r(), g = r(), C = r(), I = r(), h = r(e.resizeable), w = r(), k = r(e.draggable), S = r(!1);
407
+ const n = r(), a = r(), o = r(), i = r(), s = r(), u = r(), m = r(), f = r(), g = r(), p = r(), F = r(), h = r(e.resizeable), C = r(), T = r(e.draggable), S = r(!1);
408
408
  function E() {
409
409
  const d = a.value || document.body, B = window.getComputedStyle(d);
410
410
  if (!B || !n.value)
411
411
  return;
412
412
  const D = ae.getTransformInfo(n.value), R = {};
413
- v.value && (R.deltaL = n.value.offsetLeft - v.value.x, R.deltaT = n.value.offsetTop - v.value.y);
413
+ m.value && (R.deltaL = n.value.offsetLeft - m.value.x, R.deltaT = n.value.offsetTop - m.value.y);
414
414
  const W = B.getPropertyValue("position");
415
- R.width = d.clientWidth, R.height = d.clientHeight, R.pr = parseInt(B.getPropertyValue("padding-right"), 10), R.pb = parseInt(B.getPropertyValue("padding-bottom"), 10), R.position = B.getPropertyValue("position"), W === "static" && (d.style.position = "relative"), R.translateX = D.x, R.translateY = D.y, C.value = R;
415
+ R.width = d.clientWidth, R.height = d.clientHeight, R.pr = parseInt(B.getPropertyValue("padding-right"), 10), R.pb = parseInt(B.getPropertyValue("padding-bottom"), 10), R.position = B.getPropertyValue("position"), W === "static" && (d.style.position = "relative"), R.translateX = D.x, R.translateY = D.y, p.value = R;
416
416
  }
417
- function p(d) {
417
+ function y(d) {
418
418
  if (n.value) {
419
- i.value = He.getCurrent(n.value), s.value = ae.getCurrent(n.value), u.value = i.value ? He.copy(i.value) : null, v.value = s.value ? ae.copy(s.value) : null, E();
419
+ i.value = He.getCurrent(n.value), s.value = ae.getCurrent(n.value), u.value = i.value ? He.copy(i.value) : null, m.value = s.value ? ae.copy(s.value) : null, E();
420
420
  const B = d.target.getAttribute("type") || "";
421
421
  f.value = {
422
422
  n: !!B.match(/n/),
@@ -430,19 +430,19 @@ function qa(e, t) {
430
430
  var d, B, D, R;
431
431
  if (n.value) {
432
432
  const W = n.value;
433
- f.value && ((f.value.n || f.value.s) && ((d = u.value) != null && d.height) && (W.style.height = u.value.height + "px"), (f.value.w || f.value.e) && ((B = u.value) != null && B.width) && (W.style.width = u.value.width + "px"), v.value && ((D = v.value) != null && D.x && (W.style.left = v.value.x + "px"), (R = v.value) != null && R.y && (W.style.top = v.value.y + "px")));
433
+ f.value && ((f.value.n || f.value.s) && ((d = u.value) != null && d.height) && (W.style.height = u.value.height + "px"), (f.value.w || f.value.e) && ((B = u.value) != null && B.width) && (W.style.width = u.value.width + "px"), m.value && ((D = m.value) != null && D.x && (W.style.left = m.value.x + "px"), (R = m.value) != null && R.y && (W.style.top = m.value.y + "px")));
434
434
  }
435
435
  }
436
436
  function A() {
437
437
  const d = e.minHeight ? e.minHeight : 1, B = e.minWidth ? e.minWidth : 1;
438
- u.value && v.value && f.value && i.value && (u.value.height < d && (u.value.height = d, f.value.n && s.value && (v.value.y = s.value.y + (i.value.height - d))), u.value.width < B && (u.value.width = B, f.value.w && s.value && (v.value.x = s.value.x + (i.value.width - B))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, s.value && f.value.n && (v.value.y = s.value.y + (i.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, f.value.w && s.value && (v.value.x = s.value.x + (i.value.width - e.maxWidth))));
438
+ u.value && m.value && f.value && i.value && (u.value.height < d && (u.value.height = d, f.value.n && s.value && (m.value.y = s.value.y + (i.value.height - d))), u.value.width < B && (u.value.width = B, f.value.w && s.value && (m.value.x = s.value.x + (i.value.width - B))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, s.value && f.value.n && (m.value.y = s.value.y + (i.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, f.value.w && s.value && (m.value.x = s.value.x + (i.value.width - e.maxWidth))));
439
439
  }
440
440
  function x() {
441
441
  if (a.value) {
442
- const d = C.value;
443
- if (v.value && u.value && f.value && i.value) {
444
- const B = d.width - d.pr - d.deltaL - d.translateX - v.value.x, D = d.height - d.pb - d.deltaT - d.translateY - v.value.y;
445
- f.value.n && v.value.y + d.translateY < 0 && s.value && (v.value.y = -d.translateY, u.value.height = i.value.height + s.value.y + d.translateY), f.value.w && v.value.x + d.translateX < 0 && s.value && (v.value.x = -d.translateX, u.value.width = i.value.width + s.value.x + d.translateX), u.value.width > B && (u.value.width = B), u.value.height > D && (u.value.height = D);
442
+ const d = p.value;
443
+ if (m.value && u.value && f.value && i.value) {
444
+ const B = d.width - d.pr - d.deltaL - d.translateX - m.value.x, D = d.height - d.pb - d.deltaT - d.translateY - m.value.y;
445
+ f.value.n && m.value.y + d.translateY < 0 && s.value && (m.value.y = -d.translateY, u.value.height = i.value.height + s.value.y + d.translateY), f.value.w && m.value.x + d.translateX < 0 && s.value && (m.value.x = -d.translateX, u.value.width = i.value.width + s.value.x + d.translateX), u.value.width > B && (u.value.width = B), u.value.height > D && (u.value.height = D);
446
446
  }
447
447
  }
448
448
  }
@@ -451,15 +451,15 @@ function qa(e, t) {
451
451
  return;
452
452
  d.subtract(o.value);
453
453
  const B = d.x, D = d.y;
454
- f.value.n ? (v.value.y = s.value.y + D, u.value.height = i.value.height - D) : f.value.s && (u.value.height = i.value.height + D), f.value.e ? u.value.width = i.value.width + B : f.value.w && (u.value.width = i.value.width - B, v.value.x = s.value.x + B), x(), A(), V();
454
+ f.value.n ? (m.value.y = s.value.y + D, u.value.height = i.value.height - D) : f.value.s && (u.value.height = i.value.height + D), f.value.e ? u.value.width = i.value.width + B : f.value.w && (u.value.width = i.value.width - B, m.value.x = s.value.x + B), x(), A(), V();
455
455
  }
456
- function b(d) {
456
+ function w(d) {
457
457
  if (!g.value)
458
458
  return;
459
459
  const B = ae.fromEvent(d);
460
460
  B && L(B);
461
461
  }
462
- function F() {
462
+ function O() {
463
463
  if (n.value) {
464
464
  const {
465
465
  width: d,
@@ -482,79 +482,79 @@ function qa(e, t) {
482
482
  }
483
483
  function G(d) {
484
484
  if (n.value) {
485
- const B = F();
486
- I.value = B;
485
+ const B = O();
486
+ F.value = B;
487
487
  }
488
- o.value = void 0, i.value = null, s.value = null, u.value = null, v.value = null, f.value = null, g.value = null, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", G);
488
+ o.value = void 0, i.value = null, s.value = null, u.value = null, m.value = null, f.value = null, g.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", G);
489
489
  }
490
490
  function K() {
491
- document.addEventListener("mousemove", b), document.addEventListener("mouseup", G);
491
+ document.addEventListener("mousemove", w), document.addEventListener("mouseup", G);
492
492
  }
493
- function O(d) {
494
- d instanceof MouseEvent && d.button === 2 || k.value && (document.body.click(), d.stopPropagation(), d.preventDefault(), o.value = ae.fromEvent(d), g.value = d.target, p(d), K());
493
+ function I(d) {
494
+ d instanceof MouseEvent && d.button === 2 || T.value && (document.body.click(), d.stopPropagation(), d.preventDefault(), o.value = ae.fromEvent(d), g.value = d.target, y(d), K());
495
495
  }
496
496
  function $(d) {
497
497
  return n.value = d, h.value && l(pe, null, [l("div", {
498
498
  class: "fv-resizable-handle fv-resizable-n",
499
499
  type: "n",
500
- onMousedown: (B) => O(B)
500
+ onMousedown: (B) => I(B)
501
501
  }, null), l("div", {
502
502
  class: "fv-resizable-handle fv-resizable-e",
503
503
  type: "e",
504
- onMousedown: (B) => O(B)
504
+ onMousedown: (B) => I(B)
505
505
  }, null), l("div", {
506
506
  class: "fv-resizable-handle fv-resizable-s",
507
507
  type: "s",
508
- onMousedown: (B) => O(B)
508
+ onMousedown: (B) => I(B)
509
509
  }, null), l("div", {
510
510
  class: "fv-resizable-handle fv-resizable-w",
511
511
  type: "w",
512
- onMousedown: (B) => O(B)
512
+ onMousedown: (B) => I(B)
513
513
  }, null), l("div", {
514
514
  class: "fv-resizable-handle fv-resizable-ne",
515
515
  type: "ne",
516
- onMousedown: (B) => O(B)
516
+ onMousedown: (B) => I(B)
517
517
  }, null), l("div", {
518
518
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
519
519
  type: "se",
520
- onMousedown: (B) => O(B)
520
+ onMousedown: (B) => I(B)
521
521
  }, null), l("div", {
522
522
  class: "fv-resizable-handle fv-resizable-sw",
523
523
  type: "sw",
524
- onMousedown: (B) => O(B)
524
+ onMousedown: (B) => I(B)
525
525
  }, null), l("div", {
526
526
  class: "fv-resizable-handle fv-resizable-nw",
527
527
  type: "nw",
528
- onMousedown: (B) => O(B)
528
+ onMousedown: (B) => I(B)
529
529
  }, null)]);
530
530
  }
531
531
  function le(d = !0) {
532
532
  document.body.click();
533
533
  const B = a.value || document.body, D = He.getCurrent(B), R = n.value;
534
- d && R && (w.value = F(), w.value.transform = R.style.transform), D && R && (u.value = D, u.value.height -= 14, u.value.width -= 14, R.style.height = u.value.height + "px", R.style.width = u.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", I.value = {
534
+ d && R && (C.value = O(), C.value.transform = R.style.transform), D && R && (u.value = D, u.value.height -= 14, u.value.width -= 14, R.style.height = u.value.height + "px", R.style.width = u.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", F.value = {
535
535
  size: u.value,
536
536
  position: {
537
537
  x: 0,
538
538
  y: 0
539
539
  }
540
- }, k.value = !1, S.value = !0);
540
+ }, T.value = !1, S.value = !0);
541
541
  }
542
542
  function J() {
543
543
  var d, B;
544
- if (document.body.click(), w.value) {
544
+ if (document.body.click(), C.value) {
545
545
  const D = {
546
- width: w.value.size.width || 0,
547
- height: w.value.size.height || 0
546
+ width: C.value.size.width || 0,
547
+ height: C.value.size.height || 0
548
548
  }, R = {
549
549
  x: (window.innerWidth - D.width) / 2,
550
550
  y: (window.innerHeight - D.height) / 2
551
551
  };
552
- (d = u.value) == null || d.set(D), (B = v.value) == null || B.set(R);
552
+ (d = u.value) == null || d.set(D), (B = m.value) == null || B.set(R);
553
553
  const W = n.value;
554
- W.style.height = D.height + "px", W.style.width = D.width + "px", W.style.left = `${R.x}px`, W.style.top = `${R.y}px`, W.style.transform = "", I.value = {
554
+ W.style.height = D.height + "px", W.style.width = D.width + "px", W.style.left = `${R.x}px`, W.style.top = `${R.y}px`, W.style.transform = "", F.value = {
555
555
  size: D,
556
556
  position: R
557
- }, k.value = e.draggable, S.value = !1;
557
+ }, T.value = e.draggable, S.value = !1;
558
558
  }
559
559
  }
560
560
  function ie() {
@@ -577,92 +577,92 @@ function qa(e, t) {
577
577
  window.removeEventListener("resize", d);
578
578
  };
579
579
  }
580
- const T = z();
580
+ const M = z();
581
581
  return {
582
582
  renderResizeBar: $,
583
583
  boundingElement: a,
584
- resizedEventParam: I,
584
+ resizedEventParam: F,
585
585
  maximize: le,
586
586
  restore: J,
587
- allowDrag: k,
587
+ allowDrag: T,
588
588
  isMaximized: S,
589
- unWindowResizeHandle: T,
589
+ unWindowResizeHandle: M,
590
590
  moveToCenter: ie
591
591
  };
592
592
  }
593
593
  function Ka(e, t, n) {
594
- const a = r(), o = r(e.draggable), i = r(e.lockAxis), s = r(), u = r(), v = r(!1), f = r(new ae(0, 0)), g = r(new ae(0, 0)), C = r(new ae(0, 0)), I = r(new ae(0, 0));
595
- Q(() => n.value, (b) => {
596
- s.value.style.cursor = b ? "move" : "default";
594
+ const a = r(), o = r(e.draggable), i = r(e.lockAxis), s = r(), u = r(), m = r(!1), f = r(new ae(0, 0)), g = r(new ae(0, 0)), p = r(new ae(0, 0)), F = r(new ae(0, 0));
595
+ Q(() => n.value, (w) => {
596
+ s.value.style.cursor = w ? "move" : "default";
597
597
  });
598
- function h(b, F) {
599
- if (F.tagName === "BUTTON")
598
+ function h(w, O) {
599
+ if (O.tagName === "BUTTON")
600
600
  return !1;
601
- if (F === b)
601
+ if (O === w)
602
602
  return !0;
603
- for (const G in F.children)
604
- if (Object.prototype.hasOwnProperty.call(F.children, G) && h(b, F.children[G]))
603
+ for (const G in O.children)
604
+ if (Object.prototype.hasOwnProperty.call(O.children, G) && h(w, O.children[G]))
605
605
  return !0;
606
606
  return !1;
607
607
  }
608
- function w() {
609
- var K, O;
610
- let b = C.value.x + g.value.x, F = C.value.y + g.value.y;
611
- i.value === "x" ? (b = ((K = f.value) == null ? void 0 : K.x) || 0, C.value.x = 0) : i.value === "y" && (F = ((O = f.value) == null ? void 0 : O.y) || 0, C.value.y = 0);
612
- const G = `translate3d(${Math.round(b)}px, ${Math.round(F)}px, 0px)`;
613
- a.value && (a.value.style.transform = G), I.value.x = b, I.value.y = F;
608
+ function C() {
609
+ var K, I;
610
+ let w = p.value.x + g.value.x, O = p.value.y + g.value.y;
611
+ i.value === "x" ? (w = ((K = f.value) == null ? void 0 : K.x) || 0, p.value.x = 0) : i.value === "y" && (O = ((I = f.value) == null ? void 0 : I.y) || 0, p.value.y = 0);
612
+ const G = `translate3d(${Math.round(w)}px, ${Math.round(O)}px, 0px)`;
613
+ a.value && (a.value.style.transform = G), F.value.x = w, F.value.y = O;
614
614
  }
615
- function k() {
615
+ function T() {
616
616
  if (!u.value || !a.value)
617
617
  return null;
618
- const b = u.value.getBoundingClientRect(), F = a.value.getBoundingClientRect(), G = {
619
- top: b.top < F.top,
620
- right: b.right > F.right,
621
- bottom: b.bottom > F.bottom,
622
- left: b.left < F.left
618
+ const w = u.value.getBoundingClientRect(), O = a.value.getBoundingClientRect(), G = {
619
+ top: w.top < O.top,
620
+ right: w.right > O.right,
621
+ bottom: w.bottom > O.bottom,
622
+ left: w.left < O.left
623
623
  };
624
- return G.top || (C.value.y -= F.top - b.top), G.bottom || (C.value.y -= F.bottom - b.bottom), G.right || (C.value.x -= F.right - b.right), G.left || (C.value.x -= F.left - b.left), w(), G;
624
+ return G.top || (p.value.y -= O.top - w.top), G.bottom || (p.value.y -= O.bottom - w.bottom), G.right || (p.value.x -= O.right - w.right), G.left || (p.value.x -= O.left - w.left), C(), G;
625
625
  }
626
- function S(b) {
627
- b && (f.value && b.subtract(f.value), C.value.set(b), w(), k());
626
+ function S(w) {
627
+ w && (f.value && w.subtract(f.value), p.value.set(w), C(), T());
628
628
  }
629
- function E(b) {
630
- v.value && o.value && (b.stopPropagation(), b.preventDefault(), S(ae.fromEvent(b, s.value)));
629
+ function E(w) {
630
+ m.value && o.value && (w.stopPropagation(), w.preventDefault(), S(ae.fromEvent(w, s.value)));
631
631
  }
632
- function p() {
633
- var b;
634
- v.value && (v.value = !1, g.value.add(C.value), C.value.reset(), (b = a.value) == null || b.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", p));
632
+ function y() {
633
+ var w;
634
+ m.value && (m.value = !1, g.value.add(p.value), p.value.reset(), (w = a.value) == null || w.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", y));
635
635
  }
636
636
  function V() {
637
- !v.value && s.value && (v.value = !0, s.value.classList.add("ng-dragging"), document.addEventListener("mousemove", E), document.addEventListener("mouseup", p));
637
+ !m.value && s.value && (m.value = !0, s.value.classList.add("ng-dragging"), document.addEventListener("mousemove", E), document.addEventListener("mouseup", y));
638
638
  }
639
639
  function A() {
640
640
  if (a.value) {
641
- const b = ae.getTransformInfo(a.value);
642
- g.value.set(b);
641
+ const w = ae.getTransformInfo(a.value);
642
+ g.value.set(w);
643
643
  return;
644
644
  }
645
645
  g.value.reset();
646
646
  }
647
- function x(b) {
648
- if (!n.value || b instanceof MouseEvent && b.button === 2)
647
+ function x(w) {
648
+ if (!n.value || w instanceof MouseEvent && w.button === 2)
649
649
  return;
650
- const F = b.target || b.srcElement;
651
- s.value !== void 0 && F && !h(F, s.value) || o.value !== !1 && (document.body.click(), b.stopPropagation(), b.preventDefault(), f.value = ae.fromEvent(b, a.value), A(), V());
650
+ const O = w.target || w.srcElement;
651
+ s.value !== void 0 && O && !h(O, s.value) || o.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), f.value = ae.fromEvent(w, a.value), A(), V());
652
652
  }
653
- function L(b, F, G) {
654
- if (o.value && F) {
655
- if (b)
656
- s.value = b;
653
+ function L(w, O, G) {
654
+ if (o.value && O) {
655
+ if (w)
656
+ s.value = w;
657
657
  else if (e.dragHandle) {
658
658
  if (e.dragHandle instanceof HTMLElement)
659
659
  s.value = e.dragHandle;
660
660
  else if (typeof e.dragHandle == "string") {
661
- const K = F.querySelector(e.dragHandle);
661
+ const K = O.querySelector(e.dragHandle);
662
662
  K && (s.value = K);
663
663
  }
664
664
  }
665
- a.value = F, u.value = G, s.value ? (s.value.classList.add("ng-draggable"), s.value.addEventListener("mousedown", x)) : o.value = !1;
665
+ a.value = O, u.value = G, s.value ? (s.value.classList.add("ng-draggable"), s.value.addEventListener("mousedown", x)) : o.value = !1;
666
666
  }
667
667
  }
668
668
  return {
@@ -680,7 +680,7 @@ function It(e, t) {
680
680
  };
681
681
  }
682
682
  }
683
- function _a(e, t) {
683
+ function Ya(e, t) {
684
684
  const n = r(e.enableEsc);
685
685
  let a = null;
686
686
  return n.value ? (a = It("Escape", (o) => {
@@ -689,7 +689,7 @@ function _a(e, t) {
689
689
  remove: a
690
690
  }) : null;
691
691
  }
692
- function Ya(e, t) {
692
+ function _a(e, t) {
693
693
  const n = r(e.enableEnter);
694
694
  let a = null;
695
695
  return n.value ? (a = It("Enter", (o) => {
@@ -703,10 +703,10 @@ const Je = /* @__PURE__ */ Be({
703
703
  props: Ua,
704
704
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
705
705
  setup(e, t) {
706
- const n = r(e.width || 300), a = r(e.height || 200), o = r(e.modelValue), i = r(""), s = r(e.class), u = r(e.fitContent), v = r(e.showHeader), f = r(""), g = r(e.showCloseButton), C = r(e.showMaxButton), I = r(!1), h = r(e.dialogType), w = r(e.src), k = r(""), S = r(e.showButtons), E = r(e.title), p = r(e.containment || null), V = r();
706
+ const n = r(e.width || 300), a = r(e.height || 200), o = r(e.modelValue), i = r(""), s = r(e.class), u = r(e.fitContent), m = r(e.showHeader), f = r(""), g = r(e.showCloseButton), p = r(e.showMaxButton), F = r(!1), h = r(e.dialogType), C = r(e.src), T = r(""), S = r(e.showButtons), E = r(e.title), y = r(e.containment || null), V = r();
707
707
  E.value === "错误提示" && (E.value = be.getLocaleValue("messageBox.errorTitle"));
708
708
  const A = r(!1);
709
- function x(m, H) {
709
+ function x(v, H) {
710
710
  const ee = H ? "accept" : "cancel";
711
711
  Promise.resolve().then(() => {
712
712
  var X;
@@ -714,29 +714,29 @@ const Je = /* @__PURE__ */ Be({
714
714
  closeType: ee
715
715
  });
716
716
  }).then((X) => {
717
- X && (o.value = !1, t.emit("update:modelValue", !1), H != null && t.emit(H ? "accept" : "cancel"), t.emit("closed", m));
717
+ X && (o.value = !1, t.emit("update:modelValue", !1), H != null && t.emit(H ? "accept" : "cancel"), t.emit("closed", v));
718
718
  });
719
719
  }
720
720
  const L = [{
721
721
  name: "cancel",
722
722
  text: be.getLocaleValue("messageBox.cancel") || "取消",
723
723
  class: "btn btn-secondary",
724
- handle: (m) => {
725
- x(m, !1);
724
+ handle: (v) => {
725
+ x(v, !1);
726
726
  }
727
727
  }, {
728
728
  name: "accept",
729
729
  text: be.getLocaleValue("messageBox.ok") || "确定",
730
730
  class: "btn btn-primary",
731
- handle: (m) => {
732
- x(m, !0);
731
+ handle: (v) => {
732
+ x(v, !0);
733
733
  }
734
- }], b = r(e.buttons && e.buttons.length ? e.buttons : L), F = y(() => !!f.value), G = y(() => !!S.value && !!b.value), K = r(), O = r(), $ = r(!1), {
734
+ }], w = r(e.buttons && e.buttons.length ? e.buttons : L), O = b(() => !!f.value), G = b(() => !!S.value && !!w.value), K = r(), I = r(), $ = r(!1), {
735
735
  renderResizeBar: le,
736
736
  maximize: J,
737
737
  restore: ie,
738
738
  boundingElement: z,
739
- resizedEventParam: T,
739
+ resizedEventParam: M,
740
740
  allowDrag: d,
741
741
  unWindowResizeHandle: B,
742
742
  moveToCenter: D
@@ -747,77 +747,77 @@ const Je = /* @__PURE__ */ Be({
747
747
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
748
748
  }
749
749
  function q() {
750
- const m = document.querySelectorAll(".farris-modal").length;
751
- (!m || m - 1 <= 0) && document.body.classList.remove("modal-open"), V.value && V.value.classList.remove("show");
752
- }
753
- Q(() => e.title, (m, H) => {
754
- m !== H && (E.value = m);
755
- }), Q(() => e.modelValue, (m, H) => {
756
- m !== H && (o.value = m, o.value && e.draggable && Le(() => {
757
- O.value && !p.value && (p.value = O.value.parentElement, z.value = p.value, R(K.value, O.value, z.value), D());
758
- }), m || (p.value && (p.value = null), q())), o.value ? A.value = W() : ($.value = !1, d.value = e.draggable);
759
- }), Q(() => e.showHeader, (m, H) => {
760
- m !== H && (v.value = m);
761
- }), Q(() => e.showButtons, (m, H) => {
762
- m !== H && (S.value = m);
763
- }), Q(() => T.value, (m, H) => {
764
- const ee = m || {}, X = H || {};
750
+ const v = document.querySelectorAll(".farris-modal").length;
751
+ (!v || v - 1 <= 0) && document.body.classList.remove("modal-open"), V.value && V.value.classList.remove("show");
752
+ }
753
+ Q(() => e.title, (v, H) => {
754
+ v !== H && (E.value = v);
755
+ }), Q(() => e.modelValue, (v, H) => {
756
+ v !== H && (o.value = v, o.value && e.draggable && Le(() => {
757
+ I.value && !y.value && (y.value = I.value.parentElement, z.value = y.value, R(K.value, I.value, z.value), D());
758
+ }), v || (y.value && (y.value = null), q())), o.value ? A.value = W() : ($.value = !1, d.value = e.draggable);
759
+ }), Q(() => e.showHeader, (v, H) => {
760
+ v !== H && (m.value = v);
761
+ }), Q(() => e.showButtons, (v, H) => {
762
+ v !== H && (S.value = v);
763
+ }), Q(() => M.value, (v, H) => {
764
+ const ee = v || {}, X = H || {};
765
765
  JSON.stringify(ee) !== JSON.stringify(X) && t.emit("resize", {
766
- newSize: m,
766
+ newSize: v,
767
767
  oldSize: H,
768
768
  isMaximized: $.value
769
769
  });
770
- }), Q([() => e.width, () => e.height], (m, H) => {
771
- (m[0] !== H[0] || m[1] !== H[1]) && (n.value = m[0] || 500, a.value = m[1] || 600);
772
- }), Q(() => e.class, (m, H) => {
773
- s.value = m;
770
+ }), Q([() => e.width, () => e.height], (v, H) => {
771
+ (v[0] !== H[0] || v[1] !== H[1]) && (n.value = v[0] || 500, a.value = v[1] || 600);
772
+ }), Q(() => e.class, (v, H) => {
773
+ s.value = v;
774
774
  });
775
- const te = y(() => (o.value && document.body.classList.add("modal-open"), o.value)), ue = y(() => {
775
+ const te = b(() => (o.value && document.body.classList.add("modal-open"), o.value)), ue = b(() => {
776
776
  var ee;
777
- const m = {
777
+ const v = {
778
778
  modal: !0,
779
779
  "farris-modal": !0,
780
780
  fade: !0,
781
781
  "fe-cmp-page-modal": !!e.showFloatingClose
782
782
  };
783
- m["f-modal-fitContent"] = !!u.value, m.show = !!te.value;
783
+ v["f-modal-fitContent"] = !!u.value, v.show = !!te.value;
784
784
  const H = (ee = e.maskClass) == null ? void 0 : ee.split(" ");
785
- return H == null || H.reduce((X, ce) => (X[ce] = !0, X), m), m;
786
- }), fe = y(() => {
785
+ return H == null || H.reduce((X, ce) => (X[ce] = !0, X), v), v;
786
+ }), me = b(() => {
787
787
  var ee;
788
- const m = {
788
+ const v = {
789
789
  "modal-dialog": !0
790
790
  }, H = (ee = s.value) == null ? void 0 : ee.split(" ");
791
- return H == null || H.reduce((X, ce) => (X[ce] = !0, X), m), m;
792
- }), ne = () => Nn() && !e.isMessager || !!e.fullscreen, We = y(() => {
793
- const m = document.documentElement.clientWidth, H = document.documentElement.clientHeight, ee = Math.min(n.value, m), X = e.position === "right" ? "100%" : u.value ? "auto" : `${Math.min(a.value, H - 10)}px`, ce = `${(window.innerHeight - (X === "100%" || X === "auto" ? 0 : parseInt(X))) / 2}px`, _e = e.position === "right" ? `${window.innerWidth - ee}px` : `${(window.innerWidth - ee) / 2}px`, c = {
791
+ return H == null || H.reduce((X, ce) => (X[ce] = !0, X), v), v;
792
+ }), ne = () => Nn() && !e.isMessager || !!e.fullscreen, We = b(() => {
793
+ const v = document.documentElement.clientWidth, H = document.documentElement.clientHeight, ee = Math.min(n.value, v), X = e.position === "right" ? "100%" : u.value ? "auto" : `${Math.min(a.value, H - 10)}px`, ce = `${(window.innerHeight - (X === "100%" || X === "auto" ? 0 : parseInt(X))) / 2}px`, Ye = e.position === "right" ? `${window.innerWidth - ee}px` : `${(window.innerWidth - ee) / 2}px`, c = {
794
794
  position: "absolute",
795
795
  top: ce,
796
- left: _e,
796
+ left: Ye,
797
797
  width: `${ee}px`,
798
798
  height: X
799
799
  };
800
800
  return e.mask || (c.pointerEvents = "auto"), c;
801
- }), re = r(wt() || 1050), Se = y(() => {
802
- const m = {
801
+ }), re = r(wt() || 1050), Se = b(() => {
802
+ const v = {
803
803
  display: "block",
804
804
  overflow: "hidden"
805
805
  };
806
- return e.mask || (m.pointerEvents = "none", m.backgroundColor = "transparent"), A.value && (m.backgroundColor = "transparent"), m.zIndex = re.value, m;
807
- }), Te = y(() => ({
806
+ return e.mask || (v.pointerEvents = "none", v.backgroundColor = "transparent"), A.value && (v.backgroundColor = "transparent"), v.zIndex = re.value, v;
807
+ }), Te = b(() => ({
808
808
  "modal-content": !0,
809
- "modal-content-has-header": v.value,
809
+ "modal-content-has-header": m.value,
810
810
  "is-mobile": ne()
811
- })), Me = y(() => {
812
- const m = {
813
- display: v.value ? "" : "none"
811
+ })), Me = b(() => {
812
+ const v = {
813
+ display: m.value ? "" : "none"
814
814
  };
815
- return m["pointer-events"] = d.value ? "auto" : "none", m;
816
- }), ke = y(() => ({
815
+ return v["pointer-events"] = d.value ? "auto" : "none", v;
816
+ }), ke = b(() => ({
817
817
  "f-icon": !0,
818
818
  modal_maximize: !0,
819
819
  modalrevert: $.value
820
- })), je = y(() => ({
820
+ })), je = b(() => ({
821
821
  "modal-body": !0,
822
822
  "f-utils-flex-column": h.value === "iframe",
823
823
  "f-utils-fill": !0
@@ -827,37 +827,37 @@ const Je = /* @__PURE__ */ Be({
827
827
  height: `${e.footerHeight || 60}px`
828
828
  };
829
829
  }
830
- const $e = y(() => {
831
- const m = {
832
- textAlgin: k.value
830
+ const $e = b(() => {
831
+ const v = {
832
+ textAlgin: T.value
833
833
  }, H = Ge();
834
- return Object.assign(m, H);
834
+ return Object.assign(v, H);
835
835
  });
836
- function Ce(m) {
837
- if (m == null || m.stopPropagation(), $.value) {
836
+ function Ce(v) {
837
+ if (v == null || v.stopPropagation(), $.value) {
838
838
  $.value = !1, ie();
839
839
  return;
840
840
  }
841
841
  J(), $.value = !0;
842
842
  }
843
- async function Ue(m, H) {
844
- m.handle ? await m.handle(H, m) && t.emit("closed", H) : (typeof m.onClick == "string" && (m.onButtonClick = Ot(m.onClick || ""), delete m.onClick), t.emit("buttonClick", {
845
- button: m,
843
+ async function Ue(v, H) {
844
+ v.handle ? await v.handle(H, v) && t.emit("closed", H) : (typeof v.onClick == "string" && (v.onButtonClick = Ot(v.onClick || ""), delete v.onClick), t.emit("buttonClick", {
845
+ button: v,
846
846
  $event: H
847
847
  }));
848
848
  }
849
- function qe(m) {
850
- m.width && (n.value = m.width), m.height && (a.value = m.height), m.buttons && (b.value = m.buttons), m.title && (E.value = m.title);
849
+ function qe(v) {
850
+ v.width && (n.value = v.width), v.height && (a.value = v.height), v.buttons && (w.value = v.buttons), v.title && (E.value = v.title);
851
851
  }
852
- let Y = null, Fe = null;
852
+ let _ = null, Fe = null;
853
853
  Mn(() => {
854
854
  A.value = W();
855
855
  }), Ae(() => {
856
- O.value && !p.value && (p.value = O.value.parentElement, z.value = p.value, R(K.value, O.value, z.value)), te.value && document.body.classList.add("modal-open"), Y = _a(e, t), Fe = Ya(e, t);
856
+ I.value && !y.value && (y.value = I.value.parentElement, z.value = y.value, R(K.value, I.value, z.value)), te.value && document.body.classList.add("modal-open"), _ = Ya(e, t), Fe = _a(e, t);
857
857
  }), Qe(() => {
858
- B && B(), Y && Y.remove(), Fe && Fe.remove();
858
+ B && B(), _ && _.remove(), Fe && Fe.remove();
859
859
  }), t.expose({
860
- modalElementRef: O,
860
+ modalElementRef: I,
861
861
  updateModalOptions: qe,
862
862
  close: x,
863
863
  maxDialog: Ce,
@@ -866,7 +866,7 @@ const Je = /* @__PURE__ */ Be({
866
866
  function Ne() {
867
867
  return l("div", {
868
868
  class: "action-wrapper",
869
- onClick: (m) => x(m, !1)
869
+ onClick: (v) => x(v, !1)
870
870
  }, [l("span", {
871
871
  class: "close-icon"
872
872
  }, [l("i", {
@@ -874,11 +874,11 @@ const Je = /* @__PURE__ */ Be({
874
874
  }, null)])]);
875
875
  }
876
876
  function Ve() {
877
- return l("ul", null, [I.value && l("li", {
877
+ return l("ul", null, [F.value && l("li", {
878
878
  class: "f-btn-icon f-bare"
879
879
  }, [l("span", {
880
880
  class: "f-icon modal_minimize"
881
- }, null)]), C.value && l("li", {
881
+ }, null)]), p.value && l("li", {
882
882
  onClick: Ce,
883
883
  class: "f-btn-icon f-bare",
884
884
  style: "pointer-events: auto;"
@@ -886,7 +886,7 @@ const Je = /* @__PURE__ */ Be({
886
886
  class: ke.value
887
887
  }, null)]), g.value && l("li", {
888
888
  class: "f-btn-icon f-bare",
889
- onClick: (m) => x(m, !1),
889
+ onClick: (v) => x(v, !1),
890
890
  style: "pointer-events: auto;"
891
891
  }, [l("span", {
892
892
  class: "f-icon modal_close"
@@ -896,30 +896,30 @@ const Je = /* @__PURE__ */ Be({
896
896
  return l("div", {
897
897
  class: "modal-footer",
898
898
  style: $e.value
899
- }, [b.value && b.value.map((m) => {
899
+ }, [w.value && w.value.map((v) => {
900
900
  var X;
901
- const H = r(m.disabled), ee = m.class || ((X = m.appearance) == null ? void 0 : X.class);
901
+ const H = r(v.disabled), ee = v.class || ((X = v.appearance) == null ? void 0 : X.class);
902
902
  return l("button", {
903
- name: m.name,
903
+ name: v.name,
904
904
  type: "button",
905
905
  disabled: H.value,
906
- class: ee + (m.iconClass ? " btn-icontext" : "") + (m.visible === !1 ? "d-none" : ""),
906
+ class: ee + (v.iconClass ? " btn-icontext" : "") + (v.visible === !1 ? "d-none" : ""),
907
907
  onClick: (ce) => {
908
- Ue(m, ce);
908
+ Ue(v, ce);
909
909
  }
910
- }, [!!m.iconClass && l("i", {
911
- class: m.iconClass
912
- }, null), m.text]);
910
+ }, [!!v.iconClass && l("i", {
911
+ class: v.iconClass
912
+ }, null), v.text]);
913
913
  })]);
914
914
  }
915
- function ve() {
915
+ function he() {
916
916
  return l("div", {
917
917
  ref: K,
918
918
  class: "modal-header",
919
919
  style: Me.value
920
920
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : l("div", {
921
921
  class: "modal-title"
922
- }, [F.value && l("span", {
922
+ }, [O.value && l("span", {
923
923
  class: f.value,
924
924
  style: "margin-right: 8px"
925
925
  }, null), l("span", {
@@ -931,34 +931,34 @@ const Je = /* @__PURE__ */ Be({
931
931
  function Ke() {
932
932
  return t.slots.footerTemplate ? t.slots.footerTemplate() : G.value && we();
933
933
  }
934
- function Oe(m) {
935
- if (m.stopPropagation(), e.allowClickMaskToClose) {
936
- if (m.target !== V.value)
934
+ function Oe(v) {
935
+ if (v.stopPropagation(), e.allowClickMaskToClose) {
936
+ if (v.target !== V.value)
937
937
  return;
938
- x(m, !1);
938
+ x(v, !1);
939
939
  }
940
940
  }
941
941
  function Ie() {
942
- var m, H;
942
+ var v, H;
943
943
  return l("div", {
944
944
  id: i.value,
945
- class: fe.value,
945
+ class: me.value,
946
946
  style: We.value,
947
- ref: O
947
+ ref: I
948
948
  }, [e.showFloatingClose && Ne(), l("div", {
949
949
  class: Te.value
950
- }, [v.value && ve(), l("div", {
950
+ }, [m.value && he(), l("div", {
951
951
  class: je.value
952
- }, [(H = (m = t.slots).default) == null ? void 0 : H.call(m), h.value === "iframe" && l("iframe", {
952
+ }, [(H = (v = t.slots).default) == null ? void 0 : H.call(v), h.value === "iframe" && l("iframe", {
953
953
  title: i.value,
954
954
  class: "f-utils-fill",
955
955
  width: "100%",
956
956
  frameborder: "0",
957
- src: w.value
958
- }, null)]), Ke()]), !u.value && O.value && !$.value && le(O.value)]);
957
+ src: C.value
958
+ }, null)]), Ke()]), !u.value && I.value && !$.value && le(I.value)]);
959
959
  }
960
- function ze(m) {
961
- return m || "body";
960
+ function ze(v) {
961
+ return v || "body";
962
962
  }
963
963
  return kn(() => {
964
964
  te.value && (re.value = wt() || 1050);
@@ -993,13 +993,13 @@ function Xa(e) {
993
993
  Qe(() => {
994
994
  document.body.removeChild(t);
995
995
  });
996
- const i = r(), s = r(e.class || ""), u = r(!!e.showButtons), v = r(!!e.showHeader), f = r(e.showCloseButton == null ? !0 : e.showCloseButton), g = r(!!e.showFloatingClose), C = r(!0), I = r(e.title || ""), h = e.acceptCallback || (() => {
997
- }), w = e.rejectCallback || (() => {
998
- }), k = e.closedCallback || ((A) => {
996
+ const i = r(), s = r(e.class || ""), u = r(!!e.showButtons), m = r(!!e.showHeader), f = r(e.showCloseButton == null ? !0 : e.showCloseButton), g = r(!!e.showFloatingClose), p = r(!0), F = r(e.title || ""), h = e.acceptCallback || (() => {
997
+ }), C = e.rejectCallback || (() => {
998
+ }), T = e.closedCallback || ((A) => {
999
999
  }), S = e.resizeHandle || ((A) => {
1000
1000
  }), E = e.stopMoveHandle || ((A) => {
1001
- }), p = Et(e), V = (A) => {
1002
- C.value = !1, n.unmount(), k(A);
1001
+ }), y = Et(e), V = (A) => {
1002
+ p.value = !1, n.unmount(), T(A);
1003
1003
  };
1004
1004
  return Ae(() => {
1005
1005
  }), o.expose({
@@ -1007,25 +1007,25 @@ function Xa(e) {
1007
1007
  }), () => l(Je, {
1008
1008
  ref: i,
1009
1009
  class: s.value,
1010
- modelValue: C.value,
1011
- "onUpdate:modelValue": (A) => C.value = A,
1012
- title: I.value,
1010
+ modelValue: p.value,
1011
+ "onUpdate:modelValue": (A) => p.value = A,
1012
+ title: F.value,
1013
1013
  width: e.width,
1014
1014
  height: e.height,
1015
1015
  buttons: e.buttons,
1016
- "show-header": v.value,
1016
+ "show-header": m.value,
1017
1017
  "show-buttons": u.value,
1018
1018
  "show-close-button": f.value,
1019
1019
  "show-max-button": !1,
1020
1020
  showFloatingClose: g.value,
1021
1021
  onAccept: h,
1022
- onCancel: w,
1022
+ onCancel: C,
1023
1023
  fitContent: e.fitContent == null ? !0 : e.fitContent,
1024
1024
  onClosed: V,
1025
1025
  onResize: S,
1026
1026
  onStopMove: E
1027
1027
  }, {
1028
- default: () => [p && p(n)]
1028
+ default: () => [y && y(n)]
1029
1029
  });
1030
1030
  }
1031
1031
  });
@@ -1033,12 +1033,12 @@ function Xa(e) {
1033
1033
  }
1034
1034
  class Pt {
1035
1035
  constructor(t) {
1036
- me(this, "appContext", null);
1037
- me(this, "modalRef", r());
1038
- me(this, "activeModalIndex", r(0));
1039
- me(this, "modalRefs", {});
1040
- me(this, "isUseEscCloseModal", r(!1));
1041
- me(this, "activeModalInstance", y(() => this.modalRefs[this.activeModalIndex.value]));
1036
+ ge(this, "appContext", null);
1037
+ ge(this, "modalRef", r());
1038
+ ge(this, "activeModalIndex", r(0));
1039
+ ge(this, "modalRefs", {});
1040
+ ge(this, "isUseEscCloseModal", r(!1));
1041
+ ge(this, "activeModalInstance", b(() => this.modalRefs[this.activeModalIndex.value]));
1042
1042
  this.app = t, this.appContext = t ? t._context : null;
1043
1043
  }
1044
1044
  getCurrentModal() {
@@ -1079,32 +1079,32 @@ class Pt {
1079
1079
  }, t)), o = r(!0), i = a.value.acceptCallback || (() => {
1080
1080
  }), s = a.value.rejectCallback || (() => {
1081
1081
  }), u = a.value.closedCallback || ((x, L) => {
1082
- }), v = a.value.resizeHandle || ((x) => {
1082
+ }), m = a.value.resizeHandle || ((x) => {
1083
1083
  }), f = t.stopMoveHandle || ((x) => {
1084
1084
  });
1085
1085
  let g;
1086
- const C = Et(a.value), I = (x) => {
1087
- var b;
1086
+ const p = Et(a.value), F = (x) => {
1087
+ var w;
1088
1088
  o.value = !1;
1089
- const L = (b = x == null ? void 0 : x.target) == null ? void 0 : b.classList.contains("modal_close");
1089
+ const L = (w = x == null ? void 0 : x.target) == null ? void 0 : w.classList.contains("modal_close");
1090
1090
  u(x, this.isUseEscCloseModal.value ? "esc" : L ? "icon" : "button");
1091
1091
  }, h = (x) => {
1092
- I(x), g && Le(() => {
1092
+ F(x), g && Le(() => {
1093
1093
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], ut(null, n), g = null, this.modalRef.value = null, this.modalRefs) {
1094
- const L = Object.keys(this.modalRefs).map((b) => Number(b));
1094
+ const L = Object.keys(this.modalRefs).map((w) => Number(w));
1095
1095
  L.length > 0 ? this.activeModalIndex.value = Math.max(...L) : this.activeModalIndex.value = 0;
1096
1096
  }
1097
1097
  this.isUseEscCloseModal.value = !1;
1098
1098
  });
1099
- }, w = (x) => {
1099
+ }, C = (x) => {
1100
1100
  var L;
1101
1101
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((L = this.activeModalInstance.value) == null || L.close(x == null ? void 0 : x.event));
1102
1102
  }, {
1103
- width: k,
1103
+ width: T,
1104
1104
  height: S
1105
- } = a.value, E = this.adaptToWindow(k || 500, S || 320);
1105
+ } = a.value, E = this.adaptToWindow(T || 500, S || 320);
1106
1106
  Object.assign(a.value, E);
1107
- const p = () => l(Je, ot({
1107
+ const y = () => l(Je, ot({
1108
1108
  ref: this.modalRef,
1109
1109
  modelValue: o.value,
1110
1110
  "onUpdate:modelValue": (x) => o.value = x
@@ -1113,14 +1113,14 @@ class Pt {
1113
1113
  onAccept: i,
1114
1114
  onCancel: s,
1115
1115
  onClosed: h,
1116
- onResize: v,
1117
- onEsc: w,
1116
+ onResize: m,
1117
+ onEsc: C,
1118
1118
  onStopMove: f
1119
1119
  }), {
1120
- default: () => [C && C(this.app)]
1120
+ default: () => [p && p(this.app)]
1121
1121
  });
1122
1122
  return g = ((x) => {
1123
- const L = On(p, x);
1123
+ const L = On(y, x);
1124
1124
  return L.appContext = this.appContext, ut(L, n), L;
1125
1125
  })({
1126
1126
  ...a.value
@@ -1161,55 +1161,55 @@ function Rt(e, t) {
1161
1161
  return { judgeCanOpen: n };
1162
1162
  }
1163
1163
  function Ja(e, t, n, a, o) {
1164
- const i = r(e.buttonBehavior), s = r(e.popupOnInput), u = y(() => ({
1164
+ const i = r(e.buttonBehavior), s = r(e.popupOnInput), u = b(() => ({
1165
1165
  "input-group-append": !0,
1166
1166
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1167
- })), { judgeCanOpen: v } = Rt(e, o), f = y(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = tt(Dt, null), C = r();
1168
- async function I(k) {
1169
- if (await v() && f.value) {
1167
+ })), { judgeCanOpen: m } = Rt(e, o), f = b(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = tt(Dt, null), p = r();
1168
+ async function F(T) {
1169
+ if (await m() && f.value) {
1170
1170
  const S = !!t.slots.default;
1171
1171
  if (i.value === "Modal") {
1172
- const E = e.modalOptions, p = g == null ? void 0 : g.open({
1172
+ const E = e.modalOptions, y = g == null ? void 0 : g.open({
1173
1173
  ...E,
1174
1174
  render: () => t.slots.default && t.slots.default()
1175
1175
  });
1176
- C.value = p == null ? void 0 : p.modalRef;
1176
+ p.value = y == null ? void 0 : y.modalRef;
1177
1177
  }
1178
1178
  i.value === "Overlay" && $a.show({
1179
1179
  // host: buttonEditRef.value,
1180
1180
  host: document.body,
1181
1181
  backgroundColor: "rgba(0,0,0,.15)",
1182
1182
  render: () => t.slots.default && t.slots.default()
1183
- }), S && i.value === "Popup" && a.togglePopup(!0), S && s.value && a.hidePopup(), t.emit("clickButton", { origin: k, value: e.modelValue });
1183
+ }), S && i.value === "Popup" && a.togglePopup(!0), S && s.value && a.hidePopup(), t.emit("clickButton", { origin: T, value: e.modelValue });
1184
1184
  }
1185
1185
  }
1186
- function h(k) {
1187
- t.emit("mouseEnterIcon", k);
1186
+ function h(T) {
1187
+ t.emit("mouseEnterIcon", T);
1188
1188
  }
1189
- function w(k) {
1190
- t.emit("mouseLeaveIcon", k);
1189
+ function C(T) {
1190
+ t.emit("mouseLeaveIcon", T);
1191
1191
  }
1192
1192
  return {
1193
1193
  buttonGroupClass: u,
1194
- onClickButton: I,
1194
+ onClickButton: F,
1195
1195
  onMouseEnterButton: h,
1196
- onMouseLeaveButton: w,
1197
- modalRef: C
1196
+ onMouseLeaveButton: C,
1197
+ modalRef: p
1198
1198
  };
1199
1199
  }
1200
1200
  function Za(e, t, n, a, o, i) {
1201
- const s = r(!1), u = y(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: v, hasClearClass: f } = i;
1202
- function g(w) {
1203
- s.value = w, f.value = w;
1201
+ const s = r(!1), u = b(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: m, hasClearClass: f } = i;
1202
+ function g(C) {
1203
+ s.value = C, f.value = C;
1204
1204
  }
1205
1205
  Q(o, () => {
1206
1206
  g(!!o.value);
1207
1207
  });
1208
- function C(w) {
1209
- const k = !e.readonly && !e.disable && e.editable, S = !e.editable;
1210
- w.stopPropagation(), (k || S) && (v(""), o.value = "", g(!s.value), t.emit("clear"));
1208
+ function p(C) {
1209
+ const T = !e.readonly && !e.disable && e.editable, S = !e.editable;
1210
+ C.stopPropagation(), (T || S) && (m(""), o.value = "", g(!s.value), t.emit("clear"));
1211
1211
  }
1212
- function I(w) {
1212
+ function F(C) {
1213
1213
  if (u.value) {
1214
1214
  if (!n.value) {
1215
1215
  g(!1);
@@ -1218,107 +1218,107 @@ function Za(e, t, n, a, o, i) {
1218
1218
  !e.disable && !e.readonly && g(!0);
1219
1219
  }
1220
1220
  }
1221
- function h(w) {
1221
+ function h(C) {
1222
1222
  u.value && g(!1);
1223
1223
  }
1224
1224
  return {
1225
1225
  enableClearButton: u,
1226
1226
  showClearButton: s,
1227
- onClearValue: C,
1228
- onMouseEnterTextBox: I,
1227
+ onClearValue: p,
1228
+ onMouseEnterTextBox: F,
1229
1229
  onMouseLeaveTextBox: h
1230
1230
  };
1231
1231
  }
1232
1232
  function Qa(e, t, n, a, o) {
1233
- const i = y(() => e.popupOnInput), s = y(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: v } = o, f = r(!1), g = y(() => e.enableTitle ? n.value : ""), C = y(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), I = y(() => e.readonly || !e.editable), h = r(!1), w = y(() => !e.disable && h.value), k = y(() => ({
1233
+ const i = b(() => e.popupOnInput), s = b(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: m } = o, f = r(!1), g = b(() => e.enableTitle ? n.value : ""), p = b(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), F = b(() => e.readonly || !e.editable), h = r(!1), C = b(() => !e.disable && h.value), T = b(() => ({
1234
1234
  "text-left": e.textAlign === "left",
1235
1235
  "text-center": e.textAlign === "center",
1236
1236
  "text-right": e.textAlign === "right",
1237
1237
  "form-control": !0,
1238
1238
  "f-utils-fill": !0
1239
- })), S = y(() => ({
1239
+ })), S = b(() => ({
1240
1240
  "input-group": !0,
1241
1241
  "f-state-disabled": e.disable,
1242
1242
  "f-state-editable": e.editable && !e.disable && !e.readonly,
1243
1243
  "f-state-readonly": e.readonly,
1244
- "f-state-focus": w.value,
1244
+ "f-state-focus": C.value,
1245
1245
  "input-group--has-clear": e.enableClear && f.value
1246
1246
  }));
1247
- function E(O, $ = !0) {
1248
- n.value = O, $ && (t.emit("change", O), t.emit("update:modelValue", O));
1247
+ function E(I, $ = !0) {
1248
+ n.value = I, $ && (t.emit("change", I), t.emit("update:modelValue", I));
1249
1249
  }
1250
- function p(O) {
1251
- u.value = !1, E(O, !0);
1250
+ function y(I) {
1251
+ u.value = !1, E(I, !0);
1252
1252
  }
1253
1253
  Q(
1254
1254
  () => e.modelValue,
1255
- (O) => {
1256
- n.value = O;
1255
+ (I) => {
1256
+ n.value = I;
1257
1257
  }
1258
1258
  );
1259
- function V(O) {
1260
- h.value = !1, t.emit("blur", O), O.stopPropagation();
1259
+ function V(I) {
1260
+ h.value = !1, t.emit("blur", I), I.stopPropagation();
1261
1261
  }
1262
- function A(O) {
1263
- t.emit("click", O), v(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
1262
+ function A(I) {
1263
+ t.emit("click", I), m(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
1264
1264
  }
1265
- function x(O) {
1266
- !e.disable && !e.readonly && (h.value = !0, I.value || (t.emit("focus", O), s.value && !u.value && o.popup()));
1265
+ function x(I) {
1266
+ !e.disable && !e.readonly && (h.value = !0, F.value || (t.emit("focus", I), s.value && !u.value && o.popup()));
1267
1267
  }
1268
- function L(O) {
1269
- t.emit("input", O);
1270
- const $ = O.target.value;
1268
+ function L(I) {
1269
+ t.emit("input", I);
1270
+ const $ = I.target.value;
1271
1271
  a.value = $, n.value !== $ && E($, e.updateOn === "change"), i.value && !u.value && o.popup();
1272
1272
  }
1273
- function b(O) {
1274
- O.target.tagName !== "INPUT" && O.preventDefault(), O.stopPropagation();
1273
+ function w(I) {
1274
+ I.target.tagName !== "INPUT" && I.preventDefault(), I.stopPropagation();
1275
1275
  }
1276
- function F(O) {
1277
- t.emit("keydown", O);
1276
+ function O(I) {
1277
+ t.emit("keydown", I);
1278
1278
  }
1279
- function G(O) {
1280
- O.key === "Enter" && (i.value || s.value) && o.hidePopup(), t.emit("keyup", O);
1279
+ function G(I) {
1280
+ I.key === "Enter" && (i.value || s.value) && o.hidePopup(), t.emit("keyup", I);
1281
1281
  }
1282
- function K(O) {
1283
- const $ = O.target.value;
1284
- O.stopPropagation(), E($);
1282
+ function K(I) {
1283
+ const $ = I.target.value;
1284
+ I.stopPropagation(), E($);
1285
1285
  }
1286
1286
  return {
1287
- hasFocusedTextBox: w,
1288
- isTextBoxReadonly: I,
1289
- textBoxClass: k,
1290
- textBoxPlaceholder: C,
1287
+ hasFocusedTextBox: C,
1288
+ isTextBoxReadonly: F,
1289
+ textBoxClass: T,
1290
+ textBoxPlaceholder: p,
1291
1291
  textBoxTitle: g,
1292
1292
  inputGroupClass: S,
1293
1293
  hasClearClass: f,
1294
1294
  changeTextBoxValue: E,
1295
- commitValue: p,
1295
+ commitValue: y,
1296
1296
  onBlurTextBox: V,
1297
1297
  onClickTextBox: A,
1298
1298
  onFocusTextBox: x,
1299
1299
  onInput: L,
1300
- onKeyDownTextBox: F,
1300
+ onKeyDownTextBox: O,
1301
1301
  onKeyUpTextBox: G,
1302
- onMouseDownTextBox: b,
1302
+ onMouseDownTextBox: w,
1303
1303
  onTextBoxValueChange: K
1304
1304
  };
1305
1305
  }
1306
1306
  const Re = "FarrisVue_PopoverInstancesKey";
1307
1307
  function eo(e, t, n, a) {
1308
1308
  const o = r(), i = r(!1), { judgeCanOpen: s } = Rt(e, a);
1309
- Q(() => o.value, (h, w) => {
1309
+ Q(() => o.value, (h, C) => {
1310
1310
  window[Re] = window[Re] || /* @__PURE__ */ new WeakMap(), h ? window[Re].set(n.value, h) : window[Re].delete(n.value);
1311
1311
  });
1312
1312
  function u() {
1313
1313
  if (window[Re]) {
1314
1314
  const h = window[Re];
1315
- document.querySelectorAll(".f-button-edit,.v-popover").forEach((w) => {
1316
- const k = h.get(w);
1317
- k && w !== n.value && !n.value.closest(".popover-fitcontent") && k.hide();
1315
+ document.querySelectorAll(".f-button-edit,.v-popover").forEach((C) => {
1316
+ const T = h.get(C);
1317
+ T && C !== n.value && !n.value.closest(".popover-fitcontent") && T.hide();
1318
1318
  });
1319
1319
  }
1320
1320
  }
1321
- function v() {
1321
+ function m() {
1322
1322
  const h = o.value;
1323
1323
  h && h.show(n.value);
1324
1324
  }
@@ -1326,25 +1326,25 @@ function eo(e, t, n, a) {
1326
1326
  if (!!t.slots.default) {
1327
1327
  if (!h && !i.value && !await s())
1328
1328
  return;
1329
- i.value = !i.value, i.value && (await Le(), v());
1329
+ i.value = !i.value, i.value && (await Le(), m());
1330
1330
  }
1331
1331
  }
1332
1332
  async function g(h = !1) {
1333
1333
  if (!!t.slots.default) {
1334
1334
  if (!h && !await s())
1335
1335
  return;
1336
- i.value = !0, await Le(), v();
1336
+ i.value = !0, await Le(), m();
1337
1337
  }
1338
1338
  }
1339
- function C() {
1339
+ function p() {
1340
1340
  i.value = !1;
1341
1341
  }
1342
- function I() {
1342
+ function F() {
1343
1343
  i.value = !0, Le(() => {
1344
- v();
1344
+ m();
1345
1345
  });
1346
1346
  }
1347
- return { hidePopup: C, showPopup: I, popup: g, shouldPopupContent: i, togglePopup: f, popoverRef: o, closeAllPopover: u };
1347
+ return { hidePopup: p, showPopup: F, popup: g, shouldPopupContent: i, togglePopup: f, popoverRef: o, closeAllPopover: u };
1348
1348
  }
1349
1349
  function to(e, t, n) {
1350
1350
  const a = r(), {
@@ -1352,33 +1352,33 @@ function to(e, t, n) {
1352
1352
  textBoxClass: i,
1353
1353
  textBoxPlaceholder: s,
1354
1354
  textBoxTitle: u,
1355
- onBlurTextBox: v,
1355
+ onBlurTextBox: m,
1356
1356
  onClickTextBox: f,
1357
1357
  onFocusTextBox: g,
1358
- onInput: C,
1359
- onKeyDownTextBox: I,
1358
+ onInput: p,
1359
+ onKeyDownTextBox: F,
1360
1360
  onKeyUpTextBox: h,
1361
- onMouseDownTextBox: w,
1362
- onTextBoxValueChange: k
1361
+ onMouseDownTextBox: C,
1362
+ onTextBoxValueChange: T
1363
1363
  } = n, S = r(e.id), {
1364
1364
  uuid: E
1365
- } = Vn(), p = y(() => ({
1365
+ } = Vn(), y = b(() => ({
1366
1366
  // 'border-top-right-radius': '6px',
1367
1367
  // 'border-bottom-right-radius': '6px'
1368
1368
  }));
1369
1369
  Ae(() => {
1370
- var b, F;
1371
- e.selectOnCreated && ((b = a.value) == null || b.select()), e.focusOnCreated && ((F = a.value) == null || F.focus({
1370
+ var w, O;
1371
+ e.selectOnCreated && ((w = a.value) == null || w.select()), e.focusOnCreated && ((O = a.value) == null || O.focus({
1372
1372
  preventScroll: !0
1373
1373
  })), S.value || (S.value = "button-edit_" + E(8)), S.value = S.value + "-textbox";
1374
1374
  });
1375
- const V = r(!1), A = (b) => {
1376
- b.preventDefault(), V.value = !0;
1377
- }, x = (b) => {
1378
- b.preventDefault(), V.value = !1, C(b);
1375
+ const V = r(!1), A = (w) => {
1376
+ w.preventDefault(), V.value = !0;
1377
+ }, x = (w) => {
1378
+ w.preventDefault(), V.value = !1, p(w);
1379
1379
  };
1380
- function L(b) {
1381
- V.value || C(b);
1380
+ function L(w) {
1381
+ V.value || p(w);
1382
1382
  }
1383
1383
  return () => l("input", {
1384
1384
  id: e.id ? e.id + "-textbox" : void 0,
@@ -1386,7 +1386,7 @@ function to(e, t, n) {
1386
1386
  name: "input-group-value",
1387
1387
  autocomplete: e.autoComplete ? "on" : "off",
1388
1388
  class: i.value,
1389
- style: p.value,
1389
+ style: y.value,
1390
1390
  disabled: e.disable,
1391
1391
  maxlength: e.maxLength,
1392
1392
  minlength: e.minLength,
@@ -1396,41 +1396,41 @@ function to(e, t, n) {
1396
1396
  title: u.value,
1397
1397
  type: e.inputType,
1398
1398
  value: t.value,
1399
- onBlur: v,
1400
- onChange: k,
1399
+ onBlur: m,
1400
+ onChange: T,
1401
1401
  onClick: f,
1402
1402
  onFocus: g,
1403
1403
  onInput: L,
1404
- onKeydown: I,
1404
+ onKeydown: F,
1405
1405
  onKeyup: h,
1406
- onMousedown: w,
1406
+ onMousedown: C,
1407
1407
  onCompositionend: x,
1408
1408
  onCompositionstart: A
1409
1409
  }, null);
1410
1410
  }
1411
1411
  function no(e, t, n) {
1412
- const a = r(e.separator), o = y(() => e.readonly || e.disable), {
1412
+ const a = r(e.separator), o = b(() => e.readonly || e.disable), {
1413
1413
  changeTextBoxValue: i,
1414
1414
  onFocusTextBox: s,
1415
1415
  onBlurTextBox: u,
1416
- onClickTextBox: v,
1416
+ onClickTextBox: m,
1417
1417
  textBoxPlaceholder: f
1418
- } = n, g = y(() => t.value ? t.value.split(a.value).map((w) => ({
1419
- name: w,
1418
+ } = n, g = b(() => t.value ? t.value.split(a.value).map((C) => ({
1419
+ name: C,
1420
1420
  selectable: !0
1421
1421
  })) : []);
1422
- function C(w) {
1423
- i(w.map((k) => k.name).join(a.value), !0);
1422
+ function p(C) {
1423
+ i(C.map((T) => T.name).join(a.value), !0);
1424
1424
  }
1425
- Q(() => e.separator, (w) => {
1426
- a.value = w;
1425
+ Q(() => e.separator, (C) => {
1426
+ a.value = C;
1427
1427
  });
1428
- const I = r(!e.disable && !e.readonly);
1429
- Q([() => e.disable, () => e.readonly], ([w, k], [S, E]) => {
1430
- I.value = !w && !k;
1428
+ const F = r(!e.disable && !e.readonly);
1429
+ Q([() => e.disable, () => e.readonly], ([C, T], [S, E]) => {
1430
+ F.value = !C && !T;
1431
1431
  });
1432
- function h(w) {
1433
- v(w);
1432
+ function h(C) {
1433
+ m(C);
1434
1434
  }
1435
1435
  return () => l(Wn, {
1436
1436
  tabindex: e.tabIndex,
@@ -1443,7 +1443,7 @@ function no(e, t, n) {
1443
1443
  showClose: !o.value,
1444
1444
  showInput: !0,
1445
1445
  disable: o.value,
1446
- onChange: C,
1446
+ onChange: p,
1447
1447
  onClick: h
1448
1448
  }, null);
1449
1449
  }
@@ -1454,26 +1454,26 @@ function ao(e, t, n, a) {
1454
1454
  onMouseEnterButton: s,
1455
1455
  onMouseLeaveButton: u
1456
1456
  } = n, {
1457
- enableClearButton: v,
1457
+ enableClearButton: m,
1458
1458
  showClearButton: f,
1459
1459
  onClearValue: g
1460
- } = a, C = r(), I = An((S) => {
1460
+ } = a, p = r(), F = An((S) => {
1461
1461
  i(S);
1462
1462
  }, e.buttonBehavior === "Modal" ? 0 : 200), h = () => {
1463
1463
  t.emit("beforeClearValue");
1464
- }, w = y(() => ({
1464
+ }, C = b(() => ({
1465
1465
  "input-group-append input-append-wrapper": !0,
1466
1466
  "input-append-button": e.expandMode === "button",
1467
1467
  "input-append-text": e.expandMode === "text",
1468
1468
  "d-none": !!e.expandDisabled
1469
- })), k = () => {
1469
+ })), T = () => {
1470
1470
  t.emit("expandClick");
1471
1471
  };
1472
1472
  return {
1473
1473
  renderButtonGroup: () => l("div", {
1474
1474
  id: e.id ? `${e.id}-button-group` : void 0,
1475
1475
  class: o.value
1476
- }, [v.value && En(l("span", {
1476
+ }, [m.value && En(l("span", {
1477
1477
  class: "input-group-text input-group-clear",
1478
1478
  onClick: g,
1479
1479
  onMousedown: h
@@ -1481,23 +1481,23 @@ function ao(e, t, n, a) {
1481
1481
  class: "f-icon modal_close"
1482
1482
  }, null)]), [[Pn, f.value]]), t.slots.buttonContent ? l("span", {
1483
1483
  class: "input-group-text input-group-append-button",
1484
- onClick: I,
1484
+ onClick: F,
1485
1485
  onMouseenter: s,
1486
1486
  onMouseleave: u
1487
1487
  }, [t.slots.buttonContent()]) : e.buttonContent ? l("span", {
1488
1488
  class: "input-group-text input-group-append-button",
1489
1489
  innerHTML: e.buttonContent,
1490
- ref: C,
1491
- onClick: (S) => I(S),
1490
+ ref: p,
1491
+ onClick: (S) => F(S),
1492
1492
  onMouseenter: s,
1493
1493
  onMouseleave: u
1494
1494
  }, null) : null, e.expandable && l("div", {
1495
- class: w.value,
1496
- onClick: k
1495
+ class: C.value,
1496
+ onClick: T
1497
1497
  }, [l("div", {
1498
1498
  class: "input-group-text"
1499
1499
  }, [e.expandContent])])]),
1500
- buttonHandleElement: C
1500
+ buttonHandleElement: p
1501
1501
  };
1502
1502
  }
1503
1503
  function oo(e, t, n) {
@@ -1524,8 +1524,8 @@ function oo(e, t, n) {
1524
1524
  limitContentBySpace: e.limitContentBySpace
1525
1525
  }, {
1526
1526
  default: () => {
1527
- var u, v;
1528
- return [(v = (u = t.slots).default) == null ? void 0 : v.call(u)];
1527
+ var u, m;
1528
+ return [(m = (u = t.slots).default) == null ? void 0 : m.call(u)];
1529
1529
  }
1530
1530
  });
1531
1531
  }
@@ -1537,60 +1537,60 @@ const Ht = /* @__PURE__ */ Be({
1537
1537
  const n = r(), a = r(e.customClass), o = r(e.modelValue), i = eo(e, t, n, o), {
1538
1538
  shouldPopupContent: s,
1539
1539
  hidePopup: u,
1540
- showPopup: v,
1540
+ showPopup: m,
1541
1541
  togglePopup: f
1542
- } = i, g = Ja(e, t, n, i, o), C = r(""), I = Qa(e, t, o, C, i), {
1542
+ } = i, g = Ja(e, t, n, i, o), p = r(""), F = Qa(e, t, o, p, i), {
1543
1543
  hasFocusedTextBox: h,
1544
- commitValue: w,
1545
- inputGroupClass: k
1546
- } = I, S = Za(e, t, o, h, C, I), {
1544
+ commitValue: C,
1545
+ inputGroupClass: T
1546
+ } = F, S = Za(e, t, o, h, p, F), {
1547
1547
  onMouseEnterTextBox: E,
1548
- onMouseLeaveTextBox: p
1549
- } = S, V = r(!1), A = y(() => {
1548
+ onMouseLeaveTextBox: y
1549
+ } = S, V = r(!1), A = b(() => {
1550
1550
  const z = {
1551
1551
  "f-button-edit": !0,
1552
1552
  "f-cmp-inputgroup": !0,
1553
1553
  "f-button-edit-nowrap": !e.wrapText
1554
1554
  };
1555
- return a.value && a.value.split(" ").reduce((T, d) => (T[d] = !0, T), z), z;
1556
- }), x = y(() => ({
1555
+ return a.value && a.value.split(" ").reduce((M, d) => (M[d] = !0, M), z), z;
1556
+ }), x = b(() => ({
1557
1557
  overflow: e.wrapText ? "hidden" : ""
1558
- })), L = y(() => ({
1558
+ })), L = b(() => ({
1559
1559
  // paddingLeft: '3px',
1560
1560
  // backgroundColor: '#fff'
1561
1561
  }));
1562
- function b() {
1562
+ function w() {
1563
1563
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
1564
1564
  return 0;
1565
1565
  let z = 0;
1566
- const T = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1567
- return T && T.length && (z = T.map((d) => d.offsetTop).filter((d) => d > 20).length), z;
1566
+ const M = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1567
+ return M && M.length && (z = M.map((d) => d.offsetTop).filter((d) => d > 20).length), z;
1568
1568
  }
1569
- const F = r(b());
1569
+ const O = r(w());
1570
1570
  Dn(() => {
1571
- F.value = b();
1571
+ O.value = w();
1572
1572
  });
1573
1573
  function G() {
1574
- return e.multiSelect && e.inputType === "tag" ? () => l(pe, null, [no(e, o, I)(), !!F.value && l("div", {
1574
+ return e.multiSelect && e.inputType === "tag" ? () => l(pe, null, [no(e, o, F)(), !!O.value && l("div", {
1575
1575
  class: "d-flex flex-row mr-2 more-tags",
1576
1576
  "more-tags": !0
1577
1577
  }, [l("span", {
1578
1578
  class: "multi--more-text"
1579
- }, [xe("+"), F.value])])]) : to(e, o, I);
1579
+ }, [xe("+"), O.value])])]) : to(e, o, F);
1580
1580
  }
1581
1581
  let K = G();
1582
1582
  Q([() => e.multiSelect, () => e.inputType], () => {
1583
1583
  K = G();
1584
1584
  });
1585
1585
  const {
1586
- renderButtonGroup: O,
1586
+ renderButtonGroup: I,
1587
1587
  buttonHandleElement: $
1588
1588
  } = ao(e, t, g, S), le = oo(e, t, i), J = r(s.value), ie = {
1589
- displayText: C,
1590
- commitValue: w,
1589
+ displayText: p,
1590
+ commitValue: C,
1591
1591
  elementRef: n,
1592
1592
  hidePopup: u,
1593
- showPopup: v,
1593
+ showPopup: m,
1594
1594
  popoverRef: i.popoverRef,
1595
1595
  shouldPopupContent: s,
1596
1596
  togglePopup: f,
@@ -1616,7 +1616,7 @@ const Ht = /* @__PURE__ */ Be({
1616
1616
  }), Rn(() => {
1617
1617
  var z;
1618
1618
  window.onresize = null, (z = window[Re]) == null || z.delete(n.value);
1619
- }), t.expose(ie), Q(() => s.value, async (z, T) => {
1619
+ }), t.expose(ie), Q(() => s.value, async (z, M) => {
1620
1620
  if (V.value) {
1621
1621
  J.value = z, V.value = !1;
1622
1622
  return;
@@ -1626,13 +1626,13 @@ const Ht = /* @__PURE__ */ Be({
1626
1626
  const d = await e.beforeClosePopup();
1627
1627
  J.value = !d, (!d || e.readonly) && (s.value = !0);
1628
1628
  } catch (d) {
1629
- console.error("Error in beforeClosePopup:", d), J.value = T, s.value = T;
1629
+ console.error("Error in beforeClosePopup:", d), J.value = M, s.value = M;
1630
1630
  }
1631
1631
  return;
1632
1632
  }
1633
1633
  J.value = z;
1634
1634
  }), () => {
1635
- var z, T;
1635
+ var z, M;
1636
1636
  return l(pe, null, [l("div", ot(t.attrs, {
1637
1637
  ref: n,
1638
1638
  class: A.value,
@@ -1640,11 +1640,11 @@ const Ht = /* @__PURE__ */ Be({
1640
1640
  style: x.value
1641
1641
  }), [l("div", {
1642
1642
  id: e.id ? `${e.id}-input-group` : void 0,
1643
- class: k.value,
1643
+ class: T.value,
1644
1644
  style: L.value,
1645
1645
  onMouseenter: E,
1646
- onMouseleave: p
1647
- }, [(T = (z = t.slots).precontent) == null ? void 0 : T.call(z), K(), O()])]), J.value && le()]);
1646
+ onMouseleave: y
1647
+ }, [(M = (z = t.slots).precontent) == null ? void 0 : M.call(z), K(), I()])]), J.value && le()]);
1648
1648
  };
1649
1649
  }
1650
1650
  });
@@ -1791,22 +1791,22 @@ const lo = {
1791
1791
  /** 是否可见, 为了适配低代码表单,该属性不应该属于表格组件的行为 */
1792
1792
  visible: { type: Boolean, default: !0 }
1793
1793
  };
1794
- function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1794
+ function io(e, t, n, a, o, i, s, u, m, f, g, p, F, h, C, T) {
1795
1795
  const {
1796
1796
  isNull: S,
1797
1797
  isUndefined: E
1798
1798
  } = zn(), {
1799
- totalItems: p,
1799
+ totalItems: y,
1800
1800
  rawView: V
1801
- } = k, {
1801
+ } = T, {
1802
1802
  calculateCellPositionInRow: A,
1803
1803
  cellKey: x,
1804
1804
  cellPosition: L,
1805
- rowKey: b,
1806
- rowPosition: F,
1805
+ rowKey: w,
1806
+ rowPosition: O,
1807
1807
  rowSpanCellPosition: G,
1808
1808
  groupCellPosition: K,
1809
- summaryCellPosition: O
1809
+ summaryCellPosition: I
1810
1810
  } = s, {
1811
1811
  cellContentClass: $,
1812
1812
  cellContentPosition: le,
@@ -1815,19 +1815,19 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1815
1815
  collpaseGroupIconClass: ie
1816
1816
  } = f, {
1817
1817
  gridCellClass: z,
1818
- gridRowClass: T,
1818
+ gridRowClass: M,
1819
1819
  onClickRow: d,
1820
1820
  onMouseoverRow: B,
1821
1821
  onMouseoutRow: D
1822
- } = C, {
1822
+ } = p, {
1823
1823
  onClickCell: R,
1824
1824
  showRowEditPanel: W
1825
- } = v, {
1825
+ } = m, {
1826
1826
  toggleGroupRow: q
1827
- } = I, {
1827
+ } = F, {
1828
1828
  columnContext: te,
1829
1829
  hasLeftFixedColumn: ue,
1830
- hasRightFixedColumn: fe
1830
+ hasRightFixedColumn: me
1831
1831
  } = u, {
1832
1832
  navigateOnKeyUp: ne,
1833
1833
  navigateOnKeyDown: We
@@ -1840,12 +1840,12 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1840
1840
  } : {
1841
1841
  flexGrow: "1"
1842
1842
  };
1843
- }, Te = ge({
1843
+ }, Te = ve({
1844
1844
  "fv-grid-content-left-fixed": !0
1845
- }), Me = ge({
1845
+ }), Me = ve({
1846
1846
  "fv-grid-content-right-fixed": !0
1847
1847
  });
1848
- Q([p, V], (c) => {
1848
+ Q([y, V], (c) => {
1849
1849
  !c[0] && !c[1].length ? (Te["fv-grid-content-left-fixed"] = !1, Me["fv-grid-content-right-fixed"] = !1) : (Te["fv-grid-content-left-fixed"] = !0, Me["fv-grid-content-right-fixed"] = !0);
1850
1850
  });
1851
1851
  const {
@@ -1857,9 +1857,9 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1857
1857
  rightFixedGridMergedDataStyle: Ue
1858
1858
  } = h;
1859
1859
  function qe(c, N) {
1860
- N.collapse = !N.collapse, w.value = q(N.collapse ? "collapse" : "expand", N, w.value);
1860
+ N.collapse = !N.collapse, C.value = q(N.collapse ? "collapse" : "expand", N, C.value);
1861
1861
  }
1862
- function Y(c, N) {
1862
+ function _(c, N) {
1863
1863
  const U = [];
1864
1864
  if (c.groupField && N[c.groupField]) {
1865
1865
  for (let Z = 0; Z <= c.layer; Z++)
@@ -1889,12 +1889,12 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1889
1889
  function Fe(c, N, U) {
1890
1890
  return c.layer > -1 && l("div", {
1891
1891
  ref: c.setRef,
1892
- key: b(c),
1893
- class: T(c, U),
1894
- style: F(c),
1892
+ key: w(c),
1893
+ class: M(c, U),
1894
+ style: O(c),
1895
1895
  onClick: (P) => d(P, c),
1896
1896
  onMouseover: (P) => B(P, c)
1897
- }, [Y(c, N)]);
1897
+ }, [_(c, N)]);
1898
1898
  }
1899
1899
  function Ne(c, N) {
1900
1900
  const U = [];
@@ -1904,7 +1904,7 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1904
1904
  ref: P.setRef,
1905
1905
  key: x(c, c.layer + 1),
1906
1906
  class: "fv-grid-cell",
1907
- style: O(P, N, c.layer)
1907
+ style: I(P, N, c.layer)
1908
1908
  }, [P.data]));
1909
1909
  }
1910
1910
  return U;
@@ -1912,9 +1912,9 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1912
1912
  function Ve(c, N, U) {
1913
1913
  return c.layer > -1 && l("div", {
1914
1914
  ref: c.setRef,
1915
- key: b(c),
1916
- class: T(c, U),
1917
- style: F(c),
1915
+ key: w(c),
1916
+ class: M(c, U),
1917
+ style: O(c),
1918
1918
  onClick: (P) => d(P, c),
1919
1919
  onMouseover: (P) => B(P, c)
1920
1920
  }, [Ne(c, N)]);
@@ -1928,13 +1928,13 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1928
1928
  class: J(c)
1929
1929
  }, [c.formatter(c, N)]);
1930
1930
  }
1931
- function ve() {
1931
+ function he() {
1932
1932
  return l("div", null, [xe("******")]);
1933
1933
  }
1934
1934
  function Ke(c) {
1935
1935
  var P, Z;
1936
1936
  const N = !S(c.data) && !E(c.data) ? c.data.toString() : c.data;
1937
- return ((Z = (P = c.column) == null ? void 0 : P.editor) == null ? void 0 : Z.showType) === "password" ? ve() : c.showTips ? l("div", {
1937
+ return ((Z = (P = c.column) == null ? void 0 : P.editor) == null ? void 0 : Z.showType) === "password" ? he() : c.showTips ? l("div", {
1938
1938
  class: J(c),
1939
1939
  title: N
1940
1940
  }, [N]) : l("div", {
@@ -1949,9 +1949,9 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1949
1949
  function Ie(c, N, U) {
1950
1950
  return l("div", {
1951
1951
  ref: c.setRef,
1952
- key: b(c),
1953
- class: T(c, U),
1954
- style: F(c),
1952
+ key: w(c),
1953
+ class: M(c, U),
1954
+ style: O(c),
1955
1955
  onClick: (P) => d(P, c),
1956
1956
  onMouseover: (P) => B(P, c),
1957
1957
  onMouseout: (P) => D(P, c)
@@ -1966,10 +1966,10 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1966
1966
  key: x(c, P.index),
1967
1967
  class: z(P, c),
1968
1968
  style: L(c, P, N),
1969
- onClick: (Ye) => {
1970
- R(Ye, P, c, P.column);
1969
+ onClick: (_e) => {
1970
+ R(_e, P, c, P.column);
1971
1971
  },
1972
- onKeydown: (Ye) => ne(Ye, P)
1972
+ onKeydown: (_e) => ne(_e, P)
1973
1973
  }, [l("div", {
1974
1974
  class: $(P),
1975
1975
  style: le(P)
@@ -1980,13 +1980,13 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1980
1980
  })]);
1981
1981
  }
1982
1982
  const ze = [Ie, Fe, Ve];
1983
- function m(c, N) {
1983
+ function v(c, N) {
1984
1984
  const U = A(c);
1985
- return w.value.map((P, Z) => ze[P.type](P, U, Z));
1985
+ return C.value.map((P, Z) => ze[P.type](P, U, Z));
1986
1986
  }
1987
1987
  function H(c) {
1988
1988
  const N = A(c);
1989
- return w.value.map((U) => Object.values(U.data).filter((P) => N[P.field] && P.rowSpan > 1).map((P) => l("div", {
1989
+ return C.value.map((U) => Object.values(U.data).filter((P) => N[P.field] && P.rowSpan > 1).map((P) => l("div", {
1990
1990
  key: x(U, P.index),
1991
1991
  class: "fv-grid-cell fv-grid-merged-cell",
1992
1992
  style: G(U, P, N)
@@ -1999,7 +1999,7 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
1999
1999
  }, [l("div", {
2000
2000
  class: "fv-grid-data",
2001
2001
  style: Ge.value
2002
- }, [m(te.value.leftColumns.filter((c) => c.visible))]), l("div", {
2002
+ }, [v(te.value.leftColumns.filter((c) => c.visible))]), l("div", {
2003
2003
  class: "fv-grid-merge-date",
2004
2004
  style: $e.value
2005
2005
  }, [H(te.value.leftColumns.filter((c) => c.visible))])]);
@@ -2011,7 +2011,7 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
2011
2011
  }, [l("div", {
2012
2012
  class: "fv-grid-data",
2013
2013
  style: ke.value
2014
- }, [m(te.value.primaryColumns.filter((c) => c.visible))]), l("div", {
2014
+ }, [v(te.value.primaryColumns.filter((c) => c.visible))]), l("div", {
2015
2015
  class: "fv-grid-merge-date",
2016
2016
  style: je.value
2017
2017
  }, [H(te.value.primaryColumns.filter((c) => c.visible))])]);
@@ -2023,17 +2023,17 @@ function io(e, t, n, a, o, i, s, u, v, f, g, C, I, h, w, k) {
2023
2023
  }, [l("div", {
2024
2024
  class: "fv-grid-data",
2025
2025
  style: Ce.value
2026
- }, [m(te.value.rightColumns.filter((c) => c.visible))]), l("div", {
2026
+ }, [v(te.value.rightColumns.filter((c) => c.visible))]), l("div", {
2027
2027
  class: "fv-grid-merge-date",
2028
2028
  style: Ue.value
2029
2029
  }, [H(te.value.rightColumns.filter((c) => c.visible))])]);
2030
2030
  }
2031
- function _e() {
2031
+ function Ye() {
2032
2032
  const c = [];
2033
- return ue.value && c.push(ee()), c.push(X()), fe.value && c.push(ce()), c;
2033
+ return ue.value && c.push(ee()), c.push(X()), me.value && c.push(ce()), c;
2034
2034
  }
2035
2035
  return {
2036
- renderDataArea: _e
2036
+ renderDataArea: Ye
2037
2037
  };
2038
2038
  }
2039
2039
  function so(e) {
@@ -2047,24 +2047,24 @@ const jt = /* @__PURE__ */ Be({
2047
2047
  var gt, pt;
2048
2048
  const {
2049
2049
  isSmall: n
2050
- } = qn(), a = 0, o = ((gt = e.rowOption) == null ? void 0 : gt.height) || 28, i = r(20), s = r(e.columns), u = Kn(e), v = r(), f = r(), g = r(), C = r(), I = r(), h = r([]), w = r(e.scrollbarMode === "always"), k = r(((pt = e.rowOption) == null ? void 0 : pt.wrapContent) || !1), S = _n(e, u), E = Yn(e, t), p = Xn(e), {
2050
+ } = qn(), a = 0, o = ((gt = e.rowOption) == null ? void 0 : gt.height) || 28, i = r(20), s = r(e.columns), u = Kn(e), m = r(), f = r(), g = r(), p = r(), F = r(), h = r([]), C = r(e.scrollbarMode === "always"), T = r(((pt = e.rowOption) == null ? void 0 : pt.wrapContent) || !1), S = Yn(e, u), E = _n(e, t), y = Xn(e), {
2051
2051
  showLoading: V,
2052
2052
  renderLoading: A
2053
- } = Jn(e, v), x = Zn(e, /* @__PURE__ */ new Map(), E, p, u), L = Qn(e, x), {
2054
- shouldRenderPagination: b
2055
- } = L, F = ea(e, x, u, h, t), {
2053
+ } = Jn(e, m), x = Zn(e, /* @__PURE__ */ new Map(), E, y, u), L = Qn(e, x), {
2054
+ shouldRenderPagination: w
2055
+ } = L, O = ea(e, x, u, h, t), {
2056
2056
  showSelectAll: G,
2057
2057
  showSelection: K,
2058
- selectedValues: O,
2058
+ selectedValues: I,
2059
2059
  updateSelectAllStatus: $
2060
- } = F, le = y(() => e.disabled), J = y(() => e.virtualized ? Math.min(x.dataView.value.length, i.value) : x.dataView.value.length);
2061
- y(() => e.loadingConfig.message);
2060
+ } = O, le = b(() => e.disabled), J = b(() => e.virtualized ? Math.min(x.dataView.value.length, i.value) : x.dataView.value.length);
2061
+ b(() => e.loadingConfig.message);
2062
2062
  const {
2063
2063
  containerStyleObject: ie
2064
2064
  } = ta(e), z = na(e), {
2065
- applyCommands: T
2065
+ applyCommands: M
2066
2066
  } = z;
2067
- T(s);
2067
+ M(s);
2068
2068
  const {
2069
2069
  applyColumnSetting: d,
2070
2070
  removeColumnSetting: B
@@ -2076,61 +2076,61 @@ const jt = /* @__PURE__ */ Be({
2076
2076
  updateColumnRenderContext: te
2077
2077
  } = D;
2078
2078
  W(x, R);
2079
- const ue = ia(e, q), fe = sa(e, t, F, u), ne = ua(e, t, u, fe, h), We = ra(e), re = ca(e, ne, We), Se = da(e, x, ne, p, u, We, re), Te = fa(e, u, re, Se), Me = va(e, u, re, Se), ke = ma(e, s, x, J, a, Se, Te, Me), {
2079
+ const ue = ia(e, q), me = sa(e, t, O, u), ne = ua(e, t, u, me, h), We = ra(e), re = ca(e, ne, We), Se = da(e, x, ne, y, u, We, re), Te = fa(e, u, re, Se), Me = va(e, u, re, Se), ke = ma(e, s, x, J, a, Se, Te, Me), {
2080
2080
  getVisualData: je
2081
- } = ke, Ge = ha(q), $e = ga(e, q), Ce = pa(e, F), {
2081
+ } = ke, Ge = ha(q), $e = ga(e, q), Ce = pa(e, O), {
2082
2082
  sidebarWidth: Ue,
2083
2083
  showSidebarCheckBox: qe
2084
- } = Ce, Y = ya(e, x, h, q, ke, J, a, Ue, ne), {
2084
+ } = Ce, _ = ya(e, x, h, q, ke, J, a, Ue, ne), {
2085
2085
  onWheel: Fe,
2086
2086
  dataGridWidth: Ne,
2087
2087
  viewPortHeight: Ve,
2088
2088
  viewPortWidth: we,
2089
- resetScroll: ve,
2089
+ resetScroll: he,
2090
2090
  updateVisibleRowsOnLatestVisibleScope: Ke
2091
- } = Y, Oe = ba(e, q, f, we, ue), {
2091
+ } = _, Oe = ba(e, q, f, we, ue), {
2092
2092
  calculateColumnsSize: Ie
2093
- } = Oe, ze = Ca(), m = wa(f, I, x, ze, Y), H = xa(e, t, D, x, ue, S, Y), ee = y(() => {
2094
- const M = {
2093
+ } = Oe, ze = Ca(), v = wa(f, F, x, ze, _), H = xa(e, t, D, x, ue, S, _), ee = b(() => {
2094
+ const k = {
2095
2095
  "fv-grid": !0,
2096
2096
  "fv-grid-bordered": e.showBorder,
2097
2097
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
2098
2098
  "fv-datagrid-strip": e.showStripe
2099
2099
  };
2100
- return Ln(M, e.customClass);
2101
- }), X = y(() => ({
2100
+ return Ln(k, e.customClass);
2101
+ }), X = b(() => ({
2102
2102
  "fv-grid-content": !0,
2103
- "fv-grid-content-hover": w.value,
2104
- "fv-grid-wrap-content": k.value
2105
- })), ce = y(() => {
2106
- const M = {};
2107
- return Y.shouldShowHorizontalScrollbar.value && (M.paddingBottom = "10px"), Y.shouldShowVirticalScrollbar.value && (M.paddingRight = "10px"), M;
2103
+ "fv-grid-content-hover": C.value,
2104
+ "fv-grid-wrap-content": T.value
2105
+ })), ce = b(() => {
2106
+ const k = {};
2107
+ return _.shouldShowHorizontalScrollbar.value && (k.paddingBottom = "10px"), _.shouldShowVirticalScrollbar.value && (k.paddingRight = "10px"), k;
2108
2108
  }), {
2109
- renderGridHeader: _e,
2109
+ renderGridHeader: Ye,
2110
2110
  renderGridColumnResizeOverlay: c,
2111
2111
  shouldShowHeader: N
2112
- } = Ba(e, t, f, C, I, D, x, H, m, E, ze, Oe, ue, F, Ce, R, Y, we, h), {
2112
+ } = Ba(e, t, f, p, F, D, x, H, v, E, ze, Oe, ue, O, Ce, R, _, we, h), {
2113
2113
  renderDataGridPagination: U
2114
- } = Sa(e, t, x, Y, L, F), {
2114
+ } = Sa(e, t, x, _, L, O), {
2115
2115
  renderDataGridSidebar: P
2116
- } = Ta(e, fe, F, Ce, Y), {
2116
+ } = Ta(e, me, O, Ce, _), {
2117
2117
  renderDisableMask: Z
2118
2118
  } = Ma(), {
2119
2119
  renderDataGridSummary: Ee,
2120
2120
  summaryPosition: Pe
2121
2121
  } = ka(e, x, D), {
2122
- renderHorizontalScrollbar: Ye
2123
- } = Fa(e, f, Y), {
2122
+ renderHorizontalScrollbar: _e
2123
+ } = Fa(e, f, _), {
2124
2124
  renderVerticalScrollbar: zt
2125
- } = Oa(e, f, Y), {
2125
+ } = Oa(e, f, _), {
2126
2126
  renderFilterPanel: Lt
2127
- } = Ia(e, D, x, E, Y), {
2127
+ } = Ia(e, D, x, E, _), {
2128
2128
  renderGroupPanel: At
2129
- } = Ea(e, x, H, S, Y);
2129
+ } = Ea(e, x, H, S, _);
2130
2130
  function Wt() {
2131
- var j, _;
2132
- const M = Math.ceil(f.value.clientHeight / o);
2133
- M > i.value && (i.value = M, Ke()), Ve.value = ((j = g.value) == null ? void 0 : j.clientHeight) || 0, Ne.value = ((_ = f.value) == null ? void 0 : _.clientWidth) || 0, Ie();
2131
+ var j, Y;
2132
+ const k = Math.ceil(f.value.clientHeight / o);
2133
+ k > i.value && (i.value = k, Ke()), Ve.value = ((j = g.value) == null ? void 0 : j.clientHeight) || 0, Ne.value = ((Y = f.value) == null ? void 0 : Y.clientWidth) || 0, Ie();
2134
2134
  }
2135
2135
  Ae(() => {
2136
2136
  f.value && (i.value = Math.max(Math.ceil(f.value.clientHeight / o), i.value), h.value = je(0, J.value + a - 1), $n(f.value, Wt), Ie(), Le(() => {
@@ -2140,108 +2140,108 @@ const jt = /* @__PURE__ */ Be({
2140
2140
  }), Q(we, () => {
2141
2141
  });
2142
2142
  function Gt() {
2143
- x.insertNewDataItem(), ve();
2143
+ x.insertNewDataItem(), he();
2144
2144
  }
2145
2145
  function $t() {
2146
- x.insertNewDataItem(h.value.length), ve();
2146
+ x.insertNewDataItem(h.value.length), he();
2147
2147
  }
2148
- function Ut(M) {
2149
- ne.onEditingRow(M);
2148
+ function Ut(k) {
2149
+ ne.onEditingRow(k);
2150
2150
  }
2151
- function qt(M) {
2152
- x.removeDataItem(M), ve();
2151
+ function qt(k) {
2152
+ x.removeDataItem(k), he();
2153
2153
  }
2154
- function Kt(M) {
2155
- x.removeDataItemById(M), ve();
2154
+ function Kt(k) {
2155
+ x.removeDataItemById(k), he();
2156
2156
  }
2157
- function _t(M) {
2158
- ne.acceptEditingRow(M);
2157
+ function Yt(k) {
2158
+ ne.acceptEditingRow(k);
2159
2159
  }
2160
- function Yt(M) {
2161
- ne.cancelEditingRow(M);
2160
+ function _t(k) {
2161
+ ne.cancelEditingRow(k);
2162
2162
  }
2163
- function Xt(M) {
2164
- h.value.forEach((j, _) => {
2165
- const oe = x.visibleDataItems.value.findIndex((se) => se === j.raw), de = h.value[_ - 1];
2166
- M.forEach((se) => {
2163
+ function Xt(k) {
2164
+ h.value.forEach((j, Y) => {
2165
+ const oe = x.visibleDataItems.value.findIndex((se) => se === j.raw), de = h.value[Y - 1];
2166
+ k.forEach((se) => {
2167
2167
  j.data[se.field] ? re.updateCellByColumn(j.data[se.field], se, de, j.raw) : j.data[se.field] = re.createCellByColumn(se, oe, j.raw, j, de);
2168
2168
  });
2169
2169
  });
2170
2170
  }
2171
- function et(M) {
2172
- M && (s.value = M, Xt(s.value), T(s), e.showSetting && d(s), te(s.value), W(x, R), Ie());
2171
+ function et(k) {
2172
+ k && (s.value = k, Xt(s.value), M(s), e.showSetting && d(s), te(s.value), W(x, R), Ie());
2173
2173
  }
2174
2174
  function Jt() {
2175
- F.emptyCurrentRowId();
2175
+ O.emptyCurrentRowId();
2176
2176
  }
2177
- Q(() => e.showSetting, (M, j) => {
2178
- M !== j && et(s.value);
2177
+ Q(() => e.showSetting, (k, j) => {
2178
+ k !== j && et(s.value);
2179
2179
  });
2180
- function lt(M) {
2181
- L.updatePagination(M);
2180
+ function lt(k) {
2181
+ L.updatePagination(k);
2182
2182
  }
2183
- function mt(M, j) {
2184
- M && (x.load(M), h.value = je(0, J.value + a - 1), j != null && j.keepScrollTop ? Y.scrollTo(Y.offsetY.value) : ve(), h.value.length || (O.value = []), qe.value && G.value && $()), ne.clear();
2183
+ function mt(k, j) {
2184
+ k && (x.load(k), h.value = je(0, J.value + a - 1), j != null && j.keepScrollTop ? _.scrollTo(_.offsetY.value) : he(), h.value.length || (I.value = []), qe.value && G.value && $()), ne.clear();
2185
2185
  }
2186
- Q(x.shouldGroupingData, (M, j) => {
2187
- M !== j && (x.updateDataView(), ve());
2188
- }), Q(() => e.columns, (M) => {
2189
- et(M);
2186
+ Q(x.shouldGroupingData, (k, j) => {
2187
+ k !== j && (x.updateDataView(), he());
2188
+ }), Q(() => e.columns, (k) => {
2189
+ et(k);
2190
2190
  });
2191
- function it(M) {
2192
- fe.activeRowById(M);
2191
+ function it(k) {
2192
+ me.activeRowById(k);
2193
2193
  }
2194
- const Zt = Pa(F, x, E, s, et, mt, lt);
2195
- function Qt(M, j = {
2194
+ const Zt = Pa(O, x, E, s, et, mt, lt);
2195
+ function Qt(k, j = {
2196
2196
  isCurrent: !0
2197
2197
  }) {
2198
- j != null && j.isCurrent && it(M), F.selectItemById(M);
2198
+ j != null && j.isCurrent && it(k), O.selectItemById(k);
2199
2199
  }
2200
- function en(M) {
2201
- const j = u.idField.value, _ = h.value.find((oe) => oe.raw[j] === M);
2202
- _ && fe.clickRowItem(_);
2200
+ function en(k) {
2201
+ const j = u.idField.value, Y = h.value.find((oe) => oe.raw[j] === k);
2202
+ Y && me.clickRowItem(Y);
2203
2203
  }
2204
- function tn(M) {
2205
- const j = u.idField.value, _ = h.value.find((oe) => oe.raw[j] === M);
2206
- _ && fe.changeRow(_);
2204
+ function tn(k) {
2205
+ const j = u.idField.value, Y = h.value.find((oe) => oe.raw[j] === k);
2206
+ Y && me.changeRow(Y);
2207
2207
  }
2208
- function nn(M) {
2209
- F.selectItemByIds(M);
2208
+ function nn(k) {
2209
+ O.selectItemByIds(k);
2210
2210
  }
2211
2211
  function an() {
2212
2212
  return h.value;
2213
2213
  }
2214
- function on(M) {
2215
- return h.value.filter((j) => M.includes(j.raw[e.idField]));
2214
+ function on(k) {
2215
+ return h.value.filter((j) => k.includes(j.raw[e.idField]));
2216
2216
  }
2217
2217
  function ln() {
2218
- return F.getSelectedItems();
2218
+ return O.getSelectedItems();
2219
2219
  }
2220
2220
  function sn() {
2221
- return F.getSelectionRow();
2221
+ return O.getSelectionRow();
2222
2222
  }
2223
2223
  function un() {
2224
2224
  ne.endEditCell();
2225
2225
  }
2226
- function rn(M, j = {
2226
+ function rn(k, j = {
2227
2227
  clearCurrent: !0
2228
2228
  }) {
2229
- j != null && j.clearCurrent && it(""), F.unSelectItemByIds(M);
2229
+ j != null && j.clearCurrent && it(""), O.unSelectItemByIds(k);
2230
2230
  }
2231
2231
  function ht() {
2232
- F.clearSelection();
2232
+ O.clearSelection();
2233
2233
  }
2234
2234
  function cn() {
2235
- return F.currentSelectedDataId.value;
2235
+ return O.currentSelectedDataId.value;
2236
2236
  }
2237
2237
  function dn() {
2238
- Y.scrollToBottom();
2238
+ _.scrollToBottom();
2239
2239
  }
2240
- function fn(M) {
2241
- Y.scrollToRowByIndex(M);
2240
+ function fn(k) {
2241
+ _.scrollToRowByIndex(k);
2242
2242
  }
2243
2243
  function vn() {
2244
- F.keepSelectingOnPaging.value || ht(), x.updateVisibleDataSummary(h.value), lt({
2244
+ O.keepSelectingOnPaging.value || ht(), x.updateVisibleDataSummary(h.value), lt({
2245
2245
  total: x.dataView.value.length,
2246
2246
  index: 1
2247
2247
  });
@@ -2254,8 +2254,8 @@ const jt = /* @__PURE__ */ Be({
2254
2254
  removeDataItem: qt,
2255
2255
  removeDataItemById: Kt,
2256
2256
  editDataItem: Ut,
2257
- acceptDataItem: _t,
2258
- cancelDataItem: Yt,
2257
+ acceptDataItem: Yt,
2258
+ cancelDataItem: _t,
2259
2259
  selectItemById: Qt,
2260
2260
  selectItemByIds: nn,
2261
2261
  updateColumns: et,
@@ -2279,17 +2279,17 @@ const jt = /* @__PURE__ */ Be({
2279
2279
  t.expose(st);
2280
2280
  const mn = Da(e, t, st, D, ne, h), {
2281
2281
  renderDataArea: hn
2282
- } = io(e, t, g, C, I, Ge, $e, D, ne, S, mn, fe, ke, Y, h, x), gn = y(() => !h.value || !h.value.length), {
2282
+ } = io(e, t, g, p, F, Ge, $e, D, ne, S, mn, me, ke, _, h, x), gn = b(() => !h.value || !h.value.length), {
2283
2283
  renderEmpty: pn
2284
- } = Ra(e, t), yn = y(() => ({
2284
+ } = Ra(e, t), yn = b(() => ({
2285
2285
  "d-flex": !0,
2286
- "justify-content-between": b.value && K.value,
2287
- "justify-content-end": b.value && !K.value,
2286
+ "justify-content-between": w.value && K.value,
2287
+ "justify-content-end": w.value && !K.value,
2288
2288
  "position-relative": !0,
2289
2289
  "fv-datagrid-pagination": !0
2290
- })), bn = y(() => ({
2290
+ })), bn = b(() => ({
2291
2291
  "flex-direction": "row"
2292
- })), Cn = y(() => ({
2292
+ })), Cn = b(() => ({
2293
2293
  "d-flex": !0,
2294
2294
  "align-items-center": !0
2295
2295
  }));
@@ -2299,19 +2299,19 @@ const jt = /* @__PURE__ */ Be({
2299
2299
  useFilterComposition: E,
2300
2300
  useFitColumnComposition: Oe,
2301
2301
  useSortComposition: R,
2302
- useVirtualScrollComposition: Y,
2302
+ useVirtualScrollComposition: _,
2303
2303
  dataGridComponentInstance: st
2304
2304
  });
2305
- function wn(M) {
2305
+ function wn(k) {
2306
2306
  let j;
2307
2307
  return l(ja, {
2308
2308
  class: "f-form-layout farris-form farris-form-controls-inline col-12 col-md-6 col-xl-3 col-el-2"
2309
- }, so(j = Object.keys(M.data).filter((_) => {
2309
+ }, so(j = Object.keys(k.data).filter((Y) => {
2310
2310
  var oe, de;
2311
- return ((oe = M.data[_].column) == null ? void 0 : oe.dataType) !== Bt && ((de = M.data[_].column) == null ? void 0 : de.dataType) !== St;
2312
- }).map((_) => {
2311
+ return ((oe = k.data[Y].column) == null ? void 0 : oe.dataType) !== Bt && ((de = k.data[Y].column) == null ? void 0 : de.dataType) !== St;
2312
+ }).map((Y) => {
2313
2313
  var de, se;
2314
- const oe = M.data[_];
2314
+ const oe = k.data[Y];
2315
2315
  return l("div", {
2316
2316
  class: "farris-group-wrap w-100"
2317
2317
  }, [l("div", {
@@ -2326,44 +2326,44 @@ const jt = /* @__PURE__ */ Be({
2326
2326
  default: () => [j]
2327
2327
  });
2328
2328
  }
2329
- function xn(M, j) {
2330
- const _ = {}, oe = {}, de = [], se = [], yt = {};
2329
+ function xn(k, j) {
2330
+ const Y = {}, oe = {}, de = [], se = [], yt = {};
2331
2331
  Object.keys(j.data).filter((De) => {
2332
2332
  var ye, Xe;
2333
2333
  return ((ye = j.data[De].column) == null ? void 0 : ye.dataType) !== Bt && ((Xe = j.data[De].column) == null ? void 0 : Xe.dataType) !== St;
2334
2334
  }).forEach((De) => {
2335
2335
  var Xe, bt, Ct;
2336
2336
  const ye = j.data[De];
2337
- _[De] = ye.data, ne.endEditByCell(ye), oe[De] = ye.data, de.push(ye.column), se.push(ye), yt[De] = (Ct = (bt = (Xe = ye.column) == null ? void 0 : Xe.editor) == null ? void 0 : bt.context) == null ? void 0 : Ct.editor;
2337
+ Y[De] = ye.data, ne.endEditByCell(ye), oe[De] = ye.data, de.push(ye.column), se.push(ye), yt[De] = (Ct = (bt = (Xe = ye.column) == null ? void 0 : Xe.editor) == null ? void 0 : bt.context) == null ? void 0 : Ct.editor;
2338
2338
  }), t.emit("endEditRow", {
2339
2339
  row: j,
2340
2340
  cells: se,
2341
2341
  columns: de,
2342
- oldValues: _,
2342
+ oldValues: Y,
2343
2343
  newValues: oe,
2344
2344
  editors: yt
2345
2345
  }), ne.showRowEditPanel.value = !1;
2346
2346
  }
2347
2347
  function Bn() {
2348
- const M = F.currentSelectedDataId.value, j = h.value.find((_) => _.raw[e.idField] === M);
2348
+ const k = O.currentSelectedDataId.value, j = h.value.find((Y) => Y.raw[e.idField] === k);
2349
2349
  return j ? l(Ha, {
2350
2350
  showHeader: !1,
2351
2351
  modelValue: ne.showRowEditPanel.value,
2352
- "onUpdate:modelValue": (_) => ne.showRowEditPanel.value = _,
2352
+ "onUpdate:modelValue": (Y) => ne.showRowEditPanel.value = Y,
2353
2353
  width: 600
2354
2354
  }, {
2355
2355
  default: () => wn(j),
2356
2356
  footerTemplate: () => l(pe, null, [l(xt, {
2357
2357
  class: "mr-3",
2358
2358
  type: "secondary",
2359
- onClick: (_) => {
2359
+ onClick: (Y) => {
2360
2360
  ne.showRowEditPanel.value = !1;
2361
2361
  }
2362
2362
  }, {
2363
2363
  default: () => [xe("取消")]
2364
2364
  }), l(xt, {
2365
- onClick: (_) => {
2366
- xn(_, j);
2365
+ onClick: (Y) => {
2366
+ xn(Y, j);
2367
2367
  }
2368
2368
  }, {
2369
2369
  default: () => [xe("确定")]
@@ -2371,26 +2371,26 @@ const jt = /* @__PURE__ */ Be({
2371
2371
  }) : null;
2372
2372
  }
2373
2373
  return () => e.visible && l(pe, null, [l("div", {
2374
- ref: v,
2374
+ ref: m,
2375
2375
  class: ee.value,
2376
2376
  style: ie.value,
2377
2377
  onWheel: Fe
2378
- }, [f.value && e.enableFilter && Lt(), f.value && At(), f.value && N.value && _e(), f.value && (Pe.value === "top" || Pe.value === "both") && Ee(), l("div", {
2378
+ }, [f.value && e.enableFilter && Lt(), f.value && At(), f.value && N.value && Ye(), f.value && (Pe.value === "top" || Pe.value === "both") && Ee(), l("div", {
2379
2379
  ref: f,
2380
2380
  class: X.value,
2381
2381
  style: ce.value,
2382
- onMouseover: (M) => {
2383
- M.stopPropagation(), e.scrollbarMode !== "always" && (w.value = !0);
2382
+ onMouseover: (k) => {
2383
+ k.stopPropagation(), e.scrollbarMode !== "always" && (C.value = !0);
2384
2384
  },
2385
- onMouseleave: (M) => {
2386
- M.stopPropagation(), e.scrollbarMode !== "always" && (w.value = !1);
2385
+ onMouseleave: (k) => {
2386
+ k.stopPropagation(), e.scrollbarMode !== "always" && (C.value = !1);
2387
2387
  }
2388
- }, [f.value && P(h), f.value && hn(), f.value && gn.value && pn(), f.value && Ye(), f.value && zt()]), f.value && (Pe.value === "bottom" || Pe.value === "both") && Ee(), (b.value || K.value) && l("div", {
2388
+ }, [f.value && P(h), f.value && hn(), f.value && gn.value && pn(), f.value && _e(), f.value && zt()]), f.value && (Pe.value === "bottom" || Pe.value === "both") && Ee(), (w.value || K.value) && l("div", {
2389
2389
  class: yn.value,
2390
2390
  style: bn.value
2391
2391
  }, [K.value && l("div", {
2392
2392
  class: Cn.value
2393
- }, [l("div", null, ["已选:" + O.value.length, xe(" 条")])]), b.value && U()]), c(), le.value && Z()]), n() && Bn()]);
2393
+ }, [l("div", null, ["已选:" + I.value.length, xe(" 条")])]), w.value && U()]), c(), le.value && Z()]), n() && Bn()]);
2394
2394
  }
2395
2395
  });
2396
2396
  Ft(jt);
@@ -2447,14 +2447,14 @@ function vo() {
2447
2447
  return { onCopy: e };
2448
2448
  }
2449
2449
  function mo(e, t, n, a) {
2450
- const o = r(14), i = r(140), s = r(""), u = r(a.value.length), v = y(() => a.value), f = y(() => ({
2450
+ const o = r(14), i = r(140), s = r(""), u = r(a.value.length), m = b(() => a.value), f = b(() => ({
2451
2451
  "font-size": `${o.value}px`,
2452
2452
  height: "100%"
2453
2453
  }));
2454
- function g(C) {
2455
- if (C.currentTarget) {
2456
- const I = C.currentTarget.value || "";
2457
- u.value = I.length;
2454
+ function g(p) {
2455
+ if (p.currentTarget) {
2456
+ const F = p.currentTarget.value || "";
2457
+ u.value = F.length;
2458
2458
  }
2459
2459
  }
2460
2460
  return () => l(pe, null, [l("textarea", {
@@ -2464,8 +2464,8 @@ function mo(e, t, n, a) {
2464
2464
  style: f.value,
2465
2465
  rows: "4",
2466
2466
  maxlength: i.value,
2467
- onInput: (C) => g(C)
2468
- }, [v.value]), l("span", {
2467
+ onInput: (p) => g(p)
2468
+ }, [m.value]), l("span", {
2469
2469
  class: "textarea-wordcount",
2470
2470
  title: s.value,
2471
2471
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -2481,7 +2481,7 @@ function ho(e, t, n, a) {
2481
2481
  function go() {
2482
2482
  const e = r(!1), t = r("复制成功");
2483
2483
  return {
2484
- feedbackStyle: y(() => {
2484
+ feedbackStyle: b(() => {
2485
2485
  const a = {
2486
2486
  position: "absolute",
2487
2487
  left: "50%",
@@ -2513,39 +2513,39 @@ function yo(e, t) {
2513
2513
  function n(h) {
2514
2514
  if (h == null)
2515
2515
  return 0;
2516
- let w = 0;
2517
- for (let k = 0; k < h.length; k++) {
2518
- const S = h.charCodeAt(k);
2519
- S >= 0 && S <= 128 ? w++ : w = w + 2;
2516
+ let C = 0;
2517
+ for (let T = 0; T < h.length; T++) {
2518
+ const S = h.charCodeAt(T);
2519
+ S >= 0 && S <= 128 ? C++ : C = C + 2;
2520
2520
  }
2521
- return w;
2521
+ return C;
2522
2522
  }
2523
- function a(h, w) {
2523
+ function a(h, C) {
2524
2524
  if (h !== "" && h !== void 0 && h !== null) {
2525
2525
  h = "" + h;
2526
- const k = h.length;
2526
+ const T = h.length;
2527
2527
  let S = "", E = 0;
2528
- for (let p = 0; p < k; p++) {
2529
- const V = h.charAt(p);
2530
- if (E++, encodeURI(V).length > 4 && E++, S = S.concat(V), E >= w)
2528
+ for (let y = 0; y < T; y++) {
2529
+ const V = h.charAt(y);
2530
+ if (E++, encodeURI(V).length > 4 && E++, S = S.concat(V), E >= C)
2531
2531
  return S = S.concat("..."), S;
2532
2532
  }
2533
- if (E < w)
2533
+ if (E < C)
2534
2534
  return h;
2535
2535
  }
2536
2536
  return "";
2537
2537
  }
2538
- const o = y(() => !!e.value && !!e.value.date), i = y(() => {
2538
+ const o = b(() => !!e.value && !!e.value.date), i = b(() => {
2539
2539
  const h = e.value && e.value.date || "";
2540
2540
  return `${t.exception.happend} : ${h}`;
2541
- }), s = y(() => !!e.value && !!e.value.detail), u = y(() => e.value ? n(e.value.detail) > 160 : !1), v = r(!1), f = y(() => v.value ? t.exception.collapse : t.exception.expand), g = y(() => {
2541
+ }), s = b(() => !!e.value && !!e.value.detail), u = b(() => e.value ? n(e.value.detail) > 160 : !1), m = r(!1), f = b(() => m.value ? t.exception.collapse : t.exception.expand), g = b(() => {
2542
2542
  const h = t.exception.detail + " : " + (e.value && e.value.detail) || "";
2543
- return v.value ? h : a(h, 160);
2544
- }), C = y(() => ({
2545
- bottom: v.value ? 0 : "2px"
2543
+ return m.value ? h : a(h, 160);
2544
+ }), p = b(() => ({
2545
+ bottom: m.value ? 0 : "2px"
2546
2546
  }));
2547
- function I() {
2548
- v.value = !v.value;
2547
+ function F() {
2548
+ m.value = !m.value;
2549
2549
  }
2550
2550
  return () => l("div", {
2551
2551
  class: "toast-msg-detail",
@@ -2558,8 +2558,8 @@ function yo(e, t) {
2558
2558
  innerHTML: g.value
2559
2559
  }, null), u.value && l("span", {
2560
2560
  class: "exception_toggle_detail",
2561
- style: C.value,
2562
- onClick: I
2561
+ style: p.value,
2562
+ onClick: F
2563
2563
  }, [f.value])])])]);
2564
2564
  }
2565
2565
  function bo(e) {
@@ -2570,16 +2570,16 @@ function bo(e) {
2570
2570
  }, null);
2571
2571
  }
2572
2572
  function Co(e, t, n, a, o) {
2573
- const i = r(e.exceptionInfo), s = y(() => {
2574
- const w = t.value === "question" ? "warning" : t.value, k = {
2573
+ const i = r(e.exceptionInfo), s = b(() => {
2574
+ const C = t.value === "question" ? "warning" : t.value, T = {
2575
2575
  "f-icon": !0
2576
- }, S = `f-icon-${w}`;
2577
- return k[S] = !0, k;
2578
- }), u = y(() => n.value || i.value && i.value.message), v = y(() => a.value), f = y(() => !!a.value), g = y(() => !!i.value);
2579
- function C() {
2580
- return g.value ? yo(i, o) : f.value ? bo(v) : () => null;
2576
+ }, S = `f-icon-${C}`;
2577
+ return T[S] = !0, T;
2578
+ }), u = b(() => n.value || i.value && i.value.message), m = b(() => a.value), f = b(() => !!a.value), g = b(() => !!i.value);
2579
+ function p() {
2580
+ return g.value ? yo(i, o) : f.value ? bo(m) : () => null;
2581
2581
  }
2582
- const I = C(), h = y(() => o.locale === "en" ? {
2582
+ const F = p(), h = b(() => o.locale === "en" ? {
2583
2583
  wordBreak: "keep-all",
2584
2584
  overflowWrap: "break-word"
2585
2585
  } : {});
@@ -2593,20 +2593,20 @@ function Co(e, t, n, a, o) {
2593
2593
  class: "toast-msg-title",
2594
2594
  innerHTML: u.value,
2595
2595
  style: h.value
2596
- }, null), I()])]);
2596
+ }, null), F()])]);
2597
2597
  }
2598
2598
  function wo(e, t, n, a) {
2599
2599
  const {
2600
2600
  onCopy: o
2601
2601
  } = t, {
2602
2602
  toShowFeedback: i
2603
- } = n, s = r(a.exception.copySuccess || "复制成功"), u = r(a.exception.copy || "复制详细信息"), v = r(e.exceptionInfo || {
2603
+ } = n, s = r(a.exception.copySuccess || "复制成功"), u = r(a.exception.copy || "复制详细信息"), m = r(e.exceptionInfo || {
2604
2604
  date: "",
2605
2605
  message: "",
2606
2606
  detail: ""
2607
- }), f = y(() => v.value && v.value.detail || "");
2608
- function g(C) {
2609
- o(f.value).catch((I) => {
2607
+ }), f = b(() => m.value && m.value.detail || "");
2608
+ function g(p) {
2609
+ o(f.value).catch((F) => {
2610
2610
  s.value = a.exception.copyFailed || "复制失败";
2611
2611
  }).finally(() => {
2612
2612
  i.value = !0, setTimeout(() => {
@@ -2622,31 +2622,31 @@ function wo(e, t, n, a) {
2622
2622
  }, [u.value])]);
2623
2623
  }
2624
2624
  function xo(e, t, n, a, o) {
2625
- const i = r(e.type), s = r(e.buttons), u = r(e.exceptionInfo), v = r(o.ok || e.okButtonText), f = r(o.cancel || e.cancelButtonText), g = r(e.showCancelButton), C = r(e.showOkButton), I = y(() => !!(s.value && s.value.length)), h = y(() => !!(u.value && u.value.detail)), w = y(() => !(s.value && s.value.length) && (C.value || g.value)), k = wo(e, n, a, o);
2626
- v.value === "关闭" ? v.value = o.close : v.value === "知道了" && (v.value = o.exception.roger);
2627
- function S(p) {
2625
+ const i = r(e.type), s = r(e.buttons), u = r(e.exceptionInfo), m = r(o.ok || e.okButtonText), f = r(o.cancel || e.cancelButtonText), g = r(e.showCancelButton), p = r(e.showOkButton), F = b(() => !!(s.value && s.value.length)), h = b(() => !!(u.value && u.value.detail)), C = b(() => !(s.value && s.value.length) && (p.value || g.value)), T = wo(e, n, a, o);
2626
+ m.value === "关闭" ? m.value = o.close : m.value === "知道了" && (m.value = o.exception.roger);
2627
+ function S(y) {
2628
2628
  i.value === "question" && t.emit("reject"), t.emit("close");
2629
2629
  }
2630
- function E(p) {
2630
+ function E(y) {
2631
2631
  i.value === "question" && t.emit("accept"), t.emit("close");
2632
2632
  }
2633
2633
  return () => l("div", {
2634
2634
  class: "modal-footer"
2635
- }, [h.value && k(), w.value && g.value && l("button", {
2635
+ }, [h.value && T(), C.value && g.value && l("button", {
2636
2636
  type: "button",
2637
2637
  class: "btn btn-secondary btn-lg",
2638
2638
  onClick: S
2639
- }, [f.value]), w.value && C.value && l("button", {
2639
+ }, [f.value]), C.value && p.value && l("button", {
2640
2640
  type: "button",
2641
2641
  class: "btn btn-primary btn-lg",
2642
2642
  onClick: E
2643
- }, [v.value]), I.value && s.value.length && s.value.map((p) => l("button", {
2643
+ }, [m.value]), F.value && s.value.length && s.value.map((y) => l("button", {
2644
2644
  type: "button",
2645
- onClick: p.handle,
2646
- class: p.class
2647
- }, [p.iconClass && l("span", {
2648
- class: p.iconClass
2649
- }, null), p.text]))]);
2645
+ onClick: y.handle,
2646
+ class: y.class
2647
+ }, [y.iconClass && l("span", {
2648
+ class: y.iconClass
2649
+ }, null), y.text]))]);
2650
2650
  }
2651
2651
  function Bo(e) {
2652
2652
  const { getLocaleValue: t } = be, n = be.getLocale();
@@ -2679,29 +2679,29 @@ const nt = /* @__PURE__ */ Be({
2679
2679
  props: uo,
2680
2680
  emits: ["accept", "reject", "close"],
2681
2681
  setup(e, t) {
2682
- const n = Bo(e), a = r(e.type), o = r(e.title), i = r(e.detail), s = y(() => {
2682
+ const n = Bo(e), a = r(e.type), o = r(e.title), i = r(e.detail), s = b(() => {
2683
2683
  const E = {
2684
2684
  "modal-tips": !0,
2685
2685
  "d-flex": !0,
2686
2686
  "flex-row": !0
2687
- }, p = `messager-type-${a.value}`;
2688
- return E[p] = !0, E;
2689
- }), u = y(() => {
2687
+ }, y = `messager-type-${a.value}`;
2688
+ return E[y] = !0, E;
2689
+ }), u = b(() => {
2690
2690
  const E = {
2691
2691
  cursor: "default"
2692
2692
  };
2693
2693
  return a.value === "prompt" ? E.padding = "0.5rem 0.5rem 1rem 1.5rem" : a.value === "error" && (E.padding = "0.5rem 1.5rem 1rem 1.5rem"), E;
2694
- }), v = vo(), f = ho(e, a, o, i), g = go(), {
2695
- feedbackStyle: C,
2696
- feedbackMessage: I
2694
+ }), m = vo(), f = ho(e, a, o, i), g = go(), {
2695
+ feedbackStyle: p,
2696
+ feedbackMessage: F
2697
2697
  } = g;
2698
- I.value = n.exception.copySuccess;
2698
+ F.value = n.exception.copySuccess;
2699
2699
  function h() {
2700
2700
  return l("div", {
2701
- style: C.value
2702
- }, [I.value]);
2701
+ style: p.value
2702
+ }, [F.value]);
2703
2703
  }
2704
- function w() {
2704
+ function C() {
2705
2705
  switch (a.value) {
2706
2706
  case "prompt":
2707
2707
  return po(e, f);
@@ -2709,7 +2709,7 @@ const nt = /* @__PURE__ */ Be({
2709
2709
  return Co(e, a, o, i, n);
2710
2710
  }
2711
2711
  }
2712
- const k = w(), S = xo(e, t, v, g, n);
2712
+ const T = C(), S = xo(e, t, m, g, n);
2713
2713
  return () => l("div", {
2714
2714
  class: "farris-messager"
2715
2715
  }, [!e.exceptionInfo && l("div", {
@@ -2718,68 +2718,79 @@ const nt = /* @__PURE__ */ Be({
2718
2718
  }, null), l("section", {
2719
2719
  class: s.value,
2720
2720
  style: u.value
2721
- }, [k()]), S(), h()]);
2721
+ }, [T()]), S(), h()]);
2722
2722
  }
2723
- }), he = class he {
2724
- static show(t) {
2725
- const n = ge({
2726
- ...t
2727
- }), a = !1, o = n.type === "error" || n.type === "prompt", i = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", s = n.acceptCallback || (() => {
2728
- }), u = n.rejectCallback || (() => {
2723
+ }), fe = class fe {
2724
+ static show(t, n, a) {
2725
+ let o;
2726
+ if (typeof t == "string" && n != null) {
2727
+ const T = {
2728
+ type: t,
2729
+ title: n,
2730
+ detail: "",
2731
+ ...a
2732
+ };
2733
+ o = ve(T);
2734
+ } else
2735
+ o = ve({
2736
+ ...t
2737
+ });
2738
+ const i = !1, s = o.type === "error" || o.type === "prompt", u = o.type === "error" ? "错误提示" : o.type === "prompt" && o.title || "", m = o.acceptCallback || (() => {
2739
+ }), f = o.rejectCallback || (() => {
2729
2740
  });
2730
- let v = null, f = new Pt(he.app);
2731
- const g = () => {
2732
- v && (v == null || v.destroy(), f = null);
2741
+ let g = null, p = new Pt(fe.app);
2742
+ const F = () => {
2743
+ g && (g == null || g.destroy(), p = null);
2733
2744
  };
2734
- return v = f == null ? void 0 : f.open({
2745
+ return g = p == null ? void 0 : p.open({
2735
2746
  class: "modal-message modal-message-type-info",
2736
- title: i,
2737
- showButtons: a,
2738
- showHeader: o,
2739
- width: n.width || 400,
2747
+ title: u,
2748
+ showButtons: i,
2749
+ showHeader: s,
2750
+ width: o.width || 400,
2740
2751
  fitContent: !0,
2741
2752
  showMaxButton: !1,
2742
2753
  draggable: !0,
2743
2754
  dragHandle: ".messager-draggable",
2744
- render: () => l(nt, ot(n, {
2745
- onAccept: s,
2746
- onReject: u,
2747
- onClose: g
2755
+ render: () => l(nt, ot(o, {
2756
+ onAccept: m,
2757
+ onReject: f,
2758
+ onClose: F
2748
2759
  }), null)
2749
- }), f == null ? void 0 : f.getCurrentModal();
2760
+ }), p == null ? void 0 : p.getCurrentModal();
2750
2761
  }
2751
2762
  static info(t, n) {
2752
- const a = ge({
2763
+ const a = ve({
2753
2764
  type: "info",
2754
2765
  title: t,
2755
2766
  detail: n,
2756
2767
  okButtonText: "知道了",
2757
2768
  showCancelButton: !1
2758
2769
  });
2759
- he.show(a);
2770
+ fe.show(a);
2760
2771
  }
2761
2772
  static warning(t, n) {
2762
- const a = ge({
2773
+ const a = ve({
2763
2774
  type: "warning",
2764
2775
  title: t,
2765
2776
  detail: n,
2766
2777
  okButtonText: "知道了",
2767
2778
  showCancelButton: !1
2768
2779
  });
2769
- he.show(a);
2780
+ fe.show(a);
2770
2781
  }
2771
2782
  static success(t, n) {
2772
- const a = ge({
2783
+ const a = ve({
2773
2784
  type: "success",
2774
2785
  title: t,
2775
2786
  detail: n,
2776
2787
  okButtonText: "关闭",
2777
2788
  showCancelButton: !1
2778
2789
  });
2779
- he.show(a);
2790
+ fe.show(a);
2780
2791
  }
2781
2792
  static error(t, n, a) {
2782
- const o = ge({
2793
+ const o = ve({
2783
2794
  width: 500,
2784
2795
  type: "error",
2785
2796
  okButtonText: "关闭",
@@ -2790,20 +2801,20 @@ const nt = /* @__PURE__ */ Be({
2790
2801
  detail: n
2791
2802
  }
2792
2803
  });
2793
- he.show(o);
2804
+ fe.show(o);
2794
2805
  }
2795
2806
  static prompt(t, n) {
2796
- const a = ge({
2807
+ const a = ve({
2797
2808
  type: "prompt",
2798
2809
  title: t,
2799
2810
  detail: n,
2800
2811
  okButtonText: "确定",
2801
2812
  cancelButtonText: "取消"
2802
2813
  });
2803
- he.show(a);
2814
+ fe.show(a);
2804
2815
  }
2805
2816
  static question(t, n, a, o) {
2806
- const i = ge({
2817
+ const i = ve({
2807
2818
  type: "question",
2808
2819
  title: t,
2809
2820
  detail: n,
@@ -2812,11 +2823,20 @@ const nt = /* @__PURE__ */ Be({
2812
2823
  acceptCallback: a,
2813
2824
  rejectCallback: o
2814
2825
  });
2815
- he.show(i);
2826
+ fe.show(i);
2827
+ }
2828
+ static showHtmlMsg(t, n, a, o) {
2829
+ fe.show({
2830
+ type: t,
2831
+ title: n,
2832
+ detail: a,
2833
+ okButtonText: "关闭",
2834
+ acceptCallback: o
2835
+ });
2816
2836
  }
2817
2837
  };
2818
- me(he, "app", null);
2819
- let Ze = he;
2838
+ ge(fe, "app", null);
2839
+ let Ze = fe;
2820
2840
  nt.install = (e) => {
2821
2841
  e.component(nt.name, nt), Ze.app = e, e.provide("FMessageBoxService", Ze);
2822
2842
  };
@@ -2906,51 +2926,51 @@ const So = "https://json-schema.org/draft/2020-12/schema", To = "https://farris-
2906
2926
  props: Do,
2907
2927
  emits: ["close", "click"],
2908
2928
  setup: (e, t) => {
2909
- const n = r(e.animate), a = "fadeOut", o = y(() => e.options), i = r(!1), s = y(() => o.value.title && o.value.message), u = y(() => !o.value.title && o.value.message), v = y(() => {
2910
- const p = {
2929
+ const n = r(e.animate), a = "fadeOut", o = b(() => e.options), i = r(!1), s = b(() => o.value.title && o.value.message), u = b(() => !o.value.title && o.value.message), m = b(() => {
2930
+ const y = {
2911
2931
  animated: i.value,
2912
2932
  toast: !0,
2913
2933
  "toast--only-content": !s.value
2914
2934
  };
2915
- return p[e.animate] = !1, p[a] = i.value, p["toasty-type-" + o.value.type] = !0, o.value.theme && (p[o.value.theme] = !0), p;
2916
- }), f = y(() => {
2935
+ return y[e.animate] = !1, y[a] = i.value, y["toasty-type-" + o.value.type] = !0, o.value.theme && (y[o.value.theme] = !0), y;
2936
+ }), f = b(() => {
2917
2937
  const A = `f-icon-${o.value && o.value.type ? o.value.type.replace("toasty-type-", "") : "default"}`, x = {
2918
2938
  "f-icon": !0
2919
2939
  };
2920
2940
  return x[A] = !0, x;
2921
- }), g = y(() => o.value.title || o.value.message), C = y(() => e.showCloseButton), I = y(() => !!o.value.buttons || !!t.slots.default), h = y(() => be.getLocale() === "en" ? {
2941
+ }), g = b(() => o.value.title || o.value.message), p = b(() => e.showCloseButton), F = b(() => !!o.value.buttons || !!t.slots.default), h = b(() => be.getLocale() === "en" ? {
2922
2942
  wordBreak: "keep-all",
2923
2943
  overflowWrap: "break-word"
2924
2944
  } : {});
2925
- function w(p) {
2926
- p.stopPropagation(), p.preventDefault(), i.value = !1, setTimeout(() => {
2945
+ function C(y) {
2946
+ y.stopPropagation(), y.preventDefault(), i.value = !1, setTimeout(() => {
2927
2947
  t.emit("close", o.value);
2928
2948
  }, 200);
2929
2949
  }
2930
- function k(p, V) {
2950
+ function T(y, V) {
2931
2951
  }
2932
- function S(p) {
2933
- return `f-preten-link ${p.customClass ? p.customClass : ""}`;
2952
+ function S(y) {
2953
+ return `f-preten-link ${y.customClass ? y.customClass : ""}`;
2934
2954
  }
2935
2955
  Q(n, () => {
2936
2956
  n.value;
2937
2957
  });
2938
2958
  const E = () => {
2939
- var p;
2959
+ var y;
2940
2960
  return l(pe, null, [l("div", {
2941
2961
  class: "after-toast-msg text-right"
2942
- }, [!t.slots.default && ((p = o.value.buttons) == null ? void 0 : p.map((V) => l("span", {
2962
+ }, [!t.slots.default && ((y = o.value.buttons) == null ? void 0 : y.map((V) => l("span", {
2943
2963
  class: S(V),
2944
2964
  onClick: (A) => void 0
2945
2965
  }, [V.text]))), t.slots.default && t.slots.default()])]);
2946
2966
  };
2947
2967
  return () => l("div", {
2948
- class: v.value,
2968
+ class: m.value,
2949
2969
  style: "min-height:44px"
2950
- }, [C.value && l("button", {
2970
+ }, [p.value && l("button", {
2951
2971
  title: be.getLocaleValue("messageBox.close"),
2952
2972
  class: "toast-close f-btn-icon f-bare",
2953
- onClick: w
2973
+ onClick: C
2954
2974
  }, [l("span", {
2955
2975
  class: "f-icon modal_close"
2956
2976
  }, null)]), g.value && l("section", {
@@ -2968,7 +2988,7 @@ const So = "https://json-schema.org/draft/2020-12/schema", To = "https://farris-
2968
2988
  class: "toast-msg",
2969
2989
  innerHTML: o.value.message,
2970
2990
  style: h.value
2971
- }, null), I.value && E()]), u.value && (o.value.buttons ? l("div", {
2991
+ }, null), F.value && E()]), u.value && (o.value.buttons ? l("div", {
2972
2992
  class: "toast-title-btns-wrapper d-flex"
2973
2993
  }, [l("h5", {
2974
2994
  class: "toast-title modal-tips-title only-toast-msg",
@@ -3035,8 +3055,8 @@ const at = /* @__PURE__ */ Be({
3035
3055
  props: Po,
3036
3056
  emits: ["close", "empty"],
3037
3057
  setup(e, t) {
3038
- var k;
3039
- const n = No(), o = `farris-notify-${(k = e.options) != null && k.type ? e.options.type : "info"}}`, i = y(() => ({
3058
+ var T;
3059
+ const n = No(), o = `farris-notify-${(T = e.options) != null && T.type ? e.options.type : "info"}}`, i = b(() => ({
3040
3060
  "farris-notify": !0,
3041
3061
  [o]: n
3042
3062
  })), s = {
@@ -3044,27 +3064,27 @@ const at = /* @__PURE__ */ Be({
3044
3064
  right: 12,
3045
3065
  top: 20,
3046
3066
  bottom: 12
3047
- }, u = r(), v = r(e.options), f = r(e.showCloseButton), g = y(() => e.position || "bottom-right"), C = y(() => e.timeout != null ? e.timeout : 3e3), I = y(() => {
3048
- const S = e.bottom ? e.bottom : s.bottom, E = e.top ? e.top : s.top, p = {
3067
+ }, u = r(), m = r(e.options), f = r(e.showCloseButton), g = b(() => e.position || "bottom-right"), p = b(() => e.timeout != null ? e.timeout : 3e3), F = b(() => {
3068
+ const S = e.bottom ? e.bottom : s.bottom, E = e.top ? e.top : s.top, y = {
3049
3069
  transition: "all 0.2s ease",
3050
3070
  left: g.value.indexOf("left") > -1 ? `${e.left ? e.left : s.left}px` : "",
3051
3071
  right: g.value.indexOf("right") > -1 ? `${e.right ? e.right : s.right}px` : "",
3052
3072
  top: g.value.indexOf("top") > -1 ? `${E}px` : "",
3053
3073
  bottom: g.value.indexOf("bottom") > -1 ? `${S}px` : ""
3054
3074
  };
3055
- return g.value.indexOf("center") > -1 && (p.left = "50%", p.marginLeft = "calc(-24rem / 2)", g.value === "center-center" && (p.top = "50%", p.transform = "translate(-50%, -50%)")), p;
3075
+ return g.value.indexOf("center") > -1 && (y.left = "50%", y.marginLeft = "calc(-24rem / 2)", g.value === "center-center" && (y.top = "50%", y.transform = "translate(-50%, -50%)")), y;
3056
3076
  });
3057
3077
  function h(S) {
3058
3078
  t.emit("close");
3059
3079
  }
3060
- C.value && setTimeout(() => {
3080
+ p.value && setTimeout(() => {
3061
3081
  h();
3062
- }, C.value), t.expose({
3082
+ }, p.value), t.expose({
3063
3083
  closeToast: h,
3064
3084
  container: u,
3065
3085
  notifyPosition: g
3066
3086
  });
3067
- function w(S, E) {
3087
+ function C(S, E) {
3068
3088
  h();
3069
3089
  }
3070
3090
  return () => {
@@ -3074,21 +3094,21 @@ const at = /* @__PURE__ */ Be({
3074
3094
  ref: u
3075
3095
  }, [(S = e.options) == null ? void 0 : S.message]) : l("div", {
3076
3096
  class: i.value,
3077
- style: I.value,
3097
+ style: F.value,
3078
3098
  ref: u
3079
3099
  }, [l(ct, {
3080
- options: v.value,
3100
+ options: m.value,
3081
3101
  showCloseButton: f.value,
3082
3102
  animate: e.animate,
3083
- onClose: (E) => w(E, v.value)
3103
+ onClose: (E) => C(E, m.value)
3084
3104
  }, null)]);
3085
3105
  };
3086
3106
  }
3087
3107
  });
3088
3108
  class Vo {
3089
3109
  constructor() {
3090
- me(this, "notifyRefs", []);
3091
- me(this, "globalConfig", ge({}));
3110
+ ge(this, "notifyRefs", []);
3111
+ ge(this, "globalConfig", ve({}));
3092
3112
  }
3093
3113
  escapeAllHtml(t) {
3094
3114
  if (typeof t != "string" || !t)
@@ -3110,16 +3130,16 @@ class Vo {
3110
3130
  setup() {
3111
3131
  var f;
3112
3132
  const u = r();
3113
- function v() {
3133
+ function m() {
3114
3134
  u.value.container.style.transform = "scale(0)", setTimeout(() => {
3115
3135
  n.updateNotifyPositionForClose(o, u), s.unmount();
3116
3136
  }, 220);
3117
3137
  }
3118
3138
  if (o.position.indexOf("top") > -1) {
3119
- const g = n.getNotifyInstances(o.position), C = g[g.length - 1];
3120
- if (C) {
3121
- const I = C.value.container.getBoundingClientRect();
3122
- o.top = I.bottom;
3139
+ const g = n.getNotifyInstances(o.position), p = g[g.length - 1];
3140
+ if (p) {
3141
+ const F = p.value.container.getBoundingClientRect();
3142
+ o.top = F.bottom;
3123
3143
  }
3124
3144
  }
3125
3145
  return o.safeHtml && ((f = o.options) != null && f.message) && (o.options.message = n.escapeAllHtml(o.options.message)), Qe(() => {
@@ -3134,7 +3154,7 @@ class Vo {
3134
3154
  default: () => [l(at, ot({
3135
3155
  ref: u
3136
3156
  }, o, {
3137
- onClose: v
3157
+ onClose: m
3138
3158
  }), null)]
3139
3159
  });
3140
3160
  }
@@ -3221,11 +3241,11 @@ const rt = /* @__PURE__ */ Be({
3221
3241
  props: Nt,
3222
3242
  emits: ["submitModal", "update:modelValue"],
3223
3243
  setup(e, t) {
3224
- const n = '<i class="f-icon f-icon-lookup"></i>', a = r(), o = r(e.modelValue || {}), i = r([]), s = r(e.fromData.dataSource || []), u = r([]), v = e.fromData.repositoryToken ? tt(e.fromData.repositoryToken) : null, f = e.toData.repositoryToken ? tt(e.toData.repositoryToken) : null, g = tt(Vt), C = (T) => ((T.raw.$type !== "SimpleField" || T.raw.selectable === !1) && (T.disabled = !0), T), I = y(() => dt(s.value)), h = y(() => dt(u.value)), w = (T, d, B, D) => {
3244
+ const n = '<i class="f-icon f-icon-lookup"></i>', a = r(), o = r(e.modelValue || {}), i = r([]), s = r(e.fromData.dataSource || []), u = r([]), m = e.fromData.repositoryToken ? tt(e.fromData.repositoryToken) : null, f = e.toData.repositoryToken ? tt(e.toData.repositoryToken) : null, g = tt(Vt), p = (M) => ((M.raw.$type !== "SimpleField" || M.raw.selectable === !1) && (M.disabled = !0), M), F = b(() => dt(s.value)), h = b(() => dt(u.value)), C = (M, d, B, D) => {
3225
3245
  var q, te;
3226
- const R = ((q = T.value.find((ue) => ue[D] === d)) == null ? void 0 : q[B || "name"]) || "", W = ((te = T.value.find((ue) => ue[D] === d)) == null ? void 0 : te[D || "code"]) || "";
3246
+ const R = ((q = M.value.find((ue) => ue[D] === d)) == null ? void 0 : q[B || "name"]) || "", W = ((te = M.value.find((ue) => ue[D] === d)) == null ? void 0 : te[D || "code"]) || "";
3227
3247
  return R && W ? `${R}[${W}]` : "";
3228
- }, k = [{
3248
+ }, T = [{
3229
3249
  field: "sourceField",
3230
3250
  title: "数据源字段",
3231
3251
  dataType: "string",
@@ -3239,10 +3259,10 @@ const rt = /* @__PURE__ */ Be({
3239
3259
  editorParams: e.fromData.editorParams,
3240
3260
  editable: e.fromData.editable || !1,
3241
3261
  searchFields: e.fromData.searchFields || [],
3242
- customRowStatus: C,
3262
+ customRowStatus: p,
3243
3263
  displayFormatter: e.fromData.displayFormatter
3244
3264
  },
3245
- formatter: (T, d) => w(I, d.raw.sourceField, e.fromData.textField, e.fromData.valueField)
3265
+ formatter: (M, d) => C(F, d.raw.sourceField, e.fromData.textField, e.fromData.valueField)
3246
3266
  }, {
3247
3267
  field: "targetField",
3248
3268
  title: "目标字段",
@@ -3259,25 +3279,25 @@ const rt = /* @__PURE__ */ Be({
3259
3279
  enableSearch: !0,
3260
3280
  editable: !1,
3261
3281
  searchFields: e.toData.searchFields || [],
3262
- customRowStatus: C,
3282
+ customRowStatus: p,
3263
3283
  displayFormatter: e.toData.displayFormatter
3264
3284
  },
3265
- formatter: (T, d) => d.raw.targetField ? (d.raw.targetField.indexOf(",") > -1 ? d.raw.targetField.split(",") : [d.raw.targetField]).map((D) => w(h, D, e.toData.textField, e.toData.valueField)).join(",") : ""
3285
+ formatter: (M, d) => d.raw.targetField ? (d.raw.targetField.indexOf(",") > -1 ? d.raw.targetField.split(",") : [d.raw.targetField]).map((D) => C(h, D, e.toData.textField, e.toData.valueField)).join(",") : ""
3266
3286
  }];
3267
3287
  function S() {
3268
3288
  return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
3269
3289
  }
3270
3290
  function E() {
3271
- let T = o.value || {};
3272
- return typeof T == "string" && (T = JSON.parse(T)), Object.keys(T).map((d) => ({
3291
+ let M = o.value || {};
3292
+ return typeof M == "string" && (M = JSON.parse(M)), Object.keys(M).map((d) => ({
3273
3293
  id: S(),
3274
3294
  sourceField: d,
3275
- targetField: T[d]
3295
+ targetField: M[d]
3276
3296
  }));
3277
3297
  }
3278
- const p = r(E()), V = y(() => {
3279
- var T;
3280
- return `共 ${((T = p.value) == null ? void 0 : T.length) || 0} 项`;
3298
+ const y = r(E()), V = b(() => {
3299
+ var M;
3300
+ return `共 ${((M = y.value) == null ? void 0 : M.length) || 0} 项`;
3281
3301
  });
3282
3302
  function A() {
3283
3303
  a.value.endEditCell(), a.value.addNewDataItemAtLast();
@@ -3295,32 +3315,32 @@ const rt = /* @__PURE__ */ Be({
3295
3315
  return;
3296
3316
  }
3297
3317
  a.value.endEditCell();
3298
- const T = p.value.findIndex((W) => W.id === i.value[0].id);
3299
- if (T === -1)
3318
+ const M = y.value.findIndex((W) => W.id === i.value[0].id);
3319
+ if (M === -1)
3300
3320
  return;
3301
3321
  const d = i.value[0].id;
3302
- if (a.value.removeDataItemById(d), i.value = [], !p.value.length)
3322
+ if (a.value.removeDataItemById(d), i.value = [], !y.value.length)
3303
3323
  return;
3304
- const B = Math.min(T, p.value.length - 1), D = p.value[B], R = D == null ? void 0 : D.id;
3324
+ const B = Math.min(M, y.value.length - 1), D = y.value[B], R = D == null ? void 0 : D.id;
3305
3325
  R && (a.value.selectItemById(R), i.value = [D]);
3306
3326
  }
3307
- function b() {
3327
+ function w() {
3308
3328
  Ze.question("确定要清空所有映射字段吗?", "", () => {
3309
- i.value = [], o.value = {}, p.value = [], a.value.updateDataSource(p.value);
3329
+ i.value = [], o.value = {}, y.value = [], a.value.updateDataSource(y.value);
3310
3330
  }, () => {
3311
3331
  });
3312
3332
  }
3313
- function F() {
3314
- const T = {};
3315
- return p.value.forEach((d) => {
3316
- d.sourceField && d.targetField && (T[d.sourceField] = d.targetField);
3317
- }), T;
3333
+ function O() {
3334
+ const M = {};
3335
+ return y.value.forEach((d) => {
3336
+ d.sourceField && d.targetField && (M[d.sourceField] = d.targetField);
3337
+ }), M;
3318
3338
  }
3319
- Q(() => e.modelValue, (T) => {
3320
- o.value = T, p.value = E();
3339
+ Q(() => e.modelValue, (M) => {
3340
+ o.value = M, y.value = E();
3321
3341
  });
3322
3342
  function G() {
3323
- return p.value.filter((d) => !d.sourceField || !d.targetField).length;
3343
+ return y.value.filter((d) => !d.sourceField || !d.targetField).length;
3324
3344
  }
3325
3345
  const K = {
3326
3346
  title: e.title,
@@ -3334,26 +3354,26 @@ const rt = /* @__PURE__ */ Be({
3334
3354
  name: "cancel",
3335
3355
  text: "取消",
3336
3356
  class: "btn btn-secondary",
3337
- handle: (T) => !0
3357
+ handle: (M) => !0
3338
3358
  }, {
3339
3359
  name: "accept",
3340
3360
  text: "确定",
3341
3361
  class: "btn btn-primary",
3342
- handle: (T) => {
3362
+ handle: (M) => {
3343
3363
  if (a.value.endEditCell(), G())
3344
3364
  return g.warning("请将映射字段填写完整!"), !1;
3345
- const d = F();
3365
+ const d = O();
3346
3366
  return o.value = d, t.emit("submitModal", d), t.emit("update:modelValue", d), e.onMappingFieldsChanged && typeof e.onMappingFieldsChanged == "function" && e.onMappingFieldsChanged(JSON.stringify(d)), !0;
3347
3367
  }
3348
3368
  }],
3349
3369
  resizeable: !0,
3350
3370
  draggable: !0,
3351
- closedCallback: (T, d) => {
3352
- (T.target.name === "cancel" || d === "icon" || d === "esc") && (o.value = e.modelValue, p.value = E(), i.value = []);
3371
+ closedCallback: (M, d) => {
3372
+ (M.target.name === "cancel" || d === "icon" || d === "esc") && (o.value = e.modelValue, y.value = E(), i.value = []);
3353
3373
  }
3354
3374
  };
3355
- function O(T) {
3356
- i.value = T;
3375
+ function I(M) {
3376
+ i.value = M;
3357
3377
  }
3358
3378
  function $() {
3359
3379
  var R, W;
@@ -3361,8 +3381,8 @@ const rt = /* @__PURE__ */ Be({
3361
3381
  const q = e.beforeOpen({
3362
3382
  fromDataSource: s,
3363
3383
  toDataSource: u,
3364
- gridColumns: k,
3365
- repository: v
3384
+ gridColumns: T,
3385
+ repository: m
3366
3386
  });
3367
3387
  if (typeof q == "boolean")
3368
3388
  return q;
@@ -3377,34 +3397,34 @@ const rt = /* @__PURE__ */ Be({
3377
3397
  message: "请先配置数据源!",
3378
3398
  position: "top-center"
3379
3399
  }), !1;
3380
- const d = [], B = v ? v.getData(e.editorParams) : Promise.resolve(s.value);
3400
+ const d = [], B = m ? m.getData(e.editorParams) : Promise.resolve(s.value);
3381
3401
  d.push(B), typeof e.toData.dataSource == "function" ? u.value = e.toData.dataSource() : u.value = e.toData.dataSource;
3382
3402
  const D = f ? f.getData(e.editorParams) : Promise.resolve(u.value);
3383
- return d.push(D), Promise.all(d).then(([q, te]) => (s.value = q, u.value = te, k[0].editor.data = q, k[1].editor.data = te, !0));
3403
+ return d.push(D), Promise.all(d).then(([q, te]) => (s.value = q, u.value = te, T[0].editor.data = q, T[1].editor.data = te, !0));
3384
3404
  }
3385
- function le(T, d) {
3386
- T.forEach((B) => {
3405
+ function le(M, d) {
3406
+ M.forEach((B) => {
3387
3407
  B.selectable = !d.includes(B.data.bindingPath), B.children && le(B.children, d);
3388
3408
  });
3389
3409
  }
3390
- function J(T) {
3410
+ function J(M) {
3391
3411
  const {
3392
3412
  column: d,
3393
3413
  rawData: B
3394
- } = T, {
3414
+ } = M, {
3395
3415
  field: D,
3396
3416
  editor: R
3397
3417
  } = d;
3398
3418
  if (D === "sourceField" && R) {
3399
- const W = p.value.filter((q) => q.sourceField !== B.sourceField).map((q) => q.sourceField);
3419
+ const W = y.value.filter((q) => q.sourceField !== B.sourceField).map((q) => q.sourceField);
3400
3420
  le(s.value, W), R.data = Ot(s.value);
3401
3421
  }
3402
3422
  return !0;
3403
3423
  }
3404
- const ie = y(() => i.value.length > 0), z = y(() => p.value.length > 0);
3424
+ const ie = b(() => i.value.length > 0), z = b(() => y.value.length > 0);
3405
3425
  return () => l(Ht, {
3406
3426
  modelValue: V.value,
3407
- "onUpdate:modelValue": (T) => V.value = T,
3427
+ "onUpdate:modelValue": (M) => V.value = M,
3408
3428
  editable: !1,
3409
3429
  disabled: e.disabled,
3410
3430
  readonly: e.readonly,
@@ -3429,7 +3449,7 @@ const rt = /* @__PURE__ */ Be({
3429
3449
  }, [xe("删除")]), l("button", {
3430
3450
  class: "btn btn-secondary ml-3",
3431
3451
  disabled: !z.value,
3432
- onClick: b
3452
+ onClick: w
3433
3453
  }, [xe("清空")])]), l("div", {
3434
3454
  class: " f-utils-fill p-2"
3435
3455
  }, [l(jt, {
@@ -3450,10 +3470,10 @@ const rt = /* @__PURE__ */ Be({
3450
3470
  showBorder: !0,
3451
3471
  editable: "true",
3452
3472
  fit: !0,
3453
- columns: k,
3454
- data: p.value,
3473
+ columns: T,
3474
+ data: y.value,
3455
3475
  newDataItem: x,
3456
- onSelectionChange: O,
3476
+ onSelectionChange: I,
3457
3477
  beforeEditCell: J
3458
3478
  }, null)])])]
3459
3479
  });