@farris/ui-vue 1.2.4 → 1.2.6

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 (279) hide show
  1. package/components/accordion/index.esm.js +58 -58
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +124 -116
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/index.esm.js +1 -1
  15. package/components/capsule/index.umd.cjs +1 -1
  16. package/components/capsule/package.json +1 -1
  17. package/components/checkbox/index.esm.js +219 -209
  18. package/components/checkbox/index.umd.cjs +1 -1
  19. package/components/checkbox/package.json +1 -1
  20. package/components/color-picker/package.json +1 -1
  21. package/components/combo-list/index.esm.js +36 -28
  22. package/components/combo-list/index.umd.cjs +1 -1
  23. package/components/combo-list/package.json +1 -1
  24. package/components/combo-tree/index.esm.js +340 -107
  25. package/components/combo-tree/index.umd.cjs +1 -1
  26. package/components/combo-tree/package.json +1 -1
  27. package/components/common/index.esm.js +2 -2
  28. package/components/common/index.umd.cjs +1 -1
  29. package/components/common/package.json +1 -1
  30. package/components/component/index.esm.js +36 -29
  31. package/components/component/index.umd.cjs +1 -1
  32. package/components/component/package.json +1 -1
  33. package/components/condition/index.esm.js +406 -402
  34. package/components/condition/index.umd.cjs +1 -1
  35. package/components/condition/package.json +1 -1
  36. package/components/content-container/index.esm.js +9 -13
  37. package/components/content-container/index.umd.cjs +1 -1
  38. package/components/content-container/package.json +1 -1
  39. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  40. package/components/data-grid/index.esm.js +4439 -4273
  41. package/components/data-grid/index.umd.cjs +1 -1
  42. package/components/data-grid/package.json +1 -1
  43. package/components/data-view/index.esm.js +2904 -2892
  44. package/components/data-view/index.umd.cjs +1 -1
  45. package/components/data-view/package.json +1 -1
  46. package/components/date-picker/index.esm.js +250 -242
  47. package/components/date-picker/index.umd.cjs +1 -1
  48. package/components/date-picker/package.json +1 -1
  49. package/components/designer-canvas/index.css +1 -0
  50. package/components/designer-canvas/index.esm.js +24 -21
  51. package/components/designer-canvas/index.umd.cjs +1 -1
  52. package/components/designer-canvas/package.json +1 -1
  53. package/components/designer-outline/index.esm.js +44 -42
  54. package/components/designer-outline/index.umd.cjs +1 -1
  55. package/components/designer-outline/package.json +1 -1
  56. package/components/designer-toolbox/index.esm.js +28 -467
  57. package/components/designer-toolbox/index.umd.cjs +1 -1
  58. package/components/designer-toolbox/package.json +1 -1
  59. package/components/discussion-editor/package.json +1 -1
  60. package/components/discussion-list/package.json +1 -1
  61. package/components/drawer/package.json +1 -1
  62. package/components/dropdown/index.esm.js +86 -86
  63. package/components/dropdown/index.umd.cjs +1 -1
  64. package/components/dropdown/package.json +1 -1
  65. package/components/dynamic-form/index.esm.js +984 -928
  66. package/components/dynamic-form/index.umd.cjs +1 -1
  67. package/components/dynamic-form/package.json +1 -1
  68. package/components/dynamic-resolver/index.esm.js +56 -47
  69. package/components/dynamic-resolver/index.umd.cjs +1 -1
  70. package/components/dynamic-resolver/package.json +1 -1
  71. package/components/dynamic-view/index.esm.js +281 -277
  72. package/components/dynamic-view/index.umd.cjs +1 -1
  73. package/components/dynamic-view/package.json +1 -1
  74. package/components/enum-editor/package.json +1 -1
  75. package/components/events-editor/package.json +1 -1
  76. package/components/expression-editor/package.json +1 -1
  77. package/components/external-container/index.css +1 -0
  78. package/components/external-container/index.esm.js +1917 -1901
  79. package/components/external-container/index.umd.cjs +1 -1
  80. package/components/external-container/package.json +1 -1
  81. package/components/field-selector/index.css +1 -0
  82. package/components/field-selector/index.esm.js +4185 -4023
  83. package/components/field-selector/index.umd.cjs +1 -1
  84. package/components/field-selector/package.json +1 -1
  85. package/components/filter-bar/{style.css → index.css} +1 -1
  86. package/components/filter-bar/index.esm.js +595 -581
  87. package/components/filter-bar/index.umd.cjs +1 -1
  88. package/components/filter-bar/package.json +1 -1
  89. package/components/flow-canvas/index.css +1 -0
  90. package/components/flow-canvas/index.esm.js +38 -35
  91. package/components/flow-canvas/index.umd.cjs +1 -1
  92. package/components/flow-canvas/package.json +1 -1
  93. package/components/image-cropper/package.json +1 -1
  94. package/components/input-group/index.esm.js +256 -248
  95. package/components/input-group/index.umd.cjs +1 -1
  96. package/components/input-group/package.json +1 -1
  97. package/components/layout/package.json +1 -1
  98. package/components/list-nav/package.json +1 -1
  99. package/components/list-view/index.esm.js +1522 -1519
  100. package/components/list-view/index.umd.cjs +1 -1
  101. package/components/list-view/package.json +1 -1
  102. package/components/loading/package.json +1 -1
  103. package/components/locale/package.json +1 -1
  104. package/components/lookup/index.css +1 -0
  105. package/components/lookup/index.esm.js +4629 -4410
  106. package/components/lookup/index.umd.cjs +1 -1
  107. package/components/lookup/package.json +1 -1
  108. package/components/mapping-editor/index.css +1 -0
  109. package/components/mapping-editor/index.esm.js +4454 -4255
  110. package/components/mapping-editor/index.umd.cjs +1 -1
  111. package/components/mapping-editor/package.json +1 -1
  112. package/components/message-box/index.css +1 -0
  113. package/components/message-box/index.esm.js +397 -386
  114. package/components/message-box/index.umd.cjs +1 -1
  115. package/components/message-box/package.json +1 -1
  116. package/components/modal/index.css +1 -0
  117. package/components/modal/index.esm.js +308 -297
  118. package/components/modal/index.umd.cjs +1 -1
  119. package/components/modal/package.json +1 -1
  120. package/components/nav/index.esm.js +511 -469
  121. package/components/nav/index.umd.cjs +2 -2
  122. package/components/nav/package.json +1 -1
  123. package/components/notify/package.json +1 -1
  124. package/components/order/index.esm.js +972 -920
  125. package/components/order/index.umd.cjs +1 -1
  126. package/components/order/package.json +1 -1
  127. package/components/page-footer/package.json +1 -1
  128. package/components/page-header/index.esm.js +917 -893
  129. package/components/page-header/index.umd.cjs +1 -1
  130. package/components/page-header/package.json +1 -1
  131. package/components/pagination/index.esm.js +491 -449
  132. package/components/pagination/index.umd.cjs +1 -1
  133. package/components/pagination/package.json +1 -1
  134. package/components/popover/package.json +1 -1
  135. package/components/progress/package.json +1 -1
  136. package/components/property-editor/index.esm.js +108 -101
  137. package/components/property-editor/index.umd.cjs +2 -2
  138. package/components/property-editor/package.json +1 -1
  139. package/components/property-panel/index.esm.js +361 -349
  140. package/components/property-panel/index.umd.cjs +1 -1
  141. package/components/property-panel/package.json +1 -1
  142. package/components/radio-button/package.json +1 -1
  143. package/components/radio-group/index.esm.js +72 -64
  144. package/components/radio-group/index.umd.cjs +1 -1
  145. package/components/radio-group/package.json +1 -1
  146. package/components/rate/package.json +1 -1
  147. package/components/response-layout/package.json +1 -1
  148. package/components/response-layout-editor/{style.css → index.css} +1 -1
  149. package/components/response-layout-editor/index.esm.js +452 -439
  150. package/components/response-layout-editor/index.umd.cjs +1 -1
  151. package/components/response-layout-editor/package.json +1 -1
  152. package/components/response-toolbar/index.esm.js +610 -592
  153. package/components/response-toolbar/index.umd.cjs +1 -1
  154. package/components/response-toolbar/package.json +1 -1
  155. package/components/schema-selector/index.css +1 -0
  156. package/components/schema-selector/index.esm.js +4041 -3749
  157. package/components/schema-selector/index.umd.cjs +8 -1
  158. package/components/schema-selector/package.json +1 -1
  159. package/components/search-box/package.json +1 -1
  160. package/components/section/index.esm.js +21 -14
  161. package/components/section/index.umd.cjs +1 -1
  162. package/components/section/package.json +1 -1
  163. package/components/smoke-detector/package.json +1 -1
  164. package/components/spacing-editor/package.json +1 -1
  165. package/components/splitter/package.json +1 -1
  166. package/components/step/package.json +1 -1
  167. package/components/switch/index.esm.js +159 -178
  168. package/components/switch/index.umd.cjs +1 -1
  169. package/components/switch/package.json +1 -1
  170. package/components/tabs/index.css +1 -0
  171. package/components/tabs/index.esm.js +1450 -1408
  172. package/components/tabs/index.umd.cjs +1 -1
  173. package/components/tabs/package.json +1 -1
  174. package/components/tags/package.json +1 -1
  175. package/components/text/package.json +1 -1
  176. package/components/textarea/index.esm.js +86 -78
  177. package/components/textarea/index.umd.cjs +1 -1
  178. package/components/textarea/package.json +1 -1
  179. package/components/time-picker/index.css +1 -0
  180. package/components/time-picker/index.esm.js +387 -379
  181. package/components/time-picker/index.umd.cjs +1 -1
  182. package/components/time-picker/package.json +1 -1
  183. package/components/tooltip/package.json +1 -1
  184. package/components/transfer/index.esm.js +95 -93
  185. package/components/transfer/index.umd.cjs +1 -1
  186. package/components/transfer/package.json +1 -1
  187. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  188. package/components/tree-grid/index.esm.js +4437 -4271
  189. package/components/tree-grid/index.umd.cjs +1 -1
  190. package/components/tree-grid/package.json +1 -1
  191. package/components/tree-view/index.esm.js +1989 -1985
  192. package/components/tree-view/index.umd.cjs +1 -1
  193. package/components/tree-view/package.json +1 -1
  194. package/components/uploader/package.json +1 -1
  195. package/components/verify-detail/package.json +1 -1
  196. package/components/video/package.json +1 -1
  197. package/components/weather/package.json +1 -1
  198. package/farris.all.esm.js +12989 -12513
  199. package/farris.all.umd.cjs +9 -9
  200. package/index.css +1 -0
  201. package/package.json +2 -2
  202. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  203. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  204. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  205. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  206. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  207. package/types/components.d.ts +1 -0
  208. package/types/condition/index.d.ts +60 -1
  209. package/types/data-grid/index.d.ts +5 -5
  210. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  211. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  212. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  213. package/types/data-view/components/column-setting/column-setting.component.d.ts +2 -1
  214. package/types/data-view/composition/types.d.ts +2 -0
  215. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  216. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  217. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +3 -3
  218. package/types/dynamic-form/src/types.d.ts +1 -1
  219. package/types/dynamic-resolver/index.d.ts +1 -0
  220. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  221. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  222. package/types/list-view/src/composition/types.d.ts +1 -1
  223. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  224. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +8 -0
  225. package/types/lookup/src/property-config/lookup.property-config.d.ts +29 -25
  226. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  227. package/types/message-box/index.d.ts +84 -1
  228. package/types/modal/src/modal.component.d.ts +3 -3
  229. package/types/modal/src/modal.props.d.ts +3 -5
  230. package/types/notify/index.d.ts +84 -1
  231. package/types/page-header/src/page-header.props.d.ts +7 -0
  232. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  233. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -0
  234. package/types/response-toolbar/index.d.ts +9 -3
  235. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  236. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  237. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  238. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  239. package/types/schema-selector/src/composition/types.d.ts +3 -1
  240. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  241. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  242. package/types/tabs/src/tabs.props.d.ts +8 -0
  243. package/types/tree-grid/src/schema/column-resolver.d.ts +3 -0
  244. package/components/button-edit/style.css +0 -1
  245. package/components/designer-canvas/style.css +0 -1
  246. package/components/external-container/style.css +0 -1
  247. package/components/field-selector/style.css +0 -1
  248. package/components/flow-canvas/style.css +0 -1
  249. package/components/lookup/style.css +0 -1
  250. package/components/mapping-editor/style.css +0 -1
  251. package/components/message-box/style.css +0 -1
  252. package/components/modal/style.css +0 -1
  253. package/components/schema-selector/style.css +0 -1
  254. package/components/tabs/style.css +0 -1
  255. package/components/time-picker/style.css +0 -1
  256. package/style.css +0 -1
  257. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  258. /package/components/border-editor/{style.css → index.css} +0 -0
  259. /package/components/checkbox/{style.css → index.css} +0 -0
  260. /package/components/date-picker/{style.css → index.css} +0 -0
  261. /package/components/designer-outline/{style.css → index.css} +0 -0
  262. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  263. /package/components/discussion-editor/{style.css → index.css} +0 -0
  264. /package/components/discussion-list/{style.css → index.css} +0 -0
  265. /package/components/drawer/{style.css → index.css} +0 -0
  266. /package/components/events-editor/{style.css → index.css} +0 -0
  267. /package/components/list-view/{style.css → index.css} +0 -0
  268. /package/components/order/{style.css → index.css} +0 -0
  269. /package/components/property-editor/{style.css → index.css} +0 -0
  270. /package/components/property-panel/{style.css → index.css} +0 -0
  271. /package/components/radio-button/{style.css → index.css} +0 -0
  272. /package/components/radio-group/{style.css → index.css} +0 -0
  273. /package/components/smoke-detector/{style.css → index.css} +0 -0
  274. /package/components/spacing-editor/{style.css → index.css} +0 -0
  275. /package/components/splitter/{style.css → index.css} +0 -0
  276. /package/components/switch/{style.css → index.css} +0 -0
  277. /package/components/transfer/{style.css → index.css} +0 -0
  278. /package/components/uploader/{style.css → index.css} +0 -0
  279. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  var sa = Object.defineProperty;
2
2
  var la = (t, n, e) => n in t ? sa(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var M = (t, n, e) => la(t, typeof n != "symbol" ? n + "" : n, e);
4
- import { defineComponent as de, ref as d, computed as T, watch as q, createVNode as v, Fragment as Ve, onMounted as me, createTextVNode as xe, mergeProps as $e, nextTick as et, reactive as ua, withDirectives as Yt, resolveDirective as ca, inject as Ie, onUnmounted as da, Teleport as fa, vShow as ma } from "vue";
4
+ import { defineComponent as de, ref as d, computed as T, watch as q, createVNode as v, Fragment as Ie, onMounted as me, createTextVNode as xe, mergeProps as $e, nextTick as et, reactive as ua, withDirectives as Yt, resolveDirective as ca, inject as Ve, onUnmounted as da, Teleport as fa, vShow as ma } from "vue";
5
5
  import { cloneDeep as ha } from "lodash-es";
6
6
  import "bignumber.js";
7
7
  import { withInstall as ya, useDateFormat as pa } from "@farris/ui-vue/components/common";
@@ -99,8 +99,8 @@ function Pe() {
99
99
  let h = l[0];
100
100
  l[0] !== l[1] && (h = l[0] + l[1], l[2] && l[1] !== l[2] && (h += l[2]));
101
101
  const b = new RegExp("[" + h + "]"), x = i.split(b), C = s.split(b);
102
- for (let H = 0; H < C.length; H++)
103
- C[H].indexOf("yyyy") !== -1 && (y.year = Number(x[H])), C[H].indexOf("M") !== -1 && (y.month = Number(x[H] || "1")), C[H].indexOf("d") !== -1 && (y.day = Number(x[H] || "1"));
102
+ for (let E = 0; E < C.length; E++)
103
+ C[E].indexOf("yyyy") !== -1 && (y.year = Number(x[E])), C[E].indexOf("M") !== -1 && (y.month = Number(x[E] || "1")), C[E].indexOf("d") !== -1 && (y.day = Number(x[E] || "1"));
104
104
  } else {
105
105
  const h = (s + "").indexOf("yyyy"), b = (s + "").indexOf("MM"), x = (s + "").indexOf("dd");
106
106
  if (h >= 0) {
@@ -187,7 +187,7 @@ const tt = /* @__PURE__ */ de({
187
187
  equal: b,
188
188
  inPeriod: x,
189
189
  isInitializedDate: C,
190
- equalOrEarlier: H,
190
+ equalOrEarlier: E,
191
191
  isPoint: P
192
192
  } = Le(), {
193
193
  getKeyCodeFromEvent: w
@@ -201,7 +201,7 @@ const tt = /* @__PURE__ */ de({
201
201
  function k(p) {
202
202
  return x(p, m.value);
203
203
  }
204
- function E(p) {
204
+ function H(p) {
205
205
  return !!m.value && P(m.value, p);
206
206
  }
207
207
  function _(p) {
@@ -212,15 +212,15 @@ const tt = /* @__PURE__ */ de({
212
212
  }, p);
213
213
  }
214
214
  const X = (p, B, N) => {
215
- const R = s.value !== "week" && p.tag === ce.current && (u.value && k(p.date) && !E(p.date) || p.range), Q = p.tag === ce.previous || p.tag === ce.next, se = {
215
+ const R = s.value !== "week" && p.tag === ce.current && (u.value && k(p.date) && !H(p.date) || p.range), Q = p.tag === ce.previous || p.tag === ce.next, se = {
216
216
  "f-datepicker-range": R,
217
217
  "f-datepicker-no-currmonth": Q,
218
218
  "f-datepicker-disabled": p.disable,
219
219
  "f-datepicker-singledate": !p.disable
220
220
  }, le = `d_${B}_${N}`;
221
221
  return se[le] = !0, se;
222
- }, V = (p) => {
223
- const B = s.value !== "week" && p.tag === ce.current && (!u.value && _(p.date) || u.value && E(p.date)), N = p.isCurrent && r.value, R = p.highlight && (p.tag === ce.previous || p.tag === ce.next || p.disable);
222
+ }, I = (p) => {
223
+ const B = s.value !== "week" && p.tag === ce.current && (!u.value && _(p.date) || u.value && H(p.date)), N = p.isCurrent && r.value, R = p.highlight && (p.tag === ce.previous || p.tag === ce.next || p.disable);
224
224
  return {
225
225
  "f-datepicker-date": !0,
226
226
  "f-datepicker-selected": B,
@@ -236,14 +236,14 @@ const tt = /* @__PURE__ */ de({
236
236
  function S(p, B) {
237
237
  s.value === "week" && (p.stopPropagation(), n.emit("clickWeek", B));
238
238
  }
239
- function I(p, B) {
239
+ function V(p, B) {
240
240
  const N = w(p);
241
241
  N !== pe.tab && (p.preventDefault(), N === pe.enter || N === pe.space ? F(p, B) : o.value && n.emit("keyDown", B.date));
242
242
  }
243
243
  function ne(p) {
244
244
  m.value && C(m.value.from) && !C(m.value.to) && (e.value.forEach((B) => {
245
245
  B.days.forEach((N) => {
246
- N.range = !!m.value && (H(m.value.from, N.date) && H(N.date, p.date) || H(N.date, m.value.from) && H(p.date, N.date));
246
+ N.range = !!m.value && (E(m.value.from, N.date) && E(N.date, p.date) || E(N.date, m.value.from) && E(p.date, N.date));
247
247
  });
248
248
  }), n.emit("mouseEnter", p.date));
249
249
  }
@@ -254,7 +254,7 @@ const tt = /* @__PURE__ */ de({
254
254
  });
255
255
  }), n.emit("mouseLeave");
256
256
  }
257
- return () => v(Ve, null, [v("div", {
257
+ return () => v(Ie, null, [v("div", {
258
258
  class: "f-datepicker-table-wrapper"
259
259
  }, [v("table", {
260
260
  class: "f-datepicker-table",
@@ -276,7 +276,7 @@ const tt = /* @__PURE__ */ de({
276
276
  tabindex: "0",
277
277
  class: X(N, B, R),
278
278
  onClick: (Q) => F(Q, N),
279
- onKeydown: (Q) => I(Q, N),
279
+ onKeydown: (Q) => V(Q, N),
280
280
  onMouseenter: () => ne(N),
281
281
  onMouseleave: () => $()
282
282
  }, [N.marked && N.marked.marked && v("span", {
@@ -285,7 +285,7 @@ const tt = /* @__PURE__ */ de({
285
285
  "background-color": N.marked.color
286
286
  }
287
287
  }, null), v("div", {
288
- class: V(N)
288
+ class: I(N)
289
289
  }, [N.date.day])]))]))])])])]);
290
290
  }
291
291
  }), Ta = {
@@ -323,7 +323,7 @@ const tt = /* @__PURE__ */ de({
323
323
  })), C = T(() => ({
324
324
  "f-datepicker-header-btn": !0,
325
325
  "f-datepicker-header-btn-disabled": r.value
326
- })), H = T(() => !s.value && !l.value), P = T(() => ({
326
+ })), E = T(() => !s.value && !l.value), P = T(() => ({
327
327
  "f-datepicker-header-btn": !0,
328
328
  "f-datepicker-header-btn-disabled": u.value
329
329
  })), w = T(() => ({
@@ -340,7 +340,7 @@ const tt = /* @__PURE__ */ de({
340
340
  "f-datepicker-header-btn": !0,
341
341
  "f-datepicker-monthLabel": b.value,
342
342
  "f-datepicker-labelBtnNotEdit": !b.value
343
- })), E = T(() => {
343
+ })), H = T(() => {
344
344
  const p = o.value ? o.value.indexOf("yyyy") : 0, B = o.value ? o.value.indexOf("MM") : 0;
345
345
  return p > B ? "MM-yyyy" : "yyyy-MM";
346
346
  });
@@ -350,7 +350,7 @@ const tt = /* @__PURE__ */ de({
350
350
  function X(p) {
351
351
  p.stopPropagation(), n.emit("preRecord");
352
352
  }
353
- function V(p) {
353
+ function I(p) {
354
354
  p.stopPropagation(), n.emit("clickYear");
355
355
  }
356
356
  function F(p) {
@@ -359,7 +359,7 @@ const tt = /* @__PURE__ */ de({
359
359
  function S(p) {
360
360
  p.stopPropagation(), n.emit("nextRecord");
361
361
  }
362
- function I(p) {
362
+ function V(p) {
363
363
  p.stopPropagation(), n.emit("nextPage");
364
364
  }
365
365
  function ne() {
@@ -367,7 +367,7 @@ const tt = /* @__PURE__ */ de({
367
367
  type: "button",
368
368
  class: g.value,
369
369
  onClick: (p) => {
370
- h.value && V(p);
370
+ h.value && I(p);
371
371
  },
372
372
  tabindex: h.value ? "0" : "-1",
373
373
  disabled: y.value === "year"
@@ -393,7 +393,7 @@ const tt = /* @__PURE__ */ de({
393
393
  onClick: _
394
394
  }, [v("i", {
395
395
  class: "f-icon f-icon-arrow-double-60-left"
396
- }, null)]), H.value && v("button", {
396
+ }, null)]), E.value && v("button", {
397
397
  type: "button",
398
398
  "aria-label": e.value,
399
399
  class: P.value,
@@ -402,9 +402,9 @@ const tt = /* @__PURE__ */ de({
402
402
  class: "f-icon f-icon-arrow-chevron-left"
403
403
  }, null)])]), v("div", {
404
404
  class: "f-datepicker-monthYearText"
405
- }, [E.value === "yyyy-MM" ? [ne(), $()] : [$(), ne()]]), v("div", {
405
+ }, [H.value === "yyyy-MM" ? [ne(), $()] : [$(), ne()]]), v("div", {
406
406
  class: "f-datepicker-next-btn"
407
- }, [H.value && v("button", {
407
+ }, [E.value && v("button", {
408
408
  type: "button",
409
409
  "aria-label": a.value,
410
410
  class: w.value,
@@ -414,7 +414,7 @@ const tt = /* @__PURE__ */ de({
414
414
  }, null)]), v("button", {
415
415
  type: "button",
416
416
  class: O.value,
417
- onClick: I
417
+ onClick: V
418
418
  }, [v("i", {
419
419
  class: "f-icon f-icon-arrow-double-60-right"
420
420
  }, null)])])]);
@@ -433,16 +433,16 @@ const tt = /* @__PURE__ */ de({
433
433
  10: "十月",
434
434
  11: "十一月",
435
435
  12: "十二月"
436
- }, Vt = {}, It = {};
436
+ }, It = {}, Vt = {};
437
437
  function ut(t) {
438
438
  const { properties: n, title: e } = t, a = Object.keys(n).reduce((o, r) => (o[r] = n[r].type === "object" && n[r].properties ? ut(n[r]) : ha(n[r].default), o), {});
439
439
  return a.id = `${e}-${Date.now()}`, a;
440
440
  }
441
441
  function at(t, n = {}) {
442
- const e = Vt[t];
442
+ const e = It[t];
443
443
  if (e) {
444
444
  let a = ut(e);
445
- const o = It[t];
445
+ const o = Vt[t];
446
446
  return a = o ? o({ getSchemaByType: at }, a, n) : a, a;
447
447
  }
448
448
  return null;
@@ -527,9 +527,9 @@ function Ca(t = {}) {
527
527
  const W = {
528
528
  Button: { type: "Button", name: "按钮", icon: "Button" },
529
529
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
530
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
531
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
532
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
530
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
531
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
532
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
533
533
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
534
534
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
535
535
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -556,15 +556,15 @@ const W = {
556
556
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
557
557
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
558
558
  Module: { type: "Module", name: "模块", icon: "Module" },
559
- Component: { type: "Component", name: "组件", icon: "Component" },
559
+ component: { type: "component", name: "组件", icon: "Component" },
560
560
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
561
561
  Image: { type: "Image", name: "图像", icon: "Image" },
562
562
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
563
563
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
564
564
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
565
565
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
566
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
567
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
566
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
567
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
568
568
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
569
569
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
570
570
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -573,7 +573,7 @@ const W = {
573
573
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
574
574
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
575
575
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
576
- Section: { type: "Section", name: "分组面板", icon: "Section" },
576
+ section: { type: "section", name: "分组面板", icon: "Section" },
577
577
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
578
578
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
579
579
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -603,7 +603,7 @@ const W = {
603
603
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
604
604
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
605
605
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
606
- Header: { type: "Header", name: "页头", icon: "Header" },
606
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
607
607
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
608
608
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
609
609
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -638,7 +638,7 @@ const W = {
638
638
  }, Da = {}, Oa = {};
639
639
  Ca();
640
640
  function ct(t, n, e = /* @__PURE__ */ new Map(), a = (u, c, f) => c, o = {}, r = (u) => u) {
641
- return Vt[n.title] = n, It[n.title] = a, Da[n.title] = o, Oa[n.title] = r, (u = {}) => {
641
+ return It[n.title] = n, Vt[n.title] = a, Da[n.title] = o, Oa[n.title] = r, (u = {}) => {
642
642
  const c = Pa(u, n, e), f = Object.keys(t).reduce((m, i) => (m[i] = t[i].default, m), {});
643
643
  return Object.assign(f, c);
644
644
  };
@@ -652,7 +652,7 @@ const _t = /* @__PURE__ */ new Map([
652
652
  function $t(t, n, e) {
653
653
  return n;
654
654
  }
655
- const Ba = "https://json-schema.org/draft/2020-12/schema", Na = "https://farris-design.gitee.io/date-view.schema.json", Sa = "date-view", Ha = "A Farris Input Component", Ea = "object", Fa = {
655
+ const Ba = "https://json-schema.org/draft/2020-12/schema", Na = "https://farris-design.gitee.io/date-view.schema.json", Sa = "date-view", Ea = "A Farris Input Component", Ha = "object", Fa = {
656
656
  id: {
657
657
  description: "The unique identifier for date picker",
658
658
  type: "string"
@@ -691,11 +691,11 @@ const Ba = "https://json-schema.org/draft/2020-12/schema", Na = "https://farris-
691
691
  $schema: Ba,
692
692
  $id: Na,
693
693
  title: Sa,
694
- description: Ha,
695
- type: Ea,
694
+ description: Ea,
695
+ type: Ha,
696
696
  properties: Fa,
697
697
  required: Ya
698
- }, Wa = "date-view", Va = "A Farris Component", Ia = "object", La = {
698
+ }, Wa = "date-view", Ia = "A Farris Component", Va = "object", La = {
699
699
  basic: {
700
700
  description: "Basic Infomation",
701
701
  title: "基本信息",
@@ -730,8 +730,8 @@ const Ba = "https://json-schema.org/draft/2020-12/schema", Na = "https://farris-
730
730
  }
731
731
  }, _a = {
732
732
  title: Wa,
733
- description: Va,
734
- type: Ia,
733
+ description: Ia,
734
+ type: Va,
735
735
  categories: La
736
736
  }, Rt = {
737
737
  /** */
@@ -873,12 +873,12 @@ function qt(t, n) {
873
873
  }
874
874
  const Ut = 6048e5, Ra = 864e5, dt = 6e4, ft = 36e5, ja = 1e3;
875
875
  let qa = {};
876
- function Ee() {
876
+ function He() {
877
877
  return qa;
878
878
  }
879
879
  function be(t, n) {
880
880
  var c, f, m, i;
881
- const e = Ee(), a = (n == null ? void 0 : n.weekStartsOn) ?? ((f = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : f.weekStartsOn) ?? e.weekStartsOn ?? ((i = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : i.weekStartsOn) ?? 0, o = ue(t), r = o.getDay(), u = (r < a ? 7 : 0) + r - a;
881
+ const e = He(), a = (n == null ? void 0 : n.weekStartsOn) ?? ((f = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : f.weekStartsOn) ?? e.weekStartsOn ?? ((i = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : i.weekStartsOn) ?? 0, o = ue(t), r = o.getDay(), u = (r < a ? 7 : 0) + r - a;
882
882
  return o.setDate(o.getDate() - u), o.setHours(0, 0, 0, 0), o;
883
883
  }
884
884
  function Ne(t) {
@@ -1372,7 +1372,7 @@ function zt(t) {
1372
1372
  }
1373
1373
  function ht(t, n) {
1374
1374
  var i, s, l, y;
1375
- const e = ue(t), a = e.getFullYear(), o = Ee(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((s = (i = n == null ? void 0 : n.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((y = (l = o.locale) == null ? void 0 : l.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, u = ae(t, 0);
1375
+ const e = ue(t), a = e.getFullYear(), o = He(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((s = (i = n == null ? void 0 : n.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((y = (l = o.locale) == null ? void 0 : l.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, u = ae(t, 0);
1376
1376
  u.setFullYear(a + 1, 0, r), u.setHours(0, 0, 0, 0);
1377
1377
  const c = be(u, n), f = ae(t, 0);
1378
1378
  f.setFullYear(a, 0, r), f.setHours(0, 0, 0, 0);
@@ -1381,7 +1381,7 @@ function ht(t, n) {
1381
1381
  }
1382
1382
  function No(t, n) {
1383
1383
  var c, f, m, i;
1384
- const e = Ee(), a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : f.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((i = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : i.firstWeekContainsDate) ?? 1, o = ht(t, n), r = ae(t, 0);
1384
+ const e = He(), a = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : f.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((i = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : i.firstWeekContainsDate) ?? 1, o = ht(t, n), r = ae(t, 0);
1385
1385
  return r.setFullYear(o, 0, a), r.setHours(0, 0, 0, 0), be(r, n);
1386
1386
  }
1387
1387
  function Xt(t, n) {
@@ -1881,7 +1881,7 @@ const ge = {
1881
1881
  return "Z";
1882
1882
  switch (n) {
1883
1883
  case "X":
1884
- return Ht(a);
1884
+ return Et(a);
1885
1885
  case "XXXX":
1886
1886
  case "XX":
1887
1887
  return ke(a);
@@ -1896,7 +1896,7 @@ const ge = {
1896
1896
  const a = t.getTimezoneOffset();
1897
1897
  switch (n) {
1898
1898
  case "x":
1899
- return Ht(a);
1899
+ return Et(a);
1900
1900
  case "xxxx":
1901
1901
  case "xx":
1902
1902
  return ke(a);
@@ -1947,14 +1947,14 @@ function St(t, n = "") {
1947
1947
  const e = t > 0 ? "-" : "+", a = Math.abs(t), o = Math.trunc(a / 60), r = a % 60;
1948
1948
  return r === 0 ? e + String(o) : e + String(o) + n + z(r, 2);
1949
1949
  }
1950
- function Ht(t, n) {
1950
+ function Et(t, n) {
1951
1951
  return t % 60 === 0 ? (t > 0 ? "-" : "+") + z(Math.abs(t) / 60, 2) : ke(t, n);
1952
1952
  }
1953
1953
  function ke(t, n = "") {
1954
1954
  const e = t > 0 ? "-" : "+", a = Math.abs(t), o = z(Math.trunc(a / 60), 2), r = z(a % 60, 2);
1955
1955
  return e + o + n + r;
1956
1956
  }
1957
- const Et = (t, n) => {
1957
+ const Ht = (t, n) => {
1958
1958
  switch (t) {
1959
1959
  case "P":
1960
1960
  return n.date({ width: "short" });
@@ -1981,7 +1981,7 @@ const Et = (t, n) => {
1981
1981
  }, So = (t, n) => {
1982
1982
  const e = t.match(/(P+)(p+)?/) || [], a = e[1], o = e[2];
1983
1983
  if (!o)
1984
- return Et(t, n);
1984
+ return Ht(t, n);
1985
1985
  let r;
1986
1986
  switch (a) {
1987
1987
  case "P":
@@ -1998,16 +1998,16 @@ const Et = (t, n) => {
1998
1998
  r = n.dateTime({ width: "full" });
1999
1999
  break;
2000
2000
  }
2001
- return r.replace("{{date}}", Et(a, n)).replace("{{time}}", Kt(o, n));
2001
+ return r.replace("{{date}}", Ht(a, n)).replace("{{time}}", Kt(o, n));
2002
2002
  }, ot = {
2003
2003
  p: Kt,
2004
2004
  P: So
2005
- }, Ho = /^D+$/, Eo = /^Y+$/, Fo = ["D", "DD", "YY", "YYYY"];
2005
+ }, Eo = /^D+$/, Ho = /^Y+$/, Fo = ["D", "DD", "YY", "YYYY"];
2006
2006
  function Zt(t) {
2007
- return Ho.test(t);
2007
+ return Eo.test(t);
2008
2008
  }
2009
2009
  function Jt(t) {
2010
- return Eo.test(t);
2010
+ return Ho.test(t);
2011
2011
  }
2012
2012
  function rt(t, n, e) {
2013
2013
  const a = Yo(t, n, e);
@@ -2017,10 +2017,10 @@ function Yo(t, n, e) {
2017
2017
  const a = t[0] === "Y" ? "years" : "days of the month";
2018
2018
  return `Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${n}\`) for formatting ${a} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
2019
2019
  }
2020
- const Ao = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Wo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Vo = /^'([^]*?)'?$/, Io = /''/g, Lo = /[a-zA-Z]/;
2020
+ const Ao = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Wo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Io = /^'([^]*?)'?$/, Vo = /''/g, Lo = /[a-zA-Z]/;
2021
2021
  function Oe(t, n, e) {
2022
2022
  var i, s, l, y;
2023
- const a = Ee(), o = a.locale ?? Qt, r = a.firstWeekContainsDate ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, u = a.weekStartsOn ?? ((y = (l = a.locale) == null ? void 0 : l.options) == null ? void 0 : y.weekStartsOn) ?? 0, c = ue(t);
2023
+ const a = He(), o = a.locale ?? Qt, r = a.firstWeekContainsDate ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, u = a.weekStartsOn ?? ((y = (l = a.locale) == null ? void 0 : l.options) == null ? void 0 : y.weekStartsOn) ?? 0, c = ue(t);
2024
2024
  if (!mt(c))
2025
2025
  throw new RangeError("Invalid time value");
2026
2026
  let f = n.match(Wo).map((h) => {
@@ -2059,11 +2059,11 @@ function Oe(t, n, e) {
2059
2059
  }).join("");
2060
2060
  }
2061
2061
  function _o(t) {
2062
- const n = t.match(Vo);
2063
- return n ? n[1].replace(Io, "'") : t;
2062
+ const n = t.match(Io);
2063
+ return n ? n[1].replace(Vo, "'") : t;
2064
2064
  }
2065
2065
  function $o() {
2066
- return Object.assign({}, Ee());
2066
+ return Object.assign({}, He());
2067
2067
  }
2068
2068
  function Ro(t) {
2069
2069
  let e = ue(t).getDay();
@@ -2858,7 +2858,7 @@ class cr extends U {
2858
2858
  }
2859
2859
  function pt(t, n, e) {
2860
2860
  var s, l, y, h;
2861
- const a = Ee(), o = (e == null ? void 0 : e.weekStartsOn) ?? ((l = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? a.weekStartsOn ?? ((h = (y = a.locale) == null ? void 0 : y.options) == null ? void 0 : h.weekStartsOn) ?? 0, r = ue(t), u = r.getDay(), f = (n % 7 + 7) % 7, m = 7 - o, i = n < 0 || n > 6 ? n - (u + m) % 7 : (f + m) % 7 - (u + m) % 7;
2861
+ const a = He(), o = (e == null ? void 0 : e.weekStartsOn) ?? ((l = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? a.weekStartsOn ?? ((h = (y = a.locale) == null ? void 0 : y.options) == null ? void 0 : h.weekStartsOn) ?? 0, r = ue(t), u = r.getDay(), f = (n % 7 + 7) % 7, m = 7 - o, i = n < 0 || n > 6 ? n - (u + m) % 7 : (f + m) % 7 - (u + m) % 7;
2862
2862
  return qt(r, i);
2863
2863
  }
2864
2864
  class dr extends U {
@@ -3531,17 +3531,17 @@ const Nr = {
3531
3531
  x: new Dr(),
3532
3532
  t: new Or(),
3533
3533
  T: new Br()
3534
- }, Sr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Hr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Er = /^'([^]*?)'?$/, Fr = /''/g, Yr = /\S/, Ar = /[a-zA-Z]/;
3534
+ }, Sr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Er = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hr = /^'([^]*?)'?$/, Fr = /''/g, Yr = /\S/, Ar = /[a-zA-Z]/;
3535
3535
  function Ft(t, n, e, a) {
3536
- var b, x, C, H;
3537
- const o = $o(), r = o.locale ?? Qt, u = o.firstWeekContainsDate ?? ((x = (b = o.locale) == null ? void 0 : b.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, c = o.weekStartsOn ?? ((H = (C = o.locale) == null ? void 0 : C.options) == null ? void 0 : H.weekStartsOn) ?? 0;
3536
+ var b, x, C, E;
3537
+ const o = $o(), r = o.locale ?? Qt, u = o.firstWeekContainsDate ?? ((x = (b = o.locale) == null ? void 0 : b.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, c = o.weekStartsOn ?? ((E = (C = o.locale) == null ? void 0 : C.options) == null ? void 0 : E.weekStartsOn) ?? 0;
3538
3538
  if (n === "")
3539
3539
  return t === "" ? ue(e) : ae(e, NaN);
3540
3540
  const f = {
3541
3541
  firstWeekContainsDate: u,
3542
3542
  weekStartsOn: c,
3543
3543
  locale: r
3544
- }, m = [new Go()], i = n.match(Hr).map((P) => {
3544
+ }, m = [new Go()], i = n.match(Er).map((P) => {
3545
3545
  const w = P[0];
3546
3546
  if (w in ot) {
3547
3547
  const O = ot[w];
@@ -3555,12 +3555,12 @@ function Ft(t, n, e, a) {
3555
3555
  if (O) {
3556
3556
  const { incompatibleTokens: g } = O;
3557
3557
  if (Array.isArray(g)) {
3558
- const E = s.find(
3558
+ const H = s.find(
3559
3559
  (_) => g.includes(_.token) || _.token === w
3560
3560
  );
3561
- if (E)
3561
+ if (H)
3562
3562
  throw new RangeError(
3563
- `The format string mustn't contain \`${E.fullToken}\` and \`${P}\` at the same time`
3563
+ `The format string mustn't contain \`${H.fullToken}\` and \`${P}\` at the same time`
3564
3564
  );
3565
3565
  } else if (O.incompatibleTokens === "*" && s.length > 0)
3566
3566
  throw new RangeError(
@@ -3605,7 +3605,7 @@ function Ft(t, n, e, a) {
3605
3605
  return ae(e, y);
3606
3606
  }
3607
3607
  function Wr(t) {
3608
- return t.match(Er)[1].replace(Fr, "'");
3608
+ return t.match(Hr)[1].replace(Fr, "'");
3609
3609
  }
3610
3610
  function Ze(t, n) {
3611
3611
  const a = _r(t);
@@ -3642,7 +3642,7 @@ const Re = {
3642
3642
  dateTimeDelimiter: /[T ]/,
3643
3643
  timeZoneDelimiter: /[Z ]/i,
3644
3644
  timezone: /([Z+-].*)$/
3645
- }, Vr = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Ir = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Lr = /^([+-])(\d{2})(?::?(\d{2}))?$/;
3645
+ }, Ir = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Vr = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Lr = /^([+-])(\d{2})(?::?(\d{2}))?$/;
3646
3646
  function _r(t) {
3647
3647
  const n = {}, e = t.split(Re.dateTimeDelimiter);
3648
3648
  let a;
@@ -3670,7 +3670,7 @@ function $r(t, n) {
3670
3670
  }
3671
3671
  function Rr(t, n) {
3672
3672
  if (n === null) return /* @__PURE__ */ new Date(NaN);
3673
- const e = t.match(Vr);
3673
+ const e = t.match(Ir);
3674
3674
  if (!e) return /* @__PURE__ */ new Date(NaN);
3675
3675
  const a = !!e[4], o = We(e[1]), r = We(e[2]) - 1, u = We(e[3]), c = We(e[4]), f = We(e[5]) - 1;
3676
3676
  if (a)
@@ -3684,7 +3684,7 @@ function We(t) {
3684
3684
  return t ? parseInt(t) : 1;
3685
3685
  }
3686
3686
  function jr(t) {
3687
- const n = t.match(Ir);
3687
+ const n = t.match(Vr);
3688
3688
  if (!n) return NaN;
3689
3689
  const e = Je(n[1]), a = Je(n[2]), o = Je(n[3]);
3690
3690
  return Kr(e, a, o) ? e * ft + a * dt + o * 1e3 : NaN;
@@ -3911,7 +3911,7 @@ function ti(t, n, e, a) {
3911
3911
  "text-left": f.value === "left",
3912
3912
  "text-center": f.value === "center",
3913
3913
  "text-right": f.value === "right"
3914
- })), H = T(() => {
3914
+ })), E = T(() => {
3915
3915
  const S = {
3916
3916
  "f-cmp-inputgroup": !0,
3917
3917
  "input-group": !0,
@@ -3922,16 +3922,16 @@ function ti(t, n, e, a) {
3922
3922
  };
3923
3923
  return (t.customClass || "").split(" ").reduce((ne, $) => (ne[$] = !0, ne), S), S;
3924
3924
  }), P = T(() => c.value ? "" : "border-width : 0 ");
3925
- function w(S, I = !0) {
3926
- e.value = S, a.value !== S && (a.value = S), I && n.emit("change", S), n.emit("update:modelValue", S), n.emit("update:value", S);
3925
+ function w(S, V = !0) {
3926
+ e.value = S, a.value !== S && (a.value = S), V && n.emit("change", S), n.emit("update:modelValue", S), n.emit("update:value", S);
3927
3927
  }
3928
3928
  q(
3929
3929
  () => t.modelValue,
3930
- (S, I) => {
3931
- S !== I && (e.value = S, a.value = S);
3930
+ (S, V) => {
3931
+ S !== V && (e.value = S, a.value = S);
3932
3932
  }
3933
- ), q(() => t.disabled, (S, I) => {
3934
- S !== I && (o.value = S);
3933
+ ), q(() => t.disabled, (S, V) => {
3934
+ S !== V && (o.value = S);
3935
3935
  });
3936
3936
  function O(S) {
3937
3937
  return r.value = !1, n.emit("blur", S), S.stopPropagation(), !1;
@@ -3942,10 +3942,10 @@ function ti(t, n, e, a) {
3942
3942
  function k(S) {
3943
3943
  t.disabled || (c.value && (r.value = !0), i.value && n.emit("focus", S));
3944
3944
  }
3945
- function E(S) {
3945
+ function H(S) {
3946
3946
  n.emit("input", S.target.value);
3947
- const I = S.target.value;
3948
- a.value = I, m.value === "input" && (n.emit("update:modelValue", I), n.emit("update:value", I));
3947
+ const V = S.target.value;
3948
+ a.value = V, m.value === "input" && (n.emit("update:modelValue", V), n.emit("update:value", V));
3949
3949
  }
3950
3950
  function _(S) {
3951
3951
  n.emit("keydown", S);
@@ -3953,13 +3953,13 @@ function ti(t, n, e, a) {
3953
3953
  function X(S) {
3954
3954
  n.emit("keyup", S);
3955
3955
  }
3956
- function V(S) {
3956
+ function I(S) {
3957
3957
  S.target.tagName !== "INPUT" && S.preventDefault(), S.stopPropagation();
3958
3958
  }
3959
3959
  function F(S) {
3960
3960
  if (m.value === "blur") {
3961
- const I = S.target.value;
3962
- S.stopPropagation(), w(I);
3961
+ const V = S.target.value;
3962
+ S.stopPropagation(), w(V);
3963
3963
  }
3964
3964
  }
3965
3965
  return {
@@ -3968,7 +3968,7 @@ function ti(t, n, e, a) {
3968
3968
  displayText: a,
3969
3969
  editable: s,
3970
3970
  hasFocused: l,
3971
- inputGroupClass: H,
3971
+ inputGroupClass: E,
3972
3972
  inputType: u,
3973
3973
  isEmpty: y,
3974
3974
  modelValue: e,
@@ -3976,10 +3976,10 @@ function ti(t, n, e, a) {
3976
3976
  onBlur: O,
3977
3977
  onClick: g,
3978
3978
  onFocus: k,
3979
- onInput: E,
3979
+ onInput: H,
3980
3980
  onKeydown: _,
3981
3981
  onKeyup: X,
3982
- onMousedown: V,
3982
+ onMousedown: I,
3983
3983
  onTextBoxValueChange: F,
3984
3984
  placeholder: h,
3985
3985
  textBoxClass: C,
@@ -4302,19 +4302,19 @@ const mi = /* @__PURE__ */ de({
4302
4302
  scrollToSelected: y
4303
4303
  } = di(t, n, o, r, u, c), {
4304
4304
  getSelectedClass: h
4305
- } = fi(l, e), b = d(t.hourStep), x = d(t.minuteStep), C = d(t.secondStep), H = d(), P = d(""), w = d(), O = d(t.hideDisabledElements), g = d(0);
4305
+ } = fi(l, e), b = d(t.hourStep), x = d(t.minuteStep), C = d(t.secondStep), E = d(), P = d(""), w = d(), O = d(t.hideDisabledElements), g = d(0);
4306
4306
  q(() => t.defaultOpenValue, (D) => {
4307
- Z(D) && (H.value = D);
4308
- }), q(H, (D) => {
4307
+ Z(D) && (E.value = D);
4308
+ }), q(E, (D) => {
4309
4309
  Z(D) && l.setDefaultOpenValue(D);
4310
- }), H.value = t.defaultOpenValue, q(l.changedValue, (D) => {
4310
+ }), E.value = t.defaultOpenValue, q(l.changedValue, (D) => {
4311
4311
  n.emit("valueChange", D);
4312
4312
  }), q(() => t.modelValue, (D) => {
4313
4313
  k(D);
4314
4314
  }), q(() => t.format, (D) => {
4315
4315
  Z(D) ? P.value = D : P.value = "HH:mm:ss";
4316
4316
  }), q(P, (D) => {
4317
- Z(D) && (l.setFormat(P.value), g.value = 0, F.value && g.value++, S.value && g.value++, I.value && g.value++, w.value && (g.value++, R()), a.value = g.value * 66);
4317
+ Z(D) && (l.setFormat(P.value), g.value = 0, F.value && g.value++, S.value && g.value++, V.value && g.value++, w.value && (g.value++, R()), a.value = g.value * 66);
4318
4318
  }), q(() => t.use12Hours, (D) => {
4319
4319
  w.value = D;
4320
4320
  }), q(w, (D) => {
@@ -4334,7 +4334,7 @@ const mi = /* @__PURE__ */ de({
4334
4334
  } else
4335
4335
  l.setUse12Hours(w.value);
4336
4336
  }
4337
- function E() {
4337
+ function H() {
4338
4338
  let D = [];
4339
4339
  return t.disabledHours && (D = t.disabledHours(), w.value && (l.selected12Hours === "PM" ? D = D.filter((A) => A >= 12).map((A) => A > 12 ? A - 12 : A) : D = D.filter((A) => A < 12 || A === 24).map((A) => A === 24 || A === 0 ? 12 : A))), D;
4340
4340
  }
@@ -4346,14 +4346,14 @@ const mi = /* @__PURE__ */ de({
4346
4346
  "time-picker-panel-column-3": !0,
4347
4347
  "time-picker-panel-placement-bottomLeft": !0,
4348
4348
  "f-area-show": !0
4349
- })), V = T(() => ({
4349
+ })), I = T(() => ({
4350
4350
  width: w.value ? `${a.value}px` : "100%"
4351
- })), F = T(() => _("hour")), S = T(() => _("minute")), I = T(() => _("second"));
4351
+ })), F = T(() => _("hour")), S = T(() => _("minute")), V = T(() => _("second"));
4352
4352
  function ne(D, A = 1, fe = 0) {
4353
4353
  return A = Math.ceil(A), new Array(Math.ceil(D / A)).fill(0).map((K, Te) => (Te + fe) * A);
4354
4354
  }
4355
4355
  function $() {
4356
- if (F.value && f.value && y(f.value, Z(l.viewHours) ? l.viewHours : l.defaultViewHours, 0, "hour", l), S.value && m.value && y(m.value, Z(l.minutes) ? l.minutes : l.defaultMinutes, 0, "minute", l), I.value && i.value && y(i.value, Z(l.seconds) ? l.seconds : l.defaultSeconds, 0, "second", l), w.value && s.value) {
4356
+ if (F.value && f.value && y(f.value, Z(l.viewHours) ? l.viewHours : l.defaultViewHours, 0, "hour", l), S.value && m.value && y(m.value, Z(l.minutes) ? l.minutes : l.defaultMinutes, 0, "minute", l), V.value && i.value && y(i.value, Z(l.seconds) ? l.seconds : l.defaultSeconds, 0, "second", l), w.value && s.value) {
4357
4357
  const A = (Z(l.selected12Hours) ? l.selected12Hours : l.default12Hours) === "AM" ? 0 : 1;
4358
4358
  y(s.value, A, 0, "12-hour", l);
4359
4359
  }
@@ -4361,7 +4361,7 @@ const mi = /* @__PURE__ */ de({
4361
4361
  function p() {
4362
4362
  let D = 24, A = 0;
4363
4363
  w.value && (D = 12, A = 1);
4364
- const fe = E();
4364
+ const fe = H();
4365
4365
  if (o.value = ne(D, b.value, A).map((K) => ({
4366
4366
  index: K,
4367
4367
  disabled: fe.length > 0 && fe.indexOf(K) !== -1
@@ -4439,7 +4439,7 @@ const mi = /* @__PURE__ */ de({
4439
4439
  function Me() {
4440
4440
  return t.showHeader ? v("div", {
4441
4441
  class: e + "-combobox time-picker-panel-header",
4442
- style: V.value
4442
+ style: I.value
4443
4443
  }, [F.value && v("div", {
4444
4444
  class: e + "-select",
4445
4445
  style: "height: 32px"
@@ -4449,8 +4449,8 @@ const mi = /* @__PURE__ */ de({
4449
4449
  class: e + "-select",
4450
4450
  style: "height: 32px"
4451
4451
  }, [v("ul", null, [v("li", {
4452
- class: "time-header" + I.value ? "time-header-split" : ""
4453
- }, [xe("分")])])]), I.value && v("div", {
4452
+ class: "time-header" + V.value ? "time-header-split" : ""
4453
+ }, [xe("分")])])]), V.value && v("div", {
4454
4454
  class: e + "-select",
4455
4455
  style: "height: 32px"
4456
4456
  }, [v("ul", null, [v("li", {
@@ -4470,7 +4470,7 @@ const mi = /* @__PURE__ */ de({
4470
4470
  class: e + "-inner"
4471
4471
  }, [Me(), v("div", {
4472
4472
  class: e + "-combobox",
4473
- style: V.value
4473
+ style: I.value
4474
4474
  }, [F.value && v("div", {
4475
4475
  class: e + "-select",
4476
4476
  ref: f
@@ -4483,7 +4483,7 @@ const mi = /* @__PURE__ */ de({
4483
4483
  }, [v("ul", null, [r.value.map((D) => v("li", {
4484
4484
  class: h(D, "minute"),
4485
4485
  onClick: (A) => le(A, D)
4486
- }, [`${D.index}`]))])]), I.value && v("div", {
4486
+ }, [`${D.index}`]))])]), V.value && v("div", {
4487
4487
  class: e + "-select",
4488
4488
  ref: i
4489
4489
  }, [v("ul", null, [u.value.map((D) => v("li", {
@@ -4552,7 +4552,7 @@ const mi = /* @__PURE__ */ de({
4552
4552
  month: O.month
4553
4553
  });
4554
4554
  }
4555
- function H(O) {
4555
+ function E(O) {
4556
4556
  return !!c.value && (f({
4557
4557
  year: c.value.from.month
4558
4558
  }, O) || f({
@@ -4565,7 +4565,7 @@ const mi = /* @__PURE__ */ de({
4565
4565
  const w = (O) => ({
4566
4566
  "f-datepicker-month-cell": !0,
4567
4567
  "f-datepicker-current": O.isCurrent && a.value,
4568
- "f-datepicker-selected": !r.value && C(O.date) || r.value && H(O.date),
4568
+ "f-datepicker-selected": !r.value && C(O.date) || r.value && E(O.date),
4569
4569
  "f-datepicker-disabled": O.disable,
4570
4570
  "f-datepicker-range": P(O.date) || O.range
4571
4571
  });
@@ -4573,9 +4573,9 @@ const mi = /* @__PURE__ */ de({
4573
4573
  class: "f-datepicker-table-wrapper"
4574
4574
  }, [v("table", {
4575
4575
  class: "f-datepicker-table"
4576
- }, [v("tbody", null, [e.value && e.value.map((O, g) => v("tr", null, [O.map((k, E) => v("td", {
4577
- id: `m_${g}_${E}`,
4578
- class: `m_${g}_${E}`,
4576
+ }, [v("tbody", null, [e.value && e.value.map((O, g) => v("tr", null, [O.map((k, H) => v("td", {
4577
+ id: `m_${g}_${H}`,
4578
+ class: `m_${g}_${H}`,
4579
4579
  onClick: (_) => y(_, k),
4580
4580
  onKeydown: (_) => h(_, k),
4581
4581
  onMouseenter: () => b(k),
@@ -4614,10 +4614,10 @@ const mi = /* @__PURE__ */ de({
4614
4614
  u.value = t.selected;
4615
4615
  });
4616
4616
  const y = (g, k) => {
4617
- const E = `y_${g}_${k}`, _ = {
4617
+ const H = `y_${g}_${k}`, _ = {
4618
4618
  "f-datepicker-no-currmonth": g === 0 && k === 0 || g === 3 && k === 2
4619
4619
  };
4620
- return _[E] = !0, _;
4620
+ return _[H] = !0, _;
4621
4621
  };
4622
4622
  function h(g) {
4623
4623
  return m(g, c.value);
@@ -4641,17 +4641,17 @@ const mi = /* @__PURE__ */ de({
4641
4641
  "f-datepicker-disabled": g.disable,
4642
4642
  "f-datepicker-range": h(g.date) || g.range
4643
4643
  });
4644
- function H(g, k) {
4644
+ function E(g, k) {
4645
4645
  g.stopPropagation(), !k.disable && n.emit("click", k);
4646
4646
  }
4647
4647
  function P(g, k) {
4648
- const E = l(g);
4649
- E !== pe.tab && (g.preventDefault(), E === pe.enter || E === pe.space ? H(g, k) : o.value && n.emit("keyDown", k));
4648
+ const H = l(g);
4649
+ H !== pe.tab && (g.preventDefault(), H === pe.enter || H === pe.space ? E(g, k) : o.value && n.emit("keyDown", k));
4650
4650
  }
4651
4651
  function w(g) {
4652
4652
  c.value && i(c.value.from) && !i(c.value.to) && (e.value.forEach((k) => {
4653
- k.forEach((E) => {
4654
- E.range = !!c.value && (s(c.value.from, E.date) && s(E.date, g.date) || s(E.date, c.value.from) && s(g.date, E.date));
4653
+ k.forEach((H) => {
4654
+ H.range = !!c.value && (s(c.value.from, H.date) && s(H.date, g.date) || s(H.date, c.value.from) && s(g.date, H.date));
4655
4655
  });
4656
4656
  }), n.emit("mouseEnter", g));
4657
4657
  }
@@ -4666,19 +4666,19 @@ const mi = /* @__PURE__ */ de({
4666
4666
  class: "f-datepicker-table-wrapper"
4667
4667
  }, [v("tbody", {
4668
4668
  class: "f-datepicker-table"
4669
- }, [e.value && e.value.map((g, k) => v("tr", null, [g.map((E, _) => v("td", {
4669
+ }, [e.value && e.value.map((g, k) => v("tr", null, [g.map((H, _) => v("td", {
4670
4670
  id: "y_{yi}_{i}",
4671
4671
  class: y(k, _),
4672
- onClick: (X) => H(X, E),
4673
- onKeydown: (X) => P(X, E),
4674
- onMouseenter: () => w(E),
4672
+ onClick: (X) => E(X, H),
4673
+ onKeydown: (X) => P(X, H),
4674
+ onMouseenter: () => w(H),
4675
4675
  onMouseleave: () => O(),
4676
4676
  tabindex: "0"
4677
4677
  }, [v("div", {
4678
4678
  class: "f-datepicker-year"
4679
4679
  }, [v("span", {
4680
- class: C(E)
4681
- }, [E.year])])]))]))])]);
4680
+ class: C(H)
4681
+ }, [H.year])])]))]))])]);
4682
4682
  }
4683
4683
  });
4684
4684
  function vt() {
@@ -4789,9 +4789,9 @@ function gt() {
4789
4789
  }
4790
4790
  function c(i, s, l, y) {
4791
4791
  const h = t(), b = [], { year: x } = s, C = 3;
4792
- for (let H = 1; H <= 12; H += C) {
4792
+ for (let E = 1; E <= 12; E += C) {
4793
4793
  const P = [];
4794
- for (let w = H; w < H + C; w++) {
4794
+ for (let w = E; w < E + C; w++) {
4795
4795
  const O = n({ year: x, month: w, day: 1 }, l) || e({ year: x, month: w, day: o(w, x || 0) }, y);
4796
4796
  P.push({
4797
4797
  month: w,
@@ -4834,39 +4834,39 @@ function gi({ isDisabledDate: t }) {
4834
4834
  function s(y, h, b, x, C) {
4835
4835
  return y === C.day && h === C.month && b === C.year && x === ce.current;
4836
4836
  }
4837
- function l(y, h, b, x, C, H, P, w, O) {
4838
- const g = [], k = n(), E = i(h, y, m(b)), _ = e(y, h), X = a(y, h);
4839
- let V = 1, F = ce.previous;
4837
+ function l(y, h, b, x, C, E, P, w, O) {
4838
+ const g = [], k = n(), H = i(h, y, m(b)), _ = e(y, h), X = a(y, h);
4839
+ let I = 1, F = ce.previous;
4840
4840
  for (let S = 1; S < 7; S++) {
4841
- const I = [];
4841
+ const V = [];
4842
4842
  if (S === 1) {
4843
- const $ = X - E + 1;
4843
+ const $ = X - H + 1;
4844
4844
  for (let B = $; B <= X; B++) {
4845
4845
  const N = {
4846
4846
  year: y === 1 ? h - 1 : h,
4847
4847
  month: y === 1 ? 12 : y - 1,
4848
4848
  day: B
4849
- }, R = s(B, y, h, F, k), Q = t(N), se = c(N, x, C), le = u(N, w, P, H);
4850
- I.push({ date: N, tag: F, isCurrent: R, disable: Q, marked: se, highlight: le });
4849
+ }, R = s(B, y, h, F, k), Q = t(N), se = c(N, x, C), le = u(N, w, P, E);
4850
+ V.push({ date: N, tag: F, isCurrent: R, disable: Q, marked: se, highlight: le });
4851
4851
  }
4852
4852
  F = ce.current;
4853
- const p = 7 - I.length;
4853
+ const p = 7 - V.length;
4854
4854
  for (let B = 0; B < p; B++) {
4855
- const N = { year: h, month: y, day: V }, R = s(V, y, h, F, k), Q = t(N), se = c(N, x, C), le = u(N, w, P, H);
4856
- I.push({ date: N, tag: F, isCurrent: R, disable: Q, marked: se, highlight: le }), V++;
4855
+ const N = { year: h, month: y, day: I }, R = s(I, y, h, F, k), Q = t(N), se = c(N, x, C), le = u(N, w, P, E);
4856
+ V.push({ date: N, tag: F, isCurrent: R, disable: Q, marked: se, highlight: le }), I++;
4857
4857
  }
4858
4858
  } else
4859
4859
  for (let $ = 1; $ <= 7; $++) {
4860
- V > _ && (V = 1, F = ce.next);
4860
+ I > _ && (I = 1, F = ce.next);
4861
4861
  const p = {
4862
4862
  year: F === ce.next && y === 12 ? h + 1 : h,
4863
4863
  month: F === ce.current ? y : F === ce.next && y < 12 ? y + 1 : 1,
4864
- day: V
4865
- }, B = s(V, y, h, F, k), N = t(p), R = c(p, x, C), Q = u(p, w, P, H);
4866
- I.push({ date: p, tag: F, isCurrent: B, disable: N, marked: R, highlight: Q }), V++;
4864
+ day: I
4865
+ }, B = s(I, y, h, F, k), N = t(p), R = c(p, x, C), Q = u(p, w, P, E);
4866
+ V.push({ date: p, tag: F, isCurrent: B, disable: N, marked: R, highlight: Q }), I++;
4867
4867
  }
4868
- const ne = O && b === "Mon." ? f(I[0].date) : 0;
4869
- g.push({ days: I, numberInTheYear: ne, year: h });
4868
+ const ne = O && b === "Mon." ? f(V[0].date) : 0;
4869
+ g.push({ days: V, numberInTheYear: ne, year: h });
4870
4870
  }
4871
4871
  return g;
4872
4872
  }
@@ -4876,9 +4876,9 @@ function bi() {
4876
4876
  const { getToday: t } = Pe(), { daysInMonth: n } = gt(), { isMonthDisabledByDisableSince: e, isMonthDisabledByDisableUntil: a } = un();
4877
4877
  function o(r, u, c, f, m, i) {
4878
4878
  const s = [], l = r - r % 10, { year: y, month: h } = u, b = t(), x = 3, C = l + 10;
4879
- for (let H = l - 1; H < C; H += x) {
4879
+ for (let E = l - 1; E < C; E += x) {
4880
4880
  const P = [];
4881
- for (let w = H; w < H + x; w++) {
4881
+ for (let w = E; w < E + x; w++) {
4882
4882
  const O = e({ year: w, month: h, day: 1 }, m) || a({ year: w, month: h, day: n(h || 0, w) }, i), g = w < c || w > f;
4883
4883
  P.push({
4884
4884
  year: w,
@@ -4976,9 +4976,9 @@ const Se = /* @__PURE__ */ de({
4976
4976
  props: Rt,
4977
4977
  emits: ["datePicked", "confirm"],
4978
4978
  setup(t, n) {
4979
- const e = d(), a = d(""), o = d(t.mode), r = d(t.top), u = d(t.left), c = d(t.position), f = d(t.enablePeriod), m = d(t.selectMode), i = d(t.dateFormat), s = d(t.nameOfMonths), l = d(t.valueFormat), y = d([]), h = d(!1), b = d(""), x = d(!1), C = d(""), H = d(), P = d(!1), w = d(!1), O = d(!1), g = d(!1), k = d(!1), E = d(!1), _ = d(!1), X = d(!1);
4979
+ const e = d(), a = d(""), o = d(t.mode), r = d(t.top), u = d(t.left), c = d(t.position), f = d(t.enablePeriod), m = d(t.selectMode), i = d(t.dateFormat), s = d(t.nameOfMonths), l = d(t.valueFormat), y = d([]), h = d(!1), b = d(""), x = d(!1), C = d(""), E = d(), P = d(!1), w = d(!1), O = d(!1), g = d(!1), k = d(!1), H = d(!1), _ = d(!1), X = d(!1);
4980
4980
  d(t.secondaryDates);
4981
- const V = d(t.daysInWeek), F = d(t.enableKeyboadNavigate), S = d(t.enableMarkCurrent), I = d(t.firstDayOfTheWeek), ne = d(t.showWeekNumber), $ = d(t.selectedDate), p = d(t.selectedSecondDate), B = d(t.value), N = d(t.selectedWeek), R = d(t.selectedPeriod), Q = d(t.weekTitle), se = d(t.secondaryMonths), le = d(t.selectedMonth), Ce = d(t.minYear), we = d(t.maxYear), Me = d(t.disableSince), D = d(t.disableUntil), A = d(t.disableDates), fe = d(t.disablePeriod), K = d(t.disableWeekdays), Te = d(t.disableWeekends), bn = pi(Ce.value, we.value, Me.value, D.value, A.value, fe.value, Te.value, K.value), {
4981
+ const I = d(t.daysInWeek), F = d(t.enableKeyboadNavigate), S = d(t.enableMarkCurrent), V = d(t.firstDayOfTheWeek), ne = d(t.showWeekNumber), $ = d(t.selectedDate), p = d(t.selectedSecondDate), B = d(t.value), N = d(t.selectedWeek), R = d(t.selectedPeriod), Q = d(t.weekTitle), se = d(t.secondaryMonths), le = d(t.selectedMonth), Ce = d(t.minYear), we = d(t.maxYear), Me = d(t.disableSince), D = d(t.disableUntil), A = d(t.disableDates), fe = d(t.disablePeriod), K = d(t.disableWeekdays), Te = d(t.disableWeekends), bn = pi(Ce.value, we.value, Me.value, D.value, A.value, fe.value, Te.value, K.value), {
4982
4982
  formatTo: wn
4983
4983
  } = ln(), {
4984
4984
  generateCalendar: Mt
@@ -5003,10 +5003,10 @@ const Se = /* @__PURE__ */ de({
5003
5003
  month: Dn,
5004
5004
  displayTextOfMonth: s.value[J.month || "1"],
5005
5005
  displayTextOfYear: `${Tt}`
5006
- }), On = T(() => Mt(j.value.month, j.value.year, I.value, [], {
5006
+ }), On = T(() => Mt(j.value.month, j.value.year, V.value, [], {
5007
5007
  marked: !0,
5008
5008
  color: ""
5009
- }, t.highlightDates, t.highlightSaturday, t.highlightSunday, ne.value)), Bn = T(() => Mt(Qe.value.month, Qe.value.year, I.value, [], {
5009
+ }, t.highlightDates, t.highlightSaturday, t.highlightSunday, ne.value)), Bn = T(() => Mt(Qe.value.month, Qe.value.year, V.value, [], {
5010
5010
  marked: !0,
5011
5011
  color: ""
5012
5012
  }, t.highlightDates, t.highlightSaturday, t.highlightSunday, ne.value)), Nn = T(() => kn(s.value, {
@@ -5024,13 +5024,13 @@ const Se = /* @__PURE__ */ de({
5024
5024
  q(() => t.enablePeriod, (Y, G) => {
5025
5025
  Y !== G && (f.value = Y);
5026
5026
  });
5027
- function Hn() {
5027
+ function En() {
5028
5028
  return f.value ? "" : t.showTime ? "487px" : "287px";
5029
5029
  }
5030
- const En = T(() => ({
5030
+ const Hn = T(() => ({
5031
5031
  top: `${r.value}px`,
5032
5032
  left: `${u.value}px`,
5033
- width: Hn(),
5033
+ width: En(),
5034
5034
  position: o.value === "Embedded" ? "relative" : "absolute",
5035
5035
  "z-index": o.value === "Embedded" ? 0 : 9999,
5036
5036
  "margin-top": "0px"
@@ -5081,10 +5081,10 @@ const Se = /* @__PURE__ */ de({
5081
5081
  function Wn(Y) {
5082
5082
  h.value = !h.value, x.value = !1;
5083
5083
  }
5084
- function Vn(Y) {
5084
+ function In(Y) {
5085
5085
  h.value = !1, x.value = !x.value;
5086
5086
  }
5087
- const In = T(() => ({
5087
+ const Vn = T(() => ({
5088
5088
  "active-month": j.value,
5089
5089
  "date-format": i.value,
5090
5090
  "disable-pre-page": P.value,
@@ -5099,7 +5099,7 @@ const Se = /* @__PURE__ */ de({
5099
5099
  "active-month": Qe.value,
5100
5100
  "date-format": i.value,
5101
5101
  "disable-pre-page": k.value,
5102
- "disable-pre-record": E.value,
5102
+ "disable-pre-record": H.value,
5103
5103
  "disable-next-record": _.value,
5104
5104
  "disable-next-page": X.value,
5105
5105
  years: y.value,
@@ -5114,16 +5114,16 @@ const Se = /* @__PURE__ */ de({
5114
5114
  onNextRecord: (L) => xt(),
5115
5115
  onNextPage: (L) => An(),
5116
5116
  onClickMonth: (L) => Wn(),
5117
- onClickYear: (L) => Vn()
5117
+ onClickYear: (L) => In()
5118
5118
  }), null);
5119
5119
  }
5120
- const Xe = T(() => !h.value && !x.value && !H.value || f.value && m.value !== "week" && !b.value && !C.value && !H.value), _n = T(() => h.value && !x.value), $n = T(() => x.value && !h.value), Rn = T(() => ({
5120
+ const Xe = T(() => !h.value && !x.value && !E.value || f.value && m.value !== "week" && !b.value && !C.value && !E.value), _n = T(() => h.value && !x.value), $n = T(() => x.value && !h.value), Rn = T(() => ({
5121
5121
  dates: On.value,
5122
- daysInWeek: V.value,
5122
+ daysInWeek: I.value,
5123
5123
  enableKeyboadNavigate: F.value,
5124
5124
  enableMarkCurrent: S.value,
5125
5125
  enablePeriod: f.value,
5126
- firstDayOfTheWeek: I.value,
5126
+ firstDayOfTheWeek: V.value,
5127
5127
  selected: $.value,
5128
5128
  selectedPeriod: R.value,
5129
5129
  selectedWeek: N.value,
@@ -5132,11 +5132,11 @@ const Se = /* @__PURE__ */ de({
5132
5132
  weekTitle: Q.value
5133
5133
  })), jn = T(() => ({
5134
5134
  dates: Bn.value,
5135
- daysInWeek: V.value,
5135
+ daysInWeek: I.value,
5136
5136
  enableKeyboadNavigate: F.value,
5137
5137
  enableMarkCurrent: S.value,
5138
5138
  enablePeriod: f.value,
5139
- firstDayOfTheWeek: I.value,
5139
+ firstDayOfTheWeek: V.value,
5140
5140
  selected: p.value,
5141
5141
  selectedPeriod: R.value,
5142
5142
  selectMode: m.value,
@@ -5303,14 +5303,14 @@ const Se = /* @__PURE__ */ de({
5303
5303
  };
5304
5304
  return () => v("div", {
5305
5305
  class: Sn.value,
5306
- style: En.value,
5306
+ style: Hn.value,
5307
5307
  tabindex: "0",
5308
5308
  onKeyup: (Y) => void 0,
5309
5309
  onClick: (Y) => Fn(Y)
5310
5310
  }, [v("div", {
5311
5311
  class: "f-datepicker-content",
5312
5312
  style: "width:287px"
5313
- }, [Pt(!1, In.value), Ct(!1, Rn.value), h.value && Dt(!1, Un.value), x.value && Ot(!1, zn.value), v("div", {
5313
+ }, [Pt(!1, Vn.value), Ct(!1, Rn.value), h.value && Dt(!1, Un.value), x.value && Ot(!1, zn.value), v("div", {
5314
5314
  class: "f-datepicker-footer"
5315
5315
  }, [v("div", {
5316
5316
  class: "f-datepicker-redirect"
@@ -5508,10 +5508,10 @@ const Se = /* @__PURE__ */ de({
5508
5508
  }, dn = ct(_e, Ni, _t, $t), Si = /* @__PURE__ */ new Map([
5509
5509
  ["appearance", Lt]
5510
5510
  ]);
5511
- function Hi(t, n, e) {
5511
+ function Ei(t, n, e) {
5512
5512
  return n;
5513
5513
  }
5514
- const Ei = "https://json-schema.org/draft/2020-12/schema", Fi = "https://farris-design.gitee.io/input-group.schema.json", Yi = "input-group", Ai = "A Farris Input Component", Wi = "object", Vi = {
5514
+ const Hi = "https://json-schema.org/draft/2020-12/schema", Fi = "https://farris-design.gitee.io/input-group.schema.json", Yi = "input-group", Ai = "A Farris Input Component", Wi = "object", Ii = {
5515
5515
  id: {
5516
5516
  description: "The unique identifier for a Input Group",
5517
5517
  type: "string"
@@ -5713,17 +5713,17 @@ const Ei = "https://json-schema.org/draft/2020-12/schema", Fi = "https://farris-
5713
5713
  type: "string",
5714
5714
  default: ""
5715
5715
  }
5716
- }, Ii = [
5716
+ }, Vi = [
5717
5717
  "id",
5718
5718
  "type"
5719
5719
  ], Li = {
5720
- $schema: Ei,
5720
+ $schema: Hi,
5721
5721
  $id: Fi,
5722
5722
  title: Yi,
5723
5723
  description: Ai,
5724
5724
  type: Wi,
5725
- properties: Vi,
5726
- required: Ii
5725
+ properties: Ii,
5726
+ required: Vi
5727
5727
  }, bt = {
5728
5728
  /** 是否自动完成 */
5729
5729
  autocomplete: { Type: String, default: "off" },
@@ -5790,7 +5790,7 @@ const Ei = "https://json-schema.org/draft/2020-12/schema", Fi = "https://farris-
5790
5790
  * - input: 输入时更新
5791
5791
  */
5792
5792
  updateOn: { type: String, default: "blur" }
5793
- }, fn = ct(bt, Li, Si, Hi);
5793
+ }, fn = ct(bt, Li, Si, Ei);
5794
5794
  function mn(t, n) {
5795
5795
  const e = d(t.groupText), a = T(() => t.showButtonWhenDisabled && (t.readonly || t.disabled)), o = T(() => t.enableClear || !!t.groupText);
5796
5796
  return { appendedButtonClass: T(() => ({
@@ -5927,13 +5927,13 @@ function ji(t, n, e, a) {
5927
5927
  onFocus: b,
5928
5928
  onInput: x,
5929
5929
  onClick: C,
5930
- onKeydown: H,
5930
+ onKeydown: E,
5931
5931
  onKeyup: P,
5932
5932
  onMousedown: w,
5933
5933
  onTextBoxValueChange: O,
5934
5934
  readonly: g,
5935
5935
  placeholder: k,
5936
- textBoxClass: E,
5936
+ textBoxClass: H,
5937
5937
  textBoxTitle: _
5938
5938
  } = a;
5939
5939
  return me(() => {
@@ -5942,7 +5942,7 @@ function ji(t, n, e, a) {
5942
5942
  ref: o,
5943
5943
  name: "input-group-value",
5944
5944
  autocomplete: r.value,
5945
- class: E.value,
5945
+ class: H.value,
5946
5946
  disabled: s == null ? void 0 : s.value,
5947
5947
  maxlength: m.value,
5948
5948
  minlength: f.value,
@@ -5957,7 +5957,7 @@ function ji(t, n, e, a) {
5957
5957
  onChange: O,
5958
5958
  onFocus: b,
5959
5959
  onInput: x,
5960
- onKeydown: H,
5960
+ onKeydown: E,
5961
5961
  onKeyup: P,
5962
5962
  onMousedown: w
5963
5963
  }, null);
@@ -6009,14 +6009,14 @@ function yn(t, n, e, a, o) {
6009
6009
  originalEvent: k
6010
6010
  }), k.stopPropagation();
6011
6011
  }
6012
- const H = t.type === "password" ? o.onClickAppendedButton : C;
6012
+ const E = t.type === "password" ? o.onClickAppendedButton : C;
6013
6013
  function P() {
6014
6014
  return v("span", {
6015
6015
  class: "input-group-text",
6016
6016
  onMouseenter: (k) => b(k),
6017
6017
  onMouseleave: (k) => x(k),
6018
6018
  innerHTML: u.value,
6019
- onClick: (k) => H(k)
6019
+ onClick: (k) => E(k)
6020
6020
  }, null);
6021
6021
  }
6022
6022
  function w() {
@@ -6030,7 +6030,7 @@ function yn(t, n, e, a, o) {
6030
6030
  class: r.value
6031
6031
  }, [y.value && h(), g && g()]);
6032
6032
  }
6033
- const He = /* @__PURE__ */ de({
6033
+ const Ee = /* @__PURE__ */ de({
6034
6034
  name: "FInputGroup",
6035
6035
  props: bt,
6036
6036
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -6044,7 +6044,7 @@ const He = /* @__PURE__ */ de({
6044
6044
  } = f, i = sn(t, n, o), {
6045
6045
  onMouseEnter: s,
6046
6046
  onMouseLeave: l
6047
- } = i, y = hn(t, n, u, f), h = Ri(t, n), b = ji(t, n, y, o), x = yn(t, n, f, i, y), C = qi(t, n), H = T(() => t.type === "number");
6047
+ } = i, y = hn(t, n, u, f), h = Ri(t, n), b = ji(t, n, y, o), x = yn(t, n, f, i, y), C = qi(t, n), E = T(() => t.type === "number");
6048
6048
  q(() => [t.value], ([w]) => {
6049
6049
  e.value = w, a.value = w;
6050
6050
  }), q(() => [t.modelValue], ([w]) => {
@@ -6052,13 +6052,13 @@ const He = /* @__PURE__ */ de({
6052
6052
  }), me(() => {
6053
6053
  t.value && (e.value = t.value, a.value = t.value);
6054
6054
  });
6055
- const P = () => v(Ve, null, [v("div", {
6055
+ const P = () => v(Ie, null, [v("div", {
6056
6056
  id: "inputGroup",
6057
6057
  class: r.value,
6058
6058
  style: c.value,
6059
6059
  onMouseenter: s,
6060
6060
  onMouseleave: l
6061
- }, [H.value ? h() : v(Ve, null, [C(), b(), m.value && x()])])]);
6061
+ }, [E.value ? h() : v(Ie, null, [C(), b(), m.value && x()])])]);
6062
6062
  return () => P();
6063
6063
  }
6064
6064
  });
@@ -6098,7 +6098,8 @@ function pn(t, n) {
6098
6098
  }
6099
6099
  class vn {
6100
6100
  static getEditorTypesByMDataType(n) {
6101
- return this.fieldControlTypeMapping[n];
6101
+ const e = this.fieldControlTypeMapping[n];
6102
+ return e || [{ key: "", value: "" }];
6102
6103
  }
6103
6104
  }
6104
6105
  /**
@@ -6170,13 +6171,18 @@ class Ui {
6170
6171
  M(this, "designViewModelField");
6171
6172
  M(this, "controlCreatorUtils");
6172
6173
  M(this, "designerHostService");
6174
+ M(this, "schemaService", null);
6173
6175
  M(this, "metadataService", null);
6174
6176
  M(this, "propertyConfig", {
6175
6177
  type: "object",
6176
6178
  categories: {}
6177
6179
  });
6178
6180
  var a;
6179
- this.componentId = n, this.designerHostService = e, this.eventsEditorUtils = e.eventsEditorUtils, this.formSchemaUtils = e.formSchemaUtils, this.formMetadataConverter = e.formMetadataConverter, this.viewModelId = ((a = this.formSchemaUtils) == null ? void 0 : a.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = e.designViewModelUtils, this.controlCreatorUtils = e.controlCreatorUtils, this.metadataService = e.metadataService;
6181
+ this.componentId = n, this.designerHostService = e, this.eventsEditorUtils = e.eventsEditorUtils, this.formSchemaUtils = e.formSchemaUtils, this.formMetadataConverter = e.formMetadataConverter, this.viewModelId = ((a = this.formSchemaUtils) == null ? void 0 : a.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = e.designViewModelUtils, this.controlCreatorUtils = e.controlCreatorUtils, this.metadataService = e.metadataService, this.schemaService = e.schemaService;
6182
+ }
6183
+ getTableInfo() {
6184
+ var n;
6185
+ return (n = this.schemaService) == null ? void 0 : n.getTableInfoByViewModelId(this.viewModelId);
6180
6186
  }
6181
6187
  setDesignViewModelField(n) {
6182
6188
  const e = n.binding && n.binding.type === "Form" && n.binding.field;
@@ -6191,6 +6197,7 @@ class Ui {
6191
6197
  changeFieldEditorType(n, e) {
6192
6198
  }
6193
6199
  getBasicPropConfig(n) {
6200
+ var a, o;
6194
6201
  var e = this;
6195
6202
  return this.setDesignViewModelField(n), {
6196
6203
  description: "Basic Information",
@@ -6212,7 +6219,8 @@ class Ui {
6212
6219
  type: "combo-list",
6213
6220
  textField: "value",
6214
6221
  valueField: "key",
6215
- data: vn.getEditorTypesByMDataType(e.designViewModelField.type.name)
6222
+ data: vn.getEditorTypesByMDataType(((o = (a = e.designViewModelField) == null ? void 0 : a.type) == null ? void 0 : o.name) || ""),
6223
+ editable: !1
6216
6224
  }
6217
6225
  },
6218
6226
  label: {
@@ -6221,11 +6229,11 @@ class Ui {
6221
6229
  $converter: "/converter/form-group-label.converter"
6222
6230
  }
6223
6231
  },
6224
- setPropertyRelates(a, o) {
6225
- if (a)
6226
- switch (a && a.propertyID) {
6232
+ setPropertyRelates(r, u) {
6233
+ if (r)
6234
+ switch (r && r.propertyID) {
6227
6235
  case "type": {
6228
- e.changeControlType(n, a);
6236
+ e.changeControlType(n, r);
6229
6237
  break;
6230
6238
  }
6231
6239
  }
@@ -6460,12 +6468,12 @@ function wt(t, n, e) {
6460
6468
  return null;
6461
6469
  if (g.value.schema && g.value.schema.type === "component")
6462
6470
  return g.value;
6463
- const k = d(g == null ? void 0 : g.value.parent), E = s(k);
6464
- return E || null;
6471
+ const k = d(g == null ? void 0 : g.value.parent), H = s(k);
6472
+ return H || null;
6465
6473
  }
6466
6474
  function l(g = n) {
6467
- const { componentInstance: k, designerItemElementRef: E } = g;
6468
- return !k || !k.value ? null : k.value.canMove ? E : l(g.parent);
6475
+ const { componentInstance: k, designerItemElementRef: H } = g;
6476
+ return !k || !k.value ? null : k.value.canMove ? H : l(g.parent);
6469
6477
  }
6470
6478
  function y(g) {
6471
6479
  return !!e && e.canAccepts(g);
@@ -6480,18 +6488,18 @@ function wt(t, n, e) {
6480
6488
  }
6481
6489
  function C(g) {
6482
6490
  const { componentType: k } = g;
6483
- let E = at(k, g);
6484
- e && e.onResolveNewComponentSchema && (E = e.onResolveNewComponentSchema(g, E));
6491
+ let H = at(k, g);
6492
+ e && e.onResolveNewComponentSchema && (H = e.onResolveNewComponentSchema(g, H));
6485
6493
  const _ = k.toLowerCase().replace("-", "_");
6486
- return E && !E.id && E.type === k && (E.id = `${_}_${Math.random().toString().slice(2, 6)}`), E;
6494
+ return H && !H.id && H.type === k && (H.id = `${_}_${Math.random().toString().slice(2, 6)}`), H;
6487
6495
  }
6488
- function H(g, k) {
6489
- const E = String(g.getAttribute("data-controltype")), _ = g.getAttribute("data-feature"), X = _ ? JSON.parse(_) : {};
6496
+ function E(g, k) {
6497
+ const H = String(g.getAttribute("data-controltype")), _ = g.getAttribute("data-feature"), X = _ ? JSON.parse(_) : {};
6490
6498
  X.parentComponentInstance = u.value;
6491
- let V = at(E, X);
6492
- e && e.onAcceptNewChildElement && (V = e.onAcceptNewChildElement(g, k, V));
6493
- const F = E.toLowerCase().replace("-", "_");
6494
- return V && !V.id && V.type === E && (V.id = `${F}_${Math.random().toString().slice(2, 6)}`), V;
6499
+ let I = at(H, X);
6500
+ e && e.onAcceptNewChildElement && (I = e.onAcceptNewChildElement(g, k, I));
6501
+ const F = H.toLowerCase().replace("-", "_");
6502
+ return I && !I.id && I.type === H && (I.id = `${F}_${Math.random().toString().slice(2, 6)}`), I;
6495
6503
  }
6496
6504
  function P(g) {
6497
6505
  }
@@ -6517,7 +6525,7 @@ function wt(t, n, e) {
6517
6525
  getPropConfig: w,
6518
6526
  getDragScopeElement: b,
6519
6527
  onAcceptMovedChildElement: x,
6520
- onAcceptNewChildElement: H,
6528
+ onAcceptNewChildElement: E,
6521
6529
  onChildElementMovedOut: P,
6522
6530
  addNewChildComponentSchema: C,
6523
6531
  updateDragAndDropRules: a,
@@ -6539,10 +6547,10 @@ const zi = /* @__PURE__ */ de({
6539
6547
  } = f, i = sn(t, n, o), {
6540
6548
  onMouseEnter: s,
6541
6549
  onMouseLeave: l
6542
- } = i, y = hn(t, n, u, f), h = d(), b = Ie("designer-host-service"), x = Ie("design-item-context"), C = Qi(x, b), H = wt(h, x, C);
6550
+ } = i, y = hn(t, n, u, f), h = d(), b = Ve("designer-host-service"), x = Ve("design-item-context"), C = Qi(x, b), E = wt(h, x, C);
6543
6551
  me(() => {
6544
- h.value.componentInstance = H;
6545
- }), n.expose(H.value);
6552
+ h.value.componentInstance = E;
6553
+ }), n.expose(E.value);
6546
6554
  const P = yn(t, n, f, i, y), w = d();
6547
6555
  return () => v("div", {
6548
6556
  id: "inputGroup",
@@ -6559,13 +6567,13 @@ const zi = /* @__PURE__ */ de({
6559
6567
  }, null), m.value && P()]);
6560
6568
  }
6561
6569
  });
6562
- He.register = (t, n, e, a) => {
6563
- t["input-group"] = He, n["input-group"] = fn;
6570
+ Ee.register = (t, n, e, a) => {
6571
+ t["input-group"] = Ee, n["input-group"] = fn;
6564
6572
  };
6565
- He.registerDesigner = (t, n, e) => {
6573
+ Ee.registerDesigner = (t, n, e) => {
6566
6574
  t["input-group"] = zi, n["input-group"] = fn;
6567
6575
  };
6568
- ci(He);
6576
+ ci(Ee);
6569
6577
  const Xi = {
6570
6578
  ..._e,
6571
6579
  /** 显示第二个日期输入框 */
@@ -6612,7 +6620,7 @@ function Zi(t) {
6612
6620
  }
6613
6621
  function Ji(t, n, e, a) {
6614
6622
  var $;
6615
- const o = d(0), r = d((($ = t.offsetX) == null ? void 0 : $.value) || 0), u = d(t.minWidth), c = d(-1), f = d(-1), m = d(t.placement), i = d(0), s = d(0), l = d(0), y = d(document.documentElement.scrollLeft), h = d(document.documentElement.scrollTop), { hostLeft: b, hostTop: x, hostWidth: C, hostHeight: H } = a;
6623
+ const o = d(0), r = d((($ = t.offsetX) == null ? void 0 : $.value) || 0), u = d(t.minWidth), c = d(-1), f = d(-1), m = d(t.placement), i = d(0), s = d(0), l = d(0), y = d(document.documentElement.scrollLeft), h = d(document.documentElement.scrollTop), { hostLeft: b, hostTop: x, hostWidth: C, hostHeight: E } = a;
6616
6624
  q(t.offsetX, (p) => {
6617
6625
  o.value = p - r.value;
6618
6626
  });
@@ -6637,10 +6645,10 @@ function Ji(t, n, e, a) {
6637
6645
  return N > 0 ? N : B;
6638
6646
  }
6639
6647
  function k(p, B) {
6640
- const N = H.value - p.height - 4;
6648
+ const N = E.value - p.height - 4;
6641
6649
  return N > 0 ? N : B;
6642
6650
  }
6643
- function E(p, B, N) {
6651
+ function H(p, B, N) {
6644
6652
  const R = i.value, Q = B.left - b.value + B.width / 2 + y.value, se = B.top - x.value - (p.height + N.height) + h.value;
6645
6653
  return { popoverLeft: Q, popoverTop: se, arrowLeft: R };
6646
6654
  }
@@ -6652,7 +6660,7 @@ function Ji(t, n, e, a) {
6652
6660
  const N = g(B, p), R = p <= N ? i.value : p - N;
6653
6661
  return { popoverLeft: Math.min(p, N), arrowLeft: R };
6654
6662
  }
6655
- function V(p, B, N) {
6663
+ function I(p, B, N) {
6656
6664
  const R = B.left - b.value + B.width / 2 - (N.width / 2 - (p.left - b.value)) + y.value, { arrowLeft: Q, popoverLeft: se } = X(R, p), le = _(p, B, N);
6657
6665
  return { popoverLeft: se, popoverTop: le, arrowLeft: Q };
6658
6666
  }
@@ -6661,11 +6669,11 @@ function Ji(t, n, e, a) {
6661
6669
  return { popoverLeft: se, popoverTop: le, arrowLeft: Q };
6662
6670
  }
6663
6671
  const S = /* @__PURE__ */ new Map([
6664
- ["top", E],
6665
- ["bottom", V],
6672
+ ["top", H],
6673
+ ["bottom", I],
6666
6674
  ["bottom-left", F]
6667
6675
  ]);
6668
- function I(p) {
6676
+ function V(p) {
6669
6677
  var se, le;
6670
6678
  const B = p.getBoundingClientRect();
6671
6679
  c.value = B.top, f.value = B.left;
@@ -6679,7 +6687,7 @@ function Ji(t, n, e, a) {
6679
6687
  function ne(p) {
6680
6688
  if (p) {
6681
6689
  const B = p.getBoundingClientRect();
6682
- (B.left !== f.value || B.top !== c.value) && I(p);
6690
+ (B.left !== f.value || B.top !== c.value) && V(p);
6683
6691
  }
6684
6692
  }
6685
6693
  return {
@@ -6689,7 +6697,7 @@ function Ji(t, n, e, a) {
6689
6697
  popoverWidth: u,
6690
6698
  fitToReference: O,
6691
6699
  followToReferencePosition: ne,
6692
- locateToReference: I
6700
+ locateToReference: V
6693
6701
  };
6694
6702
  }
6695
6703
  function es(t, n, e, a, o, r, u) {
@@ -6742,11 +6750,11 @@ const ns = /* @__PURE__ */ de({
6742
6750
  hidePopverOnClickBodyHandler: x
6743
6751
  } = es(t, n, e, a, o, r, m), {
6744
6752
  onResize: C
6745
- } = ts(t, n, o, r, m), H = T(() => {
6753
+ } = ts(t, n, o, r, m), E = T(() => {
6746
6754
  const w = `popover in popover-${i.value}`, O = `bs-popover-${i.value}`, g = {
6747
6755
  "popover-fitcontent": t.fitContent
6748
6756
  };
6749
- return g[w] = !0, g[O] = !0, (t.class || "").split(" ").reduce((E, _) => (E[_] = !0, E), g), g;
6757
+ return g[w] = !0, g[O] = !0, (t.class || "").split(" ").reduce((H, _) => (H[_] = !0, H), g), g;
6750
6758
  }), P = T(() => ({
6751
6759
  "popover-content": !0,
6752
6760
  "popover-body": !0
@@ -6762,7 +6770,7 @@ const ns = /* @__PURE__ */ de({
6762
6770
  var w;
6763
6771
  return [Yt(v("div", {
6764
6772
  ref: a,
6765
- class: H.value,
6773
+ class: E.value,
6766
6774
  style: l.value,
6767
6775
  onClick: (O) => {
6768
6776
  O.stopPropagation();
@@ -6788,7 +6796,7 @@ const ns = /* @__PURE__ */ de({
6788
6796
  d([t.disableSince]);
6789
6797
  const y = d([t.disableUntil]), h = d(!1), b = d(), x = d(), {
6790
6798
  formatTo: C
6791
- } = ln(), H = T(() => {
6799
+ } = ln(), E = T(() => {
6792
6800
  var F;
6793
6801
  return C((F = e.value.split("~")) == null ? void 0 : F[0], t.displayFormat);
6794
6802
  }), P = T(() => {
@@ -6812,7 +6820,7 @@ const ns = /* @__PURE__ */ de({
6812
6820
  h.value = !h.value, setTimeout(() => {
6813
6821
  h.value && g();
6814
6822
  });
6815
- }, E = () => {
6823
+ }, H = () => {
6816
6824
  h.value = !1;
6817
6825
  };
6818
6826
  function _() {
@@ -6821,25 +6829,25 @@ const ns = /* @__PURE__ */ de({
6821
6829
  const X = (F) => {
6822
6830
  const {
6823
6831
  startDate: S,
6824
- endDate: I
6825
- } = F, ne = `${S.year}-${S.month}-${S.day}`, $ = `${I.year}-${I.month}-${I.day}`, p = C(ne, t.valueFormat), B = C($, t.valueFormat), N = p + "~" + B;
6832
+ endDate: V
6833
+ } = F, ne = `${S.year}-${S.month}-${S.day}`, $ = `${V.year}-${V.month}-${V.day}`, p = C(ne, t.valueFormat), B = C($, t.valueFormat), N = p + "~" + B;
6826
6834
  e.value = N, n.emit("update:modeValue", N), n.emit("confirm", N), _();
6827
- }, V = () => {
6835
+ }, I = () => {
6828
6836
  };
6829
- return () => v(Ve, null, [v("div", {
6837
+ return () => v(Ie, null, [v("div", {
6830
6838
  ref: x,
6831
6839
  class: w.value,
6832
6840
  id: t.id
6833
6841
  }, [v("div", {
6834
6842
  class: O.value
6835
- }, [v(He, {
6836
- modelValue: H.value,
6837
- "onUpdate:modelValue": (F) => H.value = F,
6843
+ }, [v(Ee, {
6844
+ modelValue: E.value,
6845
+ "onUpdate:modelValue": (F) => E.value = F,
6838
6846
  showBorder: !1,
6839
6847
  onFocus: k
6840
6848
  }, null), v("span", {
6841
6849
  class: "f-icon f-icon-orientation-arrow sub-input-spliter"
6842
- }, null), v(He, {
6850
+ }, null), v(Ee, {
6843
6851
  modelValue: P.value,
6844
6852
  "onUpdate:modelValue": (F) => P.value = F,
6845
6853
  showBorder: !1,
@@ -6861,7 +6869,7 @@ const ns = /* @__PURE__ */ de({
6861
6869
  "right-boundary": t.popupRightBoundary,
6862
6870
  minWidth: 500,
6863
6871
  offsetX: t.popupOffsetX,
6864
- onHidden: E
6872
+ onHidden: H
6865
6873
  }, {
6866
6874
  default: () => {
6867
6875
  var F, S;
@@ -6881,8 +6889,8 @@ const ns = /* @__PURE__ */ de({
6881
6889
  disableWeekends: s.value,
6882
6890
  disableWeekdays: l.value,
6883
6891
  disableUntil: y.value,
6884
- onDatePicked: (I) => V(),
6885
- onConfirm: (I) => X(I)
6892
+ onDatePicked: (V) => I(),
6893
+ onConfirm: (V) => X(V)
6886
6894
  }, null)];
6887
6895
  }
6888
6896
  })]);
@@ -6894,33 +6902,33 @@ const ns = /* @__PURE__ */ de({
6894
6902
  setup(t, n) {
6895
6903
  const e = '<span class="f-icon f-icon-date"></span>', a = d(t.modelValue), o = d(null), r = d(t.maxYear), u = d(t.minYear), c = d(t.enablePeriod), f = d(a.value), m = d(t.highlightSaturday), i = d(t.highlightSunday), s = d(t.nameOfMonths), l = d(t.highlightDates), y = d(t.showWeekNumber), h = d(t.selectMode), b = d(t.displayTime), x = d(t.disableWeekends), C = d(t.disableWeekdays);
6896
6904
  d([t.disableSince]);
6897
- const H = d([t.disableUntil]), {
6905
+ const E = d([t.disableUntil]), {
6898
6906
  formatTo: P
6899
6907
  } = pa();
6900
6908
  function w() {
6901
6909
  }
6902
6910
  const O = T(() => P(f.value, t.displayFormat));
6903
- function g(V, F = !0) {
6904
- const S = P(V, t.valueFormat);
6911
+ function g(I, F = !0) {
6912
+ const S = P(I, t.valueFormat);
6905
6913
  a.value = S, f.value = S, F && n.emit("update:modelValue", S);
6906
6914
  }
6907
6915
  function k() {
6908
6916
  document.body.click();
6909
6917
  }
6910
- function E(V) {
6911
- let F = `${V.year}-${V.month}-${V.day}`;
6912
- t.showTime && (F += ` ${V.hour}:${V.minute}:${V.second}`), g(F), n.emit("datePicked", f.value), k();
6918
+ function H(I) {
6919
+ let F = `${I.year}-${I.month}-${I.day}`;
6920
+ t.showTime && (F += ` ${I.hour}:${I.minute}:${I.second}`), g(F), n.emit("datePicked", f.value), k();
6913
6921
  }
6914
6922
  function _() {
6915
6923
  g(""), n.emit("datePicked", f.value);
6916
6924
  }
6917
- q(() => t.modelValue, (V, F) => {
6918
- V !== F && g(V);
6925
+ q(() => t.modelValue, (I, F) => {
6926
+ I !== F && g(I);
6919
6927
  }), me(() => {
6920
6928
  a.value && g(a.value);
6921
6929
  });
6922
- const X = (V) => {
6923
- E(V);
6930
+ const X = (I) => {
6931
+ H(I);
6924
6932
  };
6925
6933
  return () => c.value ? v(as, t, null) : v(At, {
6926
6934
  ref: o,
@@ -6934,7 +6942,7 @@ const ns = /* @__PURE__ */ de({
6934
6942
  focusOnCreated: t.focusOnCreated,
6935
6943
  selectOnCreated: t.selectOnCreated
6936
6944
  }, {
6937
- default: () => v(Ve, null, [v(Se, {
6945
+ default: () => v(Ie, null, [v(Se, {
6938
6946
  mode: "Popup",
6939
6947
  value: f.value,
6940
6948
  valueFormat: t.valueFormat,
@@ -6950,9 +6958,9 @@ const ns = /* @__PURE__ */ de({
6950
6958
  displayTime: b.value,
6951
6959
  disableWeekends: x.value,
6952
6960
  disableWeekdays: C.value,
6953
- disableUntil: H.value,
6961
+ disableUntil: E.value,
6954
6962
  showTime: t.showTime,
6955
- onDatePicked: (V) => E(V),
6963
+ onDatePicked: (I) => H(I),
6956
6964
  onConfirm: X
6957
6965
  }, null)])
6958
6966
  });
@@ -7066,7 +7074,7 @@ const is = /* @__PURE__ */ de({
7066
7074
  props: _e,
7067
7075
  emits: ["update:modelValue", "datePicked"],
7068
7076
  setup(t, n) {
7069
- const e = '<span class="f-icon f-icon-date"></span>', a = d(t.modelValue), o = d(), r = Ie("designer-host-service"), u = Ie("design-item-context"), c = rs(u, r), f = wt(o, u, c);
7077
+ const e = '<span class="f-icon f-icon-date"></span>', a = d(t.modelValue), o = d(), r = Ve("designer-host-service"), u = Ve("design-item-context"), c = rs(u, r), f = wt(o, u, c);
7070
7078
  return me(() => {
7071
7079
  o.value.componentInstance = f;
7072
7080
  }), n.expose(f.value), () => v(At, {
@@ -7082,7 +7090,7 @@ const is = /* @__PURE__ */ de({
7082
7090
  props: _e,
7083
7091
  emits: [],
7084
7092
  setup(t, n) {
7085
- const e = d(), a = Ie("design-item-context"), o = wt(e, a);
7093
+ const e = d(), a = Ve("design-item-context"), o = wt(e, a);
7086
7094
  return me(() => {
7087
7095
  e.value.componentInstance = o;
7088
7096
  }), n.expose(o.value), () => v(Se, {