@farris/ui-vue 1.2.8 → 1.2.9

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 (215) hide show
  1. package/components/accordion/index.esm.js +129 -129
  2. package/components/accordion/index.umd.cjs +1 -0
  3. package/components/avatar/index.esm.js +166 -157
  4. package/components/avatar/index.umd.cjs +1 -0
  5. package/components/border-editor/index.umd.cjs +1 -0
  6. package/components/button/index.umd.cjs +1 -0
  7. package/components/button-edit/index.esm.js +343 -325
  8. package/components/button-edit/index.umd.cjs +1 -0
  9. package/components/button-group/index.umd.cjs +1 -0
  10. package/components/calculator/index.umd.cjs +1 -0
  11. package/components/calendar/index.esm.js +338 -338
  12. package/components/calendar/index.umd.cjs +1 -0
  13. package/components/capsule/index.esm.js +182 -182
  14. package/components/capsule/index.umd.cjs +1 -0
  15. package/components/checkbox/index.esm.js +326 -317
  16. package/components/checkbox/index.umd.cjs +1 -0
  17. package/components/color-picker/index.esm.js +118 -118
  18. package/components/color-picker/index.umd.cjs +3 -0
  19. package/components/combo-list/index.esm.js +338 -325
  20. package/components/combo-list/index.umd.cjs +1 -0
  21. package/components/combo-tree/index.esm.js +62 -62
  22. package/components/combo-tree/index.umd.cjs +1 -0
  23. package/components/common/index.umd.cjs +1 -0
  24. package/components/component/index.esm.js +382 -270
  25. package/components/component/index.umd.cjs +1 -0
  26. package/components/condition/index.esm.js +1018 -895
  27. package/components/condition/index.umd.cjs +1 -0
  28. package/components/content-container/index.esm.js +285 -212
  29. package/components/content-container/index.umd.cjs +1 -0
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +4761 -4319
  32. package/components/data-grid/index.umd.cjs +1 -0
  33. package/components/data-view/index.esm.js +2901 -2664
  34. package/components/data-view/index.umd.cjs +1 -0
  35. package/components/date-picker/index.esm.js +1502 -1488
  36. package/components/date-picker/index.umd.cjs +1 -0
  37. package/components/designer-canvas/index.css +1 -1
  38. package/components/designer-canvas/index.esm.js +938 -928
  39. package/components/designer-canvas/index.umd.cjs +1 -0
  40. package/components/designer-outline/index.css +1 -1
  41. package/components/designer-outline/index.esm.js +27 -27
  42. package/components/designer-outline/index.umd.cjs +1 -0
  43. package/components/designer-toolbox/index.esm.js +36 -12
  44. package/components/designer-toolbox/index.umd.cjs +1 -0
  45. package/components/discussion-editor/index.umd.cjs +3 -0
  46. package/components/discussion-list/index.umd.cjs +1 -0
  47. package/components/drawer/index.umd.cjs +1 -0
  48. package/components/dropdown/index.esm.js +241 -241
  49. package/components/dropdown/index.umd.cjs +2 -0
  50. package/components/dynamic-form/index.esm.js +1074 -885
  51. package/components/dynamic-form/index.umd.cjs +1 -0
  52. package/components/dynamic-resolver/index.esm.js +99 -94
  53. package/components/dynamic-resolver/index.umd.cjs +1 -0
  54. package/components/dynamic-view/index.umd.cjs +1 -0
  55. package/components/enum-editor/index.umd.cjs +1 -0
  56. package/components/events-editor/index.esm.js +577 -522
  57. package/components/events-editor/index.umd.cjs +1 -0
  58. package/components/expression-editor/index.esm.js +70 -70
  59. package/components/expression-editor/index.umd.cjs +1 -0
  60. package/components/external-container/index.css +1 -1
  61. package/components/external-container/index.esm.js +2938 -2619
  62. package/components/external-container/index.umd.cjs +1 -0
  63. package/components/field-selector/index.css +1 -1
  64. package/components/field-selector/index.esm.js +4766 -4325
  65. package/components/field-selector/index.umd.cjs +1 -0
  66. package/components/filter-bar/index.css +1 -1
  67. package/components/filter-bar/index.esm.js +1231 -1215
  68. package/components/filter-bar/index.umd.cjs +1 -0
  69. package/components/flow-canvas/index.css +1 -1
  70. package/components/flow-canvas/index.esm.js +1062 -1052
  71. package/components/flow-canvas/index.umd.cjs +1 -0
  72. package/components/image-cropper/index.esm.js +373 -373
  73. package/components/image-cropper/index.umd.cjs +1 -0
  74. package/components/input-group/index.esm.js +398 -394
  75. package/components/input-group/index.umd.cjs +1 -0
  76. package/components/layout/index.esm.js +268 -268
  77. package/components/layout/index.umd.cjs +1 -0
  78. package/components/list-nav/index.esm.js +234 -161
  79. package/components/list-nav/index.umd.cjs +1 -0
  80. package/components/list-view/index.css +1 -1
  81. package/components/list-view/index.esm.js +2288 -2048
  82. package/components/list-view/index.umd.cjs +1 -0
  83. package/components/loading/index.umd.cjs +8 -0
  84. package/components/locale/index.umd.cjs +1 -0
  85. package/components/lookup/index.css +1 -1
  86. package/components/lookup/index.esm.js +5776 -5305
  87. package/components/lookup/index.umd.cjs +1 -0
  88. package/components/mapping-editor/index.css +1 -1
  89. package/components/mapping-editor/index.esm.js +5496 -5036
  90. package/components/mapping-editor/index.umd.cjs +1 -0
  91. package/components/message-box/index.umd.cjs +1 -0
  92. package/components/modal/index.umd.cjs +1 -0
  93. package/components/nav/index.esm.js +383 -322
  94. package/components/nav/index.umd.cjs +3 -0
  95. package/components/notify/index.umd.cjs +1 -0
  96. package/components/number-range/index.esm.js +273 -269
  97. package/components/number-range/index.umd.cjs +1 -0
  98. package/components/number-spinner/index.esm.js +292 -283
  99. package/components/number-spinner/index.umd.cjs +1 -0
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1008 -925
  102. package/components/order/index.umd.cjs +1 -0
  103. package/components/page-footer/index.esm.js +98 -98
  104. package/components/page-footer/index.umd.cjs +1 -0
  105. package/components/page-header/index.esm.js +949 -847
  106. package/components/page-header/index.umd.cjs +1 -0
  107. package/components/pagination/index.esm.js +464 -403
  108. package/components/pagination/index.umd.cjs +1 -0
  109. package/components/popover/index.umd.cjs +1 -0
  110. package/components/progress/index.esm.js +226 -226
  111. package/components/progress/index.umd.cjs +3 -0
  112. package/components/property-editor/index.esm.js +1110 -1092
  113. package/components/property-editor/index.umd.cjs +3 -0
  114. package/components/property-panel/index.esm.js +520 -513
  115. package/components/property-panel/index.umd.cjs +1 -0
  116. package/components/query-solution/index.css +1 -1
  117. package/components/query-solution/index.esm.js +1714 -1575
  118. package/components/query-solution/index.umd.cjs +1 -0
  119. package/components/radio-button/index.esm.js +67 -67
  120. package/components/radio-button/index.umd.cjs +1 -0
  121. package/components/radio-group/index.esm.js +298 -289
  122. package/components/radio-group/index.umd.cjs +1 -0
  123. package/components/rate/index.esm.js +195 -190
  124. package/components/rate/index.umd.cjs +1 -0
  125. package/components/response-layout/index.esm.js +112 -112
  126. package/components/response-layout/index.umd.cjs +1 -0
  127. package/components/response-layout-editor/index.esm.js +902 -877
  128. package/components/response-layout-editor/index.umd.cjs +1 -0
  129. package/components/response-toolbar/index.esm.js +874 -778
  130. package/components/response-toolbar/index.umd.cjs +1 -0
  131. package/components/schema-selector/index.css +1 -1
  132. package/components/schema-selector/index.esm.js +4594 -4289
  133. package/components/schema-selector/index.umd.cjs +8 -0
  134. package/components/search-box/index.esm.js +126 -126
  135. package/components/search-box/index.umd.cjs +1 -0
  136. package/components/section/index.esm.js +645 -503
  137. package/components/section/index.umd.cjs +1 -0
  138. package/components/smoke-detector/index.esm.js +120 -120
  139. package/components/smoke-detector/index.umd.cjs +1 -0
  140. package/components/spacing-editor/index.umd.cjs +1 -0
  141. package/components/splitter/index.esm.js +421 -348
  142. package/components/splitter/index.umd.cjs +1 -0
  143. package/components/step/index.esm.js +219 -219
  144. package/components/step/index.umd.cjs +1 -0
  145. package/components/switch/index.esm.js +232 -222
  146. package/components/switch/index.umd.cjs +1 -0
  147. package/components/tabs/index.esm.js +1823 -1744
  148. package/components/tabs/index.umd.cjs +1 -0
  149. package/components/tags/index.esm.js +399 -401
  150. package/components/tags/index.umd.cjs +1 -0
  151. package/components/text/index.esm.js +164 -164
  152. package/components/text/index.umd.cjs +1 -0
  153. package/components/textarea/index.esm.js +220 -215
  154. package/components/textarea/index.umd.cjs +1 -0
  155. package/components/time-picker/index.esm.js +693 -666
  156. package/components/time-picker/index.umd.cjs +1 -0
  157. package/components/tooltip/index.umd.cjs +1 -0
  158. package/components/transfer/index.css +1 -1
  159. package/components/transfer/index.esm.js +422 -413
  160. package/components/transfer/index.umd.cjs +1 -0
  161. package/components/tree-grid/index.css +1 -1
  162. package/components/tree-grid/index.esm.js +4799 -4358
  163. package/components/tree-grid/index.umd.cjs +1 -0
  164. package/components/tree-view/index.esm.js +2448 -2215
  165. package/components/tree-view/index.umd.cjs +1 -0
  166. package/components/uploader/index.esm.js +164 -164
  167. package/components/uploader/index.umd.cjs +2 -0
  168. package/components/verify-detail/index.esm.js +143 -143
  169. package/components/verify-detail/index.umd.cjs +1 -0
  170. package/components/video/index.esm.js +410 -331
  171. package/components/video/index.umd.cjs +1 -0
  172. package/components/weather/index.esm.js +901 -901
  173. package/components/weather/index.umd.cjs +16 -0
  174. package/farris.all.esm.js +12305 -11403
  175. package/farris.all.umd.cjs +8 -8
  176. package/index.css +1 -1
  177. package/package.json +1 -1
  178. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  179. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  180. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  181. package/types/common/entity/entity-schema.d.ts +258 -0
  182. package/types/component/src/component-ref.props.d.ts +4 -0
  183. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  184. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  185. package/types/data-grid/index.d.ts +5 -2
  186. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  187. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  188. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  189. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  190. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  191. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  192. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  193. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  194. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  195. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  196. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  197. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  198. package/types/data-view/composition/types.d.ts +18 -6
  199. package/types/data-view/composition/use-edit.d.ts +2 -1
  200. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  201. package/types/designer-canvas/src/types.d.ts +2 -2
  202. package/types/dynamic-form/index.d.ts +2 -1
  203. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  204. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  205. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  206. package/types/dynamic-resolver/src/types.d.ts +3 -2
  207. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  208. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  209. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  210. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  211. package/types/tabs/src/composition/types.d.ts +2 -2
  212. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  213. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  214. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  215. package/types/tags/index.d.ts +36 -5
@@ -6,15 +6,15 @@ import { cloneDeep as Fe } from "lodash-es";
6
6
  import x from "bignumber.js";
7
7
  const ye = {}, we = {};
8
8
  function te(t) {
9
- const { properties: e, title: n } = t, r = Object.keys(e).reduce((a, i) => (a[i] = e[i].type === "object" && e[i].properties ? te(e[i]) : Fe(e[i].default), a), {});
10
- return r.id = `${n}-${Date.now()}`, r;
9
+ const { properties: e, title: n, ignore: r } = t, a = r && Array.isArray(r), i = Object.keys(e).reduce((o, s) => ((!a || !r.find((c) => c == s)) && (o[s] = e[s].type === "object" && e[s].properties ? te(e[s]) : Fe(e[s].default)), o), {});
10
+ return (!a || !r.find((o) => o == "id")) && (i.id = `${n}-${Date.now()}`), i;
11
11
  }
12
- function ee(t, e = {}) {
13
- const n = ye[t];
14
- if (n) {
15
- let r = te(n);
16
- const a = we[t];
17
- return r = a ? a({ getSchemaByType: ee }, r, e) : r, r;
12
+ function ee(t, e = {}, n) {
13
+ const r = ye[t];
14
+ if (r) {
15
+ let a = te(r);
16
+ const i = we[t];
17
+ return a = i ? i({ getSchemaByType: ee }, a, e, n) : a, a;
18
18
  }
19
19
  return null;
20
20
  }
@@ -89,18 +89,18 @@ function Ce(t = {}) {
89
89
  function s(u, d) {
90
90
  return i(u).reduce((w, g) => w && o(g, d), !0);
91
91
  }
92
- function l(u, d) {
92
+ function c(u, d) {
93
93
  const m = Object.keys(u), h = m.includes("allOf"), w = m.includes("anyOf"), g = h || w, y = (g ? u[g ? h ? "allOf" : "anyOf" : "allOf"] : [u]).map((O) => s(O, d));
94
94
  return h ? !y.includes(!1) : y.includes(!0);
95
95
  }
96
- return { parseValueSchema: l };
96
+ return { parseValueSchema: c };
97
97
  }
98
98
  const je = {}, He = {};
99
99
  Ce();
100
- function Re(t, e, n = /* @__PURE__ */ new Map(), r = (o, s, l) => s, a = {}, i = (o) => o) {
100
+ function Re(t, e, n = /* @__PURE__ */ new Map(), r = (o, s, c) => s, a = {}, i = (o) => o) {
101
101
  return ye[e.title] = e, we[e.title] = r, je[e.title] = a, He[e.title] = i, (o = {}) => {
102
- const s = $e(o, e, n), l = Object.keys(t).reduce((u, d) => (u[d] = t[d].default, u), {});
103
- return Object.assign(l, s);
102
+ const s = $e(o, e, n), c = Object.keys(t).reduce((u, d) => (u[d] = t[d].default, u), {});
103
+ return Object.assign(c, s);
104
104
  };
105
105
  }
106
106
  function qe(t, e) {
@@ -380,7 +380,7 @@ function T(t) {
380
380
  const e = Object.prototype.toString.call(t);
381
381
  return t instanceof Date || typeof t == "object" && e === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || e === "[object Number]" || typeof t == "string" || e === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN);
382
382
  }
383
- function $(t, e) {
383
+ function C(t, e) {
384
384
  return t instanceof Date ? new t.constructor(e) : new Date(e);
385
385
  }
386
386
  const De = 6048e5, it = 864e5, Me = 6e4, Ne = 36e5;
@@ -389,17 +389,17 @@ function z() {
389
389
  return ot;
390
390
  }
391
391
  function L(t, e) {
392
- var s, l, u, d;
393
- const n = z(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((l = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((d = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : d.weekStartsOn) ?? 0, a = T(t), i = a.getDay(), o = (i < r ? 7 : 0) + i - r;
392
+ var s, c, u, d;
393
+ const n = z(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((c = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? n.weekStartsOn ?? ((d = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : d.weekStartsOn) ?? 0, a = T(t), i = a.getDay(), o = (i < r ? 7 : 0) + i - r;
394
394
  return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
395
395
  }
396
396
  function X(t) {
397
397
  return L(t, { weekStartsOn: 1 });
398
398
  }
399
399
  function ve(t) {
400
- const e = T(t), n = e.getFullYear(), r = $(t, 0);
400
+ const e = T(t), n = e.getFullYear(), r = C(t, 0);
401
401
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
402
- const a = X(r), i = $(t, 0);
402
+ const a = X(r), i = C(t, 0);
403
403
  i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
404
404
  const o = X(i);
405
405
  return e.getTime() >= a.getTime() ? n + 1 : e.getTime() >= o.getTime() ? n : n - 1;
@@ -427,7 +427,7 @@ function st(t, e) {
427
427
  return Math.round((a - i) / it);
428
428
  }
429
429
  function ut(t) {
430
- const e = ve(t), n = $(t, 0);
430
+ const e = ve(t), n = C(t, 0);
431
431
  return n.setFullYear(e, 0, 4), n.setHours(0, 0, 0, 0), X(n);
432
432
  }
433
433
  function ct(t) {
@@ -440,7 +440,7 @@ function xe(t) {
440
440
  return !isNaN(Number(e));
441
441
  }
442
442
  function lt(t) {
443
- const e = T(t), n = $(t, 0);
443
+ const e = T(t), n = C(t, 0);
444
444
  return n.setFullYear(e.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
445
445
  }
446
446
  const ft = {
@@ -723,12 +723,12 @@ function q(t) {
723
723
  const r = n.width, a = r && t.matchPatterns[r] || t.matchPatterns[t.defaultMatchWidth], i = e.match(a);
724
724
  if (!i)
725
725
  return null;
726
- const o = i[0], s = r && t.parsePatterns[r] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(s) ? Pt(s, (m) => m.test(o)) : (
726
+ const o = i[0], s = r && t.parsePatterns[r] || t.parsePatterns[t.defaultParseWidth], c = Array.isArray(s) ? Pt(s, (m) => m.test(o)) : (
727
727
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
728
728
  St(s, (m) => m.test(o))
729
729
  );
730
730
  let u;
731
- u = t.valueCallback ? t.valueCallback(l) : l, u = n.valueCallback ? (
731
+ u = t.valueCallback ? t.valueCallback(c) : c, u = n.valueCallback ? (
732
732
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
733
733
  n.valueCallback(u)
734
734
  ) : u;
@@ -884,16 +884,16 @@ function Qt(t) {
884
884
  }
885
885
  function Oe(t, e) {
886
886
  var d, m, h, w;
887
- const n = T(t), r = n.getFullYear(), a = z(), i = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((m = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((w = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, o = $(t, 0);
887
+ const n = T(t), r = n.getFullYear(), a = z(), i = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((m = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((w = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, o = C(t, 0);
888
888
  o.setFullYear(r + 1, 0, i), o.setHours(0, 0, 0, 0);
889
- const s = L(o, e), l = $(t, 0);
890
- l.setFullYear(r, 0, i), l.setHours(0, 0, 0, 0);
891
- const u = L(l, e);
889
+ const s = L(o, e), c = C(t, 0);
890
+ c.setFullYear(r, 0, i), c.setHours(0, 0, 0, 0);
891
+ const u = L(c, e);
892
892
  return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= u.getTime() ? r : r - 1;
893
893
  }
894
894
  function Xt(t, e) {
895
- var s, l, u, d;
896
- const n = z(), r = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((l = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((d = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = Oe(t, e), i = $(t, 0);
895
+ var s, c, u, d;
896
+ const n = z(), r = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((c = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((d = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = Oe(t, e), i = C(t, 0);
897
897
  return i.setFullYear(a, 0, r), i.setHours(0, 0, 0, 0), L(i, e);
898
898
  }
899
899
  function zt(t, e) {
@@ -904,7 +904,7 @@ function p(t, e) {
904
904
  const n = t < 0 ? "-" : "", r = Math.abs(t).toString().padStart(e, "0");
905
905
  return n + r;
906
906
  }
907
- const Y = {
907
+ const F = {
908
908
  // Year
909
909
  y(t, e) {
910
910
  const n = t.getFullYear(), r = n > 0 ? n : 1 - n;
@@ -989,7 +989,7 @@ const Y = {
989
989
  const r = t.getFullYear(), a = r > 0 ? r : 1 - r;
990
990
  return n.ordinalNumber(a, { unit: "year" });
991
991
  }
992
- return Y.y(t, e);
992
+ return F.y(t, e);
993
993
  },
994
994
  // Local week-numbering year
995
995
  Y: function(t, e, n, r) {
@@ -1080,7 +1080,7 @@ const Y = {
1080
1080
  switch (e) {
1081
1081
  case "M":
1082
1082
  case "MM":
1083
- return Y.M(t, e);
1083
+ return F.M(t, e);
1084
1084
  case "Mo":
1085
1085
  return n.ordinalNumber(r + 1, { unit: "month" });
1086
1086
  case "MMM":
@@ -1135,7 +1135,7 @@ const Y = {
1135
1135
  },
1136
1136
  // Day of the month
1137
1137
  d: function(t, e, n) {
1138
- return e === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) : Y.d(t, e);
1138
+ return e === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) : F.d(t, e);
1139
1139
  },
1140
1140
  // Day of year
1141
1141
  D: function(t, e, n) {
@@ -1358,11 +1358,11 @@ const Y = {
1358
1358
  let r = t.getHours() % 12;
1359
1359
  return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
1360
1360
  }
1361
- return Y.h(t, e);
1361
+ return F.h(t, e);
1362
1362
  },
1363
1363
  // Hour [0-23]
1364
1364
  H: function(t, e, n) {
1365
- return e === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) : Y.H(t, e);
1365
+ return e === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) : F.H(t, e);
1366
1366
  },
1367
1367
  // Hour [0-11]
1368
1368
  K: function(t, e, n) {
@@ -1376,15 +1376,15 @@ const Y = {
1376
1376
  },
1377
1377
  // Minute
1378
1378
  m: function(t, e, n) {
1379
- return e === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) : Y.m(t, e);
1379
+ return e === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) : F.m(t, e);
1380
1380
  },
1381
1381
  // Second
1382
1382
  s: function(t, e, n) {
1383
- return e === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) : Y.s(t, e);
1383
+ return e === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) : F.s(t, e);
1384
1384
  },
1385
1385
  // Fraction of second
1386
1386
  S: function(t, e) {
1387
- return Y.S(t, e);
1387
+ return F.S(t, e);
1388
1388
  },
1389
1389
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1390
1390
  X: function(t, e, n) {
@@ -1396,11 +1396,11 @@ const Y = {
1396
1396
  return fe(r);
1397
1397
  case "XXXX":
1398
1398
  case "XX":
1399
- return W(r);
1399
+ return $(r);
1400
1400
  case "XXXXX":
1401
1401
  case "XXX":
1402
1402
  default:
1403
- return W(r, ":");
1403
+ return $(r, ":");
1404
1404
  }
1405
1405
  },
1406
1406
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -1411,11 +1411,11 @@ const Y = {
1411
1411
  return fe(r);
1412
1412
  case "xxxx":
1413
1413
  case "xx":
1414
- return W(r);
1414
+ return $(r);
1415
1415
  case "xxxxx":
1416
1416
  case "xxx":
1417
1417
  default:
1418
- return W(r, ":");
1418
+ return $(r, ":");
1419
1419
  }
1420
1420
  },
1421
1421
  // Timezone (GMT)
@@ -1428,7 +1428,7 @@ const Y = {
1428
1428
  return "GMT" + le(r, ":");
1429
1429
  case "OOOO":
1430
1430
  default:
1431
- return "GMT" + W(r, ":");
1431
+ return "GMT" + $(r, ":");
1432
1432
  }
1433
1433
  },
1434
1434
  // Timezone (specific non-location)
@@ -1441,7 +1441,7 @@ const Y = {
1441
1441
  return "GMT" + le(r, ":");
1442
1442
  case "zzzz":
1443
1443
  default:
1444
- return "GMT" + W(r, ":");
1444
+ return "GMT" + $(r, ":");
1445
1445
  }
1446
1446
  },
1447
1447
  // Seconds timestamp
@@ -1460,9 +1460,9 @@ function le(t, e = "") {
1460
1460
  return i === 0 ? n + String(a) : n + String(a) + e + p(i, 2);
1461
1461
  }
1462
1462
  function fe(t, e) {
1463
- return t % 60 === 0 ? (t > 0 ? "-" : "+") + p(Math.abs(t) / 60, 2) : W(t, e);
1463
+ return t % 60 === 0 ? (t > 0 ? "-" : "+") + p(Math.abs(t) / 60, 2) : $(t, e);
1464
1464
  }
1465
- function W(t, e = "") {
1465
+ function $(t, e = "") {
1466
1466
  const n = t > 0 ? "-" : "+", r = Math.abs(t), a = p(Math.trunc(r / 60), 2), i = p(r % 60, 2);
1467
1467
  return n + a + e + i;
1468
1468
  }
@@ -1535,11 +1535,11 @@ function U(t, e, n) {
1535
1535
  const r = z(), a = r.locale ?? Lt, i = r.firstWeekContainsDate ?? ((m = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = r.weekStartsOn ?? ((w = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : w.weekStartsOn) ?? 0, s = T(t);
1536
1536
  if (!xe(s))
1537
1537
  throw new RangeError("Invalid time value");
1538
- let l = e.match(an).map((g) => {
1538
+ let c = e.match(an).map((g) => {
1539
1539
  const f = g[0];
1540
1540
  if (f === "p" || f === "P") {
1541
- const c = Vt[f];
1542
- return c(g, a.formatLong);
1541
+ const l = Vt[f];
1542
+ return l(g, a.formatLong);
1543
1543
  }
1544
1544
  return g;
1545
1545
  }).join("").match(rn).map((g) => {
@@ -1556,18 +1556,18 @@ function U(t, e, n) {
1556
1556
  );
1557
1557
  return { isToken: !1, value: g };
1558
1558
  });
1559
- a.localize.preprocessor && (l = a.localize.preprocessor(s, l));
1559
+ a.localize.preprocessor && (c = a.localize.preprocessor(s, c));
1560
1560
  const u = {
1561
1561
  firstWeekContainsDate: i,
1562
1562
  weekStartsOn: o,
1563
1563
  locale: a
1564
1564
  };
1565
- return l.map((g) => {
1565
+ return c.map((g) => {
1566
1566
  if (!g.isToken) return g.value;
1567
1567
  const f = g.value;
1568
1568
  (en(f) || Kt(f)) && tn(f, e, String(t));
1569
- const c = ce[f[0]];
1570
- return c(s, f, a.localize, u);
1569
+ const l = ce[f[0]];
1570
+ return l(s, f, a.localize, u);
1571
1571
  }).join("");
1572
1572
  }
1573
1573
  function cn(t) {
@@ -1578,8 +1578,8 @@ function Z(t, e) {
1578
1578
  const r = mn(t);
1579
1579
  let a;
1580
1580
  if (r.date) {
1581
- const l = hn(r.date, 2);
1582
- a = gn(l.restDateString, l.year);
1581
+ const c = hn(r.date, 2);
1582
+ a = gn(c.restDateString, c.year);
1583
1583
  }
1584
1584
  if (!a || isNaN(a.getTime()))
1585
1585
  return /* @__PURE__ */ new Date(NaN);
@@ -1591,16 +1591,16 @@ function Z(t, e) {
1591
1591
  if (s = yn(r.timezone), isNaN(s))
1592
1592
  return /* @__PURE__ */ new Date(NaN);
1593
1593
  } else {
1594
- const l = new Date(i + o), u = /* @__PURE__ */ new Date(0);
1594
+ const c = new Date(i + o), u = /* @__PURE__ */ new Date(0);
1595
1595
  return u.setFullYear(
1596
- l.getUTCFullYear(),
1597
- l.getUTCMonth(),
1598
- l.getUTCDate()
1596
+ c.getUTCFullYear(),
1597
+ c.getUTCMonth(),
1598
+ c.getUTCDate()
1599
1599
  ), u.setHours(
1600
- l.getUTCHours(),
1601
- l.getUTCMinutes(),
1602
- l.getUTCSeconds(),
1603
- l.getUTCMilliseconds()
1600
+ c.getUTCHours(),
1601
+ c.getUTCMinutes(),
1602
+ c.getUTCSeconds(),
1603
+ c.getUTCMilliseconds()
1604
1604
  ), u;
1605
1605
  }
1606
1606
  return new Date(i + o + s);
@@ -1639,9 +1639,9 @@ function gn(t, e) {
1639
1639
  if (e === null) return /* @__PURE__ */ new Date(NaN);
1640
1640
  const n = t.match(ln);
1641
1641
  if (!n) return /* @__PURE__ */ new Date(NaN);
1642
- const r = !!n[4], a = B(n[1]), i = B(n[2]) - 1, o = B(n[3]), s = B(n[4]), l = B(n[5]) - 1;
1642
+ const r = !!n[4], a = B(n[1]), i = B(n[2]) - 1, o = B(n[3]), s = B(n[4]), c = B(n[5]) - 1;
1643
1643
  if (r)
1644
- return Nn(e, s, l) ? wn(e, s, l) : /* @__PURE__ */ new Date(NaN);
1644
+ return Nn(e, s, c) ? wn(e, s, c) : /* @__PURE__ */ new Date(NaN);
1645
1645
  {
1646
1646
  const u = /* @__PURE__ */ new Date(0);
1647
1647
  return !Dn(e, i, o) || !Mn(e, a) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(e, i, Math.max(a, o)), u);
@@ -1703,7 +1703,7 @@ function On() {
1703
1703
  if (a == "Invalid Date" && (a = t.create(n) || new Date(n)), xe(a))
1704
1704
  return a = Z(U(a, "yyyy-MM-dd HH:mm:ss")), U(a, r);
1705
1705
  if (r.indexOf("HH") === 0 || r.indexOf("hh") === 0) {
1706
- const o = (i = n.match(/\d*/g)) == null ? void 0 : i.filter((l) => l !== "").join(":");
1706
+ const o = (i = n.match(/\d*/g)) == null ? void 0 : i.filter((c) => c !== "").join(":");
1707
1707
  (r === "HH" || r === "hh") && (r += ":mm");
1708
1708
  const s = Z("2024-06-05 " + o);
1709
1709
  return U(s, r);
@@ -1715,85 +1715,85 @@ function On() {
1715
1715
  };
1716
1716
  }
1717
1717
  function Tn() {
1718
- function t(f, c = null) {
1719
- return Array.isArray(f) ? x.max.apply(null, f).toFixed() : f && c ? x.maximum(f, c).toFixed() : (console.error("请提供比较的值firstValue、secondValue."), "");
1718
+ function t(f, l = null) {
1719
+ return Array.isArray(f) ? x.max.apply(null, f).toFixed() : f && l ? x.maximum(f, l).toFixed() : (console.error("请提供比较的值firstValue、secondValue."), "");
1720
1720
  }
1721
- function e(f, c = null) {
1722
- return Array.isArray(f) ? x.min.apply(null, f).toFixed() : f && c ? x.minimum(f, c).toFixed() : (console.error("请提供比较的值firstValue、secondValue."), "");
1721
+ function e(f, l = null) {
1722
+ return Array.isArray(f) ? x.min.apply(null, f).toFixed() : f && l ? x.minimum(f, l).toFixed() : (console.error("请提供比较的值firstValue、secondValue."), "");
1723
1723
  }
1724
1724
  function n(f) {
1725
1725
  return x.sum.apply(null, f).toFixed();
1726
1726
  }
1727
- function r(f, c) {
1728
- return new x(f).div(c).toFixed();
1727
+ function r(f, l) {
1728
+ return new x(f).div(l).toFixed();
1729
1729
  }
1730
- function a(f, c) {
1731
- return new x(f).plus(c).toFixed();
1730
+ function a(f, l) {
1731
+ return new x(f).plus(l).toFixed();
1732
1732
  }
1733
- function i(f, c) {
1734
- return new x(f).times(c).toFixed();
1733
+ function i(f, l) {
1734
+ return new x(f).times(l).toFixed();
1735
1735
  }
1736
- function o(f, c) {
1737
- return new x(f).minus(c).toFixed();
1736
+ function o(f, l) {
1737
+ return new x(f).minus(l).toFixed();
1738
1738
  }
1739
- function s(f, c) {
1740
- return new x(f).eq(c);
1739
+ function s(f, l) {
1740
+ return new x(f).eq(l);
1741
1741
  }
1742
- function l(f, c) {
1743
- return new x(f).lt(c);
1742
+ function c(f, l) {
1743
+ return new x(f).lt(l);
1744
1744
  }
1745
- function u(f, c) {
1746
- return new x(f).gt(c);
1745
+ function u(f, l) {
1746
+ return new x(f).gt(l);
1747
1747
  }
1748
1748
  function d(f) {
1749
1749
  return new x(f).toNumber();
1750
1750
  }
1751
- function m(f, c = 0) {
1752
- return new x(f).toFixed(c);
1751
+ function m(f, l = 0) {
1752
+ return new x(f).toFixed(l);
1753
1753
  }
1754
1754
  function h(f) {
1755
- const c = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"), y = new Array("", "拾", "佰", "仟"), S = new Array("", "万", "亿", "兆"), O = new Array("角", "分", "毫", "厘"), k = "整", _ = "元", b = 1e15;
1756
- let N, D, v = "", C;
1755
+ const l = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"), y = new Array("", "拾", "佰", "仟"), S = new Array("", "万", "亿", "兆"), O = new Array("角", "分", "毫", "厘"), k = "整", _ = "元", b = 1e15;
1756
+ let v, N, D = "", E;
1757
1757
  if (f == "")
1758
1758
  return "";
1759
1759
  const P = parseFloat(f);
1760
1760
  if (P >= b)
1761
1761
  return "";
1762
1762
  if (P === 0)
1763
- return v = c[0] + _ + k, v;
1764
- if (f = P.toString(), f.indexOf(".") === -1 ? (N = f, D = "") : (C = f.split("."), N = C[0], D = C[1].substr(0, 4)), parseInt(N, 10) > 0) {
1765
- let E = 0;
1766
- const F = N.length;
1767
- for (let A = 0; A < F; A++) {
1768
- const re = N.substr(A, 1), ae = F - A - 1, Pe = ae / 4, ie = ae % 4;
1769
- re == "0" ? E++ : (E > 0 && (v += c[0]), E = 0, v += c[parseInt(re, 10)] + y[ie]), ie == 0 && E < 4 && (v += S[Pe]);
1763
+ return D = l[0] + _ + k, D;
1764
+ if (f = P.toString(), f.indexOf(".") === -1 ? (v = f, N = "") : (E = f.split("."), v = E[0], N = E[1].substr(0, 4)), parseInt(v, 10) > 0) {
1765
+ let Y = 0;
1766
+ const A = v.length;
1767
+ for (let W = 0; W < A; W++) {
1768
+ const re = v.substr(W, 1), ae = A - W - 1, Pe = ae / 4, ie = ae % 4;
1769
+ re == "0" ? Y++ : (Y > 0 && (D += l[0]), Y = 0, D += l[parseInt(re, 10)] + y[ie]), ie == 0 && Y < 4 && (D += S[Pe]);
1770
1770
  }
1771
- v += _;
1771
+ D += _;
1772
1772
  }
1773
- if (D !== "") {
1774
- const E = D.length;
1775
- for (let F = 0; F < E; F++) {
1776
- let A = D.substr(F, 1);
1777
- A !== "0" && (v += c[Number(A)] + O[F]);
1773
+ if (N !== "") {
1774
+ const Y = N.length;
1775
+ for (let A = 0; A < Y; A++) {
1776
+ let W = N.substr(A, 1);
1777
+ W !== "0" && (D += l[Number(W)] + O[A]);
1778
1778
  }
1779
1779
  }
1780
- return v === "" ? v += c[0] + _ + k : D === "" && (v += k), v;
1780
+ return D === "" ? D += l[0] + _ + k : N === "" && (D += k), D;
1781
1781
  }
1782
- function w(f, c) {
1782
+ function w(f, l) {
1783
1783
  var y = f == null || typeof f == "number" && isNaN(f) ? "" : String(f);
1784
- return c && (c.prefix && (y = y.replace(new RegExp(c.prefix, "g"), "")), c.suffix && (y = y.replace(new RegExp(c.suffix, "g"), "")), y = y.replace(/\,/g, "")), y;
1784
+ return l && (l.prefix && (y = y.replace(new RegExp(l.prefix, "g"), "")), l.suffix && (y = y.replace(new RegExp(l.suffix, "g"), "")), y = y.replace(/\,/g, "")), y;
1785
1785
  }
1786
- function g(f, c) {
1786
+ function g(f, l) {
1787
1787
  const y = new x(f), S = {
1788
- prefix: c.prefix || "",
1789
- suffix: c.suffix || "",
1790
- decimalSeparator: c.decimalSeparator || ".",
1791
- groupSeparator: c.groupSeparator || "",
1788
+ prefix: l.prefix || "",
1789
+ suffix: l.suffix || "",
1790
+ decimalSeparator: l.decimalSeparator || ".",
1791
+ groupSeparator: l.groupSeparator || "",
1792
1792
  groupSize: 3
1793
1793
  };
1794
1794
  if (y.isNaN())
1795
1795
  return "";
1796
- let O = c.precision || 0;
1796
+ let O = l.precision || 0;
1797
1797
  return O = Number(O), y.toFormat(O, S);
1798
1798
  }
1799
1799
  return {
@@ -1803,7 +1803,7 @@ function Tn() {
1803
1803
  toFixed: m,
1804
1804
  toNumber: d,
1805
1805
  greaterThan: u,
1806
- lessThan: l,
1806
+ lessThan: c,
1807
1807
  equal: s,
1808
1808
  minus: o,
1809
1809
  multiplied: i,
@@ -1832,8 +1832,8 @@ function Pn() {
1832
1832
  const t = new be();
1833
1833
  function e(o, s) {
1834
1834
  if (s === 0) return ["刚刚", "片刻后"];
1835
- const l = Sn[~~(s / 2)];
1836
- return [`${o} ${l}前`, `${o} ${l}后`];
1835
+ const c = Sn[~~(s / 2)];
1836
+ return [`${o} ${c}前`, `${o} ${c}后`];
1837
1837
  }
1838
1838
  function n(o) {
1839
1839
  if (typeof o == "object")
@@ -1849,14 +1849,14 @@ function Pn() {
1849
1849
  function a(o) {
1850
1850
  const s = o < 0 ? 1 : 0;
1851
1851
  o = Math.abs(o);
1852
- let l = 0;
1853
- for (; o >= I[l] && l < I.length; l++)
1854
- o /= I[l];
1855
- return o = Math.floor(o), l *= 2, o > (l === 0 ? 9 : 1) && (l += 1), e(o, l)[s].replace("%s", o.toString());
1852
+ let c = 0;
1853
+ for (; o >= I[c] && c < I.length; c++)
1854
+ o /= I[c];
1855
+ return o = Math.floor(o), c *= 2, o > (c === 0 ? 9 : 1) && (c += 1), e(o, c)[s].replace("%s", o.toString());
1856
1856
  }
1857
1857
  function i(o, s) {
1858
- const l = r(o, s && s.relativeDate);
1859
- return a(l);
1858
+ const c = r(o, s && s.relativeDate);
1859
+ return a(c);
1860
1860
  }
1861
1861
  return {
1862
1862
  formatTo: i
@@ -1891,8 +1891,8 @@ function Fn(t, e, n, r, a) {
1891
1891
  if (e && e.length) {
1892
1892
  const i = ("" + t).split(n), o = [];
1893
1893
  for (let s = 0; s < i.length; s++) {
1894
- const l = e.find((u) => u[a] === i[s]);
1895
- l ? o.push(l[r]) : o.push(i[s]);
1894
+ const c = e.find((u) => u[a] === i[s]);
1895
+ c ? o.push(c[r]) : o.push(i[s]);
1896
1896
  }
1897
1897
  return o.length > 0 ? o.join(n) : "";
1898
1898
  }
@@ -1919,7 +1919,7 @@ function jn(t, e, n, r, a, i, o) {
1919
1919
  return t.toString();
1920
1920
  if (n && n.type && n.type === "number" && n.formatter)
1921
1921
  return n.formatter(t);
1922
- const s = Wn(e.substring(0, 1)), l = Number(e.substring(1)), u = {};
1922
+ const s = Wn(e.substring(0, 1)), c = Number(e.substring(1)), u = {};
1923
1923
  let d;
1924
1924
  if (!/C|D|F|N|P/g.test(s)) {
1925
1925
  console.log(`不支持format为 ${e} 类型的数字格式化`);
@@ -1929,19 +1929,19 @@ function jn(t, e, n, r, a, i, o) {
1929
1929
  const { formatTo: m } = Tn();
1930
1930
  switch (s) {
1931
1931
  case "C":
1932
- Object.assign(u, { prefix: "¥", precision: l }), d = m(t, u);
1932
+ Object.assign(u, { prefix: "¥", precision: c }), d = m(t, u);
1933
1933
  break;
1934
1934
  case "D":
1935
- d = $n(t, l, o);
1935
+ d = $n(t, c, o);
1936
1936
  break;
1937
1937
  case "F":
1938
- Object.assign(u, { prefix: "", groupSeparator: "", precision: l }), d = m(t, u);
1938
+ Object.assign(u, { prefix: "", groupSeparator: "", precision: c }), d = m(t, u);
1939
1939
  break;
1940
1940
  case "N":
1941
- Object.assign(u, { prefix: "", precision: l }), d = m(t, u);
1941
+ Object.assign(u, { prefix: "", precision: c }), d = m(t, u);
1942
1942
  break;
1943
1943
  case "P":
1944
- d = Cn(t, l);
1944
+ d = Cn(t, c);
1945
1945
  break;
1946
1946
  }
1947
1947
  return d;
@@ -1954,7 +1954,7 @@ const K = /* @__PURE__ */ he({
1954
1954
  props: ne,
1955
1955
  emits: ["update:modelValue", "valueChange"],
1956
1956
  setup(t, e) {
1957
- const n = M(t.textarea), r = M(t.password), a = M(t.autoSize), i = M(t.dateRange), o = M(t.type), s = M(t.format), l = M(), u = M(), d = M(""), m = H(() => ({
1957
+ const n = M(t.textarea), r = M(t.password), a = M(t.autoSize), i = M(t.dateRange), o = M(t.type), s = M(t.format), c = M(), u = M(), d = M(""), m = H(() => ({
1958
1958
  "f-form-control-text": !n.value,
1959
1959
  "f-form-context-textarea": n,
1960
1960
  "f-component-text-auto-size": a.value
@@ -1966,31 +1966,31 @@ const K = /* @__PURE__ */ he({
1966
1966
  }));
1967
1967
  ge(() => {
1968
1968
  if (n.value) {
1969
- const c = u.value.parentElement.className;
1970
- u.value.parentElement.className = c + " f-cmp-text-is-textarea";
1969
+ const l = u.value.parentElement.className;
1970
+ u.value.parentElement.className = l + " f-cmp-text-is-textarea";
1971
1971
  }
1972
1972
  });
1973
1973
  const w = H(() => {
1974
- let c = g(t.modelValue);
1975
- return l.value != c && (e.emit("valueChange", c), l.value = c), c;
1974
+ let l = g(t.modelValue);
1975
+ return c.value != l && (e.emit("valueChange", l), c.value = l), l;
1976
1976
  });
1977
- function g(c) {
1977
+ function g(l) {
1978
1978
  if (r.value)
1979
- return c ? "******" : "";
1980
- if (o.value !== "boolean" && (c == null || typeof c > "u"))
1979
+ return l ? "******" : "";
1980
+ if (o.value !== "boolean" && (l == null || typeof l > "u"))
1981
1981
  return "";
1982
1982
  let y = "";
1983
1983
  switch (o.value) {
1984
1984
  case "string":
1985
- y = c;
1985
+ y = l;
1986
1986
  break;
1987
1987
  case "date":
1988
1988
  case "datetime":
1989
1989
  if (!i.value)
1990
- y = me(c, s.value);
1990
+ y = me(l, s.value);
1991
1991
  else {
1992
1992
  let S = t.dateRangeDelimiter;
1993
- const O = c.split(S);
1993
+ const O = l.split(S);
1994
1994
  let k = [];
1995
1995
  O && O.length && O.forEach((_) => {
1996
1996
  k.push(me(_, s.value));
@@ -1998,23 +1998,23 @@ const K = /* @__PURE__ */ he({
1998
1998
  }
1999
1999
  break;
2000
2000
  case "number":
2001
- s.value = An(s.value, t.numberOptions), y = jn(c, s.value, t.numberOptions, t.groupSeparator, t.decimalSeparator, t.amountExpression, t.decimalFilledSymbol);
2001
+ s.value = An(s.value, t.numberOptions), y = jn(l, s.value, t.numberOptions, t.groupSeparator, t.decimalSeparator, t.amountExpression, t.decimalFilledSymbol);
2002
2002
  break;
2003
2003
  case "enum":
2004
- y = Fn(c, t.enumConvertedDatas, t.enumDelimiter, t.textField, t.valueField);
2004
+ y = Fn(l, t.enumConvertedDatas, t.enumDelimiter, t.textField, t.valueField);
2005
2005
  break;
2006
2006
  case "boolean":
2007
- y = Hn(c);
2007
+ y = Hn(l);
2008
2008
  break;
2009
2009
  }
2010
2010
  return y;
2011
2011
  }
2012
2012
  function f() {
2013
- const c = u.value;
2014
- Math.abs(c.scrollWidth - c.clientWidth) > 2 || Math.abs(c.scrollHeight - c.clientHeight) > 2 ? d.value = w.value : d.value = "";
2013
+ const l = u.value;
2014
+ Math.abs(l.scrollWidth - l.clientWidth) > 2 || Math.abs(l.scrollHeight - l.clientHeight) > 2 ? d.value = w.value : d.value = "";
2015
2015
  }
2016
- return Ee(() => t.modelValue, (c, y) => {
2017
- c !== y && e.emit("update:modelValue", c);
2016
+ return Ee(() => t.modelValue, (l, y) => {
2017
+ l !== y && e.emit("update:modelValue", l);
2018
2018
  }), () => pe("span", {
2019
2019
  class: m.value,
2020
2020
  style: h.value,
@@ -2032,7 +2032,7 @@ function Rn(t, e, n) {
2032
2032
  function s() {
2033
2033
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
2034
2034
  }
2035
- function l() {
2035
+ function c() {
2036
2036
  return !1;
2037
2037
  }
2038
2038
  function u() {
@@ -2046,12 +2046,12 @@ function Rn(t, e, n) {
2046
2046
  return null;
2047
2047
  if (b.value.schema && b.value.schema.type === "component")
2048
2048
  return b.value;
2049
- const N = M(b == null ? void 0 : b.value.parent), D = m(N);
2050
- return D || null;
2049
+ const v = M(b == null ? void 0 : b.value.parent), N = m(v);
2050
+ return N || null;
2051
2051
  }
2052
2052
  function h(b = e) {
2053
- const { componentInstance: N, designerItemElementRef: D } = b;
2054
- return !N || !N.value ? null : N.value.canMove ? D : h(b.parent);
2053
+ const { componentInstance: v, designerItemElementRef: N } = b;
2054
+ return !v || !v.value ? null : v.value.canMove ? N : h(b.parent);
2055
2055
  }
2056
2056
  function w(b) {
2057
2057
  return !!n;
@@ -2061,20 +2061,20 @@ function Rn(t, e, n) {
2061
2061
  }
2062
2062
  function f() {
2063
2063
  }
2064
- function c(b, N) {
2064
+ function l(b, v) {
2065
2065
  }
2066
- function y(b) {
2066
+ function y(b, v) {
2067
2067
  const { componentType: N } = b;
2068
- let D = ee(N, b);
2069
- const v = N.toLowerCase().replace("-", "_");
2070
- return D && !D.id && D.type === N && (D.id = `${v}_${Math.random().toString().slice(2, 6)}`), D;
2068
+ let D = ee(N, b, v);
2069
+ const E = N.toLowerCase().replace("-", "_");
2070
+ return D && !D.id && D.type === N && (D.id = `${E}_${Math.random().toString().slice(2, 6)}`), D;
2071
2071
  }
2072
- function S(b, N) {
2073
- const D = String(b.getAttribute("data-controltype")), v = b.getAttribute("data-feature"), C = v ? JSON.parse(v) : {};
2074
- C.parentComponentInstance = o.value;
2075
- let P = ee(D, C);
2076
- const E = D.toLowerCase().replace("-", "_");
2077
- return P && !P.id && P.type === D && (P.id = `${E}_${Math.random().toString().slice(2, 6)}`), P;
2072
+ function S(b, v) {
2073
+ const N = String(b.getAttribute("data-controltype")), D = b.getAttribute("data-feature"), E = D ? JSON.parse(D) : {};
2074
+ E.parentComponentInstance = o.value;
2075
+ let P = ee(N, E);
2076
+ const Y = N.toLowerCase().replace("-", "_");
2077
+ return P && !P.id && P.type === N && (P.id = `${Y}_${Math.random().toString().slice(2, 6)}`), P;
2078
2078
  }
2079
2079
  function O(b) {
2080
2080
  }
@@ -2082,7 +2082,7 @@ function Rn(t, e, n) {
2082
2082
  }
2083
2083
  return o.value = {
2084
2084
  canMove: s(),
2085
- canSelectParent: l(),
2085
+ canSelectParent: c(),
2086
2086
  canDelete: u(),
2087
2087
  canNested: !d(),
2088
2088
  contents: e == null ? void 0 : e.schema.contents,
@@ -2097,7 +2097,7 @@ function Rn(t, e, n) {
2097
2097
  getDraggingDisplayText: g,
2098
2098
  getPropConfig: k,
2099
2099
  getDragScopeElement: f,
2100
- onAcceptMovedChildElement: c,
2100
+ onAcceptMovedChildElement: l,
2101
2101
  onAcceptNewChildElement: S,
2102
2102
  onChildElementMovedOut: O,
2103
2103
  addNewChildComponentSchema: y,
@@ -2111,7 +2111,7 @@ const qn = /* @__PURE__ */ he({
2111
2111
  props: ne,
2112
2112
  emits: ["update:modelValue"],
2113
2113
  setup(t, e) {
2114
- const n = M(!0), r = M(!0), a = M(""), i = M(0), o = M(0), s = M(t.modelValue), l = H(() => ({
2114
+ const n = M(!0), r = M(!0), a = M(""), i = M(0), o = M(0), s = M(t.modelValue), c = H(() => ({
2115
2115
  "f-form-control-text": !n.value,
2116
2116
  "f-form-context-textarea": n,
2117
2117
  "f-component-text-auto-size": r.value
@@ -2127,7 +2127,7 @@ const qn = /* @__PURE__ */ he({
2127
2127
  d.value.componentInstance = h;
2128
2128
  }), e.expose(h.value), () => pe("span", {
2129
2129
  ref: d,
2130
- class: l.value,
2130
+ class: c.value,
2131
2131
  style: u.value
2132
2132
  }, [s.value]);
2133
2133
  }