@web-utils/component 2.0.14 → 2.2.0

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 (384) hide show
  1. package/{dist/components/address-input/index.js → address-input/index.mjs} +9 -9
  2. package/affix/index.mjs +102 -0
  3. package/affix/style.css +1 -0
  4. package/aside-menu/index.mjs +58 -0
  5. package/avatar/index.mjs +106 -0
  6. package/avatar/style.css +1 -0
  7. package/awesome-button/index.mjs +112 -0
  8. package/base.css +1 -0
  9. package/{dist/components/capsule-tab/index.js → capsule-tab/index.mjs} +10 -10
  10. package/{dist/components/capsule-tab → capsule-tab}/style.css +1 -1
  11. package/card/index.mjs +126 -0
  12. package/card/style.css +1 -0
  13. package/carousel/index.mjs +70 -0
  14. package/carousel/style.css +1 -0
  15. package/chat/index.mjs +576 -0
  16. package/chat/style.css +1 -0
  17. package/{dist/components/chunk-file-uploader/index.js → chunk-file-uploader/index.mjs} +8 -6
  18. package/chunks/FormTemp.FX8xmbVB.mjs +165 -0
  19. package/chunks/confirmable-mixin.rTUMhoRH.mjs +106 -0
  20. package/chunks/dataformat.X_61lMA7.mjs +158 -0
  21. package/chunks/dic.6tk91Dmq.mjs +130 -0
  22. package/chunks/event.NHA7rYFE.mjs +236 -0
  23. package/{dist/chunks/76680a03.js → chunks/form-input-mixin.IKogWBfn.mjs} +2 -2
  24. package/{dist/chunks/b4acd3a6.js → chunks/form-item-mixin.BilKDUlK.mjs} +28 -14
  25. package/{dist/chunks/f71045fc.js → chunks/index.LGsb2aDq.mjs} +7 -6
  26. package/chunks/init.Ac4dKUJB.mjs +122 -0
  27. package/chunks/json-beautifier.fUZFSW5j.mjs +126 -0
  28. package/chunks/packages.v6r2Hr7E.mjs +58 -0
  29. package/chunks/permission.E9kZbW48.mjs +16 -0
  30. package/chunks/slot.j1uMmBnG.mjs +27 -0
  31. package/{dist/chunks/8c0142e0.js → chunks/tab-mixin.tM9jcRT8.mjs} +1 -1
  32. package/chunks/util.C2Bhx22L.mjs +259 -0
  33. package/{dist/chunks/5d4282fb.js → chunks/vueComponentNormalizer.JwmUNtgn.mjs} +3 -1
  34. package/{dist/components/code-mirror-editor/index.js → code-mirror-editor/index.mjs} +41 -38
  35. package/code-mirror-editor/style.css +1 -0
  36. package/{dist/components/color-picker/index.js → color-picker/index.mjs} +41 -23
  37. package/comment/index.mjs +90 -0
  38. package/comment/style.css +1 -0
  39. package/{dist/components/confirm-button/index.js → confirm-button/index.mjs} +2 -2
  40. package/{dist/components/confirmable/index.js → confirmable/index.mjs} +2 -2
  41. package/{dist/components/context-menu/index.js → context-menu/index.mjs} +27 -15
  42. package/context-menu/style.css +1 -0
  43. package/count-up/index.mjs +131 -0
  44. package/custom-scrollbar/index.mjs +116 -0
  45. package/data-box/index.mjs +97 -0
  46. package/data-box/style.css +1 -0
  47. package/data-card/index.mjs +98 -0
  48. package/data-card/style.css +1 -0
  49. package/data-cardtext/index.mjs +82 -0
  50. package/data-cardtext/style.css +1 -0
  51. package/data-display/index.mjs +97 -0
  52. package/data-display/style.css +1 -0
  53. package/data-icons/index.mjs +104 -0
  54. package/data-icons/style.css +1 -0
  55. package/data-imgtext/index.mjs +106 -0
  56. package/data-imgtext/style.css +1 -0
  57. package/data-operatext/index.mjs +99 -0
  58. package/data-operatext/style.css +1 -0
  59. package/data-panel/index.mjs +93 -0
  60. package/data-panel/style.css +1 -0
  61. package/data-pay/index.mjs +152 -0
  62. package/data-pay/style.css +1 -0
  63. package/data-price/index.mjs +84 -0
  64. package/data-price/style.css +1 -0
  65. package/data-progress/index.mjs +97 -0
  66. package/data-progress/style.css +1 -0
  67. package/data-rotate/index.mjs +96 -0
  68. package/data-rotate/style.css +1 -0
  69. package/{dist/components/data-table-picker/index.js → data-table-picker/index.mjs} +22 -22
  70. package/data-tabs/index.mjs +94 -0
  71. package/data-tabs/style.css +1 -0
  72. package/dialog-form/index.mjs +148 -0
  73. package/dialog-form/style.css +1 -0
  74. package/{dist/components/dynamic-table/index.js → dynamic-table/index.mjs} +11 -11
  75. package/dynamic-table/style.css +1 -0
  76. package/{dist/components/e-charts/index.js → e-charts/index.mjs} +33 -46
  77. package/easy-popup/index.mjs +136 -0
  78. package/easy-popup/style.css +1 -0
  79. package/{dist/components/editable-progress/index.js → editable-progress/index.mjs} +1 -1
  80. package/editable-progress/style.css +1 -0
  81. package/editable-tree/index.mjs +844 -0
  82. package/editable-tree/style.css +1 -0
  83. package/{dist/components/egd-collapse/index.js → egd-collapse/index.mjs} +1 -1
  84. package/{dist/components/egd-collapse-item/index.js → egd-collapse-item/index.mjs} +14 -12
  85. package/{dist/components/element-dialog/index.js → element-dialog/index.mjs} +88 -35
  86. package/element-dialog/style.css +1 -0
  87. package/{dist/components/empty-view/index.js → empty-view/index.mjs} +9 -9
  88. package/empty-view/style.css +1 -0
  89. package/{dist/components/error-view/index.js → error-view/index.mjs} +13 -13
  90. package/error-view/style.css +1 -0
  91. package/flex-column/index.mjs +62 -0
  92. package/flex-item/index.mjs +81 -0
  93. package/flex-row/index.mjs +62 -0
  94. package/{dist/components/flex-scroller/index.js → flex-scroller/index.mjs} +5 -5
  95. package/flex-scroller/style.css +1 -0
  96. package/flow/index.mjs +277 -0
  97. package/flow/style.css +1 -0
  98. package/flow-designer/index.mjs +10184 -0
  99. package/flow-designer/style.css +1 -0
  100. package/flow-node/index.mjs +102 -0
  101. package/flow-viewer/index.mjs +209 -0
  102. package/flow-viewer/style.css +1 -0
  103. package/form-block/index.mjs +156 -0
  104. package/form-block/style.css +1 -0
  105. package/form-button/index.mjs +58 -0
  106. package/{dist/components/form-cascader/index.js → form-cascader/index.mjs} +41 -29
  107. package/{dist/components/form-checkbox-group/index.js → form-checkbox-group/index.mjs} +47 -36
  108. package/form-checkbox-group/style.css +1 -0
  109. package/{dist/components/form-date-picker/index.js → form-date-picker/index.mjs} +45 -36
  110. package/form-holder/index.mjs +129 -0
  111. package/{dist/components/form-input/index.js → form-input/index.mjs} +34 -23
  112. package/{dist/components/form-input-email/index.js → form-input-email/index.mjs} +36 -25
  113. package/{dist/components/form-input-id-card/index.js → form-input-id-card/index.mjs} +35 -24
  114. package/{dist/components/form-input-number/index.js → form-input-number/index.mjs} +40 -29
  115. package/{dist/components/form-input-phone-number/index.js → form-input-phone-number/index.mjs} +37 -26
  116. package/form-input-tag/index.mjs +108 -0
  117. package/{dist/components/form-input-time/index.js → form-input-time/index.mjs} +40 -29
  118. package/form-item/index.mjs +147 -0
  119. package/{dist/components/form-item → form-item}/style.css +1 -1
  120. package/{dist/components/form-item-config-provider/index.js → form-item-config-provider/index.mjs} +1 -1
  121. package/{dist/components/form-item-group/index.js → form-item-group/index.mjs} +4 -4
  122. package/form-item-group/style.css +1 -0
  123. package/{dist/components/form-radio-group/index.js → form-radio-group/index.mjs} +51 -40
  124. package/form-radio-group/style.css +1 -0
  125. package/{dist/components/form-select/index.js → form-select/index.mjs} +40 -29
  126. package/{dist/components/form-switch/index.js → form-switch/index.mjs} +35 -24
  127. package/form-textarea/index.mjs +113 -0
  128. package/{dist/components/form-view/index.js → form-view/index.mjs} +72 -44
  129. package/form-view/style.css +1 -0
  130. package/fy-array/index.mjs +158 -0
  131. package/fy-array/style.css +1 -0
  132. package/fy-article/index.mjs +93 -0
  133. package/fy-article/style.css +1 -0
  134. package/fy-cascader/index.mjs +132 -0
  135. package/fy-checkbox/index.mjs +117 -0
  136. package/fy-checkbox/style.css +1 -0
  137. package/fy-code/index.mjs +66 -0
  138. package/fy-curd/index.mjs +3119 -0
  139. package/fy-curd/style.css +1 -0
  140. package/fy-date/index.mjs +84 -0
  141. package/fy-date/style.css +1 -0
  142. package/fy-draggable/index.mjs +382 -0
  143. package/fy-draggable/style.css +1 -0
  144. package/fy-dynamic/index.mjs +337 -0
  145. package/fy-dynamic/style.css +1 -0
  146. package/fy-empty/index.mjs +59 -0
  147. package/fy-empty/style.css +1 -0
  148. package/fy-form/index.mjs +993 -0
  149. package/fy-form/style.css +1 -0
  150. package/fy-form-design/index.mjs +7483 -0
  151. package/fy-form-design/style.css +1 -0
  152. package/fy-input/index.mjs +171 -0
  153. package/fy-input-color/index.mjs +101 -0
  154. package/fy-input-icon/index.mjs +169 -0
  155. package/fy-input-icon/style.css +1 -0
  156. package/fy-input-map/index.mjs +279 -0
  157. package/fy-input-map/style.css +1 -0
  158. package/fy-input-number/index.mjs +87 -0
  159. package/fy-input-table/index.mjs +172 -0
  160. package/fy-input-table/style.css +1 -0
  161. package/fy-input-tree/index.mjs +267 -0
  162. package/fy-input-tree/style.css +1 -0
  163. package/fy-progress/index.mjs +60 -0
  164. package/fy-radio/index.mjs +70 -0
  165. package/fy-radio/style.css +1 -0
  166. package/fy-rate/index.mjs +106 -0
  167. package/fy-rate/style.css +1 -0
  168. package/fy-select/index.mjs +225 -0
  169. package/fy-select/style.css +1 -0
  170. package/fy-slider/index.mjs +79 -0
  171. package/fy-switch/index.mjs +74 -0
  172. package/fy-tabs/index.mjs +92 -0
  173. package/fy-time/index.mjs +95 -0
  174. package/fy-title/index.mjs +40 -0
  175. package/fy-title/style.css +1 -0
  176. package/fy-tree/index.mjs +433 -0
  177. package/fy-tree/style.css +1 -0
  178. package/fy-u-editor/index.mjs +398 -0
  179. package/fy-u-editor/style.css +1 -0
  180. package/fy-upload/index.mjs +592 -0
  181. package/fy-upload/style.css +1 -0
  182. package/{dist/components/guide-steps/index.js → guide-steps/index.mjs} +12 -12
  183. package/{dist/components/guide-steps → guide-steps}/style.css +1 -1
  184. package/highlight-j-s/index.mjs +76 -0
  185. package/highlight-j-s/style.css +1 -0
  186. package/{dist/components/icon-card/index.js → icon-card/index.mjs} +9 -9
  187. package/{dist/components/icon-card → icon-card}/style.css +1 -1
  188. package/icon-temp/index.mjs +50 -0
  189. package/icon-temp/style.css +1 -0
  190. package/{dist/components/iframe-window/index.js → iframe-window/index.mjs} +5 -5
  191. package/iframe-window/style.css +1 -0
  192. package/image-cropper/index.mjs +249 -0
  193. package/image-cropper/style.css +1 -0
  194. package/image-preview/index.mjs +260 -0
  195. package/image-preview/style.css +1 -0
  196. package/{dist/components/image-viewer/index.js → image-viewer/index.mjs} +5 -5
  197. package/image-viewer/style.css +1 -0
  198. package/index.mjs +627 -0
  199. package/{dist/components/input-number/index.js → input-number/index.mjs} +2 -2
  200. package/{dist/components/input-number-range/index.js → input-number-range/index.mjs} +7 -7
  201. package/input-number-range/style.css +1 -0
  202. package/{dist/components/keep-view-alive/index.js → keep-view-alive/index.mjs} +6 -2
  203. package/keyboard/index.mjs +384 -0
  204. package/keyboard/style.css +1 -0
  205. package/license/index.mjs +134 -0
  206. package/{dist/components/loading-view/index.js → loading-view/index.mjs} +5 -5
  207. package/loading-view/style.css +1 -0
  208. package/login/index.mjs +250 -0
  209. package/login/style.css +1 -0
  210. package/monaco-editor/index.mjs +197 -0
  211. package/name-avatar/index.mjs +66 -0
  212. package/name-avatar/style.css +1 -0
  213. package/{dist/components/nav-bar/index.js → nav-bar/index.mjs} +8 -8
  214. package/nav-bar/style.css +1 -0
  215. package/not-implement/index.mjs +35 -0
  216. package/not-implement/style.css +1 -0
  217. package/notice/index.mjs +143 -0
  218. package/notice/style.css +1 -0
  219. package/package.json +41 -148
  220. package/{dist/components/page/index.js → page/index.mjs} +8 -8
  221. package/{dist/components/page-header/index.js → page-header/index.mjs} +6 -6
  222. package/{dist/components/page-index/index.js → page-index/index.mjs} +58 -34
  223. package/page-index/style.css +1 -0
  224. package/page-index-top/index.mjs +141 -0
  225. package/page-skeleton/index.mjs +67 -0
  226. package/page-skeleton/style.css +1 -0
  227. package/{dist/components/page-skeleton-new/index.js → page-skeleton-new/index.mjs} +3 -3
  228. package/page-skeleton-new/style.css +1 -0
  229. package/{dist/components/pageable-table/index.js → pageable-table/index.mjs} +149 -100
  230. package/pageable-table/style.css +1 -0
  231. package/{dist/components/pageable-view/index.js → pageable-view/index.mjs} +118 -68
  232. package/pageable-view/style.css +1 -0
  233. package/photo-swipe/index.mjs +129 -0
  234. package/present-view/index.mjs +365 -0
  235. package/present-view/style.css +1 -0
  236. package/queue/index.mjs +71 -0
  237. package/queue/style.css +1 -0
  238. package/record-video/index.mjs +173 -0
  239. package/record-video/style.css +1 -0
  240. package/{dist/components/resize-observer/index.js → resize-observer/index.mjs} +6 -6
  241. package/resize-observer/style.css +1 -0
  242. package/search/index.mjs +143 -0
  243. package/search/style.css +1 -0
  244. package/{dist/components/search-popover/index.js → search-popover/index.mjs} +64 -43
  245. package/search-popover/style.css +1 -0
  246. package/sign/index.mjs +132 -0
  247. package/sign/style.css +1 -0
  248. package/{dist/components/sign-panel/index.js → sign-panel/index.mjs} +18 -5
  249. package/sign-panel/style.css +1 -0
  250. package/skeleton/index.mjs +82 -0
  251. package/skeleton/style.css +1 -0
  252. package/{dist/components/split-pane/index.js → split-pane/index.mjs} +125 -28
  253. package/split-pane/style.css +1 -0
  254. package/{dist/components/stateful/index.js → stateful/index.mjs} +12 -12
  255. package/{dist/components/stateful → stateful}/style.css +1 -1
  256. package/{dist/components/static-pageable-table/index.js → static-pageable-table/index.mjs} +10 -10
  257. package/static-pageable-table/style.css +1 -0
  258. package/{dist/components/swiper/index.js → swiper/index.mjs} +49 -24
  259. package/swiper/style.css +1 -0
  260. package/{dist/components/tab/index.js → tab/index.mjs} +4 -2
  261. package/tab/style.css +1 -0
  262. package/{dist/components/tab-item/index.js → tab-item/index.mjs} +3 -3
  263. package/{dist/components/table-column/index.js → table-column/index.mjs} +35 -22
  264. package/{dist/components/table-view/index.js → table-view/index.mjs} +91 -64
  265. package/table-view/style.css +1 -0
  266. package/{dist/components/tag-render/index.js → tag-render/index.mjs} +45 -26
  267. package/tag-render/style.css +1 -0
  268. package/text-ellipsis/index.mjs +108 -0
  269. package/text-ellipsis/style.css +1 -0
  270. package/{dist/components/tinymce-wrapper/index.js → tinymce-editor/index.mjs} +446 -71
  271. package/tinymce-editor/style.css +1 -0
  272. package/{dist/components/toolbar/index.js → toolbar/index.mjs} +21 -21
  273. package/toolbar/style.css +1 -0
  274. package/toolbar-button/index.mjs +108 -0
  275. package/toolbar-button/style.css +1 -0
  276. package/verify/index.mjs +80 -0
  277. package/verify/style.css +1 -0
  278. package/vue-cron/index.mjs +1410 -0
  279. package/vue-cron/style.css +1 -0
  280. package/vue-qr-code/index.mjs +83 -0
  281. package/vue-quill-editor/index.mjs +117 -0
  282. package/vue-quill-editor/style.css +1 -0
  283. package/{dist/components/vue-tags-input/index.js → vue-tags-input/index.mjs} +115 -1
  284. package/vue-tags-input/style.css +1 -0
  285. package/vue-tree-select/index.mjs +2881 -0
  286. package/vue-tree-select/style.css +1 -0
  287. package/vue-video-player/index.mjs +192 -0
  288. package/vue-video-player/style.css +1 -0
  289. package/watermark/index.mjs +95 -0
  290. package/watermark/style.css +1 -0
  291. package/web-types.json +14033 -2752
  292. package/x-input-tag/index.mjs +203 -0
  293. package/x-input-tag/style.css +1 -0
  294. package/README.md +0 -27
  295. package/dist/chunks/3a79781b.js +0 -75
  296. package/dist/chunks/5a78e0db.js +0 -16
  297. package/dist/chunks/97652d86.js +0 -26
  298. package/dist/components/aside-menu/index.js +0 -58
  299. package/dist/components/awesome-button/index.js +0 -82
  300. package/dist/components/base.css +0 -1
  301. package/dist/components/chunk-file-uploader-button/index.js +0 -60
  302. package/dist/components/chunk-file-uploader-button/style.css +0 -1
  303. package/dist/components/chunk-file-uploader-drop/index.js +0 -65
  304. package/dist/components/chunk-file-uploader-drop/style.css +0 -1
  305. package/dist/components/chunk-file-uploader-file/index.js +0 -311
  306. package/dist/components/chunk-file-uploader-file/style.css +0 -1
  307. package/dist/components/chunk-file-uploader-files/index.js +0 -49
  308. package/dist/components/chunk-file-uploader-files/style.css +0 -1
  309. package/dist/components/chunk-file-uploader-list/index.js +0 -50
  310. package/dist/components/chunk-file-uploader-list/style.css +0 -1
  311. package/dist/components/chunk-file-uploader-un-support/index.js +0 -51
  312. package/dist/components/chunk-file-uploader-un-support/style.css +0 -1
  313. package/dist/components/code-mirror-editor/style.css +0 -1
  314. package/dist/components/context-menu/style.css +0 -1
  315. package/dist/components/custom-scrollbar/index.js +0 -149
  316. package/dist/components/dynamic-table/style.css +0 -1
  317. package/dist/components/editable-progress/style.css +0 -1
  318. package/dist/components/editable-tree/index.js +0 -789
  319. package/dist/components/editable-tree/style.css +0 -1
  320. package/dist/components/element-dialog/style.css +0 -1
  321. package/dist/components/empty-view/style.css +0 -1
  322. package/dist/components/error-view/style.css +0 -1
  323. package/dist/components/flex-column/index.js +0 -50
  324. package/dist/components/flex-item/index.js +0 -66
  325. package/dist/components/flex-row/index.js +0 -50
  326. package/dist/components/flex-scroller/style.css +0 -1
  327. package/dist/components/form-button/index.js +0 -80
  328. package/dist/components/form-checkbox-group/style.css +0 -1
  329. package/dist/components/form-holder/index.js +0 -90
  330. package/dist/components/form-item/index.js +0 -119
  331. package/dist/components/form-item-group/style.css +0 -1
  332. package/dist/components/form-radio-group/style.css +0 -1
  333. package/dist/components/form-textarea/index.js +0 -102
  334. package/dist/components/form-view/style.css +0 -1
  335. package/dist/components/iframe-window/style.css +0 -1
  336. package/dist/components/image-viewer/style.css +0 -1
  337. package/dist/components/input-number-range/style.css +0 -1
  338. package/dist/components/loading-view/style.css +0 -1
  339. package/dist/components/nav-bar/style.css +0 -1
  340. package/dist/components/not-implement/index.js +0 -35
  341. package/dist/components/not-implement/style.css +0 -1
  342. package/dist/components/page-index/style.css +0 -1
  343. package/dist/components/page-index-top/index.js +0 -119
  344. package/dist/components/page-skeleton/index.js +0 -56
  345. package/dist/components/page-skeleton/style.css +0 -1
  346. package/dist/components/page-skeleton-new/style.css +0 -1
  347. package/dist/components/pageable-table/style.css +0 -1
  348. package/dist/components/pageable-view/style.css +0 -1
  349. package/dist/components/photo-swipe/index.js +0 -187
  350. package/dist/components/photo-swipe/style.css +0 -1
  351. package/dist/components/resize-observer/style.css +0 -1
  352. package/dist/components/search-popover/style.css +0 -1
  353. package/dist/components/sign-panel/style.css +0 -1
  354. package/dist/components/split-pane/style.css +0 -1
  355. package/dist/components/static-pageable-table/style.css +0 -1
  356. package/dist/components/swiper/style.css +0 -1
  357. package/dist/components/tab/style.css +0 -1
  358. package/dist/components/table-view/style.css +0 -1
  359. package/dist/components/tag-render/style.css +0 -1
  360. package/dist/components/tinymce-editor/index.js +0 -173
  361. package/dist/components/tinymce-editor/style.css +0 -1
  362. package/dist/components/tinymce-wrapper/style.css +0 -1
  363. package/dist/components/toolbar/style.css +0 -1
  364. package/dist/components/toolbar-button/index.js +0 -90
  365. package/dist/components/toolbar-button/style.css +0 -1
  366. package/dist/components/trigger/index.js +0 -71
  367. package/dist/components/vue-tags-input/style.css +0 -1
  368. package/dist/components/watermark/index.js +0 -63
  369. package/dist/components/watermark/style.css +0 -1
  370. package/dist/components/x-dialog/index.js +0 -173
  371. package/dist/components/x-dialog/style.css +0 -1
  372. package/dist/index.css +0 -2060
  373. package/dist/index.es.js +0 -13236
  374. /package/{dist/components/address-input → address-input}/style.css +0 -0
  375. /package/{dist/components/aside-menu → aside-menu}/style.css +0 -0
  376. /package/{dist/components/chunk-file-uploader → chunk-file-uploader}/style.css +0 -0
  377. /package/{dist/chunks/61ad06b2.js → chunks/form-pick-mixin.y-qhZJi6.mjs} +0 -0
  378. /package/{dist/chunks/41a066be.js → chunks/input-number-mixin.GE2zr_3s.mjs} +0 -0
  379. /package/{dist/components/e-charts → e-charts}/style.css +0 -0
  380. /package/{dist/components/form-input-number → form-input-number}/style.css +0 -0
  381. /package/{dist/components/input-number → input-number}/style.css +0 -0
  382. /package/{dist/components/j-s-x-component/index.js → j-s-x-component/index.mjs} +0 -0
  383. /package/{dist/components/page → page}/style.css +0 -0
  384. /package/{dist/components/page-header → page-header}/style.css +0 -0
@@ -0,0 +1 @@
1
+ .process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
@@ -0,0 +1,102 @@
1
+ import { s as n } from "../chunks/util.C2Bhx22L.mjs";
2
+ import { n as r } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
3
+ var l = function() {
4
+ var e = this, o = e.$createElement, t = e._self._c || o;
5
+ return t("div", {
6
+ ref: "node",
7
+ style: e.flowNodeContainer,
8
+ attrs: {
9
+ left: e.node.left,
10
+ top: e.node.top,
11
+ disabled: "",
12
+ mask: !1
13
+ },
14
+ on: {
15
+ mouseenter: e.showDelete,
16
+ mouseleave: e.hideDelete,
17
+ mouseup: e.changeNodeSite
18
+ }
19
+ }, [t("div", {
20
+ class: ["avue-flow__node", {
21
+ active: e.active === e.node.id
22
+ }]
23
+ }, [t("div", {
24
+ staticClass: "avue-flow__node-header"
25
+ }, [t("i", {
26
+ staticClass: "el-icon-rank",
27
+ class: e.b("node-drag")
28
+ }), e._t("header", null, {
29
+ node: e.node
30
+ })], 2), t("div", {
31
+ staticClass: "avue-flow__node-body"
32
+ }, [e._t("default", null, {
33
+ node: e.node
34
+ })], 2)])]);
35
+ }, a = [];
36
+ const i = {
37
+ name: "FlowNode",
38
+ props: {
39
+ active: [String, Number],
40
+ index: [String, Number],
41
+ node: Object
42
+ },
43
+ data() {
44
+ return {
45
+ // 控制节点操作显示
46
+ mouseEnter: !1
47
+ };
48
+ },
49
+ computed: {
50
+ // 节点容器样式
51
+ flowNodeContainer: {
52
+ get() {
53
+ return {
54
+ position: "absolute",
55
+ width: "200px",
56
+ top: n(this.node.top),
57
+ left: n(this.node.left),
58
+ boxShadow: this.mouseEnter ? "#66a6e0 0px 0px 12px 0px" : "",
59
+ backgroundColor: "transparent"
60
+ };
61
+ }
62
+ }
63
+ },
64
+ methods: {
65
+ // 鼠标进入
66
+ showDelete() {
67
+ this.mouseEnter = !0;
68
+ },
69
+ // 鼠标离开
70
+ hideDelete() {
71
+ this.mouseEnter = !1;
72
+ },
73
+ // 鼠标移动后抬起
74
+ changeNodeSite() {
75
+ this.node.left === this.$refs.node.style.left && this.node.top === this.$refs.node.style.top || this.$emit("changeNodeSite", {
76
+ index: this.index,
77
+ left: Number(this.$refs.node.style.left.replace("px", "")),
78
+ top: Number(this.$refs.node.style.top.replace("px", ""))
79
+ });
80
+ }
81
+ }
82
+ }, s = {};
83
+ var d = /* @__PURE__ */ r(
84
+ i,
85
+ l,
86
+ a,
87
+ !1,
88
+ u,
89
+ null,
90
+ null,
91
+ null
92
+ );
93
+ function u(e) {
94
+ for (let o in s)
95
+ this[o] = s[o];
96
+ }
97
+ const p = /* @__PURE__ */ function() {
98
+ return d.exports;
99
+ }();
100
+ export {
101
+ p as default
102
+ };
@@ -0,0 +1,209 @@
1
+ var b = Object.defineProperty, x = Object.defineProperties;
2
+ var M = Object.getOwnPropertyDescriptors;
3
+ var g = Object.getOwnPropertySymbols;
4
+ var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
+ var u = (e, i, t) => i in e ? b(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, w = (e, i) => {
6
+ for (var t in i || (i = {}))
7
+ V.call(i, t) && u(e, t, i[t]);
8
+ if (g)
9
+ for (var t of g(i))
10
+ E.call(i, t) && u(e, t, i[t]);
11
+ return e;
12
+ }, y = (e, i) => x(e, M(i));
13
+ var v = (e, i, t) => new Promise((s, n) => {
14
+ var l = (r) => {
15
+ try {
16
+ a(t.next(r));
17
+ } catch (o) {
18
+ n(o);
19
+ }
20
+ }, h = (r) => {
21
+ try {
22
+ a(t.throw(r));
23
+ } catch (o) {
24
+ n(o);
25
+ }
26
+ }, a = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(l, h);
27
+ a((t = t.apply(e, i)).next());
28
+ });
29
+ import $ from "bpmn-js/lib/NavigatedViewer";
30
+ import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
+ import { create as c, attr as p, append as m } from "tiny-svg";
32
+ import { query as A } from "min-dom";
33
+ import S from "@web-utils/component/easy-popup";
34
+ import "@web-utils/component/easy-popup/style.css";
35
+ import { n as F } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
36
+ var B = function() {
37
+ var e = this, i = e.$createElement, t = e._self._c || i;
38
+ return t("div", {
39
+ ref: "container",
40
+ staticClass: "flow-viewer flow-background-image",
41
+ style: {
42
+ "--highlight-color": e.highlightColor
43
+ }
44
+ }, [t("EasyPopup", {
45
+ ref: "popup",
46
+ attrs: {
47
+ "append-to-body": "",
48
+ "flex-column": "",
49
+ offset: {
50
+ x: 6,
51
+ y: 6
52
+ }
53
+ }
54
+ }, [e._t("default", function() {
55
+ return [e._v(" " + e._s(e.element) + " ")];
56
+ }, {
57
+ element: e.element
58
+ })], 2)], 1);
59
+ }, C = [];
60
+ const f = d.prototype._handleWheel, P = {
61
+ __init__: ["zoomScroll"],
62
+ zoomScroll: ["type", d]
63
+ }, W = {
64
+ name: "FlowViewer",
65
+ components: {
66
+ EasyPopup: S
67
+ },
68
+ props: {
69
+ xml: {
70
+ type: String,
71
+ required: !0
72
+ },
73
+ options: {
74
+ type: Object
75
+ },
76
+ activities: {
77
+ type: Array,
78
+ default: () => []
79
+ },
80
+ historicActivities: {
81
+ type: Array,
82
+ default: () => []
83
+ },
84
+ highlightColor: {
85
+ type: String,
86
+ default: "rgb(0 190 0 / 100%)"
87
+ },
88
+ ctrlKey: Boolean,
89
+ nodePopup: Boolean,
90
+ events: Array
91
+ },
92
+ data() {
93
+ return {
94
+ element: null
95
+ };
96
+ },
97
+ watch: {
98
+ xml(e) {
99
+ var i;
100
+ (i = this.bpmnViewer) == null || i.importXML(e);
101
+ }
102
+ },
103
+ mounted() {
104
+ d.prototype._handleWheel = this.ctrlKey ? f : function(e) {
105
+ const { target: i, deltaMode: t, clientX: s, clientY: n, deltaX: l, deltaY: h } = e;
106
+ f.call(this, {
107
+ target: i,
108
+ deltaMode: t,
109
+ clientX: s,
110
+ clientY: n,
111
+ deltaX: l,
112
+ deltaY: h,
113
+ preventDefault() {
114
+ e.preventDefault();
115
+ },
116
+ ctrlKey: !0
117
+ });
118
+ }, this.bpmnViewer = new $(y(w({}, this.options), {
119
+ container: this.$refs.container,
120
+ additionalModules: [P]
121
+ })), this.bpmnViewer.on("import.done", (e) => {
122
+ const i = e.error, t = e.warnings;
123
+ i ? this.$emit("error", i) : this.$emit("shown", t), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
124
+ const s = this.bpmnViewer.get("eventBus");
125
+ this.events && this.events.forEach((o) => {
126
+ s.on(o, (k) => {
127
+ this.$emit(o.replace(".", "-"), k.element);
128
+ });
129
+ }), this.nodePopup && s.on("element.mousemove", (o) => {
130
+ o.element.type === "bpmn:UserTask" && requestAnimationFrame(() => v(this, null, function* () {
131
+ this.element = o.element, yield this.$nextTick(), this.$refs.popup.show(o.originalEvent);
132
+ }));
133
+ }), this.nodePopup && s.on("element.out", () => {
134
+ this.$refs.popup.hide(), this.element = {};
135
+ }), this.highlightFlow(this.historicActivities, this.activities);
136
+ const n = c("marker");
137
+ p(n, {
138
+ id: "sequenceflow-arrow-green",
139
+ viewBox: "0 0 20 20",
140
+ refX: "11",
141
+ refY: "10",
142
+ markerWidth: "10",
143
+ markerHeight: "10",
144
+ orient: "auto"
145
+ });
146
+ const l = c("path");
147
+ p(l, {
148
+ d: "M 1 5 L 11 10 L 1 15 Z",
149
+ style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 1px; fill: var(--highlight-color);"
150
+ }), m(n, l);
151
+ const h = c("marker");
152
+ p(h, {
153
+ id: "conditional-default-flow-marker-green",
154
+ viewBox: "0 0 20 20",
155
+ refX: "0",
156
+ refY: "10",
157
+ markerWidth: "10",
158
+ markerHeight: "10",
159
+ orient: "auto"
160
+ });
161
+ const a = c("path");
162
+ p(a, {
163
+ d: "M 6 4 L 10 16",
164
+ style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 2px; fill: var(--highlight-color);"
165
+ }), m(h, a);
166
+ const r = A("defs", this.$el);
167
+ m(r, n), m(r, h);
168
+ }), this.bpmnViewer.importXML(this.xml), this.$watch(() => ({
169
+ activities: this.activities,
170
+ historicActivities: this.historicActivities
171
+ }), ({ activities: e, historicActivities: i }) => {
172
+ this.highlightFlow(i, e);
173
+ });
174
+ },
175
+ beforeDestroy() {
176
+ var e;
177
+ d.prototype._handleWheel = f, (e = this.bpmnViewer) == null || e.destroy();
178
+ },
179
+ methods: {
180
+ fitViewportCenter(e = "center") {
181
+ this.canvas.zoom("fit-viewport", e);
182
+ },
183
+ highlightFlow(e, i) {
184
+ this.elementRegistry.getAll().forEach((t) => {
185
+ ["bpmn:StartEvent", "bpmn:UserTask", "bpmn:ExclusiveGateway", "bpmn:ParallelGateway", "bpmn:EndEvent"].includes(t.type) && (e.includes(t.id) && !i.includes(t.id) ? this.canvas.addMarker(t, "highlight") : this.canvas.removeMarker(t, "highlight")), t.type === "bpmn:SequenceFlow" && (e.includes(t.id) ? this.canvas.addMarker(t, "highlight-line") : this.canvas.removeMarker(t, "highlight-line")), t.type === "bpmn:UserTask" && (i.includes(t.id) ? this.canvas.addMarker(t, "highlight-current") : this.canvas.removeMarker(t, "highlight-current"));
186
+ });
187
+ }
188
+ }
189
+ }, _ = {};
190
+ var X = /* @__PURE__ */ F(
191
+ W,
192
+ B,
193
+ C,
194
+ !1,
195
+ q,
196
+ null,
197
+ null,
198
+ null
199
+ );
200
+ function q(e) {
201
+ for (let i in _)
202
+ this[i] = _[i];
203
+ }
204
+ const U = /* @__PURE__ */ function() {
205
+ return X.exports;
206
+ }();
207
+ export {
208
+ U as default
209
+ };
@@ -0,0 +1 @@
1
+ .flow-viewer{width:100%;height:400px}.flow-viewer .highlight g.djs-visual rect,.flow-viewer .highlight g.djs-visual circle,.flow-viewer .highlight g.djs-visual polygon,.flow-viewer .highlight g.djs-visual path{stroke:var(--highlight-color)!important}.flow-viewer .highlight g.djs-visual polygon+path{fill:var(--highlight-color)!important}@keyframes dashoffset{to{stroke-dashoffset:100%}}.flow-viewer .highlight-current g.djs-visual rect{stroke-dasharray:8;animation:40s linear infinite forwards dashoffset;fill:#fbe9d1!important;stroke:#d67e7d!important}.flow-viewer .highlight-line g.djs-visual path{stroke:var(--highlight-color)!important;stroke-width:2px!important;marker-end:url(#sequenceflow-arrow-green)!important}
@@ -0,0 +1,156 @@
1
+ import { n } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
2
+ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], d = ["$emit", "validate", "clearValidate"], c = {
3
+ name: "FormBlock",
4
+ inject: {
5
+ elForm: {
6
+ default: {}
7
+ }
8
+ },
9
+ provide() {
10
+ return {
11
+ elForm: this.formConfig
12
+ };
13
+ },
14
+ props: {
15
+ blockTitle: String,
16
+ active: Boolean,
17
+ enabled: Boolean,
18
+ disabled: Boolean,
19
+ wrapRow: {
20
+ type: Boolean,
21
+ default: !0
22
+ },
23
+ gutter: {
24
+ type: Number,
25
+ default: 20
26
+ },
27
+ collapse: Boolean
28
+ },
29
+ data() {
30
+ const e = {};
31
+ return l.forEach((t) => {
32
+ e[t] = null;
33
+ }), {
34
+ expand: !0,
35
+ formConfig: e
36
+ };
37
+ },
38
+ computed: {
39
+ formCfg() {
40
+ const e = {
41
+ enabled: this.enabled,
42
+ forbidden: this.disabled
43
+ };
44
+ return l.forEach((t) => {
45
+ e[t] = this.elForm[t];
46
+ }), e;
47
+ }
48
+ },
49
+ watch: {
50
+ collapse: {
51
+ immediate: !0,
52
+ handler(e) {
53
+ this.expand = !e;
54
+ }
55
+ },
56
+ formCfg: {
57
+ immediate: !0,
58
+ handler() {
59
+ this.formConfig.disabled = this.available(), l.forEach((e) => {
60
+ var t;
61
+ e !== "disabled" && (d.includes(e) ? this.formConfig[e] = (t = this.elForm[e]) == null ? void 0 : t.bind(this.elForm) : this.formConfig[e] = this.elForm[e]);
62
+ });
63
+ }
64
+ }
65
+ },
66
+ mounted() {
67
+ this.dispatch("FormView", "FormView.addTab", [this]);
68
+ },
69
+ beforeDestroy() {
70
+ this.dispatch("FormView", "FormView.removeTab", [this]);
71
+ },
72
+ methods: {
73
+ available() {
74
+ return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
75
+ },
76
+ dispatch(e, t, a) {
77
+ let i = this.$parent || this.$root, o = i.$options.name;
78
+ for (; i && (!o || o !== e); )
79
+ i = i.$parent, i && (o = i.$options.name);
80
+ i && i.$emit.apply(i, [t].concat(a));
81
+ },
82
+ renderDefault() {
83
+ const e = this.$createElement, {
84
+ wrapRow: t,
85
+ gutter: a,
86
+ formConfig: i,
87
+ $scopedSlots: o
88
+ } = this;
89
+ return t ? e("ElRow", {
90
+ attrs: {
91
+ gutter: a
92
+ }
93
+ }, [o.default({
94
+ disabled: i.disabled
95
+ })]) : o.default({
96
+ disabled: i.disabled
97
+ });
98
+ },
99
+ toggle() {
100
+ this.expand = !this.expand;
101
+ },
102
+ open() {
103
+ this.expand = !0;
104
+ }
105
+ },
106
+ render() {
107
+ const e = arguments[0], {
108
+ renderDefault: t,
109
+ blockTitle: a,
110
+ active: i,
111
+ expand: o,
112
+ toggle: r
113
+ } = this;
114
+ return e("div", {
115
+ class: ["form-block", {
116
+ "default-active": i
117
+ }]
118
+ }, [e("div", {
119
+ class: "form-block-title",
120
+ on: {
121
+ click: r
122
+ }
123
+ }, [e("span", {
124
+ class: "flex-item"
125
+ }, [a]), " ", e("i", {
126
+ class: o ? "el-icon-arrow-down" : "el-icon-arrow-right"
127
+ })]), e("ElCollapseTransition", [e("div", {
128
+ directives: [{
129
+ name: "show",
130
+ value: o
131
+ }]
132
+ }, [t()])])]);
133
+ }
134
+ };
135
+ let m, h;
136
+ const s = {};
137
+ var f = /* @__PURE__ */ n(
138
+ c,
139
+ m,
140
+ h,
141
+ !1,
142
+ u,
143
+ null,
144
+ null,
145
+ null
146
+ );
147
+ function u(e) {
148
+ for (let t in s)
149
+ this[t] = s[t];
150
+ }
151
+ const b = /* @__PURE__ */ function() {
152
+ return f.exports;
153
+ }();
154
+ export {
155
+ b as default
156
+ };
@@ -0,0 +1 @@
1
+ .form-block{background-color:#fff;padding-bottom:10px}.form-block-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
@@ -0,0 +1,58 @@
1
+ import n from "@web-utils/component/confirmable";
2
+ import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
3
+ const r = {
4
+ props: {
5
+ type: {
6
+ type: String,
7
+ default: "danger"
8
+ },
9
+ size: String,
10
+ icon: {
11
+ type: String,
12
+ default: ""
13
+ },
14
+ nativeType: {
15
+ type: String,
16
+ default: "button"
17
+ },
18
+ loading: Boolean,
19
+ disabled: Boolean,
20
+ plain: Boolean,
21
+ autofocus: Boolean,
22
+ round: Boolean,
23
+ confirmable: Boolean,
24
+ text: {
25
+ type: String,
26
+ default: ""
27
+ },
28
+ tag: {
29
+ type: String,
30
+ default: "AwesomeButton"
31
+ }
32
+ }
33
+ }, l = {
34
+ name: "FormButton",
35
+ mixins: [n, r]
36
+ };
37
+ let a, i;
38
+ const e = {};
39
+ var u = /* @__PURE__ */ o(
40
+ l,
41
+ a,
42
+ i,
43
+ !1,
44
+ s,
45
+ null,
46
+ null,
47
+ null
48
+ );
49
+ function s(p) {
50
+ for (let t in e)
51
+ this[t] = e[t];
52
+ }
53
+ const m = /* @__PURE__ */ function() {
54
+ return u.exports;
55
+ }();
56
+ export {
57
+ m as default
58
+ };
@@ -1,10 +1,22 @@
1
- import { f as s } from "../../chunks/76680a03.js";
2
- import { f as a } from "../../chunks/61ad06b2.js";
3
- import { Cascader as i } from "element-ui";
4
- import { i as u, n as p } from "../../chunks/f71045fc.js";
5
- import { findTreeChildren as c, cloneDeep as d, setParent as m } from "@web-utils/core";
6
- import { n as f } from "../../chunks/5d4282fb.js";
7
- var h = function() {
1
+ var u = Object.defineProperty;
2
+ var n = Object.getOwnPropertySymbols;
3
+ var c = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
+ var o = (e, t, r) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, l = (e, t) => {
5
+ for (var r in t || (t = {}))
6
+ c.call(t, r) && o(e, r, t[r]);
7
+ if (n)
8
+ for (var r of n(t))
9
+ d.call(t, r) && o(e, r, t[r]);
10
+ return e;
11
+ };
12
+ import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
+ import { f } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
14
+ import s from "element-ui/lib/cascader";
15
+ import { d as h, n as y } from "../chunks/index.LGsb2aDq.mjs";
16
+ import { findTreeChildren as v, setParent as _ } from "@web-utils/core";
17
+ import { cloneDeep as b } from "@web-utils/integrations/lodash";
18
+ import { n as S } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
19
+ var k = function() {
8
20
  var e = this, t = e.$createElement, r = e._self._c || t;
9
21
  return r("FormItem", e._b({
10
22
  attrs: {
@@ -45,10 +57,10 @@ var h = function() {
45
57
  proxy: !0
46
58
  }, {
47
59
  key: "error",
48
- fn: function(l) {
49
- var o = l.error;
60
+ fn: function(i) {
61
+ var p = i.error;
50
62
  return [e._t("error", null, {
51
- error: o
63
+ error: p
52
64
  })];
53
65
  }
54
66
  }, {
@@ -59,10 +71,10 @@ var h = function() {
59
71
  proxy: !0
60
72
  }], null, !0)
61
73
  }, "FormItem", e.formItemProps, !1));
62
- }, y = [];
63
- const v = Object.keys(i.props).filter((e) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(e)), _ = {
74
+ }, x = [];
75
+ const P = Object.keys(s.props || s.default.props).filter((e) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(e)), w = {
64
76
  name: "FormCascader",
65
- mixins: [s, a],
77
+ mixins: [m, f],
66
78
  props: {
67
79
  value: {
68
80
  type: [String, Number]
@@ -100,10 +112,10 @@ const v = Object.keys(i.props).filter((e) => !["value", "placeholder", "disabled
100
112
  },
101
113
  computed: {
102
114
  inputProps() {
103
- return u({ ...p(this.$attrs), ...this.$props }, v);
115
+ return h(l(l({}, y(this.$attrs)), this.$props), P);
104
116
  },
105
117
  inputVal() {
106
- let [e] = c(this.innerOptions, (r) => r[this.valueKey] === this.value);
118
+ let [e] = v(this.innerOptions, (r) => r[this.valueKey] === this.value);
107
119
  const t = [];
108
120
  for (; e; )
109
121
  t.push(e[this.valueKey]), e = e.parent;
@@ -115,8 +127,8 @@ const v = Object.keys(i.props).filter((e) => !["value", "placeholder", "disabled
115
127
  immediate: !0,
116
128
  handler(e) {
117
129
  if (e) {
118
- const t = d(e);
119
- m(t), this.innerOptions = t;
130
+ const t = b(e);
131
+ _(t), this.innerOptions = t;
120
132
  } else
121
133
  this.innerOptions = [];
122
134
  }
@@ -128,24 +140,24 @@ const v = Object.keys(i.props).filter((e) => !["value", "placeholder", "disabled
128
140
  this.$emit("input", t);
129
141
  }
130
142
  }
131
- }, n = {};
132
- var b = /* @__PURE__ */ f(
133
- _,
134
- h,
135
- y,
143
+ }, a = {};
144
+ var C = /* @__PURE__ */ S(
145
+ w,
146
+ k,
147
+ x,
136
148
  !1,
137
- S,
149
+ K,
138
150
  null,
139
151
  null,
140
152
  null
141
153
  );
142
- function S(e) {
143
- for (let t in n)
144
- this[t] = n[t];
154
+ function K(e) {
155
+ for (let t in a)
156
+ this[t] = a[t];
145
157
  }
146
- const g = /* @__PURE__ */ function() {
147
- return b.exports;
158
+ const E = /* @__PURE__ */ function() {
159
+ return C.exports;
148
160
  }();
149
161
  export {
150
- g as default
162
+ E as default
151
163
  };