@farris/ui-vue 1.2.7 → 1.2.8

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 (206) hide show
  1. package/components/accordion/index.esm.js +79 -79
  2. package/components/avatar/index.esm.js +393 -440
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +496 -542
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +437 -483
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +839 -726
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4702 -4972
  17. package/components/data-view/index.esm.js +2999 -2875
  18. package/components/date-picker/index.esm.js +2626 -2672
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +934 -976
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +258 -249
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1892 -1775
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5245 -5514
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1483 -1556
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +668 -714
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1679 -1563
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6596 -6865
  47. package/components/mapping-editor/index.esm.js +5592 -5862
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +988 -1034
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1296
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1416 -1462
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +757 -830
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +452 -498
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +117 -117
  74. package/components/response-toolbar/index.esm.js +1021 -1238
  75. package/components/schema-selector/index.esm.js +3215 -3308
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +442 -488
  83. package/components/tabs/index.esm.js +1835 -2004
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +451 -482
  87. package/components/time-picker/index.esm.js +1345 -1392
  88. package/components/transfer/index.esm.js +135 -135
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5761 -6020
  91. package/components/tree-view/index.esm.js +2380 -2253
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +31630 -31224
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  102. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  103. package/types/data-view/composition/types.d.ts +1 -1
  104. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  105. package/types/designer-canvas/src/types.d.ts +1 -1
  106. package/types/dynamic-form/index.d.ts +1 -0
  107. package/types/dynamic-form/src/types.d.ts +1 -1
  108. package/types/dynamic-resolver/index.d.ts +1 -0
  109. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  110. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  111. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  112. package/types/modal/src/modal.props.d.ts +1 -4
  113. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  114. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  115. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  116. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  117. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  118. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  119. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  120. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  121. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  122. package/components/accordion/index.umd.cjs +0 -1
  123. package/components/avatar/index.umd.cjs +0 -1
  124. package/components/border-editor/index.umd.cjs +0 -1
  125. package/components/button/index.umd.cjs +0 -1
  126. package/components/button-edit/index.umd.cjs +0 -1
  127. package/components/button-group/index.umd.cjs +0 -1
  128. package/components/calculator/index.umd.cjs +0 -1
  129. package/components/calendar/index.umd.cjs +0 -1
  130. package/components/capsule/index.umd.cjs +0 -1
  131. package/components/checkbox/index.umd.cjs +0 -1
  132. package/components/color-picker/index.umd.cjs +0 -3
  133. package/components/combo-list/index.umd.cjs +0 -1
  134. package/components/combo-tree/index.umd.cjs +0 -1
  135. package/components/common/index.umd.cjs +0 -1
  136. package/components/component/index.umd.cjs +0 -1
  137. package/components/condition/index.umd.cjs +0 -1
  138. package/components/content-container/index.umd.cjs +0 -1
  139. package/components/data-grid/index.umd.cjs +0 -1
  140. package/components/data-view/index.umd.cjs +0 -1
  141. package/components/date-picker/index.umd.cjs +0 -1
  142. package/components/designer-canvas/index.umd.cjs +0 -1
  143. package/components/designer-outline/index.umd.cjs +0 -1
  144. package/components/designer-toolbox/index.umd.cjs +0 -1
  145. package/components/discussion-editor/index.umd.cjs +0 -3
  146. package/components/discussion-list/index.umd.cjs +0 -1
  147. package/components/drawer/index.umd.cjs +0 -1
  148. package/components/dropdown/index.umd.cjs +0 -2
  149. package/components/dynamic-form/index.umd.cjs +0 -1
  150. package/components/dynamic-resolver/index.umd.cjs +0 -1
  151. package/components/dynamic-view/index.umd.cjs +0 -1
  152. package/components/enum-editor/index.umd.cjs +0 -1
  153. package/components/events-editor/index.umd.cjs +0 -1
  154. package/components/expression-editor/index.umd.cjs +0 -1
  155. package/components/external-container/index.umd.cjs +0 -1
  156. package/components/field-selector/index.umd.cjs +0 -1
  157. package/components/filter-bar/index.umd.cjs +0 -1
  158. package/components/flow-canvas/index.umd.cjs +0 -1
  159. package/components/image-cropper/index.umd.cjs +0 -1
  160. package/components/input-group/index.umd.cjs +0 -1
  161. package/components/layout/index.umd.cjs +0 -1
  162. package/components/list-nav/index.umd.cjs +0 -1
  163. package/components/list-view/index.umd.cjs +0 -1
  164. package/components/loading/index.umd.cjs +0 -8
  165. package/components/locale/index.umd.cjs +0 -1
  166. package/components/lookup/index.umd.cjs +0 -1
  167. package/components/mapping-editor/index.umd.cjs +0 -1
  168. package/components/message-box/index.umd.cjs +0 -1
  169. package/components/modal/index.umd.cjs +0 -1
  170. package/components/nav/index.umd.cjs +0 -3
  171. package/components/notify/index.umd.cjs +0 -1
  172. package/components/order/index.umd.cjs +0 -1
  173. package/components/page-footer/index.umd.cjs +0 -1
  174. package/components/page-header/index.umd.cjs +0 -1
  175. package/components/pagination/index.umd.cjs +0 -1
  176. package/components/popover/index.umd.cjs +0 -1
  177. package/components/progress/index.umd.cjs +0 -3
  178. package/components/property-editor/index.umd.cjs +0 -3
  179. package/components/property-panel/index.umd.cjs +0 -1
  180. package/components/radio-button/index.umd.cjs +0 -1
  181. package/components/radio-group/index.umd.cjs +0 -1
  182. package/components/rate/index.umd.cjs +0 -1
  183. package/components/response-layout/index.umd.cjs +0 -1
  184. package/components/response-layout-editor/index.umd.cjs +0 -1
  185. package/components/response-toolbar/index.umd.cjs +0 -1
  186. package/components/schema-selector/index.umd.cjs +0 -8
  187. package/components/search-box/index.umd.cjs +0 -1
  188. package/components/section/index.umd.cjs +0 -1
  189. package/components/smoke-detector/index.umd.cjs +0 -1
  190. package/components/spacing-editor/index.umd.cjs +0 -1
  191. package/components/splitter/index.umd.cjs +0 -1
  192. package/components/step/index.umd.cjs +0 -1
  193. package/components/switch/index.umd.cjs +0 -1
  194. package/components/tabs/index.umd.cjs +0 -1
  195. package/components/tags/index.umd.cjs +0 -1
  196. package/components/text/index.umd.cjs +0 -1
  197. package/components/textarea/index.umd.cjs +0 -1
  198. package/components/time-picker/index.umd.cjs +0 -1
  199. package/components/tooltip/index.umd.cjs +0 -1
  200. package/components/transfer/index.umd.cjs +0 -1
  201. package/components/tree-grid/index.umd.cjs +0 -1
  202. package/components/tree-view/index.umd.cjs +0 -1
  203. package/components/uploader/index.umd.cjs +0 -2
  204. package/components/verify-detail/index.umd.cjs +0 -1
  205. package/components/video/index.umd.cjs +0 -1
  206. package/components/weather/index.umd.cjs +0 -16
@@ -1,7 +1,7 @@
1
1
  var ke = Object.defineProperty;
2
2
  var _e = (t, e, n) => e in t ? ke(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var G = (t, e, n) => _e(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { defineComponent as he, ref as M, computed as j, onMounted as ge, watch as Ee, createVNode as pe, inject as Ye } from "vue";
4
+ import { defineComponent as he, ref as M, computed as H, onMounted as ge, watch as Ee, createVNode as pe, inject as Ye } from "vue";
5
5
  import { cloneDeep as Fe } from "lodash-es";
6
6
  import x from "bignumber.js";
7
7
  const ye = {}, we = {};
@@ -20,7 +20,7 @@ function ee(t, e = {}) {
20
20
  }
21
21
  function Ae(t, e) {
22
22
  const n = te(e);
23
- return Object.keys(t).reduce((r, a) => (r[a] = t[a], r), n), n;
23
+ return Object.keys(t).reduce((r, a) => (r[a] && typeof r[a] == "object" ? Object.assign(r[a], t[a]) : r[a] = t[a], r), n), n;
24
24
  }
25
25
  function We(t, e) {
26
26
  return Object.keys(t).filter((r) => t[r] != null).reduce((r, a) => {
@@ -95,10 +95,10 @@ function Ce(t = {}) {
95
95
  }
96
96
  return { parseValueSchema: l };
97
97
  }
98
- const He = {}, je = {};
98
+ const je = {}, He = {};
99
99
  Ce();
100
100
  function Re(t, e, n = /* @__PURE__ */ new Map(), r = (o, s, l) => s, a = {}, i = (o) => o) {
101
- return ye[e.title] = e, we[e.title] = r, He[e.title] = a, je[e.title] = i, (o = {}) => {
101
+ return ye[e.title] = e, we[e.title] = r, je[e.title] = a, He[e.title] = i, (o = {}) => {
102
102
  const s = $e(o, e, n), l = Object.keys(t).reduce((u, d) => (u[d] = t[d].default, u), {});
103
103
  return Object.assign(l, s);
104
104
  };
@@ -383,7 +383,7 @@ function T(t) {
383
383
  function $(t, e) {
384
384
  return t instanceof Date ? new t.constructor(e) : new Date(e);
385
385
  }
386
- const De = 6048e5, it = 864e5, Me = 6e4, ve = 36e5;
386
+ const De = 6048e5, it = 864e5, Me = 6e4, Ne = 36e5;
387
387
  let ot = {};
388
388
  function z() {
389
389
  return ot;
@@ -396,7 +396,7 @@ function L(t, e) {
396
396
  function X(t) {
397
397
  return L(t, { weekStartsOn: 1 });
398
398
  }
399
- function Ne(t) {
399
+ function ve(t) {
400
400
  const e = T(t), n = e.getFullYear(), r = $(t, 0);
401
401
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
402
402
  const a = X(r), i = $(t, 0);
@@ -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 = Ne(t), n = $(t, 0);
430
+ const e = ve(t), n = $(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) {
@@ -605,7 +605,7 @@ const bt = {
605
605
  "November",
606
606
  "December"
607
607
  ]
608
- }, vt = {
608
+ }, Nt = {
609
609
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
610
610
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
611
611
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -618,7 +618,7 @@ const bt = {
618
618
  "Friday",
619
619
  "Saturday"
620
620
  ]
621
- }, Nt = {
621
+ }, vt = {
622
622
  narrow: {
623
623
  am: "a",
624
624
  pm: "p",
@@ -708,11 +708,11 @@ const bt = {
708
708
  defaultWidth: "wide"
709
709
  }),
710
710
  day: R({
711
- values: vt,
711
+ values: Nt,
712
712
  defaultWidth: "wide"
713
713
  }),
714
714
  dayPeriod: R({
715
- values: Nt,
715
+ values: vt,
716
716
  defaultWidth: "wide",
717
717
  formattingValues: xt,
718
718
  defaultFormattingWidth: "wide"
@@ -803,12 +803,12 @@ const _t = /^(\d+)(th|st|nd|rd)?/i, Et = /\d+/i, Yt = {
803
803
  /^n/i,
804
804
  /^d/i
805
805
  ]
806
- }, Ht = {
806
+ }, jt = {
807
807
  narrow: /^[smtwf]/i,
808
808
  short: /^(su|mo|tu|we|th|fr|sa)/i,
809
809
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
810
810
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
811
- }, jt = {
811
+ }, Ht = {
812
812
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
813
813
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
814
814
  }, Rt = {
@@ -851,9 +851,9 @@ const _t = /^(\d+)(th|st|nd|rd)?/i, Et = /\d+/i, Yt = {
851
851
  defaultParseWidth: "any"
852
852
  }),
853
853
  day: q({
854
- matchPatterns: Ht,
854
+ matchPatterns: jt,
855
855
  defaultMatchWidth: "wide",
856
- parsePatterns: jt,
856
+ parsePatterns: Ht,
857
857
  defaultParseWidth: "any"
858
858
  }),
859
859
  dayPeriod: q({
@@ -958,7 +958,7 @@ const Y = {
958
958
  );
959
959
  return p(a, e.length);
960
960
  }
961
- }, H = {
961
+ }, j = {
962
962
  am: "am",
963
963
  pm: "pm",
964
964
  midnight: "midnight",
@@ -1002,7 +1002,7 @@ const Y = {
1002
1002
  },
1003
1003
  // ISO week-numbering year
1004
1004
  R: function(t, e) {
1005
- const n = Ne(t);
1005
+ const n = ve(t);
1006
1006
  return p(n, e.length);
1007
1007
  },
1008
1008
  // Extended year. This is a single number designating the year of this calendar system.
@@ -1302,7 +1302,7 @@ const Y = {
1302
1302
  b: function(t, e, n) {
1303
1303
  const r = t.getHours();
1304
1304
  let a;
1305
- switch (r === 12 ? a = H.noon : r === 0 ? a = H.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
1305
+ switch (r === 12 ? a = j.noon : r === 0 ? a = j.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
1306
1306
  case "b":
1307
1307
  case "bb":
1308
1308
  return n.dayPeriod(a, {
@@ -1331,7 +1331,7 @@ const Y = {
1331
1331
  B: function(t, e, n) {
1332
1332
  const r = t.getHours();
1333
1333
  let a;
1334
- switch (r >= 17 ? a = H.evening : r >= 12 ? a = H.afternoon : r >= 4 ? a = H.morning : a = H.night, e) {
1334
+ switch (r >= 17 ? a = j.evening : r >= 12 ? a = j.afternoon : r >= 4 ? a = j.morning : a = j.night, e) {
1335
1335
  case "B":
1336
1336
  case "BB":
1337
1337
  case "BBB":
@@ -1641,7 +1641,7 @@ function gn(t, e) {
1641
1641
  if (!n) return /* @__PURE__ */ new Date(NaN);
1642
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;
1643
1643
  if (r)
1644
- return vn(e, s, l) ? wn(e, s, l) : /* @__PURE__ */ new Date(NaN);
1644
+ return Nn(e, s, l) ? wn(e, s, l) : /* @__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);
@@ -1654,7 +1654,7 @@ function pn(t) {
1654
1654
  const e = t.match(fn);
1655
1655
  if (!e) return NaN;
1656
1656
  const n = J(e[1]), r = J(e[2]), a = J(e[3]);
1657
- return Nn(n, r, a) ? n * ve + r * Me + a * 1e3 : NaN;
1657
+ return vn(n, r, a) ? n * Ne + r * Me + a * 1e3 : NaN;
1658
1658
  }
1659
1659
  function J(t) {
1660
1660
  return t && parseFloat(t.replace(",", ".")) || 0;
@@ -1664,7 +1664,7 @@ function yn(t) {
1664
1664
  const e = t.match(dn);
1665
1665
  if (!e) return 0;
1666
1666
  const n = e[1] === "+" ? -1 : 1, r = parseInt(e[2]), a = e[3] && parseInt(e[3]) || 0;
1667
- return xn(r, a) ? n * (r * ve + a * Me) : NaN;
1667
+ return xn(r, a) ? n * (r * Ne + a * Me) : NaN;
1668
1668
  }
1669
1669
  function wn(t, e, n) {
1670
1670
  const r = /* @__PURE__ */ new Date(0);
@@ -1682,10 +1682,10 @@ function Dn(t, e, n) {
1682
1682
  function Mn(t, e) {
1683
1683
  return e >= 1 && e <= (Se(t) ? 366 : 365);
1684
1684
  }
1685
- function vn(t, e, n) {
1685
+ function Nn(t, e, n) {
1686
1686
  return e >= 1 && e <= 53 && n >= 0 && n <= 6;
1687
1687
  }
1688
- function Nn(t, e, n) {
1688
+ function vn(t, e, n) {
1689
1689
  return t === 24 ? e === 0 && n === 0 : n >= 0 && n < 60 && e >= 0 && e < 60 && t >= 0 && t < 25;
1690
1690
  }
1691
1691
  function xn(t, e) {
@@ -1753,31 +1753,31 @@ function Tn() {
1753
1753
  }
1754
1754
  function h(f) {
1755
1755
  const c = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"), y = new Array("", "拾", "佰", "仟"), S = new Array("", "万", "亿", "兆"), O = new Array("角", "分", "毫", "厘"), k = "整", _ = "元", b = 1e15;
1756
- let v, D, N = "", C;
1756
+ let N, D, v = "", C;
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 N = c[0] + _ + k, N;
1764
- if (f = P.toString(), f.indexOf(".") === -1 ? (v = f, D = "") : (C = f.split("."), v = C[0], D = C[1].substr(0, 4)), parseInt(v, 10) > 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
1765
  let E = 0;
1766
- const F = v.length;
1766
+ const F = N.length;
1767
1767
  for (let A = 0; A < F; A++) {
1768
- const re = v.substr(A, 1), ae = F - A - 1, Pe = ae / 4, ie = ae % 4;
1769
- re == "0" ? E++ : (E > 0 && (N += c[0]), E = 0, N += c[parseInt(re, 10)] + y[ie]), ie == 0 && E < 4 && (N += S[Pe]);
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]);
1770
1770
  }
1771
- N += _;
1771
+ v += _;
1772
1772
  }
1773
1773
  if (D !== "") {
1774
1774
  const E = D.length;
1775
1775
  for (let F = 0; F < E; F++) {
1776
1776
  let A = D.substr(F, 1);
1777
- A !== "0" && (N += c[Number(A)] + O[F]);
1777
+ A !== "0" && (v += c[Number(A)] + O[F]);
1778
1778
  }
1779
1779
  }
1780
- return N === "" ? N += c[0] + _ + k : D === "" && (N += k), N;
1780
+ return v === "" ? v += c[0] + _ + k : D === "" && (v += k), v;
1781
1781
  }
1782
1782
  function w(f, c) {
1783
1783
  var y = f == null || typeof f == "number" && isNaN(f) ? "" : String(f);
@@ -1914,7 +1914,7 @@ function $n(t, e, n) {
1914
1914
  function Cn(t, e) {
1915
1915
  return Number(t * 100).toFixed(Number(e)) + "%";
1916
1916
  }
1917
- function Hn(t, e, n, r, a, i, o) {
1917
+ function jn(t, e, n, r, a, i, o) {
1918
1918
  if (!e && !n)
1919
1919
  return t.toString();
1920
1920
  if (n && n.type && n.type === "number" && n.formatter)
@@ -1946,7 +1946,7 @@ function Hn(t, e, n, r, a, i, o) {
1946
1946
  }
1947
1947
  return d;
1948
1948
  }
1949
- function jn(t) {
1949
+ function Hn(t) {
1950
1950
  return t === !0 ? "是" : t === !1 || t == null || t === "" || typeof t > "u" ? "否" : t;
1951
1951
  }
1952
1952
  const K = /* @__PURE__ */ he({
@@ -1954,11 +1954,11 @@ 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 = j(() => ({
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(() => ({
1958
1958
  "f-form-control-text": !n.value,
1959
1959
  "f-form-context-textarea": n,
1960
1960
  "f-component-text-auto-size": a.value
1961
- })), h = j(() => ({
1961
+ })), h = H(() => ({
1962
1962
  "text-align": t.textAlign,
1963
1963
  height: !a.value && t.height > 0 ? `${t.height}px` : "",
1964
1964
  "min-height": a.value && t.height > 0 ? `${t.height}px` : "",
@@ -1970,7 +1970,7 @@ const K = /* @__PURE__ */ he({
1970
1970
  u.value.parentElement.className = c + " f-cmp-text-is-textarea";
1971
1971
  }
1972
1972
  });
1973
- const w = j(() => {
1973
+ const w = H(() => {
1974
1974
  let c = g(t.modelValue);
1975
1975
  return l.value != c && (e.emit("valueChange", c), l.value = c), c;
1976
1976
  });
@@ -1998,13 +1998,13 @@ const K = /* @__PURE__ */ he({
1998
1998
  }
1999
1999
  break;
2000
2000
  case "number":
2001
- s.value = An(s.value, t.numberOptions), y = Hn(c, s.value, t.numberOptions, t.groupSeparator, t.decimalSeparator, t.amountExpression, t.decimalFilledSymbol);
2001
+ s.value = An(s.value, t.numberOptions), y = jn(c, s.value, t.numberOptions, t.groupSeparator, t.decimalSeparator, t.amountExpression, t.decimalFilledSymbol);
2002
2002
  break;
2003
2003
  case "enum":
2004
2004
  y = Fn(c, t.enumConvertedDatas, t.enumDelimiter, t.textField, t.valueField);
2005
2005
  break;
2006
2006
  case "boolean":
2007
- y = jn(c);
2007
+ y = Hn(c);
2008
2008
  break;
2009
2009
  }
2010
2010
  return y;
@@ -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 v = M(b == null ? void 0 : b.value.parent), D = m(v);
2049
+ const N = M(b == null ? void 0 : b.value.parent), D = m(N);
2050
2050
  return D || null;
2051
2051
  }
2052
2052
  function h(b = e) {
2053
- const { componentInstance: v, designerItemElementRef: D } = b;
2054
- return !v || !v.value ? null : v.value.canMove ? D : h(b.parent);
2053
+ const { componentInstance: N, designerItemElementRef: D } = b;
2054
+ return !N || !N.value ? null : N.value.canMove ? D : h(b.parent);
2055
2055
  }
2056
2056
  function w(b) {
2057
2057
  return !!n;
@@ -2061,16 +2061,16 @@ function Rn(t, e, n) {
2061
2061
  }
2062
2062
  function f() {
2063
2063
  }
2064
- function c(b, v) {
2064
+ function c(b, N) {
2065
2065
  }
2066
2066
  function y(b) {
2067
- const { componentType: v } = b;
2068
- let D = ee(v, b);
2069
- const N = v.toLowerCase().replace("-", "_");
2070
- return D && !D.id && D.type === v && (D.id = `${N}_${Math.random().toString().slice(2, 6)}`), D;
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;
2071
2071
  }
2072
- function S(b, v) {
2073
- const D = String(b.getAttribute("data-controltype")), N = b.getAttribute("data-feature"), C = N ? JSON.parse(N) : {};
2072
+ function S(b, N) {
2073
+ const D = String(b.getAttribute("data-controltype")), v = b.getAttribute("data-feature"), C = v ? JSON.parse(v) : {};
2074
2074
  C.parentComponentInstance = o.value;
2075
2075
  let P = ee(D, C);
2076
2076
  const E = D.toLowerCase().replace("-", "_");
@@ -2111,17 +2111,17 @@ 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 = j(() => ({
2114
+ const n = M(!0), r = M(!0), a = M(""), i = M(0), o = M(0), s = M(t.modelValue), l = 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
2118
- })), u = j(() => ({
2118
+ })), u = H(() => ({
2119
2119
  textalign: a.value,
2120
2120
  height: !r.value && i.value > 0 ? `${i.value}px` : "",
2121
2121
  "min-height": !r.value && i.value > 0 ? `${i.value}px` : "",
2122
2122
  "max-height": !r.value && o.value > 0 ? `${o.value}px` : ""
2123
2123
  }));
2124
- j(() => "");
2124
+ H(() => "");
2125
2125
  const d = M(), m = Ye("design-item-context"), h = Rn(d, m);
2126
2126
  return ge(() => {
2127
2127
  d.value.componentInstance = h;