@farris/ui-vue 1.2.7 → 1.2.9

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 (246) hide show
  1. package/components/accordion/index.esm.js +136 -136
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +418 -456
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/border-editor/index.esm.js +4 -4
  6. package/components/border-editor/index.umd.cjs +1 -1
  7. package/components/button/index.esm.js +1 -1
  8. package/components/button/index.umd.cjs +1 -1
  9. package/components/button-edit/index.esm.js +363 -436
  10. package/components/button-edit/index.umd.cjs +1 -1
  11. package/components/button-group/index.esm.js +5 -5
  12. package/components/button-group/index.umd.cjs +1 -1
  13. package/components/calendar/index.esm.js +417 -417
  14. package/components/calendar/index.umd.cjs +1 -1
  15. package/components/capsule/index.esm.js +176 -176
  16. package/components/capsule/index.umd.cjs +1 -1
  17. package/components/checkbox/index.esm.js +557 -594
  18. package/components/checkbox/index.umd.cjs +1 -1
  19. package/components/color-picker/index.esm.js +119 -119
  20. package/components/color-picker/index.umd.cjs +2 -2
  21. package/components/combo-list/index.esm.js +502 -535
  22. package/components/combo-list/index.umd.cjs +1 -1
  23. package/components/combo-tree/index.esm.js +69 -69
  24. package/components/combo-tree/index.umd.cjs +1 -1
  25. package/components/component/index.esm.js +387 -275
  26. package/components/component/index.umd.cjs +1 -1
  27. package/components/condition/index.esm.js +1219 -983
  28. package/components/condition/index.umd.cjs +1 -1
  29. package/components/content-container/index.esm.js +292 -219
  30. package/components/content-container/index.umd.cjs +1 -1
  31. package/components/data-grid/index.css +1 -1
  32. package/components/data-grid/index.esm.js +5718 -5546
  33. package/components/data-grid/index.umd.cjs +1 -1
  34. package/components/data-view/index.esm.js +3291 -2930
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.esm.js +2650 -2682
  37. package/components/date-picker/index.umd.cjs +1 -1
  38. package/components/dependent-base/style.js +1 -0
  39. package/components/dependent-fluid/style.js +1 -0
  40. package/components/dependent-icon/style.js +1 -0
  41. package/components/dependent-input/style.js +1 -0
  42. package/components/dependent-table/style.js +1 -0
  43. package/components/designer-canvas/index.css +1 -1
  44. package/components/designer-canvas/index.esm.js +945 -932
  45. package/components/designer-canvas/index.umd.cjs +1 -1
  46. package/components/designer-outline/index.css +1 -1
  47. package/components/designer-outline/index.esm.js +175 -133
  48. package/components/designer-outline/index.umd.cjs +1 -1
  49. package/components/designer-toolbox/index.esm.js +36 -12
  50. package/components/designer-toolbox/index.umd.cjs +1 -1
  51. package/components/discussion-editor/index.esm.js +1 -1
  52. package/components/discussion-editor/index.umd.cjs +1 -1
  53. package/components/dropdown/index.esm.js +246 -246
  54. package/components/dropdown/index.umd.cjs +2 -2
  55. package/components/dynamic-form/index.esm.js +1319 -1172
  56. package/components/dynamic-form/index.umd.cjs +1 -1
  57. package/components/dynamic-resolver/index.esm.js +119 -82
  58. package/components/dynamic-resolver/index.umd.cjs +1 -1
  59. package/components/dynamic-view/index.esm.js +258 -249
  60. package/components/dynamic-view/index.umd.cjs +1 -1
  61. package/components/enum-editor/index.esm.js +3 -3
  62. package/components/enum-editor/index.umd.cjs +1 -1
  63. package/components/events-editor/index.esm.js +569 -514
  64. package/components/events-editor/index.umd.cjs +1 -1
  65. package/components/expression-editor/index.esm.js +104 -104
  66. package/components/expression-editor/index.umd.cjs +1 -1
  67. package/components/external-container/index.css +1 -1
  68. package/components/external-container/index.esm.js +3122 -2686
  69. package/components/external-container/index.umd.cjs +1 -1
  70. package/components/field-selector/index.css +1 -1
  71. package/components/field-selector/index.esm.js +6780 -6608
  72. package/components/field-selector/index.umd.cjs +1 -1
  73. package/components/filter-bar/index.css +1 -1
  74. package/components/filter-bar/index.esm.js +1466 -1523
  75. package/components/filter-bar/index.umd.cjs +1 -1
  76. package/components/flow-canvas/index.css +1 -1
  77. package/components/flow-canvas/index.esm.js +1048 -1035
  78. package/components/flow-canvas/index.umd.cjs +1 -1
  79. package/components/image-cropper/index.esm.js +422 -422
  80. package/components/image-cropper/index.umd.cjs +1 -1
  81. package/components/input-group/index.esm.js +674 -716
  82. package/components/input-group/index.umd.cjs +1 -1
  83. package/components/layout/index.esm.js +291 -291
  84. package/components/layout/index.umd.cjs +1 -1
  85. package/components/list-nav/index.esm.js +303 -230
  86. package/components/list-nav/index.umd.cjs +1 -1
  87. package/components/list-view/index.css +1 -1
  88. package/components/list-view/index.esm.js +2486 -2130
  89. package/components/list-view/index.umd.cjs +1 -1
  90. package/components/lookup/index.css +1 -1
  91. package/components/lookup/index.esm.js +7474 -7272
  92. package/components/lookup/index.umd.cjs +1 -1
  93. package/components/mapping-editor/index.css +1 -1
  94. package/components/mapping-editor/index.esm.js +6139 -5949
  95. package/components/mapping-editor/index.umd.cjs +1 -1
  96. package/components/message-box/index.esm.js +1 -1
  97. package/components/message-box/index.umd.cjs +1 -1
  98. package/components/modal/index.esm.js +1 -1
  99. package/components/modal/index.umd.cjs +1 -1
  100. package/components/nav/index.esm.js +432 -371
  101. package/components/nav/index.umd.cjs +3 -3
  102. package/components/number-range/index.esm.js +1124 -0
  103. package/components/number-range/index.umd.cjs +1 -0
  104. package/components/number-range/package.json +8 -0
  105. package/components/number-range/style.js +6 -0
  106. package/components/number-spinner/index.esm.js +1155 -0
  107. package/components/number-spinner/index.umd.cjs +1 -0
  108. package/components/number-spinner/package.json +8 -0
  109. package/components/number-spinner/style.js +4 -0
  110. package/components/order/index.css +1 -1
  111. package/components/order/index.esm.js +1215 -1178
  112. package/components/order/index.umd.cjs +1 -1
  113. package/components/page-footer/index.esm.js +147 -147
  114. package/components/page-footer/index.umd.cjs +1 -1
  115. package/components/page-header/index.esm.js +1240 -1346
  116. package/components/page-header/index.umd.cjs +1 -1
  117. package/components/pagination/index.esm.js +489 -428
  118. package/components/pagination/index.umd.cjs +1 -1
  119. package/components/progress/index.esm.js +220 -220
  120. package/components/progress/index.umd.cjs +3 -3
  121. package/components/property-editor/index.esm.js +1512 -1540
  122. package/components/property-editor/index.umd.cjs +3 -3
  123. package/components/property-panel/index.css +1 -1
  124. package/components/property-panel/index.esm.js +749 -815
  125. package/components/property-panel/index.umd.cjs +1 -1
  126. package/components/query-solution/index.css +1 -0
  127. package/components/query-solution/index.esm.js +7074 -0
  128. package/components/query-solution/index.umd.cjs +1 -0
  129. package/components/query-solution/package.json +8 -0
  130. package/components/query-solution/style.js +2 -0
  131. package/components/radio-button/index.esm.js +86 -86
  132. package/components/radio-button/index.umd.cjs +1 -1
  133. package/components/radio-group/index.esm.js +442 -479
  134. package/components/radio-group/index.umd.cjs +1 -1
  135. package/components/rate/index.esm.js +213 -208
  136. package/components/rate/index.umd.cjs +1 -1
  137. package/components/response-layout/index.esm.js +116 -116
  138. package/components/response-layout/index.umd.cjs +1 -1
  139. package/components/response-layout-editor/index.esm.js +943 -918
  140. package/components/response-layout-editor/index.umd.cjs +1 -1
  141. package/components/response-toolbar/index.esm.js +1174 -1295
  142. package/components/response-toolbar/index.umd.cjs +1 -1
  143. package/components/schema-selector/index.css +1 -1
  144. package/components/schema-selector/index.esm.js +5383 -5171
  145. package/components/schema-selector/index.umd.cjs +2 -2
  146. package/components/search-box/index.esm.js +201 -201
  147. package/components/search-box/index.umd.cjs +1 -1
  148. package/components/section/index.esm.js +684 -542
  149. package/components/section/index.umd.cjs +1 -1
  150. package/components/smoke-detector/index.esm.js +121 -121
  151. package/components/smoke-detector/index.umd.cjs +1 -1
  152. package/components/spacing-editor/index.esm.js +2 -2
  153. package/components/spacing-editor/index.umd.cjs +1 -1
  154. package/components/splitter/index.esm.js +1158 -382
  155. package/components/splitter/index.umd.cjs +1 -1
  156. package/components/step/index.esm.js +232 -232
  157. package/components/step/index.umd.cjs +1 -1
  158. package/components/switch/index.esm.js +451 -487
  159. package/components/switch/index.umd.cjs +1 -1
  160. package/components/tabs/index.esm.js +2078 -2168
  161. package/components/tabs/index.umd.cjs +1 -1
  162. package/components/tags/index.esm.js +318 -320
  163. package/components/tags/index.umd.cjs +1 -1
  164. package/components/text/index.esm.js +192 -192
  165. package/components/text/index.umd.cjs +1 -1
  166. package/components/textarea/index.esm.js +471 -497
  167. package/components/textarea/index.umd.cjs +1 -1
  168. package/components/time-picker/index.esm.js +1421 -1441
  169. package/components/time-picker/index.umd.cjs +1 -1
  170. package/components/transfer/index.css +1 -1
  171. package/components/transfer/index.esm.js +430 -421
  172. package/components/transfer/index.umd.cjs +1 -1
  173. package/components/tree-grid/index.css +1 -1
  174. package/components/tree-grid/index.esm.js +6806 -6624
  175. package/components/tree-grid/index.umd.cjs +1 -1
  176. package/components/tree-view/index.esm.js +2793 -2433
  177. package/components/tree-view/index.umd.cjs +1 -1
  178. package/components/uploader/index.esm.js +165 -165
  179. package/components/uploader/index.umd.cjs +2 -2
  180. package/components/verify-detail/index.esm.js +255 -255
  181. package/components/verify-detail/index.umd.cjs +1 -1
  182. package/components/video/index.esm.js +413 -334
  183. package/components/video/index.umd.cjs +1 -1
  184. package/components/weather/index.esm.js +902 -902
  185. package/components/weather/index.umd.cjs +4 -4
  186. package/farris.all.esm.js +54155 -52847
  187. package/farris.all.umd.cjs +9 -9
  188. package/index.css +1 -1
  189. package/package.json +1 -1
  190. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  191. package/types/checkbox/index.d.ts +1 -0
  192. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  193. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  194. package/types/common/entity/entity-schema.d.ts +258 -0
  195. package/types/component/src/component-ref.props.d.ts +4 -0
  196. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  197. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  198. package/types/data-grid/index.d.ts +5 -2
  199. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  200. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  201. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  202. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  203. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  204. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  205. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  206. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  207. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  208. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  209. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  210. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  211. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  212. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  213. package/types/data-view/composition/types.d.ts +19 -7
  214. package/types/data-view/composition/use-edit.d.ts +2 -1
  215. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  216. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  217. package/types/designer-canvas/src/types.d.ts +3 -3
  218. package/types/dynamic-form/index.d.ts +3 -1
  219. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  220. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  221. package/types/dynamic-form/src/types.d.ts +1 -1
  222. package/types/dynamic-resolver/index.d.ts +1 -0
  223. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  224. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  225. package/types/dynamic-resolver/src/types.d.ts +3 -2
  226. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  227. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  228. package/types/modal/src/modal.props.d.ts +1 -4
  229. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  230. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  231. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  232. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  233. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  234. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  235. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  236. package/types/tabs/src/composition/types.d.ts +2 -2
  237. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  238. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  239. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  240. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  241. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  242. package/types/tags/index.d.ts +36 -5
  243. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  244. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  245. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  246. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
@@ -1,114 +1,114 @@
1
1
  var U = Object.defineProperty;
2
- var z = (r, e, l) => e in r ? U(r, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[e] = l;
3
- var H = (r, e, l) => z(r, typeof e != "symbol" ? e + "" : e, l);
4
- import { defineComponent as B, ref as w, computed as j, createVNode as s, onBeforeMount as F, createApp as G, onUnmounted as Q, inject as X, onMounted as Y } from "vue";
2
+ var z = (i, e, l) => e in i ? U(i, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[e] = l;
3
+ var H = (i, e, l) => z(i, typeof e != "symbol" ? e + "" : e, l);
4
+ import { defineComponent as B, ref as b, computed as C, createVNode as r, onBeforeMount as F, createApp as G, onUnmounted as Q, inject as X, onMounted as Y } from "vue";
5
5
  import { cloneDeep as Z } from "lodash-es";
6
6
  const _ = {}, q = {};
7
- function P(r) {
8
- const { properties: e, title: l } = r, i = Object.keys(e).reduce((y, v) => (y[v] = e[v].type === "object" && e[v].properties ? P(e[v]) : Z(e[v].default), y), {});
9
- return i.id = `${l}-${Date.now()}`, i;
7
+ function V(i) {
8
+ const { properties: e, title: l, ignore: s } = i, o = s && Array.isArray(s), d = Object.keys(e).reduce((h, u) => ((!o || !s.find((D) => D == u)) && (h[u] = e[u].type === "object" && e[u].properties ? V(e[u]) : Z(e[u].default)), h), {});
9
+ return (!o || !s.find((h) => h == "id")) && (d.id = `${l}-${Date.now()}`), d;
10
10
  }
11
- function A(r, e = {}) {
12
- const l = _[r];
13
- if (l) {
14
- let i = P(l);
15
- const y = q[r];
16
- return i = y ? y({ getSchemaByType: A }, i, e) : i, i;
11
+ function P(i, e = {}, l) {
12
+ const s = _[i];
13
+ if (s) {
14
+ let o = V(s);
15
+ const d = q[i];
16
+ return o = d ? d({ getSchemaByType: P }, o, e, l) : o, o;
17
17
  }
18
18
  return null;
19
19
  }
20
- function K(r, e) {
21
- const l = P(e);
22
- return Object.keys(r).reduce((i, y) => (i[y] = r[y], i), l), l;
20
+ function K(i, e) {
21
+ const l = V(e);
22
+ return Object.keys(i).reduce((s, o) => (s[o] && typeof s[o] == "object" ? Object.assign(s[o], i[o]) : s[o] = i[o], s), l), l;
23
23
  }
24
- function x(r, e) {
25
- return Object.keys(r).filter((i) => r[i] != null).reduce((i, y) => {
26
- if (e.has(y)) {
27
- const v = e.get(y);
28
- if (typeof v == "string")
29
- i[v] = r[y];
24
+ function x(i, e) {
25
+ return Object.keys(i).filter((s) => i[s] != null).reduce((s, o) => {
26
+ if (e.has(o)) {
27
+ const d = e.get(o);
28
+ if (typeof d == "string")
29
+ s[d] = i[o];
30
30
  else {
31
- const m = v(y, r[y], r);
32
- Object.assign(i, m);
31
+ const h = d(o, i[o], i);
32
+ Object.assign(s, h);
33
33
  }
34
34
  } else
35
- i[y] = r[y];
36
- return i;
35
+ s[o] = i[o];
36
+ return s;
37
37
  }, {});
38
38
  }
39
- function I(r, e, l = /* @__PURE__ */ new Map()) {
40
- const i = K(r, e);
41
- return x(i, l);
39
+ function I(i, e, l = /* @__PURE__ */ new Map()) {
40
+ const s = K(i, e);
41
+ return x(s, l);
42
42
  }
43
- function ee(r = {}) {
44
- function e(a, o, u, f) {
45
- if (typeof u == "number")
46
- return f[a].length === u;
47
- if (typeof u == "object") {
48
- const d = Object.keys(u)[0], g = u[d];
49
- if (d === "not")
50
- return Number(f[a].length) !== Number(g);
51
- if (d === "moreThan")
52
- return Number(f[a].length) >= Number(g);
53
- if (d === "lessThan")
54
- return Number(f[a].length) <= Number(g);
43
+ function ee(i = {}) {
44
+ function e(a, f, p, y) {
45
+ if (typeof p == "number")
46
+ return y[a].length === p;
47
+ if (typeof p == "object") {
48
+ const m = Object.keys(p)[0], g = p[m];
49
+ if (m === "not")
50
+ return Number(y[a].length) !== Number(g);
51
+ if (m === "moreThan")
52
+ return Number(y[a].length) >= Number(g);
53
+ if (m === "lessThan")
54
+ return Number(y[a].length) <= Number(g);
55
55
  }
56
56
  return !1;
57
57
  }
58
- function l(a, o, u, f) {
59
- return f[a] && f[a].propertyValue && String(f[a].propertyValue.value) === String(u);
58
+ function l(a, f, p, y) {
59
+ return y[a] && y[a].propertyValue && String(y[a].propertyValue.value) === String(p);
60
60
  }
61
- const i = /* @__PURE__ */ new Map([
61
+ const s = /* @__PURE__ */ new Map([
62
62
  ["length", e],
63
63
  ["getProperty", l]
64
64
  ]);
65
- Object.keys(r).reduce((a, o) => (a.set(o, r[o]), a), i);
66
- function y(a, o) {
67
- const u = a;
68
- return typeof o == "number" ? [{ target: u, operator: "length", param: null, value: Number(o) }] : typeof o == "boolean" ? [{ target: u, operator: "getProperty", param: a, value: !!o }] : typeof o == "object" ? Object.keys(o).map((f) => {
69
- if (f === "length")
70
- return { target: u, operator: "length", param: null, value: o[f] };
71
- const d = f, g = o[f];
72
- return { target: u, operator: "getProperty", param: d, value: g };
65
+ Object.keys(i).reduce((a, f) => (a.set(f, i[f]), a), s);
66
+ function o(a, f) {
67
+ const p = a;
68
+ return typeof f == "number" ? [{ target: p, operator: "length", param: null, value: Number(f) }] : typeof f == "boolean" ? [{ target: p, operator: "getProperty", param: a, value: !!f }] : typeof f == "object" ? Object.keys(f).map((y) => {
69
+ if (y === "length")
70
+ return { target: p, operator: "length", param: null, value: f[y] };
71
+ const m = y, g = f[y];
72
+ return { target: p, operator: "getProperty", param: m, value: g };
73
73
  }) : [];
74
74
  }
75
- function v(a) {
76
- return Object.keys(a).reduce((u, f) => {
77
- const d = y(f, a[f]);
78
- return u.push(...d), u;
75
+ function d(a) {
76
+ return Object.keys(a).reduce((p, y) => {
77
+ const m = o(y, a[y]);
78
+ return p.push(...m), p;
79
79
  }, []);
80
80
  }
81
- function m(a, o) {
82
- if (i.has(a.operator)) {
83
- const u = i.get(a.operator);
84
- return u && u(a.target, a.param, a.value, o) || !1;
81
+ function h(a, f) {
82
+ if (s.has(a.operator)) {
83
+ const p = s.get(a.operator);
84
+ return p && p(a.target, a.param, a.value, f) || !1;
85
85
  }
86
86
  return !1;
87
87
  }
88
- function h(a, o) {
89
- return v(a).reduce((d, g) => d && m(g, o), !0);
88
+ function u(a, f) {
89
+ return d(a).reduce((m, g) => m && h(g, f), !0);
90
90
  }
91
- function D(a, o) {
92
- const u = Object.keys(a), f = u.includes("allOf"), d = u.includes("anyOf"), g = f || d, L = (g ? a[g ? f ? "allOf" : "anyOf" : "allOf"] : [a]).map((k) => h(k, o));
93
- return f ? !L.includes(!1) : L.includes(!0);
91
+ function D(a, f) {
92
+ const p = Object.keys(a), y = p.includes("allOf"), m = p.includes("anyOf"), g = y || m, L = (g ? a[g ? y ? "allOf" : "anyOf" : "allOf"] : [a]).map((k) => u(k, f));
93
+ return y ? !L.includes(!1) : L.includes(!0);
94
94
  }
95
95
  return { parseValueSchema: D };
96
96
  }
97
97
  const te = {}, ne = {};
98
98
  ee();
99
- function re(r, e, l = /* @__PURE__ */ new Map(), i = (m, h, D) => h, y = {}, v = (m) => m) {
100
- return _[e.title] = e, q[e.title] = i, te[e.title] = y, ne[e.title] = v, (m = {}) => {
101
- const h = I(m, e, l), D = Object.keys(r).reduce((a, o) => (a[o] = r[o].default, a), {});
102
- return Object.assign(D, h);
99
+ function ie(i, e, l = /* @__PURE__ */ new Map(), s = (h, u, D) => u, o = {}, d = (h) => h) {
100
+ return _[e.title] = e, q[e.title] = s, te[e.title] = o, ne[e.title] = d, (h = {}) => {
101
+ const u = I(h, e, l), D = Object.keys(i).reduce((a, f) => (a[f] = i[f].default, a), {});
102
+ return Object.assign(D, u);
103
103
  };
104
104
  }
105
- function se(r, e) {
105
+ function se(i, e) {
106
106
  return { customClass: e.class, customStyle: e.style };
107
107
  }
108
- const ie = /* @__PURE__ */ new Map([
108
+ const re = /* @__PURE__ */ new Map([
109
109
  ["appearance", se]
110
110
  ]);
111
- function le(r, e, l) {
111
+ function le(i, e, l) {
112
112
  return e;
113
113
  }
114
114
  const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-design.gitee.io/verify-detail.schema.json", ce = "verify-detail", ue = "A Farris Component", fe = "object", pe = {
@@ -184,7 +184,7 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
184
184
  type: fe,
185
185
  properties: pe,
186
186
  required: ye
187
- }, he = "verify-detail", de = "A Farris Component", me = "object", ge = {
187
+ }, de = "verify-detail", he = "A Farris Component", me = "object", ge = {
188
188
  basic: {
189
189
  description: "Basic Infomation",
190
190
  title: "基本信息",
@@ -207,8 +207,8 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
207
207
  }
208
208
  }
209
209
  }, we = {
210
- title: he,
211
- description: de,
210
+ title: de,
211
+ description: he,
212
212
  type: me,
213
213
  categories: ge
214
214
  }, $ = {
@@ -251,66 +251,66 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
251
251
  },
252
252
  customClass: { type: String, default: "" },
253
253
  maxHeight: { type: Number, default: 200 }
254
- }, R = re($, ve, ie, le, we), N = /* @__PURE__ */ B({
254
+ }, R = ie($, ve, re, le, we), N = /* @__PURE__ */ B({
255
255
  name: "FVerifyDetail",
256
256
  props: $,
257
257
  emits: ["validatorClick", "listshow"],
258
- setup(r, e) {
258
+ setup(i, e) {
259
259
  let l = [];
260
- const i = w(r.showList), y = w(r.maxHeight), v = w(r.verifyList), m = w(r.showType), h = w(r.verifyType), D = w(r.customClass);
260
+ const s = b(i.showList), o = b(i.maxHeight), d = b(i.verifyList), h = b(i.showType), u = b(i.verifyType), D = b(i.customClass);
261
261
  function a() {
262
- i.value = !i.value, e.emit("listshow", i.value);
262
+ s.value = !s.value, e.emit("listshow", s.value);
263
263
  }
264
- function o(t) {
265
- var c;
266
- !t && h.value && h.value.length > 0 && (t = h.value[0].type), (c = h.value) == null || c.forEach((n) => {
264
+ function f(t) {
265
+ var v;
266
+ !t && u.value && u.value.length > 0 && (t = u.value[0].type), (v = u.value) == null || v.forEach((n) => {
267
267
  n.active = n.type === t;
268
268
  });
269
269
  }
270
- function u(t) {
271
- t = t || l[0].type, l.forEach((c) => {
272
- c.show = c.type === t;
270
+ function p(t) {
271
+ t = t || l[0].type, l.forEach((v) => {
272
+ v.show = v.type === t;
273
273
  });
274
274
  }
275
- function f(t) {
276
- t.length <= 0 || (o(t.type), u(t.type));
275
+ function y(t) {
276
+ t.length <= 0 || (f(t.type), p(t.type));
277
277
  }
278
- function d() {
279
- i.value = !1, e.emit("listshow", !1);
278
+ function m() {
279
+ s.value = !1, e.emit("listshow", !1);
280
280
  }
281
281
  function g(t) {
282
282
  e.emit("validatorClick", t);
283
283
  }
284
- function S(t) {
285
- return s("li", {
284
+ function j(t) {
285
+ return r("li", {
286
286
  class: "f-verify-list",
287
287
  onClick: () => g(t)
288
- }, [s("span", {
288
+ }, [r("span", {
289
289
  class: ["f-icon f-icon-close-outline list-icon list-error", {
290
290
  "list-warning": t.type === "warn"
291
291
  }]
292
- }, null), s("div", {
292
+ }, null), r("div", {
293
293
  class: "list-con"
294
- }, [s("p", {
294
+ }, [r("p", {
295
295
  class: "list-title",
296
296
  title: t.title
297
- }, [t.title]), s("p", {
297
+ }, [t.title]), r("p", {
298
298
  class: "list-msg",
299
299
  title: t.msg
300
300
  }, [t.msg])])]);
301
301
  }
302
302
  function E() {
303
- return l.map((t) => s("ul", {
303
+ return l.map((t) => r("ul", {
304
304
  class: ["f-verify-list-content", {
305
305
  active: t.show
306
306
  }]
307
- }, [t.list && t.list.map((c) => S(c))]));
307
+ }, [t.list && t.list.map((v) => j(v))]));
308
308
  }
309
- const L = j(() => {
309
+ const L = C(() => {
310
310
  var t;
311
- return ((t = v.value) == null ? void 0 : t.length) > 0;
311
+ return ((t = d.value) == null ? void 0 : t.length) > 0;
312
312
  });
313
- function M(t) {
313
+ function O(t) {
314
314
  return {
315
315
  btn: !0,
316
316
  "verify-title-btn": !0,
@@ -318,86 +318,86 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
318
318
  disabled: t.length <= 0
319
319
  };
320
320
  }
321
- const k = j(() => {
321
+ const k = C(() => {
322
322
  var t;
323
- return (t = h.value) == null ? void 0 : t.map((c) => s("button", {
324
- class: M(c),
325
- onClick: () => f(c)
326
- }, [c.title, s("span", null, [c.length])]));
327
- }), C = j(() => {
323
+ return (t = u.value) == null ? void 0 : t.map((v) => r("button", {
324
+ class: O(v),
325
+ onClick: () => y(v)
326
+ }, [v.title, r("span", null, [v.length])]));
327
+ }), S = C(() => {
328
328
  var t;
329
- return s("div", {
329
+ return r("div", {
330
330
  class: "f-verify-nums",
331
331
  onClick: a
332
- }, [s("span", {
332
+ }, [r("span", {
333
333
  class: "nums-icon f-icon f-icon-warning"
334
- }, null), s("span", {
334
+ }, null), r("span", {
335
335
  class: "nums-count"
336
- }, [(t = v.value) == null ? void 0 : t.length])]);
336
+ }, [(t = d.value) == null ? void 0 : t.length])]);
337
337
  });
338
- function O() {
339
- var c;
338
+ function M() {
339
+ var v;
340
340
  const t = [];
341
- h.value && ((c = h.value) != null && c.length) && (h.value.map((n) => {
342
- const p = {
343
- list: n.type === "all" ? v.value : [],
341
+ u.value && ((v = u.value) != null && v.length) && (u.value.map((n) => {
342
+ const c = {
343
+ list: n.type === "all" ? d.value : [],
344
344
  show: !1,
345
345
  type: n.type
346
346
  };
347
- t.push(p);
348
- }), t.map((n, p) => {
349
- const T = v.value.filter((b) => b.type === n.type);
350
- t[p].list = p !== 0 ? T : t[p].list;
351
- }), h.value.map((n, p) => {
352
- n.length = t[p].list.length;
347
+ t.push(c);
348
+ }), t.map((n, c) => {
349
+ const w = d.value.filter((T) => T.type === n.type);
350
+ t[c].list = c !== 0 ? w : t[c].list;
351
+ }), u.value.map((n, c) => {
352
+ n.length = t[c].list.length;
353
353
  })), l = t;
354
354
  }
355
355
  return F(() => {
356
- O(), u(m.value), o(m.value);
357
- }), () => s("div", {
356
+ M(), p(h.value), f(h.value);
357
+ }), () => r("div", {
358
358
  class: L ? `f-verify-detail ${D.value}` : ""
359
- }, [L.value ? s("div", {
359
+ }, [L.value ? r("div", {
360
360
  class: "f-verify-detail-content"
361
- }, [C.value, s("div", {
361
+ }, [S.value, r("div", {
362
362
  class: "f-verify-form-main",
363
- hidden: !i.value
364
- }, [s("div", {
363
+ hidden: !s.value
364
+ }, [r("div", {
365
365
  class: "f-verify-form-content"
366
- }, [s("div", {
366
+ }, [r("div", {
367
367
  class: "f-verify-form-content-arrow"
368
- }, null), s("div", {
368
+ }, null), r("div", {
369
369
  class: "f-verify-form-content-list"
370
- }, [s("div", {
370
+ }, [r("div", {
371
371
  class: "f-verify-forms-title"
372
- }, [s("div", {
372
+ }, [r("div", {
373
373
  class: "btn-group"
374
- }, [k.value]), s("div", {
374
+ }, [k.value]), r("div", {
375
375
  class: "f-verify-close",
376
- onClick: d
377
- }, [s("span", {
376
+ onClick: m
377
+ }, [r("span", {
378
378
  class: "f-icon f-icon-close"
379
- }, null)])]), s("div", {
379
+ }, null)])]), r("div", {
380
380
  class: "f-verify-forms-list",
381
381
  style: {
382
- maxHeight: y.value + "px"
382
+ maxHeight: o.value + "px"
383
383
  }
384
384
  }, [E()])])])])]) : null]);
385
385
  }
386
386
  });
387
- function be(r, e, l) {
387
+ function be(i, e, l) {
388
388
  G({
389
389
  setup() {
390
390
  return Q(() => {
391
391
  e && e();
392
- }), () => s(N, r, null);
392
+ }), () => r(N, i, null);
393
393
  }
394
394
  }).mount(l);
395
395
  }
396
396
  class W {
397
397
  static show(e, l) {
398
398
  this.clear();
399
- let i = 0;
400
- this.verifyContainer = document.createElement("div"), l ? (i = l.offsetHeight - 110, l.appendChild(this.verifyContainer)) : (i = document.documentElement.clientHeight - 110, document.body.appendChild(this.verifyContainer)), e.maxHeight = e.maxHeight ? e.maxHeight : i, be(e, this.clear, this.verifyContainer);
399
+ let s = 0;
400
+ this.verifyContainer = document.createElement("div"), l ? (s = l.offsetHeight - 110, l.appendChild(this.verifyContainer)) : (s = document.documentElement.clientHeight - 110, document.body.appendChild(this.verifyContainer)), e.maxHeight = e.maxHeight ? e.maxHeight : s, be(e, this.clear, this.verifyContainer);
401
401
  }
402
402
  static clear() {
403
403
  let e = this.verifyContainer;
@@ -405,12 +405,12 @@ class W {
405
405
  }
406
406
  }
407
407
  H(W, "verifyContainer", null);
408
- function Te(r, e, l) {
409
- var O;
410
- function i() {
408
+ function Te(i, e, l) {
409
+ var M;
410
+ function s() {
411
411
  }
412
- const y = "", v = "", m = w();
413
- function h() {
412
+ const o = "", d = "", h = b();
413
+ function u() {
414
414
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
415
415
  }
416
416
  function D() {
@@ -419,219 +419,219 @@ function Te(r, e, l) {
419
419
  function a() {
420
420
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
421
421
  }
422
- function o() {
422
+ function f() {
423
423
  return (e == null ? void 0 : e.schema.componentType) === "frame";
424
424
  }
425
- function u(t) {
425
+ function p(t) {
426
426
  if (!t || !t.value)
427
427
  return null;
428
428
  if (t.value.schema && t.value.schema.type === "component")
429
429
  return t.value;
430
- const c = w(t == null ? void 0 : t.value.parent), n = u(c);
430
+ const v = b(t == null ? void 0 : t.value.parent), n = p(v);
431
431
  return n || null;
432
432
  }
433
- function f(t = e) {
434
- const { componentInstance: c, designerItemElementRef: n } = t;
435
- return !c || !c.value ? null : c.value.canMove ? n : f(t.parent);
433
+ function y(t = e) {
434
+ const { componentInstance: v, designerItemElementRef: n } = t;
435
+ return !v || !v.value ? null : v.value.canMove ? n : y(t.parent);
436
436
  }
437
- function d(t) {
437
+ function m(t) {
438
438
  return !!l;
439
439
  }
440
440
  function g() {
441
441
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
442
442
  }
443
- function S() {
443
+ function j() {
444
444
  }
445
- function E(t, c) {
445
+ function E(t, v) {
446
446
  }
447
- function L(t) {
448
- const { componentType: c } = t;
449
- let n = A(c, t);
450
- const p = c.toLowerCase().replace("-", "_");
451
- return n && !n.id && n.type === c && (n.id = `${p}_${Math.random().toString().slice(2, 6)}`), n;
447
+ function L(t, v) {
448
+ const { componentType: n } = t;
449
+ let c = P(n, t, v);
450
+ const w = n.toLowerCase().replace("-", "_");
451
+ return c && !c.id && c.type === n && (c.id = `${w}_${Math.random().toString().slice(2, 6)}`), c;
452
452
  }
453
- function M(t, c) {
454
- const n = String(t.getAttribute("data-controltype")), p = t.getAttribute("data-feature"), T = p ? JSON.parse(p) : {};
455
- T.parentComponentInstance = m.value;
456
- let b = A(n, T);
457
- const V = n.toLowerCase().replace("-", "_");
458
- return b && !b.id && b.type === n && (b.id = `${V}_${Math.random().toString().slice(2, 6)}`), b;
453
+ function O(t, v) {
454
+ const n = String(t.getAttribute("data-controltype")), c = t.getAttribute("data-feature"), w = c ? JSON.parse(c) : {};
455
+ w.parentComponentInstance = h.value;
456
+ let T = P(n, w);
457
+ const A = n.toLowerCase().replace("-", "_");
458
+ return T && !T.id && T.type === n && (T.id = `${A}_${Math.random().toString().slice(2, 6)}`), T;
459
459
  }
460
460
  function k(t) {
461
461
  }
462
- function C(...t) {
462
+ function S(...t) {
463
463
  }
464
- return m.value = {
465
- canMove: h(),
464
+ return h.value = {
465
+ canMove: u(),
466
466
  canSelectParent: D(),
467
467
  canDelete: a(),
468
- canNested: !o(),
468
+ canNested: !f(),
469
469
  contents: e == null ? void 0 : e.schema.contents,
470
- elementRef: r,
471
- parent: (O = e == null ? void 0 : e.parent) == null ? void 0 : O.componentInstance,
470
+ elementRef: i,
471
+ parent: (M = e == null ? void 0 : e.parent) == null ? void 0 : M.componentInstance,
472
472
  schema: e == null ? void 0 : e.schema,
473
- styles: y,
474
- designerClass: v,
475
- canAccepts: d,
476
- getBelongedComponentInstance: u,
477
- getDraggableDesignItemElement: f,
473
+ styles: o,
474
+ designerClass: d,
475
+ canAccepts: m,
476
+ getBelongedComponentInstance: p,
477
+ getDraggableDesignItemElement: y,
478
478
  getDraggingDisplayText: g,
479
- getPropConfig: C,
480
- getDragScopeElement: S,
479
+ getPropConfig: S,
480
+ getDragScopeElement: j,
481
481
  onAcceptMovedChildElement: E,
482
- onAcceptNewChildElement: M,
482
+ onAcceptNewChildElement: O,
483
483
  onChildElementMovedOut: k,
484
484
  addNewChildComponentSchema: L,
485
- updateDragAndDropRules: i,
486
- triggerBelongedComponentToMoveWhenMoved: w(!1),
487
- triggerBelongedComponentToDeleteWhenDeleted: w(!1)
488
- }, m;
485
+ updateDragAndDropRules: s,
486
+ triggerBelongedComponentToMoveWhenMoved: b(!1),
487
+ triggerBelongedComponentToDeleteWhenDeleted: b(!1)
488
+ }, h;
489
489
  }
490
490
  const De = /* @__PURE__ */ B({
491
491
  name: "FVerifyDetailDesign",
492
492
  props: $,
493
493
  emits: ["validatorClick", "listshow"],
494
- setup(r, e) {
494
+ setup(i, e) {
495
495
  let l = [];
496
- const i = w(r.showList), y = w(r.maxHeight), v = w(r.verifyList), m = w(r.showType), h = w(r.verifyType), D = w(), a = X("design-item-context"), o = Te(D, a);
496
+ const s = b(i.showList), o = b(i.maxHeight), d = b(i.verifyList), h = b(i.showType), u = b(i.verifyType), D = b(), a = X("design-item-context"), f = Te(D, a);
497
497
  Y(() => {
498
- D.value.componentInstance = o;
499
- }), e.expose(o.value);
500
- function u() {
501
- i.value = !i.value, e.emit("listshow", i.value);
498
+ D.value.componentInstance = f;
499
+ }), e.expose(f.value);
500
+ function p() {
501
+ s.value = !s.value, e.emit("listshow", s.value);
502
502
  }
503
- function f(n) {
504
- var p;
505
- (p = h.value) == null || p.forEach((T) => {
506
- T.active = T.type === n;
503
+ function y(n) {
504
+ var c;
505
+ (c = u.value) == null || c.forEach((w) => {
506
+ w.active = w.type === n;
507
507
  });
508
508
  }
509
- function d(n) {
510
- l.forEach((p) => {
511
- p.show = p.type === n;
509
+ function m(n) {
510
+ l.forEach((c) => {
511
+ c.show = c.type === n;
512
512
  });
513
513
  }
514
514
  function g(n) {
515
- n.length <= 0 || (f(n.type), d(n.type));
515
+ n.length <= 0 || (y(n.type), m(n.type));
516
516
  }
517
- function S() {
518
- i.value = !1, e.emit("listshow", !1);
517
+ function j() {
518
+ s.value = !1, e.emit("listshow", !1);
519
519
  }
520
520
  function E(n) {
521
521
  e.emit("validatorClick", n);
522
522
  }
523
523
  function L(n) {
524
- return s("li", {
524
+ return r("li", {
525
525
  class: "f-verify-list",
526
526
  onClick: () => E(n)
527
- }, [s("span", {
527
+ }, [r("span", {
528
528
  class: ["f-icon f-icon-close-outline list-icon list-error", {
529
529
  "list-warning": n.type === "warn"
530
530
  }]
531
- }, null), s("div", {
531
+ }, null), r("div", {
532
532
  class: "list-con"
533
- }, [s("p", {
533
+ }, [r("p", {
534
534
  class: "list-title",
535
535
  title: n.title
536
- }, [n.title]), s("p", {
536
+ }, [n.title]), r("p", {
537
537
  class: "list-msg",
538
538
  title: n.msg
539
539
  }, [n.msg])])]);
540
540
  }
541
- function M() {
542
- return l.map((n) => s("ul", {
541
+ function O() {
542
+ return l.map((n) => r("ul", {
543
543
  class: ["f-verify-list-content", {
544
544
  active: n.show
545
545
  }]
546
- }, [n.list && n.list.map((p) => L(p))]));
546
+ }, [n.list && n.list.map((c) => L(c))]));
547
547
  }
548
- const k = j(() => {
548
+ const k = C(() => {
549
549
  var n;
550
- return ((n = v.value) == null ? void 0 : n.length) > 0;
550
+ return ((n = d.value) == null ? void 0 : n.length) > 0;
551
551
  });
552
- function C(n) {
552
+ function S(n) {
553
553
  return {
554
554
  "btn btn-secondary": !0,
555
555
  active: n.active,
556
556
  disabled: n.length <= 0
557
557
  };
558
558
  }
559
- const O = j(() => {
559
+ const M = C(() => {
560
560
  var n;
561
- return (n = h.value) == null ? void 0 : n.map((p) => s("button", {
562
- class: C(p),
563
- onClick: () => g(p)
564
- }, [p.title, s("span", null, [p.length])]));
565
- }), t = j(() => {
561
+ return (n = u.value) == null ? void 0 : n.map((c) => r("button", {
562
+ class: S(c),
563
+ onClick: () => g(c)
564
+ }, [c.title, r("span", null, [c.length])]));
565
+ }), t = C(() => {
566
566
  var n;
567
- return s("div", {
567
+ return r("div", {
568
568
  class: "f-verify-nums",
569
- onClick: u
570
- }, [s("span", {
569
+ onClick: p
570
+ }, [r("span", {
571
571
  class: "nums-icon f-icon f-icon-warning"
572
- }, null), s("span", {
572
+ }, null), r("span", {
573
573
  class: "nums-count"
574
- }, [(n = v.value) == null ? void 0 : n.length])]);
574
+ }, [(n = d.value) == null ? void 0 : n.length])]);
575
575
  });
576
- function c() {
577
- var p;
576
+ function v() {
577
+ var c;
578
578
  const n = [];
579
- h.value && ((p = h.value) != null && p.length) && (h.value.map((T) => {
580
- const b = {
581
- list: T.type === "all" ? v.value : [],
579
+ u.value && ((c = u.value) != null && c.length) && (u.value.map((w) => {
580
+ const T = {
581
+ list: w.type === "all" ? d.value : [],
582
582
  show: !1,
583
- type: T.type
583
+ type: w.type
584
584
  };
585
- n.push(b);
586
- }), n.map((T, b) => {
587
- const V = v.value.filter((J) => J.type === T.type);
588
- n[b].list = b !== 0 ? V : n[b].list;
589
- }), h.value.map((T, b) => {
590
- T.length = n[b].list.length;
585
+ n.push(T);
586
+ }), n.map((w, T) => {
587
+ const A = d.value.filter((J) => J.type === w.type);
588
+ n[T].list = T !== 0 ? A : n[T].list;
589
+ }), u.value.map((w, T) => {
590
+ w.length = n[T].list.length;
591
591
  })), l = n;
592
592
  }
593
593
  return F(() => {
594
- c(), d(m.value), f(m.value);
595
- }), () => s("div", {
594
+ v(), m(h.value), y(h.value);
595
+ }), () => r("div", {
596
596
  ref: D
597
- }, [k.value ? s("div", {
597
+ }, [k.value ? r("div", {
598
598
  class: "f-verify-detail"
599
- }, [s("div", {
599
+ }, [r("div", {
600
600
  class: "f-verify-detail-content"
601
- }, [t.value, s("div", {
601
+ }, [t.value, r("div", {
602
602
  class: "f-verify-form-main",
603
- hidden: !i.value
604
- }, [s("div", {
603
+ hidden: !s.value
604
+ }, [r("div", {
605
605
  class: "f-verify-form-content"
606
- }, [s("div", {
606
+ }, [r("div", {
607
607
  class: "f-verify-form-content-arrow"
608
- }, null), s("div", {
608
+ }, null), r("div", {
609
609
  class: "f-verify-form-content-list"
610
- }, [s("div", {
610
+ }, [r("div", {
611
611
  class: "f-verify-forms-title"
612
- }, [s("div", {
612
+ }, [r("div", {
613
613
  class: "btn-group"
614
- }, [O.value]), s("div", {
614
+ }, [M.value]), r("div", {
615
615
  class: "f-verify-close",
616
- onClick: S
617
- }, [s("span", {
616
+ onClick: j
617
+ }, [r("span", {
618
618
  class: "f-icon f-icon-close"
619
- }, null)])]), s("div", {
619
+ }, null)])]), r("div", {
620
620
  class: "f-verify-forms-list",
621
621
  style: {
622
- maxHeight: y.value + "px"
622
+ maxHeight: o.value + "px"
623
623
  }
624
- }, [M()])])])])])]) : null]);
624
+ }, [O()])])])])])]) : null]);
625
625
  }
626
626
  }), Ee = {
627
- install(r) {
628
- r.component(N.name, N), r.provide("FVerifyDetailService", W);
627
+ install(i) {
628
+ i.component(N.name, N), i.provide("FVerifyDetailService", W);
629
629
  },
630
- register(r, e, l, i) {
631
- r["verify-detail"] = N, e["verify-detail"] = R;
630
+ register(i, e, l, s) {
631
+ i["verify-detail"] = N, e["verify-detail"] = R;
632
632
  },
633
- registerDesigner(r, e, l) {
634
- r["verify-detail"] = De, e["verify-detail"] = R;
633
+ registerDesigner(i, e, l) {
634
+ i["verify-detail"] = De, e["verify-detail"] = R;
635
635
  }
636
636
  };
637
637
  export {