@farris/ui-vue 1.8.0-alpha.0 → 1.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/components/avatar/index.esm.js +138 -1526
  2. package/components/avatar/index.umd.cjs +1 -6
  3. package/components/button/index.css +1 -1
  4. package/components/button/index.esm.js +15951 -15410
  5. package/components/button/index.umd.cjs +27 -27
  6. package/components/calendar/index.esm.js +269 -255
  7. package/components/calendar/index.umd.cjs +3 -3
  8. package/components/collection-property-editor/index.esm.js +243 -229
  9. package/components/collection-property-editor/index.umd.cjs +2 -2
  10. package/components/combo-list/index.esm.js +32 -32
  11. package/components/combo-list/index.umd.cjs +1 -1
  12. package/components/comment/index.esm.js +473 -456
  13. package/components/comment/index.umd.cjs +6 -6
  14. package/components/component/index.css +1 -1
  15. package/components/component/index.esm.js +2503 -2239
  16. package/components/component/index.umd.cjs +2 -2
  17. package/components/condition/index.esm.js +1064 -954
  18. package/components/condition/index.umd.cjs +2 -2
  19. package/components/data-grid/index.esm.js +1 -1
  20. package/components/data-grid/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.css +1 -1
  22. package/components/designer-canvas/index.esm.js +3894 -3058
  23. package/components/designer-canvas/index.umd.cjs +1 -1
  24. package/components/drawer/index.esm.js +91 -77
  25. package/components/drawer/index.umd.cjs +2 -2
  26. package/components/dynamic-form/index.esm.js +220 -215
  27. package/components/dynamic-form/index.umd.cjs +1 -1
  28. package/components/dynamic-resolver/index.esm.js +145 -131
  29. package/components/dynamic-resolver/index.umd.cjs +2 -2
  30. package/components/dynamic-view/index.esm.js +336 -329
  31. package/components/dynamic-view/index.umd.cjs +1 -1
  32. package/components/events-editor/index.esm.js +1611 -1536
  33. package/components/events-editor/index.umd.cjs +3 -3
  34. package/components/expression-editor/index.esm.js +219 -219
  35. package/components/expression-editor/index.umd.cjs +2 -2
  36. package/components/external-container/index.esm.js +179 -178
  37. package/components/external-container/index.umd.cjs +1 -1
  38. package/components/fieldset/index.esm.js +285 -221
  39. package/components/fieldset/index.umd.cjs +1 -1
  40. package/components/filter-bar/index.css +1 -0
  41. package/components/filter-bar/index.esm.js +1512 -1290
  42. package/components/filter-bar/index.umd.cjs +7 -7
  43. package/components/filter-condition-editor/index.esm.js +851 -831
  44. package/components/filter-condition-editor/index.umd.cjs +3 -3
  45. package/components/flow-canvas/index.esm.js +520 -501
  46. package/components/flow-canvas/index.umd.cjs +8 -8
  47. package/components/image/index.esm.js +101 -79
  48. package/components/image/index.umd.cjs +3 -3
  49. package/components/language-textbox/index.esm.js +330 -251
  50. package/components/language-textbox/index.umd.cjs +2 -2
  51. package/components/list-nav/index.esm.js +399 -313
  52. package/components/list-nav/index.umd.cjs +1 -1
  53. package/components/locale/index.esm.js +3 -0
  54. package/components/locale/index.umd.cjs +1 -1
  55. package/components/lookup/index.esm.js +997 -976
  56. package/components/lookup/index.umd.cjs +2 -2
  57. package/components/mapping-editor/index.esm.js +725 -705
  58. package/components/mapping-editor/index.umd.cjs +1 -1
  59. package/components/message-box/index.esm.js +542 -522
  60. package/components/message-box/index.umd.cjs +1 -1
  61. package/components/nav/index.esm.js +95 -308
  62. package/components/nav/index.umd.cjs +1 -1
  63. package/components/number-range/index.esm.js +115 -107
  64. package/components/number-range/index.umd.cjs +2 -2
  65. package/components/order/index.esm.js +56 -54
  66. package/components/order/index.umd.cjs +1 -1
  67. package/components/page-footer/index.esm.js +135 -123
  68. package/components/page-footer/index.umd.cjs +1 -1
  69. package/components/page-header/index.esm.js +266 -222
  70. package/components/page-header/index.umd.cjs +1 -1
  71. package/components/property-panel/index.esm.js +402 -375
  72. package/components/property-panel/index.umd.cjs +4 -4
  73. package/components/query-solution/index.esm.js +3171 -3061
  74. package/components/query-solution/index.umd.cjs +7 -7
  75. package/components/response-toolbar/index.esm.js +1 -1
  76. package/components/response-toolbar/index.umd.cjs +1 -1
  77. package/components/schema-selector/index.esm.js +1620 -1608
  78. package/components/schema-selector/index.umd.cjs +5 -5
  79. package/components/scroll-navbar/index.esm.js +150 -136
  80. package/components/scroll-navbar/index.umd.cjs +2 -2
  81. package/components/section/index.esm.js +323 -311
  82. package/components/section/index.umd.cjs +2 -2
  83. package/components/sort-condition-editor/index.esm.js +850 -830
  84. package/components/sort-condition-editor/index.umd.cjs +3 -3
  85. package/components/step/index.esm.js +991 -224
  86. package/components/step/index.umd.cjs +1 -1
  87. package/components/tabs/index.esm.js +356 -334
  88. package/components/tabs/index.umd.cjs +1 -1
  89. package/components/wizard/index.esm.js +159 -162
  90. package/components/wizard/index.umd.cjs +1 -1
  91. package/designer/avatar/index.esm.js +1721 -0
  92. package/designer/avatar/index.umd.cjs +6 -0
  93. package/designer/button-edit/index.esm.js +2 -1
  94. package/designer/button-edit/index.umd.cjs +1 -1
  95. package/designer/data-grid/index.esm.js +693 -659
  96. package/designer/data-grid/index.umd.cjs +6 -6
  97. package/designer/data-view/index.esm.js +90 -78
  98. package/designer/data-view/index.umd.cjs +2 -2
  99. package/designer/date-picker/index.esm.js +203 -203
  100. package/designer/date-picker/index.umd.cjs +1 -1
  101. package/designer/drawer/index.esm.js +181 -167
  102. package/designer/drawer/index.umd.cjs +2 -2
  103. package/designer/dynamic-form/index.esm.js +228 -206
  104. package/designer/dynamic-form/index.umd.cjs +2 -2
  105. package/designer/farris-designer.all.esm.js +10014 -9692
  106. package/designer/farris-designer.all.umd.cjs +18 -18
  107. package/designer/index.css +1 -1
  108. package/designer/input-group/index.esm.js +15 -15
  109. package/designer/input-group/index.umd.cjs +1 -1
  110. package/designer/nav/index.esm.js +1719 -0
  111. package/designer/nav/index.umd.cjs +6 -0
  112. package/designer/number-spinner/index.esm.js +8 -7
  113. package/designer/number-spinner/index.umd.cjs +1 -1
  114. package/designer/radio-group/index.esm.js +133 -125
  115. package/designer/radio-group/index.umd.cjs +2 -2
  116. package/designer/response-toolbar/index.esm.js +864 -863
  117. package/designer/response-toolbar/index.umd.cjs +1 -1
  118. package/designer/section/index.esm.js +245 -183
  119. package/designer/section/index.umd.cjs +1 -1
  120. package/designer/tabs/index.css +1 -1
  121. package/designer/tabs/index.esm.js +3667 -2810
  122. package/designer/tabs/index.umd.cjs +2 -2
  123. package/designer/time-picker/index.esm.js +26 -17
  124. package/designer/time-picker/index.umd.cjs +2 -2
  125. package/designer/tree-grid/index.esm.js +69 -37
  126. package/designer/tree-grid/index.umd.cjs +1 -1
  127. package/designer/wizard/index.esm.js +110 -110
  128. package/designer/wizard/index.umd.cjs +3 -3
  129. package/farris.all.esm.js +39993 -39089
  130. package/farris.all.umd.cjs +36 -36
  131. package/index.css +1 -1
  132. package/locales/filter-bar/ui/en.json +1 -0
  133. package/locales/filter-bar/ui/zh-CHS.json +1 -0
  134. package/locales/filter-bar/ui/zh-CHT.json +1 -0
  135. package/locales/ui/en.json +1 -0
  136. package/locales/ui/zh-CHS.json +1 -0
  137. package/locales/ui/zh-CHT.json +1 -0
  138. package/package.json +1 -1
  139. package/types/avatar/designer.d.ts +28 -0
  140. package/types/avatar/index.d.ts +0 -15
  141. package/types/avatar/src/composition/types.d.ts +3 -0
  142. package/types/avatar/src/composition/use-file.d.ts +19 -0
  143. package/types/avatar/src/composition/use-image.d.ts +1 -1
  144. package/types/avatar/src/designer/avatar.design.props.d.ts +24 -0
  145. package/types/avatar/src/property-config/avatar.property-config.d.ts +11 -13
  146. package/types/avatar/src/schema/schema-mapper.d.ts +2 -0
  147. package/types/components.d.ts +3 -0
  148. package/types/condition/index.d.ts +18 -6
  149. package/types/condition/src/condition-fields.component.d.ts +9 -3
  150. package/types/condition/src/condition-fields.design.component.d.ts +9 -3
  151. package/types/condition/src/condition-list.component.d.ts +9 -3
  152. package/types/condition/src/condition.props.d.ts +11 -0
  153. package/types/data-view/designer/property-config/use-appearance.d.ts +17 -10
  154. package/types/data-view/designer/property-config/use-pagination.d.ts +0 -6
  155. package/types/designer-canvas/src/composition/dg-control.d.ts +13 -0
  156. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -0
  157. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +4 -0
  158. package/types/dynamic-resolver/src/converter/tree-auto-check.converter.d.ts +3 -0
  159. package/types/dynamic-view/src/components/maps.d.ts +130 -4
  160. package/types/filter-bar/src/composition/types.d.ts +2 -0
  161. package/types/filter-bar/src/filter-bar.props.d.ts +0 -1
  162. package/types/filter-bar/src/locale/locale.d.ts +2 -1
  163. package/types/filter-bar/src/property-config/filter-bar.property-config.d.ts +0 -1
  164. package/types/language-textbox/index.d.ts +65 -2
  165. package/types/language-textbox/src/designer/language-textbox.design.component.d.ts +36 -0
  166. package/types/language-textbox/src/language-textbox.component.d.ts +38 -1
  167. package/types/language-textbox/src/language-textbox.props.d.ts +20 -0
  168. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  169. package/types/lookup/src/composition/use-compat.d.ts +28 -0
  170. package/types/lookup/src/composition/use-state.d.ts +1 -0
  171. package/types/message-box/src/message-box.service.d.ts +2 -1
  172. package/types/nav/designer.d.ts +28 -0
  173. package/types/nav/index.d.ts +24 -20
  174. package/types/nav/src/designer/nav.design.props.d.ts +29 -0
  175. package/types/nav/src/designer/use-design-rules.d.ts +3 -0
  176. package/types/nav/src/property-config/nav.property-config.d.ts +9 -0
  177. package/types/nav/src/schema/schema-mapper.d.ts +4 -0
  178. package/types/page-footer/src/designer/use-designer-rules.d.ts +2 -2
  179. package/types/page-header/src/designer/use-designer-rules.d.ts +2 -2
  180. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -0
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  182. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -1
  183. package/types/section/src/designer/section.design.props.d.ts +4 -0
  184. package/types/section/src/property-config/section.property-config.d.ts +39 -0
  185. package/types/section/src/schema/toolbar-resolver.d.ts +0 -1
  186. package/types/step/src/designer/use-designer-rules.d.ts +3 -0
  187. package/types/step/src/designer/use-step-creator.d.ts +6 -0
  188. package/types/step/src/property-config/step.property-config.d.ts +15 -0
  189. package/types/step/src/schema/schema-resolver.d.ts +2 -1
  190. package/types/tabs/src/composition/types.d.ts +4 -0
  191. package/types/tabs/src/tabs.props.d.ts +6 -0
  192. package/types/tooltip/index.d.ts +3 -3
  193. package/types/tooltip/src/tooltip.component.d.ts +2 -2
@@ -1,6 +1,6 @@
1
- var xt = Object.defineProperty;
2
- var Ft = (e, t, n) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Be = (e, t, n) => Ft(e, typeof t != "symbol" ? t + "" : t, n);
1
+ var Ft = Object.defineProperty;
2
+ var xt = (e, t, n) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var Be = (e, t, n) => xt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { defineComponent as ee, ref as B, watch as H, computed as A, createVNode as l, inject as le, nextTick as Ve, onMounted as ie, createTextVNode as se, provide as Et, onUnmounted as It, Fragment as Ae } from "vue";
5
5
  import { resolveAppearance as Vt, createPropsResolver as Nt, getPropsResolverGenerator as Ot } from "../dynamic-resolver/index.esm.js";
6
6
  import { DgControl as ye, useDesignerComponent as Pt } from "../designer-canvas/index.esm.js";
@@ -38,8 +38,8 @@ function zt(e, t) {
38
38
  }), a;
39
39
  }
40
40
  function p(f, a, c) {
41
- var v, u, E, s;
42
- const y = (u = (v = a == null ? void 0 : a.parentComponentInstance) == null ? void 0 : v.schema) == null ? void 0 : u.type, r = (s = (E = n.getFormSchema()) == null ? void 0 : E.module) == null ? void 0 : s.templateId;
41
+ var v, d, E, s;
42
+ const y = (d = (v = a == null ? void 0 : a.parentComponentInstance) == null ? void 0 : v.schema) == null ? void 0 : d.type, r = (s = (E = n.getFormSchema()) == null ? void 0 : E.module) == null ? void 0 : s.templateId;
43
43
  if (["double-list-template", "tree-list-template", "list-template"].includes(r))
44
44
  return f;
45
45
  const i = [ye["content-container"].type, ye["response-layout-item"].type, ye["splitter-pane"].type, ye.drawer.type];
@@ -74,10 +74,10 @@ function zt(e, t) {
74
74
  }), [a];
75
75
  }
76
76
  function I(f) {
77
- var i, v, u;
77
+ var i, v, d;
78
78
  const a = e.getSchemaByType("component"), c = D(f);
79
79
  let y = !1;
80
- const r = (u = (v = (i = f.parentComponentInstance) == null ? void 0 : i.schema) == null ? void 0 : v.appearance) == null ? void 0 : u.class;
80
+ const r = (d = (v = (i = f.parentComponentInstance) == null ? void 0 : i.schema) == null ? void 0 : v.appearance) == null ? void 0 : d.class;
81
81
  return r && r.includes("f-page-main") && (y = !0), Object.assign(a, {
82
82
  id: `${f.componentId}-component`,
83
83
  viewModel: `${f.componentId}-component-viewmodel`,
@@ -263,14 +263,14 @@ const Ht = "https://json-schema.org/draft/2020-12/schema", Yt = "https://farris-
263
263
  customStyle: { type: String, default: "" },
264
264
  enableWeekdayBorder: { type: Boolean, default: !1 },
265
265
  visible: { type: Boolean, default: !0 }
266
- }, ia = Nt(Ne, Me, ze, He), Ye = Ot(
266
+ }, la = Nt(Ne, Me, ze, He), Ye = Ot(
267
267
  Me,
268
268
  Me,
269
269
  ze,
270
270
  He
271
271
  ), X = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
272
272
  var te = /* @__PURE__ */ ((e) => (e[e.previous = 1] = "previous", e[e.current = 2] = "current", e[e.next = 3] = "next", e))(te || {});
273
- function ue() {
273
+ function de() {
274
274
  function e() {
275
275
  return { year: 0, month: 0, day: 0 };
276
276
  }
@@ -374,9 +374,9 @@ function Qt() {
374
374
  return { daysInMonth: e, daysInPreMonth: n, getNextMonth: o, getPreviousMonth: m };
375
375
  }
376
376
  function Zt() {
377
- const { getToday: e, getDayNumber: t, isWeekEnd: n } = ue(), { daysInMonth: o, daysInPreMonth: m, getNextMonth: w, getPreviousMonth: p } = Qt();
378
- function D(u) {
379
- const { day: E, month: s, year: h } = u;
377
+ const { getToday: e, getDayNumber: t, isWeekEnd: n } = de(), { daysInMonth: o, daysInPreMonth: m, getNextMonth: w, getPreviousMonth: p } = Qt();
378
+ function D(d) {
379
+ const { day: E, month: s, year: h } = d;
380
380
  if (E === void 0 || s === void 0 || h === void 0)
381
381
  throw new Error("invalided date.");
382
382
  const N = E === 1, M = N ? m(s, h) : E - 1, $ = N ? s - 1 : s, S = $ < 1, P = S ? 12 : $;
@@ -386,70 +386,70 @@ function Zt() {
386
386
  day: M
387
387
  };
388
388
  }
389
- function I(u) {
390
- const { day: E, month: s, year: h } = u;
389
+ function I(d) {
390
+ const { day: E, month: s, year: h } = d;
391
391
  if (E === void 0 || s === void 0 || h === void 0)
392
392
  throw new Error("invalided date.");
393
- const N = o(s, h), M = E === N, $ = M ? 1 : E + 1, S = M ? s + 1 : s, P = S > 12, x = P ? 1 : S;
393
+ const N = o(s, h), M = E === N, $ = M ? 1 : E + 1, S = M ? s + 1 : s, P = S > 12, F = P ? 1 : S;
394
394
  return {
395
395
  year: P ? h + 1 : h,
396
- month: x,
396
+ month: F,
397
397
  day: $
398
398
  };
399
399
  }
400
- function C(u) {
401
- const E = p(u.month || 1, u.year || 1), s = o(E.month || 1, E.year || 1);
400
+ function C(d) {
401
+ const E = p(d.month || 1, d.year || 1), s = o(E.month || 1, E.year || 1);
402
402
  return {
403
- day: (u.day || 1) <= s ? u.day : s,
403
+ day: (d.day || 1) <= s ? d.day : s,
404
404
  month: E.month,
405
405
  year: E.year
406
406
  };
407
407
  }
408
- function f(u) {
409
- const E = w(u.month || 1, u.year || 1), s = o(E.month || 1, E.year || 1);
408
+ function f(d) {
409
+ const E = w(d.month || 1, d.year || 1), s = o(E.month || 1, E.year || 1);
410
410
  return {
411
- day: (u.day || 1) <= s ? u.day : s,
411
+ day: (d.day || 1) <= s ? d.day : s,
412
412
  month: E.month,
413
413
  year: E.year
414
414
  };
415
415
  }
416
- function a(u) {
416
+ function a(d) {
417
417
  return {
418
- day: u.day,
419
- month: u.month,
420
- year: (u.year || 1) + 1
418
+ day: d.day,
419
+ month: d.month,
420
+ year: (d.year || 1) + 1
421
421
  };
422
422
  }
423
- function c(u) {
423
+ function c(d) {
424
424
  return {
425
- day: u.day,
426
- month: u.month,
427
- year: (u.year || 1) - 1
425
+ day: d.day,
426
+ month: d.month,
427
+ year: (d.year || 1) - 1
428
428
  };
429
429
  }
430
- function y(u) {
431
- const s = (u.day || 1) - 7, h = s < 1, N = h ? o(u.month || 1, u.year || 1) + s : s, M = h ? p(u.month || 1, u.year || 1) : u;
430
+ function y(d) {
431
+ const s = (d.day || 1) - 7, h = s < 1, N = h ? o(d.month || 1, d.year || 1) + s : s, M = h ? p(d.month || 1, d.year || 1) : d;
432
432
  return {
433
433
  day: N,
434
434
  month: M.month,
435
435
  year: M.year
436
436
  };
437
437
  }
438
- function r(u) {
439
- const s = (u.day || 1) + 7, h = o(u.month || 1, u.year || 1), N = s > h, M = N ? s - h : s, $ = N ? w(u.month || 1, u.year || 1) : u;
438
+ function r(d) {
439
+ const s = (d.day || 1) + 7, h = o(d.month || 1, d.year || 1), N = s > h, M = N ? s - h : s, $ = N ? w(d.month || 1, d.year || 1) : d;
440
440
  return {
441
441
  day: M,
442
442
  month: $.month,
443
443
  year: $.year
444
444
  };
445
445
  }
446
- function i(u, E, s, h, N) {
447
- if (u < 1 || E < 1 || s < 1)
446
+ function i(d, E, s, h, N) {
447
+ if (d < 1 || E < 1 || s < 1)
448
448
  throw new Error("Invalid date input");
449
- const M = { day: u, month: E, year: s }, $ = X.indexOf(h);
449
+ const M = { day: d, month: E, year: s }, $ = X.indexOf(h);
450
450
  if ($ === -1)
451
451
  throw new Error("Invalid firstDayOfWeek value");
452
- const P = (t(M) - $ + 7) % 7, x = e(), g = (O) => O.day === x.day && O.month === x.month && O.year === x.year, d = [];
452
+ const P = (t(M) - $ + 7) % 7, F = e(), g = (O) => O.day === F.day && O.month === F.month && O.year === F.year, u = [];
453
453
  let T = { ...M };
454
454
  for (let O = 0; O < P; O++)
455
455
  T = D(T);
@@ -458,11 +458,11 @@ function Zt() {
458
458
  if (T.month === N.month && T.year === N.year)
459
459
  b = te.current;
460
460
  else {
461
- const F = p(M.month, M.year);
462
- T.month === F.month && T.year === F.year ? b = te.previous : b = te.next;
461
+ const x = p(M.month, M.year);
462
+ T.month === x.month && T.year === x.year ? b = te.previous : b = te.next;
463
463
  }
464
464
  const j = g(T), V = n(T);
465
- d.push({
465
+ u.push({
466
466
  date: T,
467
467
  monthTag: b,
468
468
  isCurrent: j,
@@ -470,21 +470,21 @@ function Zt() {
470
470
  }), O < 6 && (T = I(T));
471
471
  }
472
472
  return {
473
- days: d,
473
+ days: u,
474
474
  weekNumber: 0,
475
475
  year: s
476
476
  };
477
477
  }
478
- function v(u, E, s, h) {
479
- const N = [], M = { day: 1, month: u, year: E }, $ = t(M), S = X.indexOf(s);
478
+ function v(d, E, s, h) {
479
+ const N = [], M = { day: 1, month: d, year: E }, $ = t(M), S = X.indexOf(s);
480
480
  if (S === -1)
481
481
  throw new Error("Invalid firstDayOfWeek value");
482
482
  const P = ($ - S + 7) % 7;
483
- let x = M;
484
- for (let d = 0; d < P; d++)
485
- x = D(x);
486
- let g = x;
487
- for (let d = 0; d < 6; d++) {
483
+ let F = M;
484
+ for (let u = 0; u < P; u++)
485
+ F = D(F);
486
+ let g = F;
487
+ for (let u = 0; u < 6; u++) {
488
488
  const T = i(g.day, g.month, g.year, s, h);
489
489
  N.push(T);
490
490
  for (let L = 0; L < 7; L++)
@@ -508,7 +508,7 @@ function Zt() {
508
508
  const oe = ["year", "month", "week", "day"];
509
509
  var ke = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(ke || {}), Se = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(Se || {});
510
510
  function Oe() {
511
- const { getTimeInMilliseconds: e } = ue();
511
+ const { getTimeInMilliseconds: e } = de();
512
512
  function t(r) {
513
513
  return r && r.year !== 0 && r.month !== 0 && r.day !== 0;
514
514
  }
@@ -576,13 +576,13 @@ const Kt = {
576
576
  enableMoreView: { type: Boolean, default: !1 },
577
577
  isCurrent: { type: Boolean, default: !1 },
578
578
  yearViewTitle: { type: String, default: "Year" }
579
- }, xe = /* @__PURE__ */ ee({
579
+ }, Fe = /* @__PURE__ */ ee({
580
580
  name: "FCalendarHeader",
581
581
  props: Kt,
582
582
  emits: ["viewChange", "previous", "next", "resetToToday"],
583
583
  setup(e, t) {
584
584
  const n = B(e.title), o = B(e.dailyViewTitle), m = B(e.weeklyViewTitle), w = B(e.monthlyViewTitle), p = B(e.yearViewTitle), D = 2, I = 62, C = B(e.activeView);
585
- H(() => e.activeView, (v, u) => {
585
+ H(() => e.activeView, (v, d) => {
586
586
  C.value = v;
587
587
  }), H(() => e.title, () => {
588
588
  n.value = e.title;
@@ -592,8 +592,8 @@ const Kt = {
592
592
  left: `${C.value * (D + 1) + (C.value - 1) * (I + 1)}px`
593
593
  })), a = A(() => C.value === 4 ? o.value : C.value === 3 ? m.value : C.value === 1 ? p.value : w.value);
594
594
  function c(v) {
595
- const u = oe.indexOf(v) + 1;
596
- C.value = u, t.emit("viewChange", u);
595
+ const d = oe.indexOf(v) + 1;
596
+ C.value = d, t.emit("viewChange", d);
597
597
  }
598
598
  function y() {
599
599
  t.emit("previous", C.value);
@@ -667,7 +667,7 @@ const Kt = {
667
667
  /** 月视图头部应用边框线条与背景色,默认不启用 */
668
668
  showBorder: { type: Boolean, default: !1 },
669
669
  moreText: { type: String, default: "更多" }
670
- }, Fe = /* @__PURE__ */ ee({
670
+ }, xe = /* @__PURE__ */ ee({
671
671
  name: "FCalendarMonthView",
672
672
  props: en,
673
673
  emits: ["click", "keyDown", "moreClick"],
@@ -682,8 +682,8 @@ const Kt = {
682
682
  } = le("eventsComposition"), {
683
683
  equal: f
684
684
  } = C, a = B();
685
- function c(g, d) {
686
- return e.enableCrossDay ? p(g, d) : D(g, d);
685
+ function c(g, u) {
686
+ return e.enableCrossDay ? p(g, u) : D(g, u);
687
687
  }
688
688
  const y = B(c(e.dates, w.value));
689
689
  H(() => e.enableCrossDay, () => {
@@ -694,7 +694,7 @@ const Kt = {
694
694
  m.value = e.activeDay;
695
695
  }), H(() => e.events, () => {
696
696
  w.value = e.events, y.value = c(e.dates, e.events);
697
- }), H(() => e.daysInWeek, (g, d) => {
697
+ }), H(() => e.daysInWeek, (g, u) => {
698
698
  n.value = g;
699
699
  });
700
700
  function r(g) {
@@ -704,31 +704,31 @@ const Kt = {
704
704
  day: m.value.day
705
705
  }, g);
706
706
  }
707
- const i = (g, d, T) => {
707
+ const i = (g, u, T) => {
708
708
  const O = {
709
709
  "f-datepicker-no-currmonth": g.monthTag === te.previous || g.monthTag === te.next,
710
710
  "f-calendar-weekday": g.weekEnd,
711
711
  "f-calendar-workday": !g.weekEnd,
712
712
  "f-calendar-today": g.isCurrent
713
- }, b = `d_${d}_${T}`;
713
+ }, b = `d_${u}_${T}`;
714
714
  return O[b] = !0, O;
715
715
  }, v = (g) => {
716
- const d = g.monthTag === te.current && r(g.date), T = g.isCurrent && o.value;
716
+ const u = g.monthTag === te.current && r(g.date), T = g.isCurrent && o.value;
717
717
  return {
718
718
  "f-calendar-month-view-date": !0,
719
- "f-calendar-month-view-selected": d,
719
+ "f-calendar-month-view-selected": u,
720
720
  "f-calendar-month-view-current": T
721
721
  };
722
722
  };
723
- function u(g, d) {
724
- e.disabled || d.showMore || (g.stopPropagation(), t.emit("click", {
725
- date: d.date,
723
+ function d(g, u) {
724
+ e.disabled || u.showMore || (g.stopPropagation(), t.emit("click", {
725
+ date: u.date,
726
726
  view: "month"
727
727
  }));
728
728
  }
729
- function E(g, d) {
729
+ function E(g, u) {
730
730
  e.disabled || t.emit("moreClick", {
731
- date: d.date,
731
+ date: u.date,
732
732
  view: "month"
733
733
  });
734
734
  }
@@ -739,10 +739,10 @@ const Kt = {
739
739
  const g = a.value;
740
740
  if (!g)
741
741
  return 0;
742
- const d = g.querySelector(".f-calendar--daygrid-row");
743
- if (!d)
742
+ const u = g.querySelector(".f-calendar--daygrid-row");
743
+ if (!u)
744
744
  return 0;
745
- const T = d.offsetHeight;
745
+ const T = u.offsetHeight;
746
746
  return Math.max(0, Math.floor(T / 19) - 1);
747
747
  };
748
748
  function M() {
@@ -755,18 +755,18 @@ const Kt = {
755
755
  }
756
756
  }, [n.value && n.value.map((g) => l("th", null, [g]))])]);
757
757
  }
758
- function $(g, d) {
758
+ function $(g, u) {
759
759
  return l("div", {
760
760
  class: "f-calendar--daygrid-row-header"
761
761
  }, [l("table", null, [l("tbody", null, [l("tr", null, [g.days && g.days.map((T, L) => l("td", {
762
- class: i(T, d, L),
763
- onClick: (O) => u(O, T),
762
+ class: i(T, u, L),
763
+ onClick: (O) => d(O, T),
764
764
  style: "position: relative;"
765
765
  }, null))])])])]);
766
766
  }
767
- function S(g, d) {
767
+ function S(g, u) {
768
768
  return g.days && g.days.map((T, L) => l("td", {
769
- class: i(T, d, L)
769
+ class: i(T, u, L)
770
770
  }, [l("div", {
771
771
  class: "f-calendar-month-view-title"
772
772
  }, [l("div", {
@@ -776,37 +776,37 @@ const Kt = {
776
776
  }, [T.date.day === 1 ? e.monthLabels[T.date.month || 1] : ""])])]));
777
777
  }
778
778
  function P(g) {
779
- const d = Math.max(0, h.value || N()), T = !!(g.events && g.events.length > d), L = ce([...g.events || []]), O = T ? L.slice(0, d) : L;
779
+ const u = Math.max(0, h.value || N()), T = !!(g.events && g.events.length > u), L = ce([...g.events || []]), O = T ? L.slice(0, u) : L;
780
780
  return T && O && O.length > 0 && O[O.length - 1].forEach((b) => {
781
- b.data && (b.showMore = !0, b.moreCount = g.events.length - d + 1);
782
- }), O.map((b, j) => l("tr", null, [b.map((V, F) => V.showMore ? l("td", {
781
+ b.data && (b.showMore = !0, b.moreCount = g.events.length - u + 1);
782
+ }), O.map((b, j) => l("tr", null, [b.map((V, x) => V.showMore ? l("td", {
783
783
  colspan: 1,
784
784
  rowspan: 1,
785
- onClick: (Y) => u(Y, V)
785
+ onClick: (Y) => d(Y, V)
786
786
  }, [l("a", {
787
787
  class: "f-calendar-event p-0 m-0 pl-1 more-events ",
788
- onClick: (Y) => E(Y, g.days[F])
788
+ onClick: (Y) => E(Y, g.days[x])
789
789
  }, [l("div", {
790
790
  class: "event-title"
791
791
  }, [e.moreText.replace("#count#", V.moreCount)])])]) : l("td", {
792
792
  colspan: V.colspan || 1,
793
793
  rowspan: V.rowspan || 1,
794
- onClick: (Y) => u(Y, g.days[F])
794
+ onClick: (Y) => d(Y, g.days[x])
795
795
  }, [V.data && I(V)]))]));
796
796
  }
797
- function x() {
797
+ function F() {
798
798
  return l("div", {
799
799
  class: "w-100 h-100"
800
800
  }, [l("div", {
801
801
  class: "f-calendar--daygrid"
802
- }, [y.value.map((g, d) => l("div", {
802
+ }, [y.value.map((g, u) => l("div", {
803
803
  class: "f-calendar--daygrid-row"
804
- }, [$(g, d), l("div", {
804
+ }, [$(g, u), l("div", {
805
805
  class: "f-calendar--daygrid-content"
806
- }, [l("table", null, [l("thead", null, [l("tr", null, [S(g, d)])]), l("tbody", null, [P(g)])])])]))])]);
806
+ }, [l("table", null, [l("thead", null, [l("tr", null, [S(g, u)])]), l("tbody", null, [P(g)])])])]))])]);
807
807
  }
808
- return H(() => e.height, (g, d) => {
809
- g !== d && Ve(() => {
808
+ return H(() => e.height, (g, u) => {
809
+ g !== u && Ve(() => {
810
810
  h.value = N(), y.value = [...y.value];
811
811
  });
812
812
  }), ie(() => {
@@ -824,7 +824,7 @@ const Kt = {
824
824
  style: "height: 100%"
825
825
  }, [l("td", {
826
826
  class: "f-calendar-content"
827
- }, [x()])])])])]);
827
+ }, [F()])])])])]);
828
828
  }
829
829
  }), tn = {
830
830
  daysInWeek: { type: Array, default: X },
@@ -843,7 +843,7 @@ const Kt = {
843
843
  equal: I
844
844
  } = Oe(), {
845
845
  convertDateToDateObject: C
846
- } = ue();
846
+ } = de();
847
847
  function f(s) {
848
848
  return m.value.days.map((N) => {
849
849
  const M = {
@@ -934,7 +934,7 @@ const Kt = {
934
934
  height: `${44 * ((s.ends.hour || 0) + (s.ends.minute || 0) / 60 - P) - 2 - 2 - 1 - 1}px`
935
935
  };
936
936
  }
937
- function u() {
937
+ function d() {
938
938
  return D.value.map((s) => l("div", {
939
939
  class: i(s)
940
940
  }, [s.events.map((h) => l("div", {
@@ -950,7 +950,7 @@ const Kt = {
950
950
  class: "f-calendar-content-primary"
951
951
  }, [l("div", {
952
952
  class: "f-calendar-content-data"
953
- }, [u()])]);
953
+ }, [d()])]);
954
954
  }
955
955
  return ie(() => {
956
956
  t.value && t.value.scrollTo(0, 250);
@@ -974,7 +974,7 @@ const Kt = {
974
974
  setup(e) {
975
975
  const t = B(), n = B(), o = B(e.dayInWeek), m = B(e.day), w = B(e.enableMarkCurrent), p = B(e.events), D = B([]), {
976
976
  convertDateToDateObject: I
977
- } = ue(), {
977
+ } = de(), {
978
978
  equal: C
979
979
  } = Oe();
980
980
  function f(s) {
@@ -1066,7 +1066,7 @@ const Kt = {
1066
1066
  height: `${44 * ((((O = s.ends) == null ? void 0 : O.hour) || 0) + (((b = s.ends) == null ? void 0 : b.minute) || 0) / 60 - P) - 2 - 2 - 1 - 1}px`
1067
1067
  };
1068
1068
  }
1069
- function u() {
1069
+ function d() {
1070
1070
  return D.value.map((s) => l("div", {
1071
1071
  class: i(s)
1072
1072
  }, [s.events.map((h) => l("div", {
@@ -1082,7 +1082,7 @@ const Kt = {
1082
1082
  class: "f-calendar-content-primary"
1083
1083
  }, [l("div", {
1084
1084
  class: "f-calendar-content-data"
1085
- }, [u()])]);
1085
+ }, [d()])]);
1086
1086
  }
1087
1087
  return ie(() => {
1088
1088
  t.value && t.value.scrollTo(0, 250);
@@ -1247,7 +1247,7 @@ function on() {
1247
1247
  Thu: e("calendar.dayLabels.Thu"),
1248
1248
  Fri: e("calendar.dayLabels.Fri"),
1249
1249
  Sat: e("calendar.dayLabels.Sat")
1250
- }, m = e("calendar.today"), w = e("calendar.thisYear"), p = e("calendar.yearView"), D = e("calendar.monthView"), I = e("calendar.weekView"), C = e("calendar.dayView"), f = e("calendar.titleFormat"), a = e("calendar.yearViewTitleFormat"), c = e("calendar.prevMonth"), y = e("calendar.nextMonth"), r = e("calendar.prevWeek"), i = e("calendar.nextWeek"), v = e("calendar.prevDay"), u = e("calendar.nextDay"), E = e("calendar.prevYear"), s = e("calendar.nextYear"), h = e("calendar.more", "") || "还有 #count# 项...";
1250
+ }, m = e("calendar.today"), w = e("calendar.thisYear"), p = e("calendar.yearView"), D = e("calendar.monthView"), I = e("calendar.weekView"), C = e("calendar.dayView"), f = e("calendar.titleFormat"), a = e("calendar.yearViewTitleFormat"), c = e("calendar.prevMonth"), y = e("calendar.nextMonth"), r = e("calendar.prevWeek"), i = e("calendar.nextWeek"), v = e("calendar.prevDay"), d = e("calendar.nextDay"), E = e("calendar.prevYear"), s = e("calendar.nextYear"), h = e("calendar.more", "") || "还有 #count# 项...";
1251
1251
  return {
1252
1252
  monthLabels: n,
1253
1253
  weekDayLabels: o,
@@ -1261,7 +1261,7 @@ function on() {
1261
1261
  prevWeek: r,
1262
1262
  nextWeek: i,
1263
1263
  prevDay: v,
1264
- nextDay: u,
1264
+ nextDay: d,
1265
1265
  yearViewTitle: p,
1266
1266
  yearViewTitleFormat: a,
1267
1267
  thisYear: w,
@@ -1284,7 +1284,7 @@ function cn(e) {
1284
1284
  const t = ln(e);
1285
1285
  return !isNaN(Number(t));
1286
1286
  }
1287
- function un(e, t, n, o, m, w, p) {
1287
+ function dn(e, t, n, o, m, w, p) {
1288
1288
  const {
1289
1289
  equalOrEarlier: D,
1290
1290
  sameDay: I
@@ -1295,42 +1295,42 @@ function un(e, t, n, o, m, w, p) {
1295
1295
  formatTo: a
1296
1296
  } = n;
1297
1297
  function c(S, P) {
1298
- S.forEach((d) => {
1299
- d.days.forEach((T) => {
1298
+ S.forEach((u) => {
1299
+ u.days.forEach((T) => {
1300
1300
  T.events = [];
1301
1301
  });
1302
1302
  });
1303
- const x = /* @__PURE__ */ new Map(), g = (d) => {
1304
- if (!d)
1303
+ const F = /* @__PURE__ */ new Map(), g = (u) => {
1304
+ if (!u)
1305
1305
  return null;
1306
- if (x.has(d))
1307
- return x.get(d);
1308
- const T = f(d, "yyyy-MM-dd");
1306
+ if (F.has(u))
1307
+ return F.get(u);
1308
+ const T = f(u, "yyyy-MM-dd");
1309
1309
  if (!T)
1310
1310
  return null;
1311
1311
  const L = C(T);
1312
- return x.set(d, L), L;
1312
+ return F.set(u, L), L;
1313
1313
  };
1314
- return P.forEach((d) => {
1314
+ return P.forEach((u) => {
1315
1315
  const {
1316
1316
  eventDateField: T,
1317
1317
  startDateField: L
1318
- } = e, O = K(d, T) || K(d, L), b = g(O);
1318
+ } = e, O = K(u, T) || K(u, L), b = g(O);
1319
1319
  b && S.forEach((j) => {
1320
1320
  j.days.forEach((V) => {
1321
- var F;
1322
- I(V.date, b) && ((F = V.events) == null || F.push({
1323
- id: d[e.idField],
1321
+ var x;
1322
+ I(V.date, b) && ((x = V.events) == null || x.push({
1323
+ id: u[e.idField],
1324
1324
  data: {
1325
- ...d
1325
+ ...u
1326
1326
  },
1327
1327
  eventDate: b,
1328
1328
  isSingleDay: !0
1329
1329
  }));
1330
1330
  });
1331
1331
  });
1332
- }), S.forEach((d) => {
1333
- const T = [], L = d.days.map((b, j) => b.events && b.events.length > 0 ? b.events.map((V, F) => ({
1332
+ }), S.forEach((u) => {
1333
+ const T = [], L = u.days.map((b, j) => b.events && b.events.length > 0 ? b.events.map((V, x) => ({
1334
1334
  ...V,
1335
1335
  // 在非跨天模式下,colspan为1,rowspan为1
1336
1336
  colspan: 1,
@@ -1349,51 +1349,51 @@ function un(e, t, n, o, m, w, p) {
1349
1349
  });
1350
1350
  T.push(j);
1351
1351
  }
1352
- d.events = T;
1352
+ u.events = T;
1353
1353
  }), S;
1354
1354
  }
1355
1355
  function y(S, P) {
1356
- S.forEach((d) => {
1357
- d.events = [];
1356
+ S.forEach((u) => {
1357
+ u.events = [];
1358
1358
  });
1359
- const x = /* @__PURE__ */ new Map(), g = (d) => {
1360
- if (!d)
1359
+ const F = /* @__PURE__ */ new Map(), g = (u) => {
1360
+ if (!u)
1361
1361
  return null;
1362
- if (x.has(d))
1363
- return x.get(d);
1364
- const T = f(d, "yyyy-MM-dd");
1362
+ if (F.has(u))
1363
+ return F.get(u);
1364
+ const T = f(u, "yyyy-MM-dd");
1365
1365
  if (!T)
1366
1366
  return null;
1367
1367
  const L = C(T);
1368
- return x.set(d, L), L;
1368
+ return F.set(u, L), L;
1369
1369
  };
1370
- return P.forEach((d) => {
1370
+ return P.forEach((u) => {
1371
1371
  const {
1372
1372
  startDateField: T,
1373
1373
  endDateField: L
1374
- } = e, O = g(K(d, T)), b = g(K(d, L));
1374
+ } = e, O = g(K(u, T)), b = g(K(u, L));
1375
1375
  !O || !b || S.forEach((j) => {
1376
1376
  var W, z, G, _;
1377
- const V = j.days[0].date, F = j.days[j.days.length - 1].date;
1378
- if (!(D(b, V, !1) || D(F, O, !1)))
1377
+ const V = j.days[0].date, x = j.days[j.days.length - 1].date;
1378
+ if (!(D(b, V, !1) || D(x, O, !1)))
1379
1379
  if (I(O, b))
1380
1380
  (W = j.events) == null || W.push({
1381
- id: d[e.idField],
1381
+ id: u[e.idField],
1382
1382
  data: {
1383
- ...d
1383
+ ...u
1384
1384
  },
1385
1385
  eventDate: O,
1386
1386
  isSingleDay: !0
1387
1387
  });
1388
1388
  else {
1389
- const J = D(V, O, !1) ? O : V, q = D(b, F, !1) ? b : F;
1389
+ const J = D(V, O, !1) ? O : V, q = D(b, x, !1) ? b : x;
1390
1390
  let Q = -1, ae = -1;
1391
- j.days.forEach((de, fe) => {
1392
- I(de.date, J) && (Q = fe), I(de.date, q) && (ae = fe);
1391
+ j.days.forEach((ue, fe) => {
1392
+ I(ue.date, J) && (Q = fe), I(ue.date, q) && (ae = fe);
1393
1393
  }), Q !== -1 && ae !== -1 && ((z = j.events) == null || z.push({
1394
- id: d[e.idField],
1394
+ id: u[e.idField],
1395
1395
  data: {
1396
- ...d
1396
+ ...u
1397
1397
  },
1398
1398
  // 修复:eventDate 应该是事件在整个事件范围内的起始日期
1399
1399
  eventDate: O,
@@ -1408,41 +1408,41 @@ function un(e, t, n, o, m, w, p) {
1408
1408
  }));
1409
1409
  }
1410
1410
  else
1411
- I(O, F) && !I(b, F) && ((G = j.events) == null || G.push({
1412
- id: `${d[e.idField]}_start`,
1411
+ I(O, x) && !I(b, x) && ((G = j.events) == null || G.push({
1412
+ id: `${u[e.idField]}_start`,
1413
1413
  data: {
1414
- ...d
1414
+ ...u
1415
1415
  },
1416
1416
  eventDate: O,
1417
1417
  isSingleDay: !0,
1418
1418
  isOverlapping: !0,
1419
- originalId: d[e.idField]
1419
+ originalId: u[e.idField]
1420
1420
  })), I(b, V) && !I(O, V) && ((_ = j.events) == null || _.push({
1421
- id: `${d[e.idField]}_end`,
1421
+ id: `${u[e.idField]}_end`,
1422
1422
  data: {
1423
- ...d
1423
+ ...u
1424
1424
  },
1425
1425
  eventDate: b,
1426
1426
  isSingleDay: !0,
1427
1427
  isOverlapping: !0,
1428
- originalId: d[e.idField]
1428
+ originalId: u[e.idField]
1429
1429
  }));
1430
1430
  });
1431
- }), S.forEach((d) => {
1432
- d.days.forEach((T, L) => {
1431
+ }), S.forEach((u) => {
1432
+ u.days.forEach((T, L) => {
1433
1433
  var V;
1434
- const O = (V = d.events) == null ? void 0 : V.filter((F) => F.isCrossDay ? L >= F.startIndex && L <= F.endIndex : F.isSingleDay ? I({
1435
- year: F.eventDate.year,
1436
- month: F.eventDate.month,
1437
- day: F.eventDate.day
1434
+ const O = (V = u.events) == null ? void 0 : V.filter((x) => x.isCrossDay ? L >= x.startIndex && L <= x.endIndex : x.isSingleDay ? I({
1435
+ year: x.eventDate.year,
1436
+ month: x.eventDate.month,
1437
+ day: x.eventDate.day
1438
1438
  }, {
1439
1439
  year: T.date.year,
1440
1440
  month: T.date.month,
1441
1441
  day: T.date.day
1442
- }) : !1), b = O == null ? void 0 : O.find((F) => F.isCrossDay), j = (O == null ? void 0 : O.filter((F) => F.isSingleDay)) || [];
1443
- b && j.length > 0 && j.forEach((F) => {
1442
+ }) : !1), b = O == null ? void 0 : O.find((x) => x.isCrossDay), j = (O == null ? void 0 : O.filter((x) => x.isSingleDay)) || [];
1443
+ b && j.length > 0 && j.forEach((x) => {
1444
1444
  var W, z;
1445
- ((W = d.events) == null ? void 0 : W.some((G) => (G.originalId === F.id || G.id === F.id) && I({
1445
+ ((W = u.events) == null ? void 0 : W.some((G) => (G.originalId === x.id || G.id === x.id) && I({
1446
1446
  year: G.eventDate.year,
1447
1447
  month: G.eventDate.month,
1448
1448
  day: G.eventDate.day
@@ -1450,34 +1450,34 @@ function un(e, t, n, o, m, w, p) {
1450
1450
  year: T.date.year,
1451
1451
  month: T.date.month,
1452
1452
  day: T.date.day
1453
- }))) || (z = d.events) == null || z.push({
1454
- id: F.id,
1453
+ }))) || (z = u.events) == null || z.push({
1454
+ id: x.id,
1455
1455
  data: {
1456
- ...F.data
1456
+ ...x.data
1457
1457
  },
1458
1458
  eventDate: T.date,
1459
1459
  isSingleDay: !0,
1460
1460
  isOverlapping: !0,
1461
- originalId: F.id
1461
+ originalId: x.id
1462
1462
  });
1463
1463
  });
1464
1464
  });
1465
- }), S.forEach((d) => {
1465
+ }), S.forEach((u) => {
1466
1466
  const T = [];
1467
1467
  for (let b = 0; b < 10; b++)
1468
1468
  T[b] = Array(7).fill(null);
1469
- [...d.events].sort((b, j) => {
1469
+ [...u.events].sort((b, j) => {
1470
1470
  if (b.isCrossDay && !j.isCrossDay)
1471
1471
  return -1;
1472
1472
  if (!b.isCrossDay && j.isCrossDay)
1473
1473
  return 1;
1474
1474
  if (b.isCrossDay && j.isCrossDay)
1475
1475
  return b.startIndex - j.startIndex;
1476
- const V = b.eventDate, F = j.eventDate;
1477
- return V.year !== F.year ? V.year - F.year : V.month !== F.month ? V.month - F.month : V.day - F.day;
1476
+ const V = b.eventDate, x = j.eventDate;
1477
+ return V.year !== x.year ? V.year - x.year : V.month !== x.month ? V.month - x.month : V.day - x.day;
1478
1478
  }).forEach((b) => {
1479
- let j = 0, V = !1, F = 0, Y = 1;
1480
- for (b.isCrossDay ? (F = b.startIndex, Y = b.colspan) : (F = d.days.findIndex((W) => I({
1479
+ let j = 0, V = !1, x = 0, Y = 1;
1480
+ for (b.isCrossDay ? (x = b.startIndex, Y = b.colspan) : (x = u.days.findIndex((W) => I({
1481
1481
  year: b.eventDate.year,
1482
1482
  month: b.eventDate.month,
1483
1483
  day: b.eventDate.day
@@ -1487,17 +1487,17 @@ function un(e, t, n, o, m, w, p) {
1487
1487
  day: W.date.day
1488
1488
  })), Y = 1); !V && j < T.length; ) {
1489
1489
  let W = !0;
1490
- for (let z = F; z < F + Y; z++)
1490
+ for (let z = x; z < x + Y; z++)
1491
1491
  if (T[j][z] !== null) {
1492
1492
  W = !1;
1493
1493
  break;
1494
1494
  }
1495
1495
  if (W) {
1496
- for (let z = F; z < F + Y; z++)
1497
- T[j][z] = z === F ? b : {
1496
+ for (let z = x; z < x + Y; z++)
1497
+ T[j][z] = z === x ? b : {
1498
1498
  ...b,
1499
1499
  isPlaceholder: !0,
1500
- colspan: z === F ? Y : 0
1500
+ colspan: z === x ? Y : 0
1501
1501
  };
1502
1502
  V = !0;
1503
1503
  } else
@@ -1509,38 +1509,38 @@ function un(e, t, n, o, m, w, p) {
1509
1509
  if (b.some((j) => j !== null)) {
1510
1510
  const j = [];
1511
1511
  for (let V = 0; V < b.length; V++) {
1512
- const F = b[V];
1513
- F === null ? j.push({
1512
+ const x = b[V];
1513
+ x === null ? j.push({
1514
1514
  colspan: 1,
1515
1515
  rowspan: 1,
1516
1516
  data: null
1517
- }) : F.isPlaceholder || j.push(F), F && (F.colspan = F.colspan || 1, F.colspan > 1 && (V += F.colspan - 1));
1517
+ }) : x.isPlaceholder || j.push(x), x && (x.colspan = x.colspan || 1, x.colspan > 1 && (V += x.colspan - 1));
1518
1518
  }
1519
1519
  O.push(j);
1520
1520
  }
1521
- }), d.events = O;
1521
+ }), u.events = O;
1522
1522
  }), S;
1523
1523
  }
1524
1524
  function r(S, P) {
1525
- const x = {};
1525
+ const F = {};
1526
1526
  return P.forEach((g) => {
1527
1527
  const {
1528
- eventDateField: d,
1528
+ eventDateField: u,
1529
1529
  startDateField: T
1530
- } = e, L = K(g, d) || K(g, T);
1530
+ } = e, L = K(g, u) || K(g, T);
1531
1531
  if (!L)
1532
1532
  return;
1533
1533
  const O = C(f(L, "yyyy-MM-dd"));
1534
1534
  if (O.year === S) {
1535
1535
  const b = "" + O.month;
1536
- x[b] = x[b] || [], x[b].push({
1536
+ F[b] = F[b] || [], F[b].push({
1537
1537
  data: {
1538
1538
  ...g
1539
1539
  },
1540
1540
  eventDate: O
1541
1541
  });
1542
1542
  }
1543
- }), x;
1543
+ }), F;
1544
1544
  }
1545
1545
  function i() {
1546
1546
  return oe[w.value - 1];
@@ -1551,21 +1551,21 @@ function un(e, t, n, o, m, w, p) {
1551
1551
  view: i()
1552
1552
  });
1553
1553
  }
1554
- const u = (S, P, x) => {
1554
+ const d = (S, P, F) => {
1555
1555
  const g = K(S, P);
1556
- return typeof g == "string" ? g : g !== null && typeof g == "object" && !Array.isArray(g) && x ? g[x] || "" : g || "";
1556
+ return typeof g == "string" ? g : g !== null && typeof g == "object" && !Array.isArray(g) && F ? g[F] || "" : g || "";
1557
1557
  };
1558
1558
  function E(S) {
1559
1559
  return Te(e.eventItemFormatter) ? e.eventItemFormatter(S.data, {
1560
1560
  parseToDate: f,
1561
1561
  formatTo: a,
1562
- getValue: u,
1562
+ getValue: d,
1563
1563
  view: i(),
1564
1564
  locale: p
1565
1565
  }) : K(S.data, e.textField || "title");
1566
1566
  }
1567
1567
  function s(S) {
1568
- return Te(e.eventItemFormatter) ? "" : u(S.data, e.textField || "title", p);
1568
+ return Te(e.eventItemFormatter) ? "" : d(S.data, e.textField || "title", p);
1569
1569
  }
1570
1570
  const h = (S) => {
1571
1571
  if (!S || !S.data)
@@ -1579,7 +1579,7 @@ function un(e, t, n, o, m, w, p) {
1579
1579
  const P = e.customEventStyles(S.data, {
1580
1580
  parseToDate: f,
1581
1581
  formatTo: a,
1582
- getValue: u,
1582
+ getValue: d,
1583
1583
  view: i(),
1584
1584
  locale: p
1585
1585
  });
@@ -1588,11 +1588,11 @@ function un(e, t, n, o, m, w, p) {
1588
1588
  function N(S) {
1589
1589
  const {
1590
1590
  cls: P,
1591
- styles: x
1591
+ styles: F
1592
1592
  } = h(S);
1593
1593
  return l("a", {
1594
1594
  onClick: (g) => v(g, S),
1595
- style: x || {},
1595
+ style: F || {},
1596
1596
  class: "f-calendar-event p-0 mx-1 my-0 " + (P || "")
1597
1597
  }, [l("div", {
1598
1598
  class: "event-title",
@@ -1606,11 +1606,11 @@ function un(e, t, n, o, m, w, p) {
1606
1606
  function $(S) {
1607
1607
  const {
1608
1608
  cls: P,
1609
- styles: x
1609
+ styles: F
1610
1610
  } = h(S);
1611
1611
  return l("li", {
1612
1612
  style: {
1613
- ...x || {},
1613
+ ...F || {},
1614
1614
  "padding-bottom": "2px"
1615
1615
  },
1616
1616
  class: P,
@@ -1655,19 +1655,19 @@ const ne = /* @__PURE__ */ ee({
1655
1655
  nextDay: r,
1656
1656
  yearViewTitle: i,
1657
1657
  yearViewTitleFormat: v,
1658
- thisYear: u,
1658
+ thisYear: d,
1659
1659
  prevYear: E,
1660
1660
  nextYear: s,
1661
1661
  moreText: h,
1662
1662
  locale: N
1663
- } = on(), M = Oe(), $ = Wt(), S = ue(), {
1663
+ } = on(), M = Oe(), $ = Wt(), S = de(), {
1664
1664
  sameDay: P
1665
1665
  } = M, {
1666
- getToday: x,
1666
+ getToday: F,
1667
1667
  convertDateToDateObject: g
1668
1668
  } = S, {
1669
- parseToDate: d
1670
- } = $, T = B(e.firstDayOfTheWeek), L = B(e.events), O = B(e.enableCrossDay), b = x(), j = B(e.activeDate), V = B(0), F = B(e.visible), Y = un(e, S, $, M, t, V, N);
1669
+ parseToDate: u
1670
+ } = $, T = B(e.firstDayOfTheWeek), L = B(e.events), O = B(e.enableCrossDay), b = F(), j = B(e.activeDate), V = B(0), x = B(e.visible), Y = dn(e, S, $, M, t, V, N);
1671
1671
  Et("eventsComposition", Y);
1672
1672
  const W = B({
1673
1673
  year: b.year || 1,
@@ -1675,7 +1675,7 @@ const ne = /* @__PURE__ */ ee({
1675
1675
  day: b.day || 1
1676
1676
  });
1677
1677
  function z() {
1678
- typeof j.value == "string" && (j.value = d(j.value, "yyyy-MM-dd")), cn(j.value) && (W.value = g(j.value));
1678
+ typeof j.value == "string" && (j.value = u(j.value, "yyyy-MM-dd")), cn(j.value) && (W.value = g(j.value));
1679
1679
  }
1680
1680
  z(), H(() => e.activeDate, () => {
1681
1681
  j.value = e.activeDate, z();
@@ -1695,7 +1695,7 @@ const ne = /* @__PURE__ */ ee({
1695
1695
  const {
1696
1696
  getMonthlyCalendar: Q,
1697
1697
  getWeeklyCalendar: ae,
1698
- getPreviousDay: de,
1698
+ getPreviousDay: ue,
1699
1699
  getNextDay: fe,
1700
1700
  getDayInPreviousWeek: Je,
1701
1701
  getDayInNextWeek: Xe,
@@ -1703,7 +1703,7 @@ const ne = /* @__PURE__ */ ee({
1703
1703
  getDayInNextMonth: Ze,
1704
1704
  getNextYear: Ke,
1705
1705
  getPreviousYear: et
1706
- } = Zt(), tt = A(() => V.value === 1 ? v.replace("yyyy", "" + W.value.year) : n.replace("yyyy", "" + W.value.year).replace("MM", "" + W.value.month)), nt = A(() => V.value === 1 ? u : o), at = A(() => {
1706
+ } = Zt(), tt = A(() => V.value === 1 ? v.replace("yyyy", "" + W.value.year) : n.replace("yyyy", "" + W.value.year).replace("MM", "" + W.value.month)), nt = A(() => V.value === 1 ? d : o), at = A(() => {
1707
1707
  const k = [], R = X.indexOf(T.value);
1708
1708
  if (R !== -1) {
1709
1709
  let U = R;
@@ -1754,15 +1754,15 @@ const ne = /* @__PURE__ */ ee({
1754
1754
  });
1755
1755
  };
1756
1756
  function lt(k) {
1757
- k === 1 && (W.value = et(W.value), be()), k === 2 && (W.value = Qe(W.value), ge()), k === 3 && (W.value = Je(W.value)), k === 4 && (W.value = de(W.value));
1757
+ k === 1 && (W.value = et(W.value), be()), k === 2 && (W.value = Qe(W.value), ge()), k === 3 && (W.value = Je(W.value)), k === 4 && (W.value = ue(W.value));
1758
1758
  }
1759
1759
  function st(k) {
1760
1760
  k === 1 && (W.value = Ke(W.value), be()), k === 2 && (W.value = Ze(W.value), ge()), k === 3 && (W.value = Xe(W.value)), k === 4 && (W.value = fe(W.value));
1761
1761
  }
1762
1762
  const We = () => {
1763
1763
  oe[V.value - 1] === "year" ? be() : ge();
1764
- }, ct = A(() => [E, m, a, y][V.value - 1]), ut = A(() => [s, w, c, r][V.value - 1]);
1765
- function dt() {
1764
+ }, ct = A(() => [E, m, a, y][V.value - 1]), dt = A(() => [s, w, c, r][V.value - 1]);
1765
+ function ut() {
1766
1766
  W.value = {
1767
1767
  year: b.year || 1,
1768
1768
  month: b.month || 1,
@@ -1812,12 +1812,12 @@ const ne = /* @__PURE__ */ ee({
1812
1812
  }
1813
1813
  let re = null;
1814
1814
  H(() => e.visible, (k, R) => {
1815
- k !== R && (F.value = k, k ? setTimeout(() => {
1815
+ k !== R && (x.value = k, k ? setTimeout(() => {
1816
1816
  re = Re(J.value, we);
1817
1817
  }) : re && re());
1818
1818
  }), ie(() => {
1819
1819
  setTimeout(() => {
1820
- F.value && (re = Re(J.value, we));
1820
+ x.value && (re = Re(J.value, we));
1821
1821
  });
1822
1822
  }), It(() => {
1823
1823
  re && re();
@@ -1845,18 +1845,18 @@ const ne = /* @__PURE__ */ ee({
1845
1845
  }, e == null ? void 0 : e.customStyle));
1846
1846
  return t.expose({
1847
1847
  loadEvents: ht
1848
- }), () => F.value && l("div", {
1848
+ }), () => x.value && l("div", {
1849
1849
  class: yt.value,
1850
1850
  ref: J,
1851
1851
  style: wt.value
1852
- }, [l(xe, {
1852
+ }, [l(Fe, {
1853
1853
  activeView: V.value,
1854
1854
  isCurrent: it.value,
1855
1855
  todayText: nt.value,
1856
1856
  title: tt.value,
1857
1857
  enableMoreView: e.enableMoreView,
1858
1858
  previousText: ct.value,
1859
- nextText: ut.value,
1859
+ nextText: dt.value,
1860
1860
  monthlyViewTitle: D,
1861
1861
  weeklyViewTitle: I,
1862
1862
  dailyViewTitle: p,
@@ -1864,7 +1864,7 @@ const ne = /* @__PURE__ */ ee({
1864
1864
  onViewChange: (k) => vt(k),
1865
1865
  onPrevious: (k) => lt(k),
1866
1866
  onNext: (k) => st(k),
1867
- onResetToToday: () => dt()
1867
+ onResetToToday: () => ut()
1868
1868
  }, null), l("div", {
1869
1869
  class: "f-utils-fill"
1870
1870
  }, [V.value === 4 && l(Ie, {
@@ -1874,7 +1874,7 @@ const ne = /* @__PURE__ */ ee({
1874
1874
  }, null), V.value === 3 && l(Ee, {
1875
1875
  week: me.value,
1876
1876
  events: L.value
1877
- }, null), V.value === 2 && l(Fe, {
1877
+ }, null), V.value === 2 && l(xe, {
1878
1878
  daysInWeek: at.value,
1879
1879
  monthLabels: f,
1880
1880
  activeDay: W.value,
@@ -1951,10 +1951,12 @@ const ne = /* @__PURE__ */ ee({
1951
1951
  drawer: { type: "drawer", name: "抽屉" },
1952
1952
  "external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
1953
1953
  "list-nav": { type: "list-nav", name: "列表导航" },
1954
+ nav: { type: "nav", name: "标签类导航" },
1954
1955
  "list-view": { type: "list-view", name: "列表" },
1955
1956
  "filter-bar": { type: "filter-bar", name: "筛选条" },
1956
1957
  "language-textbox": { type: "language-textbox", name: "多语输入框" },
1957
1958
  image: { type: "image", name: "图像" },
1959
+ avatar: { type: "avatar", name: "头像" },
1958
1960
  "discussion-editor": { type: "discussion-editor", name: "评论编辑区" },
1959
1961
  "discussion-list": { type: "discussion-list", name: "评论列表" },
1960
1962
  comment: { type: "comment", name: "评论区" },
@@ -1962,7 +1964,8 @@ const ne = /* @__PURE__ */ ee({
1962
1964
  calendar: { type: "calendar", name: "日历", icon: "date-picker" },
1963
1965
  wizard: { type: "wizard", name: "向导", icon: "wizard" },
1964
1966
  "wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
1965
- "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" }
1967
+ "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
1968
+ step: { type: "step", name: "步骤条", icon: "step" }
1966
1969
  };
1967
1970
  function qe(e, t) {
1968
1971
  return l("h5", {
@@ -1989,7 +1992,7 @@ context: 提供一些时间转换方法,以及获取日程数据的方法
1989
1992
  // 当前语言编码
1990
1993
  locale: string
1991
1994
  ${e ? "此方法返回一个字符串,可包括HTML代码,如:<div>...</div>" : "此方法返回一个对象,包含cls和styles两个属性,cls为事件样式类名,styles为事件样式对象"}
1992
- */`, dn = (e) => {
1995
+ */`, un = (e) => {
1993
1996
  const t = `(data, context) => {
1994
1997
  /**
1995
1998
  * const {formatTo, view, locale, getValue} = context;
@@ -2269,7 +2272,7 @@ class mn extends Rt {
2269
2272
  editor: {
2270
2273
  type: "code-editor",
2271
2274
  language: "javascript",
2272
- leftTemplate: dn
2275
+ leftTemplate: un
2273
2276
  }
2274
2277
  }
2275
2278
  },
@@ -2348,17 +2351,17 @@ function vn(e, t) {
2348
2351
  var a, c, y, r;
2349
2352
  if (e && t) {
2350
2353
  const i = (a = e == null ? void 0 : e.componentInstance) == null ? void 0 : a.value.belongedComponentId;
2351
- let v = "", u = "";
2354
+ let v = "", d = "";
2352
2355
  const { formSchemaUtils: E } = t;
2353
2356
  if (i) {
2354
2357
  const h = E.getRootViewModelId(), N = E.getComponentByViewModelId(h), M = E.selectNode(N, ($) => $.contents && $.contents.find((S) => S.component === i));
2355
- (M == null ? void 0 : M.type) === ((c = he["tab-page"]) == null ? void 0 : c.type) && ((y = M == null ? void 0 : M.contents) != null && y.length) && (v = M.title || ""), (M == null ? void 0 : M.type) === ((r = he.section) == null ? void 0 : r.type) && (M == null ? void 0 : M.showHeader) !== !1 && (v = M.mainTitle || ""), v = v ? `${v} > ` : "", u = v ? M.id : "";
2358
+ (M == null ? void 0 : M.type) === ((c = he["tab-page"]) == null ? void 0 : c.type) && ((y = M == null ? void 0 : M.contents) != null && y.length) && (v = M.title || ""), (M == null ? void 0 : M.type) === ((r = he.section) == null ? void 0 : r.type) && (M == null ? void 0 : M.showHeader) !== !1 && (v = M.mainTitle || ""), v = v ? `${v} > ` : "", d = v ? M.id : "";
2356
2359
  }
2357
2360
  const s = he.calendar.name;
2358
2361
  t == null || t.formSchemaUtils.getControlBasicInfoMap().set(e.schema.id, {
2359
2362
  componentTitle: s,
2360
2363
  parentPathName: `${v}${s}`,
2361
- reliedComponentId: u
2364
+ reliedComponentId: d
2362
2365
  });
2363
2366
  }
2364
2367
  }
@@ -2403,17 +2406,17 @@ const yn = /* @__PURE__ */ ee({
2403
2406
  function Ue(e, t) {
2404
2407
  let n;
2405
2408
  function o(a) {
2406
- const { properties: c, title: y, ignore: r } = a, i = r && Array.isArray(r), v = Object.keys(c).reduce((u, E) => ((!i || !r.find((s) => s === E)) && (u[E] = c[E].type === "object" && c[E].properties ? o(c[E]) : ce(c[E].default)), u), {});
2407
- if (y && (!i || !r.find((u) => u === "id"))) {
2408
- const u = y.toLowerCase().replace(/-/g, "_");
2409
- v.id = `${u}_${Math.random().toString().slice(2, 6)}`;
2409
+ const { properties: c, title: y, ignore: r } = a, i = r && Array.isArray(r), v = Object.keys(c).reduce((d, E) => ((!i || !r.find((s) => s === E)) && (d[E] = c[E].type === "object" && c[E].properties ? o(c[E]) : ce(c[E].default)), d), {});
2410
+ if (y && (!i || !r.find((d) => d === "id"))) {
2411
+ const d = y.toLowerCase().replace(/-/g, "_");
2412
+ v.id = `${d}_${Math.random().toString().slice(2, 6)}`;
2410
2413
  }
2411
2414
  return v;
2412
2415
  }
2413
2416
  function m(a) {
2414
2417
  const { properties: c, title: y, required: r } = a;
2415
2418
  if (r && Array.isArray(r)) {
2416
- const i = r.reduce((v, u) => (v[u] = c[u].type === "object" && c[u].properties ? o(c[u]) : ce(c[u].default), v), {});
2419
+ const i = r.reduce((v, d) => (v[d] = c[d].type === "object" && c[d].properties ? o(c[d]) : ce(c[d].default), v), {});
2417
2420
  if (y && r.find((v) => v === "id")) {
2418
2421
  const v = y.toLowerCase().replace(/-/g, "_");
2419
2422
  i.id = `${v}_${Math.random().toString().slice(2, 6)}`;
@@ -2444,8 +2447,8 @@ function Ue(e, t) {
2444
2447
  if (typeof v == "string")
2445
2448
  r[v] = a[i];
2446
2449
  else {
2447
- const u = v(i, a[i], a);
2448
- Object.assign(r, u);
2450
+ const d = v(i, a[i], a);
2451
+ Object.assign(r, d);
2449
2452
  }
2450
2453
  } else
2451
2454
  r[i] = a[i];
@@ -2465,7 +2468,7 @@ function Ue(e, t) {
2465
2468
  return a;
2466
2469
  const i = p(a, r), v = ((y = a.editor) == null ? void 0 : y.type) || "";
2467
2470
  if (v) {
2468
- const u = e[v], E = p(a.editor, u);
2471
+ const d = e[v], E = p(a.editor, d);
2469
2472
  i.editor = E;
2470
2473
  }
2471
2474
  return i;
@@ -2527,8 +2530,8 @@ function bn(e = {}) {
2527
2530
  return w(C).reduce((y, r) => y && p(r, f), !0);
2528
2531
  }
2529
2532
  function I(C, f) {
2530
- const a = Object.keys(C), c = a.includes("allOf"), y = a.includes("anyOf"), r = c || y, u = (r ? C[r ? c ? "allOf" : "anyOf" : "allOf"] : [C]).map((s) => D(s, f));
2531
- return c ? !u.includes(!1) : u.includes(!0);
2533
+ const a = Object.keys(C), c = a.includes("allOf"), y = a.includes("anyOf"), r = c || y, d = (r ? C[r ? c ? "allOf" : "anyOf" : "allOf"] : [C]).map((s) => D(s, f));
2534
+ return c ? !d.includes(!1) : d.includes(!0);
2532
2535
  }
2533
2536
  return { parseValueSchema: I };
2534
2537
  }
@@ -2649,7 +2652,7 @@ const wn = {
2649
2652
  }
2650
2653
  return "";
2651
2654
  }
2652
- }, xn = {
2655
+ }, Fn = {
2653
2656
  convertTo: (e, t, n, o) => {
2654
2657
  e.column ? e.column[t] = n : e.column = {
2655
2658
  [t]: n
@@ -2664,7 +2667,7 @@ const wn = {
2664
2667
  }
2665
2668
  return "";
2666
2669
  }
2667
- }, Fn = {
2670
+ }, xn = {
2668
2671
  convertTo: (e, t, n, o) => {
2669
2672
  e.summary ? e.summary[t] = n : e.summary = {
2670
2673
  [t]: n
@@ -2787,6 +2790,16 @@ const wn = {
2787
2790
  </span>`), t === "columnTemplateType" && n === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && n === "custom" && (e.columnTemplate = ""));
2788
2791
  },
2789
2792
  convertFrom: (e, t, n) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
2793
+ }, zn = {
2794
+ convertTo: (e, t, n, o) => {
2795
+ e.hierarchy || (e.hierarchy = {
2796
+ cascadeOption: {}
2797
+ }), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = n;
2798
+ },
2799
+ convertFrom: (e, t, n) => {
2800
+ var o, m;
2801
+ return !!((m = (o = e.hierarchy) == null ? void 0 : o.cascadeOption) != null && m[t]);
2802
+ }
2790
2803
  };
2791
2804
  function _e(e, t, n) {
2792
2805
  const o = /* @__PURE__ */ new Map([
@@ -2798,8 +2811,8 @@ function _e(e, t, n) {
2798
2811
  ["/converter/change-editor.converter", Mn],
2799
2812
  ["/converter/change-formatter.converter", kn],
2800
2813
  ["/converter/column-command.converter", Sn],
2801
- ["/converter/column-option.converter", xn],
2802
- ["/converter/summary.converter", Fn],
2814
+ ["/converter/column-option.converter", Fn],
2815
+ ["/converter/summary.converter", xn],
2803
2816
  ["/converter/group.converter", En],
2804
2817
  ["/converter/form-group-label.converter", Wn],
2805
2818
  ["/converter/field-selector.converter", In],
@@ -2811,7 +2824,8 @@ function _e(e, t, n) {
2811
2824
  ["/converter/grid-sort.converter", Bn],
2812
2825
  ["/converter/grid-filter.converter", $n],
2813
2826
  ["/converter/row-option.converter", Rn],
2814
- ["/converter/change-formatter-type.converter", An]
2827
+ ["/converter/change-formatter-type.converter", An],
2828
+ ["/converter/tree-auto-check.converter", zn]
2815
2829
  ]), m = /* @__PURE__ */ new Map([
2816
2830
  ["string", { type: "input-group", enableClear: !1 }],
2817
2831
  ["boolean", {
@@ -2850,61 +2864,61 @@ function _e(e, t, n) {
2850
2864
  const v = r.$converter || i;
2851
2865
  return typeof v == "string" && v && o.has(v) ? o.get(v) || null : v || null;
2852
2866
  }
2853
- function f(r, i, v, u, E, s = "", h = "") {
2867
+ function f(r, i, v, d, E, s = "", h = "") {
2854
2868
  return Object.keys(r).map((M) => {
2855
- const $ = B(1), S = M, P = r[M], x = Object.keys(P), g = P.title, d = P.type, T = m.get(d) || { type: "input-group", enableClear: !1 }, L = P.editor ? Object.assign({}, T, P.editor) : Object.assign({}, T), O = D(x, P, i), b = I(x, P, i);
2869
+ const $ = B(1), S = M, P = r[M], F = Object.keys(P), g = P.title, u = P.type, T = m.get(u) || { type: "input-group", enableClear: !1 }, L = P.editor ? Object.assign({}, T, P.editor) : Object.assign({}, T), O = D(F, P, i), b = I(F, P, i);
2856
2870
  L.readonly = L.readonly === void 0 ? b() : L.readonly;
2857
- const j = P.type === "cascade" ? f(P.properties, i, v, u, E, s, h) : [], V = !0;
2858
- let F = C(P, h);
2871
+ const j = P.type === "cascade" ? f(P.properties, i, v, d, E, s, h) : [], V = !0;
2872
+ let x = C(P, h);
2859
2873
  const Y = A({
2860
2874
  get() {
2861
2875
  if ($.value) {
2862
- if (["class", "style"].find((Q) => Q === S) && !F && (F = o.get("/converter/appearance.converter") || null), F && F.convertFrom)
2863
- return F.convertFrom(v, M, E, s);
2876
+ if (["class", "style"].find((Q) => Q === S) && !x && (x = o.get("/converter/appearance.converter") || null), x && x.convertFrom)
2877
+ return x.convertFrom(v, M, E, s);
2864
2878
  const q = v[M];
2865
2879
  return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (q === void 0 || typeof q == "string" && q === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : q;
2866
2880
  }
2867
2881
  return null;
2868
2882
  },
2869
2883
  set(q) {
2870
- $.value += 1, F && F.convertTo ? (F.convertTo(u, M, q, E, s), F.convertTo(v, M, q, E, s)) : (u[M] = q, v[M] = q);
2884
+ $.value += 1, x && x.convertTo ? (x.convertTo(d, M, q, E, s), x.convertTo(v, M, q, E, s)) : (d[M] = q, v[M] = q);
2871
2885
  }
2872
- }), { refreshPanelAfterChanged: W, description: z, isExpand: G, parentPropertyID: _ } = P, J = { propertyID: S, propertyName: g, propertyType: d, propertyValue: Y, editor: L, visible: O, readonly: b, cascadeConfig: j, hideCascadeTitle: V, refreshPanelAfterChanged: W, description: z, isExpand: G, parentPropertyID: _ };
2886
+ }), { refreshPanelAfterChanged: W, description: z, isExpand: G, parentPropertyID: _ } = P, J = { propertyID: S, propertyName: g, propertyType: u, propertyValue: Y, editor: L, visible: O, readonly: b, cascadeConfig: j, hideCascadeTitle: V, refreshPanelAfterChanged: W, description: z, isExpand: G, parentPropertyID: _ };
2873
2887
  return i[S] = J, J;
2874
2888
  });
2875
2889
  }
2876
2890
  function a(r, i, v = {}) {
2877
- const u = {}, E = e[r];
2891
+ const d = {}, E = e[r];
2878
2892
  return E && E.categories ? Object.keys(E.categories).map((h) => {
2879
- const N = E.categories[h], M = N == null ? void 0 : N.title, $ = f(N.properties || {}, u, {}, v, i);
2893
+ const N = E.categories[h], M = N == null ? void 0 : N.title, $ = f(N.properties || {}, d, {}, v, i);
2880
2894
  return { categoryId: h, categoryName: M, properties: $ };
2881
2895
  }) : [];
2882
2896
  }
2883
- function c(r, i, v, u, E = "") {
2897
+ function c(r, i, v, d, E = "") {
2884
2898
  const s = i.$ref.schema, h = i.$ref.converter, N = v[s], M = N.type, $ = n(N), S = {}, P = e[M];
2885
2899
  if (P && P.categories) {
2886
- const x = P.categories[r], g = x == null ? void 0 : x.title;
2887
- h && Object.keys(x.properties).forEach((L) => {
2888
- x.properties[L].$converter = h;
2900
+ const F = P.categories[r], g = F == null ? void 0 : F.title;
2901
+ h && Object.keys(F.properties).forEach((L) => {
2902
+ F.properties[L].$converter = h;
2889
2903
  });
2890
- const d = (x == null ? void 0 : x.properties) || {}, T = f(d, S, $, N, u, E);
2904
+ const u = (F == null ? void 0 : F.properties) || {}, T = f(u, S, $, N, d, E);
2891
2905
  return { categoryId: r, categoryName: g, properties: T };
2892
2906
  }
2893
2907
  return { categoryId: r, categoryName: "", properties: [] };
2894
2908
  }
2895
- function y(r, i, v, u, E) {
2909
+ function y(r, i, v, d, E) {
2896
2910
  const s = r.type, h = n(r), N = {};
2897
2911
  let M = E || e[s];
2898
- if (!(M && Object.keys(M).length > 0) && v && v.getPropConfig && (M = v.getPropConfig(u)), M && M.categories) {
2912
+ if (!(M && Object.keys(M).length > 0) && v && v.getPropConfig && (M = v.getPropConfig(d)), M && M.categories) {
2899
2913
  const S = [];
2900
2914
  return Object.keys(M.categories).map((P) => {
2901
- const x = M.categories[P];
2902
- if (x.$ref) {
2903
- S.push(c(P, x, r, i, u));
2915
+ const F = M.categories[P];
2916
+ if (F.$ref) {
2917
+ S.push(c(P, F, r, i, d));
2904
2918
  return;
2905
2919
  }
2906
- const g = x == null ? void 0 : x.title, d = x == null ? void 0 : x.tabId, T = x == null ? void 0 : x.tabName, L = x == null ? void 0 : x.hide, O = x == null ? void 0 : x.hideTitle, b = f(x.properties || {}, N, h, r, i, u, x.$converter), { setPropertyRelates: j } = x, V = x == null ? void 0 : x.parentPropertyID;
2907
- S.push({ categoryId: P, categoryName: g, tabId: d, tabName: T, hide: L, properties: b, hideTitle: O, setPropertyRelates: j, parentPropertyID: V });
2920
+ const g = F == null ? void 0 : F.title, u = F == null ? void 0 : F.tabId, T = F == null ? void 0 : F.tabName, L = F == null ? void 0 : F.hide, O = F == null ? void 0 : F.hideTitle, b = f(F.properties || {}, N, h, r, i, d, F.$converter), { setPropertyRelates: j } = F, V = F == null ? void 0 : F.parentPropertyID;
2921
+ S.push({ categoryId: P, categoryName: g, tabId: u, tabName: T, hide: L, properties: b, hideTitle: O, setPropertyRelates: j, parentPropertyID: V });
2908
2922
  }), S;
2909
2923
  }
2910
2924
  return [];
@@ -2915,11 +2929,11 @@ function _e(e, t, n) {
2915
2929
  propertyConverterMap: o
2916
2930
  };
2917
2931
  }
2918
- const zn = {}, Hn = {};
2919
- _e(zn, Hn, gn);
2920
- const Yn = {}, qn = {}, { resolveSchemaWithDefaultValue: Gn } = Ue(Yn, qn), Un = {}, _n = {};
2921
- _e(Un, _n, Gn);
2922
- function Jn() {
2932
+ const Hn = {}, Yn = {};
2933
+ _e(Hn, Yn, gn);
2934
+ const qn = {}, Gn = {}, { resolveSchemaWithDefaultValue: Un } = Ue(qn, Gn), _n = {}, Jn = {};
2935
+ _e(_n, Jn, Un);
2936
+ function Xn() {
2923
2937
  function e(t, n) {
2924
2938
  const { id: o } = t || {}, { dataSource: m } = t || {};
2925
2939
  return m === void 0 ? {} : {
@@ -2930,7 +2944,7 @@ function Jn() {
2930
2944
  resolve: e
2931
2945
  };
2932
2946
  }
2933
- const la = {
2947
+ const sa = {
2934
2948
  1: "Jan",
2935
2949
  2: "Feb",
2936
2950
  3: "Mar",
@@ -2943,12 +2957,12 @@ const la = {
2943
2957
  10: "Oct",
2944
2958
  11: "Nov",
2945
2959
  12: "Dec"
2946
- }, Xn = Jn();
2960
+ }, Qn = Xn();
2947
2961
  ne.install = (e) => {
2948
- e.component(ne.name, ne).component(Ie.name, Ie).component(xe.name, xe).component(Fe.name, Fe).component(Ee.name, Ee);
2962
+ e.component(ne.name, ne).component(Ie.name, Ie).component(Fe.name, Fe).component(xe.name, xe).component(Ee.name, Ee);
2949
2963
  };
2950
2964
  ne.register = (e, t, n, o, m) => {
2951
- e.calendar = ne, t.calendar = Ye(m), o.calendar = { bindingResolver: Xn };
2965
+ e.calendar = ne, t.calendar = Ye(m), o.calendar = { bindingResolver: Qn };
2952
2966
  };
2953
2967
  ne.registerDesigner = (e, t, n, o) => {
2954
2968
  e.calendar = yn, t.calendar = Ye(o);
@@ -2958,18 +2972,18 @@ export {
2958
2972
  ke as Compare,
2959
2973
  ne as FCalendar,
2960
2974
  Ie as FCalendarDayView,
2961
- xe as FCalendarHeader,
2962
- Fe as FCalendarMonthView,
2975
+ Fe as FCalendarHeader,
2976
+ xe as FCalendarMonthView,
2963
2977
  Ee as FCalendarWeekView,
2964
2978
  Se as FilterRelation,
2965
2979
  te as MonthTag,
2966
2980
  Ne as calendarProps,
2967
2981
  nn as dayViewProps,
2968
2982
  ne as default,
2969
- la as defaultNameOfMonths,
2983
+ sa as defaultNameOfMonths,
2970
2984
  Kt as headerProps,
2971
2985
  en as monthViewProps,
2972
- ia as propsResolver,
2986
+ la as propsResolver,
2973
2987
  Ye as propsResolverGenerator,
2974
2988
  X as weekDays,
2975
2989
  tn as weekViewProps