@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,9 +1,9 @@
1
1
  var fn = Object.defineProperty;
2
2
  var yn = (e, t, n) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Q = (e, t, n) => yn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as q, ref as d, computed as B, createVNode as i, Teleport as st, createApp as He, onUnmounted as Be, Fragment as ce, watch as z, nextTick as ue, onBeforeMount as mn, onMounted as J, watchEffect as pn, Transition as rt, shallowRef as vn, render as Re, h as hn, cloneVNode as gn, mergeProps as he, inject as _, withDirectives as ut, vShow as bn, onUpdated as $e, onBeforeUnmount as ct, createTextVNode as G, provide as dt, vModelText as xn, reactive as ae } from "vue";
3
+ var ee = (e, t, n) => yn(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { defineComponent as q, ref as c, computed as B, createVNode as i, Teleport as st, createApp as He, onUnmounted as Be, Fragment as ce, watch as z, nextTick as ue, onBeforeMount as mn, onMounted as J, watchEffect as pn, Transition as rt, shallowRef as vn, render as Re, h as hn, cloneVNode as gn, mergeProps as he, inject as _, withDirectives as ut, vShow as bn, onUpdated as $e, onBeforeUnmount as ct, createTextVNode as G, provide as dt, vModelText as xn, reactive as te } from "vue";
5
5
  import { createPropsResolver as ye, resolveAppearance as We, getPropsResolverGenerator as Cn } from "../dynamic-resolver/index.esm.js";
6
- import { LocaleService as Z } from "../locale/index.esm.js";
6
+ import { LocaleService as Q } from "../locale/index.esm.js";
7
7
  import { getMaxZIndex as Qe, isMobilePhone as kn, useGuid as wn, FormSchemaEntityFieldType$Type as Fn, withInstall as qe, getCustomClass as Sn, getCustomStyle as Tn } from "../common/index.esm.js";
8
8
  import { cloneDeep as de, debounce as ft, isUndefined as Bn } from "lodash-es";
9
9
  import { InputBaseProperty as Mn } from "../property-panel/index.esm.js";
@@ -263,7 +263,7 @@ const jn = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-
263
263
  props: Un,
264
264
  emits: ["click"],
265
265
  setup(e, t) {
266
- const n = d(e.popupContentPosition), a = d(e.host), l = B(() => ({
266
+ const n = c(e.popupContentPosition), a = c(e.host), l = B(() => ({
267
267
  backgroundColor: e.backgroundColor || "",
268
268
  pointerEvents: "auto"
269
269
  }));
@@ -273,14 +273,14 @@ const jn = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-
273
273
  B(() => {
274
274
  const u = a.value;
275
275
  if (u) {
276
- const c = u.getBoundingClientRect(), {
277
- left: f,
278
- top: C,
279
- height: p
280
- } = c;
276
+ const d = u.getBoundingClientRect(), {
277
+ left: p,
278
+ top: x,
279
+ height: m
280
+ } = d;
281
281
  return {
282
- left: f,
283
- top: C + p
282
+ left: p,
283
+ top: x + m
284
284
  };
285
285
  }
286
286
  return n.value;
@@ -294,14 +294,14 @@ const jn = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-
294
294
  to: "body"
295
295
  }, {
296
296
  default: () => {
297
- var u, c;
297
+ var u, d;
298
298
  return [i("div", {
299
299
  class: "overlay-container",
300
- onClick: (f) => o(f),
300
+ onClick: (p) => o(p),
301
301
  style: l.value
302
302
  }, [i("div", {
303
303
  style: r.value
304
- }, [(c = (u = t.slots).default) == null ? void 0 : c.call(u)])])];
304
+ }, [(d = (u = t.slots).default) == null ? void 0 : d.call(u)])])];
305
305
  }
306
306
  });
307
307
  }
@@ -514,21 +514,21 @@ class re {
514
514
  }
515
515
  }
516
516
  function _n(e, t) {
517
- const n = d(), a = d(), l = d(), o = d(), r = d(), u = d(), c = d(), f = d(), C = d(), p = d(), m = d(), k = d(e.resizeable), x = d(), v = d(e.draggable), s = d(!1);
517
+ const n = c(), a = c(), l = c(), o = c(), r = c(), u = c(), d = c(), p = c(), x = c(), m = c(), f = c(), k = c(e.resizeable), C = c(), v = c(e.draggable), s = c(!1);
518
518
  function b() {
519
519
  const P = a.value || document.body, D = window.getComputedStyle(P);
520
520
  if (!D || !n.value)
521
521
  return;
522
522
  const H = X.getTransformInfo(n.value), W = {};
523
- c.value && (W.deltaL = n.value.offsetLeft - c.value.x, W.deltaT = n.value.offsetTop - c.value.y);
523
+ d.value && (W.deltaL = n.value.offsetLeft - d.value.x, W.deltaT = n.value.offsetTop - d.value.y);
524
524
  const U = D.getPropertyValue("position");
525
- W.width = P.clientWidth, W.height = P.clientHeight, W.pr = parseInt(D.getPropertyValue("padding-right"), 10), W.pb = parseInt(D.getPropertyValue("padding-bottom"), 10), W.position = D.getPropertyValue("position"), U === "static" && (P.style.position = "relative"), W.translateX = H.x, W.translateY = H.y, p.value = W;
525
+ W.width = P.clientWidth, W.height = P.clientHeight, W.pr = parseInt(D.getPropertyValue("padding-right"), 10), W.pb = parseInt(D.getPropertyValue("padding-bottom"), 10), W.position = D.getPropertyValue("position"), U === "static" && (P.style.position = "relative"), W.translateX = H.x, W.translateY = H.y, m.value = W;
526
526
  }
527
527
  function y(P) {
528
528
  if (n.value) {
529
- o.value = re.getCurrent(n.value), r.value = X.getCurrent(n.value), u.value = o.value ? re.copy(o.value) : null, c.value = r.value ? X.copy(r.value) : null, b();
529
+ o.value = re.getCurrent(n.value), r.value = X.getCurrent(n.value), u.value = o.value ? re.copy(o.value) : null, d.value = r.value ? X.copy(r.value) : null, b();
530
530
  const D = P.target.getAttribute("type") || "";
531
- f.value = {
531
+ p.value = {
532
532
  n: !!D.match(/n/),
533
533
  s: !!D.match(/s/),
534
534
  w: !!D.match(/w/),
@@ -540,31 +540,31 @@ function _n(e, t) {
540
540
  var P, D, H, W;
541
541
  if (n.value) {
542
542
  const U = n.value;
543
- f.value && ((f.value.n || f.value.s) && ((P = u.value) != null && P.height) && (U.style.height = u.value.height + "px"), (f.value.w || f.value.e) && ((D = u.value) != null && D.width) && (U.style.width = u.value.width + "px"), c.value && ((H = c.value) != null && H.x && (U.style.left = c.value.x + "px"), (W = c.value) != null && W.y && (U.style.top = c.value.y + "px")));
543
+ p.value && ((p.value.n || p.value.s) && ((P = u.value) != null && P.height) && (U.style.height = u.value.height + "px"), (p.value.w || p.value.e) && ((D = u.value) != null && D.width) && (U.style.width = u.value.width + "px"), d.value && ((H = d.value) != null && H.x && (U.style.left = d.value.x + "px"), (W = d.value) != null && W.y && (U.style.top = d.value.y + "px")));
544
544
  }
545
545
  }
546
546
  function S() {
547
547
  const P = e.minHeight ? e.minHeight : 1, D = e.minWidth ? e.minWidth : 1;
548
- u.value && c.value && f.value && o.value && (u.value.height < P && (u.value.height = P, f.value.n && r.value && (c.value.y = r.value.y + (o.value.height - P))), u.value.width < D && (u.value.width = D, f.value.w && r.value && (c.value.x = r.value.x + (o.value.width - D))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, r.value && f.value.n && (c.value.y = r.value.y + (o.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, f.value.w && r.value && (c.value.x = r.value.x + (o.value.width - e.maxWidth))));
548
+ u.value && d.value && p.value && o.value && (u.value.height < P && (u.value.height = P, p.value.n && r.value && (d.value.y = r.value.y + (o.value.height - P))), u.value.width < D && (u.value.width = D, p.value.w && r.value && (d.value.x = r.value.x + (o.value.width - D))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, r.value && p.value.n && (d.value.y = r.value.y + (o.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, p.value.w && r.value && (d.value.x = r.value.x + (o.value.width - e.maxWidth))));
549
549
  }
550
550
  function h() {
551
551
  if (a.value) {
552
- const P = p.value;
553
- if (c.value && u.value && f.value && o.value) {
554
- const D = P.width - P.pr - P.deltaL - P.translateX - c.value.x, H = P.height - P.pb - P.deltaT - P.translateY - c.value.y;
555
- f.value.n && c.value.y + P.translateY < 0 && r.value && (c.value.y = -P.translateY, u.value.height = o.value.height + r.value.y + P.translateY), f.value.w && c.value.x + P.translateX < 0 && r.value && (c.value.x = -P.translateX, u.value.width = o.value.width + r.value.x + P.translateX), u.value.width > D && (u.value.width = D), u.value.height > H && (u.value.height = H);
552
+ const P = m.value;
553
+ if (d.value && u.value && p.value && o.value) {
554
+ const D = P.width - P.pr - P.deltaL - P.translateX - d.value.x, H = P.height - P.pb - P.deltaT - P.translateY - d.value.y;
555
+ p.value.n && d.value.y + P.translateY < 0 && r.value && (d.value.y = -P.translateY, u.value.height = o.value.height + r.value.y + P.translateY), p.value.w && d.value.x + P.translateX < 0 && r.value && (d.value.x = -P.translateX, u.value.width = o.value.width + r.value.x + P.translateX), u.value.width > D && (u.value.width = D), u.value.height > H && (u.value.height = H);
556
556
  }
557
557
  }
558
558
  }
559
559
  function g(P) {
560
- if (!l.value || !o.value || !r.value || !f.value)
560
+ if (!l.value || !o.value || !r.value || !p.value)
561
561
  return;
562
562
  P.subtract(l.value);
563
563
  const D = P.x, H = P.y;
564
- f.value.n ? (c.value.y = r.value.y + H, u.value.height = o.value.height - H) : f.value.s && (u.value.height = o.value.height + H), f.value.e ? u.value.width = o.value.width + D : f.value.w && (u.value.width = o.value.width - D, c.value.x = r.value.x + D), h(), S(), F();
564
+ p.value.n ? (d.value.y = r.value.y + H, u.value.height = o.value.height - H) : p.value.s && (u.value.height = o.value.height + H), p.value.e ? u.value.width = o.value.width + D : p.value.w && (u.value.width = o.value.width - D, d.value.x = r.value.x + D), h(), S(), F();
565
565
  }
566
566
  function w(P) {
567
- if (!C.value)
567
+ if (!x.value)
568
568
  return;
569
569
  const D = X.fromEvent(P);
570
570
  D && g(D);
@@ -593,15 +593,15 @@ function _n(e, t) {
593
593
  function L(P) {
594
594
  if (n.value) {
595
595
  const D = O();
596
- m.value = D;
596
+ f.value = D;
597
597
  }
598
- l.value = void 0, o.value = null, r.value = null, u.value = null, c.value = null, f.value = null, C.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", L);
598
+ l.value = void 0, o.value = null, r.value = null, u.value = null, d.value = null, p.value = null, x.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", L);
599
599
  }
600
600
  function V() {
601
601
  document.addEventListener("mousemove", w), document.addEventListener("mouseup", L);
602
602
  }
603
603
  function I(P) {
604
- P instanceof MouseEvent && P.button === 2 || v.value && (document.body.click(), P.stopPropagation(), P.preventDefault(), l.value = X.fromEvent(P), C.value = P.target, y(P), V());
604
+ P instanceof MouseEvent && P.button === 2 || v.value && (document.body.click(), P.stopPropagation(), P.preventDefault(), l.value = X.fromEvent(P), x.value = P.target, y(P), V());
605
605
  }
606
606
  function E(P) {
607
607
  return n.value = P, k.value && i(ce, null, [i("div", {
@@ -641,7 +641,7 @@ function _n(e, t) {
641
641
  function T(P = !0) {
642
642
  document.body.click();
643
643
  const D = a.value || document.body, H = re.getCurrent(D), W = n.value;
644
- P && W && (x.value = O(), x.value.transform = W.style.transform), H && W && (u.value = H, u.value.height -= 14, u.value.width -= 14, W.style.height = u.value.height + "px", W.style.width = u.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", m.value = {
644
+ P && W && (C.value = O(), C.value.transform = W.style.transform), H && W && (u.value = H, u.value.height -= 14, u.value.width -= 14, W.style.height = u.value.height + "px", W.style.width = u.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", f.value = {
645
645
  size: u.value,
646
646
  position: {
647
647
  x: 0,
@@ -651,17 +651,17 @@ function _n(e, t) {
651
651
  }
652
652
  function N() {
653
653
  var P, D;
654
- if (document.body.click(), x.value) {
654
+ if (document.body.click(), C.value) {
655
655
  const H = {
656
- width: x.value.size.width || 0,
657
- height: x.value.size.height || 0
656
+ width: C.value.size.width || 0,
657
+ height: C.value.size.height || 0
658
658
  }, W = {
659
659
  x: (window.innerWidth - H.width) / 2,
660
660
  y: (window.innerHeight - H.height) / 2
661
661
  };
662
- (P = u.value) == null || P.set(H), (D = c.value) == null || D.set(W);
662
+ (P = u.value) == null || P.set(H), (D = d.value) == null || D.set(W);
663
663
  const U = n.value;
664
- U.style.height = H.height + "px", U.style.width = H.width + "px", U.style.left = `${W.x}px`, U.style.top = `${W.y}px`, U.style.transform = "", m.value = {
664
+ U.style.height = H.height + "px", U.style.width = H.width + "px", U.style.left = `${W.x}px`, U.style.top = `${W.y}px`, U.style.transform = "", f.value = {
665
665
  size: H,
666
666
  position: W
667
667
  }, v.value = e.draggable, s.value = !1;
@@ -691,7 +691,7 @@ function _n(e, t) {
691
691
  return {
692
692
  renderResizeBar: E,
693
693
  boundingElement: a,
694
- resizedEventParam: m,
694
+ resizedEventParam: f,
695
695
  maximize: T,
696
696
  restore: N,
697
697
  allowDrag: v,
@@ -701,7 +701,7 @@ function _n(e, t) {
701
701
  };
702
702
  }
703
703
  function Zn(e, t, n) {
704
- const a = d(), l = d(e.draggable), o = d(e.lockAxis), r = d(), u = d(), c = d(!1), f = d(new X(0, 0)), C = d(new X(0, 0)), p = d(new X(0, 0)), m = d(new X(0, 0));
704
+ const a = c(), l = c(e.draggable), o = c(e.lockAxis), r = c(), u = c(), d = c(!1), p = c(new X(0, 0)), x = c(new X(0, 0)), m = c(new X(0, 0)), f = c(new X(0, 0));
705
705
  z(() => n.value, (w) => {
706
706
  r.value.style.cursor = w ? "move" : "default";
707
707
  });
@@ -715,12 +715,12 @@ function Zn(e, t, n) {
715
715
  return !0;
716
716
  return !1;
717
717
  }
718
- function x() {
718
+ function C() {
719
719
  var V, I;
720
- let w = p.value.x + C.value.x, O = p.value.y + C.value.y;
721
- o.value === "x" ? (w = ((V = f.value) == null ? void 0 : V.x) || 0, p.value.x = 0) : o.value === "y" && (O = ((I = f.value) == null ? void 0 : I.y) || 0, p.value.y = 0);
720
+ let w = m.value.x + x.value.x, O = m.value.y + x.value.y;
721
+ o.value === "x" ? (w = ((V = p.value) == null ? void 0 : V.x) || 0, m.value.x = 0) : o.value === "y" && (O = ((I = p.value) == null ? void 0 : I.y) || 0, m.value.y = 0);
722
722
  const L = `translate3d(${Math.round(w)}px, ${Math.round(O)}px, 0px)`;
723
- a.value && (a.value.style.transform = L), m.value.x = w, m.value.y = O;
723
+ a.value && (a.value.style.transform = L), f.value.x = w, f.value.y = O;
724
724
  }
725
725
  function v() {
726
726
  if (!u.value || !a.value)
@@ -731,34 +731,34 @@ function Zn(e, t, n) {
731
731
  bottom: w.bottom > O.bottom,
732
732
  left: w.left < O.left
733
733
  };
734
- return L.top || (p.value.y -= O.top - w.top), L.bottom || (p.value.y -= O.bottom - w.bottom), L.right || (p.value.x -= O.right - w.right), L.left || (p.value.x -= O.left - w.left), x(), L;
734
+ return L.top || (m.value.y -= O.top - w.top), L.bottom || (m.value.y -= O.bottom - w.bottom), L.right || (m.value.x -= O.right - w.right), L.left || (m.value.x -= O.left - w.left), C(), L;
735
735
  }
736
736
  function s(w) {
737
- w && (f.value && w.subtract(f.value), p.value.set(w), x(), v());
737
+ w && (p.value && w.subtract(p.value), m.value.set(w), C(), v());
738
738
  }
739
739
  function b(w) {
740
- c.value && l.value && (w.stopPropagation(), w.preventDefault(), s(X.fromEvent(w, r.value)));
740
+ d.value && l.value && (w.stopPropagation(), w.preventDefault(), s(X.fromEvent(w, r.value)));
741
741
  }
742
742
  function y() {
743
743
  var w;
744
- c.value && (c.value = !1, C.value.add(p.value), p.value.reset(), (w = a.value) == null || w.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", y));
744
+ d.value && (d.value = !1, x.value.add(m.value), m.value.reset(), (w = a.value) == null || w.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", y));
745
745
  }
746
746
  function F() {
747
- !c.value && r.value && (c.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", b), document.addEventListener("mouseup", y));
747
+ !d.value && r.value && (d.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", b), document.addEventListener("mouseup", y));
748
748
  }
749
749
  function S() {
750
750
  if (a.value) {
751
751
  const w = X.getTransformInfo(a.value);
752
- C.value.set(w);
752
+ x.value.set(w);
753
753
  return;
754
754
  }
755
- C.value.reset();
755
+ x.value.reset();
756
756
  }
757
757
  function h(w) {
758
758
  if (!n.value || w instanceof MouseEvent && w.button === 2)
759
759
  return;
760
760
  const O = w.target || w.srcElement;
761
- r.value !== void 0 && O && !k(O, r.value) || l.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), f.value = X.fromEvent(w, a.value), S(), F());
761
+ r.value !== void 0 && O && !k(O, r.value) || l.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), p.value = X.fromEvent(w, a.value), S(), F());
762
762
  }
763
763
  function g(w, O, L) {
764
764
  if (l.value && O) {
@@ -791,7 +791,7 @@ function ht(e, t) {
791
791
  }
792
792
  }
793
793
  function Qn(e, t) {
794
- const n = d(e.enableEsc);
794
+ const n = c(e.enableEsc);
795
795
  let a = null;
796
796
  return n.value ? (a = ht("Escape", (l) => {
797
797
  t.emit("esc", { event: l.event, type: "esc" });
@@ -800,7 +800,7 @@ function Qn(e, t) {
800
800
  }) : null;
801
801
  }
802
802
  function ea(e, t) {
803
- const n = d(e.enableEnter);
803
+ const n = c(e.enableEnter);
804
804
  let a = null;
805
805
  return n.value ? (a = ht("Enter", (l) => {
806
806
  t.emit("enter", { event: l.event, type: "enter" });
@@ -813,9 +813,9 @@ const be = /* @__PURE__ */ q({
813
813
  props: Jn,
814
814
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
815
815
  setup(e, t) {
816
- const n = d(e.width || 300), a = d(e.height || 200), l = d(e.modelValue), o = d(""), r = d(e.class), u = d(e.fitContent), c = d(e.showHeader), f = d(""), C = d(e.showCloseButton), p = d(e.showMaxButton), m = d(!1), k = d(e.dialogType), x = d(e.src), v = d(""), s = d(e.showButtons), b = d(e.title), y = d(e.containment || null), F = d();
817
- b.value === "错误提示" && (b.value = Z.getLocaleValue("messageBox.errorTitle"));
818
- const S = d(!1);
816
+ const n = c(e.width || 300), a = c(e.height || 200), l = c(e.modelValue), o = c(""), r = c(e.class), u = c(e.fitContent), d = c(e.showHeader), p = c(""), x = c(e.showCloseButton), m = c(e.showMaxButton), f = c(!1), k = c(e.dialogType), C = c(e.src), v = c(""), s = c(e.showButtons), b = c(e.title), y = c(e.containment || null), F = c();
817
+ b.value === "错误提示" && (b.value = Q.getLocaleValue("messageBox.errorTitle"));
818
+ const S = c(!1);
819
819
  function h(M, A) {
820
820
  const K = A ? "accept" : "cancel";
821
821
  Promise.resolve().then(() => {
@@ -829,19 +829,19 @@ const be = /* @__PURE__ */ q({
829
829
  }
830
830
  const g = [{
831
831
  name: "cancel",
832
- text: Z.getLocaleValue("messageBox.cancel") || "取消",
832
+ text: Q.getLocaleValue("messageBox.cancel") || "取消",
833
833
  class: "btn btn-secondary",
834
834
  handle: (M) => {
835
835
  h(M, !1);
836
836
  }
837
837
  }, {
838
838
  name: "accept",
839
- text: Z.getLocaleValue("messageBox.ok") || "确定",
839
+ text: Q.getLocaleValue("messageBox.ok") || "确定",
840
840
  class: "btn btn-primary",
841
841
  handle: (M) => {
842
842
  h(M, !0);
843
843
  }
844
- }], w = d(e.buttons && e.buttons.length ? e.buttons : g), O = B(() => !!f.value), L = B(() => !!s.value && !!w.value), V = d(), I = d(), E = d(!1), {
844
+ }], w = c(e.buttons && e.buttons.length ? e.buttons : g), O = B(() => !!p.value), L = B(() => !!s.value && !!w.value), V = c(), I = c(), E = c(!1), {
845
845
  renderResizeBar: T,
846
846
  maximize: N,
847
847
  restore: R,
@@ -867,7 +867,7 @@ const be = /* @__PURE__ */ q({
867
867
  I.value && !y.value && (y.value = I.value.parentElement, j.value = y.value, W(V.value, I.value, j.value), H());
868
868
  }), M || (y.value && (y.value = null), De())), l.value ? S.value = U() : (E.value = !1, P.value = e.draggable);
869
869
  }), z(() => e.showHeader, (M, A) => {
870
- M !== A && (c.value = M);
870
+ M !== A && (d.value = M);
871
871
  }), z(() => e.showButtons, (M, A) => {
872
872
  M !== A && (s.value = M);
873
873
  }), z(() => $.value, (M, A) => {
@@ -908,7 +908,7 @@ const be = /* @__PURE__ */ q({
908
908
  height: Y
909
909
  };
910
910
  return e.mask || (Ze.pointerEvents = "auto"), Ze;
911
- }), Je = d(Qe() || 1050), Gt = B(() => {
911
+ }), Je = c(Qe() || 1050), Gt = B(() => {
912
912
  const M = {
913
913
  display: "block",
914
914
  overflow: "hidden"
@@ -916,11 +916,11 @@ const be = /* @__PURE__ */ q({
916
916
  return e.mask || (M.pointerEvents = "none", M.backgroundColor = "transparent"), S.value && (M.backgroundColor = "transparent"), M.zIndex = Je.value, M;
917
917
  }), Xt = B(() => ({
918
918
  "modal-content": !0,
919
- "modal-content-has-header": c.value,
919
+ "modal-content-has-header": d.value,
920
920
  "is-mobile": Ut()
921
921
  })), Kt = B(() => {
922
922
  const M = {
923
- display: c.value ? "" : "none"
923
+ display: d.value ? "" : "none"
924
924
  };
925
925
  return M["pointer-events"] = P.value ? "auto" : "none", M;
926
926
  }), Jt = B(() => ({
@@ -984,17 +984,17 @@ const be = /* @__PURE__ */ q({
984
984
  }, null)])]);
985
985
  }
986
986
  function an() {
987
- return i("ul", null, [m.value && i("li", {
987
+ return i("ul", null, [f.value && i("li", {
988
988
  class: "f-btn-icon f-bare"
989
989
  }, [i("span", {
990
990
  class: "f-icon modal_minimize"
991
- }, null)]), p.value && i("li", {
991
+ }, null)]), m.value && i("li", {
992
992
  onClick: _e,
993
993
  class: "f-btn-icon f-bare",
994
994
  style: "pointer-events: auto;"
995
995
  }, [i("span", {
996
996
  class: Jt.value
997
- }, null)]), C.value && i("li", {
997
+ }, null)]), x.value && i("li", {
998
998
  class: "f-btn-icon f-bare",
999
999
  onClick: (M) => h(M, !1),
1000
1000
  style: "pointer-events: auto;"
@@ -1008,7 +1008,7 @@ const be = /* @__PURE__ */ q({
1008
1008
  style: Qt.value
1009
1009
  }, [w.value && w.value.map((M) => {
1010
1010
  var Y;
1011
- const A = d(M.disabled), K = M.class || ((Y = M.appearance) == null ? void 0 : Y.class);
1011
+ const A = c(M.disabled), K = M.class || ((Y = M.appearance) == null ? void 0 : Y.class);
1012
1012
  return i("button", {
1013
1013
  name: M.name,
1014
1014
  type: "button",
@@ -1030,7 +1030,7 @@ const be = /* @__PURE__ */ q({
1030
1030
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : i("div", {
1031
1031
  class: "modal-title"
1032
1032
  }, [O.value && i("span", {
1033
- class: f.value,
1033
+ class: p.value,
1034
1034
  style: "margin-right: 8px"
1035
1035
  }, null), i("span", {
1036
1036
  class: "modal-title-label"
@@ -1057,14 +1057,14 @@ const be = /* @__PURE__ */ q({
1057
1057
  ref: I
1058
1058
  }, [e.showFloatingClose && nn(), i("div", {
1059
1059
  class: Xt.value
1060
- }, [c.value && on(), i("div", {
1060
+ }, [d.value && on(), i("div", {
1061
1061
  class: _t.value
1062
1062
  }, [(A = (M = t.slots).default) == null ? void 0 : A.call(M), k.value === "iframe" && i("iframe", {
1063
1063
  title: o.value,
1064
1064
  class: "f-utils-fill",
1065
1065
  width: "100%",
1066
1066
  frameborder: "0",
1067
- src: x.value
1067
+ src: C.value
1068
1068
  }, null)]), sn()]), !u.value && I.value && !E.value && T(I.value)]);
1069
1069
  }
1070
1070
  function cn(M) {
@@ -1103,13 +1103,13 @@ function ta(e) {
1103
1103
  Be(() => {
1104
1104
  document.body.removeChild(t);
1105
1105
  });
1106
- const o = d(), r = d(e.class || ""), u = d(!!e.showButtons), c = d(!!e.showHeader), f = d(e.showCloseButton == null ? !0 : e.showCloseButton), C = d(!!e.showFloatingClose), p = d(!0), m = d(e.title || ""), k = e.acceptCallback || (() => {
1107
- }), x = e.rejectCallback || (() => {
1106
+ const o = c(), r = c(e.class || ""), u = c(!!e.showButtons), d = c(!!e.showHeader), p = c(e.showCloseButton == null ? !0 : e.showCloseButton), x = c(!!e.showFloatingClose), m = c(!0), f = c(e.title || ""), k = e.acceptCallback || (() => {
1107
+ }), C = e.rejectCallback || (() => {
1108
1108
  }), v = e.closedCallback || ((S) => {
1109
1109
  }), s = e.resizeHandle || ((S) => {
1110
1110
  }), b = e.stopMoveHandle || ((S) => {
1111
1111
  }), y = gt(e), F = (S) => {
1112
- p.value = !1, n.unmount(), v(S);
1112
+ m.value = !1, n.unmount(), v(S);
1113
1113
  };
1114
1114
  return J(() => {
1115
1115
  }), l.expose({
@@ -1117,19 +1117,19 @@ function ta(e) {
1117
1117
  }), () => i(be, {
1118
1118
  ref: o,
1119
1119
  class: r.value,
1120
- modelValue: p.value,
1121
- "onUpdate:modelValue": (S) => p.value = S,
1122
- title: m.value,
1120
+ modelValue: m.value,
1121
+ "onUpdate:modelValue": (S) => m.value = S,
1122
+ title: f.value,
1123
1123
  width: e.width,
1124
1124
  height: e.height,
1125
1125
  buttons: e.buttons,
1126
- "show-header": c.value,
1126
+ "show-header": d.value,
1127
1127
  "show-buttons": u.value,
1128
- "show-close-button": f.value,
1128
+ "show-close-button": p.value,
1129
1129
  "show-max-button": !1,
1130
- showFloatingClose: C.value,
1130
+ showFloatingClose: x.value,
1131
1131
  onAccept: k,
1132
- onCancel: x,
1132
+ onCancel: C,
1133
1133
  fitContent: e.fitContent == null ? !0 : e.fitContent,
1134
1134
  onClosed: F,
1135
1135
  onResize: s,
@@ -1139,16 +1139,16 @@ function ta(e) {
1139
1139
  });
1140
1140
  }
1141
1141
  });
1142
- return document.body.appendChild(t), n.use(Z.i18n), n.mount(t), n;
1142
+ return document.body.appendChild(t), n.use(Q.i18n), n.mount(t), n;
1143
1143
  }
1144
1144
  class bt {
1145
1145
  constructor(t) {
1146
- Q(this, "appContext", null);
1147
- Q(this, "modalRef", d());
1148
- Q(this, "activeModalIndex", d(0));
1149
- Q(this, "modalRefs", {});
1150
- Q(this, "isUseEscCloseModal", d(!1));
1151
- Q(this, "activeModalInstance", B(() => this.modalRefs[this.activeModalIndex.value]));
1146
+ ee(this, "appContext", null);
1147
+ ee(this, "modalRef", c());
1148
+ ee(this, "activeModalIndex", c(0));
1149
+ ee(this, "modalRefs", {});
1150
+ ee(this, "isUseEscCloseModal", c(!1));
1151
+ ee(this, "activeModalInstance", B(() => this.modalRefs[this.activeModalIndex.value]));
1152
1152
  this.app = t, this.appContext = t ? t._context : null;
1153
1153
  }
1154
1154
  getCurrentModal() {
@@ -1186,27 +1186,27 @@ class bt {
1186
1186
  title: "",
1187
1187
  showButtons: !0,
1188
1188
  showHeader: !0
1189
- }, t)), l = d(!0), o = a.value.acceptCallback || (() => {
1189
+ }, t)), l = c(!0), o = a.value.acceptCallback || (() => {
1190
1190
  }), r = a.value.rejectCallback || (() => {
1191
1191
  }), u = a.value.closedCallback || ((h, g) => {
1192
- }), c = a.value.resizeHandle || ((h) => {
1193
- }), f = t.stopMoveHandle || ((h) => {
1192
+ }), d = a.value.resizeHandle || ((h) => {
1193
+ }), p = t.stopMoveHandle || ((h) => {
1194
1194
  });
1195
- let C;
1196
- const p = gt(a.value), m = (h) => {
1195
+ let x;
1196
+ const m = gt(a.value), f = (h) => {
1197
1197
  var w;
1198
1198
  l.value = !1;
1199
1199
  const g = (w = h == null ? void 0 : h.target) == null ? void 0 : w.classList.contains("modal_close");
1200
1200
  u(h, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
1201
1201
  }, k = (h) => {
1202
- m(h), C && ue(() => {
1203
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Re(null, n), C = null, this.modalRef.value = null, this.modalRefs) {
1202
+ f(h), x && ue(() => {
1203
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Re(null, n), x = null, this.modalRef.value = null, this.modalRefs) {
1204
1204
  const g = Object.keys(this.modalRefs).map((w) => Number(w));
1205
1205
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
1206
1206
  }
1207
1207
  this.isUseEscCloseModal.value = !1;
1208
1208
  });
1209
- }, x = (h) => {
1209
+ }, C = (h) => {
1210
1210
  var g;
1211
1211
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(h == null ? void 0 : h.event));
1212
1212
  }, {
@@ -1223,13 +1223,13 @@ class bt {
1223
1223
  onAccept: o,
1224
1224
  onCancel: r,
1225
1225
  onClosed: k,
1226
- onResize: c,
1227
- onEsc: x,
1228
- onStopMove: f
1226
+ onResize: d,
1227
+ onEsc: C,
1228
+ onStopMove: p
1229
1229
  }), {
1230
- default: () => [p && p(this.app)]
1230
+ default: () => [m && m(this.app)]
1231
1231
  });
1232
- return C = ((h) => {
1232
+ return x = ((h) => {
1233
1233
  const g = hn(y, h);
1234
1234
  return g.appContext = this.appContext, Re(g, n), g;
1235
1235
  })({
@@ -1240,7 +1240,7 @@ class bt {
1240
1240
  a.value = {
1241
1241
  ...a.value,
1242
1242
  ...h
1243
- }, C && Re(gn(C, {
1243
+ }, x && Re(gn(x, {
1244
1244
  ...a
1245
1245
  }), n);
1246
1246
  },
@@ -1271,19 +1271,19 @@ function Ct(e, t) {
1271
1271
  return { judgeCanOpen: n };
1272
1272
  }
1273
1273
  function na(e, t, n, a, l) {
1274
- const o = d(e.buttonBehavior), r = d(e.popupOnInput), u = B(() => ({
1274
+ const o = c(e.buttonBehavior), r = c(e.popupOnInput), u = B(() => ({
1275
1275
  "input-group-append": !0,
1276
1276
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1277
- })), { judgeCanOpen: c } = Ct(e, l), f = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), C = _(xt, null), p = d();
1278
- async function m(v) {
1279
- if (await c() && f.value) {
1277
+ })), { judgeCanOpen: d } = Ct(e, l), p = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), x = _(xt, null), m = c();
1278
+ async function f(v) {
1279
+ if (await d() && p.value) {
1280
1280
  const s = !!t.slots.default;
1281
1281
  if (o.value === "Modal") {
1282
- const b = e.modalOptions, y = C == null ? void 0 : C.open({
1282
+ const b = e.modalOptions, y = x == null ? void 0 : x.open({
1283
1283
  ...b,
1284
1284
  render: () => t.slots.default && t.slots.default()
1285
1285
  });
1286
- p.value = y == null ? void 0 : y.modalRef;
1286
+ m.value = y == null ? void 0 : y.modalRef;
1287
1287
  }
1288
1288
  o.value === "Overlay" && Kn.show({
1289
1289
  // host: buttonEditRef.value,
@@ -1296,51 +1296,51 @@ function na(e, t, n, a, l) {
1296
1296
  function k(v) {
1297
1297
  t.emit("mouseEnterIcon", v);
1298
1298
  }
1299
- function x(v) {
1299
+ function C(v) {
1300
1300
  t.emit("mouseLeaveIcon", v);
1301
1301
  }
1302
1302
  return {
1303
1303
  buttonGroupClass: u,
1304
- onClickButton: m,
1304
+ onClickButton: f,
1305
1305
  onMouseEnterButton: k,
1306
- onMouseLeaveButton: x,
1307
- modalRef: p
1306
+ onMouseLeaveButton: C,
1307
+ modalRef: m
1308
1308
  };
1309
1309
  }
1310
1310
  function aa(e, t, n, a, l, o) {
1311
- const r = d(!1), u = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: c, hasClearClass: f } = o;
1312
- function C(x) {
1313
- r.value = x, f.value = x;
1311
+ const r = c(!1), u = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: d, hasClearClass: p } = o;
1312
+ function x(C) {
1313
+ r.value = C, p.value = C;
1314
1314
  }
1315
1315
  z(l, () => {
1316
- C(!!l.value);
1316
+ x(!!l.value);
1317
1317
  });
1318
- function p(x) {
1318
+ function m(C) {
1319
1319
  const v = !e.readonly && !e.disable && e.editable, s = !e.editable;
1320
- x.stopPropagation(), (v || s) && (c(""), l.value = "", C(!r.value), t.emit("clear"));
1320
+ C.stopPropagation(), (v || s) && (d(""), l.value = "", x(!r.value), t.emit("clear"));
1321
1321
  }
1322
- function m(x) {
1322
+ function f(C) {
1323
1323
  if (u.value) {
1324
1324
  if (!n.value) {
1325
- C(!1);
1325
+ x(!1);
1326
1326
  return;
1327
1327
  }
1328
- !e.disable && !e.readonly && C(!0);
1328
+ !e.disable && !e.readonly && x(!0);
1329
1329
  }
1330
1330
  }
1331
- function k(x) {
1332
- u.value && C(!1);
1331
+ function k(C) {
1332
+ u.value && x(!1);
1333
1333
  }
1334
1334
  return {
1335
1335
  enableClearButton: u,
1336
1336
  showClearButton: r,
1337
- onClearValue: p,
1338
- onMouseEnterTextBox: m,
1337
+ onClearValue: m,
1338
+ onMouseEnterTextBox: f,
1339
1339
  onMouseLeaveTextBox: k
1340
1340
  };
1341
1341
  }
1342
1342
  function la(e, t, n, a, l) {
1343
- const o = B(() => e.popupOnInput), r = B(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: c } = l, f = d(!1), C = B(() => e.enableTitle ? n.value : ""), p = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), m = B(() => e.readonly || !e.editable), k = d(!1), x = B(() => !e.disable && k.value), v = B(() => ({
1343
+ const o = B(() => e.popupOnInput), r = B(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: d } = l, p = c(!1), x = B(() => e.enableTitle ? n.value : ""), m = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = B(() => e.readonly || !e.editable), k = c(!1), C = B(() => !e.disable && k.value), v = B(() => ({
1344
1344
  "text-left": e.textAlign === "left",
1345
1345
  "text-center": e.textAlign === "center",
1346
1346
  "text-right": e.textAlign === "right",
@@ -1351,8 +1351,8 @@ function la(e, t, n, a, l) {
1351
1351
  "f-state-disabled": e.disable,
1352
1352
  "f-state-editable": e.editable && !e.disable && !e.readonly,
1353
1353
  "f-state-readonly": e.readonly,
1354
- "f-state-focus": x.value,
1355
- "input-group--has-clear": e.enableClear && f.value
1354
+ "f-state-focus": C.value,
1355
+ "input-group--has-clear": e.enableClear && p.value
1356
1356
  }));
1357
1357
  function b(I, E = !0) {
1358
1358
  n.value = I, E && (t.emit("change", I), t.emit("update:modelValue", I));
@@ -1370,10 +1370,10 @@ function la(e, t, n, a, l) {
1370
1370
  k.value = !1, t.emit("blur", I), I.stopPropagation();
1371
1371
  }
1372
1372
  function S(I) {
1373
- t.emit("click", I), c(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && l.togglePopup();
1373
+ t.emit("click", I), d(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && l.togglePopup();
1374
1374
  }
1375
1375
  function h(I) {
1376
- !e.disable && !e.readonly && (k.value = !0, m.value || (t.emit("focus", I), r.value && !u.value && l.popup()));
1376
+ !e.disable && !e.readonly && (k.value = !0, f.value || (t.emit("focus", I), r.value && !u.value && l.popup()));
1377
1377
  }
1378
1378
  function g(I) {
1379
1379
  t.emit("input", I);
@@ -1394,13 +1394,13 @@ function la(e, t, n, a, l) {
1394
1394
  I.stopPropagation(), b(E);
1395
1395
  }
1396
1396
  return {
1397
- hasFocusedTextBox: x,
1398
- isTextBoxReadonly: m,
1397
+ hasFocusedTextBox: C,
1398
+ isTextBoxReadonly: f,
1399
1399
  textBoxClass: v,
1400
- textBoxPlaceholder: p,
1401
- textBoxTitle: C,
1400
+ textBoxPlaceholder: m,
1401
+ textBoxTitle: x,
1402
1402
  inputGroupClass: s,
1403
- hasClearClass: f,
1403
+ hasClearClass: p,
1404
1404
  changeTextBoxValue: b,
1405
1405
  commitValue: y,
1406
1406
  onBlurTextBox: F,
@@ -1415,62 +1415,62 @@ function la(e, t, n, a, l) {
1415
1415
  }
1416
1416
  const se = "FarrisVue_PopoverInstancesKey";
1417
1417
  function oa(e, t, n, a) {
1418
- const l = d(), o = d(!1), { judgeCanOpen: r } = Ct(e, a);
1419
- z(() => l.value, (k, x) => {
1418
+ const l = c(), o = c(!1), { judgeCanOpen: r } = Ct(e, a);
1419
+ z(() => l.value, (k, C) => {
1420
1420
  window[se] = window[se] || /* @__PURE__ */ new WeakMap(), k ? window[se].set(n.value, k) : window[se].delete(n.value);
1421
1421
  });
1422
1422
  function u() {
1423
1423
  if (window[se]) {
1424
1424
  const k = window[se];
1425
- document.querySelectorAll(".f-button-edit,.v-popover").forEach((x) => {
1426
- const v = k.get(x);
1427
- v && x !== n.value && !n.value.closest(".popover-fitcontent") && v.hide();
1425
+ document.querySelectorAll(".f-button-edit,.v-popover").forEach((C) => {
1426
+ const v = k.get(C);
1427
+ v && C !== n.value && !n.value.closest(".popover-fitcontent") && v.hide();
1428
1428
  });
1429
1429
  }
1430
1430
  }
1431
- function c() {
1431
+ function d() {
1432
1432
  const k = l.value;
1433
1433
  k && k.show(n.value);
1434
1434
  }
1435
- async function f(k = !1) {
1435
+ async function p(k = !1) {
1436
1436
  if (!!t.slots.default) {
1437
1437
  if (!k && !o.value && !await r())
1438
1438
  return;
1439
- o.value = !o.value, o.value && (await ue(), c());
1439
+ o.value = !o.value, o.value && (await ue(), d());
1440
1440
  }
1441
1441
  }
1442
- async function C(k = !1) {
1442
+ async function x(k = !1) {
1443
1443
  if (!!t.slots.default) {
1444
1444
  if (!k && !await r())
1445
1445
  return;
1446
- o.value = !0, await ue(), c();
1446
+ o.value = !0, await ue(), d();
1447
1447
  }
1448
1448
  }
1449
- function p() {
1449
+ function m() {
1450
1450
  o.value = !1;
1451
1451
  }
1452
- function m() {
1452
+ function f() {
1453
1453
  o.value = !0, ue(() => {
1454
- c();
1454
+ d();
1455
1455
  });
1456
1456
  }
1457
- return { hidePopup: p, showPopup: m, popup: C, shouldPopupContent: o, togglePopup: f, popoverRef: l, closeAllPopover: u };
1457
+ return { hidePopup: m, showPopup: f, popup: x, shouldPopupContent: o, togglePopup: p, popoverRef: l, closeAllPopover: u };
1458
1458
  }
1459
1459
  function ia(e, t, n) {
1460
- const a = d(), {
1460
+ const a = c(), {
1461
1461
  isTextBoxReadonly: l,
1462
1462
  textBoxClass: o,
1463
1463
  textBoxPlaceholder: r,
1464
1464
  textBoxTitle: u,
1465
- onBlurTextBox: c,
1466
- onClickTextBox: f,
1467
- onFocusTextBox: C,
1468
- onInput: p,
1469
- onKeyDownTextBox: m,
1465
+ onBlurTextBox: d,
1466
+ onClickTextBox: p,
1467
+ onFocusTextBox: x,
1468
+ onInput: m,
1469
+ onKeyDownTextBox: f,
1470
1470
  onKeyUpTextBox: k,
1471
- onMouseDownTextBox: x,
1471
+ onMouseDownTextBox: C,
1472
1472
  onTextBoxValueChange: v
1473
- } = n, s = d(e.id), {
1473
+ } = n, s = c(e.id), {
1474
1474
  uuid: b
1475
1475
  } = wn(), y = B(() => ({
1476
1476
  // 'border-top-right-radius': '6px',
@@ -1482,13 +1482,13 @@ function ia(e, t, n) {
1482
1482
  preventScroll: !0
1483
1483
  })), s.value || (s.value = "button-edit_" + b(8)), s.value = s.value + "-textbox";
1484
1484
  });
1485
- const F = d(!1), S = (w) => {
1485
+ const F = c(!1), S = (w) => {
1486
1486
  w.preventDefault(), F.value = !0;
1487
1487
  }, h = (w) => {
1488
- w.preventDefault(), F.value = !1, p(w);
1488
+ w.preventDefault(), F.value = !1, m(w);
1489
1489
  };
1490
1490
  function g(w) {
1491
- F.value || p(w);
1491
+ F.value || m(w);
1492
1492
  }
1493
1493
  return () => i("input", {
1494
1494
  id: e.id ? e.id + "-textbox" : void 0,
@@ -1506,41 +1506,41 @@ function ia(e, t, n) {
1506
1506
  title: u.value,
1507
1507
  type: e.inputType,
1508
1508
  value: t.value,
1509
- onBlur: c,
1509
+ onBlur: d,
1510
1510
  onChange: v,
1511
- onClick: f,
1512
- onFocus: C,
1511
+ onClick: p,
1512
+ onFocus: x,
1513
1513
  onInput: g,
1514
- onKeydown: m,
1514
+ onKeydown: f,
1515
1515
  onKeyup: k,
1516
- onMousedown: x,
1516
+ onMousedown: C,
1517
1517
  onCompositionend: h,
1518
1518
  onCompositionstart: S
1519
1519
  }, null);
1520
1520
  }
1521
1521
  function sa(e, t, n) {
1522
- const a = d(e.separator), l = B(() => e.readonly || e.disable), {
1522
+ const a = c(e.separator), l = B(() => e.readonly || e.disable), {
1523
1523
  changeTextBoxValue: o,
1524
1524
  onFocusTextBox: r,
1525
1525
  onBlurTextBox: u,
1526
- onClickTextBox: c,
1527
- textBoxPlaceholder: f
1528
- } = n, C = B(() => t.value ? t.value.split(a.value).map((x) => ({
1529
- name: x,
1526
+ onClickTextBox: d,
1527
+ textBoxPlaceholder: p
1528
+ } = n, x = B(() => t.value ? t.value.split(a.value).map((C) => ({
1529
+ name: C,
1530
1530
  selectable: !0
1531
1531
  })) : []);
1532
- function p(x) {
1533
- o(x.map((v) => v.name).join(a.value), !0);
1532
+ function m(C) {
1533
+ o(C.map((v) => v.name).join(a.value), !0);
1534
1534
  }
1535
- z(() => e.separator, (x) => {
1536
- a.value = x;
1535
+ z(() => e.separator, (C) => {
1536
+ a.value = C;
1537
1537
  });
1538
- const m = d(!e.disable && !e.readonly);
1539
- z([() => e.disable, () => e.readonly], ([x, v], [s, b]) => {
1540
- m.value = !x && !v;
1538
+ const f = c(!e.disable && !e.readonly);
1539
+ z([() => e.disable, () => e.readonly], ([C, v], [s, b]) => {
1540
+ f.value = !C && !v;
1541
1541
  });
1542
- function k(x) {
1543
- c(x);
1542
+ function k(C) {
1543
+ d(C);
1544
1544
  }
1545
1545
  return () => i(On, {
1546
1546
  tabindex: e.tabIndex,
@@ -1548,12 +1548,12 @@ function sa(e, t, n) {
1548
1548
  onBlur: u,
1549
1549
  id: `${e.id}-tag-editor`,
1550
1550
  class: "form-control",
1551
- placeholder: f.value,
1552
- data: C.value,
1551
+ placeholder: p.value,
1552
+ data: x.value,
1553
1553
  showClose: !l.value,
1554
1554
  showInput: !0,
1555
1555
  disable: l.value,
1556
- onChange: p,
1556
+ onChange: m,
1557
1557
  onClick: k
1558
1558
  }, null);
1559
1559
  }
@@ -1564,14 +1564,14 @@ function ra(e, t, n, a) {
1564
1564
  onMouseEnterButton: r,
1565
1565
  onMouseLeaveButton: u
1566
1566
  } = n, {
1567
- enableClearButton: c,
1568
- showClearButton: f,
1569
- onClearValue: C
1570
- } = a, p = d(), m = ft((s) => {
1567
+ enableClearButton: d,
1568
+ showClearButton: p,
1569
+ onClearValue: x
1570
+ } = a, m = c(), f = ft((s) => {
1571
1571
  o(s);
1572
1572
  }, e.buttonBehavior === "Modal" ? 0 : 200), k = () => {
1573
1573
  t.emit("beforeClearValue");
1574
- }, x = B(() => ({
1574
+ }, C = B(() => ({
1575
1575
  "input-group-append input-append-wrapper": !0,
1576
1576
  "input-append-button": e.expandMode === "button",
1577
1577
  "input-append-text": e.expandMode === "text",
@@ -1583,35 +1583,35 @@ function ra(e, t, n, a) {
1583
1583
  renderButtonGroup: () => i("div", {
1584
1584
  id: e.id ? `${e.id}-button-group` : void 0,
1585
1585
  class: l.value
1586
- }, [c.value && ut(i("span", {
1586
+ }, [d.value && ut(i("span", {
1587
1587
  class: "input-group-text input-group-clear",
1588
- onClick: C,
1588
+ onClick: x,
1589
1589
  onMousedown: k
1590
1590
  }, [i("i", {
1591
1591
  class: "f-icon modal_close"
1592
- }, null)]), [[bn, f.value]]), t.slots.buttonContent ? i("span", {
1592
+ }, null)]), [[bn, p.value]]), t.slots.buttonContent ? i("span", {
1593
1593
  class: "input-group-text input-group-append-button",
1594
- onClick: m,
1594
+ onClick: f,
1595
1595
  onMouseenter: r,
1596
1596
  onMouseleave: u
1597
1597
  }, [t.slots.buttonContent()]) : e.buttonContent ? i("span", {
1598
1598
  class: "input-group-text input-group-append-button",
1599
1599
  innerHTML: e.buttonContent,
1600
- ref: p,
1601
- onClick: (s) => m(s),
1600
+ ref: m,
1601
+ onClick: (s) => f(s),
1602
1602
  onMouseenter: r,
1603
1603
  onMouseleave: u
1604
1604
  }, null) : null, e.expandable && i("div", {
1605
- class: x.value,
1605
+ class: C.value,
1606
1606
  onClick: v
1607
1607
  }, [i("div", {
1608
1608
  class: "input-group-text"
1609
1609
  }, [e.expandContent])])]),
1610
- buttonHandleElement: p
1610
+ buttonHandleElement: m
1611
1611
  };
1612
1612
  }
1613
1613
  function ua(e, t, n) {
1614
- const a = d(e.popupMinWidth), {
1614
+ const a = c(e.popupMinWidth), {
1615
1615
  hidePopup: l,
1616
1616
  popoverRef: o
1617
1617
  } = n, r = () => {
@@ -1634,8 +1634,8 @@ function ua(e, t, n) {
1634
1634
  limitContentBySpace: e.limitContentBySpace
1635
1635
  }, {
1636
1636
  default: () => {
1637
- var u, c;
1638
- return [(c = (u = t.slots).default) == null ? void 0 : c.call(u)];
1637
+ var u, d;
1638
+ return [(d = (u = t.slots).default) == null ? void 0 : d.call(u)];
1639
1639
  }
1640
1640
  });
1641
1641
  }
@@ -1644,19 +1644,19 @@ const Me = /* @__PURE__ */ q({
1644
1644
  props: qn,
1645
1645
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue", "expandClick"],
1646
1646
  setup(e, t) {
1647
- const n = d(), a = d(e.customClass), l = d(e.modelValue), o = oa(e, t, n, l), {
1647
+ const n = c(), a = c(e.customClass), l = c(e.modelValue), o = oa(e, t, n, l), {
1648
1648
  shouldPopupContent: r,
1649
1649
  hidePopup: u,
1650
- showPopup: c,
1651
- togglePopup: f
1652
- } = o, C = na(e, t, n, o, l), p = d(""), m = la(e, t, l, p, o), {
1650
+ showPopup: d,
1651
+ togglePopup: p
1652
+ } = o, x = na(e, t, n, o, l), m = c(""), f = la(e, t, l, m, o), {
1653
1653
  hasFocusedTextBox: k,
1654
- commitValue: x,
1654
+ commitValue: C,
1655
1655
  inputGroupClass: v
1656
- } = m, s = aa(e, t, l, k, p, m), {
1656
+ } = f, s = aa(e, t, l, k, m, f), {
1657
1657
  onMouseEnterTextBox: b,
1658
1658
  onMouseLeaveTextBox: y
1659
- } = s, F = d(!1), S = B(() => {
1659
+ } = s, F = c(!1), S = B(() => {
1660
1660
  const j = {
1661
1661
  "f-button-edit": !0,
1662
1662
  "f-cmp-inputgroup": !0,
@@ -1676,17 +1676,17 @@ const Me = /* @__PURE__ */ q({
1676
1676
  const $ = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1677
1677
  return $ && $.length && (j = $.map((P) => P.offsetTop).filter((P) => P > 20).length), j;
1678
1678
  }
1679
- const O = d(w());
1679
+ const O = c(w());
1680
1680
  $e(() => {
1681
1681
  O.value = w();
1682
1682
  });
1683
1683
  function L() {
1684
- return e.multiSelect && e.inputType === "tag" ? () => i(ce, null, [sa(e, l, m)(), !!O.value && i("div", {
1684
+ return e.multiSelect && e.inputType === "tag" ? () => i(ce, null, [sa(e, l, f)(), !!O.value && i("div", {
1685
1685
  class: "d-flex flex-row mr-2 more-tags",
1686
1686
  "more-tags": !0
1687
1687
  }, [i("span", {
1688
1688
  class: "multi--more-text"
1689
- }, [G("+"), O.value])])]) : ia(e, l, m);
1689
+ }, [G("+"), O.value])])]) : ia(e, l, f);
1690
1690
  }
1691
1691
  let V = L();
1692
1692
  z([() => e.multiSelect, () => e.inputType], () => {
@@ -1695,21 +1695,21 @@ const Me = /* @__PURE__ */ q({
1695
1695
  const {
1696
1696
  renderButtonGroup: I,
1697
1697
  buttonHandleElement: E
1698
- } = ra(e, t, C, s), T = ua(e, t, o), N = d(r.value), R = {
1699
- displayText: p,
1700
- commitValue: x,
1698
+ } = ra(e, t, x, s), T = ua(e, t, o), N = c(r.value), R = {
1699
+ displayText: m,
1700
+ commitValue: C,
1701
1701
  elementRef: n,
1702
1702
  hidePopup: u,
1703
- showPopup: c,
1703
+ showPopup: d,
1704
1704
  popoverRef: o.popoverRef,
1705
1705
  shouldPopupContent: r,
1706
- togglePopup: f,
1706
+ togglePopup: p,
1707
1707
  openDialog: () => {
1708
1708
  E.value && e.buttonBehavior === "Modal" && E.value.click();
1709
1709
  },
1710
1710
  getModal: () => {
1711
1711
  var j;
1712
- return e.buttonBehavior === "Modal" ? (j = C.modalRef.value) == null ? void 0 : j.value : null;
1712
+ return e.buttonBehavior === "Modal" ? (j = x.modalRef.value) == null ? void 0 : j.value : null;
1713
1713
  },
1714
1714
  getTextbox: () => {
1715
1715
  var j;
@@ -2444,28 +2444,28 @@ const Bt = Cn(
2444
2444
  props: Oa,
2445
2445
  emits: ["selectionChange"],
2446
2446
  setup(e, t) {
2447
- const n = d(), a = d(e.dataSource), l = d([]), o = d(e.separator), r = d(e.width), u = d(e.maxHeight), c = B(() => e.multiSelect), f = d(e.multiSelect ? String(e.selectedValues).split(o.value) : [e.selectedValues]), C = B(() => ({
2447
+ const n = c(), a = c(e.dataSource), l = c([]), o = c(e.separator), r = c(e.width), u = c(e.maxHeight), d = B(() => e.multiSelect), p = c(e.multiSelect ? String(e.selectedValues).split(o.value) : [e.selectedValues]), x = B(() => ({
2448
2448
  enableSelectRow: !0,
2449
2449
  multiSelect: e.multiSelect,
2450
2450
  multiSelectMode: "OnCheckAndClick",
2451
- showCheckbox: c.value,
2451
+ showCheckbox: d.value,
2452
2452
  showSelectAll: !1,
2453
2453
  showSelection: !0
2454
2454
  }));
2455
2455
  z(e.dataSource, () => {
2456
2456
  a.value = e.dataSource;
2457
2457
  }), B(() => e.enableSearch ? "SearchBar" : "ContentHeader");
2458
- const p = B(() => {
2458
+ const m = B(() => {
2459
2459
  const s = {};
2460
2460
  return r.value !== void 0 && (s.width = `${r.value}px`), u.value !== void 0 && u.value > 0 && (s.maxHeight = `${u.value}px`), s;
2461
2461
  });
2462
- function m(s) {
2462
+ function f(s) {
2463
2463
  n.value.search(s);
2464
2464
  }
2465
2465
  function k(s) {
2466
- l.value = s.map((b) => Object.assign({}, b)), f.value = s.map((b) => b[e.idField]), t.emit("selectionChange", l.value);
2466
+ l.value = s.map((b) => Object.assign({}, b)), p.value = s.map((b) => b[e.idField]), t.emit("selectionChange", l.value);
2467
2467
  }
2468
- function x(s) {
2468
+ function C(s) {
2469
2469
  if (e.enableHighlightSearch)
2470
2470
  return;
2471
2471
  let b = [];
@@ -2475,7 +2475,7 @@ const Bt = Cn(
2475
2475
  typeof y == "function" ? b = a.value.filter((F) => y(s, F)) : b = a.value.filter((F) => F[e.valueField].indexOf(s) > -1 || F[e.textField].indexOf(s) > -1), n.value.updateDataSource(b);
2476
2476
  }
2477
2477
  z([() => e.selectedValues], ([s]) => {
2478
- e.multiSelect ? f.value = s.split(o.value) : f.value = [s];
2478
+ e.multiSelect ? p.value = s.split(o.value) : p.value = [s];
2479
2479
  });
2480
2480
  function v(s) {
2481
2481
  n.value.activeRowById(s);
@@ -2483,7 +2483,7 @@ const Bt = Cn(
2483
2483
  return J(() => {
2484
2484
  var s, b;
2485
2485
  if (!e.multiSelect) {
2486
- const y = (s = f.value) == null ? void 0 : s[0];
2486
+ const y = (s = p.value) == null ? void 0 : s[0];
2487
2487
  let F = y;
2488
2488
  const S = a.value.map((h) => h[e.valueField || e.idField]);
2489
2489
  if (!Bn(y) && S.includes(y)) {
@@ -2492,11 +2492,11 @@ const Bt = Cn(
2492
2492
  }
2493
2493
  }
2494
2494
  }), t.expose({
2495
- search: m,
2495
+ search: f,
2496
2496
  activeRowById: v
2497
2497
  }), () => i("div", {
2498
2498
  class: "f-combo-list-container",
2499
- style: p.value
2499
+ style: m.value
2500
2500
  }, [i(Dn, {
2501
2501
  ref: n,
2502
2502
  size: "small",
@@ -2509,16 +2509,16 @@ const Bt = Cn(
2509
2509
  textField: e.textField,
2510
2510
  titleField: e.titleField,
2511
2511
  multiSelect: e.multiSelect,
2512
- selection: C.value,
2512
+ selection: x.value,
2513
2513
  enableHighlightSearch: e.enableHighlightSearch,
2514
- selectionValues: f.value,
2514
+ selectionValues: p.value,
2515
2515
  onSelectionUpdate: k,
2516
- onAfterSearch: x
2516
+ onAfterSearch: C
2517
2517
  }, null)]);
2518
2518
  }
2519
2519
  });
2520
2520
  function Da(e) {
2521
- const t = d(""), n = d(e.modelValue), a = d(e.data || []), l = d(e.editable);
2521
+ const t = c(""), n = c(e.modelValue), a = c(e.data || []), l = c(e.editable);
2522
2522
  function o(v) {
2523
2523
  const s = e.multiSelect ? String(v).split(e.separator) : [String(v)], b = s.map((S) => [S, !0]), y = new Map(b);
2524
2524
  return a.value.filter((S) => y.has(String(S[e.valueField]))).sort((S, h) => {
@@ -2537,16 +2537,16 @@ function Da(e) {
2537
2537
  }
2538
2538
  return a.value.filter((s) => "" + s[e.textField] === v);
2539
2539
  }
2540
- function c(v) {
2540
+ function d(v) {
2541
2541
  const s = {};
2542
2542
  return s[e.idField] = v, s[e.textField] = v, [s];
2543
2543
  }
2544
- function f(v) {
2544
+ function p(v) {
2545
2545
  let s = u(v);
2546
2546
  const b = s && s.length > 0;
2547
- return l.value && !b && (s = c(v)), s;
2547
+ return l.value && !b && (s = d(v)), s;
2548
2548
  }
2549
- function C() {
2549
+ function x() {
2550
2550
  const { url: v, method: s = "GET", headers: b = { "Content-Type": "application/json;charset=utf-8;" }, body: y = null } = e.remote;
2551
2551
  if (!v)
2552
2552
  return;
@@ -2556,7 +2556,7 @@ function Da(e) {
2556
2556
  var w, O;
2557
2557
  if (h.status === 200)
2558
2558
  return S = !!((O = (w = h.headers) == null ? void 0 : w.get("content-type")) != null && O.includes("application/json")), S ? h.text() : h.json();
2559
- throw h.status === 405 ? new Error(Z.getLocaleValue("comboList.remoteError")) : new Error(h.statusText);
2559
+ throw h.status === 405 ? new Error(Q.getLocaleValue("comboList.remoteError")) : new Error(h.statusText);
2560
2560
  }).then((h) => {
2561
2561
  h.length && (a.value = S ? JSON.parse(h) : h);
2562
2562
  }).catch((h) => {
@@ -2567,7 +2567,7 @@ function Da(e) {
2567
2567
  a.value = v;
2568
2568
  }).catch((v) => {
2569
2569
  console.log(v);
2570
- }) : C()), z(() => e.data, () => {
2570
+ }) : x()), z(() => e.data, () => {
2571
2571
  a.value = e.data;
2572
2572
  }), z([a], ([v]) => {
2573
2573
  if (e.modelValue != null) {
@@ -2577,28 +2577,28 @@ function Da(e) {
2577
2577
  }), z(() => e.modelValue, (v) => {
2578
2578
  n.value = v, r(v);
2579
2579
  });
2580
- function p(v) {
2580
+ function m(v) {
2581
2581
  a.value = v;
2582
2582
  }
2583
- function m() {
2583
+ function f() {
2584
2584
  return a.value;
2585
2585
  }
2586
2586
  function k() {
2587
2587
  return t.value;
2588
2588
  }
2589
- function x() {
2589
+ function C() {
2590
2590
  const v = typeof e.beforeOpen == "function";
2591
- return !e.beforeOpen || !v ? Promise.resolve(!0) : Promise.resolve().then(() => e.beforeOpen({ instance: { updateDataSource: p, getData: m, getDisplayText: k } })).then((s) => typeof (s == null ? void 0 : s.canOpen) == "boolean" ? s == null ? void 0 : s.canOpen : !0);
2591
+ return !e.beforeOpen || !v ? Promise.resolve(!0) : Promise.resolve().then(() => e.beforeOpen({ instance: { updateDataSource: m, getData: f, getDisplayText: k } })).then((s) => typeof (s == null ? void 0 : s.canOpen) == "boolean" ? s == null ? void 0 : s.canOpen : !0);
2592
2592
  }
2593
2593
  return r(e.modelValue), {
2594
2594
  dataSource: a,
2595
2595
  displayText: t,
2596
2596
  editable: l,
2597
2597
  modelValue: n,
2598
- beforeOpenList: x,
2598
+ beforeOpenList: C,
2599
2599
  getItemsByDisplayText: u,
2600
2600
  getItemsByValue: o,
2601
- getSelectedItemsByDisplayText: f
2601
+ getSelectedItemsByDisplayText: p
2602
2602
  };
2603
2603
  }
2604
2604
  const fe = /* @__PURE__ */ q({
@@ -2606,50 +2606,50 @@ const fe = /* @__PURE__ */ q({
2606
2606
  props: Oe,
2607
2607
  emits: ["clear", "update:modelValue", "change", "input"],
2608
2608
  setup(e, t) {
2609
- const n = d(), a = d(), l = d(e.disabled || e.readonly), o = d(e.enableClear), r = d(e.enableSearch), u = d(e.readonly), {
2610
- dataSource: c,
2611
- displayText: f,
2612
- editable: C,
2613
- modelValue: p,
2614
- getItemsByDisplayText: m,
2609
+ const n = c(), a = c(), l = c(e.disabled || e.readonly), o = c(e.enableClear), r = c(e.enableSearch), u = c(e.readonly), {
2610
+ dataSource: d,
2611
+ displayText: p,
2612
+ editable: x,
2613
+ modelValue: m,
2614
+ getItemsByDisplayText: f,
2615
2615
  getItemsByValue: k,
2616
- beforeOpenList: x
2617
- } = Da(e), v = d(e.dropDownIcon);
2616
+ beforeOpenList: C
2617
+ } = Da(e), v = c(e.dropDownIcon);
2618
2618
  v.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (v.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
2619
2619
  const s = B(() => e.multiSelect), b = B(() => a.value ? a.value.elementRef.getBoundingClientRect().width : 0);
2620
2620
  function y() {
2621
2621
  !s.value && a.value && a.value.hidePopup();
2622
2622
  }
2623
2623
  function F(R) {
2624
- f.value = R.map(($) => $[e.textField]).join(e.separator) || p.value;
2624
+ p.value = R.map(($) => $[e.textField]).join(e.separator) || m.value;
2625
2625
  let j = "";
2626
- R.length === 1 ? j = R[0][e.valueField] : j = R.map(($) => $[e.valueField]).join(e.separator), p.value !== j && (p.value = j, t.emit("update:modelValue", p.value), t.emit("change", R, p.value));
2626
+ R.length === 1 ? j = R[0][e.valueField] : j = R.map(($) => $[e.valueField]).join(e.separator), m.value !== j && (m.value = j, t.emit("update:modelValue", m.value), t.emit("change", R, m.value));
2627
2627
  }
2628
2628
  function S() {
2629
- const R = k(p.value);
2629
+ const R = k(m.value);
2630
2630
  F(R);
2631
2631
  }
2632
2632
  function h() {
2633
- u.value || f.value;
2633
+ u.value || p.value;
2634
2634
  }
2635
2635
  function g(R) {
2636
2636
  var j;
2637
- p.value = "", (j = n.value) == null || j.activeRowById(""), t.emit("clear");
2637
+ m.value = "", (j = n.value) == null || j.activeRowById(""), t.emit("clear");
2638
2638
  }
2639
2639
  function w(R) {
2640
2640
  var j, $;
2641
- e.enableSearch && e.enableHighlightSearch && ((j = n.value) == null || j.search(R)), ($ = n.value) == null || $.activeRowById(R), t.emit("change", [p.value], p.value);
2641
+ e.enableSearch && e.enableHighlightSearch && ((j = n.value) == null || j.search(R)), ($ = n.value) == null || $.activeRowById(R), t.emit("change", [m.value], m.value);
2642
2642
  }
2643
2643
  function O(R) {
2644
2644
  if (e.multiSelect) {
2645
- const j = m(R);
2645
+ const j = f(R);
2646
2646
  e.viewType;
2647
2647
  const P = j.map((D) => D[e.idField || e.valueField]).join(e.separator);
2648
- p.value !== P && (p.value = P, t.emit("update:modelValue", p.value), t.emit("change", j, p.value));
2649
- } else R !== p.value && (p.value = R, t.emit("update:modelValue", p.value), t.emit("change", [], R));
2648
+ m.value !== P && (m.value = P, t.emit("update:modelValue", m.value), t.emit("change", j, m.value));
2649
+ } else R !== m.value && (m.value = R, t.emit("update:modelValue", m.value), t.emit("change", [], R));
2650
2650
  }
2651
2651
  function L() {
2652
- return f.value;
2652
+ return p.value;
2653
2653
  }
2654
2654
  function V(R) {
2655
2655
  const {
@@ -2661,10 +2661,10 @@ const fe = /* @__PURE__ */ q({
2661
2661
  a.value.hidePopup();
2662
2662
  }
2663
2663
  function E(R) {
2664
- c.value = R;
2664
+ d.value = R;
2665
2665
  }
2666
2666
  function T() {
2667
- return c.value;
2667
+ return d.value;
2668
2668
  }
2669
2669
  const N = {
2670
2670
  getDisplayText: L,
@@ -2673,24 +2673,24 @@ const fe = /* @__PURE__ */ q({
2673
2673
  getData: T
2674
2674
  };
2675
2675
  return t.expose(N), z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([R, j, $, P, D]) => {
2676
- l.value = R, C.value = j, o.value = $, r.value = P, u.value = D;
2676
+ l.value = R, x.value = j, o.value = $, r.value = P, u.value = D;
2677
2677
  }), () => i(yt, {
2678
2678
  ref: a,
2679
2679
  id: e.id,
2680
2680
  disable: l.value,
2681
2681
  readonly: u.value,
2682
2682
  forcePlaceholder: e.forcePlaceholder,
2683
- editable: C.value,
2683
+ editable: x.value,
2684
2684
  buttonContent: v.value,
2685
- placeholder: e.placeholder === "请选择" ? Z.getLocaleValue("comboList.placeholder") : e.placeholder,
2685
+ placeholder: e.placeholder === "请选择" ? Q.getLocaleValue("comboList.placeholder") : e.placeholder,
2686
2686
  enableClear: o.value,
2687
2687
  maxLength: e.maxLength,
2688
2688
  tabIndex: e.tabIndex,
2689
2689
  enableTitle: e.enableTitle,
2690
2690
  multiSelect: e.multiSelect,
2691
2691
  inputType: e.multiSelect ? e.viewType : "text",
2692
- modelValue: f.value,
2693
- "onUpdate:modelValue": (R) => f.value = R,
2692
+ modelValue: p.value,
2693
+ "onUpdate:modelValue": (R) => p.value = R,
2694
2694
  focusOnCreated: e.focusOnCreated,
2695
2695
  selectOnCreated: e.selectOnCreated,
2696
2696
  onClear: g,
@@ -2698,7 +2698,7 @@ const fe = /* @__PURE__ */ q({
2698
2698
  onChange: O,
2699
2699
  onBlur: S,
2700
2700
  onInput: V,
2701
- beforeOpen: x,
2701
+ beforeOpen: C,
2702
2702
  placement: e.placement,
2703
2703
  popupMinWidth: e.minPanelWidth,
2704
2704
  popupClass: "f-combo-list-wrapper",
@@ -2711,8 +2711,8 @@ const fe = /* @__PURE__ */ q({
2711
2711
  valueField: e.valueField,
2712
2712
  textField: e.textField,
2713
2713
  titleField: e.titleField,
2714
- dataSource: c.value,
2715
- selectedValues: p.value,
2714
+ dataSource: d.value,
2715
+ selectedValues: m.value,
2716
2716
  separator: e.separator,
2717
2717
  multiSelect: e.multiSelect,
2718
2718
  enableSearch: r.value,
@@ -2882,31 +2882,31 @@ class Pa extends Mn {
2882
2882
  }
2883
2883
  },
2884
2884
  ...this.getCommonEditorProperties(t)
2885
- }, (u, c) => {
2886
- if (!u || !c.editor)
2885
+ }, (u, d) => {
2886
+ if (!u || !d.editor)
2887
2887
  return;
2888
- const f = this;
2888
+ const p = this;
2889
2889
  switch (u.propertyID) {
2890
2890
  case "dataSourceType": {
2891
- u.propertyValue === "static" ? (c.editor.valueField = "value", c.editor.textField = "name", c.editor.remote = null) : u.propertyValue === "dynamic" && (c.editor.remote = { method: "GET" }, c.editor.valueField = "value", c.editor.textField = "name");
2891
+ u.propertyValue === "static" ? (d.editor.valueField = "value", d.editor.textField = "name", d.editor.remote = null) : u.propertyValue === "dynamic" && (d.editor.remote = { method: "GET" }, d.editor.valueField = "value", d.editor.textField = "name");
2892
2892
  break;
2893
2893
  }
2894
2894
  case "data": {
2895
- !f.checkEnumDataReadonly(c) && c.formatter && (c.formatter.data = [...u.propertyValue]);
2895
+ !p.checkEnumDataReadonly(d) && d.formatter && (d.formatter.data = [...u.propertyValue]);
2896
2896
  break;
2897
2897
  }
2898
2898
  case "viewType":
2899
- u.propertyValue === "tag" && (c.editor.editable = !1);
2899
+ u.propertyValue === "tag" && (d.editor.editable = !1);
2900
2900
  }
2901
2901
  });
2902
2902
  }
2903
2903
  getGridFieldEdtiorProperties(t, n) {
2904
- var r, u, c, f, C, p;
2904
+ var r, u, d, p, x, m;
2905
2905
  const a = this;
2906
2906
  let l = "";
2907
2907
  if (((r = t == null ? void 0 : t.binding) == null ? void 0 : r.type) === "Form") {
2908
- const m = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
2909
- (u = m == null ? void 0 : m.schemaField) != null && u.type && (l = m.schemaField.type.$type);
2908
+ const f = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
2909
+ (u = f == null ? void 0 : f.schemaField) != null && u.type && (l = f.schemaField.type.$type);
2910
2910
  }
2911
2911
  return a.getComponentConfig(t, { type: "combo-list" }, {
2912
2912
  // editable: {
@@ -2937,8 +2937,8 @@ class Pa extends Mn {
2937
2937
  description: "",
2938
2938
  title: "数据",
2939
2939
  type: "array",
2940
- visible: !((c = t.editor) != null && c.dataSourceType) || ((f = t.editor) == null ? void 0 : f.dataSourceType) === "static",
2941
- ...a.getItemCollectionEditor(t, (C = t.editor) == null ? void 0 : C.valueField, (p = t.editor) == null ? void 0 : p.textField),
2940
+ visible: !((d = t.editor) != null && d.dataSourceType) || ((p = t.editor) == null ? void 0 : p.dataSourceType) === "static",
2941
+ ...a.getItemCollectionEditor(t, (x = t.editor) == null ? void 0 : x.valueField, (m = t.editor) == null ? void 0 : m.textField),
2942
2942
  // 这个属性,标记当属性变更得时候触发重新更新属性
2943
2943
  refreshPanelAfterChanged: !0
2944
2944
  },
@@ -2973,17 +2973,17 @@ class Pa extends Mn {
2973
2973
  }
2974
2974
  },
2975
2975
  ...this.getCommonEditorProperties(t)
2976
- }, (m, k) => {
2977
- if (!m || !k.editor)
2976
+ }, (f, k) => {
2977
+ if (!f || !k.editor)
2978
2978
  return;
2979
- const x = this;
2980
- switch (m.propertyID) {
2979
+ const C = this;
2980
+ switch (f.propertyID) {
2981
2981
  case "dataSourceType": {
2982
- m.propertyValue === "static" ? (k.editor.valueField = "value", k.editor.textField = "name", k.editor.remote = null) : m.propertyValue === "dynamic" && (k.editor.remote = { method: "GET" }, k.editor.valueField = "value", k.editor.textField = "name");
2982
+ f.propertyValue === "static" ? (k.editor.valueField = "value", k.editor.textField = "name", k.editor.remote = null) : f.propertyValue === "dynamic" && (k.editor.remote = { method: "GET" }, k.editor.valueField = "value", k.editor.textField = "name");
2983
2983
  break;
2984
2984
  }
2985
2985
  case "data": {
2986
- !x.checkEnumDataReadonly(k) && k.formatter && (k.formatter.data = [...m.propertyValue]);
2986
+ !C.checkEnumDataReadonly(k) && k.formatter && (k.formatter.data = [...f.propertyValue]);
2987
2987
  break;
2988
2988
  }
2989
2989
  }
@@ -3044,9 +3044,9 @@ class Pa extends Mn {
3044
3044
  properties: o.createBaseEventProperty(u),
3045
3045
  tabId: "commands",
3046
3046
  tabName: "交互",
3047
- setPropertyRelates(C, p) {
3048
- const m = C.propertyValue;
3049
- delete t[o.viewModelId], m && (m.setPropertyRelates = this.setPropertyRelates, o.eventsEditorUtils.saveRelatedParameters(t, o.viewModelId, m.events, m)), l && l(C, p, m);
3047
+ setPropertyRelates(x, m) {
3048
+ const f = x.propertyValue;
3049
+ delete t[o.viewModelId], f && (f.setPropertyRelates = this.setPropertyRelates, o.eventsEditorUtils.saveRelatedParameters(t, o.viewModelId, f.events, f), o.updateLinkedLabel(f, m)), l && l(x, m, f);
3050
3050
  const k = o.designViewModelUtils.getDgViewModel(o.viewModelId);
3051
3051
  k && o.designViewModelField && k.changeField(o.designViewModelField.id, { valueChanging: t.fieldValueChanging, valueChanged: t.fieldValueChanged }), t.editor.beforeOpen !== t.beforeOpen && (t.editor.beforeOpen = t.beforeOpen), t.editor.onChange !== t.onChange && (t.editor.onChange = t.onChange), t.editor.onClear !== t.onClear && (t.editor.onClear = t.onClear);
3052
3052
  }
@@ -3067,7 +3067,7 @@ const Na = /* @__PURE__ */ q({
3067
3067
  props: Ba,
3068
3068
  emits: ["clear", "update:modelValue", "change"],
3069
3069
  setup(e, t) {
3070
- const n = d(), a = _("designer-host-service"), l = _("design-item-context"), o = Ia(l, a), r = Ue(n, l, o);
3070
+ const n = c(), a = _("designer-host-service"), l = _("design-item-context"), o = Ia(l, a), r = Ue(n, l, o);
3071
3071
  return J(() => {
3072
3072
  n.value.componentInstance = r;
3073
3073
  }), t.expose(r.value), () => i(Pn, {
@@ -3247,21 +3247,21 @@ const ja = "https://json-schema.org/draft/2020-12/schema", Va = "https://farris-
3247
3247
  customClass: { type: String, defaut: "" }
3248
3248
  }, Et = ye(Ye, Wa, Mt, Ot, Xa);
3249
3249
  function Dt(e) {
3250
- const t = d(-1), n = d(-1), a = d(0), l = d(0), o = d(!1), r = d(!1), u = B(() => ({
3250
+ const t = c(-1), n = c(-1), a = c(0), l = c(0), o = c(!1), r = c(!1), u = B(() => ({
3251
3251
  display: o.value ? "block" : "none",
3252
3252
  left: `${a.value}px`,
3253
3253
  cursor: "e-resize"
3254
- })), c = B(() => ({
3254
+ })), d = B(() => ({
3255
3255
  display: r.value ? "block" : "none",
3256
3256
  top: `${l.value}px`,
3257
3257
  cursor: "n-resize"
3258
- })), f = B(() => {
3258
+ })), p = B(() => {
3259
3259
  const s = {
3260
3260
  display: r.value || o.value ? "block" : "none"
3261
3261
  };
3262
3262
  return l.value > 0 && (s.cursor = "n-resize"), s;
3263
3263
  });
3264
- function C(s, b, y, F) {
3264
+ function x(s, b, y, F) {
3265
3265
  const S = e.value;
3266
3266
  if (S) {
3267
3267
  const { left: h, right: g, width: w } = S.getBoundingClientRect();
@@ -3269,7 +3269,7 @@ function Dt(e) {
3269
3269
  F === "right" && (O = g - s.clientX), O > b && (O = b), O < y && (O = y), F === "right" && (O = w - O), a.value = O;
3270
3270
  }
3271
3271
  }
3272
- function p(s, b, y, F) {
3272
+ function m(s, b, y, F) {
3273
3273
  const S = e.value;
3274
3274
  if (S) {
3275
3275
  const { top: h, bottom: g, height: w } = S.getBoundingClientRect();
@@ -3277,7 +3277,7 @@ function Dt(e) {
3277
3277
  F === "bottom" && (O = g - s.clientY), O > b && (O = b), O < y && (O = y), F === "bottom" && (O = w - O), l.value = O;
3278
3278
  }
3279
3279
  }
3280
- function m() {
3280
+ function f() {
3281
3281
  const s = e.value;
3282
3282
  if (s) {
3283
3283
  const { width: b, height: y } = s.getBoundingClientRect();
@@ -3292,8 +3292,8 @@ function Dt(e) {
3292
3292
  return b = Object.assign(b, { [F]: y }), b;
3293
3293
  }, {}) : null;
3294
3294
  }
3295
- function x(s, b) {
3296
- const y = m(), F = k();
3295
+ function C(s, b) {
3296
+ const y = f(), F = k();
3297
3297
  if (y && F) {
3298
3298
  const S = F == null ? void 0 : F.right, h = F == null ? void 0 : F.left;
3299
3299
  if (s === "left" && h)
@@ -3303,7 +3303,7 @@ function Dt(e) {
3303
3303
  }
3304
3304
  }
3305
3305
  function v(s, b) {
3306
- const y = m(), F = k();
3306
+ const y = f(), F = k();
3307
3307
  if (y && F) {
3308
3308
  const S = F == null ? void 0 : F.bottom, h = F == null ? void 0 : F.top;
3309
3309
  if (s === "top" && h)
@@ -3314,18 +3314,18 @@ function Dt(e) {
3314
3314
  }
3315
3315
  return {
3316
3316
  horizontalResizeHandleStyle: u,
3317
- verticalResizeHandleStyle: c,
3318
- resizeOverlayStyle: f,
3317
+ verticalResizeHandleStyle: d,
3318
+ resizeOverlayStyle: p,
3319
3319
  showHorizontalResizeHandle: o,
3320
3320
  showVerticalResizeHandle: r,
3321
3321
  horizontalResizeBarPosition: t,
3322
3322
  verticalResizeBarPosition: n,
3323
3323
  verticalResizeHandleOffset: l,
3324
3324
  horizontalResizeHandleOffset: a,
3325
- draggingHorizontalResizeHandle: C,
3326
- draggingVerticalResizeHandle: p,
3325
+ draggingHorizontalResizeHandle: x,
3326
+ draggingVerticalResizeHandle: m,
3327
3327
  getPanelMaxHeight: v,
3328
- getPanelMaxWidth: x
3328
+ getPanelMaxWidth: C
3329
3329
  };
3330
3330
  }
3331
3331
  const le = /* @__PURE__ */ q({
@@ -3333,7 +3333,7 @@ const le = /* @__PURE__ */ q({
3333
3333
  props: Ye,
3334
3334
  emits: [],
3335
3335
  setup(e, t) {
3336
- const n = d(), a = Dt(n), {
3336
+ const n = c(), a = Dt(n), {
3337
3337
  horizontalResizeHandleStyle: l,
3338
3338
  verticalResizeHandleStyle: o,
3339
3339
  resizeOverlayStyle: r
@@ -3343,10 +3343,10 @@ const le = /* @__PURE__ */ q({
3343
3343
  });
3344
3344
  const u = B(() => Sn({
3345
3345
  "f-layout": !0
3346
- }, e == null ? void 0 : e.customClass)), c = B(() => Tn({}, e == null ? void 0 : e.customStyle));
3346
+ }, e == null ? void 0 : e.customClass)), d = B(() => Tn({}, e == null ? void 0 : e.customStyle));
3347
3347
  return () => i("div", {
3348
3348
  class: u.value,
3349
- style: c.value,
3349
+ style: d.value,
3350
3350
  ref: n
3351
3351
  }, [t.slots.default && t.slots.default(), i("div", {
3352
3352
  class: "f-layout-resize-overlay",
@@ -3559,13 +3559,13 @@ function It(e, t, n, a, l) {
3559
3559
  horizontalResizeBarPosition: o,
3560
3560
  horizontalResizeHandleOffset: r,
3561
3561
  showHorizontalResizeHandle: u,
3562
- showVerticalResizeHandle: c,
3563
- verticalResizeBarPosition: f,
3564
- verticalResizeHandleOffset: C,
3565
- draggingHorizontalResizeHandle: p,
3566
- draggingVerticalResizeHandle: m,
3562
+ showVerticalResizeHandle: d,
3563
+ verticalResizeBarPosition: p,
3564
+ verticalResizeHandleOffset: x,
3565
+ draggingHorizontalResizeHandle: m,
3566
+ draggingVerticalResizeHandle: f,
3567
3567
  getPanelMaxHeight: k,
3568
- getPanelMaxWidth: x
3568
+ getPanelMaxWidth: C
3569
3569
  } = l;
3570
3570
  let v = "", s, b, y;
3571
3571
  function F(g) {
@@ -3573,79 +3573,79 @@ function It(e, t, n, a, l) {
3573
3573
  const { left: w } = b.getBoundingClientRect(), { width: O } = s.getBoundingClientRect(), L = g.clientX - w;
3574
3574
  let V = v === "left" ? (O || 0) + (L - o.value) : (O || 0) - (L - o.value);
3575
3575
  V = n.value > 0 ? Math.max(n.value, V) : V;
3576
- const I = x(v, n.value);
3576
+ const I = C(v, n.value);
3577
3577
  I != null && (V = I > V ? V : I), e.value = V;
3578
3578
  }
3579
3579
  if ((v === "top" || v === "bottom") && b) {
3580
3580
  const { top: w } = b.getBoundingClientRect(), { height: O } = s.getBoundingClientRect(), L = g.clientY - w;
3581
- let V = v === "top" ? (O || 0) + (L - f.value) : (O || 0) - (L - f.value);
3581
+ let V = v === "top" ? (O || 0) + (L - p.value) : (O || 0) - (L - p.value);
3582
3582
  V = a.value > 0 ? Math.max(a.value, V) : V;
3583
3583
  const I = k(v, a.value);
3584
3584
  I != null && (V = I > V ? V : I), t.value = V;
3585
3585
  }
3586
- r.value = 0, C.value = 0, o.value = -1, f.value = -1, u.value = !1, c.value = !1, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", F), document.body.style.userSelect = "", v = "", s = null, b = null;
3586
+ r.value = 0, x.value = 0, o.value = -1, p.value = -1, u.value = !1, d.value = !1, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", F), document.body.style.userSelect = "", v = "", s = null, b = null;
3587
3587
  }
3588
3588
  function S(g, w, O) {
3589
3589
  if (v = w, s = O, u.value = !0, b = g.composedPath().find((V) => (V.className || "").split(" ")[0] === "f-layout"), b) {
3590
3590
  const { left: V } = b.getBoundingClientRect(), I = g.clientX - V;
3591
3591
  r.value = I, o.value = I;
3592
- const E = x(v, n.value) || 0;
3593
- y = (T) => p(T, E, n.value, v), document.addEventListener("mousemove", y), document.addEventListener("mouseup", F), document.body.style.userSelect = "none";
3592
+ const E = C(v, n.value) || 0;
3593
+ y = (T) => m(T, E, n.value, v), document.addEventListener("mousemove", y), document.addEventListener("mouseup", F), document.body.style.userSelect = "none";
3594
3594
  }
3595
3595
  }
3596
3596
  function h(g, w, O) {
3597
- if (v = w, s = O, c.value = !0, b = g.composedPath().find((V) => (V.className || "").split(" ")[0] === "f-layout"), b) {
3597
+ if (v = w, s = O, d.value = !0, b = g.composedPath().find((V) => (V.className || "").split(" ")[0] === "f-layout"), b) {
3598
3598
  const { top: V } = b.getBoundingClientRect();
3599
- C.value = g.clientY - V, f.value = g.clientY - V;
3599
+ x.value = g.clientY - V, p.value = g.clientY - V;
3600
3600
  const I = k(v, a.value) || 0;
3601
- y = (E) => m(E, I, a.value, v), document.addEventListener("mousemove", y), document.addEventListener("mouseup", F), document.body.style.userSelect = "none";
3601
+ y = (E) => f(E, I, a.value, v), document.addEventListener("mousemove", y), document.addEventListener("mouseup", F), document.body.style.userSelect = "none";
3602
3602
  }
3603
3603
  }
3604
3604
  return { onClickHorizontalResizeBar: S, onClickVerticalResizeBar: h };
3605
3605
  }
3606
- const te = /* @__PURE__ */ q({
3606
+ const ne = /* @__PURE__ */ q({
3607
3607
  name: "FLayoutPane",
3608
3608
  props: Ge,
3609
3609
  emits: [],
3610
3610
  setup(e, t) {
3611
- const n = d(e.minHeight <= 0 ? 100 : e.minHeight), a = d(e.minWidth <= 0 ? 100 : e.minWidth), l = d(e.width <= 0 ? 100 : e.width), o = d(e.height <= 0 ? 100 : e.height), r = d(Math.max(n.value, o.value)), u = d(Math.max(a.value, l.value)), c = d(), f = d(e.position), C = d(e.resizable);
3611
+ const n = c(e.minHeight <= 0 ? 100 : e.minHeight), a = c(e.minWidth <= 0 ? 100 : e.minWidth), l = c(e.width <= 0 ? 100 : e.width), o = c(e.height <= 0 ? 100 : e.height), r = c(Math.max(n.value, o.value)), u = c(Math.max(a.value, l.value)), d = c(), p = c(e.position), x = c(e.resizable);
3612
3612
  z(() => e.resizable, (h) => {
3613
- C.value = h;
3613
+ x.value = h;
3614
3614
  });
3615
- const p = _("layout"), {
3616
- useResizeHandleComposition: m
3617
- } = p, k = It(u, r, a, n, m), {
3618
- onClickHorizontalResizeBar: x,
3615
+ const m = _("layout"), {
3616
+ useResizeHandleComposition: f
3617
+ } = m, k = It(u, r, a, n, f), {
3618
+ onClickHorizontalResizeBar: C,
3619
3619
  onClickVerticalResizeBar: v
3620
3620
  } = k, s = B(() => ({
3621
3621
  "f-layout-resize-bar": !0,
3622
- "f-layout-resize-bar-e": f.value === "left",
3623
- "f-layout-resize-bar-n": f.value === "bottom",
3624
- "f-layout-resize-bar-s": f.value === "top",
3625
- "f-layout-resize-bar-w": f.value === "right"
3626
- })), b = B(() => f.value !== "center" && C.value);
3622
+ "f-layout-resize-bar-e": p.value === "left",
3623
+ "f-layout-resize-bar-n": p.value === "bottom",
3624
+ "f-layout-resize-bar-s": p.value === "top",
3625
+ "f-layout-resize-bar-w": p.value === "right"
3626
+ })), b = B(() => p.value !== "center" && x.value);
3627
3627
  function y(h, g) {
3628
- (g === "left" || g === "right") && x(h, g, c.value), (g === "top" || g === "bottom") && v(h, g, c.value);
3628
+ (g === "left" || g === "right") && C(h, g, d.value), (g === "top" || g === "bottom") && v(h, g, d.value);
3629
3629
  }
3630
3630
  const F = B(() => {
3631
3631
  const h = {
3632
3632
  "f-layout-pane": !0,
3633
- "f-page-content-nav": f.value === "left" || f.value === "right",
3634
- "f-page-content-main": f.value === "center"
3633
+ "f-page-content-nav": p.value === "left" || p.value === "right",
3634
+ "f-page-content-main": p.value === "center"
3635
3635
  };
3636
3636
  return e.customClass && String(e.customClass).split(" ").reduce((g, w) => (g[w] = !0, g), h), h;
3637
3637
  }), S = B(() => {
3638
3638
  const h = {};
3639
- return (u.value && f.value === "left" || f.value === "right") && (h.width = `${u.value}px`), (r.value && f.value === "bottom" || f.value === "top") && (h.height = `${r.value}px`), e.visible || (h.display = "none"), h;
3639
+ return (u.value && p.value === "left" || p.value === "right") && (h.width = `${u.value}px`), (r.value && p.value === "bottom" || p.value === "top") && (h.height = `${r.value}px`), e.visible || (h.display = "none"), h;
3640
3640
  });
3641
3641
  return () => i("div", {
3642
- ref: c,
3642
+ ref: d,
3643
3643
  class: F.value,
3644
3644
  style: S.value,
3645
- "data-position": f.value
3645
+ "data-position": p.value
3646
3646
  }, [t.slots.default && t.slots.default(), b.value && i("span", {
3647
3647
  class: s.value,
3648
- onMousedown: (h) => y(h, f.value)
3648
+ onMousedown: (h) => y(h, p.value)
3649
3649
  }, null)]);
3650
3650
  }
3651
3651
  });
@@ -3660,13 +3660,13 @@ const ul = /* @__PURE__ */ q({
3660
3660
  props: Ye,
3661
3661
  emits: [],
3662
3662
  setup(e, t) {
3663
- var C;
3664
- const n = d(), a = _("design-item-context"), l = rl(a.schema, (C = a.parent) == null ? void 0 : C.schema), o = Ue(n, a, l);
3663
+ var x;
3664
+ const n = c(), a = _("design-item-context"), l = rl(a.schema, (x = a.parent) == null ? void 0 : x.schema), o = Ue(n, a, l);
3665
3665
  o.value.canNested = !1;
3666
3666
  const r = Dt(n), {
3667
3667
  horizontalResizeHandleStyle: u,
3668
- verticalResizeHandleStyle: c,
3669
- resizeOverlayStyle: f
3668
+ verticalResizeHandleStyle: d,
3669
+ resizeOverlayStyle: p
3670
3670
  } = r;
3671
3671
  return dt("layout", {
3672
3672
  useResizeHandleComposition: r
@@ -3677,13 +3677,13 @@ const ul = /* @__PURE__ */ q({
3677
3677
  ref: n
3678
3678
  }, [t.slots.default && t.slots.default(), i("div", {
3679
3679
  class: "f-layout-resize-overlay",
3680
- style: f.value
3680
+ style: p.value
3681
3681
  }, null), i("div", {
3682
3682
  class: "f-layout-horizontal-resize-proxy",
3683
3683
  style: u.value
3684
3684
  }, null), i("div", {
3685
3685
  class: "f-layout-vertical-resize-proxy",
3686
- style: c.value
3686
+ style: d.value
3687
3687
  }, null)]);
3688
3688
  }
3689
3689
  });
@@ -3703,23 +3703,23 @@ const dl = /* @__PURE__ */ q({
3703
3703
  props: Ge,
3704
3704
  emits: [],
3705
3705
  setup(e, t) {
3706
- const n = d(), a = d();
3706
+ const n = c(), a = c();
3707
3707
  _("designer-host-service");
3708
3708
  const l = _("design-item-context"), o = cl(l), r = Ue(a, l, o);
3709
3709
  r.value.canNested = !1, r.value.canMove = !1, r.value.canDelete = !1, J(() => {
3710
3710
  a.value.componentInstance = r;
3711
3711
  }), t.expose(r.value);
3712
- const u = d(Math.max(e.minHeight, e.height)), c = d(Math.max(e.minWidth, e.width)), f = d(e.minHeight), C = d(e.minWidth), p = d(e.position), m = _("layout"), {
3712
+ const u = c(Math.max(e.minHeight, e.height)), d = c(Math.max(e.minWidth, e.width)), p = c(e.minHeight), x = c(e.minWidth), m = c(e.position), f = _("layout"), {
3713
3713
  useResizeHandleComposition: k
3714
- } = m, x = It(c, u, C, f, k), {
3714
+ } = f, C = It(d, u, x, p, k), {
3715
3715
  onClickHorizontalResizeBar: v,
3716
3716
  onClickVerticalResizeBar: s
3717
- } = x, b = B(() => ({
3717
+ } = C, b = B(() => ({
3718
3718
  "f-layout-resize-bar": !0,
3719
- "f-layout-resize-bar-e": p.value === "left",
3720
- "f-layout-resize-bar-n": p.value === "bottom",
3721
- "f-layout-resize-bar-s": p.value === "top",
3722
- "f-layout-resize-bar-w": p.value === "right"
3719
+ "f-layout-resize-bar-e": m.value === "left",
3720
+ "f-layout-resize-bar-n": m.value === "bottom",
3721
+ "f-layout-resize-bar-s": m.value === "top",
3722
+ "f-layout-resize-bar-w": m.value === "right"
3723
3723
  }));
3724
3724
  function y(h, g) {
3725
3725
  (g === "left" || g === "right") && v(h, g, n.value), (g === "top" || g === "bottom") && s(h, g, n.value);
@@ -3727,15 +3727,15 @@ const dl = /* @__PURE__ */ q({
3727
3727
  const F = B(() => {
3728
3728
  const h = {
3729
3729
  "f-layout-pane": !0,
3730
- "f-page-content-nav": p.value === "left" || p.value === "right",
3731
- "f-page-content-main": p.value === "center"
3730
+ "f-page-content-nav": m.value === "left" || m.value === "right",
3731
+ "f-page-content-main": m.value === "center"
3732
3732
  };
3733
3733
  return e.customClass && String(e.customClass).split(" ").reduce((g, w) => (g[w] = !0, g), h), h;
3734
3734
  }), S = B(() => {
3735
3735
  const h = {
3736
3736
  flex: "1"
3737
3737
  };
3738
- return (c.value && p.value === "left" || p.value === "right") && (h.width = `${c.value}px`), (u.value && p.value === "bottom" || p.value === "top") && (h.height = `${u.value}px`), h;
3738
+ return (d.value && m.value === "left" || m.value === "right") && (h.width = `${d.value}px`), (u.value && m.value === "bottom" || m.value === "top") && (h.height = `${u.value}px`), h;
3739
3739
  });
3740
3740
  return () => i("div", {
3741
3741
  ref: n,
@@ -3747,15 +3747,15 @@ const dl = /* @__PURE__ */ q({
3747
3747
  "data-dragref": `${l.schema.id}-container`
3748
3748
  }, [t.slots.default && t.slots.default()]), i("span", {
3749
3749
  class: b.value,
3750
- onMousedown: (h) => y(h, p.value)
3750
+ onMousedown: (h) => y(h, m.value)
3751
3751
  }, null)]);
3752
3752
  }
3753
3753
  });
3754
3754
  le.install = (e) => {
3755
- e.component(le.name, le), e.component(te.name, te);
3755
+ e.component(le.name, le), e.component(ne.name, ne);
3756
3756
  };
3757
3757
  le.register = (e, t, n, a) => {
3758
- e.layout = le, t.layout = Et, e["layout-pane"] = te, t["layout-pane"] = Pt;
3758
+ e.layout = le, t.layout = Et, e["layout-pane"] = ne, t["layout-pane"] = Pt;
3759
3759
  };
3760
3760
  le.registerDesigner = (e, t, n) => {
3761
3761
  e.layout = ul, t.layout = Et, e["layout-pane"] = dl, t["layout-pane"] = Pt;
@@ -5935,8 +5935,8 @@ function Fl(e, t) {
5935
5935
  try {
5936
5936
  for (var r = e[Symbol.iterator](), u; !(a = (u = r.next()).done) && (n.push(u.value), !(t && n.length === t)); a = !0)
5937
5937
  ;
5938
- } catch (c) {
5939
- l = !0, o = c;
5938
+ } catch (d) {
5939
+ l = !0, o = d;
5940
5940
  } finally {
5941
5941
  try {
5942
5942
  !a && r.return != null && r.return();
@@ -6007,8 +6007,8 @@ function ge(e) {
6007
6007
  for (var n = this, a = arguments.length, l = new Array(a), o = 0; o < a; o++)
6008
6008
  l[o] = arguments[o];
6009
6009
  return l.length >= e.length ? e.apply(this, l) : function() {
6010
- for (var r = arguments.length, u = new Array(r), c = 0; c < r; c++)
6011
- u[c] = arguments[c];
6010
+ for (var r = arguments.length, u = new Array(r), d = 0; d < r; d++)
6011
+ u[d] = arguments[d];
6012
6012
  return t.apply(n, [].concat(l, u));
6013
6013
  };
6014
6014
  };
@@ -6067,15 +6067,15 @@ function Vl(e) {
6067
6067
  current: e
6068
6068
  }, a = ge(zl)(n, t), l = ge(Al)(n), o = ge(ke.changes)(e), r = ge(Ll)(n);
6069
6069
  function u() {
6070
- var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(C) {
6071
- return C;
6070
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(x) {
6071
+ return x;
6072
6072
  };
6073
- return ke.selector(f), f(n.current);
6073
+ return ke.selector(p), p(n.current);
6074
6074
  }
6075
- function c(f) {
6076
- Ml(a, l, o, r)(f);
6075
+ function d(p) {
6076
+ Ml(a, l, o, r)(p);
6077
6077
  }
6078
- return [u, c];
6078
+ return [u, d];
6079
6079
  }
6080
6080
  function Ll(e, t) {
6081
6081
  return xe(t) ? t(e.current) : t;
@@ -6101,8 +6101,8 @@ function Wl(e) {
6101
6101
  for (var n = this, a = arguments.length, l = new Array(a), o = 0; o < a; o++)
6102
6102
  l[o] = arguments[o];
6103
6103
  return l.length >= e.length ? e.apply(this, l) : function() {
6104
- for (var r = arguments.length, u = new Array(r), c = 0; c < r; c++)
6105
- u[c] = arguments[c];
6104
+ for (var r = arguments.length, u = new Array(r), d = 0; d < r; d++)
6105
+ u[d] = arguments[d];
6106
6106
  return t.apply(n, [].concat(l, u));
6107
6107
  };
6108
6108
  };
@@ -6284,17 +6284,17 @@ const oo = /* @__PURE__ */ q({
6284
6284
  },
6285
6285
  emits: [],
6286
6286
  setup(e, t) {
6287
- const n = d(), a = d();
6287
+ const n = c(), a = c();
6288
6288
  let l = null;
6289
- const o = d(e.modelValue);
6289
+ const o = c(e.modelValue);
6290
6290
  async function r() {
6291
- return fetch(e.configPath).then((x) => x.json());
6291
+ return fetch(e.configPath).then((C) => C.json());
6292
6292
  }
6293
6293
  async function u() {
6294
6294
  if (n.value && !l) {
6295
- const x = await r(), {
6295
+ const C = await r(), {
6296
6296
  vsPath: v
6297
- } = x;
6297
+ } = C;
6298
6298
  Le.config({
6299
6299
  paths: {
6300
6300
  vs: window.location.origin + v
@@ -6332,51 +6332,51 @@ const oo = /* @__PURE__ */ q({
6332
6332
  });
6333
6333
  }
6334
6334
  }
6335
- z(() => e.modelValue, (x) => {
6336
- o.value = x, l == null || l.setValue(x);
6335
+ z(() => e.modelValue, (C) => {
6336
+ o.value = C, l == null || l.setValue(C);
6337
6337
  });
6338
- const c = d(), f = new ResizeObserver((x) => {
6338
+ const d = c(), p = new ResizeObserver((C) => {
6339
6339
  l == null || l.layout();
6340
6340
  const {
6341
6341
  width: v,
6342
6342
  height: s
6343
- } = x[0].contentRect;
6344
- c.value = {
6343
+ } = C[0].contentRect;
6344
+ d.value = {
6345
6345
  width: `${v - 1}px`,
6346
6346
  height: `${s}px`
6347
6347
  };
6348
6348
  });
6349
- function C() {
6349
+ function x() {
6350
6350
  return l == null ? void 0 : l.getValue();
6351
6351
  }
6352
- function p(x) {
6352
+ function m(C) {
6353
6353
  const v = l.getSelection(), s = new a.value.Range(v.startLineNumber, v.startColumn, v.endLineNumber, v.endColumn);
6354
6354
  l.executeEdits("insert-text", [{
6355
6355
  range: s,
6356
- text: x,
6356
+ text: C,
6357
6357
  forceMoveMarkers: !0
6358
6358
  // 移动光标到插入后的位置
6359
6359
  }]);
6360
6360
  }
6361
6361
  J(() => {
6362
- u(), n.value && f.observe(n.value.parentElement);
6362
+ u(), n.value && p.observe(n.value.parentElement);
6363
6363
  }), ct(() => {
6364
- l && l.dispose(), f && n.value && (f.unobserve(n.value), f.disconnect());
6364
+ l && l.dispose(), p && n.value && (p.unobserve(n.value), p.disconnect());
6365
6365
  });
6366
- function m(x) {
6367
- l.setValue(x);
6366
+ function f(C) {
6367
+ l.setValue(C);
6368
6368
  }
6369
6369
  function k() {
6370
- m("");
6370
+ f("");
6371
6371
  }
6372
6372
  return t.expose({
6373
- getContent: C,
6374
- insertText: p,
6373
+ getContent: x,
6374
+ insertText: m,
6375
6375
  clearText: k,
6376
- setContent: m
6376
+ setContent: f
6377
6377
  }), () => i("div", {
6378
6378
  class: "expression-code-editor",
6379
- style: c.value,
6379
+ style: d.value,
6380
6380
  ref: n
6381
6381
  }, null);
6382
6382
  }
@@ -6396,18 +6396,18 @@ const oo = /* @__PURE__ */ q({
6396
6396
  props: so,
6397
6397
  emits: ["dblclickNode"],
6398
6398
  setup(e, t) {
6399
- const n = d(e.data), a = d(), l = d();
6399
+ const n = c(e.data), a = c(), l = c();
6400
6400
  function o() {
6401
- let p = 0;
6401
+ let m = 0;
6402
6402
  return document.querySelectorAll(".entity-variable .fv-grid-hierarchy-cell").forEach((k) => {
6403
6403
  k.style.width = "auto";
6404
- const x = k.scrollWidth;
6405
- x > p && (p = x);
6406
- }), p;
6404
+ const C = k.scrollWidth;
6405
+ C > m && (m = C);
6406
+ }), m;
6407
6407
  }
6408
- z(() => e.data, (p) => {
6409
- var m;
6410
- n.value = p, (m = a.value) == null || m.updateDataSource(p);
6408
+ z(() => e.data, (m) => {
6409
+ var f;
6410
+ n.value = m, (f = a.value) == null || f.updateDataSource(m);
6411
6411
  });
6412
6412
  const r = {
6413
6413
  customRowStatus: e.customRowStatus
@@ -6417,28 +6417,28 @@ const oo = /* @__PURE__ */ q({
6417
6417
  dataType: "string",
6418
6418
  formatter: e.formatter
6419
6419
  }]);
6420
- function c({
6421
- $event: p,
6422
- node: m
6420
+ function d({
6421
+ $event: m,
6422
+ node: f
6423
6423
  }) {
6424
6424
  t.emit("dblclickNode", {
6425
- $event: p,
6426
- node: m
6425
+ $event: m,
6426
+ node: f
6427
6427
  });
6428
6428
  }
6429
- function f() {
6430
- const p = o();
6429
+ function p() {
6430
+ const m = o();
6431
6431
  l.value = {
6432
- minWidth: `${p + 10}px`
6432
+ minWidth: `${m + 10}px`
6433
6433
  };
6434
6434
  }
6435
- function C({
6436
- row: p
6435
+ function x({
6436
+ row: m
6437
6437
  }) {
6438
- ue(f);
6438
+ ue(p);
6439
6439
  }
6440
6440
  return J(() => {
6441
- ue(f);
6441
+ ue(p);
6442
6442
  }), () => i("div", {
6443
6443
  class: "h-100 f-utils-fill",
6444
6444
  style: "overflow:auto",
@@ -6457,10 +6457,10 @@ const oo = /* @__PURE__ */ q({
6457
6457
  fitColumns: !0,
6458
6458
  fitMode: "percentage"
6459
6459
  },
6460
- onDblclickNode: c,
6460
+ onDblclickNode: d,
6461
6461
  style: l.value,
6462
6462
  autoHeight: !0,
6463
- onExpandNode: C
6463
+ onExpandNode: x
6464
6464
  }, null)]);
6465
6465
  }
6466
6466
  }), uo = /* @__PURE__ */ q({
@@ -6468,15 +6468,15 @@ const oo = /* @__PURE__ */ q({
6468
6468
  props: io,
6469
6469
  emits: ["variableItemDblClick", "entityItemDblClick", "fieldClick"],
6470
6470
  setup(e, t) {
6471
- const n = d("dataEntity"), a = d(e.dataSource), {
6471
+ const n = c("dataEntity"), a = c(e.dataSource), {
6472
6472
  entities: l,
6473
6473
  variables: o
6474
- } = a.value, r = d(""), u = d((l == null ? void 0 : l.fields) || []), c = (T, N) => {
6474
+ } = a.value, r = c(""), u = c((l == null ? void 0 : l.fields) || []), d = (T, N) => {
6475
6475
  T.stopPropagation(), t.emit("fieldClick", {
6476
6476
  $event: T,
6477
6477
  item: N.raw
6478
6478
  });
6479
- }, f = (T, N) => {
6479
+ }, p = (T, N) => {
6480
6480
  const R = `${N.raw.name} [${N.raw.bindingPath}]`;
6481
6481
  return i("div", {
6482
6482
  class: "d-flex align-items-center w-100 entity-field",
@@ -6488,13 +6488,13 @@ const oo = /* @__PURE__ */ q({
6488
6488
  title: "插入属性名称",
6489
6489
  class: "btn btn-link d-none",
6490
6490
  style: "width:24px;height:24px",
6491
- onClick: (j) => c(j, N),
6491
+ onClick: (j) => d(j, N),
6492
6492
  onDblclick: (j) => j.stopPropagation()
6493
6493
  }, [i("span", {
6494
6494
  class: "f-icon f-icon-new-edit",
6495
6495
  style: "font-size: 12px;"
6496
6496
  }, null)])]);
6497
- }, C = d({}), p = d(), m = B(() => (T) => ({
6497
+ }, x = c({}), m = c(), f = B(() => (T) => ({
6498
6498
  "list-group d-flex flex-column": !0,
6499
6499
  "f-utils-fill": n.value === T,
6500
6500
  expand: n.value === T,
@@ -6502,25 +6502,25 @@ const oo = /* @__PURE__ */ q({
6502
6502
  })), k = B(() => (T) => ({
6503
6503
  "f-icon f-icon-arrow-chevron-up": n.value !== T,
6504
6504
  "f-icon f-icon-arrow-chevron-down": n.value === T
6505
- })), x = B(() => (T) => ({
6505
+ })), C = B(() => (T) => ({
6506
6506
  "functions-type d-flex flex-column": !0,
6507
- open: C.value[T],
6508
- closed: !C.value[T]
6507
+ open: x.value[T],
6508
+ closed: !x.value[T]
6509
6509
  })), v = B(() => (T) => ({
6510
- "f-icon f-icon-arrow-chevron-down": C.value[T],
6511
- "f-icon f-icon-arrow-chevron-right": !C.value[T]
6510
+ "f-icon f-icon-arrow-chevron-down": x.value[T],
6511
+ "f-icon f-icon-arrow-chevron-right": !x.value[T]
6512
6512
  })), s = B(() => (T) => {
6513
6513
  var N;
6514
6514
  return {
6515
6515
  "functions-item pl-2": !0,
6516
- selected: ((N = p.value) == null ? void 0 : N.key) === T.key
6516
+ selected: ((N = m.value) == null ? void 0 : N.key) === T.key
6517
6517
  };
6518
6518
  });
6519
6519
  function b(T, N) {
6520
- T.stopPropagation(), C.value = C.value || {}, C.value[N] = !C.value[N];
6520
+ T.stopPropagation(), x.value = x.value || {}, x.value[N] = !x.value[N];
6521
6521
  }
6522
6522
  function y(T, N) {
6523
- T.stopPropagation(), p.value = N;
6523
+ T.stopPropagation(), m.value = N;
6524
6524
  }
6525
6525
  function F(T, N) {
6526
6526
  t.emit("variableItemDblClick", {
@@ -6542,7 +6542,7 @@ const oo = /* @__PURE__ */ q({
6542
6542
  function h() {
6543
6543
  return i(ro, {
6544
6544
  data: u.value,
6545
- formatter: f,
6545
+ formatter: p,
6546
6546
  onDblclickNode: S
6547
6547
  }, null);
6548
6548
  }
@@ -6552,7 +6552,7 @@ const oo = /* @__PURE__ */ q({
6552
6552
  class: "w-100 functions-list"
6553
6553
  }, [Object.keys(o).map((T) => o[T].visible && i("li", {
6554
6554
  "variable-type": T,
6555
- class: x.value(T)
6555
+ class: C.value(T)
6556
6556
  }, [i("div", {
6557
6557
  class: "functions-type-name pl-2 d-flex align-items-center",
6558
6558
  onClick: (N) => {
@@ -6579,7 +6579,7 @@ const oo = /* @__PURE__ */ q({
6579
6579
  J(() => {
6580
6580
  if (o) {
6581
6581
  const T = Object.keys(o)[0];
6582
- C.value[T] = !0;
6582
+ x.value[T] = !0;
6583
6583
  }
6584
6584
  });
6585
6585
  function O(T, N) {
@@ -6615,7 +6615,7 @@ const oo = /* @__PURE__ */ q({
6615
6615
  }, [i("ul", {
6616
6616
  class: "d-flex flex-column h-100"
6617
6617
  }, [i("li", {
6618
- class: m.value("dataEntity")
6618
+ class: f.value("dataEntity")
6619
6619
  }, [i("div", {
6620
6620
  class: "title px-2 d-flex align-items-center",
6621
6621
  onClick: (T) => w(T, "dataEntity")
@@ -6637,7 +6637,7 @@ const oo = /* @__PURE__ */ q({
6637
6637
  onClear: I,
6638
6638
  onKeyup: E
6639
6639
  }, null)]), h()])]), i("li", {
6640
- class: m.value("variables")
6640
+ class: f.value("variables")
6641
6641
  }, [i("div", {
6642
6642
  class: "title px-2 d-flex align-items-center",
6643
6643
  onClick: (T) => w(T, "variables")
@@ -6661,7 +6661,7 @@ const oo = /* @__PURE__ */ q({
6661
6661
  props: co,
6662
6662
  emits: ["insertFunction", "search"],
6663
6663
  setup(e, t) {
6664
- const n = d(), a = d(""), l = d(), o = d({}), r = d(""), u = "没有与搜索条件匹配的项", c = d(e.functionItems), f = B(() => (h) => e.singleExpand ? {
6664
+ const n = c(), a = c(""), l = c(), o = c({}), r = c(""), u = "没有与搜索条件匹配的项", d = c(e.functionItems), p = B(() => (h) => e.singleExpand ? {
6665
6665
  "functions-type d-flex flex-column": !0,
6666
6666
  open: a.value === h,
6667
6667
  closed: a.value !== h
@@ -6669,21 +6669,21 @@ const oo = /* @__PURE__ */ q({
6669
6669
  "functions-type d-flex flex-column": !0,
6670
6670
  open: o.value[h],
6671
6671
  closed: !o.value[h]
6672
- }), C = B(() => (h) => e.singleExpand ? {
6672
+ }), x = B(() => (h) => e.singleExpand ? {
6673
6673
  "f-icon f-icon-arrow-chevron-down": a.value === h,
6674
6674
  "f-icon f-icon-arrow-chevron-right": a.value !== h
6675
6675
  } : {
6676
6676
  "f-icon f-icon-arrow-chevron-down": o.value[h],
6677
6677
  "f-icon f-icon-arrow-chevron-right": !o.value[h]
6678
- }), p = B(() => (h) => {
6678
+ }), m = B(() => (h) => {
6679
6679
  var g;
6680
6680
  return {
6681
6681
  "functions-item pl-2": !0,
6682
6682
  selected: ((g = l.value) == null ? void 0 : g.key) === h.key
6683
6683
  };
6684
- }), m = d(Object.keys(c.value));
6684
+ }), f = c(Object.keys(d.value));
6685
6685
  z(() => e.functionItems, (h) => {
6686
- c.value = h, m.value = Object.keys(c.value), r.value && (o.value = m.value.reduce((g, w) => (g[w] = !0, g), {}));
6686
+ d.value = h, f.value = Object.keys(d.value), r.value && (o.value = f.value.reduce((g, w) => (g[w] = !0, g), {}));
6687
6687
  });
6688
6688
  function k(h) {
6689
6689
  h || (h = a.value);
@@ -6693,7 +6693,7 @@ const oo = /* @__PURE__ */ q({
6693
6693
  block: "nearest"
6694
6694
  }));
6695
6695
  }
6696
- function x(h) {
6696
+ function C(h) {
6697
6697
  if (e.singleExpand) {
6698
6698
  if (a.value === h) {
6699
6699
  a.value = "";
@@ -6730,22 +6730,22 @@ const oo = /* @__PURE__ */ q({
6730
6730
  h.key === "Enter" && b();
6731
6731
  }
6732
6732
  function S() {
6733
- return m.value.length ? m.value.map((h) => i("li", {
6733
+ return f.value.length ? f.value.map((h) => i("li", {
6734
6734
  "function-type": h,
6735
- class: f.value(h)
6735
+ class: p.value(h)
6736
6736
  }, [i("div", {
6737
6737
  class: "functions-type-name pl-2 d-flex align-items-center",
6738
6738
  onClick: () => {
6739
- x(h);
6739
+ C(h);
6740
6740
  }
6741
6741
  }, [i("span", {
6742
- class: C.value(h)
6743
- }, null), c.value[h].name]), i("ul", {
6742
+ class: x.value(h)
6743
+ }, null), d.value[h].name]), i("ul", {
6744
6744
  class: "pl-3 mr-2"
6745
- }, [c.value[h].items.map((g) => {
6745
+ }, [d.value[h].items.map((g) => {
6746
6746
  if (g.visible !== !1)
6747
6747
  return i("li", {
6748
- class: p.value(g),
6748
+ class: m.value(g),
6749
6749
  onClick: (w) => v(w, g),
6750
6750
  onDblclick: (w) => s(w, g)
6751
6751
  }, [h === "advanced" ? g.key : g.name]);
@@ -6754,14 +6754,14 @@ const oo = /* @__PURE__ */ q({
6754
6754
  }, [u]);
6755
6755
  }
6756
6756
  return J(() => {
6757
- a.value = m.value[0], o.value = m.value.reduce((h, g) => (h[g] = a.value === g, h), {});
6757
+ a.value = f.value[0], o.value = f.value.reduce((h, g) => (h[g] = a.value === g, h), {});
6758
6758
  }), () => i("div", {
6759
6759
  class: "d-flex f-utils-fill flex-column",
6760
6760
  ref: n
6761
6761
  }, [i(le, {
6762
6762
  class: "flex-column expression-left"
6763
6763
  }, {
6764
- default: () => [i(te, {
6764
+ default: () => [i(ne, {
6765
6765
  position: "top",
6766
6766
  minHeight: 50,
6767
6767
  height: 50,
@@ -6780,7 +6780,7 @@ const oo = /* @__PURE__ */ q({
6780
6780
  onClear: y,
6781
6781
  onKeyup: F
6782
6782
  }, null)]
6783
- }), i(te, {
6783
+ }), i(ne, {
6784
6784
  position: "center",
6785
6785
  "custom-class": "layout-border"
6786
6786
  }, {
@@ -6788,7 +6788,7 @@ const oo = /* @__PURE__ */ q({
6788
6788
  class: "w-100 functions-list",
6789
6789
  style: "user-select: none"
6790
6790
  }, [S()])]
6791
- }), i(te, {
6791
+ }), i(ne, {
6792
6792
  "custom-class": "position-relative",
6793
6793
  position: "bottom",
6794
6794
  minHeight: 80
@@ -6812,38 +6812,38 @@ function yo(e) {
6812
6812
  async function n() {
6813
6813
  if (window.esprima == null) {
6814
6814
  const r = await t(), { path: u } = r;
6815
- return new Promise((c, f) => {
6816
- const C = document.createElement("script");
6817
- C.type = "text/javascript", C.src = u + "?v=" + Date.now(), C.onload = c, C.onerror = f, document.head.appendChild(C);
6815
+ return new Promise((d, p) => {
6816
+ const x = document.createElement("script");
6817
+ x.type = "text/javascript", x.src = u + "?v=" + Date.now(), x.onload = d, x.onerror = p, document.head.appendChild(x);
6818
6818
  });
6819
6819
  }
6820
6820
  }
6821
6821
  function a(r) {
6822
- const u = [], c = window.esprima.tokenize(r);
6823
- for (let m = 0; m < c.length; m++)
6824
- u.push(c[m].value);
6825
- const f = [];
6826
- for (let m = 0; m < u.length; m++) {
6827
- const k = r.indexOf(u[m]);
6828
- k !== -1 ? f.push(r.substring(0, k)) : f.push(""), r = r.slice(k + u[m].length), m === u.length - 1 && f.push(r);
6829
- }
6830
- const C = [], p = u.length;
6831
- for (let m = 0; m < p; m++)
6832
- f[m] !== "" && C.push(f[m]), u[m] !== "" && C.push(u[m]), m === p - 1 && f[m + 1] !== "" && C.push(f[m + 1]);
6833
- return C;
6822
+ const u = [], d = window.esprima.tokenize(r);
6823
+ for (let f = 0; f < d.length; f++)
6824
+ u.push(d[f].value);
6825
+ const p = [];
6826
+ for (let f = 0; f < u.length; f++) {
6827
+ const k = r.indexOf(u[f]);
6828
+ k !== -1 ? p.push(r.substring(0, k)) : p.push(""), r = r.slice(k + u[f].length), f === u.length - 1 && p.push(r);
6829
+ }
6830
+ const x = [], m = u.length;
6831
+ for (let f = 0; f < m; f++)
6832
+ p[f] !== "" && x.push(p[f]), u[f] !== "" && x.push(u[f]), f === m - 1 && p[f + 1] !== "" && x.push(p[f + 1]);
6833
+ return x;
6834
6834
  }
6835
6835
  function l(r, u = "key2name") {
6836
- const c = /* @__PURE__ */ new Map();
6836
+ const d = /* @__PURE__ */ new Map();
6837
6837
  if (!r)
6838
- return c;
6839
- let C = Object.values(r).map((p) => p.items).flat();
6840
- for (; C.length > 0; ) {
6841
- const p = C.filter((m) => m.name === C[0].name);
6842
- p.length > 1 ? C.filter((m) => m.name === C[0].name).forEach((m) => {
6843
- u === "key2name" ? c.set(m.key, m.key + "_" + m.name) : u === "name2key" && c.set(m.key + "_" + m.name, m.key);
6844
- }) : u === "key2name" ? c.set(p[0].key, p[0].name) : u === "name2key" && c.set(p[0].name, p[0].key), C = C.filter((m) => m.name !== C[0].name);
6838
+ return d;
6839
+ let x = Object.values(r).map((m) => m.items).flat();
6840
+ for (; x.length > 0; ) {
6841
+ const m = x.filter((f) => f.name === x[0].name);
6842
+ m.length > 1 ? x.filter((f) => f.name === x[0].name).forEach((f) => {
6843
+ u === "key2name" ? d.set(f.key, f.key + "_" + f.name) : u === "name2key" && d.set(f.key + "_" + f.name, f.key);
6844
+ }) : u === "key2name" ? d.set(m[0].key, m[0].name) : u === "name2key" && d.set(m[0].name, m[0].key), x = x.filter((f) => f.name !== x[0].name);
6845
6845
  }
6846
- return c;
6846
+ return d;
6847
6847
  }
6848
6848
  n();
6849
6849
  async function o(r) {
@@ -6857,7 +6857,7 @@ function yo(e) {
6857
6857
  };
6858
6858
  }
6859
6859
  function mo(e, t, n) {
6860
- const a = d(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: r } = yo(e);
6860
+ const a = c(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: r } = yo(e);
6861
6861
  function u() {
6862
6862
  const s = de(t);
6863
6863
  if (a.value) {
@@ -6871,12 +6871,12 @@ function mo(e, t, n) {
6871
6871
  }
6872
6872
  return s;
6873
6873
  }
6874
- function c(s) {
6874
+ function d(s) {
6875
6875
  const b = t.analytical.items.find((y) => y.key === "GetContextParameter");
6876
6876
  if (b)
6877
6877
  return b.name + '("' + s.name + '")';
6878
6878
  }
6879
- function f(s) {
6879
+ function p(s) {
6880
6880
  if (!s || s.length === 0)
6881
6881
  return "";
6882
6882
  const b = (y) => {
@@ -6891,14 +6891,14 @@ function mo(e, t, n) {
6891
6891
  };
6892
6892
  return s.map(b).join(",");
6893
6893
  }
6894
- function C(s) {
6894
+ function x(s) {
6895
6895
  let b = s.name;
6896
- return s.type.toLowerCase() !== "advanced" && (b += "(" + f(s.params) + ")"), b;
6896
+ return s.type.toLowerCase() !== "advanced" && (b += "(" + p(s.params) + ")"), b;
6897
6897
  }
6898
- function p(s) {
6898
+ function m(s) {
6899
6899
  return s == null ? void 0 : s.bindingPath;
6900
6900
  }
6901
- function m(s) {
6901
+ function f(s) {
6902
6902
  if (!s)
6903
6903
  return "";
6904
6904
  const b = l(s), y = o(n, "name2key");
@@ -6957,40 +6957,40 @@ function mo(e, t, n) {
6957
6957
  }
6958
6958
  return S;
6959
6959
  }
6960
- function x(s) {
6960
+ function C(s) {
6961
6961
  if (!s)
6962
6962
  return "";
6963
6963
  const b = l(s), y = o(n, "key2name"), F = Object.values(t).map((h) => h.items).flat();
6964
6964
  return k(b, F, y, ["DefaultFunction", "Math", "DefaultExtendFunctionProxy"]);
6965
6965
  }
6966
6966
  async function v(s) {
6967
- return await r(() => x(s));
6967
+ return await r(() => C(s));
6968
6968
  }
6969
6969
  return {
6970
6970
  resetFunctionItems: u,
6971
- getFieldExpression: p,
6972
- getFunctionExpression: C,
6973
- getContextVariableExpression: c,
6974
- getExpressionCodeValue: m,
6971
+ getFieldExpression: m,
6972
+ getFunctionExpression: x,
6973
+ getContextVariableExpression: d,
6974
+ getExpressionCodeValue: f,
6975
6975
  getExpressionTextValue: v
6976
6976
  };
6977
6977
  }
6978
6978
  function po(e, t) {
6979
- const n = d([]), a = de(t.value), l = Object.values(a).map((u) => u.items).flat();
6979
+ const n = c([]), a = de(t.value), l = Object.values(a).map((u) => u.items).flat();
6980
6980
  function o(u) {
6981
- const c = de(a);
6982
- return Object.keys(c).forEach((f) => {
6983
- const C = c[f].items.filter((p) => u.includes(p.key));
6984
- C.length > 0 ? c[f].items = C : delete c[f];
6985
- }), c;
6981
+ const d = de(a);
6982
+ return Object.keys(d).forEach((p) => {
6983
+ const x = d[p].items.filter((m) => u.includes(m.key));
6984
+ x.length > 0 ? d[p].items = x : delete d[p];
6985
+ }), d;
6986
6986
  }
6987
6987
  function r(u) {
6988
6988
  if (!u) {
6989
6989
  t.value = a;
6990
6990
  return;
6991
6991
  }
6992
- const c = l.filter((f) => f.name.toLowerCase().includes(u.toLowerCase())).map((f) => f.key);
6993
- t.value = o(c);
6992
+ const d = l.filter((p) => p.name.toLowerCase().includes(u.toLowerCase())).map((p) => p.key);
6993
+ t.value = o(d);
6994
6994
  }
6995
6995
  return {
6996
6996
  searchResultList: n,
@@ -7004,7 +7004,7 @@ const vo = /* @__PURE__ */ q({
7004
7004
  emits: [],
7005
7005
  setup(e, t) {
7006
7006
  var I;
7007
- const n = d(), a = d(e.validateMessage), l = d(e.messageType), o = d(e.modelValue), r = d(), u = [{
7007
+ const n = c(), a = c(e.validateMessage), l = c(e.messageType), o = c(e.modelValue), r = c(), u = [{
7008
7008
  label: "提示",
7009
7009
  value: "info"
7010
7010
  }, {
@@ -7014,21 +7014,21 @@ const vo = /* @__PURE__ */ q({
7014
7014
  label: "错误",
7015
7015
  value: "error"
7016
7016
  }], {
7017
- getFunctionExpression: c,
7018
- getContextVariableExpression: f,
7019
- resetFunctionItems: C,
7020
- getFieldExpression: p,
7021
- getExpressionCodeValue: m,
7017
+ getFunctionExpression: d,
7018
+ getContextVariableExpression: p,
7019
+ resetFunctionItems: x,
7020
+ getFieldExpression: m,
7021
+ getExpressionCodeValue: f,
7022
7022
  getExpressionTextValue: k
7023
- } = mo(e, gl, e.variables), x = d(C()), {
7023
+ } = mo(e, gl, e.variables), C = c(x()), {
7024
7024
  onFunctionSearch: v
7025
- } = po(e, x);
7025
+ } = po(e, C);
7026
7026
  function s({
7027
7027
  $event: E,
7028
7028
  item: T
7029
7029
  }) {
7030
7030
  var R;
7031
- const N = c(T);
7031
+ const N = d(T);
7032
7032
  (R = r.value) == null || R.insertText(N);
7033
7033
  }
7034
7034
  function b({
@@ -7036,7 +7036,7 @@ const vo = /* @__PURE__ */ q({
7036
7036
  item: T
7037
7037
  }) {
7038
7038
  var R;
7039
- const N = f(T);
7039
+ const N = p(T);
7040
7040
  (R = r.value) == null || R.insertText(N);
7041
7041
  }
7042
7042
  function y(E) {
@@ -7059,7 +7059,7 @@ const vo = /* @__PURE__ */ q({
7059
7059
  entityCode: R
7060
7060
  }) {
7061
7061
  var P;
7062
- const j = p(T);
7062
+ const j = m(T);
7063
7063
  N = e.isServerSide ? S(T.parents) : N;
7064
7064
  let $ = `${N}.${j}`;
7065
7065
  R === j && ($ = j), (P = r.value) == null || P.insertText(`${$}`);
@@ -7069,7 +7069,7 @@ const vo = /* @__PURE__ */ q({
7069
7069
  item: T
7070
7070
  }) {
7071
7071
  var R;
7072
- const N = p(T);
7072
+ const N = m(T);
7073
7073
  (R = r.value) == null || R.insertText(`${N}`);
7074
7074
  }
7075
7075
  function w() {
@@ -7080,12 +7080,12 @@ const vo = /* @__PURE__ */ q({
7080
7080
  var T;
7081
7081
  const E = (T = r.value) == null ? void 0 : T.getContent();
7082
7082
  return {
7083
- value: m(E),
7083
+ value: f(E),
7084
7084
  message: a.value,
7085
7085
  messageType: l.value
7086
7086
  };
7087
7087
  }
7088
- const L = d("");
7088
+ const L = c("");
7089
7089
  function V() {
7090
7090
  var E;
7091
7091
  (E = r.value) == null || E.clearText();
@@ -7105,18 +7105,18 @@ const vo = /* @__PURE__ */ q({
7105
7105
  ref: n,
7106
7106
  class: "h-100 d-flex flex-column f-utils-fill mx-3 expression-editor"
7107
7107
  }, [i(le, null, {
7108
- default: () => [i(te, {
7108
+ default: () => [i(ne, {
7109
7109
  position: "left",
7110
7110
  width: 248,
7111
7111
  minWidth: 130
7112
7112
  }, {
7113
7113
  default: () => [i(fo, {
7114
- functionItems: x.value,
7114
+ functionItems: C.value,
7115
7115
  singleExpand: e.singleExpand,
7116
7116
  onInsertFunction: s,
7117
7117
  onSearch: v
7118
7118
  }, null)]
7119
- }), i(te, {
7119
+ }), i(ne, {
7120
7120
  position: "center",
7121
7121
  "custom-class": "layout-border flex-column",
7122
7122
  style: "overflow:hidden"
@@ -7148,7 +7148,7 @@ const vo = /* @__PURE__ */ q({
7148
7148
  class: "form-control",
7149
7149
  style: "resize:none;border:none;outline:1px solid var(--f-neutral-04);"
7150
7150
  }, null), [[xn, a.value]])])]
7151
- }), e.showDataPanel && i(te, {
7151
+ }), e.showDataPanel && i(ne, {
7152
7152
  position: "right",
7153
7153
  width: 258,
7154
7154
  minWidth: 130
@@ -7394,23 +7394,23 @@ const So = {
7394
7394
  props: To,
7395
7395
  emits: ["close", "click"],
7396
7396
  setup: (e, t) => {
7397
- const n = d(e.animate), a = "fadeOut", l = B(() => e.options), o = d(!1), r = B(() => l.value.title && l.value.message), u = B(() => !l.value.title && l.value.message), c = B(() => {
7397
+ const n = c(e.animate), a = "fadeOut", l = B(() => e.options), o = c(!1), r = B(() => l.value.title && l.value.message), u = B(() => !l.value.title && l.value.message), d = B(() => {
7398
7398
  const y = {
7399
7399
  animated: o.value,
7400
7400
  toast: !0,
7401
7401
  "toast--only-content": !r.value
7402
7402
  };
7403
7403
  return y[e.animate] = !1, y[a] = o.value, y["toasty-type-" + l.value.type] = !0, l.value.theme && (y[l.value.theme] = !0), y;
7404
- }), f = B(() => {
7404
+ }), p = B(() => {
7405
7405
  const S = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, h = {
7406
7406
  "f-icon": !0
7407
7407
  };
7408
7408
  return h[S] = !0, h;
7409
- }), C = B(() => l.value.title || l.value.message), p = B(() => e.showCloseButton), m = B(() => !!l.value.buttons || !!t.slots.default), k = B(() => Z.getLocale() === "en" ? {
7409
+ }), x = B(() => l.value.title || l.value.message), m = B(() => e.showCloseButton), f = B(() => !!l.value.buttons || !!t.slots.default), k = B(() => Q.getLocale() === "en" ? {
7410
7410
  wordBreak: "keep-all",
7411
7411
  overflowWrap: "break-word"
7412
7412
  } : {});
7413
- function x(y) {
7413
+ function C(y) {
7414
7414
  y.stopPropagation(), y.preventDefault(), o.value = !1, setTimeout(() => {
7415
7415
  t.emit("close", l.value);
7416
7416
  }, 200);
@@ -7433,20 +7433,20 @@ const So = {
7433
7433
  }, [F.text]))), t.slots.default && t.slots.default()])]);
7434
7434
  };
7435
7435
  return () => i("div", {
7436
- class: c.value,
7436
+ class: d.value,
7437
7437
  style: "min-height:44px"
7438
- }, [p.value && i("button", {
7439
- title: Z.getLocaleValue("messageBox.close"),
7438
+ }, [m.value && i("button", {
7439
+ title: Q.getLocaleValue("messageBox.close"),
7440
7440
  class: "toast-close f-btn-icon f-bare",
7441
- onClick: x
7441
+ onClick: C
7442
7442
  }, [i("span", {
7443
7443
  class: "f-icon modal_close"
7444
- }, null)]), C.value && i("section", {
7444
+ }, null)]), x.value && i("section", {
7445
7445
  class: "modal-tips"
7446
7446
  }, [!r.value && i("div", {
7447
7447
  class: "float-left modal-tips-iconwrap"
7448
7448
  }, [i("span", {
7449
- class: f.value
7449
+ class: p.value
7450
7450
  }, null)]), i("div", {
7451
7451
  class: "modal-tips-content"
7452
7452
  }, [r.value && i(ce, null, [i("h5", {
@@ -7456,7 +7456,7 @@ const So = {
7456
7456
  class: "toast-msg",
7457
7457
  innerHTML: l.value.message,
7458
7458
  style: k.value
7459
- }, null), m.value && b()]), u.value && (l.value.buttons ? i("div", {
7459
+ }, null), f.value && b()]), u.value && (l.value.buttons ? i("div", {
7460
7460
  class: "toast-title-btns-wrapper d-flex"
7461
7461
  }, [i("h5", {
7462
7462
  class: "toast-title modal-tips-title only-toast-msg",
@@ -7532,27 +7532,27 @@ const we = /* @__PURE__ */ q({
7532
7532
  right: 12,
7533
7533
  top: 20,
7534
7534
  bottom: 12
7535
- }, u = d(), c = d(e.options), f = d(e.showCloseButton), C = B(() => e.position || "bottom-right"), p = B(() => e.timeout != null ? e.timeout : 3e3), m = B(() => {
7535
+ }, u = c(), d = c(e.options), p = c(e.showCloseButton), x = B(() => e.position || "bottom-right"), m = B(() => e.timeout != null ? e.timeout : 3e3), f = B(() => {
7536
7536
  const s = e.bottom ? e.bottom : r.bottom, b = e.top ? e.top : r.top, y = {
7537
7537
  transition: "all 0.2s ease",
7538
- left: C.value.indexOf("left") > -1 ? `${e.left ? e.left : r.left}px` : "",
7539
- right: C.value.indexOf("right") > -1 ? `${e.right ? e.right : r.right}px` : "",
7540
- top: C.value.indexOf("top") > -1 ? `${b}px` : "",
7541
- bottom: C.value.indexOf("bottom") > -1 ? `${s}px` : ""
7538
+ left: x.value.indexOf("left") > -1 ? `${e.left ? e.left : r.left}px` : "",
7539
+ right: x.value.indexOf("right") > -1 ? `${e.right ? e.right : r.right}px` : "",
7540
+ top: x.value.indexOf("top") > -1 ? `${b}px` : "",
7541
+ bottom: x.value.indexOf("bottom") > -1 ? `${s}px` : ""
7542
7542
  };
7543
- return C.value.indexOf("center") > -1 && (y.left = "50%", y.marginLeft = "calc(-24rem / 2)", C.value === "center-center" && (y.top = "50%", y.transform = "translate(-50%, -50%)")), y;
7543
+ return x.value.indexOf("center") > -1 && (y.left = "50%", y.marginLeft = "calc(-24rem / 2)", x.value === "center-center" && (y.top = "50%", y.transform = "translate(-50%, -50%)")), y;
7544
7544
  });
7545
7545
  function k(s) {
7546
7546
  t.emit("close");
7547
7547
  }
7548
- p.value && setTimeout(() => {
7548
+ m.value && setTimeout(() => {
7549
7549
  k();
7550
- }, p.value), t.expose({
7550
+ }, m.value), t.expose({
7551
7551
  closeToast: k,
7552
7552
  container: u,
7553
- notifyPosition: C
7553
+ notifyPosition: x
7554
7554
  });
7555
- function x(s, b) {
7555
+ function C(s, b) {
7556
7556
  k();
7557
7557
  }
7558
7558
  return () => {
@@ -7562,21 +7562,21 @@ const we = /* @__PURE__ */ q({
7562
7562
  ref: u
7563
7563
  }, [(s = e.options) == null ? void 0 : s.message]) : i("div", {
7564
7564
  class: o.value,
7565
- style: m.value,
7565
+ style: f.value,
7566
7566
  ref: u
7567
7567
  }, [i(ze, {
7568
- options: c.value,
7569
- showCloseButton: f.value,
7568
+ options: d.value,
7569
+ showCloseButton: p.value,
7570
7570
  animate: e.animate,
7571
- onClose: (b) => x(b, c.value)
7571
+ onClose: (b) => C(b, d.value)
7572
7572
  }, null)]);
7573
7573
  };
7574
7574
  }
7575
7575
  });
7576
7576
  class Do {
7577
7577
  constructor() {
7578
- Q(this, "notifyRefs", []);
7579
- Q(this, "globalConfig", ae({}));
7578
+ ee(this, "notifyRefs", []);
7579
+ ee(this, "globalConfig", te({}));
7580
7580
  }
7581
7581
  escapeAllHtml(t) {
7582
7582
  if (typeof t != "string" || !t)
@@ -7596,21 +7596,21 @@ class Do {
7596
7596
  o.style.display = "contents";
7597
7597
  const r = He({
7598
7598
  setup() {
7599
- var f;
7600
- const u = d();
7601
- function c() {
7599
+ var p;
7600
+ const u = c();
7601
+ function d() {
7602
7602
  u.value.container.style.transform = "scale(0)", setTimeout(() => {
7603
7603
  n.updateNotifyPositionForClose(l, u), r.unmount();
7604
7604
  }, 220);
7605
7605
  }
7606
7606
  if (l.position.indexOf("top") > -1) {
7607
- const C = n.getNotifyInstances(l.position), p = C[C.length - 1];
7608
- if (p) {
7609
- const m = p.value.container.getBoundingClientRect();
7610
- l.top = m.bottom;
7607
+ const x = n.getNotifyInstances(l.position), m = x[x.length - 1];
7608
+ if (m) {
7609
+ const f = m.value.container.getBoundingClientRect();
7610
+ l.top = f.bottom;
7611
7611
  }
7612
7612
  }
7613
- return l.safeHtml && ((f = l.options) != null && f.message) && (l.options.message = n.escapeAllHtml(l.options.message)), Be(() => {
7613
+ return l.safeHtml && ((p = l.options) != null && p.message) && (l.options.message = n.escapeAllHtml(l.options.message)), Be(() => {
7614
7614
  document.body.removeChild(o);
7615
7615
  }), J(() => {
7616
7616
  n.updateNotifyPositionForCreate(l, u);
@@ -7622,12 +7622,12 @@ class Do {
7622
7622
  default: () => [i(we, he({
7623
7623
  ref: u
7624
7624
  }, l, {
7625
- onClose: c
7625
+ onClose: d
7626
7626
  }), null)]
7627
7627
  });
7628
7628
  }
7629
7629
  });
7630
- return r.provide("NotifyService", this), document.body.appendChild(o), r.use(Z.i18n), r.mount(o), r;
7630
+ return r.provide("NotifyService", this), document.body.appendChild(o), r.use(Q.i18n), r.mount(o), r;
7631
7631
  }
7632
7632
  getNotifyInstances(t) {
7633
7633
  return this.notifyRefs.filter((n) => n.value.notifyPosition === t);
@@ -7658,14 +7658,14 @@ class Do {
7658
7658
  buildNotifyProps(t, n) {
7659
7659
  let a = "", l = "", o, r, u;
7660
7660
  typeof n == "string" ? a = n : n && (a = n.message || "", l = n.title || "", r = n.position || null, u = n.showCloseButton != null ? n.showCloseButton : null, o = n.timeout != null ? n.timeout : null);
7661
- const f = {
7661
+ const p = {
7662
7662
  options: {
7663
7663
  type: t,
7664
7664
  message: a,
7665
7665
  title: l
7666
7666
  }
7667
7667
  };
7668
- return r != null && (f.position = r), u != null && (f.showCloseButton = u), o != null && (f.timeout = o), f;
7668
+ return r != null && (p.position = r), u != null && (p.showCloseButton = u), o != null && (p.timeout = o), p;
7669
7669
  }
7670
7670
  info(t) {
7671
7671
  const n = this.buildNotifyProps("info", t);
@@ -7702,14 +7702,14 @@ const Po = /* @__PURE__ */ q({
7702
7702
  name: "f-expression-textbox",
7703
7703
  props: Lt,
7704
7704
  setup(e, t) {
7705
- const n = _(Xe), a = _("FLoadingService"), l = '<i class="f-icon f-icon-lookup"></i>', o = d(e.modelValue), r = d(e.entities), u = d(e.variables), c = d(), f = d(e.validateMessage || ""), C = d("info");
7706
- async function p() {
7705
+ const n = _(Xe), a = _("FLoadingService"), l = '<i class="f-icon f-icon-lookup"></i>', o = c(e.modelValue), r = c(e.entities), u = c(e.variables), d = c(), p = c(e.validateMessage || ""), x = c("info");
7706
+ async function m() {
7707
7707
  const {
7708
7708
  value: v,
7709
7709
  message: s,
7710
7710
  messageType: b
7711
- } = c.value.getExpressionValue();
7712
- if (f.value = s, C.value = b, e.beforeSubmit && typeof e.beforeSubmit == "function") {
7711
+ } = d.value.getExpressionValue();
7712
+ if (p.value = s, x.value = b, e.beforeSubmit && typeof e.beforeSubmit == "function") {
7713
7713
  const y = await e.beforeSubmit({
7714
7714
  notifyService: n,
7715
7715
  expressionValue: v
@@ -7732,13 +7732,13 @@ const Po = /* @__PURE__ */ q({
7732
7732
  expression: v,
7733
7733
  message: s
7734
7734
  };
7735
- e.showMessageType && (y.messageType = C.value);
7735
+ e.showMessageType && (y.messageType = x.value);
7736
7736
  const F = e.onSubmitModal(y);
7737
7737
  e.onExpressionChanged && e.onExpressionChanged(F);
7738
7738
  }
7739
7739
  return !0;
7740
7740
  }
7741
- const m = {
7741
+ const f = {
7742
7742
  title: e.dialogTitle || "表达式编辑器",
7743
7743
  width: e.dialogWidth || 975,
7744
7744
  height: e.dialogHeight || 600,
@@ -7755,7 +7755,7 @@ const Po = /* @__PURE__ */ q({
7755
7755
  class: "btn btn-secondary mr-2",
7756
7756
  handle: (v) => {
7757
7757
  var s;
7758
- return (s = c.value) == null || s.resetExpression(), !1;
7758
+ return (s = d.value) == null || s.resetExpression(), !1;
7759
7759
  }
7760
7760
  }, {
7761
7761
  name: "cancel",
@@ -7766,7 +7766,7 @@ const Po = /* @__PURE__ */ q({
7766
7766
  name: "accept",
7767
7767
  text: "确定",
7768
7768
  class: "btn btn-primary",
7769
- handle: async (v) => await p()
7769
+ handle: async (v) => await m()
7770
7770
  }]
7771
7771
  };
7772
7772
  async function k() {
@@ -7777,7 +7777,7 @@ const Po = /* @__PURE__ */ q({
7777
7777
  notifyService: n
7778
7778
  });
7779
7779
  if (v)
7780
- return r.value = v.entities || {}, u.value = v.variables || {}, f.value = v.message || "", C.value = v.messageType || "info", a == null || a.clearAll(), !0;
7780
+ return r.value = v.entities || {}, u.value = v.variables || {}, p.value = v.message || "", x.value = v.messageType || "info", a == null || a.clearAll(), !0;
7781
7781
  } catch {
7782
7782
  return n == null || n.error({
7783
7783
  message: "获取数据失败!"
@@ -7787,7 +7787,7 @@ const Po = /* @__PURE__ */ q({
7787
7787
  }
7788
7788
  return !0;
7789
7789
  }
7790
- function x() {
7790
+ function C() {
7791
7791
  if (t.emit("update:modelValue", ""), o.value = "", e.onSubmitModal) {
7792
7792
  const v = e.onSubmitModal({
7793
7793
  expression: "",
@@ -7809,17 +7809,17 @@ const Po = /* @__PURE__ */ q({
7809
7809
  enableClear: e.enableClear,
7810
7810
  buttonContent: l,
7811
7811
  buttonBehavior: "Modal",
7812
- modalOptions: m,
7812
+ modalOptions: f,
7813
7813
  beforeOpen: k,
7814
- onClear: x
7814
+ onClear: C
7815
7815
  }, {
7816
7816
  default: () => [i("div", {
7817
7817
  class: "h-100 d-flex flex-column"
7818
7818
  }, [i(vo, {
7819
- ref: c,
7820
- validateMessage: f.value,
7819
+ ref: d,
7820
+ validateMessage: p.value,
7821
7821
  showMessageType: e.showMessageType,
7822
- messageType: C.value,
7822
+ messageType: x.value,
7823
7823
  modelValue: o.value,
7824
7824
  "onUpdate:modelValue": (v) => o.value = v,
7825
7825
  esprimaPath: e.esprimaPath,
@@ -7834,7 +7834,7 @@ const Po = /* @__PURE__ */ q({
7834
7834
  });
7835
7835
  }
7836
7836
  });
7837
- var At = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(At || {}), pe = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(pe || {}), ne = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e[e.Variable = 2] = "Variable", e))(ne || {});
7837
+ var At = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(At || {}), pe = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(pe || {}), ae = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e[e.Variable = 2] = "Variable", e))(ae || {});
7838
7838
  const Io = (e) => ((e.raw.$type !== "SimpleField" || e.raw.selectable === !1) && (e.disabled = !0), e);
7839
7839
  function zt(e) {
7840
7840
  const t = [
@@ -7868,7 +7868,7 @@ function zt(e) {
7868
7868
  { label: " ", value: 0 },
7869
7869
  { label: "并且", value: 1 },
7870
7870
  { label: "或者", value: 2 }
7871
- ], o = [{ label: "值", value: e != null && e.singleValue ? ne.Value : ne.Variable }], r = { label: "表达式", value: ne.Expression }, u = e != null && e.enableExpression ? [...o, r] : o;
7871
+ ], o = [{ label: "值", value: e != null && e.singleValue ? ae.Value : ae.Variable }], r = { label: "表达式", value: ae.Expression }, u = e != null && e.enableExpression ? [...o, r] : o;
7872
7872
  return {
7873
7873
  leftBracketItems: t,
7874
7874
  righttBracketItems: n,
@@ -8241,49 +8241,49 @@ const Ht = {
8241
8241
  props: Uo,
8242
8242
  emits: ["selectionChange", "selectItem", "unSelectItem"],
8243
8243
  setup(e, t) {
8244
- const n = d(e.data), a = d([]), l = d(e.separator), o = d(e.width), r = d(e.height), u = d(e.maxHeight), c = d(String(e.selectedValues).split(l.value)), f = d(), C = {
8244
+ const n = c(e.data), a = c([]), l = c(e.separator), o = c(e.width), r = c(e.height), u = c(e.maxHeight), d = c(String(e.selectedValues).split(l.value)), p = c(), x = {
8245
8245
  customRowStatus: e.customRowStatus
8246
8246
  };
8247
8247
  z(() => e.selectedValues, (y) => {
8248
- c.value = String(y).split(l.value);
8248
+ d.value = String(y).split(l.value);
8249
8249
  }), z(() => e.data, (y) => {
8250
8250
  var F;
8251
- n.value = y, (F = f.value) == null || F.updateDataSource(y);
8251
+ n.value = y, (F = p.value) == null || F.updateDataSource(y);
8252
8252
  });
8253
- const p = {
8253
+ const m = {
8254
8254
  enableSelectRow: !0,
8255
8255
  multiSelect: e.multiSelect,
8256
8256
  showCheckbox: e.multiSelect,
8257
8257
  multiSelectMode: "OnCheckAndClick"
8258
8258
  };
8259
- let m = null;
8260
- e.repositoryToken && (m = _(e.repositoryToken));
8259
+ let f = null;
8260
+ e.repositoryToken && (f = _(e.repositoryToken));
8261
8261
  const k = B(() => [{
8262
8262
  field: e.textField,
8263
8263
  title: "",
8264
8264
  dataType: "string",
8265
8265
  formatter: e.formatter
8266
- }]), x = B(() => {
8266
+ }]), C = B(() => {
8267
8267
  const y = {};
8268
8268
  return o.value !== void 0 && (y.width = `${o.value}px`), r.value !== void 0 && (y.height = `${r.value}px`), u.value !== void 0 && u.value > 0 && (y.maxHeight = `${u.value}px`, y.overflow = "auto"), n.value.length === 0 && (y.height = "200px"), y.position = "relative", y;
8269
8269
  });
8270
8270
  function v(y = []) {
8271
- y && y.length > 0 ? (a.value = [...y], c.value = a.value.map((F) => F[e.idField])) : (a.value = [], c.value = []), t.emit("selectionChange", a.value);
8271
+ y && y.length > 0 ? (a.value = [...y], d.value = a.value.map((F) => F[e.idField])) : (a.value = [], d.value = []), t.emit("selectionChange", a.value);
8272
8272
  }
8273
8273
  J(() => {
8274
- m && m.getData(e.editorParams).then((y) => {
8274
+ f && f.getData(e.editorParams).then((y) => {
8275
8275
  n.value = y;
8276
- }), c.value && f.value.activeRowById(c.value[0]);
8276
+ }), d.value && p.value.activeRowById(d.value[0]);
8277
8277
  });
8278
8278
  const s = (y) => {
8279
- f.value.selectItemByIds(y);
8279
+ p.value.selectItemByIds(y);
8280
8280
  }, b = B(() => e.multiSelect && e.enableSearch && n.value && !!n.value.length);
8281
8281
  return t.expose({
8282
- treeInstance: f,
8282
+ treeInstance: p,
8283
8283
  checkItems: s
8284
8284
  }), () => i("div", {
8285
8285
  class: "f-combo-tree-container",
8286
- style: x.value
8286
+ style: C.value
8287
8287
  }, [b.value && i("div", {
8288
8288
  class: "p-2",
8289
8289
  style: "position: sticky;top:0;z-index: 2; background:white",
@@ -8295,19 +8295,19 @@ const Ht = {
8295
8295
  onClear: () => t.emit("clearSearch"),
8296
8296
  onInput: (y, F) => e.searchHandler(F)
8297
8297
  }, null)]), i(pt, {
8298
- ref: f,
8298
+ ref: p,
8299
8299
  fit: !0,
8300
8300
  data: n.value,
8301
8301
  idField: e.idField,
8302
8302
  columns: k.value,
8303
- "selection-values": c.value,
8303
+ "selection-values": d.value,
8304
8304
  onSelectionUpdate: v,
8305
8305
  columnOption: {
8306
8306
  fitColumns: !0,
8307
8307
  fitMode: "expand"
8308
8308
  },
8309
- rowOption: C,
8310
- selection: p,
8309
+ rowOption: x,
8310
+ selection: m,
8311
8311
  rowNumber: {
8312
8312
  enable: !1
8313
8313
  },
@@ -8317,13 +8317,13 @@ const Ht = {
8317
8317
  }
8318
8318
  });
8319
8319
  function Go(e) {
8320
- const t = d(""), n = d(e.modelValue), a = d(e.data || []), l = d(e.editable);
8321
- function o(p, m = []) {
8322
- return p = p || [], p.reduce((k, x) => (x.id = x.id || x.data[e.idField], k.push(x), x.children && x.children.length && o(x.children, k), k), m);
8320
+ const t = c(""), n = c(e.modelValue), a = c(e.data || []), l = c(e.editable);
8321
+ function o(m, f = []) {
8322
+ return m = m || [], m.reduce((k, C) => (C.id = C.id || C.data[e.idField], k.push(C), C.children && C.children.length && o(C.children, k), k), f);
8323
8323
  }
8324
- function r(p) {
8325
- const m = String(p).split(e.separator).map((s, b) => [s, b]), k = new Map(m), x = [];
8326
- return o(a.value, x), x.filter((s) => {
8324
+ function r(m) {
8325
+ const f = String(m).split(e.separator).map((s, b) => [s, b]), k = new Map(f), C = [];
8326
+ return o(a.value, C), C.filter((s) => {
8327
8327
  const b = s.data ? String(s.data[e.valueField]) : String(s[e.valueField]);
8328
8328
  return k.has(b);
8329
8329
  }).map((s) => s.data ? s.data : s).sort((s, b) => {
@@ -8331,88 +8331,88 @@ function Go(e) {
8331
8331
  return y - F;
8332
8332
  });
8333
8333
  }
8334
- function u(p) {
8335
- const m = r(p), k = e.displayFormatter ? e.displayFormatter(m) : m.map((x) => x[e.textField]).join(e.separator);
8336
- t.value = l.value ? k || p : k;
8334
+ function u(m) {
8335
+ const f = r(m), k = e.displayFormatter ? e.displayFormatter(f) : f.map((C) => C[e.textField]).join(e.separator);
8336
+ t.value = l.value ? k || m : k;
8337
8337
  }
8338
- function c(p) {
8339
- const m = p.split(e.separator).map((v) => [v, !0]), k = new Map(m);
8340
- let x = [];
8341
- return a.value[0].data ? o(a.value, x) : x = a.value, x = x.map((v) => v.data ? v.data : v), x.filter((v) => k.has(v[e.textField]) || k.has(v[e.valueField]));
8338
+ function d(m) {
8339
+ const f = m.split(e.separator).map((v) => [v, !0]), k = new Map(f);
8340
+ let C = [];
8341
+ return a.value[0].data ? o(a.value, C) : C = a.value, C = C.map((v) => v.data ? v.data : v), C.filter((v) => k.has(v[e.textField]) || k.has(v[e.valueField]));
8342
8342
  }
8343
- function f(p) {
8344
- const m = {};
8345
- return m[e.idField] = p, m[e.textField] = p, [m];
8343
+ function p(m) {
8344
+ const f = {};
8345
+ return f[e.idField] = m, f[e.textField] = m, [f];
8346
8346
  }
8347
- function C(p) {
8348
- let m = c(p);
8349
- const k = m && m.length > 0;
8350
- return l.value && !k && (m = f(p)), m;
8347
+ function x(m) {
8348
+ let f = d(m);
8349
+ const k = f && f.length > 0;
8350
+ return l.value && !k && (f = p(m)), f;
8351
8351
  }
8352
8352
  return z(() => e.data, () => {
8353
8353
  a.value = e.data;
8354
- }), z([a], ([p]) => {
8354
+ }), z([a], ([m]) => {
8355
8355
  if (e.modelValue) {
8356
- const m = p.find((k) => k[e.valueField] === e.modelValue);
8357
- m && (t.value = m[e.textField]);
8356
+ const f = m.find((k) => k[e.valueField] === e.modelValue);
8357
+ f && (t.value = f[e.textField]);
8358
8358
  }
8359
- }), z(() => e.modelValue, (p, m) => {
8360
- p !== m && (n.value = p, u(p));
8361
- }), u(e.modelValue), { dataSource: a, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: c, getItemsByValue: r, getSelectedItemsByDisplayText: C, flatTreeNodes: o };
8359
+ }), z(() => e.modelValue, (m, f) => {
8360
+ m !== f && (n.value = m, u(m));
8361
+ }), u(e.modelValue), { dataSource: a, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: d, getItemsByValue: r, getSelectedItemsByDisplayText: x, flatTreeNodes: o };
8362
8362
  }
8363
8363
  function Xo(e, t) {
8364
8364
  const { comboEditorRef: n, dataSource: a, searchFields: l, originalValue: o, showPopover: r, flatTreeNodes: u } = e;
8365
- function c(x, v) {
8366
- x.forEach((s) => {
8365
+ function d(C, v) {
8366
+ C.forEach((s) => {
8367
8367
  const b = v.find((y) => y.id === s.id);
8368
- s.selectable = b.selectable != null ? !!b.selectable : !0, s.children && c(s.children, v);
8368
+ s.selectable = b.selectable != null ? !!b.selectable : !0, s.children && d(s.children, v);
8369
8369
  });
8370
8370
  }
8371
- function f(x, v) {
8372
- const s = (x.children || []).map((y) => f(y, v)).filter((y) => y !== null);
8371
+ function p(C, v) {
8372
+ const s = (C.children || []).map((y) => p(y, v)).filter((y) => y !== null);
8373
8373
  return l.value.some((y) => {
8374
8374
  var F;
8375
- return (F = x.data[y]) == null ? void 0 : F.toString().toLowerCase().includes(v.toLowerCase());
8375
+ return (F = C.data[y]) == null ? void 0 : F.toString().toLowerCase().includes(v.toLowerCase());
8376
8376
  }) ? {
8377
- data: { ...x.data },
8378
- children: x.children,
8377
+ data: { ...C.data },
8378
+ children: C.children,
8379
8379
  // 注意这里保留原始子节点
8380
- id: x.data[t]
8380
+ id: C.data[t]
8381
8381
  } : s.length > 0 ? {
8382
- data: { ...x.data },
8382
+ data: { ...C.data },
8383
8383
  children: s,
8384
- id: x.data[t]
8384
+ id: C.data[t]
8385
8385
  } : null;
8386
8386
  }
8387
- function C() {
8387
+ function x() {
8388
8388
  o.value = de(a.value);
8389
8389
  }
8390
- function p(x) {
8390
+ function m(C) {
8391
8391
  var s;
8392
- if (r.value || (s = n.value) == null || s.showPopup(), !x) {
8393
- C();
8392
+ if (r.value || (s = n.value) == null || s.showPopup(), !C) {
8393
+ x();
8394
8394
  return;
8395
8395
  }
8396
- const v = a.value.map((b) => f(b, x)).filter((b) => b !== null);
8396
+ const v = a.value.map((b) => p(b, C)).filter((b) => b !== null);
8397
8397
  if (v.length) {
8398
8398
  const b = [];
8399
- u(a.value, b), c(v, b);
8399
+ u(a.value, b), d(v, b);
8400
8400
  }
8401
8401
  o.value = de(v);
8402
8402
  }
8403
- const m = ft((x) => {
8403
+ const f = ft((C) => {
8404
8404
  var s;
8405
- const v = (s = x.target) == null ? void 0 : s.value;
8406
- p(v);
8405
+ const v = (s = C.target) == null ? void 0 : s.value;
8406
+ m(v);
8407
8407
  }, 200);
8408
- function k(x) {
8408
+ function k(C) {
8409
8409
  var s;
8410
- let v = (s = x.target) == null ? void 0 : s.value;
8411
- v !== "" && (v = v.trim()), x.target._value !== v && m(x);
8410
+ let v = (s = C.target) == null ? void 0 : s.value;
8411
+ v !== "" && (v = v.trim()), C.target._value !== v && f(C);
8412
8412
  }
8413
8413
  return {
8414
8414
  onValueChange: k,
8415
- resetDataSource: C
8415
+ resetDataSource: x
8416
8416
  };
8417
8417
  }
8418
8418
  const Te = /* @__PURE__ */ q({
@@ -8420,13 +8420,13 @@ const Te = /* @__PURE__ */ q({
8420
8420
  props: Ht,
8421
8421
  emits: ["clear", "update:modelValue", "change", "search"],
8422
8422
  setup(e, t) {
8423
- const n = d(), a = d(e.disabled), l = d(e.enableClear), o = d(e.enableSearch), r = d(e.readonly), u = d(e.searchFields || [e.textField]), c = d(), f = d();
8424
- let C = {};
8423
+ const n = c(), a = c(e.disabled), l = c(e.enableClear), o = c(e.enableSearch), r = c(e.readonly), u = c(e.searchFields || [e.textField]), d = c(), p = c();
8424
+ let x = {};
8425
8425
  const {
8426
- dataSource: p,
8427
- displayText: m,
8426
+ dataSource: m,
8427
+ displayText: f,
8428
8428
  editable: k,
8429
- modelValue: x,
8429
+ modelValue: C,
8430
8430
  flatTreeNodes: v
8431
8431
  } = Go(e), s = B(() => e.multiSelect);
8432
8432
  B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
@@ -8439,9 +8439,9 @@ const Te = /* @__PURE__ */ q({
8439
8439
  resetDataSource: F
8440
8440
  } = Xo({
8441
8441
  comboEditorRef: n,
8442
- dataSource: p,
8442
+ dataSource: m,
8443
8443
  searchFields: u,
8444
- originalValue: c,
8444
+ originalValue: d,
8445
8445
  showPopover: b,
8446
8446
  flatTreeNodes: v
8447
8447
  }, e.idField);
@@ -8454,36 +8454,36 @@ const Te = /* @__PURE__ */ q({
8454
8454
  };
8455
8455
  function g(E = []) {
8456
8456
  if (!s.value)
8457
- m.value = h(E), x.value = E.map((T) => T.data ? T.data[e.valueField] : T[e.valueField]).join(e.separator), t.emit("update:modelValue", x.value), t.emit("change", E, x.value);
8457
+ f.value = h(E), C.value = E.map((T) => T.data ? T.data[e.valueField] : T[e.valueField]).join(e.separator), t.emit("update:modelValue", C.value), t.emit("change", E, C.value);
8458
8458
  else {
8459
- const T = Object.keys(C), N = Object.values(C);
8460
- m.value = h(N), x.value = T.join(e.separator), t.emit("update:modelValue", x.value), t.emit("change", N, x.value);
8459
+ const T = Object.keys(x), N = Object.values(x);
8460
+ f.value = h(N), C.value = T.join(e.separator), t.emit("update:modelValue", C.value), t.emit("change", N, C.value);
8461
8461
  }
8462
8462
  S();
8463
8463
  }
8464
8464
  function w(E) {
8465
8465
  var T;
8466
- x.value = "", C = {}, b.value && ((T = n.value) == null || T.hidePopup()), t.emit("update:modelValue", ""), t.emit("change", null, x.value), t.emit("clear");
8466
+ C.value = "", x = {}, b.value && ((T = n.value) == null || T.hidePopup()), t.emit("update:modelValue", ""), t.emit("change", null, C.value), t.emit("clear");
8467
8467
  }
8468
8468
  function O(E) {
8469
- s.value && (delete C[E.id], g());
8469
+ s.value && (delete x[E.id], g());
8470
8470
  }
8471
8471
  function L(E) {
8472
- s.value && (C[E.id] = E.data, g());
8472
+ s.value && (x[E.id] = E.data, g());
8473
8473
  }
8474
8474
  z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([E, T, N, R, j]) => {
8475
8475
  a.value = E, k.value = T, l.value = N, o.value = R, r.value = j;
8476
8476
  });
8477
8477
  const V = () => {
8478
- if (c.value = de(p.value), s.value && x.value) {
8478
+ if (d.value = de(m.value), s.value && C.value) {
8479
8479
  const E = [];
8480
- v(p.value, E), x.value.split(e.separator).reduce((T, N) => (T[N] = E.find((R) => R.id === N), T), C);
8480
+ v(m.value, E), C.value.split(e.separator).reduce((T, N) => (T[N] = E.find((R) => R.id === N), T), x);
8481
8481
  }
8482
8482
  };
8483
8483
  function I() {
8484
8484
  F(), setTimeout(() => {
8485
8485
  var E;
8486
- (E = f.value) == null || E.checkItems(x.value.split(e.separator));
8486
+ (E = p.value) == null || E.checkItems(C.value.split(e.separator));
8487
8487
  });
8488
8488
  }
8489
8489
  return () => i(yt, {
@@ -8501,8 +8501,8 @@ const Te = /* @__PURE__ */ q({
8501
8501
  enableTitle: e.enableTitle,
8502
8502
  inputType: e.viewType,
8503
8503
  popupOnClick: !0,
8504
- modelValue: m.value,
8505
- "onUpdate:modelValue": (E) => m.value = E,
8504
+ modelValue: f.value,
8505
+ "onUpdate:modelValue": (E) => f.value = E,
8506
8506
  onClear: w,
8507
8507
  onInput: y,
8508
8508
  focusOnCreated: e.focusOnCreated,
@@ -8512,7 +8512,7 @@ const Te = /* @__PURE__ */ q({
8512
8512
  popupMinWidth: e.minPanelWidth
8513
8513
  }, {
8514
8514
  default: () => [b.value && i(Yo, {
8515
- ref: f,
8515
+ ref: p,
8516
8516
  maxHeight: e.maxHeight,
8517
8517
  multiSelect: e.multiSelect,
8518
8518
  enableSearch: e.enableSearch,
@@ -8520,8 +8520,8 @@ const Te = /* @__PURE__ */ q({
8520
8520
  valueField: e.valueField,
8521
8521
  textField: e.textField,
8522
8522
  titleField: e.titleField,
8523
- data: c.value,
8524
- selectedValues: x.value,
8523
+ data: d.value,
8524
+ selectedValues: C.value,
8525
8525
  onSelectionChange: g,
8526
8526
  formatter: e.formatter,
8527
8527
  editorParams: e.editorParams,
@@ -8559,42 +8559,42 @@ function $t(e) {
8559
8559
  };
8560
8560
  }
8561
8561
  function Wt(e, t, n) {
8562
- const a = d(e.activeIndex), l = d(e.conditions), o = d(e.fields);
8563
- z(() => e.fields, (m) => {
8564
- o.value = m;
8565
- }), z(() => e.conditions, (m) => {
8566
- l.value = m;
8567
- }), z(() => e.activeIndex, (m) => {
8568
- a.value = m;
8562
+ const a = c(e.activeIndex), l = c(e.conditions), o = c(e.fields);
8563
+ z(() => e.fields, (f) => {
8564
+ o.value = f;
8565
+ }), z(() => e.conditions, (f) => {
8566
+ l.value = f;
8567
+ }), z(() => e.activeIndex, (f) => {
8568
+ a.value = f;
8569
8569
  });
8570
8570
  const r = B(() => n.value.querySelector(`tr[index="${a.value}"]`));
8571
8571
  function u() {
8572
- const m = r.value;
8573
- m && (m.scrollIntoView ? m.scrollIntoView({ block: "center", behavior: "smooth" }) : m.scrollIntoViewIfNeeded && m.scrollIntoViewIfNeeded(!1));
8572
+ const f = r.value;
8573
+ f && (f.scrollIntoView ? f.scrollIntoView({ block: "center", behavior: "smooth" }) : f.scrollIntoViewIfNeeded && f.scrollIntoViewIfNeeded(!1));
8574
8574
  }
8575
- const c = B(() => (m) => ({
8576
- "fv-grid-row-selected": m === a.value
8575
+ const d = B(() => (f) => ({
8576
+ "fv-grid-row-selected": f === a.value
8577
8577
  }));
8578
- function f(m, k) {
8579
- k.stopPropagation(), t.emit("insert", { index: m, $event: k });
8578
+ function p(f, k) {
8579
+ k.stopPropagation(), t.emit("insert", { index: f, $event: k });
8580
8580
  }
8581
- function C(m, k) {
8582
- k.stopPropagation(), t.emit("remove", { index: m, $event: k });
8581
+ function x(f, k) {
8582
+ k.stopPropagation(), t.emit("remove", { index: f, $event: k });
8583
8583
  }
8584
- function p(m, k) {
8585
- t.emit("rowClick", { item: m, index: k });
8584
+ function m(f, k) {
8585
+ t.emit("rowClick", { item: f, index: k });
8586
8586
  }
8587
8587
  return {
8588
8588
  itemIntoView: u,
8589
- activeRowCls: c,
8589
+ activeRowCls: d,
8590
8590
  fields: o,
8591
8591
  activeIndex: a,
8592
8592
  selectedRowRef: r,
8593
8593
  conditions: l,
8594
8594
  tbodyRef: n,
8595
- onInsert: f,
8596
- onRemove: C,
8597
- onRowClick: p
8595
+ onInsert: p,
8596
+ onRemove: x,
8597
+ onRowClick: m
8598
8598
  };
8599
8599
  }
8600
8600
  const Ko = /* @__PURE__ */ q({
@@ -8610,19 +8610,19 @@ const Ko = /* @__PURE__ */ q({
8610
8610
  righttBracketItems: r
8611
8611
  } = zt(e), {
8612
8612
  renderFieldsComboTree: u
8613
- } = $t(e), c = d(), {
8614
- conditions: f,
8615
- fields: C,
8616
- onInsert: p,
8617
- onRemove: m,
8613
+ } = $t(e), d = c(), {
8614
+ conditions: p,
8615
+ fields: x,
8616
+ onInsert: m,
8617
+ onRemove: f,
8618
8618
  onRowClick: k,
8619
- activeRowCls: x,
8619
+ activeRowCls: C,
8620
8620
  itemIntoView: v
8621
- } = Wt(e, t, c), s = d(e.expressionOptions || {});
8621
+ } = Wt(e, t, d), s = c(e.expressionOptions || {});
8622
8622
  function b(F) {
8623
8623
  var S, h;
8624
8624
  switch (F.expresstype) {
8625
- case ne.Variable:
8625
+ case ae.Variable:
8626
8626
  return i(Nn, {
8627
8627
  modelValue: F.value,
8628
8628
  "onUpdate:modelValue": (g) => F.value = g,
@@ -8630,12 +8630,12 @@ const Ko = /* @__PURE__ */ q({
8630
8630
  fieldData: (S = e.formContextData) == null ? void 0 : S.fieldData,
8631
8631
  varData: (h = e.formContextData) == null ? void 0 : h.varData
8632
8632
  }, null);
8633
- case ne.Expression:
8633
+ case ae.Expression:
8634
8634
  return i(Po, he({
8635
8635
  modelValue: F.value,
8636
8636
  "onUpdate:modelValue": (g) => F.value = g
8637
8637
  }, s.value), null);
8638
- case ne.Value:
8638
+ case ae.Value:
8639
8639
  default:
8640
8640
  return i(Me, {
8641
8641
  enableTitle: !0,
@@ -8686,10 +8686,10 @@ const Ko = /* @__PURE__ */ q({
8686
8686
  }, [i("b", null, [G("右括号")])]), i("th", {
8687
8687
  style: "width: 60px"
8688
8688
  }, [i("b", null, [G("关系")])])])]), i("tbody", {
8689
- ref: c
8690
- }, [f.value.map((F, S) => i("tr", {
8689
+ ref: d
8690
+ }, [p.value.map((F, S) => i("tr", {
8691
8691
  index: S,
8692
- class: x.value(S),
8692
+ class: C.value(S),
8693
8693
  onClick: (h) => k(F, S)
8694
8694
  }, [i("td", {
8695
8695
  style: "text-overflow: unset;",
@@ -8697,14 +8697,14 @@ const Ko = /* @__PURE__ */ q({
8697
8697
  class: "px-1"
8698
8698
  }, [i("button", {
8699
8699
  title: "插入",
8700
- onClick: (h) => p(S, h),
8700
+ onClick: (h) => m(S, h),
8701
8701
  type: "button",
8702
8702
  class: "btn btn-link p-1 mr-0"
8703
8703
  }, [i("span", {
8704
8704
  class: "f-icon f-icon-plus"
8705
8705
  }, null)]), i("button", {
8706
8706
  title: "移除",
8707
- onClick: (h) => m(S, h),
8707
+ onClick: (h) => f(S, h),
8708
8708
  type: "button",
8709
8709
  class: "btn btn-link p-1 m-0"
8710
8710
  }, [i("span", {
@@ -8713,7 +8713,7 @@ const Ko = /* @__PURE__ */ q({
8713
8713
  class: "px-1"
8714
8714
  }, [y(F, a, "lbracket")]), i("td", {
8715
8715
  class: "px-1"
8716
- }, [u(F, C.value, "filterField")]), i("td", {
8716
+ }, [u(F, x.value, "filterField")]), i("td", {
8717
8717
  class: "px-1"
8718
8718
  }, [y(F, n, "compare")]), i("td", {
8719
8719
  class: "px-1"
@@ -8778,25 +8778,25 @@ function ei() {
8778
8778
  return { onCopy: e };
8779
8779
  }
8780
8780
  function ti(e, t, n, a) {
8781
- const l = d(14), o = d(140), r = d(""), u = d(a.value.length), c = B(() => a.value), f = B(() => ({
8781
+ const l = c(14), o = c(140), r = c(""), u = c(a.value.length), d = B(() => a.value), p = B(() => ({
8782
8782
  "font-size": `${l.value}px`,
8783
8783
  height: "100%"
8784
8784
  }));
8785
- function C(p) {
8786
- if (p.currentTarget) {
8787
- const m = p.currentTarget.value || "";
8788
- u.value = m.length;
8785
+ function x(m) {
8786
+ if (m.currentTarget) {
8787
+ const f = m.currentTarget.value || "";
8788
+ u.value = f.length;
8789
8789
  }
8790
8790
  }
8791
8791
  return () => i(ce, null, [i("textarea", {
8792
8792
  title: "promptMessage",
8793
8793
  name: "promptMessage",
8794
8794
  class: "form-control",
8795
- style: f.value,
8795
+ style: p.value,
8796
8796
  rows: "4",
8797
8797
  maxlength: o.value,
8798
- onInput: (p) => C(p)
8799
- }, [c.value]), i("span", {
8798
+ onInput: (m) => x(m)
8799
+ }, [d.value]), i("span", {
8800
8800
  class: "textarea-wordcount",
8801
8801
  title: r.value,
8802
8802
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -8810,7 +8810,7 @@ function ni(e, t, n, a) {
8810
8810
  return { getEditorRender: r };
8811
8811
  }
8812
8812
  function ai() {
8813
- const e = d(!1), t = d("复制成功");
8813
+ const e = c(!1), t = c("复制成功");
8814
8814
  return {
8815
8815
  feedbackStyle: B(() => {
8816
8816
  const a = {
@@ -8844,24 +8844,24 @@ function oi(e, t) {
8844
8844
  function n(k) {
8845
8845
  if (k == null)
8846
8846
  return 0;
8847
- let x = 0;
8847
+ let C = 0;
8848
8848
  for (let v = 0; v < k.length; v++) {
8849
8849
  const s = k.charCodeAt(v);
8850
- s >= 0 && s <= 128 ? x++ : x = x + 2;
8850
+ s >= 0 && s <= 128 ? C++ : C = C + 2;
8851
8851
  }
8852
- return x;
8852
+ return C;
8853
8853
  }
8854
- function a(k, x) {
8854
+ function a(k, C) {
8855
8855
  if (k !== "" && k !== void 0 && k !== null) {
8856
8856
  k = "" + k;
8857
8857
  const v = k.length;
8858
8858
  let s = "", b = 0;
8859
8859
  for (let y = 0; y < v; y++) {
8860
8860
  const F = k.charAt(y);
8861
- if (b++, encodeURI(F).length > 4 && b++, s = s.concat(F), b >= x)
8861
+ if (b++, encodeURI(F).length > 4 && b++, s = s.concat(F), b >= C)
8862
8862
  return s = s.concat("..."), s;
8863
8863
  }
8864
- if (b < x)
8864
+ if (b < C)
8865
8865
  return k;
8866
8866
  }
8867
8867
  return "";
@@ -8869,14 +8869,14 @@ function oi(e, t) {
8869
8869
  const l = B(() => !!e.value && !!e.value.date), o = B(() => {
8870
8870
  const k = e.value && e.value.date || "";
8871
8871
  return `${t.exception.happend} : ${k}`;
8872
- }), r = B(() => !!e.value && !!e.value.detail), u = B(() => e.value ? n(e.value.detail) > 160 : !1), c = d(!1), f = B(() => c.value ? t.exception.collapse : t.exception.expand), C = B(() => {
8872
+ }), r = B(() => !!e.value && !!e.value.detail), u = B(() => e.value ? n(e.value.detail) > 160 : !1), d = c(!1), p = B(() => d.value ? t.exception.collapse : t.exception.expand), x = B(() => {
8873
8873
  const k = t.exception.detail + " : " + (e.value && e.value.detail) || "";
8874
- return c.value ? k : a(k, 160);
8875
- }), p = B(() => ({
8876
- bottom: c.value ? 0 : "2px"
8874
+ return d.value ? k : a(k, 160);
8875
+ }), m = B(() => ({
8876
+ bottom: d.value ? 0 : "2px"
8877
8877
  }));
8878
- function m() {
8879
- c.value = !c.value;
8878
+ function f() {
8879
+ d.value = !d.value;
8880
8880
  }
8881
8881
  return () => i("div", {
8882
8882
  class: "toast-msg-detail",
@@ -8886,12 +8886,12 @@ function oi(e, t) {
8886
8886
  }, [i("div", {
8887
8887
  class: "exception_error_msg"
8888
8888
  }, [i("div", {
8889
- innerHTML: C.value
8889
+ innerHTML: x.value
8890
8890
  }, null), u.value && i("span", {
8891
8891
  class: "exception_toggle_detail",
8892
- style: p.value,
8893
- onClick: m
8894
- }, [f.value])])])]);
8892
+ style: m.value,
8893
+ onClick: f
8894
+ }, [p.value])])])]);
8895
8895
  }
8896
8896
  function ii(e) {
8897
8897
  return () => i("p", {
@@ -8901,16 +8901,16 @@ function ii(e) {
8901
8901
  }, null);
8902
8902
  }
8903
8903
  function si(e, t, n, a, l) {
8904
- const o = d(e.exceptionInfo), r = B(() => {
8905
- const x = t.value === "question" ? "warning" : t.value, v = {
8904
+ const o = c(e.exceptionInfo), r = B(() => {
8905
+ const C = t.value === "question" ? "warning" : t.value, v = {
8906
8906
  "f-icon": !0
8907
- }, s = `f-icon-${x}`;
8907
+ }, s = `f-icon-${C}`;
8908
8908
  return v[s] = !0, v;
8909
- }), u = B(() => n.value || o.value && o.value.message), c = B(() => a.value), f = B(() => !!a.value), C = B(() => !!o.value);
8910
- function p() {
8911
- return C.value ? oi(o, l) : f.value ? ii(c) : () => null;
8909
+ }), u = B(() => n.value || o.value && o.value.message), d = B(() => a.value), p = B(() => !!a.value), x = B(() => !!o.value);
8910
+ function m() {
8911
+ return x.value ? oi(o, l) : p.value ? ii(d) : () => null;
8912
8912
  }
8913
- const m = p(), k = B(() => l.locale === "en" ? {
8913
+ const f = m(), k = B(() => l.locale === "en" ? {
8914
8914
  wordBreak: "keep-all",
8915
8915
  overflowWrap: "break-word"
8916
8916
  } : {});
@@ -8924,20 +8924,20 @@ function si(e, t, n, a, l) {
8924
8924
  class: "toast-msg-title",
8925
8925
  innerHTML: u.value,
8926
8926
  style: k.value
8927
- }, null), m()])]);
8927
+ }, null), f()])]);
8928
8928
  }
8929
8929
  function ri(e, t, n, a) {
8930
8930
  const {
8931
8931
  onCopy: l
8932
8932
  } = t, {
8933
8933
  toShowFeedback: o
8934
- } = n, r = d(a.exception.copySuccess || "复制成功"), u = d(a.exception.copy || "复制详细信息"), c = d(e.exceptionInfo || {
8934
+ } = n, r = c(a.exception.copySuccess || "复制成功"), u = c(a.exception.copy || "复制详细信息"), d = c(e.exceptionInfo || {
8935
8935
  date: "",
8936
8936
  message: "",
8937
8937
  detail: ""
8938
- }), f = B(() => c.value && c.value.detail || "");
8939
- function C(p) {
8940
- l(f.value).catch((m) => {
8938
+ }), p = B(() => d.value && d.value.detail || "");
8939
+ function x(m) {
8940
+ l(p.value).catch((f) => {
8941
8941
  r.value = a.exception.copyFailed || "复制失败";
8942
8942
  }).finally(() => {
8943
8943
  o.value = !0, setTimeout(() => {
@@ -8948,13 +8948,13 @@ function ri(e, t, n, a) {
8948
8948
  return () => i("span", {
8949
8949
  class: "copy-exception-info"
8950
8950
  }, [i("span", {
8951
- onClick: C,
8951
+ onClick: x,
8952
8952
  style: "cursor: pointer;"
8953
8953
  }, [u.value])]);
8954
8954
  }
8955
8955
  function ui(e, t, n, a, l) {
8956
- const o = d(e.type), r = d(e.buttons), u = d(e.exceptionInfo), c = d(l.ok || e.okButtonText), f = d(l.cancel || e.cancelButtonText), C = d(e.showCancelButton), p = d(e.showOkButton), m = B(() => !!(r.value && r.value.length)), k = B(() => !!(u.value && u.value.detail)), x = B(() => !(r.value && r.value.length) && (p.value || C.value)), v = ri(e, n, a, l);
8957
- c.value === "关闭" ? c.value = l.close : c.value === "知道了" && (c.value = l.exception.roger);
8956
+ const o = c(e.type), r = c(e.buttons), u = c(e.exceptionInfo), d = c(l.ok || e.okButtonText), p = c(l.cancel || e.cancelButtonText), x = c(e.showCancelButton), m = c(e.showOkButton), f = B(() => !!(r.value && r.value.length)), k = B(() => !!(u.value && u.value.detail)), C = B(() => !(r.value && r.value.length) && (m.value || x.value)), v = ri(e, n, a, l);
8957
+ d.value === "关闭" ? d.value = l.close : d.value === "知道了" && (d.value = l.exception.roger);
8958
8958
  function s(y) {
8959
8959
  o.value === "question" && t.emit("reject"), t.emit("close");
8960
8960
  }
@@ -8963,15 +8963,15 @@ function ui(e, t, n, a, l) {
8963
8963
  }
8964
8964
  return () => i("div", {
8965
8965
  class: "modal-footer"
8966
- }, [k.value && v(), x.value && C.value && i("button", {
8966
+ }, [k.value && v(), C.value && x.value && i("button", {
8967
8967
  type: "button",
8968
8968
  class: "btn btn-secondary btn-lg",
8969
8969
  onClick: s
8970
- }, [f.value]), x.value && p.value && i("button", {
8970
+ }, [p.value]), C.value && m.value && i("button", {
8971
8971
  type: "button",
8972
8972
  class: "btn btn-primary btn-lg",
8973
8973
  onClick: b
8974
- }, [c.value]), m.value && r.value.length && r.value.map((y) => i("button", {
8974
+ }, [d.value]), f.value && r.value.length && r.value.map((y) => i("button", {
8975
8975
  type: "button",
8976
8976
  onClick: y.handle,
8977
8977
  class: y.class
@@ -8980,7 +8980,7 @@ function ui(e, t, n, a, l) {
8980
8980
  }, null), y.text]))]);
8981
8981
  }
8982
8982
  function ci(e) {
8983
- const { getLocaleValue: t } = Z, n = Z.getLocale();
8983
+ const { getLocaleValue: t } = Q, n = Q.getLocale();
8984
8984
  function a(l, o, r) {
8985
8985
  return o === r ? t(l) : o;
8986
8986
  }
@@ -9010,7 +9010,7 @@ const Fe = /* @__PURE__ */ q({
9010
9010
  props: Jo,
9011
9011
  emits: ["accept", "reject", "close"],
9012
9012
  setup(e, t) {
9013
- const n = ci(e), a = d(e.type), l = d(e.title), o = d(e.detail), r = B(() => {
9013
+ const n = ci(e), a = c(e.type), l = c(e.title), o = c(e.detail), r = B(() => {
9014
9014
  const b = {
9015
9015
  "modal-tips": !0,
9016
9016
  "d-flex": !0,
@@ -9022,25 +9022,25 @@ const Fe = /* @__PURE__ */ q({
9022
9022
  cursor: "default"
9023
9023
  };
9024
9024
  return a.value === "prompt" ? b.padding = "0.5rem 0.5rem 1rem 1.5rem" : a.value === "error" && (b.padding = "0.5rem 1.5rem 1rem 1.5rem"), b;
9025
- }), c = ei(), f = ni(e, a, l, o), C = ai(), {
9026
- feedbackStyle: p,
9027
- feedbackMessage: m
9028
- } = C;
9029
- m.value = n.exception.copySuccess;
9025
+ }), d = ei(), p = ni(e, a, l, o), x = ai(), {
9026
+ feedbackStyle: m,
9027
+ feedbackMessage: f
9028
+ } = x;
9029
+ f.value = n.exception.copySuccess;
9030
9030
  function k() {
9031
9031
  return i("div", {
9032
- style: p.value
9033
- }, [m.value]);
9032
+ style: m.value
9033
+ }, [f.value]);
9034
9034
  }
9035
- function x() {
9035
+ function C() {
9036
9036
  switch (a.value) {
9037
9037
  case "prompt":
9038
- return li(e, f);
9038
+ return li(e, p);
9039
9039
  default:
9040
9040
  return si(e, a, l, o, n);
9041
9041
  }
9042
9042
  }
9043
- const v = x(), s = ui(e, t, c, C, n);
9043
+ const v = C(), s = ui(e, t, d, x, n);
9044
9044
  return () => i("div", {
9045
9045
  class: "farris-messager"
9046
9046
  }, [!e.exceptionInfo && i("div", {
@@ -9051,66 +9051,77 @@ const Fe = /* @__PURE__ */ q({
9051
9051
  style: u.value
9052
9052
  }, [v()]), s(), k()]);
9053
9053
  }
9054
- }), ee = class ee {
9055
- static show(t) {
9056
- const n = ae({
9057
- ...t
9058
- }), a = !1, l = n.type === "error" || n.type === "prompt", o = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", r = n.acceptCallback || (() => {
9059
- }), u = n.rejectCallback || (() => {
9054
+ }), Z = class Z {
9055
+ static show(t, n, a) {
9056
+ let l;
9057
+ if (typeof t == "string" && n != null) {
9058
+ const v = {
9059
+ type: t,
9060
+ title: n,
9061
+ detail: "",
9062
+ ...a
9063
+ };
9064
+ l = te(v);
9065
+ } else
9066
+ l = te({
9067
+ ...t
9068
+ });
9069
+ const o = !1, r = l.type === "error" || l.type === "prompt", u = l.type === "error" ? "错误提示" : l.type === "prompt" && l.title || "", d = l.acceptCallback || (() => {
9070
+ }), p = l.rejectCallback || (() => {
9060
9071
  });
9061
- let c = null, f = new bt(ee.app);
9062
- const C = () => {
9063
- c && (c == null || c.destroy(), f = null);
9072
+ let x = null, m = new bt(Z.app);
9073
+ const f = () => {
9074
+ x && (x == null || x.destroy(), m = null);
9064
9075
  };
9065
- return c = f == null ? void 0 : f.open({
9076
+ return x = m == null ? void 0 : m.open({
9066
9077
  class: "modal-message modal-message-type-info",
9067
- title: o,
9068
- showButtons: a,
9069
- showHeader: l,
9070
- width: n.width || 400,
9078
+ title: u,
9079
+ showButtons: o,
9080
+ showHeader: r,
9081
+ width: l.width || 400,
9071
9082
  fitContent: !0,
9072
9083
  showMaxButton: !1,
9073
9084
  draggable: !0,
9074
9085
  dragHandle: ".messager-draggable",
9075
- render: () => i(Fe, he(n, {
9076
- onAccept: r,
9077
- onReject: u,
9078
- onClose: C
9086
+ render: () => i(Fe, he(l, {
9087
+ onAccept: d,
9088
+ onReject: p,
9089
+ onClose: f
9079
9090
  }), null)
9080
- }), f == null ? void 0 : f.getCurrentModal();
9091
+ }), m == null ? void 0 : m.getCurrentModal();
9081
9092
  }
9082
9093
  static info(t, n) {
9083
- const a = ae({
9094
+ const a = te({
9084
9095
  type: "info",
9085
9096
  title: t,
9086
9097
  detail: n,
9087
9098
  okButtonText: "知道了",
9088
9099
  showCancelButton: !1
9089
9100
  });
9090
- ee.show(a);
9101
+ Z.show(a);
9091
9102
  }
9092
9103
  static warning(t, n) {
9093
- const a = ae({
9104
+ const a = te({
9094
9105
  type: "warning",
9095
9106
  title: t,
9096
9107
  detail: n,
9097
9108
  okButtonText: "知道了",
9098
9109
  showCancelButton: !1
9099
9110
  });
9100
- ee.show(a);
9111
+ Z.show(a);
9101
9112
  }
9102
9113
  static success(t, n) {
9103
- const a = ae({
9114
+ const a = te({
9104
9115
  type: "success",
9105
9116
  title: t,
9106
9117
  detail: n,
9107
9118
  okButtonText: "关闭",
9108
9119
  showCancelButton: !1
9109
9120
  });
9110
- ee.show(a);
9121
+ Z.show(a);
9111
9122
  }
9112
9123
  static error(t, n, a) {
9113
- const l = ae({
9124
+ const l = te({
9114
9125
  width: 500,
9115
9126
  type: "error",
9116
9127
  okButtonText: "关闭",
@@ -9121,20 +9132,20 @@ const Fe = /* @__PURE__ */ q({
9121
9132
  detail: n
9122
9133
  }
9123
9134
  });
9124
- ee.show(l);
9135
+ Z.show(l);
9125
9136
  }
9126
9137
  static prompt(t, n) {
9127
- const a = ae({
9138
+ const a = te({
9128
9139
  type: "prompt",
9129
9140
  title: t,
9130
9141
  detail: n,
9131
9142
  okButtonText: "确定",
9132
9143
  cancelButtonText: "取消"
9133
9144
  });
9134
- ee.show(a);
9145
+ Z.show(a);
9135
9146
  }
9136
9147
  static question(t, n, a, l) {
9137
- const o = ae({
9148
+ const o = te({
9138
9149
  type: "question",
9139
9150
  title: t,
9140
9151
  detail: n,
@@ -9143,11 +9154,20 @@ const Fe = /* @__PURE__ */ q({
9143
9154
  acceptCallback: a,
9144
9155
  rejectCallback: l
9145
9156
  });
9146
- ee.show(o);
9157
+ Z.show(o);
9158
+ }
9159
+ static showHtmlMsg(t, n, a, l) {
9160
+ Z.show({
9161
+ type: t,
9162
+ title: n,
9163
+ detail: a,
9164
+ okButtonText: "关闭",
9165
+ acceptCallback: l
9166
+ });
9147
9167
  }
9148
9168
  };
9149
- Q(ee, "app", null);
9150
- let ve = ee;
9169
+ ee(Z, "app", null);
9170
+ let ve = Z;
9151
9171
  Fe.install = (e) => {
9152
9172
  e.component(Fe.name, Fe), ve.app = e, e.provide("FMessageBoxService", ve);
9153
9173
  };
@@ -9156,7 +9176,7 @@ const di = /* @__PURE__ */ q({
9156
9176
  props: ["canClear", "canMove", "questionMessage"],
9157
9177
  emits: ["add", "clear", "moveTop", "movePrev", "moveNext", "moveBottom"],
9158
9178
  setup(e, t) {
9159
- const n = d(e.questionMessage || "确定要清空所有数据吗?"), a = {
9179
+ const n = c(e.questionMessage || "确定要清空所有数据吗?"), a = {
9160
9180
  position: "relative",
9161
9181
  top: "2px"
9162
9182
  };
@@ -9175,10 +9195,10 @@ const di = /* @__PURE__ */ q({
9175
9195
  function u() {
9176
9196
  t.emit("movePrev");
9177
9197
  }
9178
- function c() {
9198
+ function d() {
9179
9199
  t.emit("moveNext");
9180
9200
  }
9181
- function f() {
9201
+ function p() {
9182
9202
  t.emit("moveBottom");
9183
9203
  }
9184
9204
  return () => i("div", {
@@ -9217,7 +9237,7 @@ const di = /* @__PURE__ */ q({
9217
9237
  style: a
9218
9238
  }, null), G("上移")]), i("button", {
9219
9239
  type: "button",
9220
- onClick: c,
9240
+ onClick: d,
9221
9241
  disabled: !e.canMove.value("down"),
9222
9242
  class: "btn btn-default f-btn-ml"
9223
9243
  }, [i("span", {
@@ -9225,7 +9245,7 @@ const di = /* @__PURE__ */ q({
9225
9245
  style: a
9226
9246
  }, null), G("下移")]), i("button", {
9227
9247
  type: "button",
9228
- onClick: f,
9248
+ onClick: p,
9229
9249
  disabled: !e.canMove.value("down"),
9230
9250
  class: "btn btn-default f-btn-ml"
9231
9251
  }, [i("span", {
@@ -9242,17 +9262,17 @@ const di = /* @__PURE__ */ q({
9242
9262
  sortTypes: n
9243
9263
  } = zt(), {
9244
9264
  renderFieldsComboTree: a
9245
- } = $t(e), l = d(), {
9265
+ } = $t(e), l = c(), {
9246
9266
  conditions: o,
9247
9267
  fields: r,
9248
9268
  onInsert: u,
9249
- onRemove: c,
9250
- onRowClick: f,
9251
- activeRowCls: C,
9252
- itemIntoView: p
9269
+ onRemove: d,
9270
+ onRowClick: p,
9271
+ activeRowCls: x,
9272
+ itemIntoView: m
9253
9273
  } = Wt(e, t, l);
9254
9274
  return $e(() => {
9255
- p();
9275
+ m();
9256
9276
  }), () => i("div", {
9257
9277
  class: "table-body f-utils-fill win11Scroll show nobtn ",
9258
9278
  style: "margin-left:14px; margin-right: 0; overflow-y: scroll;"
@@ -9269,39 +9289,39 @@ const di = /* @__PURE__ */ q({
9269
9289
  style: "width: 60px"
9270
9290
  }, [i("b", null, [G("排序")])])])]), i("tbody", {
9271
9291
  ref: l
9272
- }, [o.value.map((m, k) => i("tr", {
9292
+ }, [o.value.map((f, k) => i("tr", {
9273
9293
  index: k,
9274
- class: C.value(k),
9275
- onClick: (x) => f(m, k)
9294
+ class: x.value(k),
9295
+ onClick: (C) => p(f, k)
9276
9296
  }, [i("td", {
9277
9297
  style: "text-overflow: unset;",
9278
9298
  align: "center",
9279
9299
  class: "px-1"
9280
9300
  }, [i("button", {
9281
9301
  title: "插入",
9282
- onClick: (x) => u(k, x),
9302
+ onClick: (C) => u(k, C),
9283
9303
  type: "button",
9284
9304
  class: "btn btn-link p-1 mr-0"
9285
9305
  }, [i("span", {
9286
9306
  class: "f-icon f-icon-plus"
9287
9307
  }, null)]), i("button", {
9288
9308
  title: "移除",
9289
- onClick: (x) => c(k, x),
9309
+ onClick: (C) => d(k, C),
9290
9310
  type: "button",
9291
9311
  class: "btn btn-link p-1 m-0"
9292
9312
  }, [i("span", {
9293
9313
  class: "f-icon f-icon-minus"
9294
9314
  }, null)])]), i("td", {
9295
9315
  class: "px-1"
9296
- }, [a(m, r.value, "sortField")]), i("td", {
9316
+ }, [a(f, r.value, "sortField")]), i("td", {
9297
9317
  class: "px-1"
9298
9318
  }, [i(fe, {
9299
9319
  data: n,
9300
9320
  textField: "label",
9301
9321
  valueField: "value",
9302
9322
  idField: "value",
9303
- modelValue: m.sortType,
9304
- "onUpdate:modelValue": (x) => m.sortType = x,
9323
+ modelValue: f.sortType,
9324
+ "onUpdate:modelValue": (C) => f.sortType = C,
9305
9325
  enableClear: !1,
9306
9326
  minPanelWidth: 130,
9307
9327
  placement: "auto"
@@ -9309,7 +9329,7 @@ const di = /* @__PURE__ */ q({
9309
9329
  }
9310
9330
  });
9311
9331
  function yi(e, t) {
9312
- const n = d(-1);
9332
+ const n = c(-1);
9313
9333
  function a() {
9314
9334
  return t.value[n.value];
9315
9335
  }
@@ -9323,32 +9343,32 @@ function yi(e, t) {
9323
9343
  rbracket: "",
9324
9344
  relation: pe.Empty,
9325
9345
  compare: At.Equal,
9326
- expresstype: e.singleValue ? ne.Value : ne.Variable
9346
+ expresstype: e.singleValue ? ae.Value : ae.Variable
9327
9347
  } : {
9328
9348
  sortField: "",
9329
9349
  sortType: "asc"
9330
- }, c = B(() => t.value.length > 0), f = B(() => (g = "down") => t.value.length > 1 ? g === "up" ? n.value > 0 : n.value < t.value.length - 1 : !1);
9331
- function C() {
9350
+ }, d = B(() => t.value.length > 0), p = B(() => (g = "down") => t.value.length > 1 ? g === "up" ? n.value > 0 : n.value < t.value.length - 1 : !1);
9351
+ function x() {
9332
9352
  if (e.editorType === "filter")
9333
9353
  for (let g = 0; g < t.value.length - 1; g++) {
9334
9354
  const w = t.value[g];
9335
9355
  (w.relation === pe.Empty || !w.relation) && (w.relation = pe.And);
9336
9356
  }
9337
9357
  }
9338
- function p() {
9358
+ function m() {
9339
9359
  const g = Object.assign({}, u);
9340
9360
  t.value = [...t.value, g];
9341
9361
  const w = t.value.length - 1;
9342
- n.value = w, C();
9362
+ n.value = w, x();
9343
9363
  }
9344
- function m({ index: g }) {
9364
+ function f({ index: g }) {
9345
9365
  const w = Object.assign({}, u);
9346
- e.insertType === "above" ? g === 0 ? t.value.unshift(w) : t.value.splice(g, 0, w) : t.value.splice(g + 1, 0, w), t.value = [...t.value], C();
9366
+ e.insertType === "above" ? g === 0 ? t.value.unshift(w) : t.value.splice(g, 0, w) : t.value.splice(g + 1, 0, w), t.value = [...t.value], x();
9347
9367
  }
9348
9368
  function k({ index: g }) {
9349
9369
  t.value.splice(g, 1), t.value = [...t.value], !(n.value < 0) && (g === n.value ? t.value[g] ? n.value = g : t.value[g - 1] ? n.value = g - 1 : n.value = -1 : g < n.value && (t.value[n.value - 1] ? n.value = n.value - 1 : t.value[n.value] || (n.value = -1)));
9350
9370
  }
9351
- function x() {
9371
+ function C() {
9352
9372
  t.value = [];
9353
9373
  }
9354
9374
  function v() {
@@ -9408,12 +9428,12 @@ function yi(e, t) {
9408
9428
  return {
9409
9429
  displayText: o,
9410
9430
  activeRowIndex: n,
9411
- canClear: c,
9412
- canMove: f,
9413
- onAddFilter: p,
9431
+ canClear: d,
9432
+ canMove: p,
9433
+ onAddFilter: m,
9414
9434
  onRemove: k,
9415
- onInsert: m,
9416
- onClear: x,
9435
+ onInsert: f,
9436
+ onClear: C,
9417
9437
  onMoveTop: v,
9418
9438
  onMovePrev: s,
9419
9439
  onMoveNext: b,
@@ -9432,11 +9452,11 @@ const mi = /* @__PURE__ */ q({
9432
9452
  a && (a.globalConfig = {
9433
9453
  position: "top-center"
9434
9454
  });
9435
- const o = d(e.expressionOptions || {}), r = d(e.formContextData || {}), u = d(e.fields || []), c = '<i class="f-icon f-icon-lookup"></i>', f = d([]), C = d([]), {
9436
- displayText: p,
9437
- onAddFilter: m,
9455
+ const o = c(e.expressionOptions || {}), r = c(e.formContextData || {}), u = c(e.fields || []), d = '<i class="f-icon f-icon-lookup"></i>', p = c([]), x = c([]), {
9456
+ displayText: m,
9457
+ onAddFilter: f,
9438
9458
  onClear: k,
9439
- onMoveBottom: x,
9459
+ onMoveBottom: C,
9440
9460
  onMoveNext: v,
9441
9461
  onMovePrev: s,
9442
9462
  onMoveTop: b,
@@ -9448,10 +9468,10 @@ const mi = /* @__PURE__ */ q({
9448
9468
  canMove: w,
9449
9469
  validateCondition: O,
9450
9470
  resetActiveRow: L
9451
- } = yi(e, f), V = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
9471
+ } = yi(e, p), V = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
9452
9472
  function I() {
9453
9473
  return e.editorType === "sort" ? i(fi, {
9454
- conditions: f.value,
9474
+ conditions: p.value,
9455
9475
  fields: u.value,
9456
9476
  activeIndex: S.value,
9457
9477
  onInsert: (D) => y(D),
@@ -9462,7 +9482,7 @@ const mi = /* @__PURE__ */ q({
9462
9482
  singleValue: e.singleValue,
9463
9483
  expressionOptions: o.value,
9464
9484
  enableExpression: e.enableExpression,
9465
- conditions: f.value,
9485
+ conditions: p.value,
9466
9486
  fields: u.value,
9467
9487
  idField: e.idField,
9468
9488
  activeIndex: S.value,
@@ -9472,15 +9492,15 @@ const mi = /* @__PURE__ */ q({
9472
9492
  formContextData: r.value
9473
9493
  }, null);
9474
9494
  }
9475
- const E = B(() => JSON.stringify(f.value) === JSON.stringify(C.value)), T = B(() => e.disableConfirmWhenUnchanged && E.value);
9495
+ const E = B(() => JSON.stringify(p.value) === JSON.stringify(x.value)), T = B(() => e.disableConfirmWhenUnchanged && E.value);
9476
9496
  async function N() {
9477
- if (t.emit("update:modelValue", f.value), e.onSubmitModal) {
9497
+ if (t.emit("update:modelValue", p.value), e.onSubmitModal) {
9478
9498
  l == null || l.show();
9479
9499
  const D = await e.onSubmitModal({
9480
9500
  loadingService: l,
9481
9501
  repository: n,
9482
- conditions: f,
9483
- originalConditions: C,
9502
+ conditions: p,
9503
+ originalConditions: x,
9484
9504
  FMessageBoxService: ve
9485
9505
  });
9486
9506
  return l == null || l.clearAll(), D && (S.value = -1, a.success("过滤条件配置成功!")), D;
@@ -9533,7 +9553,7 @@ const mi = /* @__PURE__ */ q({
9533
9553
  formContextData: me,
9534
9554
  isServerSide: Pe
9535
9555
  } = D;
9536
- return u.value = H || [], f.value = W || [], C.value = JSON.parse(JSON.stringify(f.value)), o.value = {
9556
+ return u.value = H || [], p.value = W || [], x.value = JSON.parse(JSON.stringify(p.value)), o.value = {
9537
9557
  entities: U,
9538
9558
  variables: De,
9539
9559
  isServerSide: Pe
@@ -9555,13 +9575,13 @@ const mi = /* @__PURE__ */ q({
9555
9575
  t.emit("update:modelValue", D);
9556
9576
  }
9557
9577
  return () => i(Me, {
9558
- modelValue: p.value,
9578
+ modelValue: m.value,
9559
9579
  editable: e.editable,
9560
9580
  disabled: e.disabled,
9561
9581
  readonly: e.readonly,
9562
9582
  inputType: "text",
9563
9583
  enableClear: e.enableClear,
9564
- buttonContent: c,
9584
+ buttonContent: d,
9565
9585
  buttonBehavior: "Modal",
9566
9586
  modalOptions: R,
9567
9587
  beforeOpen: j,
@@ -9577,9 +9597,9 @@ const mi = /* @__PURE__ */ q({
9577
9597
  }, null), I(), i(di, {
9578
9598
  canClear: g,
9579
9599
  canMove: w,
9580
- onAdd: m,
9600
+ onAdd: f,
9581
9601
  onClear: k,
9582
- onMoveBottom: x,
9602
+ onMoveBottom: C,
9583
9603
  onMoveNext: v,
9584
9604
  onMovePrev: s,
9585
9605
  onMoveTop: b