@farris/ui-vue 1.2.9 → 1.3.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 (287) hide show
  1. package/components/accordion/index.esm.js +64 -64
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +521 -336
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.css +1 -1
  6. package/components/button-edit/index.esm.js +99 -97
  7. package/components/button-edit/index.umd.cjs +1 -1
  8. package/components/calendar/index.esm.js +496 -504
  9. package/components/calendar/index.umd.cjs +1 -1
  10. package/components/capsule/index.esm.js +251 -259
  11. package/components/capsule/index.umd.cjs +1 -1
  12. package/components/checkbox/index.esm.js +696 -519
  13. package/components/checkbox/index.umd.cjs +1 -1
  14. package/components/color-picker/index.esm.js +368 -376
  15. package/components/color-picker/index.umd.cjs +2 -2
  16. package/components/combo-list/index.css +1 -0
  17. package/components/combo-list/index.esm.js +1141 -340
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +116 -116
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +986 -798
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +463 -998
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.css +1 -0
  26. package/components/condition/index.esm.js +2233 -1057
  27. package/components/condition/index.umd.cjs +1 -1
  28. package/components/content-container/index.esm.js +335 -1002
  29. package/components/content-container/index.umd.cjs +1 -1
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +6193 -4702
  32. package/components/data-grid/index.umd.cjs +1 -1
  33. package/components/data-view/index.css +1 -0
  34. package/components/data-view/index.esm.js +4562 -3294
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.css +1 -1
  37. package/components/date-picker/index.esm.js +3420 -2623
  38. package/components/date-picker/index.umd.cjs +1 -1
  39. package/components/designer-canvas/index.css +1 -1
  40. package/components/designer-canvas/index.esm.js +914 -883
  41. package/components/designer-canvas/index.umd.cjs +1 -1
  42. package/components/designer-outline/index.esm.js +14 -13
  43. package/components/designer-outline/index.umd.cjs +1 -1
  44. package/components/dropdown/index.esm.js +204 -212
  45. package/components/dropdown/index.umd.cjs +2 -2
  46. package/components/dynamic-form/index.css +1 -0
  47. package/components/dynamic-form/index.esm.js +2795 -1835
  48. package/components/dynamic-form/index.umd.cjs +1 -1
  49. package/components/dynamic-resolver/index.esm.js +180 -130
  50. package/components/dynamic-resolver/index.umd.cjs +1 -1
  51. package/components/dynamic-view/index.esm.js +303 -290
  52. package/components/dynamic-view/index.umd.cjs +1 -1
  53. package/components/events-editor/index.esm.js +328 -336
  54. package/components/events-editor/index.umd.cjs +1 -1
  55. package/components/expression-editor/index.esm.js +65 -65
  56. package/components/expression-editor/index.umd.cjs +1 -1
  57. package/components/external-container/index.css +1 -1
  58. package/components/external-container/index.esm.js +3349 -3626
  59. package/components/external-container/index.umd.cjs +1 -1
  60. package/components/field-selector/index.css +1 -1
  61. package/components/field-selector/index.esm.js +5344 -8588
  62. package/components/field-selector/index.umd.cjs +1 -1
  63. package/components/filter-bar/index.css +1 -1
  64. package/components/filter-bar/index.esm.js +2179 -2227
  65. package/components/filter-bar/index.umd.cjs +1 -1
  66. package/components/flow-canvas/index.css +1 -1
  67. package/components/flow-canvas/index.esm.js +684 -675
  68. package/components/flow-canvas/index.umd.cjs +1 -1
  69. package/components/image-cropper/index.esm.js +482 -490
  70. package/components/image-cropper/index.umd.cjs +1 -1
  71. package/components/input-group/index.esm.js +746 -569
  72. package/components/input-group/index.umd.cjs +1 -1
  73. package/components/layout/index.esm.js +409 -385
  74. package/components/layout/index.umd.cjs +1 -1
  75. package/components/list-nav/index.esm.js +348 -1019
  76. package/components/list-nav/index.umd.cjs +1 -1
  77. package/components/list-view/index.css +1 -1
  78. package/components/list-view/index.esm.js +3606 -2388
  79. package/components/list-view/index.umd.cjs +1 -1
  80. package/components/lookup/index.css +1 -1
  81. package/components/lookup/index.esm.js +10871 -8970
  82. package/components/lookup/index.umd.cjs +1 -1
  83. package/components/mapping-editor/index.css +1 -1
  84. package/components/mapping-editor/index.esm.js +6019 -5631
  85. package/components/mapping-editor/index.umd.cjs +1 -1
  86. package/components/message-box/index.css +1 -1
  87. package/components/message-box/index.esm.js +511 -471
  88. package/components/message-box/index.umd.cjs +1 -1
  89. package/components/modal/index.css +1 -1
  90. package/components/modal/index.esm.js +438 -398
  91. package/components/modal/index.umd.cjs +1 -1
  92. package/components/nav/index.esm.js +912 -1281
  93. package/components/nav/index.umd.cjs +3 -3
  94. package/components/notify/index.esm.js +59 -53
  95. package/components/notify/index.umd.cjs +1 -1
  96. package/components/number-range/index.esm.js +660 -484
  97. package/components/number-range/index.umd.cjs +1 -1
  98. package/components/number-spinner/index.esm.js +682 -506
  99. package/components/number-spinner/index.umd.cjs +1 -1
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1848 -1658
  102. package/components/order/index.umd.cjs +1 -1
  103. package/components/page-footer/index.esm.js +100 -100
  104. package/components/page-footer/index.umd.cjs +1 -1
  105. package/components/page-header/index.esm.js +1120 -1923
  106. package/components/page-header/index.umd.cjs +1 -1
  107. package/components/pagination/index.esm.js +875 -1214
  108. package/components/pagination/index.umd.cjs +1 -1
  109. package/components/popover/index.esm.js +71 -70
  110. package/components/popover/index.umd.cjs +1 -1
  111. package/components/progress/index.esm.js +229 -237
  112. package/components/progress/index.umd.cjs +3 -3
  113. package/components/property-editor/index.css +1 -1
  114. package/components/property-editor/index.esm.js +2314 -1521
  115. package/components/property-editor/index.umd.cjs +3 -3
  116. package/components/property-panel/index.esm.js +867 -868
  117. package/components/property-panel/index.umd.cjs +1 -1
  118. package/components/query-solution/index.css +1 -1
  119. package/components/query-solution/index.esm.js +4332 -3623
  120. package/components/query-solution/index.umd.cjs +1 -1
  121. package/components/radio-button/index.esm.js +72 -72
  122. package/components/radio-button/index.umd.cjs +1 -1
  123. package/components/radio-group/index.esm.js +613 -437
  124. package/components/radio-group/index.umd.cjs +1 -1
  125. package/components/rate/index.esm.js +255 -263
  126. package/components/rate/index.umd.cjs +1 -1
  127. package/components/response-layout/index.esm.js +144 -152
  128. package/components/response-layout/index.umd.cjs +1 -1
  129. package/components/response-layout-editor/index.css +1 -1
  130. package/components/response-layout-editor/index.esm.js +1101 -1038
  131. package/components/response-layout-editor/index.umd.cjs +1 -1
  132. package/components/response-toolbar/index.esm.js +935 -1750
  133. package/components/response-toolbar/index.umd.cjs +1 -1
  134. package/components/schema-selector/index.css +1 -1
  135. package/components/schema-selector/index.esm.js +5264 -5677
  136. package/components/schema-selector/index.umd.cjs +2 -2
  137. package/components/search-box/index.esm.js +151 -154
  138. package/components/search-box/index.umd.cjs +1 -1
  139. package/components/section/index.esm.js +438 -1125
  140. package/components/section/index.umd.cjs +1 -1
  141. package/components/smoke-detector/index.esm.js +93 -101
  142. package/components/smoke-detector/index.umd.cjs +1 -1
  143. package/components/splitter/index.esm.js +563 -1202
  144. package/components/splitter/index.umd.cjs +1 -1
  145. package/components/splitter/style.js +2 -0
  146. package/components/step/index.esm.js +248 -256
  147. package/components/step/index.umd.cjs +1 -1
  148. package/components/switch/index.esm.js +549 -373
  149. package/components/switch/index.umd.cjs +1 -1
  150. package/components/tabs/index.css +1 -1
  151. package/components/tabs/index.esm.js +2436 -3110
  152. package/components/tabs/index.umd.cjs +1 -1
  153. package/components/tags/index.esm.js +328 -336
  154. package/components/tags/index.umd.cjs +1 -1
  155. package/components/text/index.esm.js +339 -347
  156. package/components/text/index.umd.cjs +1 -1
  157. package/components/textarea/index.esm.js +554 -378
  158. package/components/textarea/index.umd.cjs +1 -1
  159. package/components/time-picker/index.css +1 -1
  160. package/components/time-picker/index.esm.js +1322 -1144
  161. package/components/time-picker/index.umd.cjs +1 -1
  162. package/components/transfer/index.css +1 -1
  163. package/components/transfer/index.esm.js +537 -543
  164. package/components/transfer/index.umd.cjs +1 -1
  165. package/components/tree-grid/index.css +1 -1
  166. package/components/tree-grid/index.esm.js +5113 -9426
  167. package/components/tree-grid/index.umd.cjs +1 -1
  168. package/components/tree-view/index.css +1 -0
  169. package/components/tree-view/index.esm.js +3900 -2677
  170. package/components/tree-view/index.umd.cjs +1 -1
  171. package/components/uploader/index.esm.js +568 -570
  172. package/components/uploader/index.umd.cjs +2 -2
  173. package/components/verify-detail/index.esm.js +266 -274
  174. package/components/verify-detail/index.umd.cjs +1 -1
  175. package/components/video/index.esm.js +553 -1052
  176. package/components/video/index.umd.cjs +1 -1
  177. package/components/weather/index.esm.js +558 -566
  178. package/components/weather/index.umd.cjs +5 -5
  179. package/farris.all.esm.js +22009 -22688
  180. package/farris.all.umd.cjs +9 -9
  181. package/index.css +1 -1
  182. package/package.json +1 -1
  183. package/types/capsule/src/capsule.props.d.ts +2 -2
  184. package/types/combo-list/src/components/list-container.component.d.ts +0 -3
  185. package/types/combo-list/src/components/list-container.props.d.ts +0 -4
  186. package/types/common/directive/area-response.d.ts +10 -0
  187. package/types/common/index.d.ts +9 -0
  188. package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
  189. package/types/common/types.d.ts +1 -1
  190. package/types/common/utils/encrypt.d.ts +2 -0
  191. package/types/common/utils/resolve-field.d.ts +2 -0
  192. package/types/common/utils/use-class.d.ts +7 -0
  193. package/types/component/src/component.props.d.ts +7 -0
  194. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  195. package/types/component/src/property-config/component.property-config.d.ts +9 -0
  196. package/types/components.d.ts +1 -0
  197. package/types/condition/src/types.d.ts +2 -1
  198. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
  199. package/types/data-grid/index.d.ts +11 -5
  200. package/types/data-grid/src/data-grid.component.d.ts +4 -2
  201. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  202. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  203. package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
  204. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  205. package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
  206. package/types/data-view/composition/types.d.ts +19 -4
  207. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
  208. package/types/designer-canvas/index.d.ts +2 -1
  209. package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
  210. package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
  211. package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
  212. package/types/designer-canvas/src/composition/types.d.ts +2 -3
  213. package/types/designer-canvas/src/types.d.ts +2 -1
  214. package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
  215. package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
  216. package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
  217. package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
  218. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +1 -1
  219. package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
  220. package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
  221. package/types/dynamic-form/src/schema/schema-resolver.d.ts +1 -0
  222. package/types/dynamic-form/src/types.d.ts +12 -1
  223. package/types/dynamic-resolver/index.d.ts +1 -0
  224. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
  225. package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
  226. package/types/dynamic-resolver/src/types.d.ts +9 -0
  227. package/types/dynamic-view/index.d.ts +1 -0
  228. package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
  229. package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
  230. package/types/index.d.ts +2 -0
  231. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
  232. package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
  233. package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
  234. package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
  235. package/types/lookup/src/components/modal-container.component.d.ts +25 -0
  236. package/types/lookup/src/components/modal-container.props.d.ts +29 -0
  237. package/types/lookup/src/composition/types.d.ts +8 -0
  238. package/types/lookup/src/composition/use-check-props.d.ts +9 -2
  239. package/types/lookup/src/composition/use-dialog.d.ts +5 -1
  240. package/types/lookup/src/composition/use-favorite.d.ts +12 -0
  241. package/types/lookup/src/composition/use-http.d.ts +9 -5
  242. package/types/lookup/src/composition/use-input-change.d.ts +3 -0
  243. package/types/lookup/src/composition/use-user-data.d.ts +24 -0
  244. package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
  245. package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
  246. package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
  247. package/types/modal/src/composition/use-draggable.d.ts +2 -1
  248. package/types/modal/src/composition/use-shortcut.d.ts +6 -0
  249. package/types/modal/src/modal.component.d.ts +3 -0
  250. package/types/modal/src/modal.props.d.ts +4 -0
  251. package/types/page-header/src/page-header.props.d.ts +1 -0
  252. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
  253. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
  254. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
  255. package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
  256. package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
  257. package/types/property-panel/index.d.ts +2 -1
  258. package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
  259. package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
  260. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
  261. package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
  262. package/types/{data-grid/src/designer/use-group-column.d.ts → query-solution/src/designer/query-solution-config/composition/use-property.d.ts} +4 -5
  263. package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
  264. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
  265. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
  266. package/types/query-solution/src/solutions.d.ts +108 -509
  267. package/types/response-layout-editor/index.d.ts +3 -1
  268. package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
  269. package/types/response-layout-editor/src/type.d.ts +21 -0
  270. package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
  271. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
  272. package/types/section/src/designer/use-designer-rules.d.ts +3 -3
  273. package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
  274. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
  275. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
  276. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
  277. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
  278. package/types/tabs/src/tabs.props.d.ts +1 -0
  279. package/types/tree-grid/index.d.ts +8 -2
  280. package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
  281. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  282. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  283. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  284. package/types/modal/src/composition/use-esc.d.ts +0 -1
  285. package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
  286. package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
  287. package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
@@ -1,7 +1,7 @@
1
- import { defineComponent as F, ref as y, watch as D, computed as S, onMounted as P, createVNode as w, nextTick as T, inject as H } from "vue";
2
- import { cloneDeep as Q } from "lodash-es";
3
- import { withInstall as U } from "../common/index.esm.js";
4
- const X = "https://json-schema.org/draft/2020-12/schema", Y = "https://farris-design.gitee.io/capsule.schema.json", Z = "capsule", I = "A Farris Component", K = "object", x = {
1
+ import { defineComponent as N, ref as m, watch as D, computed as V, onMounted as P, createVNode as M, nextTick as T, inject as Q } from "vue";
2
+ import { isPlainObject as L, cloneDeep as U } from "lodash-es";
3
+ import { withInstall as X } from "../common/index.esm.js";
4
+ const Y = "https://json-schema.org/draft/2020-12/schema", Z = "https://farris-design.gitee.io/capsule.schema.json", I = "capsule", K = "A Farris Component", x = "object", ee = {
5
5
  id: {
6
6
  description: "The unique identifier for a capsule",
7
7
  type: "string"
@@ -63,126 +63,126 @@ const X = "https://json-schema.org/draft/2020-12/schema", Y = "https://farris-de
63
63
  type: "boolean",
64
64
  default: !0
65
65
  }
66
- }, ee = [
66
+ }, te = [
67
67
  "id",
68
68
  "type"
69
- ], te = {
70
- $schema: X,
71
- $id: Y,
72
- title: Z,
73
- description: I,
74
- type: K,
75
- properties: x,
76
- required: ee
69
+ ], ne = {
70
+ $schema: Y,
71
+ $id: Z,
72
+ title: I,
73
+ description: K,
74
+ type: x,
75
+ properties: ee,
76
+ required: te
77
77
  }, q = {}, _ = {};
78
- function W(n) {
79
- const { properties: e, title: u, ignore: l } = n, c = l && Array.isArray(l), o = Object.keys(e).reduce((i, g) => ((!c || !l.find((O) => O == g)) && (i[g] = e[g].type === "object" && e[g].properties ? W(e[g]) : Q(e[g].default)), i), {});
80
- return (!c || !l.find((i) => i == "id")) && (o.id = `${u}-${Date.now()}`), o;
78
+ function F(n) {
79
+ const { properties: e, title: r, ignore: a } = n, s = a && Array.isArray(a), o = Object.keys(e).reduce((p, h) => ((!s || !a.find((O) => O == h)) && (p[h] = e[h].type === "object" && e[h].properties ? F(e[h]) : U(e[h].default)), p), {});
80
+ return r && (!s || !a.find((p) => p == "id")) && (o.id = `${r}-${Date.now()}`), o;
81
81
  }
82
- function N(n, e = {}, u) {
83
- const l = q[n];
84
- if (l) {
85
- let c = W(l);
82
+ function z(n, e = {}, r) {
83
+ const a = q[n];
84
+ if (a) {
85
+ let s = F(a);
86
86
  const o = _[n];
87
- return c = o ? o({ getSchemaByType: N }, c, e, u) : c, c;
87
+ return s = o ? o({ getSchemaByType: z }, s, e, r) : s, s;
88
88
  }
89
89
  return null;
90
90
  }
91
- function ne(n, e) {
92
- const u = W(e);
93
- return Object.keys(n).reduce((l, c) => (l[c] && typeof l[c] == "object" ? Object.assign(l[c], n[c]) : l[c] = n[c], l), u), u;
94
- }
95
91
  function ae(n, e) {
96
- return Object.keys(n).filter((l) => n[l] != null).reduce((l, c) => {
97
- if (e.has(c)) {
98
- const o = e.get(c);
92
+ const r = F(e);
93
+ return Object.keys(n).reduce((a, s) => (a[s] && L(a[s]) && L(n[s]) ? Object.assign(a[s], n[s]) : a[s] = n[s], a), r), r;
94
+ }
95
+ function le(n, e) {
96
+ return Object.keys(n).filter((a) => n[a] != null).reduce((a, s) => {
97
+ if (e.has(s)) {
98
+ const o = e.get(s);
99
99
  if (typeof o == "string")
100
- l[o] = n[c];
100
+ a[o] = n[s];
101
101
  else {
102
- const i = o(c, n[c], n);
103
- Object.assign(l, i);
102
+ const p = o(s, n[s], n);
103
+ Object.assign(a, p);
104
104
  }
105
105
  } else
106
- l[c] = n[c];
107
- return l;
106
+ a[s] = n[s];
107
+ return a;
108
108
  }, {});
109
109
  }
110
- function le(n, e, u = /* @__PURE__ */ new Map()) {
111
- const l = ne(n, e);
112
- return ae(l, u);
110
+ function se(n, e, r = /* @__PURE__ */ new Map()) {
111
+ const a = ae(n, e);
112
+ return le(a, r);
113
113
  }
114
- function se(n = {}) {
115
- function e(r, f, p, d) {
116
- if (typeof p == "number")
117
- return d[r].length === p;
118
- if (typeof p == "object") {
119
- const h = Object.keys(p)[0], b = p[h];
120
- if (h === "not")
121
- return Number(d[r].length) !== Number(b);
122
- if (h === "moreThan")
123
- return Number(d[r].length) >= Number(b);
124
- if (h === "lessThan")
125
- return Number(d[r].length) <= Number(b);
114
+ function ce(n = {}) {
115
+ function e(c, f, i, d) {
116
+ if (typeof i == "number")
117
+ return d[c].length === i;
118
+ if (typeof i == "object") {
119
+ const y = Object.keys(i)[0], g = i[y];
120
+ if (y === "not")
121
+ return Number(d[c].length) !== Number(g);
122
+ if (y === "moreThan")
123
+ return Number(d[c].length) >= Number(g);
124
+ if (y === "lessThan")
125
+ return Number(d[c].length) <= Number(g);
126
126
  }
127
127
  return !1;
128
128
  }
129
- function u(r, f, p, d) {
130
- return d[r] && d[r].propertyValue && String(d[r].propertyValue.value) === String(p);
129
+ function r(c, f, i, d) {
130
+ return d[c] && d[c].propertyValue && String(d[c].propertyValue.value) === String(i);
131
131
  }
132
- const l = /* @__PURE__ */ new Map([
132
+ const a = /* @__PURE__ */ new Map([
133
133
  ["length", e],
134
- ["getProperty", u]
134
+ ["getProperty", r]
135
135
  ]);
136
- Object.keys(n).reduce((r, f) => (r.set(f, n[f]), r), l);
137
- function c(r, f) {
138
- const p = r;
139
- return typeof f == "number" ? [{ target: p, operator: "length", param: null, value: Number(f) }] : typeof f == "boolean" ? [{ target: p, operator: "getProperty", param: r, value: !!f }] : typeof f == "object" ? Object.keys(f).map((d) => {
136
+ Object.keys(n).reduce((c, f) => (c.set(f, n[f]), c), a);
137
+ function s(c, f) {
138
+ const i = c;
139
+ return typeof f == "number" ? [{ target: i, operator: "length", param: null, value: Number(f) }] : typeof f == "boolean" ? [{ target: i, operator: "getProperty", param: c, value: !!f }] : typeof f == "object" ? Object.keys(f).map((d) => {
140
140
  if (d === "length")
141
- return { target: p, operator: "length", param: null, value: f[d] };
142
- const h = d, b = f[d];
143
- return { target: p, operator: "getProperty", param: h, value: b };
141
+ return { target: i, operator: "length", param: null, value: f[d] };
142
+ const y = d, g = f[d];
143
+ return { target: i, operator: "getProperty", param: y, value: g };
144
144
  }) : [];
145
145
  }
146
- function o(r) {
147
- return Object.keys(r).reduce((p, d) => {
148
- const h = c(d, r[d]);
149
- return p.push(...h), p;
146
+ function o(c) {
147
+ return Object.keys(c).reduce((i, d) => {
148
+ const y = s(d, c[d]);
149
+ return i.push(...y), i;
150
150
  }, []);
151
151
  }
152
- function i(r, f) {
153
- if (l.has(r.operator)) {
154
- const p = l.get(r.operator);
155
- return p && p(r.target, r.param, r.value, f) || !1;
152
+ function p(c, f) {
153
+ if (a.has(c.operator)) {
154
+ const i = a.get(c.operator);
155
+ return i && i(c.target, c.param, c.value, f) || !1;
156
156
  }
157
157
  return !1;
158
158
  }
159
- function g(r, f) {
160
- return o(r).reduce((h, b) => h && i(b, f), !0);
159
+ function h(c, f) {
160
+ return o(c).reduce((y, g) => y && p(g, f), !0);
161
161
  }
162
- function O(r, f) {
163
- const p = Object.keys(r), d = p.includes("allOf"), h = p.includes("anyOf"), b = d || h, V = (b ? r[b ? d ? "allOf" : "anyOf" : "allOf"] : [r]).map((C) => g(C, f));
164
- return d ? !V.includes(!1) : V.includes(!0);
162
+ function O(c, f) {
163
+ const i = Object.keys(c), d = i.includes("allOf"), y = i.includes("anyOf"), g = d || y, S = (g ? c[g ? d ? "allOf" : "anyOf" : "allOf"] : [c]).map((E) => h(E, f));
164
+ return d ? !S.includes(!1) : S.includes(!0);
165
165
  }
166
166
  return { parseValueSchema: O };
167
167
  }
168
- const ce = {}, re = {};
169
- se();
170
- function ue(n, e, u = /* @__PURE__ */ new Map(), l = (i, g, O) => g, c = {}, o = (i) => i) {
171
- return q[e.title] = e, _[e.title] = l, ce[e.title] = c, re[e.title] = o, (i = {}) => {
172
- const g = le(i, e, u), O = Object.keys(n).reduce((r, f) => (r[f] = n[f].default, r), {});
173
- return Object.assign(O, g);
168
+ const ue = {}, re = {};
169
+ ce();
170
+ function oe(n, e, r = /* @__PURE__ */ new Map(), a = (p, h, O) => h, s = {}, o = (p) => p) {
171
+ return q[e.title] = e, _[e.title] = a, ue[e.title] = s, re[e.title] = o, (p = {}) => {
172
+ const h = se(p, e, r), O = Object.keys(n).reduce((c, f) => (c[f] = n[f].default, c), {});
173
+ return Object.assign(O, h);
174
174
  };
175
175
  }
176
- function oe(n, e) {
176
+ function ie(n, e) {
177
177
  return { customClass: e.class, customStyle: e.style };
178
178
  }
179
- const ie = /* @__PURE__ */ new Map([
180
- ["appearance", oe]
179
+ const pe = /* @__PURE__ */ new Map([
180
+ ["appearance", ie]
181
181
  ]);
182
- function pe(n, e, u) {
182
+ function fe(n, e, r) {
183
183
  return e;
184
184
  }
185
- const fe = "capsule", de = "A Farris Component", ve = "object", me = {
185
+ const de = "capsule", ve = "A Farris Component", me = "object", ye = {
186
186
  basic: {
187
187
  description: "Basic Infomation",
188
188
  title: "基本信息",
@@ -204,12 +204,12 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
204
204
  }
205
205
  }
206
206
  }
207
- }, ye = {
208
- title: fe,
209
- description: de,
210
- type: ve,
211
- categories: me
212
- }, L = {
207
+ }, he = {
208
+ title: de,
209
+ description: ve,
210
+ type: me,
211
+ categories: ye
212
+ }, W = {
213
213
  items: {
214
214
  Type: Array,
215
215
  default: [
@@ -222,7 +222,7 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
222
222
  */
223
223
  modelValue: { type: String, default: "" },
224
224
  type: { type: String, default: "primary" }
225
- }, he = {
225
+ }, ge = {
226
226
  name: { type: String, default: "" },
227
227
  value: { type: String, default: "" },
228
228
  isActive: { type: Boolean, default: !1 },
@@ -230,292 +230,284 @@ const fe = "capsule", de = "A Farris Component", ve = "object", me = {
230
230
  index: { type: Number, default: 0 },
231
231
  show: { type: Boolean, default: !0 },
232
232
  disabled: { type: Boolean, default: !1 }
233
- }, J = ue(L, te, ie, pe, ye), z = /* @__PURE__ */ F({
233
+ }, G = oe(W, ne, pe, fe, he), H = /* @__PURE__ */ N({
234
234
  name: "FCapsuleItem",
235
- props: he,
235
+ props: ge,
236
236
  emits: ["mounted", "active"],
237
237
  setup(n, e) {
238
- const u = y(), l = y(n.isActive);
239
- D(() => n.isActive, (i) => {
240
- l.value = i;
238
+ const r = m(), a = m(n.isActive);
239
+ D(() => n.isActive, (p) => {
240
+ a.value = p;
241
241
  });
242
- const c = S(() => ({
242
+ const s = V(() => ({
243
243
  "f-capsule-item": !0,
244
- "f-capsule-active-item": l.value,
244
+ "f-capsule-active-item": a.value,
245
245
  "f-capsule-disabled": n.disabled
246
246
  }));
247
247
  P(() => {
248
- e.emit("mounted", u, n.value);
248
+ e.emit("mounted", r, n.value);
249
249
  });
250
- function o(i) {
251
- n.disabled || e.emit("active", i, {
250
+ function o(p) {
251
+ n.disabled || e.emit("active", p, {
252
252
  name: n.name,
253
253
  value: n.value
254
254
  });
255
255
  }
256
- return () => w("div", {
257
- ref: u,
258
- class: c.value,
259
- onClick: (i) => o(i)
260
- }, [n.icon && w("i", {
256
+ return () => M("div", {
257
+ ref: r,
258
+ class: s.value,
259
+ onClick: (p) => o(p)
260
+ }, [n.icon && M("i", {
261
261
  class: n.icon
262
262
  }, null), n.name]);
263
263
  }
264
- }), k = /* @__PURE__ */ F({
264
+ }), k = /* @__PURE__ */ N({
265
265
  name: "FCapsule",
266
- props: L,
266
+ props: W,
267
267
  emits: ["change", "update:modelValue"],
268
268
  setup(n, e) {
269
- const u = y(n.items), l = y(), c = 2, o = y(n.modelValue), i = y("none"), g = y(n.type), O = S(() => {
270
- const a = {
269
+ const r = m(n.items), a = m(), s = 2, o = m(n.modelValue), p = m("none"), h = m(n.type), O = V(() => {
270
+ const l = {
271
271
  "f-capsule-container": !0
272
272
  };
273
- return g.value && (a[g.value] = !0), a;
274
- }), r = S(() => ({})), f = S(() => ({
273
+ return h.value && (l[h.value] = !0), l;
274
+ }), c = V(() => ({})), f = V(() => ({
275
275
  "f-capsule": !0
276
- })), p = y(c), d = y(0), h = y(0), b = S(() => ({
277
- left: `${p.value}px`,
276
+ })), i = m(s), d = m(0), y = m(0), g = V(() => ({
277
+ left: `${i.value}px`,
278
278
  width: `${d.value}px`,
279
- transition: i.value
280
- })), R = S(() => ({
281
- width: `${h.value}px`
279
+ transition: p.value
280
+ })), B = V(() => ({
281
+ width: `${y.value}px`
282
282
  })), A = /* @__PURE__ */ new Map();
283
- function V(a) {
283
+ function S(l) {
284
284
  var t;
285
- if (A.has(a.value)) {
286
- const s = (t = A.get(a.value)) == null ? void 0 : t.value;
287
- if (s) {
288
- const m = s.getBoundingClientRect(), B = l.value.getBoundingClientRect();
289
- p.value = m.left - B.left + c + l.value.scrollLeft, d.value = m.width - 2 * c;
285
+ if (A.has(l.value)) {
286
+ const u = (t = A.get(l.value)) == null ? void 0 : t.value;
287
+ if (u) {
288
+ const b = u.getBoundingClientRect(), $ = a.value.getBoundingClientRect();
289
+ i.value = b.left - $.left + s + a.value.scrollLeft, d.value = b.width - 2 * s;
290
290
  }
291
291
  }
292
292
  }
293
- function M(a, t) {
294
- const s = a.value;
295
- o.value = s, e.emit("update:modelValue", s), V(a), t && e.emit("change", s);
293
+ function R(l, t) {
294
+ const u = l.value;
295
+ o.value = u, e.emit("update:modelValue", u), S(l), t && e.emit("change", u);
296
296
  }
297
- function C(a) {
298
- const t = u.value.findIndex((s) => s.value === a);
299
- t > -1 && M(u.value[t], !1);
297
+ function E(l) {
298
+ const t = r.value.findIndex((u) => u.value === l);
299
+ t > -1 && R(r.value[t], !1);
300
300
  }
301
- D(() => n.modelValue, (a) => {
302
- o.value = a, C(o.value);
303
- }), D(() => n.items, async (a) => {
304
- const t = a.filter((s) => s.show);
305
- v(t), u.value = t, await T(), C(o.value), h.value = Array.from(A.values()).reduce((s, m) => (s += m.value.clientWidth, s), 0);
301
+ D(() => n.modelValue, (l) => {
302
+ o.value = l, E(o.value);
303
+ }), D(() => n.items, async (l) => {
304
+ const t = l.filter((u) => u.show);
305
+ j(t), r.value = t, await T(), E(o.value), y.value = Array.from(A.values()).reduce((u, b) => (u += b.value.clientWidth, u), 0);
306
306
  }), P(async () => {
307
- C(o.value), await T(), i.value = "0.1s ease-out all", h.value = Array.from(A.values()).reduce((a, t) => (a += t.value.clientWidth, a), 0);
307
+ E(o.value), await T(), p.value = "0.1s ease-out all", y.value = Array.from(A.values()).reduce((l, t) => (l += t.value.clientWidth, l), 0);
308
308
  });
309
- function $(a, t) {
310
- M(t, !0);
309
+ function C(l, t) {
310
+ R(t, !0);
311
311
  }
312
- function E(a, t) {
313
- A.set(t, a);
312
+ function v(l, t) {
313
+ A.set(t, l);
314
314
  }
315
- function v(a) {
315
+ function j(l) {
316
316
  Array.from(A.keys()).forEach((t) => {
317
- a.find((m) => m.value === t) || A.delete(t);
317
+ l.find((b) => b.value === t) || A.delete(t);
318
318
  });
319
319
  }
320
- function j(a, t) {
321
- return w(z, {
322
- name: a.name,
323
- value: a.value,
324
- isActive: a.value === o.value,
320
+ function w(l, t) {
321
+ return M(H, {
322
+ name: l.name,
323
+ value: l.value,
324
+ isActive: l.value === o.value,
325
325
  index: t,
326
- disabled: a.disabled,
327
- key: a.value,
328
- onMounted: E,
329
- onActive: $
326
+ disabled: l.disabled,
327
+ key: l.value,
328
+ onMounted: v,
329
+ onActive: C
330
330
  }, null);
331
331
  }
332
- return () => w("span", {
333
- ref: l,
332
+ return () => M("span", {
333
+ ref: a,
334
334
  class: O.value,
335
- style: r.value
336
- }, [w("span", {
335
+ style: c.value
336
+ }, [M("span", {
337
337
  class: "f-capsule-pane"
338
- }, [u.value.map((a, t) => j(a, t))]), w("small", {
338
+ }, [r.value.map((l, t) => w(l, t))]), M("small", {
339
339
  class: f.value,
340
- style: b.value
341
- }, null), w("div", {
340
+ style: g.value
341
+ }, null), M("div", {
342
342
  class: "f-capsule-board",
343
- style: R.value
343
+ style: B.value
344
344
  }, null)]);
345
345
  }
346
346
  });
347
- function ge(n, e, u) {
348
- var E;
349
- function l() {
347
+ function be(n, e, r) {
348
+ var C;
349
+ function a() {
350
350
  }
351
- const c = "", o = "", i = y();
352
- function g() {
351
+ const s = "", o = "", p = m();
352
+ function h() {
353
353
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
354
354
  }
355
355
  function O() {
356
356
  return !1;
357
357
  }
358
- function r() {
358
+ function c() {
359
359
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
360
360
  }
361
361
  function f() {
362
362
  return (e == null ? void 0 : e.schema.componentType) === "frame";
363
363
  }
364
- function p(v) {
364
+ function i(v) {
365
365
  if (!v || !v.value)
366
366
  return null;
367
367
  if (v.value.schema && v.value.schema.type === "component")
368
368
  return v.value;
369
- const j = y(v == null ? void 0 : v.value.parent), a = p(j);
370
- return a || null;
369
+ const j = m(v == null ? void 0 : v.value.parent), w = i(j);
370
+ return w || null;
371
371
  }
372
372
  function d(v = e) {
373
- const { componentInstance: j, designerItemElementRef: a } = v;
374
- return !j || !j.value ? null : j.value.canMove ? a : d(v.parent);
373
+ const { componentInstance: j, designerItemElementRef: w } = v;
374
+ return !j || !j.value ? null : j.value.canMove ? w : d(v.parent);
375
375
  }
376
- function h(v) {
377
- return !!u;
376
+ function y(v) {
377
+ return !!r;
378
378
  }
379
- function b() {
379
+ function g() {
380
380
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
381
381
  }
382
- function R() {
382
+ function B() {
383
383
  }
384
384
  function A(v, j) {
385
385
  }
386
- function V(v, j) {
387
- const { componentType: a } = v;
388
- let t = N(a, v, j);
389
- const s = a.toLowerCase().replace("-", "_");
390
- return t && !t.id && t.type === a && (t.id = `${s}_${Math.random().toString().slice(2, 6)}`), t;
391
- }
392
- function M(v, j) {
393
- const a = String(v.getAttribute("data-controltype")), t = v.getAttribute("data-feature"), s = t ? JSON.parse(t) : {};
394
- s.parentComponentInstance = i.value;
395
- let m = N(a, s);
396
- const B = a.toLowerCase().replace("-", "_");
397
- return m && !m.id && m.type === a && (m.id = `${B}_${Math.random().toString().slice(2, 6)}`), m;
386
+ function S(v, j) {
387
+ const { componentType: w } = v;
388
+ let l = z(w, v, j);
389
+ const t = w.toLowerCase().replace("-", "_");
390
+ return l && !l.id && l.type === w && (l.id = `${t}_${Math.random().toString().slice(2, 6)}`), l;
398
391
  }
399
- function C(v) {
392
+ function R(v) {
400
393
  }
401
- function $(...v) {
394
+ function E(...v) {
402
395
  }
403
- return i.value = {
404
- canMove: g(),
396
+ return p.value = {
397
+ canMove: h(),
405
398
  canSelectParent: O(),
406
- canDelete: r(),
399
+ canDelete: c(),
407
400
  canNested: !f(),
408
401
  contents: e == null ? void 0 : e.schema.contents,
409
402
  elementRef: n,
410
- parent: (E = e == null ? void 0 : e.parent) == null ? void 0 : E.componentInstance,
403
+ parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
411
404
  schema: e == null ? void 0 : e.schema,
412
- styles: c,
405
+ styles: s,
413
406
  designerClass: o,
414
- canAccepts: h,
415
- getBelongedComponentInstance: p,
407
+ canAccepts: y,
408
+ getBelongedComponentInstance: i,
416
409
  getDraggableDesignItemElement: d,
417
- getDraggingDisplayText: b,
418
- getPropConfig: $,
419
- getDragScopeElement: R,
410
+ getDraggingDisplayText: g,
411
+ getPropConfig: E,
412
+ getDragScopeElement: B,
420
413
  onAcceptMovedChildElement: A,
421
- onAcceptNewChildElement: M,
422
- onChildElementMovedOut: C,
423
- addNewChildComponentSchema: V,
424
- updateDragAndDropRules: l,
425
- triggerBelongedComponentToMoveWhenMoved: y(!1),
426
- triggerBelongedComponentToDeleteWhenDeleted: y(!1)
427
- }, i;
414
+ onChildElementMovedOut: R,
415
+ addNewChildComponentSchema: S,
416
+ updateDragAndDropRules: a,
417
+ triggerBelongedComponentToMoveWhenMoved: m(!1),
418
+ triggerBelongedComponentToDeleteWhenDeleted: m(!1)
419
+ }, p;
428
420
  }
429
- const be = /* @__PURE__ */ F({
421
+ const je = /* @__PURE__ */ N({
430
422
  name: "FCapsuleDesign",
431
- props: L,
423
+ props: W,
432
424
  emits: ["change", "update:modelValue"],
433
425
  setup(n, e) {
434
- const u = y(n.items), l = y(), c = 2, o = y(n.modelValue), i = y("none"), g = y(n.type), O = H("design-item-context"), r = ge(l, O);
426
+ const r = m(n.items), a = m(), s = 2, o = m(n.modelValue), p = m("none"), h = m(n.type), O = Q("design-item-context"), c = be(a, O);
435
427
  P(() => {
436
- l.value.componentInstance = r;
437
- }), e.expose(r.value);
438
- const f = S(() => {
428
+ a.value.componentInstance = c;
429
+ }), e.expose(c.value);
430
+ const f = V(() => {
439
431
  const t = {
440
432
  "f-capsule-container": !0
441
433
  };
442
- return g.value && (t[g.value] = !0), t;
443
- }), p = S(() => ({})), d = S(() => ({
434
+ return h.value && (t[h.value] = !0), t;
435
+ }), i = V(() => ({})), d = V(() => ({
444
436
  "f-capsule": !0
445
- })), h = y(c), b = y(0), R = y(0), A = S(() => ({
446
- left: `${h.value}px`,
447
- width: `${b.value}px`,
448
- transition: i.value
449
- })), V = S(() => ({
450
- width: `${R.value}px`
451
- })), M = /* @__PURE__ */ new Map();
452
- function C(t) {
453
- var s;
454
- if (M.has(t.value)) {
455
- const m = (s = M.get(t.value)) == null ? void 0 : s.value;
456
- if (m) {
457
- const B = m.getBoundingClientRect(), G = l.value.getBoundingClientRect();
458
- h.value = B.left - G.left + c + l.value.scrollLeft, b.value = B.width - 2 * c;
437
+ })), y = m(s), g = m(0), B = m(0), A = V(() => ({
438
+ left: `${y.value}px`,
439
+ width: `${g.value}px`,
440
+ transition: p.value
441
+ })), S = V(() => ({
442
+ width: `${B.value}px`
443
+ })), R = /* @__PURE__ */ new Map();
444
+ function E(t) {
445
+ var u;
446
+ if (R.has(t.value)) {
447
+ const b = (u = R.get(t.value)) == null ? void 0 : u.value;
448
+ if (b) {
449
+ const $ = b.getBoundingClientRect(), J = a.value.getBoundingClientRect();
450
+ y.value = $.left - J.left + s + a.value.scrollLeft, g.value = $.width - 2 * s;
459
451
  }
460
452
  }
461
453
  }
462
- function $(t, s) {
463
- const m = t.value;
464
- o.value = m, e.emit("update:modelValue", m), C(t), s && e.emit("change", m);
454
+ function C(t, u) {
455
+ const b = t.value;
456
+ o.value = b, e.emit("update:modelValue", b), E(t), u && e.emit("change", b);
465
457
  }
466
- function E(t) {
467
- const s = u.value.findIndex((m) => m.value === t);
468
- s > -1 && $(u.value[s], !1);
458
+ function v(t) {
459
+ const u = r.value.findIndex((b) => b.value === t);
460
+ u > -1 && C(r.value[u], !1);
469
461
  }
470
462
  D(() => n.modelValue, (t) => {
471
- o.value = t, E(o.value);
463
+ o.value = t, v(o.value);
472
464
  }), D(() => n.items, async (t) => {
473
- u.value = t, await T(), E(o.value), R.value = Array.from(M.values()).reduce((s, m) => (s += m.value.clientWidth, s), 0);
465
+ r.value = t, await T(), v(o.value), B.value = Array.from(R.values()).reduce((u, b) => (u += b.value.clientWidth, u), 0);
474
466
  }), P(async () => {
475
- E(o.value), await T(), i.value = "0.1s ease-out all", R.value = Array.from(M.values()).reduce((t, s) => (t += s.value.clientWidth, t), 0);
467
+ v(o.value), await T(), p.value = "0.1s ease-out all", B.value = Array.from(R.values()).reduce((t, u) => (t += u.value.clientWidth, t), 0);
476
468
  });
477
- function v(t, s) {
478
- $(s, !0);
469
+ function j(t, u) {
470
+ C(u, !0);
479
471
  }
480
- function j(t, s) {
481
- M.set(s, t);
472
+ function w(t, u) {
473
+ R.set(u, t);
482
474
  }
483
- function a(t, s) {
484
- return w(z, {
475
+ function l(t, u) {
476
+ return M(H, {
485
477
  name: t.name,
486
478
  value: t.value,
487
479
  isActive: t.value === o.value,
488
- index: s,
489
- onMounted: j,
490
- onActive: v
480
+ index: u,
481
+ onMounted: w,
482
+ onActive: j
491
483
  }, null);
492
484
  }
493
- return () => w("span", {
494
- ref: l,
485
+ return () => M("span", {
486
+ ref: a,
495
487
  class: f.value,
496
- style: p.value
497
- }, [w("span", {
488
+ style: i.value
489
+ }, [M("span", {
498
490
  class: "f-capsule-pane"
499
- }, [u.value.map((t, s) => a(t, s))]), w("small", {
491
+ }, [r.value.map((t, u) => l(t, u))]), M("small", {
500
492
  class: d.value,
501
493
  style: A.value
502
- }, null), w("div", {
494
+ }, null), M("div", {
503
495
  class: "f-capsule-board",
504
- style: V.value
496
+ style: S.value
505
497
  }, null)]);
506
498
  }
507
499
  });
508
- k.register = (n, e, u) => {
509
- n.capsule = k, e.capsule = J;
500
+ k.register = (n, e, r) => {
501
+ n.capsule = k, e.capsule = G;
510
502
  };
511
- k.registerDesigner = (n, e, u) => {
512
- n.capsule = be, e.capsule = J;
503
+ k.registerDesigner = (n, e, r) => {
504
+ n.capsule = je, e.capsule = G;
513
505
  };
514
- const we = U(k);
506
+ const Me = X(k);
515
507
  export {
516
508
  k as FCapsule,
517
- he as capsuleItemProps,
518
- L as capsuleProps,
519
- we as default,
520
- J as propsResolver
509
+ ge as capsuleItemProps,
510
+ W as capsuleProps,
511
+ Me as default,
512
+ G as propsResolver
521
513
  };