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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,10 +1,10 @@
1
- import { ref as O, computed as V, defineComponent as H, watch as z, createVNode as m, onMounted as ee, inject as Te } from "vue";
2
- import { isPlainObject as oe, cloneDeep as ae } from "lodash-es";
1
+ import { ref as C, computed as V, defineComponent as H, watch as z, createVNode as m, onMounted as ee, inject as De } from "vue";
2
+ import { cloneDeep as oe, isPlainObject as ae } from "lodash-es";
3
3
  import { getSchemaByTypeForDesigner as Me } from "../dynamic-resolver/index.esm.js";
4
4
  function ie(e, t) {
5
5
  let n;
6
6
  function v(d) {
7
- const { properties: h, title: l, ignore: i } = d, o = i && Array.isArray(i), u = Object.keys(h).reduce((c, r) => ((!o || !i.find((s) => s === r)) && (c[r] = h[r].type === "object" && h[r].properties ? v(h[r]) : ae(h[r].default)), c), {});
7
+ const { properties: h, title: l, ignore: i } = d, o = i && Array.isArray(i), u = Object.keys(h).reduce((c, r) => ((!o || !i.find((s) => s === r)) && (c[r] = h[r].type === "object" && h[r].properties ? v(h[r]) : oe(h[r].default)), c), {});
8
8
  if (l && (!o || !i.find((c) => c === "id"))) {
9
9
  const c = l.toLowerCase().replace(/-/g, "_");
10
10
  u.id = `${c}_${Math.random().toString().slice(2, 6)}`;
@@ -14,7 +14,7 @@ function ie(e, t) {
14
14
  function k(d) {
15
15
  const { properties: h, title: l, required: i } = d;
16
16
  if (i && Array.isArray(i)) {
17
- const o = i.reduce((u, c) => (u[c] = h[c].type === "object" && h[c].properties ? v(h[c]) : ae(h[c].default), u), {});
17
+ const o = i.reduce((u, c) => (u[c] = h[c].type === "object" && h[c].properties ? v(h[c]) : oe(h[c].default), u), {});
18
18
  if (l && i.find((u) => u === "id")) {
19
19
  const u = l.toLowerCase().replace(/-/g, "_");
20
20
  o.id = `${u}_${Math.random().toString().slice(2, 6)}`;
@@ -36,7 +36,7 @@ function ie(e, t) {
36
36
  }
37
37
  function f(d, h) {
38
38
  const l = v(h);
39
- return Object.keys(l).reduce((i, o) => (Object.prototype.hasOwnProperty.call(d, o) && (i[o] && oe(i[o]) && oe(d[o] || !d[o]) ? Object.assign(i[o], d[o] || {}) : i[o] = d[o]), i), l), l;
39
+ return Object.keys(l).reduce((i, o) => (Object.prototype.hasOwnProperty.call(d, o) && (i[o] && ae(i[o]) && ae(d[o] || !d[o]) ? Object.assign(i[o], d[o] || {}) : i[o] = d[o]), i), l), l;
40
40
  }
41
41
  function y(d, h) {
42
42
  return Object.keys(d).filter((i) => d[i] != null).reduce((i, o) => {
@@ -78,8 +78,8 @@ function ie(e, t) {
78
78
  }
79
79
  return { getSchemaByType: g, resolveSchemaWithDefaultValue: a, resolveSchemaToProps: P, mappingSchemaToProps: y, setDesignerContext: b };
80
80
  }
81
- const ce = {}, se = {}, { resolveSchemaWithDefaultValue: Se, resolveSchemaToProps: Pe, mappingSchemaToProps: Fe } = ie(ce, se);
82
- function Oe(e = {}) {
81
+ const ce = {}, se = {}, { getSchemaByType: St, resolveSchemaWithDefaultValue: Se, resolveSchemaToProps: Pe, mappingSchemaToProps: Fe, setDesignerContext: Pt } = ie(ce, se);
82
+ function Ce(e = {}) {
83
83
  function t(a, b, d, h) {
84
84
  if (typeof d == "number")
85
85
  return h[a].length === d;
@@ -133,7 +133,7 @@ function Oe(e = {}) {
133
133
  }
134
134
  return { parseValueSchema: P };
135
135
  }
136
- const Ce = {
136
+ const Oe = {
137
137
  convertTo: (e, t, n, v) => {
138
138
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
139
139
  },
@@ -234,7 +234,7 @@ const Ce = {
234
234
  }
235
235
  return "none";
236
236
  }
237
- }, Ae = {
237
+ }, $e = {
238
238
  convertTo: (e, t, n, v) => {
239
239
  e.command ? e.command[t] = n : e.command = {
240
240
  [t]: n
@@ -252,7 +252,7 @@ const Ce = {
252
252
  ]));
253
253
  },
254
254
  convertFrom: (e, t, n) => e.command && t === "enable" ? e.command.enable : ""
255
- }, $e = {
255
+ }, Be = {
256
256
  convertTo: (e, t, n, v) => {
257
257
  e.column ? e.column[t] = n : e.column = {
258
258
  [t]: n
@@ -267,7 +267,7 @@ const Ce = {
267
267
  }
268
268
  return "";
269
269
  }
270
- }, Be = {
270
+ }, Ae = {
271
271
  convertTo: (e, t, n, v) => {
272
272
  e.summary ? e.summary[t] = n : e.summary = {
273
273
  [t]: n
@@ -295,7 +295,7 @@ const Ce = {
295
295
  return e.group.showSummary;
296
296
  }
297
297
  }
298
- }, qe = {
298
+ }, xe = {
299
299
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
300
300
  convertTo: (e, t, n) => {
301
301
  if (n && n.length > 0) {
@@ -303,7 +303,7 @@ const Ce = {
303
303
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = v.bindingField, e.binding.field = v.id, e.binding.fullPath = v.path, e.path = v.bindingPath;
304
304
  }
305
305
  }
306
- }, xe = {
306
+ }, qe = {
307
307
  convertTo: (e, t, n, v) => {
308
308
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
309
309
  },
@@ -376,20 +376,20 @@ const Ce = {
376
376
  };
377
377
  function ue(e, t, n) {
378
378
  const v = /* @__PURE__ */ new Map([
379
- ["/converter/appearance.converter", Ce],
379
+ ["/converter/appearance.converter", Oe],
380
380
  ["/converter/buttons.converter", Ne],
381
381
  ["/converter/property-editor.converter", je],
382
382
  ["/converter/items-count.converter", _e],
383
383
  ["/converter/type.converter", Ee],
384
384
  ["/converter/change-editor.converter", We],
385
385
  ["/converter/change-formatter.converter", Ve],
386
- ["/converter/column-command.converter", Ae],
387
- ["/converter/column-option.converter", $e],
388
- ["/converter/summary.converter", Be],
386
+ ["/converter/column-command.converter", $e],
387
+ ["/converter/column-option.converter", Be],
388
+ ["/converter/summary.converter", Ae],
389
389
  ["/converter/group.converter", Re],
390
390
  ["/converter/form-group-label.converter", Le],
391
- ["/converter/field-selector.converter", qe],
392
- ["/converter/pagination.converter", xe],
391
+ ["/converter/field-selector.converter", xe],
392
+ ["/converter/pagination.converter", qe],
393
393
  ["/converter/row-number.converter", Ge],
394
394
  ["/converter/grid-selection.converter", ze],
395
395
  ["/converter/size.converter", He],
@@ -421,7 +421,7 @@ function ue(e, t, n) {
421
421
  ["array", { type: "button-edit" }],
422
422
  ["number", { type: "number-spinner", placeholder: "" }],
423
423
  ["events-editor", { type: "events-editor", hide: !0 }]
424
- ]), g = Oe();
424
+ ]), g = Ce();
425
425
  function f(i, o) {
426
426
  return () => g.parseValueSchema(i, o);
427
427
  }
@@ -437,60 +437,60 @@ function ue(e, t, n) {
437
437
  }
438
438
  function b(i, o, u, c, r, s = "", w = "") {
439
439
  return Object.keys(i).map((M) => {
440
- const C = O(1), j = M, T = i[M], W = Object.keys(T), A = T.title, p = T.type, N = k.get(p) || { type: "input-group", enableClear: !1 }, F = T.editor ? Object.assign({}, N, T.editor) : Object.assign({}, N), E = y(W, T, o), S = P(W, T, o);
440
+ const O = C(1), j = M, D = i[M], W = Object.keys(D), $ = D.title, p = D.type, N = k.get(p) || { type: "input-group", enableClear: !1 }, F = D.editor ? Object.assign({}, N, D.editor) : Object.assign({}, N), E = y(W, D, o), S = P(W, D, o);
441
441
  F.readonly = F.readonly === void 0 ? S() : F.readonly;
442
- const B = T.type === "cascade" ? b(T.properties, o, u, c, r, s, w) : [], R = !0;
443
- let $ = a(T, w);
444
- const q = V({
442
+ const A = D.type === "cascade" ? b(D.properties, o, u, c, r, s, w) : [], R = !0;
443
+ let B = a(D, w);
444
+ const x = V({
445
445
  get() {
446
- if (C.value) {
447
- if (["class", "style"].find((De) => De === j) && !$ && ($ = v.get("/converter/appearance.converter") || null), $ && $.convertFrom)
448
- return $.convertFrom(u, M, r, s);
449
- const x = u[M];
450
- return Object.prototype.hasOwnProperty.call(T, "defaultValue") && (x === void 0 || typeof x == "string" && x === "") ? T.type === "boolean" ? T.defaultValue : T.defaultValue || "" : x;
446
+ if (O.value) {
447
+ if (["class", "style"].find((Te) => Te === j) && !B && (B = v.get("/converter/appearance.converter") || null), B && B.convertFrom)
448
+ return B.convertFrom(u, M, r, s);
449
+ const q = u[M];
450
+ return Object.prototype.hasOwnProperty.call(D, "defaultValue") && (q === void 0 || typeof q == "string" && q === "") ? D.type === "boolean" ? D.defaultValue : D.defaultValue || "" : q;
451
451
  }
452
452
  return null;
453
453
  },
454
- set(x) {
455
- C.value += 1, $ && $.convertTo ? ($.convertTo(c, M, x, r, s), $.convertTo(u, M, x, r, s)) : (c[M] = x, u[M] = x);
454
+ set(q) {
455
+ O.value += 1, B && B.convertTo ? (B.convertTo(c, M, q, r, s), B.convertTo(u, M, q, r, s)) : (c[M] = q, u[M] = q);
456
456
  }
457
- }), { refreshPanelAfterChanged: _, description: we, isExpand: be, parentPropertyID: ke } = T, re = { propertyID: j, propertyName: A, propertyType: p, propertyValue: q, editor: F, visible: E, readonly: S, cascadeConfig: B, hideCascadeTitle: R, refreshPanelAfterChanged: _, description: we, isExpand: be, parentPropertyID: ke };
457
+ }), { refreshPanelAfterChanged: _, description: we, isExpand: be, parentPropertyID: ke } = D, re = { propertyID: j, propertyName: $, propertyType: p, propertyValue: x, editor: F, visible: E, readonly: S, cascadeConfig: A, hideCascadeTitle: R, refreshPanelAfterChanged: _, description: we, isExpand: be, parentPropertyID: ke };
458
458
  return o[j] = re, re;
459
459
  });
460
460
  }
461
461
  function d(i, o, u = {}) {
462
462
  const c = {}, r = e[i];
463
463
  return r && r.categories ? Object.keys(r.categories).map((w) => {
464
- const D = r.categories[w], M = D == null ? void 0 : D.title, C = b(D.properties || {}, c, {}, u, o);
465
- return { categoryId: w, categoryName: M, properties: C };
464
+ const T = r.categories[w], M = T == null ? void 0 : T.title, O = b(T.properties || {}, c, {}, u, o);
465
+ return { categoryId: w, categoryName: M, properties: O };
466
466
  }) : [];
467
467
  }
468
468
  function h(i, o, u, c, r = "") {
469
- const s = o.$ref.schema, w = o.$ref.converter, D = u[s], M = D.type, C = n(D), j = {}, T = e[M];
470
- if (T && T.categories) {
471
- const W = T.categories[i], A = W == null ? void 0 : W.title;
469
+ const s = o.$ref.schema, w = o.$ref.converter, T = u[s], M = T.type, O = n(T), j = {}, D = e[M];
470
+ if (D && D.categories) {
471
+ const W = D.categories[i], $ = W == null ? void 0 : W.title;
472
472
  w && Object.keys(W.properties).forEach((F) => {
473
473
  W.properties[F].$converter = w;
474
474
  });
475
- const p = (W == null ? void 0 : W.properties) || {}, N = b(p, j, C, D, c, r);
476
- return { categoryId: i, categoryName: A, properties: N };
475
+ const p = (W == null ? void 0 : W.properties) || {}, N = b(p, j, O, T, c, r);
476
+ return { categoryId: i, categoryName: $, properties: N };
477
477
  }
478
478
  return { categoryId: i, categoryName: "", properties: [] };
479
479
  }
480
480
  function l(i, o, u, c, r) {
481
- const s = i.type, w = n(i), D = {};
481
+ const s = i.type, w = n(i), T = {};
482
482
  let M = r || e[s];
483
483
  if (M && Object.keys(M).length === 0 && u && u.getPropConfig && (M = u.getPropConfig(c)), M && M.categories) {
484
- const C = [];
484
+ const O = [];
485
485
  return Object.keys(M.categories).map((j) => {
486
- const T = M.categories[j];
487
- if (T.$ref) {
488
- C.push(h(j, T, i, o, c));
486
+ const D = M.categories[j];
487
+ if (D.$ref) {
488
+ O.push(h(j, D, i, o, c));
489
489
  return;
490
490
  }
491
- const W = T == null ? void 0 : T.title, A = T == null ? void 0 : T.tabId, p = T == null ? void 0 : T.tabName, N = T == null ? void 0 : T.hide, F = T == null ? void 0 : T.hideTitle, E = b(T.properties || {}, D, w, i, o, c, T.$converter), { setPropertyRelates: S } = T, B = T == null ? void 0 : T.parentPropertyID;
492
- C.push({ categoryId: j, categoryName: W, tabId: A, tabName: p, hide: N, properties: E, hideTitle: F, setPropertyRelates: S, parentPropertyID: B });
493
- }), C;
491
+ const W = D == null ? void 0 : D.title, $ = D == null ? void 0 : D.tabId, p = D == null ? void 0 : D.tabName, N = D == null ? void 0 : D.hide, F = D == null ? void 0 : D.hideTitle, E = b(D.properties || {}, T, w, i, o, c, D.$converter), { setPropertyRelates: S } = D, A = D == null ? void 0 : D.parentPropertyID;
492
+ O.push({ categoryId: j, categoryName: W, tabId: $, tabName: p, hide: N, properties: E, hideTitle: F, setPropertyRelates: S, parentPropertyID: A });
493
+ }), O;
494
494
  }
495
495
  return [];
496
496
  }
@@ -502,7 +502,7 @@ function ue(e, t, n) {
502
502
  }
503
503
  const de = {}, fe = {};
504
504
  ue(de, fe, Se);
505
- const ve = {}, ye = {}, { resolveSchemaWithDefaultValue: Xe } = ie(ve, ye), me = {}, pe = {};
505
+ const ve = {}, ye = {}, { getSchemaByType: Ft, resolveSchemaWithDefaultValue: Xe, resolveSchemaToProps: Ct, mappingSchemaToProps: Ot, setDesignerContext: Nt } = ie(ve, ye), me = {}, pe = {};
506
506
  ue(me, pe, Xe);
507
507
  function Ze(e, t, n = /* @__PURE__ */ new Map(), v = (f, y, P, a) => y, k = {}, g = (f) => f) {
508
508
  return ce[t.title] = t, se[t.title] = v, de[t.title] = k, fe[t.title] = g, ve[t.title] = t, ye[t.title] = v, me[t.title] = k, pe[t.title] = g, (f = {}, y = !0) => {
@@ -686,10 +686,10 @@ function ge() {
686
686
  const { day: u, month: c, year: r } = o;
687
687
  if (u === void 0 || c === void 0 || r === void 0)
688
688
  throw new Error("invalided date.");
689
- const s = u === 1, w = s ? v(c, r) : u - 1, D = s ? c - 1 : c, M = D < 1, C = M ? 12 : D;
689
+ const s = u === 1, w = s ? v(c, r) : u - 1, T = s ? c - 1 : c, M = T < 1, O = M ? 12 : T;
690
690
  return {
691
691
  year: M ? r - 1 : r,
692
- month: C,
692
+ month: O,
693
693
  day: w
694
694
  };
695
695
  }
@@ -697,11 +697,11 @@ function ge() {
697
697
  const { day: u, month: c, year: r } = o;
698
698
  if (u === void 0 || c === void 0 || r === void 0)
699
699
  throw new Error("invalided date.");
700
- const s = n(c, r), w = u === s, D = w ? 1 : u + 1, M = w ? c + 1 : c, C = M > 12, j = C ? 1 : M;
700
+ const s = n(c, r), w = u === s, T = w ? 1 : u + 1, M = w ? c + 1 : c, O = M > 12, j = O ? 1 : M;
701
701
  return {
702
- year: C ? r + 1 : r,
702
+ year: O ? r + 1 : r,
703
703
  month: j,
704
- day: D
704
+ day: T
705
705
  };
706
706
  }
707
707
  function a(o) {
@@ -729,30 +729,30 @@ function ge() {
729
729
  };
730
730
  }
731
731
  function h(o) {
732
- const c = (o.day || 1) + 7, r = n(o.month || 1, o.year || 1), s = c > r, w = s ? c - r : c, D = s ? k(o.month || 1, o.year || 1) : o;
732
+ const c = (o.day || 1) + 7, r = n(o.month || 1, o.year || 1), s = c > r, w = s ? c - r : c, T = s ? k(o.month || 1, o.year || 1) : o;
733
733
  return {
734
734
  day: w,
735
- month: D.month,
736
- year: D.year
735
+ month: T.month,
736
+ year: T.year
737
737
  };
738
738
  }
739
739
  function l(o, u, c, r) {
740
- const s = { day: o, month: u, year: c }, D = f(r) === 0 ? 1 : 0, M = t(s) + D, C = e();
740
+ const s = { day: o, month: u, year: c }, T = f(r) === 0 ? 1 : 0, M = t(s) + T, O = e();
741
741
  let j = y(s);
742
- const T = [];
742
+ const D = [];
743
743
  for (let F = M - 1; F >= 1; F--) {
744
- const E = j.month !== s.month ? G.previous : G.current, S = j.month === u && j.day === C.day && j.month === C.month && j.year === C.year;
745
- T.push({ date: j, monthTag: E, isCurrent: S }), F > 1 && (j = y(j));
744
+ const E = j.month !== s.month ? G.previous : G.current, S = j.month === u && j.day === O.day && j.month === O.month && j.year === O.year;
745
+ D.push({ date: j, monthTag: E, isCurrent: S }), F > 1 && (j = y(j));
746
746
  }
747
747
  let W = P(s);
748
- const A = [];
748
+ const $ = [];
749
749
  for (let F = M + 1; F <= 7; F++) {
750
- const E = j.month !== s.month ? G.next : G.current, S = W.day === C.day && W.month === C.month && W.year === C.year;
751
- A.push({ date: W, monthTag: E, isCurrent: S }), F < 7 && (W = P(W));
750
+ const E = j.month !== s.month ? G.next : G.current, S = W.day === O.day && W.month === O.month && W.year === O.year;
751
+ $.push({ date: W, monthTag: E, isCurrent: S }), F < 7 && (W = P(W));
752
752
  }
753
- const p = o === C.day && u === C.month && c === C.year;
753
+ const p = o === O.day && u === O.month && c === O.year;
754
754
  return {
755
- days: [...T.reverse(), { date: s, monthTag: G.current, isCurrent: p }, ...A],
755
+ days: [...D.reverse(), { date: s, monthTag: G.current, isCurrent: p }, ...$],
756
756
  weekNumber: 0,
757
757
  year: c
758
758
  };
@@ -760,8 +760,8 @@ function ge() {
760
760
  function i(o, u, c) {
761
761
  const r = [], s = n(o, u);
762
762
  for (let w = 1; w <= s; w += 7) {
763
- const D = l(w, o, u, c);
764
- r.push(D);
763
+ const T = l(w, o, u, c);
764
+ r.push(T);
765
765
  }
766
766
  return r;
767
767
  }
@@ -854,7 +854,7 @@ const ne = {
854
854
  props: mt,
855
855
  emits: ["ViewChange", "Previous", "Next", "ResetToToday"],
856
856
  setup(e, t) {
857
- const n = O(e.title), v = O(e.dailyViewTitle), k = O(e.weeklyViewTitle), g = O(e.monthlyViewTitle), f = 2, y = 62, P = O(e.activeView), a = O("Today");
857
+ const n = C(e.title), v = C(e.dailyViewTitle), k = C(e.weeklyViewTitle), g = C(e.monthlyViewTitle), f = 2, y = 62, P = C(e.activeView), a = C("Today");
858
858
  z(() => e.title, () => {
859
859
  n.value = e.title;
860
860
  });
@@ -940,7 +940,7 @@ const X = /* @__PURE__ */ H({
940
940
  props: pt,
941
941
  emits: ["click", "keyDown"],
942
942
  setup(e, t) {
943
- const n = O(e.daysInWeek), v = O(e.enableKeyboadNavigate), k = O(e.enableMarkCurrent), g = O(e.activeDay), f = O(e.events), {
943
+ const n = C(e.daysInWeek), v = C(e.enableKeyboadNavigate), k = C(e.enableMarkCurrent), g = C(e.activeDay), f = C(e.events), {
944
944
  equal: y,
945
945
  sameDay: P
946
946
  } = U(), {
@@ -949,12 +949,12 @@ const X = /* @__PURE__ */ H({
949
949
  function b(c, r) {
950
950
  return c.forEach((s) => {
951
951
  s.days.forEach((w) => {
952
- const D = r.filter((M) => P(M.starts, w.date));
953
- D && D.length && (w.events = [...D]);
952
+ const T = r.filter((M) => P(M.starts, w.date));
953
+ T && T.length && (w.events = [...T]);
954
954
  });
955
955
  }), c;
956
956
  }
957
- const d = O(b(e.dates, f.value));
957
+ const d = C(b(e.dates, f.value));
958
958
  z(() => e.dates, () => {
959
959
  d.value = b(e.dates, f.value);
960
960
  }), z(() => e.activeDay, () => {
@@ -970,10 +970,10 @@ const X = /* @__PURE__ */ H({
970
970
  }, c);
971
971
  }
972
972
  const l = (c, r, s) => {
973
- const D = {
973
+ const T = {
974
974
  "f-datepicker-no-currmonth": c.monthTag === G.previous || c.monthTag === G.next
975
975
  }, M = `d_${r}_${s}`;
976
- return D[M] = !0, D;
976
+ return T[M] = !0, T;
977
977
  }, i = (c) => {
978
978
  const r = c.monthTag === G.current && h(c.date), s = c.isCurrent && k.value;
979
979
  return {
@@ -1001,17 +1001,17 @@ const X = /* @__PURE__ */ H({
1001
1001
  id: `d_${r}_${w}`,
1002
1002
  tabindex: "0",
1003
1003
  class: l(s, r, w),
1004
- onClick: (D) => o(D, s),
1005
- onKeydown: (D) => u(D, s)
1004
+ onClick: (T) => o(T, s),
1005
+ onKeydown: (T) => u(T, s)
1006
1006
  }, [m("div", {
1007
1007
  class: "f-calendar-month-view-title"
1008
1008
  }, [m("div", {
1009
1009
  class: i(s)
1010
1010
  }, [s.date.day]), m("div", {
1011
1011
  class: "f-calendar-month-view-date-month"
1012
- }, [s.date.day === 1 ? ne[s.date.month || 1] : ""])]), s.events && s.events.length && s.events.map((D) => m("div", {
1012
+ }, [s.date.day === 1 ? ne[s.date.month || 1] : ""])]), s.events && s.events.length && s.events.map((T) => m("div", {
1013
1013
  class: "f-calendar-month-view-event-item"
1014
- }, [D.title]))]))]))])])]);
1014
+ }, [T.title]))]))]))])])]);
1015
1015
  }
1016
1016
  }), gt = {
1017
1017
  daysInWeek: { Type: Array, default: Y },
@@ -1023,21 +1023,21 @@ const X = /* @__PURE__ */ H({
1023
1023
  props: gt,
1024
1024
  emits: [],
1025
1025
  setup(e) {
1026
- const t = O(), n = O(), v = O(e.daysInWeek), k = O(e.week), g = O(e.enableMarkCurrent), f = O(e.events), y = O([]), {
1026
+ const t = C(), n = C(), v = C(e.daysInWeek), k = C(e.week), g = C(e.enableMarkCurrent), f = C(e.events), y = C([]), {
1027
1027
  equal: P
1028
1028
  } = U();
1029
1029
  function a(r) {
1030
1030
  return k.value.days.map((w) => {
1031
- const D = {
1031
+ const T = {
1032
1032
  year: w.date.year,
1033
1033
  month: w.date.month,
1034
1034
  day: w.date.day,
1035
1035
  hour: r.hour,
1036
1036
  minute: r.minute,
1037
1037
  second: r.second
1038
- }, M = f.value.filter((C) => P(C.starts, D));
1038
+ }, M = f.value.filter((O) => P(O.starts, T));
1039
1039
  return {
1040
- day: D,
1040
+ day: T,
1041
1041
  events: M
1042
1042
  };
1043
1043
  });
@@ -1049,19 +1049,19 @@ const X = /* @__PURE__ */ H({
1049
1049
  hour: s,
1050
1050
  minute: 0,
1051
1051
  second: 0
1052
- }, D = {
1052
+ }, T = {
1053
1053
  hour: s,
1054
1054
  minute: 30,
1055
1055
  second: 0
1056
- }, M = a(w), C = a(D);
1056
+ }, M = a(w), O = a(T);
1057
1057
  r.push({
1058
1058
  time: w,
1059
1059
  events: M,
1060
1060
  title: s > 0 ? `${s}:00` : "",
1061
1061
  part: "upper"
1062
1062
  }), r.push({
1063
- time: D,
1064
- events: C,
1063
+ time: T,
1064
+ events: O,
1065
1065
  title: `${s}:30`,
1066
1066
  part: "lower"
1067
1067
  });
@@ -1153,7 +1153,7 @@ const X = /* @__PURE__ */ H({
1153
1153
  props: wt,
1154
1154
  emits: [],
1155
1155
  setup(e) {
1156
- const t = O(), n = O(), v = O(e.dayInWeek), k = O(e.day), g = O(e.enableMarkCurrent), f = O(e.events), y = O([]), {
1156
+ const t = C(), n = C(), v = C(e.dayInWeek), k = C(e.day), g = C(e.enableMarkCurrent), f = C(e.events), y = C([]), {
1157
1157
  equal: P
1158
1158
  } = U();
1159
1159
  function a(r) {
@@ -1164,7 +1164,7 @@ const X = /* @__PURE__ */ H({
1164
1164
  hour: r.hour,
1165
1165
  minute: r.minute,
1166
1166
  second: r.second
1167
- }, w = f.value.filter((D) => P(D.starts, s));
1167
+ }, w = f.value.filter((T) => P(T.starts, s));
1168
1168
  return [{
1169
1169
  day: s,
1170
1170
  events: w
@@ -1177,19 +1177,19 @@ const X = /* @__PURE__ */ H({
1177
1177
  hour: s,
1178
1178
  minute: 0,
1179
1179
  second: 0
1180
- }, D = {
1180
+ }, T = {
1181
1181
  hour: s,
1182
1182
  minute: 30,
1183
1183
  second: 0
1184
- }, M = a(w), C = a(D);
1184
+ }, M = a(w), O = a(T);
1185
1185
  r.push({
1186
1186
  time: w,
1187
1187
  events: M,
1188
1188
  title: s > 0 ? `${s}:00` : "",
1189
1189
  part: "upper"
1190
1190
  }), r.push({
1191
- time: D,
1192
- events: C,
1191
+ time: T,
1192
+ events: O,
1193
1193
  title: `${s}:30`,
1194
1194
  part: "lower"
1195
1195
  });
@@ -1280,11 +1280,11 @@ const X = /* @__PURE__ */ H({
1280
1280
  sameDay: t
1281
1281
  } = U(), {
1282
1282
  getToday: n
1283
- } = K(), v = O(e.firstDayOfTheWeek), k = O(e.events), g = n(), f = O({
1283
+ } = K(), v = C(e.firstDayOfTheWeek), k = C(e.events), g = n(), f = C({
1284
1284
  year: g.year || 1,
1285
1285
  month: g.month || 1,
1286
1286
  day: g.day || 1
1287
- }), y = O(3), {
1287
+ }), y = C(3), {
1288
1288
  getMonthlyCalendar: P,
1289
1289
  getWeeklyCalendar: a,
1290
1290
  getPreviousDay: b,
@@ -1296,17 +1296,17 @@ const X = /* @__PURE__ */ H({
1296
1296
  } = ge(), u = V(() => `${ne[f.value.month || 1]} ${f.value.year}`), c = V(() => P(f.value.month || 1, f.value.year || 1, v.value)), r = V(() => a(f.value.day || 1, f.value.month || 1, f.value.year || 1, v.value)), s = V(() => r.value.days.find((p) => t(p.date, f.value)) || r.value.days[1]), w = V(() => {
1297
1297
  const p = r.value.days.findIndex((F) => t(F.date, f.value)), N = p > -1 ? p : 1;
1298
1298
  return Y[N];
1299
- }), D = V(() => y.value === 3), M = V(() => y.value === 2), C = V(() => y.value === 1);
1299
+ }), T = V(() => y.value === 3), M = V(() => y.value === 2), O = V(() => y.value === 1);
1300
1300
  function j(p) {
1301
1301
  y.value = p;
1302
1302
  }
1303
- function T(p) {
1303
+ function D(p) {
1304
1304
  p === 1 && (f.value = b(f.value)), p === 2 && (f.value = h(f.value)), p === 3 && (f.value = i(f.value));
1305
1305
  }
1306
1306
  function W(p) {
1307
1307
  p === 1 && (f.value = d(f.value)), p === 2 && (f.value = l(f.value)), p === 3 && (f.value = o(f.value));
1308
1308
  }
1309
- function A() {
1309
+ function $() {
1310
1310
  f.value = {
1311
1311
  year: g.year || 1,
1312
1312
  month: g.month || 1,
@@ -1319,17 +1319,17 @@ const X = /* @__PURE__ */ H({
1319
1319
  activeView: y.value,
1320
1320
  title: u.value,
1321
1321
  onViewChange: (p) => j(p),
1322
- onPrevious: (p) => T(p),
1322
+ onPrevious: (p) => D(p),
1323
1323
  onNext: (p) => W(p),
1324
- onResetToToday: () => A()
1325
- }, null), m("div", null, [C.value && m(I, {
1324
+ onResetToToday: () => $()
1325
+ }, null), m("div", null, [O.value && m(I, {
1326
1326
  day: s.value,
1327
1327
  dayInWeek: w.value,
1328
1328
  events: k.value
1329
1329
  }, null), M.value && m(Z, {
1330
1330
  week: r.value,
1331
1331
  events: k.value
1332
- }, null), D.value && m(X, {
1332
+ }, null), T.value && m(X, {
1333
1333
  activeDay: f.value,
1334
1334
  dates: c.value,
1335
1335
  events: k.value
@@ -1337,8 +1337,8 @@ const X = /* @__PURE__ */ H({
1337
1337
  }
1338
1338
  });
1339
1339
  function bt(e, t, n) {
1340
- var A;
1341
- const v = "", k = "", g = O();
1340
+ var $;
1341
+ const v = "", k = "", g = C();
1342
1342
  let f;
1343
1343
  function y() {
1344
1344
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
@@ -1357,7 +1357,7 @@ function bt(e, t, n) {
1357
1357
  return null;
1358
1358
  if (p.value.schema && p.value.schema.type === "component")
1359
1359
  return p.value;
1360
- const N = O(p == null ? void 0 : p.value.parent), F = d(N);
1360
+ const N = C(p == null ? void 0 : p.value.parent), F = d(N);
1361
1361
  return F || null;
1362
1362
  }
1363
1363
  function h(p = t) {
@@ -1369,7 +1369,7 @@ function bt(e, t, n) {
1369
1369
  return N.value.canMove || E && ((S = E()) != null && S.length) ? F : h(p.parent);
1370
1370
  }
1371
1371
  function l(p) {
1372
- return !1;
1372
+ return !!n;
1373
1373
  }
1374
1374
  function i() {
1375
1375
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
@@ -1399,24 +1399,24 @@ function bt(e, t, n) {
1399
1399
  E > -1 && F.getExpressions().splice(E, 1);
1400
1400
  }
1401
1401
  }
1402
- function D(p) {
1402
+ function T(p) {
1403
1403
  if (!p || !(t != null && t.schema))
1404
1404
  return;
1405
1405
  const N = t.schema, { formSchemaUtils: F } = p;
1406
1406
  F.removeCommunicationInComponent(N);
1407
1407
  }
1408
1408
  function M(p) {
1409
- w(p), D(p), t != null && t.schema.contents && t.schema.contents.map((N) => {
1409
+ w(p), T(p), t != null && t.schema.contents && t.schema.contents.map((N) => {
1410
1410
  let F = N.id;
1411
1411
  N.type === "component-ref" && (F = N.component);
1412
1412
  const E = e.value.querySelectorAll(`#${F}-design-item`);
1413
1413
  E != null && E.length && Array.from(E).map((S) => {
1414
- var B;
1415
- (B = S == null ? void 0 : S.componentInstance) != null && B.value.onRemoveComponent && S.componentInstance.value.onRemoveComponent(p);
1414
+ var A;
1415
+ (A = S == null ? void 0 : S.componentInstance) != null && A.value.onRemoveComponent && S.componentInstance.value.onRemoveComponent(p);
1416
1416
  });
1417
1417
  });
1418
1418
  }
1419
- function C() {
1419
+ function O() {
1420
1420
  }
1421
1421
  function j(p) {
1422
1422
  var F, E;
@@ -1425,30 +1425,30 @@ function bt(e, t, n) {
1425
1425
  !f && p && (f = p.formSchemaUtils);
1426
1426
  let N = "";
1427
1427
  {
1428
- const { text: S, title: B, label: R, mainTitle: $, name: q, type: _ } = t.schema;
1429
- N = S || B || R || $ || q || ((E = le[_]) == null ? void 0 : E.name);
1428
+ const { text: S, title: A, label: R, mainTitle: B, name: x, type: _ } = t.schema;
1429
+ N = S || A || R || B || x || ((E = le[_]) == null ? void 0 : E.name);
1430
1430
  }
1431
1431
  N && f.getControlBasicInfoMap().set(t.schema.id, {
1432
1432
  componentTitle: N,
1433
1433
  parentPathName: N
1434
1434
  });
1435
1435
  }
1436
- function T(p) {
1436
+ function D(p) {
1437
1437
  var S;
1438
1438
  const { changeObject: N } = p, { propertyID: F, propertyValue: E } = N;
1439
1439
  if (["text", "title", "label", "name", "mainTitle"].includes((S = p == null ? void 0 : p.changeObject) == null ? void 0 : S.propertyID) && F && E && (j(), f)) {
1440
- const B = f.getControlBasicInfoMap(), R = B.keys().toArray().filter(($) => {
1441
- var q, _;
1442
- return ((q = B.get($)) == null ? void 0 : q.reliedComponentId) === ((_ = t == null ? void 0 : t.schema) == null ? void 0 : _.id);
1440
+ const A = f.getControlBasicInfoMap(), R = A.keys().toArray().filter((B) => {
1441
+ var x, _;
1442
+ return ((x = A.get(B)) == null ? void 0 : x.reliedComponentId) === ((_ = t == null ? void 0 : t.schema) == null ? void 0 : _.id);
1443
1443
  });
1444
- R != null && R.length && R.forEach(($) => {
1445
- const q = B.get($).parentPathName.split(" > ");
1446
- q[0] = E, B.get($).parentPathName = q.join(" > ");
1444
+ R != null && R.length && R.forEach((B) => {
1445
+ const x = A.get(B).parentPathName.split(" > ");
1446
+ x[0] = E, A.get(B).parentPathName = x.join(" > ");
1447
1447
  });
1448
1448
  }
1449
1449
  }
1450
1450
  function W(p) {
1451
- T(p);
1451
+ D(p);
1452
1452
  }
1453
1453
  return g.value = {
1454
1454
  canMove: y(),
@@ -1457,7 +1457,7 @@ function bt(e, t, n) {
1457
1457
  canNested: !b(),
1458
1458
  contents: t == null ? void 0 : t.schema.contents,
1459
1459
  elementRef: e,
1460
- parent: (A = t == null ? void 0 : t.parent) == null ? void 0 : A.componentInstance,
1460
+ parent: ($ = t == null ? void 0 : t.parent) == null ? void 0 : $.componentInstance,
1461
1461
  schema: t == null ? void 0 : t.schema,
1462
1462
  styles: v,
1463
1463
  designerClass: k,
@@ -1470,10 +1470,10 @@ function bt(e, t, n) {
1470
1470
  onAcceptMovedChildElement: u,
1471
1471
  onChildElementMovedOut: r,
1472
1472
  addNewChildComponentSchema: c,
1473
- triggerBelongedComponentToMoveWhenMoved: O(!1),
1474
- triggerBelongedComponentToDeleteWhenDeleted: O(!1),
1473
+ triggerBelongedComponentToMoveWhenMoved: C(!1),
1474
+ triggerBelongedComponentToDeleteWhenDeleted: C(!1),
1475
1475
  onRemoveComponent: M,
1476
- getCustomButtons: C,
1476
+ getCustomButtons: O,
1477
1477
  onPropertyChanged: W,
1478
1478
  setComponentBasicInfoMap: j,
1479
1479
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
@@ -1488,11 +1488,11 @@ const kt = /* @__PURE__ */ H({
1488
1488
  sameDay: n
1489
1489
  } = U(), {
1490
1490
  getToday: v
1491
- } = K(), k = O(e.firstDayOfTheWeek), g = O(e.events), f = v(), y = O({
1491
+ } = K(), k = C(e.firstDayOfTheWeek), g = C(e.events), f = v(), y = C({
1492
1492
  year: f.year || 1,
1493
1493
  month: f.month || 1,
1494
1494
  day: f.day || 1
1495
- }), P = O(3), a = O(), b = Te("design-item-context"), d = bt(a, b);
1495
+ }), P = C(3), a = C(), b = De("design-item-context"), d = bt(a, b);
1496
1496
  ee(() => {
1497
1497
  a.value.componentInstance = d;
1498
1498
  }), t.expose(d.value);
@@ -1505,10 +1505,10 @@ const kt = /* @__PURE__ */ H({
1505
1505
  getDayInNextWeek: c,
1506
1506
  getDayInPreviousMonth: r,
1507
1507
  getDayInNextMonth: s
1508
- } = ge(), w = V(() => `${ne[y.value.month || 1]} ${y.value.year}`), D = V(() => h(y.value.month || 1, y.value.year || 1, k.value)), M = V(() => l(y.value.day || 1, y.value.month || 1, y.value.year || 1, k.value)), C = V(() => M.value.days.find((S) => n(S.date, y.value)) || M.value.days[1]), j = V(() => {
1509
- const S = M.value.days.findIndex((R) => n(R.date, y.value)), B = S > -1 ? S : 1;
1510
- return Y[B];
1511
- }), T = V(() => P.value === 3), W = V(() => P.value === 2), A = V(() => P.value === 1);
1508
+ } = ge(), w = V(() => `${ne[y.value.month || 1]} ${y.value.year}`), T = V(() => h(y.value.month || 1, y.value.year || 1, k.value)), M = V(() => l(y.value.day || 1, y.value.month || 1, y.value.year || 1, k.value)), O = V(() => M.value.days.find((S) => n(S.date, y.value)) || M.value.days[1]), j = V(() => {
1509
+ const S = M.value.days.findIndex((R) => n(R.date, y.value)), A = S > -1 ? S : 1;
1510
+ return Y[A];
1511
+ }), D = V(() => P.value === 3), W = V(() => P.value === 2), $ = V(() => P.value === 1);
1512
1512
  function p(S) {
1513
1513
  P.value = S;
1514
1514
  }
@@ -1535,16 +1535,16 @@ const kt = /* @__PURE__ */ H({
1535
1535
  onPrevious: (S) => N(S),
1536
1536
  onNext: (S) => F(S),
1537
1537
  onResetToToday: () => E()
1538
- }, null), m("div", null, [A.value && m(I, {
1539
- day: C.value,
1538
+ }, null), m("div", null, [$.value && m(I, {
1539
+ day: O.value,
1540
1540
  dayInWeek: j.value,
1541
1541
  events: g.value
1542
1542
  }, null), W.value && m(Z, {
1543
1543
  week: M.value,
1544
1544
  events: g.value
1545
- }, null), T.value && m(X, {
1545
+ }, null), D.value && m(X, {
1546
1546
  activeDay: y.value,
1547
- dates: D.value,
1547
+ dates: T.value,
1548
1548
  events: g.value
1549
1549
  }, null)])]);
1550
1550
  }