@farris/ui-vue 1.3.1 → 1.3.3

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