@web-utils/form-ui 1.0.0-beta6 → 1.0.0-beta60

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 (573) hide show
  1. package/address-input/index.d.ts +52 -0
  2. package/address-input/index.js +2 -0
  3. package/address-input/style.css +1 -0
  4. package/affix/index.d.ts +32 -0
  5. package/affix/index.js +49 -0
  6. package/affix/style.css +1 -0
  7. package/api/index.d.ts +66 -0
  8. package/api/index.js +42 -0
  9. package/awesome-button/index.d.ts +60 -0
  10. package/awesome-button/index.js +49 -0
  11. package/base.css +1 -1
  12. package/capsule-tab/index.d.ts +22 -0
  13. package/capsule-tab/index.js +27 -0
  14. package/capsule-tab/style.css +1 -0
  15. package/card/index.d.ts +41 -0
  16. package/card/index.js +89 -0
  17. package/card/style.css +1 -0
  18. package/chunks/-DBJHzo8.js +195 -0
  19. package/chunks/2LWvhQd0.js +5 -0
  20. package/chunks/2rqr8Tbh.js +266 -0
  21. package/chunks/6yr_i3FT2.js +439 -0
  22. package/chunks/8_hjhnjH2.js +225 -0
  23. package/chunks/B-Uo-WTY2.js +5289 -0
  24. package/chunks/B-VO-y0h.js +69 -0
  25. package/chunks/B1EPd8qV.js +20 -0
  26. package/chunks/B2D06vEG.js +379 -0
  27. package/chunks/B7FF1FxW2.js +1800 -0
  28. package/chunks/B7IZdKDn.js +275 -0
  29. package/chunks/BCLWjhEJ.js +18 -0
  30. package/chunks/BGCX5eZn.js +590 -0
  31. package/chunks/BIEgauMd.js +1275 -0
  32. package/chunks/BJQI5s6-.js +449 -0
  33. package/chunks/BLiwTT_i2.js +4 -0
  34. package/chunks/BMuH4fKH.js +208 -0
  35. package/chunks/BPT6FWFK2.js +621 -0
  36. package/chunks/BTBp2urE.js +4 -0
  37. package/chunks/BVAen7xV2.js +233 -0
  38. package/chunks/BVQMbnV7.js +54 -0
  39. package/chunks/BWTWKgRC2.js +108 -0
  40. package/chunks/BamrxTuc2.js +514 -0
  41. package/chunks/BbrkKcOy.js +214 -0
  42. package/chunks/BdEgzMLy.js +34 -0
  43. package/chunks/Be3-Nwsb.js +68 -0
  44. package/chunks/Beh1v279.js +132 -0
  45. package/chunks/BgzF6a9b.js +577 -0
  46. package/chunks/BjACtWY92.js +26 -0
  47. package/chunks/BjUVecZ_.js +1094 -0
  48. package/chunks/BjwA4s46.js +17 -0
  49. package/chunks/Bkt5jwQ4.js +479 -0
  50. package/chunks/Bmzc6Sbs2.js +60 -0
  51. package/chunks/BoMy4B-G.js +230 -0
  52. package/chunks/BoOLX_Ey2.js +1038 -0
  53. package/chunks/Boq1bhQA.js +17 -0
  54. package/chunks/BpYC6Tu9.js +222 -0
  55. package/chunks/BqmuTTT4.js +63 -0
  56. package/chunks/BrgApSXu2.js +6 -0
  57. package/chunks/Bs7_SRve.js +57 -0
  58. package/chunks/BsfOPm1B2.js +106 -0
  59. package/chunks/BtPj4Jsp2.js +42 -0
  60. package/chunks/BtonI3XP.js +461 -0
  61. package/chunks/Bu-59cNv2.js +41 -0
  62. package/chunks/BvtVUXOb2.js +273 -0
  63. package/chunks/BwqV8Rv9.js +609 -0
  64. package/chunks/BxpuH2XL2.js +346 -0
  65. package/chunks/BykQpC2D.js +42 -0
  66. package/chunks/C-P8DAWg.js +26 -0
  67. package/chunks/C-i5OhEv.js +12 -0
  68. package/chunks/C0IscOmB.js +15 -0
  69. package/chunks/C5lEU74h2.js +46 -0
  70. package/chunks/C6-wRuOv.js +5 -0
  71. package/chunks/CDEhu4Hw2.js +58 -0
  72. package/chunks/CIoHpVna.js +25 -0
  73. package/chunks/CKF4NcjP2.js +161 -0
  74. package/chunks/COm5LruT.js +641 -0
  75. package/chunks/CP45VB0l2.js +4 -0
  76. package/chunks/CPlMW0nU.js +41 -0
  77. package/chunks/CQNKF-Y5.js +279 -0
  78. package/chunks/CZ8fWKCR.js +196 -0
  79. package/chunks/CZgfv08Q2.js +88 -0
  80. package/chunks/C_WXMlg42.js +1354 -0
  81. package/chunks/ChC6aRuE2.js +26 -0
  82. package/chunks/CkkEsDyG.js +17 -0
  83. package/chunks/Cll5nIzw.js +465 -0
  84. package/chunks/CmQBhb4F.js +14 -0
  85. package/chunks/CuVxnUGN.js +13 -0
  86. package/chunks/CxYWt6f52.js +8 -0
  87. package/chunks/CzjXqsNz2.js +1093 -0
  88. package/chunks/D1bdDHti.js +3091 -0
  89. package/chunks/D4vS0dLK2.js +110 -0
  90. package/chunks/D63r1Mj-2.js +27 -0
  91. package/chunks/D73tXuJP.js +98 -0
  92. package/chunks/DANCDark2.js +299 -0
  93. package/chunks/DCHGC-wv.js +644 -0
  94. package/chunks/DDpTDpl_.js +64 -0
  95. package/chunks/DEBzRzs62.js +2430 -0
  96. package/chunks/DF3tDDui2.js +24 -0
  97. package/chunks/DGDjsgmi2.js +67 -0
  98. package/chunks/DGDoWF7A2.js +243 -0
  99. package/chunks/DGOYYEkS2.js +33 -0
  100. package/chunks/DGSETzHz2.js +36 -0
  101. package/chunks/DIu4j2rA2.js +30 -0
  102. package/chunks/DJnkQG-Q.js +105 -0
  103. package/chunks/DKCe2nDe.js +47 -0
  104. package/chunks/DPLXkmFh.js +217 -0
  105. package/chunks/DQdBwuTr.js +17 -0
  106. package/chunks/DUbcVQBq.js +250 -0
  107. package/chunks/D_gajPwn2.js +60 -0
  108. package/chunks/D_j9foN9.js +17 -0
  109. package/chunks/DaBPfr252.js +96 -0
  110. package/chunks/Db0J1lN72.js +383 -0
  111. package/chunks/DcDUyJSx2.js +49 -0
  112. package/chunks/DdDO4YD2.js +281 -0
  113. package/chunks/DdW8XqoW.js +21 -0
  114. package/chunks/DfdoBqSD.js +6 -0
  115. package/chunks/DgbDv9To.js +454 -0
  116. package/chunks/DiB3ANPI2.js +525 -0
  117. package/chunks/DkBjJMFf2.js +34 -0
  118. package/chunks/DkkdixR-.js +732 -0
  119. package/chunks/Dn11MvZp.js +60 -0
  120. package/chunks/Do-8eHRr2.js +936 -0
  121. package/chunks/DoCrd-hR.js +52 -0
  122. package/chunks/DqI4lZin.js +37 -0
  123. package/chunks/DqgSQ3KG2.js +418 -0
  124. package/chunks/DqttRbt0.js +8 -0
  125. package/chunks/DuuoytDu.js +25 -0
  126. package/chunks/Dw_RxmrB2.js +26 -0
  127. package/chunks/DxrV8nwF2.js +28 -0
  128. package/chunks/Dyeav-c7.js +446 -0
  129. package/chunks/DyqdbtLs.js +295 -0
  130. package/chunks/IfmR2wc6.js +207 -0
  131. package/chunks/J-HPb14D.js +35 -0
  132. package/chunks/RAYFV7z_2.js +105 -0
  133. package/chunks/SCjrrbwI.js +194 -0
  134. package/chunks/TU6zhStX.js +40 -0
  135. package/chunks/TziUPXJy.js +46 -0
  136. package/chunks/VufM4po6.js +98 -0
  137. package/chunks/Xdb_3Me6.js +48 -0
  138. package/chunks/YLwDmpE6.js +197 -0
  139. package/chunks/ZdU9-d3W2.js +94 -0
  140. package/chunks/_6lMlbOl2.js +87 -0
  141. package/chunks/_DT9bjOz.js +182 -0
  142. package/chunks/_MqUwxIX2.js +145 -0
  143. package/chunks/a1C-V5Od.js +89 -0
  144. package/chunks/byLw7vSU.js +188 -0
  145. package/chunks/f2NKal5o.js +66 -0
  146. package/chunks/fICCbPEl.js +406 -0
  147. package/chunks/gFFZEYaV.js +1919 -0
  148. package/chunks/itbzUWg4.js +4 -0
  149. package/chunks/kPKqEDo-.js +588 -0
  150. package/chunks/o8iIIG7B.js +1328 -0
  151. package/chunks/xfxHgkQu2.js +31 -0
  152. package/code-mirror-editor/index.d.ts +50 -0
  153. package/code-mirror-editor/index.js +99 -0
  154. package/code-mirror-editor/style.css +1 -0
  155. package/confirm-button/index.d.ts +122 -0
  156. package/confirm-button/index.js +35 -0
  157. package/confirmable/index.d.ts +93 -0
  158. package/confirmable/index.js +8 -0
  159. package/constants/index.d.ts +73 -0
  160. package/constants/index.js +4 -0
  161. package/context-menu/index.d.ts +183 -0
  162. package/context-menu/index.js +196 -0
  163. package/context-menu/style.css +1 -0
  164. package/count-up/index.d.ts +70 -0
  165. package/count-up/index.js +94 -0
  166. package/custom-scrollbar/index.d.ts +49 -0
  167. package/custom-scrollbar/index.js +93 -0
  168. package/data-box/index.d.ts +19 -0
  169. package/data-box/index.js +68 -0
  170. package/data-box/style.css +1 -0
  171. package/data-card/index.d.ts +20 -0
  172. package/data-card/index.js +63 -0
  173. package/data-card/style.css +1 -0
  174. package/data-card-text/index.d.ts +21 -0
  175. package/data-card-text/index.js +67 -0
  176. package/data-card-text/style.css +1 -0
  177. package/data-display/index.d.ts +20 -0
  178. package/data-display/index.js +73 -0
  179. package/data-display/style.css +1 -0
  180. package/data-icons/index.d.ts +21 -0
  181. package/data-icons/index.js +74 -0
  182. package/data-icons/style.css +1 -0
  183. package/data-imgtext/index.d.ts +18 -0
  184. package/data-imgtext/index.js +71 -0
  185. package/data-imgtext/style.css +1 -0
  186. package/data-operatext/index.d.ts +17 -0
  187. package/data-operatext/index.js +54 -0
  188. package/data-operatext/style.css +1 -0
  189. package/data-panel/index.d.ts +19 -0
  190. package/data-panel/index.js +61 -0
  191. package/data-panel/style.css +1 -0
  192. package/data-pay/index.d.ts +19 -0
  193. package/data-pay/index.js +110 -0
  194. package/data-pay/style.css +1 -0
  195. package/data-price/index.d.ts +17 -0
  196. package/data-price/index.js +51 -0
  197. package/data-price/style.css +1 -0
  198. package/data-progress/index.d.ts +19 -0
  199. package/data-progress/index.js +72 -0
  200. package/data-progress/style.css +1 -0
  201. package/data-rotate/index.d.ts +19 -0
  202. package/data-rotate/index.js +65 -0
  203. package/data-rotate/style.css +1 -0
  204. package/data-table-picker/index.d.ts +61 -0
  205. package/data-table-picker/index.js +118 -0
  206. package/data-tabs/index.d.ts +19 -0
  207. package/data-tabs/index.js +71 -0
  208. package/data-tabs/style.css +1 -0
  209. package/dict-render/index.d.ts +28 -0
  210. package/dict-render/index.js +2 -0
  211. package/e-charts/index.d.ts +79 -0
  212. package/e-charts/index.js +179 -0
  213. package/e-charts/style.css +1 -0
  214. package/easy-popup/index.d.ts +114 -0
  215. package/easy-popup/index.js +92 -0
  216. package/easy-popup/style.css +1 -0
  217. package/editable-progress/index.d.ts +68 -0
  218. package/editable-progress/index.js +120 -0
  219. package/editable-progress/style.css +1 -0
  220. package/editable-tree/index.d.ts +281 -0
  221. package/editable-tree/index.js +2 -0
  222. package/editable-tree/style.css +1 -0
  223. package/element-dialog/index.d.ts +341 -18
  224. package/element-dialog/index.js +2 -0
  225. package/element-dialog/style.css +1 -1
  226. package/element-listeners/style.css +1 -0
  227. package/element-multi-instance/style.css +1 -0
  228. package/element-resize-observer/index.d.ts +8 -0
  229. package/element-resize-observer/index.js +40 -0
  230. package/element-resize-observer/style.css +1 -0
  231. package/empty-view/index.d.ts +2 -2
  232. package/empty-view/{index.mjs → index.js} +1 -1
  233. package/error-view/index.d.ts +25 -0
  234. package/error-view/index.js +37 -0
  235. package/error-view/style.css +1 -0
  236. package/flex-box/index.d.ts +44 -0
  237. package/flex-box/index.js +2 -0
  238. package/flex-column/index.d.ts +41 -0
  239. package/flex-column/index.js +2 -0
  240. package/flex-item/index.d.ts +77 -0
  241. package/flex-item/index.js +2 -0
  242. package/flex-row/index.d.ts +41 -0
  243. package/flex-row/index.js +2 -0
  244. package/flex-scroll-area/index.d.ts +1 -1
  245. package/flex-scroll-area/{index.mjs → index.js} +1 -1
  246. package/flex-scroller/index.d.ts +26 -0
  247. package/flex-scroller/index.js +29 -0
  248. package/flex-scroller/style.css +1 -0
  249. package/flow-designer/index.d.ts +353 -0
  250. package/flow-designer/index.js +2 -0
  251. package/flow-designer/style.css +1 -0
  252. package/flow-viewer/index.d.ts +62 -0
  253. package/flow-viewer/index.js +159 -0
  254. package/flow-viewer/style.css +1 -0
  255. package/form-advice/index.js +29 -0
  256. package/form-button/index.d.ts +123 -0
  257. package/form-button/index.js +36 -0
  258. package/form-card/index.d.ts +14 -0
  259. package/form-card/index.js +18 -0
  260. package/form-cascader/index.d.ts +478 -0
  261. package/form-cascader/index.js +2 -0
  262. package/form-checkbox/index.d.ts +253 -20
  263. package/form-checkbox/index.js +2 -0
  264. package/form-checkbox-group/index.d.ts +373 -0
  265. package/form-checkbox-group/index.js +2 -0
  266. package/form-checkbox-group/style.css +1 -0
  267. package/form-date-picker/index.d.ts +404 -21
  268. package/form-date-picker/index.js +2 -0
  269. package/form-holder/index.d.ts +89 -22
  270. package/form-holder/index.js +2 -0
  271. package/form-holder/style.css +1 -1
  272. package/form-image/index.d.ts +153 -15
  273. package/form-image/index.js +2 -0
  274. package/form-input/index.d.ts +309 -22
  275. package/form-input/index.js +2 -0
  276. package/form-input/style.css +1 -0
  277. package/form-input-cron-expression/index.d.ts +223 -0
  278. package/form-input-cron-expression/index.js +2 -0
  279. package/form-input-cron-expression/style.css +1 -0
  280. package/form-input-email/index.d.ts +315 -18
  281. package/form-input-email/index.js +2 -0
  282. package/form-input-id-card/index.d.ts +315 -18
  283. package/form-input-id-card/index.js +2 -0
  284. package/form-input-number/index.d.ts +254 -20
  285. package/form-input-number/index.js +2 -0
  286. package/form-input-phone-number/index.d.ts +315 -18
  287. package/form-input-phone-number/index.js +2 -0
  288. package/form-input-tag/index.d.ts +269 -1
  289. package/form-input-tag/index.js +2 -0
  290. package/form-input-time/index.d.ts +440 -1
  291. package/form-input-time/index.js +2 -0
  292. package/form-item-config-provider/index.d.ts +40 -0
  293. package/form-item-config-provider/index.js +24 -0
  294. package/form-item-group/index.d.ts +91 -17
  295. package/form-item-group/index.js +2 -0
  296. package/form-item-group/style.css +1 -1
  297. package/form-item-x/index.d.ts +149 -13
  298. package/form-item-x/index.js +2 -0
  299. package/form-item-x/style.css +1 -0
  300. package/form-radio-group/index.d.ts +313 -20
  301. package/form-radio-group/index.js +2 -0
  302. package/form-rate/index.d.ts +262 -16
  303. package/form-rate/index.js +2 -0
  304. package/form-red-table/index.js +65 -0
  305. package/form-row/index.d.ts +2 -2
  306. package/form-row/index.js +2 -0
  307. package/form-select/index.d.ts +545 -20
  308. package/form-select/index.js +2 -0
  309. package/form-slider/index.d.ts +291 -18
  310. package/form-slider/index.js +2 -0
  311. package/form-switch/index.d.ts +282 -18
  312. package/form-switch/index.js +2 -0
  313. package/form-table/index.d.ts +287 -0
  314. package/form-table/index.js +2 -0
  315. package/form-table-plus/index.d.ts +266 -0
  316. package/form-table-plus/index.js +2 -0
  317. package/form-text/index.d.ts +173 -15
  318. package/form-text/index.js +2 -0
  319. package/form-textarea/index.d.ts +351 -0
  320. package/form-textarea/index.js +2 -0
  321. package/form-time-select/index.d.ts +325 -0
  322. package/form-time-select/index.js +2 -0
  323. package/form-tree-select/index.d.ts +715 -0
  324. package/form-tree-select/index.js +2 -0
  325. package/form-tree-select/style.css +1 -0
  326. package/form-tree-select-multiple/index.d.ts +717 -0
  327. package/form-tree-select-multiple/index.js +2 -0
  328. package/form-view/index.d.ts +225 -1
  329. package/form-view/index.js +283 -0
  330. package/form-view/style.css +1 -0
  331. package/guide-steps/index.d.ts +31 -0
  332. package/guide-steps/index.js +2 -0
  333. package/guide-steps/style.css +1 -0
  334. package/helper/dictionary.d.ts +29 -0
  335. package/helper/dictionary.js +97 -0
  336. package/helper/form-item.d.ts +17 -0
  337. package/helper/form-item.js +27 -0
  338. package/helper/input.d.ts +47 -0
  339. package/helper/input.js +2 -0
  340. package/helper/sub-table-plus.d.ts +98 -0
  341. package/helper/sub-table-plus.js +4 -0
  342. package/highlight-j-s/index.d.ts +18 -0
  343. package/highlight-j-s/index.js +51 -0
  344. package/highlight-j-s/style.css +1 -0
  345. package/hook/useDictionary.d.ts +60 -0
  346. package/hook/useDictionary.js +15 -0
  347. package/hook/useVisibilityChange.d.ts +4 -0
  348. package/hook/useVisibilityChange.js +14 -0
  349. package/iframe-window/index.d.ts +9 -0
  350. package/iframe-window/index.js +37 -0
  351. package/iframe-window/style.css +1 -0
  352. package/image-cropper/index.d.ts +365 -0
  353. package/image-cropper/index.js +155 -0
  354. package/image-cropper/style.css +1 -0
  355. package/image-preview/index.d.ts +213 -0
  356. package/image-preview/index.js +2 -0
  357. package/image-preview/style.css +1 -0
  358. package/image-viewer/index.d.ts +25 -0
  359. package/image-viewer/index.js +70 -0
  360. package/image-viewer/style.css +1 -0
  361. package/index.css +2 -0
  362. package/index.d.ts +121 -36
  363. package/index.js +125 -0
  364. package/input-number-range/index.d.ts +41 -0
  365. package/input-number-range/index.js +76 -0
  366. package/input-number-range/style.css +1 -0
  367. package/keyboard/index.d.ts +64 -0
  368. package/keyboard/index.js +2 -0
  369. package/keyboard/style.css +1 -0
  370. package/loading-view/index.d.ts +65 -0
  371. package/loading-view/index.js +39 -0
  372. package/loading-view/style.css +1 -0
  373. package/name-avatar/index.d.ts +62 -0
  374. package/name-avatar/index.js +61 -0
  375. package/name-avatar/style.css +1 -0
  376. package/nav-bar/index.d.ts +21 -0
  377. package/nav-bar/index.js +36 -0
  378. package/nav-bar/style.css +1 -0
  379. package/package.json +25 -5
  380. package/page/index.d.ts +21 -0
  381. package/page/index.js +17 -0
  382. package/page/style.css +1 -0
  383. package/page-header/index.d.ts +27 -0
  384. package/page-header/index.js +25 -0
  385. package/page-header/style.css +1 -0
  386. package/page-index/index.d.ts +82 -0
  387. package/page-index/index.js +123 -0
  388. package/page-index/style.css +1 -0
  389. package/page-index-top/index.d.ts +38 -0
  390. package/page-index-top/index.js +85 -0
  391. package/page-skeleton/index.d.ts +30 -0
  392. package/page-skeleton/index.js +44 -0
  393. package/page-skeleton/style.css +1 -0
  394. package/page-skeleton-new/index.d.ts +34 -0
  395. package/page-skeleton-new/index.js +80 -0
  396. package/page-skeleton-new/style.css +1 -0
  397. package/pageable-table/index.d.ts +400 -0
  398. package/pageable-table/index.js +2 -0
  399. package/pageable-table/style.css +1 -0
  400. package/photo-swipe/index.d.ts +18 -0
  401. package/photo-swipe/index.js +2 -0
  402. package/props/cascader.d.ts +326 -0
  403. package/props/cascader.js +145 -0
  404. package/props/checkbox-group.d.ts +213 -0
  405. package/props/checkbox-group.js +83 -0
  406. package/props/checkbox.d.ts +205 -0
  407. package/props/checkbox.js +74 -0
  408. package/props/col.d.ts +74 -0
  409. package/props/col.js +32 -0
  410. package/props/common.d.ts +114 -0
  411. package/props/common.js +18 -0
  412. package/props/date.d.ts +339 -0
  413. package/props/date.js +145 -0
  414. package/props/form-item.d.ts +144 -0
  415. package/props/form-item.js +73 -0
  416. package/props/form.d.ts +157 -0
  417. package/props/form.js +89 -0
  418. package/props/image.d.ts +102 -0
  419. package/props/image.js +10 -0
  420. package/props/input-cron.d.ts +102 -0
  421. package/props/input-cron.js +16 -0
  422. package/props/input-number.d.ts +216 -0
  423. package/props/input-number.js +72 -0
  424. package/props/input-tag.d.ts +123 -0
  425. package/props/input-tag.js +33 -0
  426. package/props/input.d.ts +299 -0
  427. package/props/input.js +97 -0
  428. package/props/radio-group.d.ts +205 -0
  429. package/props/radio-group.js +84 -0
  430. package/props/rate.d.ts +211 -0
  431. package/props/rate.js +66 -0
  432. package/props/select.d.ts +450 -0
  433. package/props/select.js +218 -0
  434. package/props/slide.d.ts +235 -0
  435. package/props/slide.js +72 -0
  436. package/props/switch.d.ts +229 -0
  437. package/props/switch.js +80 -0
  438. package/props/text.d.ts +127 -0
  439. package/props/text.js +22 -0
  440. package/props/textarea.d.ts +266 -0
  441. package/props/textarea.js +82 -0
  442. package/props/time-select.d.ts +216 -0
  443. package/props/time-select.js +67 -0
  444. package/props/time.d.ts +304 -0
  445. package/props/time.js +138 -0
  446. package/props/tree-select-multiple.d.ts +324 -0
  447. package/props/tree-select-multiple.js +16 -0
  448. package/props/tree-select.d.ts +326 -0
  449. package/props/tree-select.js +25 -0
  450. package/props/tree.d.ts +76 -0
  451. package/props/tree.js +75 -0
  452. package/props/vue-tree-select.d.ts +458 -0
  453. package/props/vue-tree-select.js +213 -0
  454. package/resolver/index.js +29 -0
  455. package/sign-panel/index.d.ts +85 -0
  456. package/sign-panel/index.js +183 -0
  457. package/sign-panel/style.css +1 -0
  458. package/skeleton-panel/index.d.ts +27 -0
  459. package/skeleton-panel/index.js +37 -0
  460. package/skeleton-panel/style.css +1 -0
  461. package/split-pane/index.d.ts +106 -0
  462. package/split-pane/index.js +2 -0
  463. package/split-pane/style.css +1 -0
  464. package/stateful/index.d.ts +92 -0
  465. package/stateful/index.js +67 -0
  466. package/stateful/style.css +1 -0
  467. package/sub-table/index.d.ts +109 -0
  468. package/sub-table/index.js +2 -0
  469. package/sub-table/style.css +1 -0
  470. package/sub-table-plus/index.d.ts +109 -0
  471. package/sub-table-plus/index.js +2 -0
  472. package/sub-table-plus/style.css +1 -0
  473. package/swiper/index.d.ts +27 -0
  474. package/swiper/index.js +126 -0
  475. package/swiper/style.css +1 -0
  476. package/table-column/index.d.ts +163 -0
  477. package/table-column/index.js +2 -0
  478. package/table-column/style.css +1 -0
  479. package/table-column-def/index.d.ts +97 -0
  480. package/table-column-def/index.js +11 -0
  481. package/table-view/index.d.ts +345 -1
  482. package/table-view/index.js +471 -0
  483. package/table-view/style.css +1 -0
  484. package/tag-render/index.d.ts +48 -0
  485. package/tag-render/index.js +86 -0
  486. package/tag-render/style.css +1 -0
  487. package/text-ellipsis/index.d.ts +111 -0
  488. package/text-ellipsis/index.js +124 -0
  489. package/text-ellipsis/style.css +1 -0
  490. package/toolbar/index.d.ts +128 -1
  491. package/toolbar/index.js +2 -0
  492. package/toolbar/style.css +1 -0
  493. package/toolbar-button/index.d.ts +188 -1
  494. package/toolbar-button/index.js +2 -0
  495. package/toolbar-button/style.css +1 -0
  496. package/vue-cron/index.d.ts +191 -0
  497. package/vue-cron/index.js +2 -0
  498. package/vue-cron/style.css +1 -0
  499. package/vue-qr-code/index.d.ts +47 -0
  500. package/vue-qr-code/index.js +32 -0
  501. package/vue-tags-input/index.d.ts +373 -0
  502. package/vue-tags-input/index.js +350 -0
  503. package/vue-tags-input/style.css +1 -0
  504. package/vue-tree-select/index.d.ts +1489 -0
  505. package/vue-tree-select/index.js +2 -0
  506. package/vue-tree-select/style.css +1 -0
  507. package/vue-video-player/index.d.ts +117 -0
  508. package/vue-video-player/index.js +136 -0
  509. package/vue-video-player/style.css +1 -0
  510. package/watermark/index.d.ts +97 -0
  511. package/watermark/index.js +2 -0
  512. package/watermark/style.css +1 -0
  513. package/web-types.json +1 -1
  514. package/x-input-tag/index.d.ts +2 -0
  515. package/x-input-tag/index.js +232 -0
  516. package/x-input-tag/style.css +1 -0
  517. package/year-calendar/index.d.ts +99 -0
  518. package/year-calendar/index.js +2 -0
  519. package/year-calendar/style.css +1 -0
  520. package/chunks/B4M_TFeR.mjs +0 -152
  521. package/chunks/B5BIQCcK.mjs +0 -149
  522. package/chunks/BHNKrW1j.mjs +0 -61
  523. package/chunks/BO9jWhBl.mjs +0 -46
  524. package/chunks/BZ8aOa78.mjs +0 -35
  525. package/chunks/Bsz7y4Xp.mjs +0 -73
  526. package/chunks/Bxj372sF.mjs +0 -53
  527. package/chunks/C33EmJN8.mjs +0 -32
  528. package/chunks/C6Li3-l7.mjs +0 -28
  529. package/chunks/CBcdalMX.mjs +0 -35
  530. package/chunks/CdRsyF0n.mjs +0 -43
  531. package/chunks/ClNahmiU.mjs +0 -23
  532. package/chunks/CstztYMu.mjs +0 -28
  533. package/chunks/DC9b53M6.mjs +0 -32
  534. package/chunks/DDVAgRED.mjs +0 -36
  535. package/chunks/DpJQABVD.mjs +0 -91
  536. package/chunks/ZsLNWI9x.mjs +0 -46
  537. package/chunks/jn_iQrVZ.mjs +0 -28
  538. package/constants.d.ts +0 -1
  539. package/constants.mjs +0 -4
  540. package/element-dialog/index.mjs +0 -91
  541. package/form-advice/index.mjs +0 -28
  542. package/form-check-box-group/index.d.ts +0 -93
  543. package/form-check-box-group/index.mjs +0 -2
  544. package/form-checkbox/index.mjs +0 -2
  545. package/form-date-picker/index.mjs +0 -2
  546. package/form-holder/index.mjs +0 -2
  547. package/form-image/index.mjs +0 -2
  548. package/form-input/index.mjs +0 -2
  549. package/form-input-email/index.mjs +0 -2
  550. package/form-input-id-card/index.mjs +0 -2
  551. package/form-input-number/index.mjs +0 -2
  552. package/form-input-phone-number/index.mjs +0 -2
  553. package/form-input-tag/index.mjs +0 -4
  554. package/form-input-time/index.mjs +0 -4
  555. package/form-item-group/index.mjs +0 -78
  556. package/form-item-x/index.mjs +0 -2
  557. package/form-radio-group/index.mjs +0 -2
  558. package/form-rate/index.mjs +0 -2
  559. package/form-red-table/index.mjs +0 -64
  560. package/form-row/index.mjs +0 -2
  561. package/form-select/index.mjs +0 -2
  562. package/form-slider/index.mjs +0 -2
  563. package/form-switch/index.mjs +0 -2
  564. package/form-text/index.mjs +0 -2
  565. package/form-view/index.mjs +0 -9
  566. package/index.mjs +0 -63
  567. package/input/style.css +0 -1
  568. package/resolver.mjs +0 -79
  569. package/table-view/index.mjs +0 -9
  570. package/toolbar/index.mjs +0 -9
  571. package/toolbar-button/index.mjs +0 -9
  572. /package/form-cell/{index.mjs → index.js} +0 -0
  573. /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
@@ -0,0 +1,295 @@
1
+ import { n as e } from "./B1EPd8qV.js";
2
+ import { n as t, t as n } from "./BIEgauMd.js";
3
+ import { t as r } from "./gFFZEYaV.js";
4
+ import { t as i } from "./BgzF6a9b.js";
5
+ import { n as a, t as o } from "./DgbDv9To.js";
6
+ import { t as s } from "./6yr_i3FT2.js";
7
+ import { t as c } from "./DqttRbt0.js";
8
+ import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, openBlock as g, withCtx as _, withModifiers as v } from "vue";
9
+ //#region src/components/bpmn-process-designer/components/penal/multi-instance/ElementMultiInstance.vue
10
+ var y = /* @__PURE__ */ e({ default: () => C }), b = {
11
+ name: "ElementMultiInstance",
12
+ inject: { prefix: "prefix" },
13
+ props: {
14
+ id: String,
15
+ element: Object,
16
+ bpmnInstances: Object
17
+ },
18
+ data() {
19
+ return {
20
+ loopCharacteristics: "",
21
+ defaultLoopInstanceForm: {
22
+ completionCondition: "",
23
+ loopCardinality: "",
24
+ extensionElements: [],
25
+ asyncAfter: !1,
26
+ asyncBefore: !1,
27
+ exclusive: !1
28
+ },
29
+ loopInstanceForm: {}
30
+ };
31
+ },
32
+ watch: { id: {
33
+ immediate: !0,
34
+ handler() {
35
+ let { businessObject: e } = this.element;
36
+ this.getElementLoop(e);
37
+ }
38
+ } },
39
+ beforeUnmount() {
40
+ this.multiLoopInstance = null;
41
+ },
42
+ methods: {
43
+ getElementLoop(e) {
44
+ var t, n;
45
+ if (!e.loopCharacteristics) {
46
+ this.loopCharacteristics = "Null", this.loopInstanceForm = {};
47
+ return;
48
+ }
49
+ if (e.loopCharacteristics.$type === "bpmn:StandardLoopCharacteristics") {
50
+ this.loopCharacteristics = "StandardLoop", this.loopInstanceForm = {};
51
+ return;
52
+ }
53
+ e.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = {
54
+ ...this.defaultLoopInstanceForm,
55
+ ...e.loopCharacteristics,
56
+ completionCondition: ((t = e.loopCharacteristics) == null || (t = t.completionCondition) == null ? void 0 : t.body) ?? "",
57
+ loopCardinality: ((n = e.loopCharacteristics) == null || (n = n.loopCardinality) == null ? void 0 : n.body) ?? ""
58
+ }, this.multiLoopInstance = this.element.businessObject.loopCharacteristics, e.loopCharacteristics.extensionElements && e.loopCharacteristics.extensionElements.values && e.loopCharacteristics.extensionElements.values.length && (this.loopInstanceForm.timeCycle = e.loopCharacteristics.extensionElements.values[0].body);
59
+ },
60
+ changeLoopCharacteristicsType(e) {
61
+ if (e === "Null") {
62
+ this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: null });
63
+ return;
64
+ }
65
+ if (e === "StandardLoop") {
66
+ let e = this.bpmnInstances.moddle.create("bpmn:StandardLoopCharacteristics");
67
+ this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: e }), this.multiLoopInstance = null;
68
+ return;
69
+ }
70
+ e === "SequentialMultiInstance" ? this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics", { isSequential: !0 }) : this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics"), this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: this.multiLoopInstance });
71
+ },
72
+ updateLoopCardinality(e) {
73
+ let t = null;
74
+ e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { loopCardinality: t });
75
+ },
76
+ updateLoopCondition(e) {
77
+ let t = null;
78
+ e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { completionCondition: t });
79
+ },
80
+ updateLoopTimeCycle(e) {
81
+ let t = this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [this.bpmnInstances.moddle.create(`${this.prefix}:FailedJobRetryTimeCycle`, { body: e })] });
82
+ this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { extensionElements: t });
83
+ },
84
+ updateLoopBase() {
85
+ this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, {
86
+ collection: this.loopInstanceForm.collection || null,
87
+ elementVariable: this.loopInstanceForm.elementVariable || null
88
+ });
89
+ },
90
+ updateLoopAsync(e) {
91
+ let { asyncBefore: t, asyncAfter: n } = this.loopInstanceForm, r = Object.create(null);
92
+ !t && !n ? (this.loopInstanceForm.exclusive = !1, r = {
93
+ asyncBefore: !1,
94
+ asyncAfter: !1,
95
+ exclusive: !1,
96
+ extensionElements: null
97
+ }) : r[e] = this.loopInstanceForm[e], this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, r);
98
+ }
99
+ }
100
+ }, x = { class: "panel-tab__content element-multi-instance" };
101
+ function S(e, c, y, b, S, C) {
102
+ let w = r, T = n, E = t, D = a, O = i, k = s, A = o;
103
+ return g(), f("div", x, [h(A, {
104
+ "label-width": "100px",
105
+ onSubmit: c[12] || (c[12] = v(() => {}, ["prevent"]))
106
+ }, {
107
+ default: _(() => [h(D, { label: "回路特性" }, {
108
+ label: _(() => [c[15] || (c[15] = m(" 回路特性 ", -1)), h(w, { effect: "light" }, {
109
+ content: _(() => [...c[13] || (c[13] = [p("ul", null, [
110
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "并行"), m(" 一次性创建所有任务实例 ")]),
111
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "串行"), m(" 完成一个任务实例再创建一个任务实例,直到环节完成 ")]),
112
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "循环事件"), m(" 未知 ")])
113
+ ], -1)])]),
114
+ default: _(() => [c[14] || (c[14] = p("i", { class: "el-icon-info" }, null, -1))]),
115
+ _: 1
116
+ })]),
117
+ default: _(() => [h(E, {
118
+ modelValue: S.loopCharacteristics,
119
+ "onUpdate:modelValue": c[0] || (c[0] = (e) => S.loopCharacteristics = e),
120
+ onChange: C.changeLoopCharacteristicsType
121
+ }, {
122
+ default: _(() => [
123
+ d("bpmn:MultiInstanceLoopCharacteristics"),
124
+ d(" 并行多重事件 "),
125
+ h(T, {
126
+ label: "并行",
127
+ value: "ParallelMultiInstance"
128
+ }),
129
+ d(" 时序多重事件 "),
130
+ h(T, {
131
+ label: "串行",
132
+ value: "SequentialMultiInstance"
133
+ }),
134
+ d(" bpmn:StandardLoopCharacteristics "),
135
+ h(T, {
136
+ label: "循环事件",
137
+ value: "StandardLoop"
138
+ }),
139
+ h(T, {
140
+ label: "无",
141
+ value: "Null"
142
+ })
143
+ ]),
144
+ _: 1
145
+ }, 8, ["modelValue", "onChange"])]),
146
+ _: 1
147
+ }), S.loopCharacteristics === "ParallelMultiInstance" || S.loopCharacteristics === "SequentialMultiInstance" ? (g(), f(l, { key: 0 }, [
148
+ h(D, {
149
+ key: "loopCardinality",
150
+ label: "循环基数"
151
+ }, {
152
+ label: _(() => [c[18] || (c[18] = m(" 循环基数 ", -1)), h(w, { effect: "light" }, {
153
+ content: _(() => [...c[16] || (c[16] = [p("div", null, "与任务实例数相对,可不填", -1)])]),
154
+ default: _(() => [c[17] || (c[17] = p("i", { class: "el-icon-info" }, null, -1))]),
155
+ _: 1
156
+ })]),
157
+ default: _(() => [h(O, {
158
+ modelValue: S.loopInstanceForm.loopCardinality,
159
+ "onUpdate:modelValue": c[1] || (c[1] = (e) => S.loopInstanceForm.loopCardinality = e),
160
+ clearable: "",
161
+ onChange: C.updateLoopCardinality
162
+ }, null, 8, ["modelValue", "onChange"])]),
163
+ _: 1
164
+ }),
165
+ h(D, {
166
+ key: "collection",
167
+ label: "集合名称",
168
+ required: ""
169
+ }, {
170
+ label: _(() => [c[21] || (c[21] = m(" 集合变量 ", -1)), h(w, { effect: "light" }, {
171
+ content: _(() => [...c[19] || (c[19] = [p("p", null, [
172
+ m(" 流程变量名,设置为 "),
173
+ p("span", { class: "flow-tips-keyword" }, "${handlers}"),
174
+ m(" 就行 ")
175
+ ], -1)])]),
176
+ default: _(() => [c[20] || (c[20] = p("i", { class: "el-icon-info" }, null, -1))]),
177
+ _: 1
178
+ })]),
179
+ default: _(() => [h(O, {
180
+ modelValue: S.loopInstanceForm.collection,
181
+ "onUpdate:modelValue": c[2] || (c[2] = (e) => S.loopInstanceForm.collection = e),
182
+ clearable: "",
183
+ onChange: C.updateLoopBase
184
+ }, null, 8, ["modelValue", "onChange"])]),
185
+ _: 1
186
+ }),
187
+ h(D, {
188
+ key: "elementVariable",
189
+ label: "元素名称",
190
+ required: ""
191
+ }, {
192
+ label: _(() => [c[24] || (c[24] = m(" 元素变量 ", -1)), h(w, { effect: "light" }, {
193
+ content: _(() => [...c[22] || (c[22] = [p("p", null, [
194
+ m(" 流程变量名,设置为 "),
195
+ p("span", { class: "flow-tips-keyword" }, "handler"),
196
+ m(" 就行,注意与\" "),
197
+ p("span", { class: "flow-tips-keyword" }, "处理人"),
198
+ m(" \"中的\" "),
199
+ p("span", { class: "flow-tips-keyword" }, "分配人员"),
200
+ m(" \"值保持一致 ")
201
+ ], -1)])]),
202
+ default: _(() => [c[23] || (c[23] = p("i", { class: "el-icon-info" }, null, -1))]),
203
+ _: 1
204
+ })]),
205
+ default: _(() => [h(O, {
206
+ modelValue: S.loopInstanceForm.elementVariable,
207
+ "onUpdate:modelValue": c[3] || (c[3] = (e) => S.loopInstanceForm.elementVariable = e),
208
+ clearable: "",
209
+ onChange: C.updateLoopBase
210
+ }, null, 8, ["modelValue", "onChange"])]),
211
+ _: 1
212
+ }),
213
+ h(D, {
214
+ key: "completionCondition",
215
+ label: "完成条件"
216
+ }, {
217
+ label: _(() => [c[27] || (c[27] = m(" 完成条件 ", -1)), h(w, { effect: "light" }, {
218
+ content: _(() => [...c[25] || (c[25] = [
219
+ p("p", { class: "flow-tips-title" }, "特殊流程变量:", -1),
220
+ p("ul", null, [
221
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfInstances"), m(" 总实例数 ")]),
222
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfCompletedInstances"), m(" 已完成的实例数 ")]),
223
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfActiveInstances"), m(" 未完成实例数 ")])
224
+ ], -1),
225
+ p("p", { class: "flow-tips-title" }, "示例:", -1),
226
+ p("ul", null, [
227
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 1}"), m(" :所有实例完成结束该环节 ")]),
228
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 0.5}"), m(" :50%实例完成结束该环节 ")]),
229
+ p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances >= 1}"), m(" :有一个实例完成结束该环节 ")])
230
+ ], -1),
231
+ p("p", { class: "flow-tips-title" }, "不填要等所有实例完成才会结束该环节", -1)
232
+ ])]),
233
+ default: _(() => [c[26] || (c[26] = p("i", { class: "el-icon-info" }, null, -1))]),
234
+ _: 1
235
+ })]),
236
+ default: _(() => [h(O, {
237
+ modelValue: S.loopInstanceForm.completionCondition,
238
+ "onUpdate:modelValue": c[4] || (c[4] = (e) => S.loopInstanceForm.completionCondition = e),
239
+ clearable: "",
240
+ onChange: C.updateLoopCondition
241
+ }, null, 8, ["modelValue", "onChange"])]),
242
+ _: 1
243
+ }),
244
+ h(D, {
245
+ key: "async",
246
+ label: "异步状态"
247
+ }, {
248
+ label: _(() => [c[30] || (c[30] = m(" 异步状态 ", -1)), h(w, { effect: "light" }, {
249
+ content: _(() => [...c[28] || (c[28] = [p("div", null, "目前没用到", -1)])]),
250
+ default: _(() => [c[29] || (c[29] = p("i", { class: "el-icon-info" }, null, -1))]),
251
+ _: 1
252
+ })]),
253
+ default: _(() => [
254
+ h(k, {
255
+ modelValue: S.loopInstanceForm.asyncBefore,
256
+ "onUpdate:modelValue": c[5] || (c[5] = (e) => S.loopInstanceForm.asyncBefore = e),
257
+ label: "异步前",
258
+ onChange: c[6] || (c[6] = (e) => C.updateLoopAsync("asyncBefore"))
259
+ }, null, 8, ["modelValue"]),
260
+ h(k, {
261
+ modelValue: S.loopInstanceForm.asyncAfter,
262
+ "onUpdate:modelValue": c[7] || (c[7] = (e) => S.loopInstanceForm.asyncAfter = e),
263
+ label: "异步后",
264
+ onChange: c[8] || (c[8] = (e) => C.updateLoopAsync("asyncAfter"))
265
+ }, null, 8, ["modelValue"]),
266
+ S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(k, {
267
+ key: 0,
268
+ modelValue: S.loopInstanceForm.exclusive,
269
+ "onUpdate:modelValue": c[9] || (c[9] = (e) => S.loopInstanceForm.exclusive = e),
270
+ label: "排除",
271
+ onChange: c[10] || (c[10] = (e) => C.updateLoopAsync("exclusive"))
272
+ }, null, 8, ["modelValue"])) : d("v-if", !0)
273
+ ]),
274
+ _: 1
275
+ }),
276
+ S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(D, {
277
+ key: "timeCycle",
278
+ label: "重试周期",
279
+ prop: "timeCycle"
280
+ }, {
281
+ default: _(() => [h(O, {
282
+ modelValue: S.loopInstanceForm.timeCycle,
283
+ "onUpdate:modelValue": c[11] || (c[11] = (e) => S.loopInstanceForm.timeCycle = e),
284
+ clearable: "",
285
+ onChange: C.updateLoopTimeCycle
286
+ }, null, 8, ["modelValue", "onChange"])]),
287
+ _: 1
288
+ })) : d("v-if", !0)
289
+ ], 64)) : d("v-if", !0)]),
290
+ _: 1
291
+ })]);
292
+ }
293
+ var C = /* @__PURE__ */ c(b, [["render", S]]);
294
+ //#endregion
295
+ export { y as n, C as t };
@@ -0,0 +1,207 @@
1
+ import { s as e } from "./DiB3ANPI2.js";
2
+ import { goBack as t, hasAuthority as n } from "../api/index.js";
3
+ import { toolbarContextKey as r } from "../constants/index.js";
4
+ import { t as i } from "./_DT9bjOz.js";
5
+ import { Comment as a, createVNode as o } from "vue";
6
+ import { NOOP as s, capitalize as c } from "@web-utils/core";
7
+ //#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
8
+ var l = {
9
+ back: {
10
+ label: "返回",
11
+ type: "primary",
12
+ icon: "el-icon-arrow-left"
13
+ },
14
+ cancel: {
15
+ label: "取消",
16
+ icon: "el-icon-close"
17
+ },
18
+ create: {
19
+ label: "新增",
20
+ type: "primary",
21
+ icon: "el-icon-plus"
22
+ },
23
+ save: {
24
+ label: "保存",
25
+ type: "primary",
26
+ icon: "el-icon-takeaway-box",
27
+ loadable: !0
28
+ },
29
+ withdraw: {
30
+ label: "提取",
31
+ type: "primary",
32
+ icon: "el-icon-refresh-left"
33
+ },
34
+ edit: {
35
+ label: "编辑",
36
+ type: "primary",
37
+ icon: "el-icon-edit-outline"
38
+ },
39
+ submit: {
40
+ label: "审批办理",
41
+ type: "primary",
42
+ icon: "el-icon-s-promotion"
43
+ },
44
+ publish: {
45
+ label: "发布",
46
+ type: "primary",
47
+ icon: "el-icon-s-promotion"
48
+ },
49
+ agree: {
50
+ label: "同意",
51
+ type: "primary",
52
+ icon: "el-icon-check"
53
+ },
54
+ disagree: {
55
+ label: "不同意",
56
+ type: "primary",
57
+ icon: "el-icon-close"
58
+ },
59
+ reject: {
60
+ label: "退回",
61
+ type: "primary",
62
+ icon: "el-icon-s-release"
63
+ },
64
+ finish: {
65
+ label: "完成",
66
+ type: "primary",
67
+ icon: "el-icon-circle-check"
68
+ },
69
+ enable: {
70
+ label: "启用",
71
+ type: "primary",
72
+ icon: "el-icon-circle-check"
73
+ },
74
+ exp: {
75
+ label: "导出",
76
+ type: "primary",
77
+ icon: "el-icon-download"
78
+ },
79
+ imp: {
80
+ label: "导入",
81
+ type: "primary",
82
+ icon: "el-icon-upload"
83
+ },
84
+ del: {
85
+ label: "删除",
86
+ type: "primary",
87
+ icon: "el-icon-delete"
88
+ },
89
+ print: {
90
+ label: "打印",
91
+ type: "primary",
92
+ icon: "el-icon-printer"
93
+ },
94
+ disabled: {
95
+ label: "禁用",
96
+ type: "primary",
97
+ icon: "el-icon-remove-outline"
98
+ },
99
+ reload: {
100
+ label: "刷新",
101
+ icon: "el-icon-refresh",
102
+ separateLine: !1,
103
+ circle: !0
104
+ },
105
+ settings: {
106
+ label: "设置",
107
+ icon: "el-icon-s-operation",
108
+ separateLine: !1,
109
+ circle: !0
110
+ },
111
+ search: {
112
+ label: "搜索",
113
+ icon: "el-icon-search",
114
+ separateLine: !1,
115
+ circle: !0
116
+ }
117
+ }, u = {
118
+ name: "Toolbar",
119
+ provide() {
120
+ return { [r]: this };
121
+ },
122
+ props: {
123
+ searchable: Boolean,
124
+ refreshable: Boolean,
125
+ buttons: {
126
+ type: Array,
127
+ default: () => ["back"]
128
+ },
129
+ back: Function,
130
+ cancel: Function,
131
+ emitter: {
132
+ type: String,
133
+ default: "self"
134
+ },
135
+ footer: Boolean,
136
+ label: Object
137
+ },
138
+ computed: {},
139
+ methods: {
140
+ goBack() {
141
+ t(this.$route.path);
142
+ },
143
+ createButton(t, { label: n, icon: r, type: a, separateLine: l = !0, loadable: u, circle: d, onClick: f, title: p }) {
144
+ var m;
145
+ let h, g = ((m = this.label) == null ? void 0 : m[t]) || n;
146
+ return h = f || (["back", "cancel"].includes(t) ? this.goBack : (n) => {
147
+ (e(this.$attrs, { withOn: !0 })[`on${c(t)}`] || s)(n);
148
+ }), o(i, {
149
+ "separate-line": l,
150
+ icon: r,
151
+ title: p,
152
+ label: g,
153
+ loadable: u,
154
+ circle: d,
155
+ footer: this.footer,
156
+ type: a,
157
+ onClick: h
158
+ }, null);
159
+ },
160
+ getLeftButtons() {
161
+ var e, t, r;
162
+ let { createButton: i } = this;
163
+ return (r = (((e = (t = this.$slots)["toolbar-left"]) == null ? void 0 : e.call(t)) || this.buttons.flatMap((e) => {
164
+ let t = l[e];
165
+ if (t) {
166
+ var n, r;
167
+ return ((n = (r = this.$slots)[e]) == null ? void 0 : n.call(r)) || i(e, t);
168
+ } else if (e === "slot") {
169
+ var o, s;
170
+ let e = ((o = (s = this.$slots).default) == null ? void 0 : o.call(s, {
171
+ buttons: this.buttons,
172
+ footer: this.footer
173
+ })) ?? null;
174
+ if (e && e.length === 1) {
175
+ var c;
176
+ return e == null || (c = e[0]) == null || (c = c.children) == null ? void 0 : c.filter((e) => e.type !== a);
177
+ }
178
+ return e || [];
179
+ } else return null;
180
+ })).filter((e) => e)) == null ? void 0 : r.filter((e) => e.props.privilege ? n(e.props.privilege) : !0);
181
+ },
182
+ getRightButtons() {
183
+ var e, t, n, r;
184
+ let i = (e = (t = this.$slots)["toolbar-right"]) == null ? void 0 : e.call(t), a = [
185
+ ...((n = (r = this.$slots)["toolbar-right-button"]) == null ? void 0 : n.call(r)) || [],
186
+ this.getRefreshButton(),
187
+ this.getSettingsButton(),
188
+ this.getSearchButton()
189
+ ];
190
+ return i || a;
191
+ },
192
+ getSearchButton() {
193
+ return this.searchable ? this.createButton("search", l.search) : null;
194
+ },
195
+ getRefreshButton() {
196
+ return this.refreshable ? this.createButton("reload", l.reload) : null;
197
+ },
198
+ getSettingsButton() {
199
+ return this.refreshable ? this.createButton("settings", l.settings) : null;
200
+ }
201
+ },
202
+ render() {
203
+ return this.footer ? o("div", { class: "footer-bar" }, [this.getLeftButtons()]) : o("div", { class: "toolbar" }, [o("div", { class: "toolbar-left" }, [this.getLeftButtons()]), o("div", { class: "toolbar-right" }, [this.getRightButtons()])]);
204
+ }
205
+ };
206
+ //#endregion
207
+ export { u as t };
@@ -0,0 +1,35 @@
1
+ import { n as e } from "./CmQBhb4F.js";
2
+ import { defineComponent as t, h as n, isVNode as r, onMounted as i, shallowRef as a, triggerRef as o } from "vue";
3
+ //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-ordered-children/index.mjs
4
+ var s = (t, n, i) => e(t.subTree).filter((e) => {
5
+ var t;
6
+ return r(e) && ((t = e.type) == null ? void 0 : t.name) === n && !!e.component;
7
+ }).map((e) => e.component.uid).map((e) => i[e]).filter((e) => !!e), c = (e, r) => {
8
+ let c = a({}), l = a([]), u = /* @__PURE__ */ new WeakMap(), d = (e) => {
9
+ c.value[e.uid] = e, o(c), i(() => {
10
+ let t = e.getVnode().el, n = t.parentNode;
11
+ if (!u.has(n)) {
12
+ u.set(n, []);
13
+ let e = n.insertBefore.bind(n);
14
+ n.insertBefore = (t, r) => (u.get(n).some((e) => t === e || r === e) && o(c), e(t, r));
15
+ }
16
+ u.get(n).push(t);
17
+ });
18
+ }, f = (e) => {
19
+ delete c.value[e.uid], o(c);
20
+ let t = e.getVnode().el, n = t.parentNode, r = u.get(n), i = r.indexOf(t);
21
+ r.splice(i, 1);
22
+ }, p = () => {
23
+ l.value = s(e, r, c.value);
24
+ }, m = (e) => e.render();
25
+ return {
26
+ children: l,
27
+ addChild: d,
28
+ removeChild: f,
29
+ ChildrenSorter: t({ setup(e, { slots: t }) {
30
+ return () => (p(), t.default ? n(m, { render: t.default }) : null);
31
+ } })
32
+ };
33
+ };
34
+ //#endregion
35
+ export { c as t };
@@ -0,0 +1,105 @@
1
+ import { i as e } from "./BCLWjhEJ.js";
2
+ import { l as t, s as n, t as r } from "./D73tXuJP.js";
3
+ import { p as i, t as a } from "./BtonI3XP.js";
4
+ import { n as o } from "./byLw7vSU.js";
5
+ import { i as s } from "./Xdb_3Me6.js";
6
+ import { Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, openBlock as v, renderSlot as y, unref as b, withCtx as x, withModifiers as S } from "vue";
7
+ //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/tag/src/tag.mjs
8
+ var C = t({
9
+ type: {
10
+ type: String,
11
+ values: [
12
+ "primary",
13
+ "success",
14
+ "info",
15
+ "warning",
16
+ "danger"
17
+ ],
18
+ default: "primary"
19
+ },
20
+ closable: Boolean,
21
+ disableTransitions: Boolean,
22
+ hit: Boolean,
23
+ color: String,
24
+ size: {
25
+ type: String,
26
+ values: e
27
+ },
28
+ effect: {
29
+ type: String,
30
+ values: [
31
+ "dark",
32
+ "light",
33
+ "plain"
34
+ ],
35
+ default: "light"
36
+ },
37
+ round: Boolean
38
+ }), w = {
39
+ close: (e) => e instanceof MouseEvent,
40
+ click: (e) => e instanceof MouseEvent
41
+ }, T = ["aria-label"], E = ["aria-label"], D = r(/* @__PURE__ */ h({
42
+ name: "ElTag",
43
+ __name: "tag",
44
+ props: C,
45
+ emits: w,
46
+ setup(e, { emit: t }) {
47
+ let r = e, h = t, C = s(), { t: w } = o(), D = n("tag"), O = l(() => {
48
+ let { type: e, hit: t, effect: n, closable: i, round: a } = r;
49
+ return [
50
+ D.b(),
51
+ D.is("closable", i),
52
+ D.m(e || "primary"),
53
+ D.m(C.value),
54
+ D.m(n),
55
+ D.is("hit", t),
56
+ D.is("round", a)
57
+ ];
58
+ }), k = (e) => {
59
+ h("close", e);
60
+ }, A = (e) => {
61
+ h("click", e);
62
+ }, j = (e) => {
63
+ var t;
64
+ !(e == null || (t = e.component) == null || (t = t.subTree) == null || (t = t.component) == null) && t.bum && (e.component.subTree.component.bum = null);
65
+ };
66
+ return (t, n) => e.disableTransitions ? (v(), f("span", {
67
+ key: 0,
68
+ class: g(O.value),
69
+ style: _({ backgroundColor: e.color }),
70
+ onClick: A
71
+ }, [p("span", { class: g(b(D).e("content")) }, [y(t.$slots, "default")], 2), e.closable ? (v(), f("button", {
72
+ key: 0,
73
+ "aria-label": b(w)("el.tag.close"),
74
+ class: g(b(D).e("close")),
75
+ type: "button",
76
+ onClick: S(k, ["stop"])
77
+ }, [m(b(a), null, {
78
+ default: x(() => [m(b(i))]),
79
+ _: 1
80
+ })], 10, T)) : d("v-if", !0)], 6)) : (v(), u(c, {
81
+ key: 1,
82
+ name: `${b(D).namespace.value}-zoom-in-center`,
83
+ appear: "",
84
+ onVnodeMounted: j
85
+ }, {
86
+ default: x(() => [p("span", {
87
+ class: g(O.value),
88
+ style: _({ backgroundColor: e.color }),
89
+ onClick: A
90
+ }, [p("span", { class: g(b(D).e("content")) }, [y(t.$slots, "default")], 2), e.closable ? (v(), f("button", {
91
+ key: 0,
92
+ "aria-label": b(w)("el.tag.close"),
93
+ class: g(b(D).e("close")),
94
+ type: "button",
95
+ onClick: S(k, ["stop"])
96
+ }, [m(b(a), null, {
97
+ default: x(() => [m(b(i))]),
98
+ _: 1
99
+ })], 10, E)) : d("v-if", !0)], 6)]),
100
+ _: 3
101
+ }, 8, ["name"]));
102
+ }
103
+ }));
104
+ //#endregion
105
+ export { C as n, D as t };