@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,117 +1,117 @@
1
- var U = Object.defineProperty;
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
- import { cloneDeep as Z } from "lodash-es";
6
- const _ = {}, q = {};
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;
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;
10
10
  }
11
- function P(i, e = {}, l) {
12
- const s = _[i];
11
+ function _(t, e = {}, l) {
12
+ const s = F[t];
13
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;
14
+ let o = P(s);
15
+ const d = q[t];
16
+ return o = d ? d({ getSchemaByType: _ }, o, e, l) : o, o;
17
17
  }
18
18
  return null;
19
19
  }
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;
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;
23
23
  }
24
- function x(i, e) {
25
- return Object.keys(i).filter((s) => i[s] != null).reduce((s, o) => {
24
+ function I(t, e) {
25
+ return Object.keys(t).filter((s) => t[s] != null).reduce((s, o) => {
26
26
  if (e.has(o)) {
27
27
  const d = e.get(o);
28
28
  if (typeof d == "string")
29
- s[d] = i[o];
29
+ s[d] = t[o];
30
30
  else {
31
- const h = d(o, i[o], i);
31
+ const h = d(o, t[o], t);
32
32
  Object.assign(s, h);
33
33
  }
34
34
  } else
35
- s[o] = i[o];
35
+ s[o] = t[o];
36
36
  return s;
37
37
  }, {});
38
38
  }
39
- function I(i, e, l = /* @__PURE__ */ new Map()) {
40
- const s = K(i, e);
41
- return x(s, l);
39
+ function ee(t, e, l = /* @__PURE__ */ new Map()) {
40
+ const s = x(t, e);
41
+ return I(s, l);
42
42
  }
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);
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];
49
+ if (g === "not")
50
+ return Number(p[a].length) !== Number(w);
51
+ if (g === "moreThan")
52
+ return Number(p[a].length) >= Number(w);
53
+ if (g === "lessThan")
54
+ return Number(p[a].length) <= Number(w);
55
55
  }
56
56
  return !1;
57
57
  }
58
- function l(a, f, p, y) {
59
- return y[a] && y[a].propertyValue && String(y[a].propertyValue.value) === String(p);
58
+ function l(a, u, f, p) {
59
+ return p[a] && p[a].propertyValue && String(p[a].propertyValue.value) === String(f);
60
60
  }
61
61
  const s = /* @__PURE__ */ new Map([
62
62
  ["length", e],
63
63
  ["getProperty", l]
64
64
  ]);
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 };
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 };
73
73
  }) : [];
74
74
  }
75
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;
76
+ return Object.keys(a).reduce((f, p) => {
77
+ const g = o(p, a[p]);
78
+ return f.push(...g), f;
79
79
  }, []);
80
80
  }
81
- function h(a, f) {
81
+ function h(a, u) {
82
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;
83
+ const f = s.get(a.operator);
84
+ return f && f(a.target, a.param, a.value, u) || !1;
85
85
  }
86
86
  return !1;
87
87
  }
88
- function u(a, f) {
89
- return d(a).reduce((m, g) => m && h(g, f), !0);
88
+ function c(a, u) {
89
+ return d(a).reduce((g, w) => g && h(w, u), !0);
90
90
  }
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);
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);
94
94
  }
95
- return { parseValueSchema: D };
95
+ return { parseValueSchema: T };
96
96
  }
97
- const te = {}, ne = {};
98
- ee();
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);
97
+ const ne = {}, ie = {};
98
+ 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
103
  };
104
104
  }
105
- function se(i, e) {
105
+ function re(t, e) {
106
106
  return { customClass: e.class, customStyle: e.style };
107
107
  }
108
- const re = /* @__PURE__ */ new Map([
109
- ["appearance", se]
108
+ const le = /* @__PURE__ */ new Map([
109
+ ["appearance", re]
110
110
  ]);
111
- function le(i, e, l) {
111
+ function ae(t, e, l) {
112
112
  return e;
113
113
  }
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 = {
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 = {
115
115
  id: {
116
116
  description: "The unique identifier for verify-detail",
117
117
  type: "string"
@@ -173,18 +173,18 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
173
173
  type: "boolean",
174
174
  default: !0
175
175
  }
176
- }, ye = [
176
+ }, ve = [
177
177
  "id",
178
178
  "type"
179
- ], ve = {
180
- $schema: ae,
181
- $id: oe,
182
- title: ce,
183
- description: ue,
184
- type: fe,
185
- properties: pe,
186
- required: ye
187
- }, de = "verify-detail", he = "A Farris Component", me = "object", ge = {
179
+ ], de = {
180
+ $schema: oe,
181
+ $id: ce,
182
+ title: ue,
183
+ description: fe,
184
+ type: pe,
185
+ properties: ye,
186
+ required: ve
187
+ }, he = "verify-detail", me = "A Farris Component", ge = "object", we = {
188
188
  basic: {
189
189
  description: "Basic Infomation",
190
190
  title: "基本信息",
@@ -206,12 +206,12 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
206
206
  }
207
207
  }
208
208
  }
209
- }, we = {
210
- title: de,
211
- description: he,
212
- type: me,
213
- categories: ge
214
- }, $ = {
209
+ }, be = {
210
+ title: he,
211
+ description: me,
212
+ type: ge,
213
+ categories: we
214
+ }, A = {
215
215
  /** 表单验证默认显示的分组信息 */
216
216
  showType: { type: String, default: "" },
217
217
  /** 是否默认显示验证信息列表 */
@@ -251,81 +251,81 @@ 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 = ie($, ve, re, le, we), N = /* @__PURE__ */ B({
254
+ }, R = se(A, de, le, ae, be), S = /* @__PURE__ */ $({
255
255
  name: "FVerifyDetail",
256
- props: $,
256
+ props: A,
257
257
  emits: ["validatorClick", "listshow"],
258
- setup(i, e) {
258
+ setup(t, e) {
259
259
  let l = [];
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);
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);
261
261
  function a() {
262
262
  s.value = !s.value, e.emit("listshow", s.value);
263
263
  }
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
- n.active = n.type === t;
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
268
  });
269
269
  }
270
- function p(t) {
271
- t = t || l[0].type, l.forEach((v) => {
272
- v.show = v.type === t;
270
+ function f(n) {
271
+ n = n || l[0].type, l.forEach((y) => {
272
+ y.show = y.type === n;
273
273
  });
274
274
  }
275
- function y(t) {
276
- t.length <= 0 || (f(t.type), p(t.type));
275
+ function p(n) {
276
+ n.length <= 0 || (u(n.type), f(n.type));
277
277
  }
278
- function m() {
278
+ function g() {
279
279
  s.value = !1, e.emit("listshow", !1);
280
280
  }
281
- function g(t) {
282
- e.emit("validatorClick", t);
281
+ function w(n) {
282
+ e.emit("validatorClick", n);
283
283
  }
284
- function j(t) {
284
+ function k(n) {
285
285
  return r("li", {
286
286
  class: "f-verify-list",
287
- onClick: () => g(t)
287
+ onClick: () => w(n)
288
288
  }, [r("span", {
289
289
  class: ["f-icon f-icon-close-outline list-icon list-error", {
290
- "list-warning": t.type === "warn"
290
+ "list-warning": n.type === "warn"
291
291
  }]
292
292
  }, null), r("div", {
293
293
  class: "list-con"
294
294
  }, [r("p", {
295
295
  class: "list-title",
296
- title: t.title
297
- }, [t.title]), r("p", {
296
+ title: n.title
297
+ }, [n.title]), r("p", {
298
298
  class: "list-msg",
299
- title: t.msg
300
- }, [t.msg])])]);
299
+ title: n.msg
300
+ }, [n.msg])])]);
301
301
  }
302
302
  function E() {
303
- return l.map((t) => r("ul", {
303
+ return l.map((n) => r("ul", {
304
304
  class: ["f-verify-list-content", {
305
- active: t.show
305
+ active: n.show
306
306
  }]
307
- }, [t.list && t.list.map((v) => j(v))]));
307
+ }, [n.list && n.list.map((y) => k(y))]));
308
308
  }
309
- const L = C(() => {
310
- var t;
311
- return ((t = d.value) == null ? void 0 : t.length) > 0;
309
+ const L = N(() => {
310
+ var n;
311
+ return ((n = d.value) == null ? void 0 : n.length) > 0;
312
312
  });
313
- function O(t) {
313
+ function M(n) {
314
314
  return {
315
315
  btn: !0,
316
316
  "verify-title-btn": !0,
317
- "f-state-selected": t.active,
318
- disabled: t.length <= 0
317
+ "f-state-selected": n.active,
318
+ disabled: n.length <= 0
319
319
  };
320
320
  }
321
- const k = C(() => {
322
- var t;
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
- var t;
321
+ 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
329
  return r("div", {
330
330
  class: "f-verify-nums",
331
331
  onClick: a
@@ -333,32 +333,32 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
333
333
  class: "nums-icon f-icon f-icon-warning"
334
334
  }, null), r("span", {
335
335
  class: "nums-count"
336
- }, [(t = d.value) == null ? void 0 : t.length])]);
336
+ }, [(n = d.value) == null ? void 0 : n.length])]);
337
337
  });
338
- function M() {
339
- var v;
340
- const t = [];
341
- u.value && ((v = u.value) != null && v.length) && (u.value.map((n) => {
342
- const c = {
343
- list: n.type === "all" ? d.value : [],
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 : [],
344
344
  show: !1,
345
- type: n.type
345
+ type: i.type
346
346
  };
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
- })), l = t;
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;
354
354
  }
355
- return F(() => {
356
- M(), p(h.value), f(h.value);
355
+ return B(() => {
356
+ m(), f(h.value), u(h.value);
357
357
  }), () => r("div", {
358
- class: L ? `f-verify-detail ${D.value}` : ""
358
+ class: L ? `f-verify-detail ${T.value}` : ""
359
359
  }, [L.value ? r("div", {
360
360
  class: "f-verify-detail-content"
361
- }, [S.value, r("div", {
361
+ }, [C.value, r("div", {
362
362
  class: "f-verify-form-main",
363
363
  hidden: !s.value
364
364
  }, [r("div", {
@@ -371,9 +371,9 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
371
371
  class: "f-verify-forms-title"
372
372
  }, [r("div", {
373
373
  class: "btn-group"
374
- }, [k.value]), r("div", {
374
+ }, [O.value]), r("div", {
375
375
  class: "f-verify-close",
376
- onClick: m
376
+ onClick: g
377
377
  }, [r("span", {
378
378
  class: "f-icon f-icon-close"
379
379
  }, null)])]), r("div", {
@@ -384,12 +384,12 @@ const ae = "https://json-schema.org/draft/2020-12/schema", oe = "https://farris-
384
384
  }, [E()])])])])]) : null]);
385
385
  }
386
386
  });
387
- function be(i, e, l) {
388
- G({
387
+ function Te(t, e, l) {
388
+ Q({
389
389
  setup() {
390
- return Q(() => {
390
+ return X(() => {
391
391
  e && e();
392
- }), () => r(N, i, null);
392
+ }), () => r(S, t, null);
393
393
  }
394
394
  }).mount(l);
395
395
  }
@@ -397,7 +397,7 @@ class W {
397
397
  static show(e, l) {
398
398
  this.clear();
399
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);
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);
401
401
  }
402
402
  static clear() {
403
403
  let e = this.verifyContainer;
@@ -405,200 +405,192 @@ class W {
405
405
  }
406
406
  }
407
407
  H(W, "verifyContainer", null);
408
- function Te(i, e, l) {
409
- var M;
408
+ function De(t, e, l) {
409
+ var C;
410
410
  function s() {
411
411
  }
412
412
  const o = "", d = "", h = b();
413
- function u() {
413
+ function c() {
414
414
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
415
415
  }
416
- function D() {
416
+ function T() {
417
417
  return !1;
418
418
  }
419
419
  function a() {
420
420
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
421
421
  }
422
- function f() {
422
+ function u() {
423
423
  return (e == null ? void 0 : e.schema.componentType) === "frame";
424
424
  }
425
- function p(t) {
426
- if (!t || !t.value)
425
+ function f(m) {
426
+ if (!m || !m.value)
427
427
  return null;
428
- if (t.value.schema && t.value.schema.type === "component")
429
- return t.value;
430
- const v = b(t == null ? void 0 : t.value.parent), n = p(v);
431
- return n || 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;
432
432
  }
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);
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);
436
436
  }
437
- function m(t) {
437
+ function g(m) {
438
438
  return !!l;
439
439
  }
440
- function g() {
440
+ function w() {
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 j() {
444
- }
445
- function E(t, v) {
443
+ function k() {
446
444
  }
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;
445
+ function E(m, n) {
452
446
  }
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;
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;
459
452
  }
460
- function k(t) {
453
+ function M(m) {
461
454
  }
462
- function S(...t) {
455
+ function O(...m) {
463
456
  }
464
457
  return h.value = {
465
- canMove: u(),
466
- canSelectParent: D(),
458
+ canMove: c(),
459
+ canSelectParent: T(),
467
460
  canDelete: a(),
468
- canNested: !f(),
461
+ canNested: !u(),
469
462
  contents: e == null ? void 0 : e.schema.contents,
470
- elementRef: i,
471
- parent: (M = e == null ? void 0 : e.parent) == null ? void 0 : M.componentInstance,
463
+ elementRef: t,
464
+ parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
472
465
  schema: e == null ? void 0 : e.schema,
473
466
  styles: o,
474
467
  designerClass: d,
475
- canAccepts: m,
476
- getBelongedComponentInstance: p,
477
- getDraggableDesignItemElement: y,
478
- getDraggingDisplayText: g,
479
- getPropConfig: S,
480
- getDragScopeElement: j,
468
+ canAccepts: g,
469
+ getBelongedComponentInstance: f,
470
+ getDraggableDesignItemElement: p,
471
+ getDraggingDisplayText: w,
472
+ getPropConfig: O,
473
+ getDragScopeElement: k,
481
474
  onAcceptMovedChildElement: E,
482
- onAcceptNewChildElement: O,
483
- onChildElementMovedOut: k,
475
+ onChildElementMovedOut: M,
484
476
  addNewChildComponentSchema: L,
485
477
  updateDragAndDropRules: s,
486
478
  triggerBelongedComponentToMoveWhenMoved: b(!1),
487
479
  triggerBelongedComponentToDeleteWhenDeleted: b(!1)
488
480
  }, h;
489
481
  }
490
- const De = /* @__PURE__ */ B({
482
+ const Le = /* @__PURE__ */ $({
491
483
  name: "FVerifyDetailDesign",
492
- props: $,
484
+ props: A,
493
485
  emits: ["validatorClick", "listshow"],
494
- setup(i, e) {
486
+ setup(t, e) {
495
487
  let l = [];
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
- Y(() => {
498
- D.value.componentInstance = f;
499
- }), e.expose(f.value);
500
- function p() {
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);
489
+ Z(() => {
490
+ T.value.componentInstance = u;
491
+ }), e.expose(u.value);
492
+ function f() {
501
493
  s.value = !s.value, e.emit("listshow", s.value);
502
494
  }
503
- function y(n) {
504
- var c;
505
- (c = u.value) == null || c.forEach((w) => {
506
- w.active = w.type === n;
495
+ function p(i) {
496
+ var v;
497
+ (v = c.value) == null || v.forEach((D) => {
498
+ D.active = D.type === i;
507
499
  });
508
500
  }
509
- function m(n) {
510
- l.forEach((c) => {
511
- c.show = c.type === n;
501
+ function g(i) {
502
+ l.forEach((v) => {
503
+ v.show = v.type === i;
512
504
  });
513
505
  }
514
- function g(n) {
515
- n.length <= 0 || (y(n.type), m(n.type));
506
+ function w(i) {
507
+ i.length <= 0 || (p(i.type), g(i.type));
516
508
  }
517
- function j() {
509
+ function k() {
518
510
  s.value = !1, e.emit("listshow", !1);
519
511
  }
520
- function E(n) {
521
- e.emit("validatorClick", n);
512
+ function E(i) {
513
+ e.emit("validatorClick", i);
522
514
  }
523
- function L(n) {
515
+ function L(i) {
524
516
  return r("li", {
525
517
  class: "f-verify-list",
526
- onClick: () => E(n)
518
+ onClick: () => E(i)
527
519
  }, [r("span", {
528
520
  class: ["f-icon f-icon-close-outline list-icon list-error", {
529
- "list-warning": n.type === "warn"
521
+ "list-warning": i.type === "warn"
530
522
  }]
531
523
  }, null), r("div", {
532
524
  class: "list-con"
533
525
  }, [r("p", {
534
526
  class: "list-title",
535
- title: n.title
536
- }, [n.title]), r("p", {
527
+ title: i.title
528
+ }, [i.title]), r("p", {
537
529
  class: "list-msg",
538
- title: n.msg
539
- }, [n.msg])])]);
530
+ title: i.msg
531
+ }, [i.msg])])]);
540
532
  }
541
- function O() {
542
- return l.map((n) => r("ul", {
533
+ function M() {
534
+ return l.map((i) => r("ul", {
543
535
  class: ["f-verify-list-content", {
544
- active: n.show
536
+ active: i.show
545
537
  }]
546
- }, [n.list && n.list.map((c) => L(c))]));
538
+ }, [i.list && i.list.map((v) => L(v))]));
547
539
  }
548
- const k = C(() => {
549
- var n;
550
- return ((n = d.value) == null ? void 0 : n.length) > 0;
540
+ const O = N(() => {
541
+ var i;
542
+ return ((i = d.value) == null ? void 0 : i.length) > 0;
551
543
  });
552
- function S(n) {
544
+ function C(i) {
553
545
  return {
554
546
  "btn btn-secondary": !0,
555
- active: n.active,
556
- disabled: n.length <= 0
547
+ active: i.active,
548
+ disabled: i.length <= 0
557
549
  };
558
550
  }
559
- const M = C(() => {
560
- var n;
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
- var n;
551
+ const m = N(() => {
552
+ 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(() => {
558
+ var i;
567
559
  return r("div", {
568
560
  class: "f-verify-nums",
569
- onClick: p
561
+ onClick: f
570
562
  }, [r("span", {
571
563
  class: "nums-icon f-icon f-icon-warning"
572
564
  }, null), r("span", {
573
565
  class: "nums-count"
574
- }, [(n = d.value) == null ? void 0 : n.length])]);
566
+ }, [(i = d.value) == null ? void 0 : i.length])]);
575
567
  });
576
- function v() {
577
- var c;
578
- const n = [];
579
- u.value && ((c = u.value) != null && c.length) && (u.value.map((w) => {
580
- const T = {
581
- list: w.type === "all" ? d.value : [],
568
+ function y() {
569
+ var v;
570
+ const i = [];
571
+ c.value && ((v = c.value) != null && v.length) && (c.value.map((D) => {
572
+ const j = {
573
+ list: D.type === "all" ? d.value : [],
582
574
  show: !1,
583
- type: w.type
575
+ type: D.type
584
576
  };
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
- })), l = n;
577
+ i.push(j);
578
+ }), i.map((D, j) => {
579
+ const U = d.value.filter((z) => z.type === D.type);
580
+ i[j].list = j !== 0 ? U : i[j].list;
581
+ }), c.value.map((D, j) => {
582
+ D.length = i[j].list.length;
583
+ })), l = i;
592
584
  }
593
- return F(() => {
594
- v(), m(h.value), y(h.value);
585
+ return B(() => {
586
+ y(), g(h.value), p(h.value);
595
587
  }), () => r("div", {
596
- ref: D
597
- }, [k.value ? r("div", {
588
+ ref: T
589
+ }, [O.value ? r("div", {
598
590
  class: "f-verify-detail"
599
591
  }, [r("div", {
600
592
  class: "f-verify-detail-content"
601
- }, [t.value, r("div", {
593
+ }, [n.value, r("div", {
602
594
  class: "f-verify-form-main",
603
595
  hidden: !s.value
604
596
  }, [r("div", {
@@ -611,9 +603,9 @@ const De = /* @__PURE__ */ B({
611
603
  class: "f-verify-forms-title"
612
604
  }, [r("div", {
613
605
  class: "btn-group"
614
- }, [M.value]), r("div", {
606
+ }, [m.value]), r("div", {
615
607
  class: "f-verify-close",
616
- onClick: j
608
+ onClick: k
617
609
  }, [r("span", {
618
610
  class: "f-icon f-icon-close"
619
611
  }, null)])]), r("div", {
@@ -621,23 +613,23 @@ const De = /* @__PURE__ */ B({
621
613
  style: {
622
614
  maxHeight: o.value + "px"
623
615
  }
624
- }, [O()])])])])])]) : null]);
616
+ }, [M()])])])])])]) : null]);
625
617
  }
626
618
  }), Ee = {
627
- install(i) {
628
- i.component(N.name, N), i.provide("FVerifyDetailService", W);
619
+ install(t) {
620
+ t.component(S.name, S), t.provide("FVerifyDetailService", W);
629
621
  },
630
- register(i, e, l, s) {
631
- i["verify-detail"] = N, e["verify-detail"] = R;
622
+ register(t, e, l, s) {
623
+ t["verify-detail"] = S, e["verify-detail"] = R;
632
624
  },
633
- registerDesigner(i, e, l) {
634
- i["verify-detail"] = De, e["verify-detail"] = R;
625
+ registerDesigner(t, e, l) {
626
+ t["verify-detail"] = Le, e["verify-detail"] = R;
635
627
  }
636
628
  };
637
629
  export {
638
- N as FVerifyDetail,
630
+ S as FVerifyDetail,
639
631
  W as FVerifyDetailService,
640
632
  Ee as default,
641
633
  R as propsResolver,
642
- $ as verifyDetailProps
634
+ A as verifyDetailProps
643
635
  };