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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,8 +1,8 @@
1
1
  var Dn = Object.defineProperty;
2
2
  var jn = (n, t, e) => t in n ? Dn(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var X = (n, t, e) => jn(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as C, computed as L, createVNode as T, defineComponent as Ge, onMounted as Ke, watch as xe, createTextVNode as At, Fragment as at, reactive as $e, createApp as nn, onUnmounted as St, Transition as on, mergeProps as Ht, nextTick as Tt, onBeforeMount as Rn, Teleport as $n, shallowRef as Ln, render as $t, h as An, cloneVNode as Hn, inject as Zt } from "vue";
5
- import { isPlainObject as Jt, cloneDeep as vt, isUndefined as je } from "lodash-es";
4
+ import { ref as C, computed as L, createVNode as T, defineComponent as Ge, onMounted as Ke, watch as Se, createTextVNode as At, Fragment as at, reactive as $e, createApp as nn, onUnmounted as xt, Transition as on, mergeProps as Ht, nextTick as Tt, onBeforeMount as Rn, Teleport as $n, shallowRef as Ln, render as $t, h as An, cloneVNode as Hn, inject as Zt } from "vue";
5
+ import { cloneDeep as vt, isPlainObject as Jt, isUndefined as je } from "lodash-es";
6
6
  import ve from "bignumber.js";
7
7
  import { useNumberLocales as zn } from "../number-spinner/index.esm.js";
8
8
  import { getSchemaByTypeForDesigner as Un, createPropsResolver as rn, resolveAppearance as qn } from "../dynamic-resolver/index.esm.js";
@@ -11,7 +11,7 @@ import { getCustomClass as _n, withInstall as an, FormSchemaEntityField$Type as
11
11
  import { useI18n as zt } from "vue-i18n";
12
12
  import { LocaleService as Et } from "../locale/index.esm.js";
13
13
  import { useResizeObserver as Xn } from "@vueuse/core";
14
- import { getHierarchyRow as Yn, useIdentify as Zn, useGroupData as Jn, useFilter as Qn, useHierarchy as Kn, useLoading as eo, useDataView as to, useSelection as no, useSelectHierarchyItem as oo, usePagination as io, useDataViewContainerStyle as ro, useCommandColumn as ao, useSettingColumn as lo, useColumn as so, useSort as uo, useGroupColumn as co, useRow as fo, useEdit as po, useVisualDataBound as mo, useVisualDataCell as vo, useVisualDataRow as go, useVisualData as ho, useCellPosition as yo, useSidebar as bo, useVirtualScroll as wo, useFitColumn as Co, useFilterHistory as xo, useColumnFilter as So, useDragColumn as To, getColumnHeader as Eo, getSidebar as Mo, getDisableMask as Fo, getHorizontalScrollbar as Bo, getVerticalScrollbar as ko, getEmpty as Io, getPagination as No, getSummary as Vo } from "../data-view/index.esm.js";
14
+ import { getHierarchyRow as Yn, useIdentify as Zn, useGroupData as Jn, useFilter as Qn, useHierarchy as Kn, useLoading as eo, useDataView as to, useSelection as no, useSelectHierarchyItem as oo, usePagination as io, useDataViewContainerStyle as ro, useCommandColumn as ao, useSettingColumn as lo, useColumn as so, useSort as uo, useGroupColumn as co, useRow as fo, useEdit as po, useVisualDataBound as mo, useVisualDataCell as vo, useVisualDataRow as go, useVisualData as ho, useCellPosition as yo, useSidebar as bo, useVirtualScroll as wo, useFitColumn as Co, useFilterHistory as So, useColumnFilter as xo, useDragColumn as To, getColumnHeader as Eo, getSidebar as Mo, getDisableMask as Fo, getHorizontalScrollbar as Bo, getVerticalScrollbar as ko, getEmpty as Io, getPagination as No, getSummary as Po } from "../data-view/index.esm.js";
15
15
  import "../property-panel/index.esm.js";
16
16
  import "../accordion/index.esm.js";
17
17
  import "../avatar/index.esm.js";
@@ -88,7 +88,7 @@ import "../modal/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import "../language-textbox/index.esm.js";
90
90
  import "../notify/index.esm.js";
91
- function Po(n, t, e) {
91
+ function Vo(n, t, e) {
92
92
  return t;
93
93
  }
94
94
  function ln(n, t) {
@@ -168,7 +168,7 @@ function ln(n, t) {
168
168
  }
169
169
  return { getSchemaByType: r, resolveSchemaWithDefaultValue: s, resolveSchemaToProps: l, mappingSchemaToProps: c, setDesignerContext: f };
170
170
  }
171
- const sn = {}, un = {}, { resolveSchemaWithDefaultValue: Oo, resolveSchemaToProps: Do, mappingSchemaToProps: jo } = ln(sn, un);
171
+ const sn = {}, un = {}, { getSchemaByType: Ul, resolveSchemaWithDefaultValue: Oo, resolveSchemaToProps: Do, mappingSchemaToProps: jo, setDesignerContext: ql } = ln(sn, un);
172
172
  function Ro(n = {}) {
173
173
  function t(s, f, u, m) {
174
174
  if (typeof u == "number")
@@ -527,8 +527,8 @@ function cn(n, t, e) {
527
527
  }
528
528
  function f(p, v, y, E, M, R = "", k = "") {
529
529
  return Object.keys(p).map((g) => {
530
- const x = C(1), b = g, B = p[g], H = Object.keys(B), S = B.title, F = B.type, P = i.get(F) || { type: "input-group", enableClear: !1 }, V = B.editor ? Object.assign({}, P, B.editor) : Object.assign({}, P), $ = c(H, B, v), W = l(H, B, v);
531
- V.readonly = V.readonly === void 0 ? W() : V.readonly;
530
+ const x = C(1), b = g, B = p[g], H = Object.keys(B), S = B.title, F = B.type, V = i.get(F) || { type: "input-group", enableClear: !1 }, P = B.editor ? Object.assign({}, V, B.editor) : Object.assign({}, V), $ = c(H, B, v), W = l(H, B, v);
531
+ P.readonly = P.readonly === void 0 ? W() : P.readonly;
532
532
  const ee = B.type === "cascade" ? f(B.properties, v, y, E, M, R, k) : [], O = !0;
533
533
  let N = s(B, k);
534
534
  const G = L({
@@ -544,7 +544,7 @@ function cn(n, t, e) {
544
544
  set(ie) {
545
545
  x.value += 1, N && N.convertTo ? (N.convertTo(E, g, ie, M, R), N.convertTo(y, g, ie, M, R)) : (E[g] = ie, y[g] = ie);
546
546
  }
547
- }), { refreshPanelAfterChanged: z, description: te, isExpand: ge, parentPropertyID: he } = B, Z = { propertyID: b, propertyName: S, propertyType: F, propertyValue: G, editor: V, visible: $, readonly: W, cascadeConfig: ee, hideCascadeTitle: O, refreshPanelAfterChanged: z, description: te, isExpand: ge, parentPropertyID: he };
547
+ }), { refreshPanelAfterChanged: z, description: te, isExpand: ge, parentPropertyID: he } = B, Z = { propertyID: b, propertyName: S, propertyType: F, propertyValue: G, editor: P, visible: $, readonly: W, cascadeConfig: ee, hideCascadeTitle: O, refreshPanelAfterChanged: z, description: te, isExpand: ge, parentPropertyID: he };
548
548
  return v[b] = Z, Z;
549
549
  });
550
550
  }
@@ -559,11 +559,11 @@ function cn(n, t, e) {
559
559
  const R = v.$ref.schema, k = v.$ref.converter, w = y[R], g = w.type, x = e(w), b = {}, B = n[g];
560
560
  if (B && B.categories) {
561
561
  const H = B.categories[p], S = H == null ? void 0 : H.title;
562
- k && Object.keys(H.properties).forEach((V) => {
563
- H.properties[V].$converter = k;
562
+ k && Object.keys(H.properties).forEach((P) => {
563
+ H.properties[P].$converter = k;
564
564
  });
565
- const F = (H == null ? void 0 : H.properties) || {}, P = f(F, b, x, w, E, M);
566
- return { categoryId: p, categoryName: S, properties: P };
565
+ const F = (H == null ? void 0 : H.properties) || {}, V = f(F, b, x, w, E, M);
566
+ return { categoryId: p, categoryName: S, properties: V };
567
567
  }
568
568
  return { categoryId: p, categoryName: "", properties: [] };
569
569
  }
@@ -578,8 +578,8 @@ function cn(n, t, e) {
578
578
  x.push(m(b, B, p, v, E));
579
579
  return;
580
580
  }
581
- const H = B == null ? void 0 : B.title, S = B == null ? void 0 : B.tabId, F = B == null ? void 0 : B.tabName, P = B == null ? void 0 : B.hide, V = B == null ? void 0 : B.hideTitle, $ = f(B.properties || {}, w, k, p, v, E, B.$converter), { setPropertyRelates: W } = B, ee = B == null ? void 0 : B.parentPropertyID;
582
- x.push({ categoryId: b, categoryName: H, tabId: S, tabName: F, hide: P, properties: $, hideTitle: V, setPropertyRelates: W, parentPropertyID: ee });
581
+ const H = B == null ? void 0 : B.title, S = B == null ? void 0 : B.tabId, F = B == null ? void 0 : B.tabName, V = B == null ? void 0 : B.hide, P = B == null ? void 0 : B.hideTitle, $ = f(B.properties || {}, w, k, p, v, E, B.$converter), { setPropertyRelates: W } = B, ee = B == null ? void 0 : B.parentPropertyID;
582
+ x.push({ categoryId: b, categoryName: H, tabId: S, tabName: F, hide: V, properties: $, hideTitle: P, setPropertyRelates: W, parentPropertyID: ee });
583
583
  }), x;
584
584
  }
585
585
  return [];
@@ -592,7 +592,7 @@ function cn(n, t, e) {
592
592
  }
593
593
  const dn = {}, fn = {};
594
594
  cn(dn, fn, Oo);
595
- const pn = {}, mn = {}, { resolveSchemaWithDefaultValue: ri } = ln(pn, mn), vn = {}, gn = {};
595
+ const pn = {}, mn = {}, { getSchemaByType: _l, resolveSchemaWithDefaultValue: ri, resolveSchemaToProps: Wl, mappingSchemaToProps: Gl, setDesignerContext: Xl } = ln(pn, mn), vn = {}, gn = {};
596
596
  cn(vn, gn, ri);
597
597
  function lt(n, t, e = /* @__PURE__ */ new Map(), o = (a, c, l, s) => c, i = {}, r = (a) => a) {
598
598
  return sn[t.title] = t, un[t.title] = o, dn[t.title] = i, fn[t.title] = r, pn[t.title] = t, mn[t.title] = o, vn[t.title] = i, gn[t.title] = r, (a = {}, c = !0) => {
@@ -835,7 +835,7 @@ const ai = /* @__PURE__ */ new Map([
835
835
  * 是否使用千分值
836
836
  */
837
837
  useThousands: { type: Boolean, default: !0 }
838
- }, hn = lt(qt, mi, ai, Po);
838
+ }, hn = lt(qt, mi, ai, Vo);
839
839
  function yn(n, t) {
840
840
  const e = L(() => Number(n.precision) || 0);
841
841
  function o(l) {
@@ -1046,17 +1046,17 @@ const wt = /* @__PURE__ */ Ge({
1046
1046
  return Ke(() => {
1047
1047
  const g = R(n.beginValue, !1), x = R(n.endValue, !1);
1048
1048
  o.value = k(g, !1), r.value = k(x, !1);
1049
- }), xe(() => [n.beginValue], ([g]) => {
1049
+ }), Se(() => [n.beginValue], ([g]) => {
1050
1050
  if (!u.isTextBoxFocused.value) {
1051
1051
  const x = R(g, !1);
1052
1052
  e.value = x, o.value = k(x, !1);
1053
1053
  }
1054
- }), xe(() => [n.endValue], ([g]) => {
1054
+ }), Se(() => [n.endValue], ([g]) => {
1055
1055
  if (!y.isTextBoxFocused.value) {
1056
1056
  const x = R(g, !1);
1057
1057
  i.value = x, r.value = k(x, !1);
1058
1058
  }
1059
- }), xe(() => [n.precision, n.useThousands, n.prefix, n.suffix, n.showZero], () => {
1059
+ }), Se(() => [n.precision, n.useThousands, n.prefix, n.suffix, n.showZero], () => {
1060
1060
  o.value = k(e.value), r.value = k(i.value);
1061
1061
  }), () => T("div", {
1062
1062
  class: "input-group number-range f-cmp-number-spinner"
@@ -1123,18 +1123,18 @@ function vi(n, t, e) {
1123
1123
  return null;
1124
1124
  if (F.value.schema && F.value.schema.type === "component")
1125
1125
  return F.value;
1126
- const P = C(F == null ? void 0 : F.value.parent), V = u(P);
1127
- return V || null;
1126
+ const V = C(F == null ? void 0 : F.value.parent), P = u(V);
1127
+ return P || null;
1128
1128
  }
1129
1129
  function m(F = t) {
1130
1130
  var W;
1131
1131
  if (e != null && e.getDraggableDesignItemElement)
1132
1132
  return e.getDraggableDesignItemElement(F);
1133
- const { componentInstance: P, designerItemElementRef: V } = F;
1134
- if (!P || !P.value)
1133
+ const { componentInstance: V, designerItemElementRef: P } = F;
1134
+ if (!V || !V.value)
1135
1135
  return null;
1136
- const { getCustomButtons: $ } = P.value;
1137
- return P.value.canMove || $ && ((W = $()) != null && W.length) ? V : m(F.parent);
1136
+ const { getCustomButtons: $ } = V.value;
1137
+ return V.value.canMove || $ && ((W = $()) != null && W.length) ? P : m(F.parent);
1138
1138
  }
1139
1139
  function d(F) {
1140
1140
  return !!e && e.canAccepts(F);
@@ -1144,16 +1144,16 @@ function vi(n, t, e) {
1144
1144
  }
1145
1145
  function v() {
1146
1146
  }
1147
- function y(F, P) {
1148
- var V;
1149
- !F || !P || (e != null && e.onAcceptMovedChildElement && e.onAcceptMovedChildElement(F, P), (V = t == null ? void 0 : t.setupContext) == null || V.emit("dragEnd"));
1147
+ function y(F, V) {
1148
+ var P;
1149
+ !F || !V || (e != null && e.onAcceptMovedChildElement && e.onAcceptMovedChildElement(F, V), (P = t == null ? void 0 : t.setupContext) == null || P.emit("dragEnd"));
1150
1150
  }
1151
- function E(F, P) {
1152
- const { componentType: V } = F;
1153
- let $ = Un(V, F, P);
1151
+ function E(F, V) {
1152
+ const { componentType: P } = F;
1153
+ let $ = Un(P, F, V);
1154
1154
  e && e.onResolveNewComponentSchema && ($ = e.onResolveNewComponentSchema(F, $));
1155
- const W = V.toLowerCase().replace(/-/g, "_");
1156
- return $ && !$.id && $.type === V && ($.id = `${W}_${Math.random().toString().slice(2, 6)}`), $;
1155
+ const W = P.toLowerCase().replace(/-/g, "_");
1156
+ return $ && !$.id && $.type === P && ($.id = `${W}_${Math.random().toString().slice(2, 6)}`), $;
1157
1157
  }
1158
1158
  function M(F) {
1159
1159
  F && e != null && e.onChildElementMovedOut && e.onChildElementMovedOut(F);
@@ -1165,23 +1165,23 @@ function vi(n, t, e) {
1165
1165
  function k(F) {
1166
1166
  if (!F)
1167
1167
  return;
1168
- const P = t == null ? void 0 : t.schema, { formSchemaUtils: V } = F;
1169
- if (P && V.getExpressions().length) {
1170
- const $ = V.getExpressions().findIndex((W) => W.target === P.id);
1171
- $ > -1 && V.getExpressions().splice($, 1);
1168
+ const V = t == null ? void 0 : t.schema, { formSchemaUtils: P } = F;
1169
+ if (V && P.getExpressions().length) {
1170
+ const $ = P.getExpressions().findIndex((W) => W.target === V.id);
1171
+ $ > -1 && P.getExpressions().splice($, 1);
1172
1172
  }
1173
1173
  }
1174
1174
  function w(F) {
1175
1175
  if (!F || !(t != null && t.schema))
1176
1176
  return;
1177
- const P = t.schema, { formSchemaUtils: V } = F;
1178
- V.removeCommunicationInComponent(P);
1177
+ const V = t.schema, { formSchemaUtils: P } = F;
1178
+ P.removeCommunicationInComponent(V);
1179
1179
  }
1180
1180
  function g(F) {
1181
- e && e.onRemoveComponent && e.onRemoveComponent(), k(F), w(F), t != null && t.schema.contents && t.schema.contents.map((P) => {
1182
- let V = P.id;
1183
- P.type === "component-ref" && (V = P.component);
1184
- const $ = n.value.querySelectorAll(`#${V}-design-item`);
1181
+ e && e.onRemoveComponent && e.onRemoveComponent(), k(F), w(F), t != null && t.schema.contents && t.schema.contents.map((V) => {
1182
+ let P = V.id;
1183
+ V.type === "component-ref" && (P = V.component);
1184
+ const $ = n.value.querySelectorAll(`#${P}-design-item`);
1185
1185
  $ != null && $.length && Array.from($).map((W) => {
1186
1186
  var ee;
1187
1187
  (ee = W == null ? void 0 : W.componentInstance) != null && ee.value.onRemoveComponent && W.componentInstance.value.onRemoveComponent(F);
@@ -1193,29 +1193,29 @@ function vi(n, t, e) {
1193
1193
  return e.getCustomButtons();
1194
1194
  }
1195
1195
  function b(F) {
1196
- var V, $;
1197
- if (!((V = t == null ? void 0 : t.schema) != null && V.id))
1196
+ var P, $;
1197
+ if (!((P = t == null ? void 0 : t.schema) != null && P.id))
1198
1198
  return;
1199
1199
  if (!a && F && (a = F.formSchemaUtils), e != null && e.setComponentBasicInfoMap) {
1200
1200
  e.setComponentBasicInfoMap();
1201
1201
  return;
1202
1202
  }
1203
- let P = "";
1203
+ let V = "";
1204
1204
  if (e != null && e.getComponentTitle)
1205
- P = e.getComponentTitle();
1205
+ V = e.getComponentTitle();
1206
1206
  else {
1207
1207
  const { text: W, title: ee, label: O, mainTitle: N, name: G, type: z } = t.schema;
1208
- P = W || ee || O || N || G || (($ = j[z]) == null ? void 0 : $.name);
1208
+ V = W || ee || O || N || G || (($ = j[z]) == null ? void 0 : $.name);
1209
1209
  }
1210
- P && a.getControlBasicInfoMap().set(t.schema.id, {
1211
- componentTitle: P,
1212
- parentPathName: P
1210
+ V && a.getControlBasicInfoMap().set(t.schema.id, {
1211
+ componentTitle: V,
1212
+ parentPathName: V
1213
1213
  });
1214
1214
  }
1215
1215
  function B(F) {
1216
1216
  var W;
1217
- const { changeObject: P } = F, { propertyID: V, propertyValue: $ } = P;
1218
- if (["text", "title", "label", "name", "mainTitle"].includes((W = F == null ? void 0 : F.changeObject) == null ? void 0 : W.propertyID) && V && $ && (b(), a)) {
1217
+ const { changeObject: V } = F, { propertyID: P, propertyValue: $ } = V;
1218
+ if (["text", "title", "label", "name", "mainTitle"].includes((W = F == null ? void 0 : F.changeObject) == null ? void 0 : W.propertyID) && P && $ && (b(), a)) {
1219
1219
  const ee = a.getControlBasicInfoMap(), O = ee.keys().toArray().filter((N) => {
1220
1220
  var G, z;
1221
1221
  return ((G = ee.get(N)) == null ? void 0 : G.reliedComponentId) === ((z = t == null ? void 0 : t.schema) == null ? void 0 : z.id);
@@ -2046,7 +2046,7 @@ var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2046
2046
  function ct(n) {
2047
2047
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2048
2048
  }
2049
- var xi = { exports: {} };
2049
+ var Si = { exports: {} };
2050
2050
  (function(n, t) {
2051
2051
  (function(e) {
2052
2052
  n.exports = e();
@@ -2097,9 +2097,9 @@ var xi = { exports: {} };
2097
2097
  (function(r) {
2098
2098
  var a = e("contra/emitter"), c = e("crossvent"), l = e("./classes"), s = document, f = s.documentElement;
2099
2099
  function u(S, F) {
2100
- var P = arguments.length;
2101
- P === 1 && Array.isArray(S) === !1 && (F = S, S = []);
2102
- var V, $, W, ee, O, N, G, z, te, ge = null, he, Z, ie = !1, se = 0, ne, q = F || {};
2100
+ var V = arguments.length;
2101
+ V === 1 && Array.isArray(S) === !1 && (F = S, S = []);
2102
+ var P, $, W, ee, O, N, G, z, te, ge = null, he, Z, ie = !1, se = 0, ne, q = F || {};
2103
2103
  q.moves === void 0 && (q.moves = M), q.accepts === void 0 && (q.accepts = M), q.invalid === void 0 && (q.invalid = tt), q.containers === void 0 && (q.containers = S || []), q.isContainer === void 0 && (q.isContainer = E), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = s.body);
2104
2104
  var oe = a({
2105
2105
  containers: q.containers,
@@ -2108,7 +2108,7 @@ var xi = { exports: {} };
2108
2108
  cancel: I,
2109
2109
  remove: Je,
2110
2110
  destroy: Ae,
2111
- canMove: Pe,
2111
+ canMove: Ve,
2112
2112
  dragging: !1
2113
2113
  });
2114
2114
  return q.removeOnSpill === !0 && oe.on("over", Ft).on("out", Bt), Ne(), oe;
@@ -2137,7 +2137,7 @@ var xi = { exports: {} };
2137
2137
  ee = h.clientX, O = h.clientY;
2138
2138
  var D = v(h) !== 1 || h.metaKey || h.ctrlKey;
2139
2139
  if (!D) {
2140
- var A = h.target, _ = Ve(A);
2140
+ var A = h.target, _ = Pe(A);
2141
2141
  _ && (he = _, Te(), h.type === "mousedown" && (g(A) ? A.focus() : h.preventDefault()));
2142
2142
  }
2143
2143
  }
@@ -2158,8 +2158,8 @@ var xi = { exports: {} };
2158
2158
  }
2159
2159
  }
2160
2160
  }
2161
- function Ve(h) {
2162
- if (!(oe.dragging && V) && !Le(h)) {
2161
+ function Pe(h) {
2162
+ if (!(oe.dragging && P) && !Le(h)) {
2163
2163
  for (var D = h; w(h) && Le(w(h)) === !1; )
2164
2164
  if (q.invalid(h, D) || (h = w(h), !h))
2165
2165
  return;
@@ -2174,11 +2174,11 @@ var xi = { exports: {} };
2174
2174
  }
2175
2175
  }
2176
2176
  }
2177
- function Pe(h) {
2178
- return !!Ve(h);
2177
+ function Ve(h) {
2178
+ return !!Pe(h);
2179
2179
  }
2180
2180
  function Ee(h) {
2181
- var D = Ve(h);
2181
+ var D = Pe(h);
2182
2182
  D && Oe(D);
2183
2183
  }
2184
2184
  function Oe(h) {
@@ -2198,7 +2198,7 @@ var xi = { exports: {} };
2198
2198
  }
2199
2199
  function De(h) {
2200
2200
  if (ke(), !!oe.dragging) {
2201
- var D = z || W, A = H("clientX", h) || 0, _ = H("clientY", h) || 0, Q = y(V, A, _), K = ue(Q, A, _);
2201
+ var D = z || W, A = H("clientX", h) || 0, _ = H("clientY", h) || 0, Q = y(P, A, _), K = ue(Q, A, _);
2202
2202
  K && (z && q.copySortSource || !z || K !== $) ? Ze(D, K) : q.removeOnSpill ? Je() : I();
2203
2203
  }
2204
2204
  }
@@ -2220,11 +2220,11 @@ var xi = { exports: {} };
2220
2220
  }
2221
2221
  function J() {
2222
2222
  var h = z || W;
2223
- ke(), Nt(), Vt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ge && oe.emit("out", h, ge, $), oe.emit("dragend", h, se), $ = W = z = N = G = te = ge = null;
2223
+ ke(), Nt(), Pt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ge && oe.emit("out", h, ge, $), oe.emit("dragend", h, se), $ = W = z = N = G = te = ge = null;
2224
2224
  }
2225
2225
  function le(h, D) {
2226
2226
  var A;
2227
- return D !== void 0 ? A = D : V ? A = G : A = b(z || W), h === $ && A === N;
2227
+ return D !== void 0 ? A = D : P ? A = G : A = b(z || W), h === $ && A === N;
2228
2228
  }
2229
2229
  function ue(h, D, A) {
2230
2230
  for (var _ = h; _ && !Q(); )
@@ -2234,18 +2234,18 @@ var xi = { exports: {} };
2234
2234
  var K = Le(_);
2235
2235
  if (K === !1)
2236
2236
  return !1;
2237
- var Se = st(_, h), ye = ut(_, Se, D, A), be = le(_, ye);
2237
+ var xe = st(_, h), ye = ut(_, xe, D, A), be = le(_, ye);
2238
2238
  return be ? !0 : q.accepts(W, _, $, ye);
2239
2239
  }
2240
2240
  }
2241
2241
  function Ie(h) {
2242
- if (!V)
2242
+ if (!P)
2243
2243
  return;
2244
2244
  h.preventDefault();
2245
2245
  var D = H("clientX", h) || 0, A = H("clientY", h) || 0;
2246
- V.style.left = D - 2 + "px", V.style.top = A - 2 + "px";
2247
- var _ = z || W, Q = y(V, D, A), K = ue(Q, D, A), Se = K !== null && K !== ge;
2248
- (Se || K === null) && (we(), ge = K, Fe()), jt(Q, A);
2246
+ P.style.left = D - 2 + "px", P.style.top = A - 2 + "px";
2247
+ var _ = z || W, Q = y(P, D, A), K = ue(Q, D, A), xe = K !== null && K !== ge;
2248
+ (xe || K === null) && (we(), ge = K, Fe()), jt(Q, A);
2249
2249
  var ye = w(_);
2250
2250
  if (K === $ && z && !q.copySortSource) {
2251
2251
  ye && ye.removeChild(_);
@@ -2260,12 +2260,12 @@ var xi = { exports: {} };
2260
2260
  z && ye && ye.removeChild(_), z && Z && (Z.style.display = "none");
2261
2261
  return;
2262
2262
  }
2263
- Z.style.display = "block", Mt(be, _, Se), be ? Ot(Me, be) : Dt(K);
2263
+ Z.style.display = "block", Mt(be, _, xe), be ? Ot(Me, be) : Dt(K);
2264
2264
  function ce(pe) {
2265
2265
  oe.emit(pe, _, ge, $);
2266
2266
  }
2267
2267
  function Fe() {
2268
- Se && ce("over");
2268
+ xe && ce("over");
2269
2269
  }
2270
2270
  function we() {
2271
2271
  ge && ce("out");
@@ -2281,7 +2281,7 @@ var xi = { exports: {} };
2281
2281
  oe.dragging && l.add(h, "gu-hide");
2282
2282
  }
2283
2283
  function kt() {
2284
- V || (V = document.createElement("div"), V.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", V.innerHTML = q.getMirrorText && q.getMirrorText(W) || "控件", l.add(V, "gu-mirror"), q.mirrorContainer.appendChild(V), p(f, "add", "mousemove", Ie), l.add(q.mirrorContainer, "gu-unselectable"), oe.emit("cloned", V, W, "mirror"));
2284
+ P || (P = document.createElement("div"), P.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", P.innerHTML = q.getMirrorText && q.getMirrorText(W) || "控件", l.add(P, "gu-mirror"), q.mirrorContainer.appendChild(P), p(f, "add", "mousemove", Ie), l.add(q.mirrorContainer, "gu-unselectable"), oe.emit("cloned", P, W, "mirror"));
2285
2285
  }
2286
2286
  function It() {
2287
2287
  if (Z = document.createElement("div"), l.add(Z, "gu-insertion"), W) {
@@ -2291,9 +2291,9 @@ var xi = { exports: {} };
2291
2291
  ie = !1, q.mirrorContainer.appendChild(Z);
2292
2292
  }
2293
2293
  function Nt() {
2294
- V && (l.rm(q.mirrorContainer, "gu-unselectable"), p(f, "remove", "mousemove", Ie), w(V).removeChild(V), V = null);
2294
+ P && (l.rm(q.mirrorContainer, "gu-unselectable"), p(f, "remove", "mousemove", Ie), w(P).removeChild(P), P = null);
2295
2295
  }
2296
- function Vt() {
2296
+ function Pt() {
2297
2297
  Z && (w(Z).removeChild(Z), Z = null);
2298
2298
  }
2299
2299
  function st(h, D) {
@@ -2311,17 +2311,17 @@ var xi = { exports: {} };
2311
2311
  if (Q)
2312
2312
  return !0;
2313
2313
  if (D) {
2314
- var K = getComputedStyle(D), Se = K.getPropertyValue("display");
2315
- if (/flex$/.test(Se)) {
2314
+ var K = getComputedStyle(D), xe = K.getPropertyValue("display");
2315
+ if (/flex$/.test(xe)) {
2316
2316
  var ye = K.getPropertyValue("flex-direction") || "row";
2317
2317
  if (ye === "row" || ye === "row-reverse")
2318
- return !Pt(D);
2318
+ return !Vt(D);
2319
2319
  }
2320
2320
  return !1;
2321
2321
  }
2322
2322
  return !0;
2323
2323
  }
2324
- function Pt(h) {
2324
+ function Vt(h) {
2325
2325
  if (!h.children || !h.children.length)
2326
2326
  return !1;
2327
2327
  for (const D of Array.from(h.children)) {
@@ -2373,8 +2373,8 @@ var xi = { exports: {} };
2373
2373
  }
2374
2374
  }
2375
2375
  function ut(h, D, A, _) {
2376
- var Q = q.direction === "horizontal", K = q.direction === "mixed", Se = D !== h ? be() : ye();
2377
- return Se;
2376
+ var Q = q.direction === "horizontal", K = q.direction === "mixed", xe = D !== h ? be() : ye();
2377
+ return xe;
2378
2378
  function ye() {
2379
2379
  var ce = h.children.length, Fe, we, pe;
2380
2380
  for (Fe = 0; Fe < ce; Fe++)
@@ -2401,23 +2401,23 @@ var xi = { exports: {} };
2401
2401
  function m(S) {
2402
2402
  const F = Array.from(window.scrollContainerList);
2403
2403
  if (F.length === 1) {
2404
- const V = Array.from(window.scrollContainerList)[0];
2405
- return document.getElementById(V);
2404
+ const P = Array.from(window.scrollContainerList)[0];
2405
+ return document.getElementById(P);
2406
2406
  }
2407
- const P = d(F);
2408
- for (const V of P)
2409
- if (V.contains(S))
2410
- return V;
2407
+ const V = d(F);
2408
+ for (const P of V)
2409
+ if (P.contains(S))
2410
+ return P;
2411
2411
  return null;
2412
2412
  }
2413
2413
  function d(S) {
2414
2414
  const F = [];
2415
- return S.forEach((P) => {
2416
- const V = document.getElementById(P);
2417
- V && F.push(V);
2418
- }), F.sort((P, V) => P.contains(V) ? 1 : V.contains(P) ? -1 : 0), F;
2415
+ return S.forEach((V) => {
2416
+ const P = document.getElementById(V);
2417
+ P && F.push(P);
2418
+ }), F.sort((V, P) => V.contains(P) ? 1 : P.contains(V) ? -1 : 0), F;
2419
2419
  }
2420
- function p(S, F, P, V) {
2420
+ function p(S, F, V, P) {
2421
2421
  var $ = {
2422
2422
  mouseup: "touchend",
2423
2423
  mousedown: "touchstart",
@@ -2431,7 +2431,7 @@ var xi = { exports: {} };
2431
2431
  mousedown: "MSPointerDown",
2432
2432
  mousemove: "MSPointerMove"
2433
2433
  };
2434
- r.navigator.pointerEnabled ? c[F](S, W[P], V) : r.navigator.msPointerEnabled ? c[F](S, ee[P], V) : (c[F](S, $[P], V), c[F](S, P, V));
2434
+ r.navigator.pointerEnabled ? c[F](S, W[V], P) : r.navigator.msPointerEnabled ? c[F](S, ee[V], P) : (c[F](S, $[V], P), c[F](S, V, P));
2435
2435
  }
2436
2436
  function v(S) {
2437
2437
  if (S.touches !== void 0)
@@ -2444,10 +2444,10 @@ var xi = { exports: {} };
2444
2444
  if (F !== void 0)
2445
2445
  return F & 1 ? 1 : F & 2 ? 3 : F & 4 ? 2 : 0;
2446
2446
  }
2447
- function y(S, F, P) {
2447
+ function y(S, F, V) {
2448
2448
  S = S || {};
2449
- var V = S.className || "", $;
2450
- return S.className += " gu-hide", $ = s.elementFromPoint(F, P), S.className = V, $;
2449
+ var P = S.className || "", $;
2450
+ return S.className += " gu-hide", $ = s.elementFromPoint(F, V), S.className = P, $;
2451
2451
  }
2452
2452
  function E() {
2453
2453
  return !1;
@@ -2473,24 +2473,24 @@ var xi = { exports: {} };
2473
2473
  function b(S) {
2474
2474
  return S.nextElementSibling || F();
2475
2475
  function F() {
2476
- var P = S;
2476
+ var V = S;
2477
2477
  do
2478
- P = P.nextSibling;
2479
- while (P && P.nodeType !== 1);
2480
- return P;
2478
+ V = V.nextSibling;
2479
+ while (V && V.nodeType !== 1);
2480
+ return V;
2481
2481
  }
2482
2482
  }
2483
2483
  function B(S) {
2484
2484
  return S.targetTouches && S.targetTouches.length ? S.targetTouches[0] : S.changedTouches && S.changedTouches.length ? S.changedTouches[0] : S;
2485
2485
  }
2486
2486
  function H(S, F) {
2487
- var P = B(F), V = {
2487
+ var V = B(F), P = {
2488
2488
  pageX: "clientX",
2489
2489
  // IE8
2490
2490
  pageY: "clientY"
2491
2491
  // IE8
2492
2492
  };
2493
- return S in V && !(S in P) && V[S] in P && (S = V[S]), P[S];
2493
+ return S in P && !(S in V) && P[S] in V && (S = P[S]), V[S];
2494
2494
  }
2495
2495
  o.exports = u;
2496
2496
  }).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2787,8 +2787,8 @@ var xi = { exports: {} };
2787
2787
  }, { "process/browser.js": 9, timers: 11 }]
2788
2788
  }, {}, [2])(2);
2789
2789
  });
2790
- })(xi);
2791
- const Si = {
2790
+ })(Si);
2791
+ const xi = {
2792
2792
  showCloseButton: { type: Boolean, default: !0 },
2793
2793
  position: { type: String, default: "top-center" },
2794
2794
  timeout: { type: Number, default: 3e3 },
@@ -2839,7 +2839,7 @@ const Si = {
2839
2839
  function M(k) {
2840
2840
  return `f-preten-link ${k.customClass ? k.customClass : ""}`;
2841
2841
  }
2842
- xe(i, () => {
2842
+ Se(i, () => {
2843
2843
  i.value;
2844
2844
  });
2845
2845
  const R = () => {
@@ -2891,7 +2891,7 @@ const Si = {
2891
2891
  }
2892
2892
  }), pt = /* @__PURE__ */ Ge({
2893
2893
  name: "Notify",
2894
- props: Si,
2894
+ props: xi,
2895
2895
  emits: ["close", "empty"],
2896
2896
  setup(n, t) {
2897
2897
  const e = L(() => ({
@@ -2973,7 +2973,7 @@ class Ei {
2973
2973
  i.top = m.bottom;
2974
2974
  }
2975
2975
  }
2976
- return i.safeHtml && ((s = i.options) != null && s.message) && (i.options.message = e.escapeAllHtml(i.options.message)), St(() => {
2976
+ return i.safeHtml && ((s = i.options) != null && s.message) && (i.options.message = e.escapeAllHtml(i.options.message)), xt(() => {
2977
2977
  document.body.removeChild(r);
2978
2978
  }), Ke(() => {
2979
2979
  e.updateNotifyPositionForCreate(i, c);
@@ -3247,7 +3247,7 @@ function Bi(n, t, e, o, i, r, a, c, l, s, f, u, m, d, p, v, y) {
3247
3247
  style: w.value
3248
3248
  }, [H(M.value.primaryColumns.filter(($) => $.visible), "primary")])]);
3249
3249
  }
3250
- function P() {
3250
+ function V() {
3251
3251
  return T("div", {
3252
3252
  ref: i,
3253
3253
  class: "fv-grid-content-right-fixed"
@@ -3256,12 +3256,12 @@ function Bi(n, t, e, o, i, r, a, c, l, s, f, u, m, d, p, v, y) {
3256
3256
  style: x.value
3257
3257
  }, [H(M.value.rightColumns.filter(($) => $.visible), "right")])]);
3258
3258
  }
3259
- function V() {
3259
+ function P() {
3260
3260
  const $ = [];
3261
- return R.value && $.push(S()), $.push(F()), k.value && $.push(P()), $;
3261
+ return R.value && $.push(S()), $.push(F()), k.value && $.push(V()), $;
3262
3262
  }
3263
3263
  return {
3264
- renderDataArea: V
3264
+ renderDataArea: P
3265
3265
  };
3266
3266
  }
3267
3267
  const ki = /* @__PURE__ */ Ge({
@@ -3282,9 +3282,9 @@ const ki = /* @__PURE__ */ Ge({
3282
3282
  } = g, b = no(n, g, a, d, t), {
3283
3283
  showSelection: B,
3284
3284
  selectedValues: H
3285
- } = b, S = oo(n, d, g, a, b, t), F = L(() => n.disabled), P = L(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), V = io(n, g), {
3285
+ } = b, S = oo(n, d, g, a, b, t), F = L(() => n.disabled), V = L(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), P = io(n, g), {
3286
3286
  shouldRenderPagination: $
3287
- } = V, {
3287
+ } = P, {
3288
3288
  containerStyleObject: W
3289
3289
  } = ro(n), ee = ao(n), {
3290
3290
  applyCommands: O
@@ -3301,20 +3301,20 @@ const ki = /* @__PURE__ */ Ge({
3301
3301
  updateColumnRenderContext: Z
3302
3302
  } = z;
3303
3303
  ge(g, te);
3304
- const ie = co(n, he), se = fo(n, t, b, a), ne = po(n, t, a, se, d), q = mo(n), oe = vo(n, ne, q), Le = go(n, g, ne, M, a, q, oe), Ne = ho(n, r, g, P, 0, Le), {
3304
+ const ie = co(n, he), se = fo(n, t, b, a), ne = po(n, t, a, se, d), q = mo(n), oe = vo(n, ne, q), Le = go(n, g, ne, M, a, q, oe), Ne = ho(n, r, g, V, 0, Le), {
3305
3305
  getVisualData: Te
3306
3306
  } = Ne, Xe = yo(n, he), Ae = bo(n, b), {
3307
3307
  sidebarWidth: Ye
3308
- } = Ae, ae = wo(n, g, d, he, Ne, P, 0, Ye), {
3308
+ } = Ae, ae = wo(n, g, d, he, Ne, V, 0, Ye), {
3309
3309
  onWheel: et,
3310
- dataGridWidth: Ve,
3311
- viewPortHeight: Pe,
3310
+ dataGridWidth: Pe,
3311
+ viewPortHeight: Ve,
3312
3312
  viewPortWidth: Ee,
3313
3313
  resetScroll: Oe,
3314
3314
  updateVisibleRowsOnLatestVisibleScope: tt
3315
3315
  } = ae, He = Co(n, he, s, Ee, ie), {
3316
3316
  calculateColumnsSize: ke
3317
- } = He, De = xo(), Ze = So(s, m, g, De, ae), Je = To(n, t, z, g, ie, y, ae), I = L(() => {
3317
+ } = He, De = So(), Ze = xo(s, m, g, De, ae), Je = To(n, t, z, g, ie, y, ae), I = L(() => {
3318
3318
  const U = {
3319
3319
  "fv-grid": !0,
3320
3320
  "fv-grid-bordered": n.showBorder,
@@ -3345,18 +3345,18 @@ const ki = /* @__PURE__ */ Ge({
3345
3345
  var U, Y, de;
3346
3346
  if (s.value && s.value.clientHeight > 0 && ((U = s.value) == null ? void 0 : U.clientWidth) > 0) {
3347
3347
  const me = Math.ceil(s.value.clientHeight / o);
3348
- me > i.value && (i.value = me, tt()), Pe.value = ((Y = f.value) == null ? void 0 : Y.clientHeight) || 0, Ve.value = ((de = s.value) == null ? void 0 : de.clientWidth) || 0, ke();
3348
+ me > i.value && (i.value = me, tt()), Ve.value = ((Y = f.value) == null ? void 0 : Y.clientHeight) || 0, Pe.value = ((de = s.value) == null ? void 0 : de.clientWidth) || 0, ke();
3349
3349
  }
3350
3350
  }
3351
3351
  Ke(() => {
3352
- s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), d.value = Te(0, P.value + 0 - 1), Xn(s.value, Nt), ke(), Tt(() => {
3353
- s.value && (Ve.value = s.value.clientWidth), f.value && (Ee.value = f.value.clientWidth, Pe.value = f.value.clientHeight);
3352
+ s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), d.value = Te(0, V.value + 0 - 1), Xn(s.value, Nt), ke(), Tt(() => {
3353
+ s.value && (Pe.value = s.value.clientWidth), f.value && (Ee.value = f.value.clientWidth, Ve.value = f.value.clientHeight);
3354
3354
  })), k.value && w();
3355
- }), St(() => {
3356
- }), xe(Ee, () => {
3355
+ }), xt(() => {
3356
+ }), Se(Ee, () => {
3357
3357
  s.value && ke();
3358
3358
  });
3359
- function Vt(U) {
3359
+ function Pt(U) {
3360
3360
  g.collapseTo(U), g.reOrderVisibleIndex(), Oe();
3361
3361
  }
3362
3362
  function st(U) {
@@ -3366,13 +3366,13 @@ const ki = /* @__PURE__ */ Ge({
3366
3366
  const U = b.getSelectionRow();
3367
3367
  return U ? U.dataIndex - 1 : -1;
3368
3368
  }
3369
- function Pt() {
3369
+ function Vt() {
3370
3370
  const U = nt();
3371
- g.insertNewDataItem(U), d.value = Te(0, P.value + 0 - 1);
3371
+ g.insertNewDataItem(U), d.value = Te(0, V.value + 0 - 1);
3372
3372
  }
3373
3373
  function Ot() {
3374
3374
  const U = nt();
3375
- g.insertNewChildDataItem(U), d.value = Te(0, P.value + 0 - 1);
3375
+ g.insertNewChildDataItem(U), d.value = Te(0, V.value + 0 - 1);
3376
3376
  }
3377
3377
  function Dt(U, Y) {
3378
3378
  const de = d.value.find((Ce) => Ce.raw[c.value] === Y), me = de ? de.dataIndex - 1 : -1;
@@ -3380,7 +3380,7 @@ const ki = /* @__PURE__ */ Ge({
3380
3380
  }
3381
3381
  function jt() {
3382
3382
  const U = nt(), Y = S.getNextSelectableHierarchyItemId(U);
3383
- g.removeHierarchyDataItem(U), d.value = Te(0, P.value + 0 - 1), Y && b.selectItemById(Y);
3383
+ g.removeHierarchyDataItem(U), d.value = Te(0, V.value + 0 - 1), Y && S.selectItemById(Y);
3384
3384
  }
3385
3385
  function ut(U) {
3386
3386
  ne.onEditingRow(U);
@@ -3394,14 +3394,14 @@ const ki = /* @__PURE__ */ Ge({
3394
3394
  function D(U) {
3395
3395
  U && (r.value = U, O(r), Z(r.value), ge(g, te), ke());
3396
3396
  }
3397
- xe(() => n.columns, (U) => {
3397
+ Se(() => n.columns, (U) => {
3398
3398
  D(U);
3399
3399
  });
3400
3400
  function A(U, Y) {
3401
3401
  U && (g.load(U), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Oe());
3402
3402
  }
3403
3403
  function _(U) {
3404
- b.selectItemById(U);
3404
+ S.selectItemById(U);
3405
3405
  }
3406
3406
  function Q(U) {
3407
3407
  const Y = d.value.find((de) => de.raw[a.idField.value] === U);
@@ -3410,8 +3410,8 @@ const ki = /* @__PURE__ */ Ge({
3410
3410
  function K(U) {
3411
3411
  se.activeRowById(U);
3412
3412
  }
3413
- function Se(U) {
3414
- b.selectItemByIds(U);
3413
+ function xe(U) {
3414
+ S.selectItemByIds(U);
3415
3415
  }
3416
3416
  function ye() {
3417
3417
  return b.getSelectedItems();
@@ -3426,7 +3426,7 @@ const ki = /* @__PURE__ */ Ge({
3426
3426
  return b.getSelectionRow();
3427
3427
  }
3428
3428
  function we(U) {
3429
- b.unSelectItemByIds(U);
3429
+ S.unSelectItemByIds(U);
3430
3430
  }
3431
3431
  function pe() {
3432
3432
  return b.currentSelectedDataId.value;
@@ -3472,7 +3472,7 @@ const ki = /* @__PURE__ */ Ge({
3472
3472
  function Mn() {
3473
3473
  return R.value;
3474
3474
  }
3475
- xe(() => n.showSetting, (U, Y) => {
3475
+ Se(() => n.showSetting, (U, Y) => {
3476
3476
  U !== Y && (U ? N(r) : G(r), D(r.value));
3477
3477
  });
3478
3478
  function Fn(U) {
@@ -3487,10 +3487,10 @@ const ki = /* @__PURE__ */ Ge({
3487
3487
  }
3488
3488
  t.expose({
3489
3489
  activeRowById: K,
3490
- addNewDataItem: Pt,
3490
+ addNewDataItem: Vt,
3491
3491
  addNewChildDataItem: Ot,
3492
3492
  addChildrenToNode: Dt,
3493
- collapseTo: Vt,
3493
+ collapseTo: Pt,
3494
3494
  expandTo: st,
3495
3495
  removeDataItem: jt,
3496
3496
  editDataItem: ut,
@@ -3499,7 +3499,7 @@ const ki = /* @__PURE__ */ Ge({
3499
3499
  updateColumns: D,
3500
3500
  updateDataSource: A,
3501
3501
  selectItemById: _,
3502
- selectItemByIds: Se,
3502
+ selectItemByIds: xe,
3503
3503
  getSelectedItems: ye,
3504
3504
  clearSelection: be,
3505
3505
  getSelectionRow: Fe,
@@ -3520,19 +3520,19 @@ const ki = /* @__PURE__ */ Ge({
3520
3520
  }), Nn = L(() => ({
3521
3521
  ...W.value,
3522
3522
  borderRadius: "5px"
3523
- })), {
3524
- renderDataGridPagination: ua
3525
- } = No(n, t, g, ae, V, b), Vn = L(() => ({
3523
+ }));
3524
+ No(n, t, g, ae, P, b);
3525
+ const Pn = L(() => ({
3526
3526
  "d-flex": !0,
3527
3527
  "justify-content-between": $.value && B.value,
3528
3528
  "justify-content-end": $.value && !B.value,
3529
3529
  "position-relative": !0
3530
- })), Pn = L(() => ({
3530
+ })), Vn = L(() => ({
3531
3531
  "d-flex": !0,
3532
3532
  "align-items-center": !0
3533
3533
  })), {
3534
3534
  renderDataGridSummary: On
3535
- } = Vo(n, g, z);
3535
+ } = Po(n, g, z);
3536
3536
  return () => T("div", {
3537
3537
  ref: l,
3538
3538
  class: I.value,
@@ -3545,9 +3545,9 @@ const ki = /* @__PURE__ */ Ge({
3545
3545
  onMouseleave: () => p.value = !1,
3546
3546
  style: In.value
3547
3547
  }, [s.value && Ft(d), s.value && le(), s.value && Me.value && ce(), s.value && kt(), s.value && It()]), s.value && On(), B.value && T("div", {
3548
- class: Vn.value
3549
- }, [B.value && T("div", {
3550
3548
  class: Pn.value
3549
+ }, [B.value && T("div", {
3550
+ class: Vn.value
3551
3551
  }, [T("div", null, ["已选:" + H.value.length, At(" 条")])])]), Ie(), F.value && Bt()]);
3552
3552
  }
3553
3553
  });
@@ -3558,7 +3558,7 @@ const Ii = /* @__PURE__ */ new Map([
3558
3558
  function Ni(n, t, e) {
3559
3559
  return t;
3560
3560
  }
3561
- const Vi = "https://json-schema.org/draft/2020-12/schema", Pi = "https://farris-design.gitee.io/step.schema.json", Oi = "step", Di = "A Farris Component", ji = "object", Ri = {
3561
+ const Pi = "https://json-schema.org/draft/2020-12/schema", Vi = "https://farris-design.gitee.io/step.schema.json", Oi = "step", Di = "A Farris Component", ji = "object", Ri = {
3562
3562
  id: {
3563
3563
  description: "The unique identifier for step",
3564
3564
  type: "string"
@@ -3624,8 +3624,8 @@ const Vi = "https://json-schema.org/draft/2020-12/schema", Pi = "https://farris-
3624
3624
  "id",
3625
3625
  "type"
3626
3626
  ], Li = {
3627
- $schema: Vi,
3628
- $id: Pi,
3627
+ $schema: Pi,
3628
+ $id: Vi,
3629
3629
  title: Oi,
3630
3630
  description: Di,
3631
3631
  type: ji,
@@ -4051,7 +4051,7 @@ const vr = "https://json-schema.org/draft/2020-12/schema", gr = "https://farris-
4051
4051
  }, Cr = [
4052
4052
  "id",
4053
4053
  "type"
4054
- ], xr = {
4054
+ ], Sr = {
4055
4055
  $schema: vr,
4056
4056
  $id: gr,
4057
4057
  title: hr,
@@ -4059,7 +4059,7 @@ const vr = "https://json-schema.org/draft/2020-12/schema", gr = "https://farris-
4059
4059
  type: br,
4060
4060
  properties: wr,
4061
4061
  required: Cr
4062
- }, Sr = {
4062
+ }, xr = {
4063
4063
  initialState: {
4064
4064
  type: Object,
4065
4065
  default: {
@@ -4070,7 +4070,7 @@ const vr = "https://json-schema.org/draft/2020-12/schema", gr = "https://farris-
4070
4070
  }
4071
4071
  }
4072
4072
  };
4073
- rn(Sr, xr, Wi, Zi);
4073
+ rn(xr, Sr, Wi, Zi);
4074
4074
  const Tr = {
4075
4075
  width: { Type: Number, default: 400 },
4076
4076
  type: { Type: String, default: "info" },
@@ -4182,11 +4182,11 @@ function Nr() {
4182
4182
  toShowFeedback: n
4183
4183
  };
4184
4184
  }
4185
- function Vr(n, t) {
4185
+ function Pr(n, t) {
4186
4186
  const e = t.getEditorRender(n.promptEditorType);
4187
4187
  return () => e && e();
4188
4188
  }
4189
- function Pr(n, t) {
4189
+ function Vr(n, t) {
4190
4190
  function e(d) {
4191
4191
  if (d == null)
4192
4192
  return 0;
@@ -4255,7 +4255,7 @@ function Dr(n, t, e, o, i) {
4255
4255
  return v[y] = !0, v;
4256
4256
  }), c = L(() => e.value || r.value && r.value.message), l = L(() => o.value), s = L(() => !!o.value), f = L(() => !!r.value);
4257
4257
  function u() {
4258
- return f.value ? Pr(r, i) : s.value ? Or(l) : () => null;
4258
+ return f.value ? Vr(r, i) : s.value ? Or(l) : () => null;
4259
4259
  }
4260
4260
  const m = u(), d = L(() => i.locale === "en" ? {
4261
4261
  wordBreak: "keep-all",
@@ -4382,7 +4382,7 @@ const mt = /* @__PURE__ */ Ge({
4382
4382
  function p() {
4383
4383
  switch (o.value) {
4384
4384
  case "prompt":
4385
- return Vr(n, s);
4385
+ return Pr(n, s);
4386
4386
  default:
4387
4387
  return Dr(n, o, i, r, e);
4388
4388
  }
@@ -4536,7 +4536,7 @@ function Zr() {
4536
4536
  resolve: n
4537
4537
  };
4538
4538
  }
4539
- const xn = {
4539
+ const Sn = {
4540
4540
  /**
4541
4541
  * 允许点击遮罩关闭对话框
4542
4542
  */
@@ -4616,7 +4616,7 @@ const xn = {
4616
4616
  src: { type: String, default: "" },
4617
4617
  footerHeight: { type: Number, default: 60 },
4618
4618
  host: { type: Object, default: "body" }
4619
- }, Jr = rn(xn, Gr, Xr, Yr), Qr = Zr();
4619
+ }, Jr = rn(Sn, Gr, Xr, Yr), Qr = Zr();
4620
4620
  class re {
4621
4621
  constructor(t, e) {
4622
4622
  this.x = t, this.y = e;
@@ -4825,7 +4825,7 @@ function Kr(n, t) {
4825
4825
  onMousedown: (N) => S(N)
4826
4826
  }, null)]);
4827
4827
  }
4828
- function P(O = !0) {
4828
+ function V(O = !0) {
4829
4829
  document.body.click();
4830
4830
  const N = o.value || document.body, G = _e.getCurrent(N), z = e.value;
4831
4831
  O && z && (p.value = b(), p.value.transform = z.style.transform), G && z && (c.value = G, c.value.height -= 14, c.value.width -= 14, z.style.height = c.value.height + "px", z.style.width = c.value.width + "px", z.style.left = "7px", z.style.top = "7px", z.style.transform = "", m.value = {
@@ -4836,7 +4836,7 @@ function Kr(n, t) {
4836
4836
  }
4837
4837
  }, v.value = !1, y.value = !0);
4838
4838
  }
4839
- function V() {
4839
+ function P() {
4840
4840
  var O, N;
4841
4841
  if (document.body.click(), p.value) {
4842
4842
  const G = {
@@ -4868,7 +4868,7 @@ function Kr(n, t) {
4868
4868
  }
4869
4869
  function W() {
4870
4870
  const O = () => {
4871
- y.value ? P(!1) : $(), document.body.click();
4871
+ y.value ? V(!1) : $(), document.body.click();
4872
4872
  };
4873
4873
  return window.addEventListener("resize", O), () => {
4874
4874
  window.removeEventListener("resize", O);
@@ -4879,8 +4879,8 @@ function Kr(n, t) {
4879
4879
  renderResizeBar: F,
4880
4880
  boundingElement: o,
4881
4881
  resizedEventParam: m,
4882
- maximize: P,
4883
- restore: V,
4882
+ maximize: V,
4883
+ restore: P,
4884
4884
  allowDrag: v,
4885
4885
  isMaximized: y,
4886
4886
  unWindowResizeHandle: ee,
@@ -4889,7 +4889,7 @@ function Kr(n, t) {
4889
4889
  }
4890
4890
  function ea(n, t, e) {
4891
4891
  const o = C(), i = C(n.draggable), r = C(n.lockAxis), a = C(), c = C(), l = C(!1), s = C(new re(0, 0)), f = C(new re(0, 0)), u = C(new re(0, 0)), m = C(new re(0, 0));
4892
- xe(() => e.value, (x) => {
4892
+ Se(() => e.value, (x) => {
4893
4893
  a.value.style.cursor = x ? "move" : "default";
4894
4894
  });
4895
4895
  function d(x, b) {
@@ -4967,7 +4967,7 @@ function ea(n, t, e) {
4967
4967
  resetTranslate: k
4968
4968
  };
4969
4969
  }
4970
- function Sn(n, t) {
4970
+ function xn(n, t) {
4971
4971
  if (n) {
4972
4972
  const e = (o) => {
4973
4973
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -4980,7 +4980,7 @@ function Sn(n, t) {
4980
4980
  function ta(n, t) {
4981
4981
  const e = C(n.enableEsc);
4982
4982
  let o = null;
4983
- return e.value ? (o = Sn("Escape", (i) => {
4983
+ return e.value ? (o = xn("Escape", (i) => {
4984
4984
  t.emit("esc", { event: i.event, type: "esc" });
4985
4985
  }), {
4986
4986
  remove: o
@@ -4989,7 +4989,7 @@ function ta(n, t) {
4989
4989
  function na(n, t) {
4990
4990
  const e = C(n.enableEnter);
4991
4991
  let o = null;
4992
- return e.value ? (o = Sn("Enter", (i) => {
4992
+ return e.value ? (o = xn("Enter", (i) => {
4993
4993
  t.emit("enter", { event: i.event, type: "enter" });
4994
4994
  }), {
4995
4995
  remove: o
@@ -4997,7 +4997,7 @@ function na(n, t) {
4997
4997
  }
4998
4998
  const We = /* @__PURE__ */ Ge({
4999
4999
  name: "FModal",
5000
- props: xn,
5000
+ props: Sn,
5001
5001
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
5002
5002
  setup(n, t) {
5003
5003
  const e = C(n.width || 300), o = C(n.height || 200), i = C(n.modelValue), r = C(""), a = C(n.class), c = C(n.fitContent), l = C(n.showHeader), s = C(""), f = C(n.showCloseButton), u = C(n.showMaxButton), m = C(!1), d = C(n.dialogType), p = C(n.src), v = C(""), y = C(n.showButtons), E = C(n.title), M = C(n.containment || null), R = C(), {
@@ -5030,8 +5030,8 @@ const We = /* @__PURE__ */ Ge({
5030
5030
  handle: (I) => {
5031
5031
  g(I, !0);
5032
5032
  }
5033
- }], b = C(n.buttons && n.buttons.length ? n.buttons : x), B = L(() => !!s.value), H = L(() => !!y.value && !!b.value), S = C(), F = C(), P = C(!1), {
5034
- renderResizeBar: V,
5033
+ }], b = C(n.buttons && n.buttons.length ? n.buttons : x), B = L(() => !!s.value), H = L(() => !!y.value && !!b.value), S = C(), F = C(), V = C(!1), {
5034
+ renderResizeBar: P,
5035
5035
  maximize: $,
5036
5036
  restore: W,
5037
5037
  boundingElement: ee,
@@ -5049,22 +5049,22 @@ const We = /* @__PURE__ */ Ge({
5049
5049
  const I = document.querySelectorAll(".farris-modal").length;
5050
5050
  (!I || I - 1 <= 0) && document.body.classList.remove("modal-open"), R.value && R.value.classList.remove("show");
5051
5051
  }
5052
- xe(() => n.title, (I, J) => {
5052
+ Se(() => n.title, (I, J) => {
5053
5053
  I !== J && (E.value = I);
5054
- }), xe(() => n.modelValue, (I, J) => {
5054
+ }), Se(() => n.modelValue, (I, J) => {
5055
5055
  I !== J && (i.value = I, i.value && n.draggable && Tt(() => {
5056
5056
  F.value && !M.value && (M.value = F.value.parentElement, ee.value = M.value, te(S.value, F.value, ee.value), z());
5057
- }), I || (M.value && (M.value = null), he())), i.value ? w.value = ge() : (P.value = !1, N.value = n.draggable);
5058
- }), xe(() => n.showHeader, (I, J) => {
5057
+ }), I || (M.value && (M.value = null), he())), i.value ? w.value = ge() : (V.value = !1, N.value = n.draggable);
5058
+ }), Se(() => n.showHeader, (I, J) => {
5059
5059
  I !== J && (l.value = I);
5060
- }), xe(() => n.showButtons, (I, J) => {
5060
+ }), Se(() => n.showButtons, (I, J) => {
5061
5061
  I !== J && (y.value = I);
5062
- }), xe(() => O.value, (I, J) => {
5062
+ }), Se(() => O.value, (I, J) => {
5063
5063
  const le = I || {}, ue = J || {};
5064
5064
  JSON.stringify(le) !== JSON.stringify(ue) && t.emit("resize", {
5065
5065
  newSize: I,
5066
5066
  oldSize: J,
5067
- isMaximized: P.value
5067
+ isMaximized: V.value
5068
5068
  });
5069
5069
  });
5070
5070
  const Z = L(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = L(() => {
@@ -5109,7 +5109,7 @@ const We = /* @__PURE__ */ Ge({
5109
5109
  }), Te = L(() => ({
5110
5110
  "f-icon": !0,
5111
5111
  modal_maximize: !0,
5112
- modalrevert: P.value
5112
+ modalrevert: V.value
5113
5113
  })), Xe = L(() => ({
5114
5114
  "modal-body": !0,
5115
5115
  "f-utils-flex-column": d.value === "iframe",
@@ -5127,31 +5127,31 @@ const We = /* @__PURE__ */ Ge({
5127
5127
  return Object.assign(I, J);
5128
5128
  });
5129
5129
  function ae(I) {
5130
- if (I == null || I.stopPropagation(), P.value) {
5131
- P.value = !1, W();
5130
+ if (I == null || I.stopPropagation(), V.value) {
5131
+ V.value = !1, W();
5132
5132
  return;
5133
5133
  }
5134
- $(), P.value = !0;
5134
+ $(), V.value = !0;
5135
5135
  }
5136
5136
  async function et(I, J) {
5137
5137
  I.handle && await I.handle(J, I) && t.emit("closed", J);
5138
5138
  }
5139
- function Ve(I) {
5139
+ function Pe(I) {
5140
5140
  I.width && (e.value = I.width), I.height && (o.value = I.height), I.buttons && (b.value = I.buttons), I.title && (E.value = I.title);
5141
5141
  }
5142
- let Pe = null, Ee = null;
5142
+ let Ve = null, Ee = null;
5143
5143
  Rn(() => {
5144
5144
  w.value = ge();
5145
5145
  }), Ke(() => {
5146
- F.value && !M.value && (M.value = F.value.parentElement, ee.value = M.value, te(S.value, F.value, ee.value)), Z.value && document.body.classList.add("modal-open"), Pe = ta(n, t), Ee = na(n, t);
5147
- }), St(() => {
5148
- G && G(), Pe && Pe.remove(), Ee && Ee.remove();
5146
+ F.value && !M.value && (M.value = F.value.parentElement, ee.value = M.value, te(S.value, F.value, ee.value)), Z.value && document.body.classList.add("modal-open"), Ve = ta(n, t), Ee = na(n, t);
5147
+ }), xt(() => {
5148
+ G && G(), Ve && Ve.remove(), Ee && Ee.remove();
5149
5149
  }), t.expose({
5150
5150
  modalElementRef: F,
5151
- updateModalOptions: Ve,
5151
+ updateModalOptions: Pe,
5152
5152
  close: g,
5153
5153
  maxDialog: ae,
5154
- isMaximized: P
5154
+ isMaximized: V
5155
5155
  });
5156
5156
  function Oe() {
5157
5157
  return T("ul", null, [m.value && T("li", {
@@ -5234,7 +5234,7 @@ const We = /* @__PURE__ */ Ge({
5234
5234
  width: "100%",
5235
5235
  frameborder: "0",
5236
5236
  src: p.value
5237
- }, null)]), ke()]), !c.value && F.value && !P.value && V(F.value)]);
5237
+ }, null)]), ke()]), !c.value && F.value && !V.value && P(F.value)]);
5238
5238
  }
5239
5239
  function Je(I) {
5240
5240
  return I || "body";
@@ -5267,7 +5267,7 @@ function oa(n) {
5267
5267
  t.style.display = "contents";
5268
5268
  const e = nn({
5269
5269
  setup(o, i) {
5270
- St(() => {
5270
+ xt(() => {
5271
5271
  document.body.removeChild(t);
5272
5272
  });
5273
5273
  const r = C(), a = C(n.class || ""), c = C(!!n.showButtons), l = C(!!n.showHeader), s = C(n.showCloseButton == null ? !0 : n.showCloseButton), f = C(!0), u = C(n.title || ""), m = n.acceptCallback || (() => {
@@ -5520,9 +5520,9 @@ const Be = class Be {
5520
5520
  }
5521
5521
  };
5522
5522
  X(Be, "app", null);
5523
- let xt = Be;
5523
+ let St = Be;
5524
5524
  mt.install = (n) => {
5525
- n.component(mt.name, mt), xt.app = n, n.provide("FMessageBoxService", xt);
5525
+ n.component(mt.name, mt), St.app = n, n.provide("FMessageBoxService", St);
5526
5526
  };
5527
5527
  class ra extends bi {
5528
5528
  constructor(e, o) {
@@ -6017,10 +6017,10 @@ wt.register = (n, t, e, o) => {
6017
6017
  wt.registerDesigner = (n, t, e) => {
6018
6018
  n["number-range"] = sa, t["number-range"] = hn;
6019
6019
  };
6020
- const ql = an(wt);
6020
+ const Yl = an(wt);
6021
6021
  export {
6022
6022
  wt as FNumberRange,
6023
- ql as default,
6023
+ Yl as default,
6024
6024
  qt as numberRangeProps,
6025
6025
  hn as propsResolver
6026
6026
  };