@web-utils/form-ui 1.0.0-beta59 → 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 (365) hide show
  1. package/address-input/index.js +2 -0
  2. package/affix/{index.mjs → index.js} +1 -1
  3. package/capsule-tab/{index.mjs → index.js} +1 -1
  4. package/card/{index.mjs → index.js} +4 -4
  5. package/chunks/{TtxSplBB.mjs → -DBJHzo8.js} +7 -7
  6. package/chunks/{CbgD7y-5.mjs → 2LWvhQd0.js} +1 -1
  7. package/chunks/{CdBytH8S.mjs → 2rqr8Tbh.js} +13 -13
  8. package/chunks/{Q2Mal3Qn2.mjs → 6yr_i3FT2.js} +8 -8
  9. package/chunks/{CsLrkldT2.mjs → 8_hjhnjH2.js} +9 -9
  10. package/chunks/{CaRunrOV2.mjs → B-Uo-WTY2.js} +35 -35
  11. package/chunks/{DZ0frL1U.mjs → B-VO-y0h.js} +3 -3
  12. package/chunks/{T_jwNKBr.mjs → B2D06vEG.js} +1 -1
  13. package/chunks/{BvcK4D8A2.mjs → B7FF1FxW2.js} +7 -7
  14. package/chunks/{Baam4z-g.mjs → B7IZdKDn.js} +11 -11
  15. package/chunks/{akEzJ4kG.mjs → BCLWjhEJ.js} +1 -1
  16. package/chunks/{9rQitPz7.mjs → BGCX5eZn.js} +12 -12
  17. package/chunks/{Calzy0Az.mjs → BIEgauMd.js} +21 -21
  18. package/chunks/{CDqVJ7U3.mjs → BJQI5s6-.js} +8 -8
  19. package/chunks/{DsZznbt2.mjs → BMuH4fKH.js} +4 -4
  20. package/chunks/{nLBvkerV2.mjs → BPT6FWFK2.js} +10 -10
  21. package/chunks/{BJby9uHB2.mjs → BVAen7xV2.js} +10 -10
  22. package/chunks/{BjCfQFUL.mjs → BVQMbnV7.js} +2 -2
  23. package/chunks/{5itVLmv82.mjs → BWTWKgRC2.js} +8 -8
  24. package/chunks/{BvbjlaN02.mjs → BamrxTuc2.js} +18 -18
  25. package/chunks/{BkEMJ725.mjs → BbrkKcOy.js} +7 -7
  26. package/chunks/{BffxPn8a.mjs → BdEgzMLy.js} +2 -2
  27. package/chunks/{DoNfjRR1.mjs → Be3-Nwsb.js} +6 -6
  28. package/chunks/{BsM0L7CS.mjs → Beh1v279.js} +10 -10
  29. package/chunks/{C7l9aZGE.mjs → BgzF6a9b.js} +11 -11
  30. package/chunks/{CbbjpJFg2.mjs → BjACtWY92.js} +3 -3
  31. package/chunks/{D_qwjNah.mjs → BjUVecZ_.js} +11 -11
  32. package/chunks/{BVSQ6DfJ.mjs → BjwA4s46.js} +2 -2
  33. package/chunks/{DNSPORak.mjs → Bkt5jwQ4.js} +3 -3
  34. package/chunks/{DLgn1tQG2.mjs → Bmzc6Sbs2.js} +2 -2
  35. package/chunks/{BUAQybGW.mjs → BoMy4B-G.js} +14 -14
  36. package/chunks/{BEysX5TF2.mjs → BoOLX_Ey2.js} +19 -19
  37. package/chunks/{BVIHqL6g.mjs → Boq1bhQA.js} +1 -1
  38. package/chunks/{uqKZ4RIo.mjs → BpYC6Tu9.js} +8 -8
  39. package/chunks/{CwWfRmD3.mjs → Bs7_SRve.js} +5 -5
  40. package/chunks/{Cu2A_1vk2.mjs → BsfOPm1B2.js} +5 -5
  41. package/chunks/{B1GA44yT2.mjs → BtPj4Jsp2.js} +3 -3
  42. package/chunks/{D4oNQiIK.mjs → BtonI3XP.js} +2 -2
  43. package/chunks/{Cy8jqgun2.mjs → Bu-59cNv2.js} +1 -1
  44. package/chunks/{Csiz_xCa2.mjs → BvtVUXOb2.js} +8 -8
  45. package/chunks/{DoOkwYtO.mjs → BwqV8Rv9.js} +10 -10
  46. package/chunks/{B__5L22p2.mjs → BxpuH2XL2.js} +5 -5
  47. package/chunks/{Bdeug17L.mjs → BykQpC2D.js} +1 -1
  48. package/chunks/{B1ATN2my.mjs → C-P8DAWg.js} +2 -2
  49. package/chunks/{gh52LMTG.mjs → C-i5OhEv.js} +1 -1
  50. package/chunks/{BIj6pa8Z.mjs → C0IscOmB.js} +2 -2
  51. package/chunks/{7JVbVOff2.mjs → C5lEU74h2.js} +1 -1
  52. package/chunks/{D3Xixh5v.mjs → C6-wRuOv.js} +1 -1
  53. package/chunks/{B7O8aGqC2.mjs → CDEhu4Hw2.js} +6 -6
  54. package/chunks/{Dsd58O0g.mjs → CIoHpVna.js} +1 -1
  55. package/chunks/{BrYtAPbN2.mjs → CKF4NcjP2.js} +1 -1
  56. package/chunks/{DsYXqJLZ.mjs → COm5LruT.js} +10 -10
  57. package/chunks/{CiFlMt6Z.mjs → CPlMW0nU.js} +2 -2
  58. package/chunks/{lGc5ksPb.mjs → CQNKF-Y5.js} +5 -5
  59. package/chunks/{cMuWbLPt.mjs → CZ8fWKCR.js} +2 -2
  60. package/chunks/{FeuisuNY2.mjs → CZgfv08Q2.js} +3 -3
  61. package/chunks/{7Cv9Cq-02.mjs → C_WXMlg42.js} +1 -1
  62. package/chunks/{B8wGY5Hs2.mjs → ChC6aRuE2.js} +3 -3
  63. package/chunks/{B3d4fdGH.mjs → CkkEsDyG.js} +1 -1
  64. package/chunks/{qrHhuZXg.mjs → Cll5nIzw.js} +14 -14
  65. package/chunks/{BsKwchVA.mjs → CmQBhb4F.js} +1 -1
  66. package/chunks/{77cFhiAz.mjs → CuVxnUGN.js} +1 -1
  67. package/chunks/{DL0o_C092.mjs → CzjXqsNz2.js} +21 -21
  68. package/chunks/{CuoF9V8s.mjs → D1bdDHti.js} +15 -15
  69. package/chunks/{D6vTCC1Z2.mjs → D4vS0dLK2.js} +6 -6
  70. package/chunks/{BQNqBw8h2.mjs → D63r1Mj-2.js} +3 -3
  71. package/chunks/{Dg9Q-Tbi2.mjs → DANCDark2.js} +1 -1
  72. package/chunks/{6kdakei5.mjs → DCHGC-wv.js} +12 -12
  73. package/chunks/{BecO0t0_2.mjs → DEBzRzs62.js} +17 -17
  74. package/chunks/{Dls3rTka2.mjs → DF3tDDui2.js} +6 -6
  75. package/chunks/{CwqeV7002.mjs → DGDjsgmi2.js} +4 -4
  76. package/chunks/{BBqq6o072.mjs → DGDoWF7A2.js} +10 -10
  77. package/chunks/{DXiLi19u2.mjs → DGOYYEkS2.js} +4 -4
  78. package/chunks/{C5f3Xfsc2.mjs → DGSETzHz2.js} +4 -4
  79. package/chunks/{CIybFvu92.mjs → DIu4j2rA2.js} +3 -3
  80. package/chunks/{BDVLN2ly.mjs → DJnkQG-Q.js} +3 -3
  81. package/chunks/{Dtq1xYk8.mjs → DKCe2nDe.js} +2 -2
  82. package/chunks/{DfJJr053.mjs → DPLXkmFh.js} +2 -2
  83. package/chunks/{BoId6V9J.mjs → DQdBwuTr.js} +1 -1
  84. package/chunks/{CwBq1JZV.mjs → DUbcVQBq.js} +7 -7
  85. package/chunks/{Cjkq49252.mjs → D_gajPwn2.js} +5 -5
  86. package/chunks/{mD3gmiOy2.mjs → DaBPfr252.js} +6 -6
  87. package/chunks/{CPejK_GQ2.mjs → Db0J1lN72.js} +11 -11
  88. package/chunks/{EA6hte7s2.mjs → DcDUyJSx2.js} +6 -6
  89. package/chunks/{DStwh2ne.mjs → DdDO4YD2.js} +7 -7
  90. package/chunks/{KGmxNbpi.mjs → DdW8XqoW.js} +1 -1
  91. package/chunks/{CQSTyCVP.mjs → DfdoBqSD.js} +1 -1
  92. package/chunks/{CQxz8uUc.mjs → DgbDv9To.js} +8 -8
  93. package/chunks/{D-hj62se2.mjs → DiB3ANPI2.js} +10 -10
  94. package/chunks/{CjmfMN1X2.mjs → DkBjJMFf2.js} +3 -3
  95. package/chunks/{D8r81QxD.mjs → DkkdixR-.js} +14 -14
  96. package/chunks/{49634Q2N2.mjs → Do-8eHRr2.js} +7 -7
  97. package/chunks/{DbtlO6wD.mjs → DoCrd-hR.js} +3 -3
  98. package/chunks/{BVuwiZGi.mjs → DqI4lZin.js} +1 -1
  99. package/chunks/{DxL9oojv2.mjs → DqgSQ3KG2.js} +16 -16
  100. package/chunks/{BjWs-r2V.mjs → DuuoytDu.js} +4 -4
  101. package/chunks/{BI-ZFlSw2.mjs → Dw_RxmrB2.js} +3 -3
  102. package/chunks/{CR29QUwT2.mjs → DxrV8nwF2.js} +4 -4
  103. package/chunks/{CWvo-ucD.mjs → Dyeav-c7.js} +9 -9
  104. package/chunks/{BeWNlclr.mjs → DyqdbtLs.js} +7 -7
  105. package/chunks/{3gUkQF12.mjs → IfmR2wc6.js} +4 -4
  106. package/chunks/{Bgw_3soo.mjs → J-HPb14D.js} +1 -1
  107. package/chunks/{CbsGuLZz2.mjs → RAYFV7z_2.js} +5 -5
  108. package/chunks/{B5voIv4_.mjs → SCjrrbwI.js} +8 -8
  109. package/chunks/{CcT5SsZk.mjs → Xdb_3Me6.js} +3 -3
  110. package/chunks/{BaLjN8Ow.mjs → YLwDmpE6.js} +5 -5
  111. package/chunks/{Wl17p0C82.mjs → ZdU9-d3W2.js} +4 -4
  112. package/chunks/{D9qn1x3X2.mjs → _6lMlbOl2.js} +3 -3
  113. package/chunks/{DhQF2ZlD.mjs → _DT9bjOz.js} +6 -6
  114. package/chunks/{DTUh8o0p2.mjs → _MqUwxIX2.js} +5 -5
  115. package/chunks/{Ch_zaHx9.mjs → a1C-V5Od.js} +1 -1
  116. package/chunks/{Z0BPDZlb.mjs → f2NKal5o.js} +3 -3
  117. package/chunks/{hgAOQY9a.mjs → fICCbPEl.js} +1 -1
  118. package/chunks/{GsvG1yFW.mjs → gFFZEYaV.js} +10 -10
  119. package/chunks/{CGM03LI5.mjs → kPKqEDo-.js} +17 -17
  120. package/chunks/{BCVhSMZN.mjs → o8iIIG7B.js} +25 -25
  121. package/chunks/{CFvkR9Ze2.mjs → xfxHgkQu2.js} +4 -4
  122. package/code-mirror-editor/{index.mjs → index.js} +1 -1
  123. package/confirm-button/{index.mjs → index.js} +1 -1
  124. package/confirmable/{index.mjs → index.js} +1 -1
  125. package/context-menu/{index.mjs → index.js} +1 -1
  126. package/count-up/{index.mjs → index.js} +1 -1
  127. package/custom-scrollbar/{index.mjs → index.js} +1 -1
  128. package/data-box/{index.mjs → index.js} +5 -5
  129. package/data-card/{index.mjs → index.js} +4 -4
  130. package/data-card-text/{index.mjs → index.js} +4 -4
  131. package/data-display/{index.mjs → index.js} +5 -5
  132. package/data-icons/{index.mjs → index.js} +5 -5
  133. package/data-imgtext/{index.mjs → index.js} +5 -5
  134. package/data-operatext/{index.mjs → index.js} +4 -4
  135. package/data-panel/{index.mjs → index.js} +5 -5
  136. package/data-pay/{index.mjs → index.js} +6 -6
  137. package/data-price/{index.mjs → index.js} +4 -4
  138. package/data-progress/{index.mjs → index.js} +6 -6
  139. package/data-rotate/{index.mjs → index.js} +5 -5
  140. package/data-table-picker/{index.mjs → index.js} +5 -5
  141. package/data-tabs/{index.mjs → index.js} +5 -5
  142. package/dict-render/index.js +2 -0
  143. package/e-charts/{index.mjs → index.js} +2 -2
  144. package/easy-popup/{index.mjs → index.js} +1 -1
  145. package/editable-progress/{index.mjs → index.js} +4 -4
  146. package/editable-tree/index.js +2 -0
  147. package/element-dialog/index.js +2 -0
  148. package/element-resize-observer/{index.mjs → index.js} +1 -1
  149. package/flex-box/index.js +2 -0
  150. package/flex-column/index.js +2 -0
  151. package/flex-item/index.js +2 -0
  152. package/flex-row/index.js +2 -0
  153. package/flex-scroller/{index.mjs → index.js} +1 -1
  154. package/flow-designer/index.js +2 -0
  155. package/flow-viewer/{index.mjs → index.js} +2 -2
  156. package/form-advice/{index.mjs → index.js} +1 -1
  157. package/form-button/{index.mjs → index.js} +1 -1
  158. package/form-card/{index.mjs → index.js} +1 -1
  159. package/form-cascader/index.js +2 -0
  160. package/form-checkbox/index.js +2 -0
  161. package/form-checkbox-group/index.js +2 -0
  162. package/form-date-picker/index.js +2 -0
  163. package/form-holder/index.js +2 -0
  164. package/form-image/index.js +2 -0
  165. package/form-input/index.js +2 -0
  166. package/form-input-cron-expression/index.js +2 -0
  167. package/form-input-email/index.js +2 -0
  168. package/form-input-id-card/index.js +2 -0
  169. package/form-input-number/index.js +2 -0
  170. package/form-input-phone-number/index.js +2 -0
  171. package/form-input-tag/index.js +2 -0
  172. package/form-input-time/index.js +2 -0
  173. package/form-item-config-provider/{index.mjs → index.js} +1 -1
  174. package/form-item-group/index.js +2 -0
  175. package/form-item-x/index.js +2 -0
  176. package/form-radio-group/index.js +2 -0
  177. package/form-rate/index.js +2 -0
  178. package/form-red-table/{index.mjs → index.js} +1 -1
  179. package/form-row/index.js +2 -0
  180. package/form-select/index.js +2 -0
  181. package/form-slider/index.js +2 -0
  182. package/form-switch/index.js +2 -0
  183. package/form-table/index.js +2 -0
  184. package/form-table-plus/index.js +2 -0
  185. package/form-text/index.js +2 -0
  186. package/form-textarea/index.js +2 -0
  187. package/form-time-select/index.js +2 -0
  188. package/form-tree-select/index.js +2 -0
  189. package/form-tree-select-multiple/index.js +2 -0
  190. package/form-view/{index.mjs → index.js} +6 -6
  191. package/guide-steps/index.js +2 -0
  192. package/helper/{dictionary.mjs → dictionary.js} +2 -2
  193. package/helper/{form-item.mjs → form-item.js} +3 -3
  194. package/helper/{input.mjs → input.js} +1 -1
  195. package/highlight-j-s/{index.mjs → index.js} +1 -1
  196. package/hook/{useDictionary.mjs → useDictionary.js} +1 -1
  197. package/iframe-window/{index.mjs → index.js} +1 -1
  198. package/image-cropper/{index.mjs → index.js} +3 -3
  199. package/image-preview/index.js +2 -0
  200. package/image-viewer/{index.mjs → index.js} +1 -1
  201. package/index.css +1 -1
  202. package/{index.mjs → index.js} +119 -119
  203. package/input-number-range/{index.mjs → index.js} +3 -3
  204. package/keyboard/index.js +2 -0
  205. package/loading-view/{index.mjs → index.js} +1 -1
  206. package/name-avatar/{index.mjs → index.js} +1 -1
  207. package/nav-bar/{index.mjs → index.js} +2 -2
  208. package/package.json +1 -1
  209. package/page-index/{index.mjs → index.js} +3 -3
  210. package/page-index-top/{index.mjs → index.js} +6 -6
  211. package/page-skeleton/{index.mjs → index.js} +3 -3
  212. package/page-skeleton-new/{index.mjs → index.js} +1 -1
  213. package/pageable-table/index.js +2 -0
  214. package/photo-swipe/index.js +2 -0
  215. package/props/{cascader.mjs → cascader.js} +1 -1
  216. package/props/{checkbox-group.mjs → checkbox-group.js} +1 -1
  217. package/props/{checkbox.mjs → checkbox.js} +1 -1
  218. package/props/{col.mjs → col.js} +1 -1
  219. package/props/{common.mjs → common.js} +2 -2
  220. package/props/{date.mjs → date.js} +1 -1
  221. package/props/{form-item.mjs → form-item.js} +1 -1
  222. package/props/{image.mjs → image.js} +1 -1
  223. package/props/{input-cron.mjs → input-cron.js} +1 -1
  224. package/props/{input-number.mjs → input-number.js} +1 -1
  225. package/props/{input-tag.mjs → input-tag.js} +1 -1
  226. package/props/{input.mjs → input.js} +1 -1
  227. package/props/{radio-group.mjs → radio-group.js} +1 -1
  228. package/props/{rate.mjs → rate.js} +1 -1
  229. package/props/{select.mjs → select.js} +1 -1
  230. package/props/{slide.mjs → slide.js} +1 -1
  231. package/props/{switch.mjs → switch.js} +1 -1
  232. package/props/{text.mjs → text.js} +1 -1
  233. package/props/{textarea.mjs → textarea.js} +1 -1
  234. package/props/{time-select.mjs → time-select.js} +1 -1
  235. package/props/{time.mjs → time.js} +1 -1
  236. package/props/{tree-select-multiple.mjs → tree-select-multiple.js} +2 -2
  237. package/props/{tree-select.mjs → tree-select.js} +2 -2
  238. package/resolver/{index.mjs → index.js} +1 -1
  239. package/sign-panel/{index.mjs → index.js} +1 -1
  240. package/skeleton-panel/{index.mjs → index.js} +2 -2
  241. package/split-pane/index.js +2 -0
  242. package/sub-table/index.js +2 -0
  243. package/sub-table-plus/index.js +2 -0
  244. package/swiper/{index.mjs → index.js} +3 -3
  245. package/table-column/index.js +2 -0
  246. package/table-column-def/{index.mjs → index.js} +1 -1
  247. package/table-view/{index.mjs → index.js} +14 -14
  248. package/tag-render/{index.mjs → index.js} +5 -5
  249. package/text-ellipsis/{index.mjs → index.js} +1 -1
  250. package/toolbar/index.js +2 -0
  251. package/toolbar-button/index.js +2 -0
  252. package/vue-cron/index.js +2 -0
  253. package/vue-tags-input/{index.mjs → index.js} +1 -1
  254. package/vue-tree-select/index.js +2 -0
  255. package/vue-video-player/{index.mjs → index.js} +1 -1
  256. package/watermark/index.js +2 -0
  257. package/x-input-tag/{index.mjs → index.js} +8 -8
  258. package/year-calendar/index.js +2 -0
  259. package/ElementBaseInfo-B-SjuN-T.js +0 -433
  260. package/ElementDialog-DnrnQDJh.js +0 -2197
  261. package/ElementForm-H_nKO2N3.js +0 -601
  262. package/ElementListeners-C51WiyqT.js +0 -640
  263. package/ElementMultiInstance-CL-39nGi.js +0 -289
  264. package/ElementOtherConfig-CEYmg31I.js +0 -51
  265. package/ElementProperties-C7hUCewh.js +0 -192
  266. package/ElementTaskConfig-0cN06jgv.js +0 -447
  267. package/FlowCondition-C4yrBSYH.js +0 -196
  268. package/SignalAndMessage-sfMXrRDt.js +0 -193
  269. package/UserTaskListeners-CBxqMguz.js +0 -586
  270. package/_plugin-vue_export-helper-BbfgGJ0Y.js +0 -1668
  271. package/address-input/index.mjs +0 -2
  272. package/checkbox-rOSkyEjK.js +0 -438
  273. package/dict-render/index.mjs +0 -2
  274. package/divider-aeGmEWI5.js +0 -41
  275. package/drawer-TG22dm2D.js +0 -220
  276. package/editable-tree/index.mjs +0 -2
  277. package/element-dialog/index.mjs +0 -2
  278. package/flex-box/index.mjs +0 -2
  279. package/flex-column/index.mjs +0 -2
  280. package/flex-item/index.mjs +0 -2
  281. package/flex-row/index.mjs +0 -2
  282. package/flow-designer/index.mjs +0 -2
  283. package/form-cascader/index.mjs +0 -2
  284. package/form-checkbox/index.mjs +0 -2
  285. package/form-checkbox-group/index.mjs +0 -2
  286. package/form-date-picker/index.mjs +0 -2
  287. package/form-holder/index.mjs +0 -2
  288. package/form-image/index.mjs +0 -2
  289. package/form-input/index.mjs +0 -2
  290. package/form-input-cron-expression/index.mjs +0 -2
  291. package/form-input-email/index.mjs +0 -2
  292. package/form-input-id-card/index.mjs +0 -2
  293. package/form-input-number/index.mjs +0 -2
  294. package/form-input-phone-number/index.mjs +0 -2
  295. package/form-input-tag/index.mjs +0 -2
  296. package/form-input-time/index.mjs +0 -2
  297. package/form-item-group/index.mjs +0 -2
  298. package/form-item-x/index.mjs +0 -2
  299. package/form-radio-group/index.mjs +0 -2
  300. package/form-rate/index.mjs +0 -2
  301. package/form-row/index.mjs +0 -2
  302. package/form-select/index.mjs +0 -2
  303. package/form-slider/index.mjs +0 -2
  304. package/form-switch/index.mjs +0 -2
  305. package/form-table/index.mjs +0 -2
  306. package/form-table-plus/index.mjs +0 -2
  307. package/form-text/index.mjs +0 -2
  308. package/form-textarea/index.mjs +0 -2
  309. package/form-time-select/index.mjs +0 -2
  310. package/form-tree-select/index.mjs +0 -2
  311. package/form-tree-select-multiple/index.mjs +0 -2
  312. package/guide-steps/index.mjs +0 -2
  313. package/image-preview/index.mjs +0 -2
  314. package/keyboard/index.mjs +0 -2
  315. package/pageable-table/index.mjs +0 -2
  316. package/photo-swipe/index.mjs +0 -2
  317. package/rolldown-runtime-OaQ8AyCN.js +0 -20
  318. package/scrollbar-BBrFtze_.js +0 -3226
  319. package/select-q7vi1EDu.js +0 -1389
  320. package/split-pane/index.mjs +0 -2
  321. package/sub-table/index.mjs +0 -2
  322. package/sub-table-plus/index.mjs +0 -2
  323. package/table-8fnjrlxs.js +0 -3080
  324. package/table-column/index.mjs +0 -2
  325. package/toolbar/index.mjs +0 -2
  326. package/toolbar-button/index.mjs +0 -2
  327. package/utilSelf-D_fsC71t.js +0 -46
  328. package/utils-axoBfc1D.js +0 -60
  329. package/vue-cron/index.mjs +0 -2
  330. package/vue-tree-select/index.mjs +0 -2
  331. package/watermark/index.mjs +0 -2
  332. package/year-calendar/index.mjs +0 -2
  333. /package/api/{index.mjs → index.js} +0 -0
  334. /package/awesome-button/{index.mjs → index.js} +0 -0
  335. /package/chunks/{CjjJimnU.mjs → B1EPd8qV.js} +0 -0
  336. /package/chunks/{CnCSm3LY2.mjs → BLiwTT_i2.js} +0 -0
  337. /package/chunks/{DnBzQ-xh.mjs → BTBp2urE.js} +0 -0
  338. /package/chunks/{BPpMbPS8.mjs → BqmuTTT4.js} +0 -0
  339. /package/chunks/{Ctd3_wOH2.mjs → BrgApSXu2.js} +0 -0
  340. /package/chunks/{pZQfJv282.mjs → CP45VB0l2.js} +0 -0
  341. /package/chunks/{BlB1fEo92.mjs → CxYWt6f52.js} +0 -0
  342. /package/chunks/{DrKq_frR.mjs → D73tXuJP.js} +0 -0
  343. /package/chunks/{e70aZf3z.mjs → DDpTDpl_.js} +0 -0
  344. /package/chunks/{C_eGir-J.mjs → D_j9foN9.js} +0 -0
  345. /package/chunks/{BMTtnkb7.mjs → Dn11MvZp.js} +0 -0
  346. /package/chunks/{BwYEpK-u.mjs → DqttRbt0.js} +0 -0
  347. /package/chunks/{C1RsHtGI.mjs → TU6zhStX.js} +0 -0
  348. /package/chunks/{B31ub5xS.mjs → TziUPXJy.js} +0 -0
  349. /package/chunks/{h-Uhst9y.mjs → VufM4po6.js} +0 -0
  350. /package/chunks/{GEtlriHC.mjs → byLw7vSU.js} +0 -0
  351. /package/chunks/{BBPczt0U.mjs → itbzUWg4.js} +0 -0
  352. /package/constants/{index.mjs → index.js} +0 -0
  353. /package/empty-view/{index.mjs → index.js} +0 -0
  354. /package/error-view/{index.mjs → index.js} +0 -0
  355. /package/flex-scroll-area/{index.mjs → index.js} +0 -0
  356. /package/form-cell/{index.mjs → index.js} +0 -0
  357. /package/helper/{sub-table-plus.mjs → sub-table-plus.js} +0 -0
  358. /package/hook/{useVisibilityChange.mjs → useVisibilityChange.js} +0 -0
  359. /package/page/{index.mjs → index.js} +0 -0
  360. /package/page-header/{index.mjs → index.js} +0 -0
  361. /package/props/{form.mjs → form.js} +0 -0
  362. /package/props/{tree.mjs → tree.js} +0 -0
  363. /package/props/{vue-tree-select.mjs → vue-tree-select.js} +0 -0
  364. /package/stateful/{index.mjs → index.js} +0 -0
  365. /package/vue-qr-code/{index.mjs → index.js} +0 -0
@@ -1,447 +0,0 @@
1
- import "./rolldown-runtime-OaQ8AyCN.js";
2
- import { d as e, u as t } from "./scrollbar-BBrFtze_.js";
3
- import { n, t as r } from "./_plugin-vue_export-helper-BbfgGJ0Y.js";
4
- import { n as i, t as a } from "./select-q7vi1EDu.js";
5
- import { t as o } from "./checkbox-rOSkyEjK.js";
6
- import { C as s, t as c } from "./ElementDialog-DnrnQDJh.js";
7
- import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, guardReactiveProps as g, normalizeProps as _, openBlock as v, renderList as y, resolveDynamicComponent as b, vShow as x, withCtx as S, withDirectives as C, withModifiers as w } from "vue";
8
- //#region src/components/bpmn-process-designer/components/penal/task/task-components/UserTask.vue
9
- var T = {
10
- name: "UserTask",
11
- props: {
12
- id: String,
13
- element: Object,
14
- bpmnInstances: Object
15
- },
16
- data() {
17
- return {
18
- defaultTaskForm: {
19
- assignee: "",
20
- candidateUsers: [],
21
- candidateGroups: [],
22
- dueDate: "",
23
- followUpDate: "",
24
- priority: ""
25
- },
26
- userTaskForm: {},
27
- mockData: [
28
- 1,
29
- 2,
30
- 3,
31
- 4,
32
- 5,
33
- 6,
34
- 7,
35
- 8,
36
- 9,
37
- 10
38
- ]
39
- };
40
- },
41
- watch: { id: {
42
- immediate: !0,
43
- handler() {
44
- this.$nextTick(() => this.resetTaskForm());
45
- }
46
- } },
47
- methods: {
48
- resetTaskForm() {
49
- let { businessObject: e } = this.element;
50
- for (let t in this.defaultTaskForm) {
51
- let n;
52
- n = ["candidateUsers", "candidateGroups"].includes(t) ? e[t] ? e[t].split(",") : [] : e[t] || this.defaultTaskForm[t], this.userTaskForm[t] = n;
53
- }
54
- },
55
- updateElementTask(e) {
56
- let t = {};
57
- e === "candidateUsers" || e === "candidateGroups" ? t[e] = this.userTaskForm[e] && this.userTaskForm[e].length ? this.userTaskForm[e].join() : null : t[e] = this.userTaskForm[e] || null, this.bpmnInstances.modeling.updateProperties(this.element, t);
58
- }
59
- }
60
- }, E = { style: { "margin-top": "16px" } };
61
- function D(t, r, o, s, c, d) {
62
- let p = a, m = i, g = e, _ = n;
63
- return v(), f("div", E, [
64
- h(g, { label: "处理用户" }, {
65
- default: S(() => [h(m, {
66
- modelValue: c.userTaskForm.assignee,
67
- "onUpdate:modelValue": r[0] || (r[0] = (e) => c.userTaskForm.assignee = e),
68
- onChange: r[1] || (r[1] = (e) => d.updateElementTask("assignee"))
69
- }, {
70
- default: S(() => [(v(!0), f(l, null, y(c.mockData, (e) => (v(), u(p, {
71
- key: `ass-${e}`,
72
- label: `用户${e}`,
73
- value: `user${e}`
74
- }, null, 8, ["label", "value"]))), 128))]),
75
- _: 1
76
- }, 8, ["modelValue"])]),
77
- _: 1
78
- }),
79
- h(g, { label: "候选用户" }, {
80
- default: S(() => [h(m, {
81
- modelValue: c.userTaskForm.candidateUsers,
82
- "onUpdate:modelValue": r[2] || (r[2] = (e) => c.userTaskForm.candidateUsers = e),
83
- multiple: "",
84
- "collapse-tags": "",
85
- onChange: r[3] || (r[3] = (e) => d.updateElementTask("candidateUsers"))
86
- }, {
87
- default: S(() => [(v(!0), f(l, null, y(c.mockData, (e) => (v(), u(p, {
88
- key: `user-${e}`,
89
- label: `用户${e}`,
90
- value: `user${e}`
91
- }, null, 8, ["label", "value"]))), 128))]),
92
- _: 1
93
- }, 8, ["modelValue"])]),
94
- _: 1
95
- }),
96
- h(g, { label: "候选分组" }, {
97
- default: S(() => [h(m, {
98
- modelValue: c.userTaskForm.candidateGroups,
99
- "onUpdate:modelValue": r[4] || (r[4] = (e) => c.userTaskForm.candidateGroups = e),
100
- multiple: "",
101
- "collapse-tags": "",
102
- onChange: r[5] || (r[5] = (e) => d.updateElementTask("candidateGroups"))
103
- }, {
104
- default: S(() => [(v(!0), f(l, null, y(c.mockData, (e) => (v(), u(p, {
105
- key: `ass-${e}`,
106
- label: `分组${e}`,
107
- value: `group${e}`
108
- }, null, 8, ["label", "value"]))), 128))]),
109
- _: 1
110
- }, 8, ["modelValue"])]),
111
- _: 1
112
- }),
113
- h(g, { label: "到期时间" }, {
114
- default: S(() => [h(_, {
115
- modelValue: c.userTaskForm.dueDate,
116
- "onUpdate:modelValue": r[6] || (r[6] = (e) => c.userTaskForm.dueDate = e),
117
- clearable: "",
118
- onChange: r[7] || (r[7] = (e) => d.updateElementTask("dueDate"))
119
- }, null, 8, ["modelValue"])]),
120
- _: 1
121
- }),
122
- h(g, { label: "跟踪时间" }, {
123
- default: S(() => [h(_, {
124
- modelValue: c.userTaskForm.followUpDate,
125
- "onUpdate:modelValue": r[8] || (r[8] = (e) => c.userTaskForm.followUpDate = e),
126
- clearable: "",
127
- onChange: r[9] || (r[9] = (e) => d.updateElementTask("followUpDate"))
128
- }, null, 8, ["modelValue"])]),
129
- _: 1
130
- }),
131
- h(g, { label: "优先级" }, {
132
- default: S(() => [h(_, {
133
- modelValue: c.userTaskForm.priority,
134
- "onUpdate:modelValue": r[10] || (r[10] = (e) => c.userTaskForm.priority = e),
135
- clearable: "",
136
- onChange: r[11] || (r[11] = (e) => d.updateElementTask("priority"))
137
- }, null, 8, ["modelValue"])]),
138
- _: 1
139
- })
140
- ]);
141
- }
142
- var O = /* @__PURE__ */ r(T, [["render", D]]), k = {
143
- name: "ScriptTask",
144
- props: {
145
- id: String,
146
- element: Object,
147
- bpmnInstances: Object
148
- },
149
- data() {
150
- return {
151
- defaultTaskForm: {
152
- scriptFormat: "",
153
- script: "",
154
- resource: "",
155
- resultVariable: ""
156
- },
157
- scriptTaskForm: {}
158
- };
159
- },
160
- watch: { id: {
161
- immediate: !0,
162
- handler() {
163
- this.$nextTick(() => this.resetTaskForm());
164
- }
165
- } },
166
- methods: {
167
- resetTaskForm() {
168
- for (let t in this.defaultTaskForm) {
169
- var e;
170
- let n = ((e = this.element) == null ? void 0 : e.businessObject[t]) || this.defaultTaskForm[t];
171
- this.scriptTaskForm[t] = n;
172
- }
173
- this.scriptTaskForm.scriptType = this.scriptTaskForm.script ? "inline" : "external";
174
- },
175
- updateElementTask() {
176
- let e = Object.create(null);
177
- e.scriptFormat = this.scriptTaskForm.scriptFormat || null, e.resultVariable = this.scriptTaskForm.resultVariable || null, this.scriptTaskForm.scriptType === "inline" ? (e.script = this.scriptTaskForm.script || null, e.resource = null) : (e.resource = this.scriptTaskForm.resource || null, e.script = null), this.bpmnInstances.modeling.updateProperties(this.element, e);
178
- }
179
- }
180
- }, A = { style: { "margin-top": "16px" } };
181
- function j(t, r, o, s, c, l) {
182
- let u = n, d = e, p = a, m = i;
183
- return v(), f("div", A, [
184
- h(d, { label: "脚本格式" }, {
185
- default: S(() => [h(u, {
186
- modelValue: c.scriptTaskForm.scriptFormat,
187
- "onUpdate:modelValue": r[0] || (r[0] = (e) => c.scriptTaskForm.scriptFormat = e),
188
- clearable: "",
189
- onInput: r[1] || (r[1] = (e) => l.updateElementTask()),
190
- onChange: r[2] || (r[2] = (e) => l.updateElementTask())
191
- }, null, 8, ["modelValue"])]),
192
- _: 1
193
- }),
194
- h(d, { label: "脚本类型" }, {
195
- default: S(() => [h(m, {
196
- modelValue: c.scriptTaskForm.scriptType,
197
- "onUpdate:modelValue": r[3] || (r[3] = (e) => c.scriptTaskForm.scriptType = e)
198
- }, {
199
- default: S(() => [h(p, {
200
- label: "内联脚本",
201
- value: "inline"
202
- }), h(p, {
203
- label: "外部资源",
204
- value: "external"
205
- })]),
206
- _: 1
207
- }, 8, ["modelValue"])]),
208
- _: 1
209
- }),
210
- C(h(d, { label: "脚本" }, {
211
- default: S(() => [h(u, {
212
- modelValue: c.scriptTaskForm.script,
213
- "onUpdate:modelValue": r[4] || (r[4] = (e) => c.scriptTaskForm.script = e),
214
- type: "textarea",
215
- resize: "vertical",
216
- autosize: {
217
- minRows: 2,
218
- maxRows: 4
219
- },
220
- clearable: "",
221
- onInput: r[5] || (r[5] = (e) => l.updateElementTask()),
222
- onChange: r[6] || (r[6] = (e) => l.updateElementTask())
223
- }, null, 8, ["modelValue"])]),
224
- _: 1
225
- }, 512), [[x, c.scriptTaskForm.scriptType === "inline"]]),
226
- C(h(d, { label: "资源地址" }, {
227
- default: S(() => [h(u, {
228
- modelValue: c.scriptTaskForm.resource,
229
- "onUpdate:modelValue": r[7] || (r[7] = (e) => c.scriptTaskForm.resource = e),
230
- clearable: "",
231
- onInput: r[8] || (r[8] = (e) => l.updateElementTask()),
232
- onChange: r[9] || (r[9] = (e) => l.updateElementTask())
233
- }, null, 8, ["modelValue"])]),
234
- _: 1
235
- }, 512), [[x, c.scriptTaskForm.scriptType === "external"]]),
236
- h(d, { label: "结果变量" }, {
237
- default: S(() => [h(u, {
238
- modelValue: c.scriptTaskForm.resultVariable,
239
- "onUpdate:modelValue": r[10] || (r[10] = (e) => c.scriptTaskForm.resultVariable = e),
240
- clearable: "",
241
- onInput: r[11] || (r[11] = (e) => l.updateElementTask()),
242
- onChange: r[12] || (r[12] = (e) => l.updateElementTask())
243
- }, null, 8, ["modelValue"])]),
244
- _: 1
245
- })
246
- ]);
247
- }
248
- var M = /* @__PURE__ */ r(k, [["render", j]]), N = {
249
- name: "ReceiveTask",
250
- props: {
251
- id: String,
252
- element: Object,
253
- bpmnInstances: Object
254
- },
255
- data() {
256
- return {
257
- bindMessageId: "",
258
- newMessageForm: {},
259
- messageMap: {},
260
- messageModelVisible: !1
261
- };
262
- },
263
- watch: { id: {
264
- immediate: !0,
265
- handler() {
266
- this.$nextTick(() => this.getBindMessage());
267
- }
268
- } },
269
- created() {
270
- this.bpmnMessageRefsMap = Object.create(null), this.bpmnRootElements = this.bpmnInstances.modeler.getDefinitions().rootElements, this.bpmnRootElements.filter((e) => e.$type === "bpmn:Message").forEach((e) => {
271
- this.bpmnMessageRefsMap[e.id] = e, this.messageMap[e.id] = e.name;
272
- }), this.messageMap[-1] = "无";
273
- },
274
- methods: {
275
- getBindMessage() {
276
- var e;
277
- this.bindMessageId = ((e = this.element.businessObject) == null || (e = e.messageRef) == null ? void 0 : e.id) || "-1";
278
- },
279
- openMessageModel() {
280
- this.messageModelVisible = !0, this.newMessageForm = {};
281
- },
282
- createNewMessage() {
283
- if (this.messageMap[this.newMessageForm.id]) {
284
- this.$message.error("该消息已存在,请修改id后重新保存");
285
- return;
286
- }
287
- let e = this.bpmnInstances.moddle.create("bpmn:Message", this.newMessageForm);
288
- this.bpmnRootElements.push(e), this.messageMap[this.newMessageForm.id] = this.newMessageForm.name, this.bpmnMessageRefsMap[this.newMessageForm.id] = e, this.messageModelVisible = !1;
289
- },
290
- updateTaskMessage(e) {
291
- e === "-1" ? this.bpmnInstances.modeling.updateProperties(this.element, { messageRef: null }) : this.bpmnInstances.modeling.updateProperties(this.element, { messageRef: this.bpmnMessageRefsMap[e] });
292
- }
293
- }
294
- }, P = { style: { "margin-top": "16px" } }, F = { style: {
295
- display: "flex",
296
- "flex-wrap": "nowrap",
297
- "align-items": "center",
298
- "justify-content": "space-between"
299
- } };
300
- function I(r, o, d, g, _, b) {
301
- let x = a, C = i, T = s, E = e, D = n, O = t, k = c;
302
- return v(), f("div", P, [h(E, { label: "消息实例" }, {
303
- default: S(() => [p("div", F, [h(C, {
304
- modelValue: _.bindMessageId,
305
- "onUpdate:modelValue": o[0] || (o[0] = (e) => _.bindMessageId = e),
306
- onChange: b.updateTaskMessage
307
- }, {
308
- default: S(() => [(v(!0), f(l, null, y(Object.keys(_.messageMap), (e) => (v(), u(x, {
309
- key: e,
310
- value: e,
311
- label: _.messageMap[e]
312
- }, null, 8, ["value", "label"]))), 128))]),
313
- _: 1
314
- }, 8, ["modelValue", "onChange"]), h(T, {
315
- type: "primary",
316
- icon: "el-icon-plus",
317
- style: { "margin-left": "8px" },
318
- onClick: b.openMessageModel
319
- }, null, 8, ["onClick"])])]),
320
- _: 1
321
- }), h(k, {
322
- visible: _.messageModelVisible,
323
- "onUpdate:visible": o[4] || (o[4] = (e) => _.messageModelVisible = e),
324
- class: "flow-dialog",
325
- "close-on-click-modal": !1,
326
- title: "创建新消息",
327
- width: "400px",
328
- "append-to-body": "",
329
- "destroy-on-close": ""
330
- }, {
331
- footer: S(() => [h(T, {
332
- type: "primary",
333
- onClick: b.createNewMessage
334
- }, {
335
- default: S(() => [...o[5] || (o[5] = [m("确 认", -1)])]),
336
- _: 1
337
- }, 8, ["onClick"])]),
338
- default: S(() => [h(O, {
339
- model: _.newMessageForm,
340
- "label-width": "90px",
341
- onSubmit: o[3] || (o[3] = w(() => {}, ["prevent"]))
342
- }, {
343
- default: S(() => [h(E, { label: "消息ID" }, {
344
- default: S(() => [h(D, {
345
- modelValue: _.newMessageForm.id,
346
- "onUpdate:modelValue": o[1] || (o[1] = (e) => _.newMessageForm.id = e),
347
- clearable: ""
348
- }, null, 8, ["modelValue"])]),
349
- _: 1
350
- }), h(E, { label: "消息名称" }, {
351
- default: S(() => [h(D, {
352
- modelValue: _.newMessageForm.name,
353
- "onUpdate:modelValue": o[2] || (o[2] = (e) => _.newMessageForm.name = e),
354
- clearable: ""
355
- }, null, 8, ["modelValue"])]),
356
- _: 1
357
- })]),
358
- _: 1
359
- }, 8, ["model"])]),
360
- _: 1
361
- }, 8, ["visible"])]);
362
- }
363
- //#endregion
364
- //#region src/components/bpmn-process-designer/components/penal/task/ElementTaskConfig.vue
365
- var L = {
366
- name: "ElementTaskConfig",
367
- components: {
368
- UserTask: O,
369
- ScriptTask: M,
370
- ReceiveTask: /* @__PURE__ */ r(N, [["render", I]])
371
- },
372
- props: {
373
- id: String,
374
- element: Object,
375
- bpmnInstances: Object,
376
- type: String
377
- },
378
- data() {
379
- return {
380
- taskConfigForm: {
381
- asyncAfter: !1,
382
- asyncBefore: !1,
383
- exclusive: !1
384
- },
385
- witchTaskComponent: "",
386
- installedComponent: {
387
- UserTask: "UserTask",
388
- ScriptTask: "ScriptTask",
389
- ReceiveTask: "ReceiveTask"
390
- }
391
- };
392
- },
393
- watch: {
394
- id: {
395
- immediate: !0,
396
- handler() {
397
- var e, t, n;
398
- this.taskConfigForm.asyncBefore = (e = this.element) == null || (e = e.businessObject) == null ? void 0 : e.asyncBefore, this.taskConfigForm.asyncAfter = (t = this.element) == null || (t = t.businessObject) == null ? void 0 : t.asyncAfter, this.taskConfigForm.exclusive = (n = this.element) == null || (n = n.businessObject) == null ? void 0 : n.exclusive;
399
- }
400
- },
401
- type: {
402
- immediate: !0,
403
- handler() {
404
- this.witchTaskComponent = this.installedComponent[this.type];
405
- }
406
- }
407
- },
408
- methods: { changeTaskAsync() {
409
- !this.taskConfigForm.asyncBefore && !this.taskConfigForm.asyncAfter && (this.taskConfigForm.exclusive = !1), this.bpmnInstances.modeling.updateProperties(this.element, { ...this.taskConfigForm });
410
- } }
411
- }, R = { class: "panel-tab__content" };
412
- function z(n, r, i, a, s, c) {
413
- let l = o, p = e, m = t;
414
- return v(), f("div", R, [h(m, {
415
- "label-width": "90px",
416
- onSubmit: r[3] || (r[3] = w(() => {}, ["prevent"]))
417
- }, {
418
- default: S(() => [h(p, { label: "异步延续" }, {
419
- default: S(() => [
420
- h(l, {
421
- modelValue: s.taskConfigForm.asyncBefore,
422
- "onUpdate:modelValue": r[0] || (r[0] = (e) => s.taskConfigForm.asyncBefore = e),
423
- label: "异步前",
424
- onChange: c.changeTaskAsync
425
- }, null, 8, ["modelValue", "onChange"]),
426
- h(l, {
427
- modelValue: s.taskConfigForm.asyncAfter,
428
- "onUpdate:modelValue": r[1] || (r[1] = (e) => s.taskConfigForm.asyncAfter = e),
429
- label: "异步后",
430
- onChange: c.changeTaskAsync
431
- }, null, 8, ["modelValue", "onChange"]),
432
- s.taskConfigForm.asyncAfter || s.taskConfigForm.asyncBefore ? (v(), u(l, {
433
- key: 0,
434
- modelValue: s.taskConfigForm.exclusive,
435
- "onUpdate:modelValue": r[2] || (r[2] = (e) => s.taskConfigForm.exclusive = e),
436
- label: "排除",
437
- onChange: c.changeTaskAsync
438
- }, null, 8, ["modelValue", "onChange"])) : d("", !0)
439
- ]),
440
- _: 1
441
- }), (v(), u(b(s.witchTaskComponent), _(g(n.$props)), null, 16))]),
442
- _: 1
443
- })]);
444
- }
445
- var B = /* @__PURE__ */ r(L, [["render", z]]);
446
- //#endregion
447
- export { B as default };
@@ -1,196 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-OaQ8AyCN.js";
2
- import { d as t, u as n } from "./scrollbar-BBrFtze_.js";
3
- import { n as r, t as i } from "./_plugin-vue_export-helper-BbfgGJ0Y.js";
4
- import { n as a, t as o } from "./select-q7vi1EDu.js";
5
- import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createVNode as d, openBlock as f, withCtx as p, withModifiers as m } from "vue";
6
- //#region src/components/bpmn-process-designer/components/penal/flow-condition/FlowCondition.vue
7
- var h = /* @__PURE__ */ e({ default: () => y }), g = {
8
- name: "FlowCondition",
9
- props: {
10
- id: String,
11
- element: Object,
12
- bpmnInstances: Object
13
- },
14
- data() {
15
- return { flowConditionForm: {} };
16
- },
17
- watch: { id: {
18
- immediate: !0,
19
- async handler() {
20
- await this.$nextTick(), this.resetFlowCondition();
21
- }
22
- } },
23
- beforeUnmount() {
24
- this.bpmnElementSource = null, this.bpmnElementSourceRef = null;
25
- },
26
- methods: {
27
- resetFlowCondition() {
28
- if (this.bpmnElementSource = this.element.source, this.bpmnElementSourceRef = this.element.businessObject.sourceRef, this.bpmnElementSourceRef && this.bpmnElementSourceRef.default && this.bpmnElementSourceRef.default.id === this.element.id) this.flowConditionForm = { type: "default" };
29
- else if (!this.element.businessObject.conditionExpression) this.flowConditionForm = { type: "normal" };
30
- else {
31
- let e = this.element.businessObject.conditionExpression;
32
- if (this.flowConditionForm = {
33
- ...e,
34
- type: "condition"
35
- }, this.flowConditionForm.resource) {
36
- this.flowConditionForm.conditionType = "script", this.flowConditionForm.scriptType = "externalScript";
37
- return;
38
- }
39
- if (e.language) {
40
- this.flowConditionForm.conditionType = "script", this.flowConditionForm.scriptType = "inlineScript";
41
- return;
42
- }
43
- this.flowConditionForm.conditionType = "expression";
44
- }
45
- },
46
- updateFlowType(e) {
47
- if (e === "condition") {
48
- this.flowConditionRef = this.bpmnInstances.moddle.create("bpmn:FormalExpression"), this.bpmnInstances.modeling.updateProperties(this.element, { conditionExpression: this.flowConditionRef });
49
- return;
50
- }
51
- if (e === "default") {
52
- this.bpmnInstances.modeling.updateProperties(this.element, { conditionExpression: null }), this.bpmnInstances.modeling.updateProperties(this.bpmnElementSource, { default: this.element });
53
- return;
54
- }
55
- this.bpmnElementSourceRef.default && this.bpmnElementSourceRef.default.id === this.element.id && this.bpmnInstances.modeling.updateProperties(this.bpmnElementSource, { default: null }), this.bpmnInstances.modeling.updateProperties(this.element, { conditionExpression: null });
56
- },
57
- updateFlowCondition() {
58
- let { conditionType: e, scriptType: t, body: n, resource: r, language: i } = this.flowConditionForm, a;
59
- e === "expression" ? a = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: n }) : t === "inlineScript" ? (a = this.bpmnInstances.moddle.create("bpmn:FormalExpression", {
60
- body: n,
61
- language: i
62
- }), this.flowConditionForm.resource = "") : (this.flowConditionForm.body = "", a = this.bpmnInstances.moddle.create("bpmn:FormalExpression", {
63
- resource: r,
64
- language: i
65
- })), this.bpmnInstances.modeling.updateProperties(this.element, { conditionExpression: a });
66
- }
67
- }
68
- }, _ = { class: "panel-tab__content" };
69
- function v(e, i, h, g, v, y) {
70
- let b = o, x = a, S = t, C = r, w = n;
71
- return f(), u("div", _, [d(w, {
72
- model: v.flowConditionForm,
73
- "label-width": "90px",
74
- onSubmit: i[7] || (i[7] = m(() => {}, ["prevent"]))
75
- }, {
76
- default: p(() => [
77
- d(S, { label: "流转类型" }, {
78
- default: p(() => [d(x, {
79
- modelValue: v.flowConditionForm.type,
80
- "onUpdate:modelValue": i[0] || (i[0] = (e) => v.flowConditionForm.type = e),
81
- onChange: y.updateFlowType
82
- }, {
83
- default: p(() => [
84
- d(b, {
85
- label: "普通流转路径",
86
- value: "normal"
87
- }),
88
- d(b, {
89
- label: "默认流转路径",
90
- value: "default"
91
- }),
92
- d(b, {
93
- label: "条件流转路径",
94
- value: "condition"
95
- })
96
- ]),
97
- _: 1
98
- }, 8, ["modelValue", "onChange"])]),
99
- _: 1
100
- }),
101
- v.flowConditionForm.type === "condition" ? (f(), c(S, {
102
- key: "condition",
103
- label: "条件格式"
104
- }, {
105
- default: p(() => [d(x, {
106
- modelValue: v.flowConditionForm.conditionType,
107
- "onUpdate:modelValue": i[1] || (i[1] = (e) => v.flowConditionForm.conditionType = e)
108
- }, {
109
- default: p(() => [d(b, {
110
- label: "表达式",
111
- value: "expression"
112
- }), d(b, {
113
- label: "脚本",
114
- value: "script"
115
- })]),
116
- _: 1
117
- }, 8, ["modelValue"])]),
118
- _: 1
119
- })) : l("", !0),
120
- v.flowConditionForm.conditionType && v.flowConditionForm.conditionType === "expression" ? (f(), c(S, {
121
- key: "express",
122
- label: "表达式"
123
- }, {
124
- default: p(() => [d(C, {
125
- modelValue: v.flowConditionForm.body,
126
- "onUpdate:modelValue": i[2] || (i[2] = (e) => v.flowConditionForm.body = e),
127
- clearable: "",
128
- onChange: y.updateFlowCondition
129
- }, null, 8, ["modelValue", "onChange"])]),
130
- _: 1
131
- })) : l("", !0),
132
- v.flowConditionForm.conditionType && v.flowConditionForm.conditionType === "script" ? (f(), u(s, { key: 2 }, [
133
- d(S, {
134
- key: "language",
135
- label: "脚本语言"
136
- }, {
137
- default: p(() => [d(C, {
138
- modelValue: v.flowConditionForm.language,
139
- "onUpdate:modelValue": i[3] || (i[3] = (e) => v.flowConditionForm.language = e),
140
- clearable: "",
141
- onChange: y.updateFlowCondition
142
- }, null, 8, ["modelValue", "onChange"])]),
143
- _: 1
144
- }),
145
- d(S, {
146
- key: "scriptType",
147
- label: "脚本类型"
148
- }, {
149
- default: p(() => [d(x, {
150
- modelValue: v.flowConditionForm.scriptType,
151
- "onUpdate:modelValue": i[4] || (i[4] = (e) => v.flowConditionForm.scriptType = e)
152
- }, {
153
- default: p(() => [d(b, {
154
- label: "内联脚本",
155
- value: "inlineScript"
156
- }), d(b, {
157
- label: "外部脚本",
158
- value: "externalScript"
159
- })]),
160
- _: 1
161
- }, 8, ["modelValue"])]),
162
- _: 1
163
- }),
164
- v.flowConditionForm.scriptType === "inlineScript" ? (f(), c(S, {
165
- key: "body",
166
- label: "脚本"
167
- }, {
168
- default: p(() => [d(C, {
169
- modelValue: v.flowConditionForm.body,
170
- "onUpdate:modelValue": i[5] || (i[5] = (e) => v.flowConditionForm.body = e),
171
- type: "textarea",
172
- clearable: "",
173
- onChange: y.updateFlowCondition
174
- }, null, 8, ["modelValue", "onChange"])]),
175
- _: 1
176
- })) : l("", !0),
177
- v.flowConditionForm.scriptType === "externalScript" ? (f(), c(S, {
178
- key: "resource",
179
- label: "资源地址"
180
- }, {
181
- default: p(() => [d(C, {
182
- modelValue: v.flowConditionForm.resource,
183
- "onUpdate:modelValue": i[6] || (i[6] = (e) => v.flowConditionForm.resource = e),
184
- clearable: "",
185
- onChange: y.updateFlowCondition
186
- }, null, 8, ["modelValue", "onChange"])]),
187
- _: 1
188
- })) : l("", !0)
189
- ], 64)) : l("", !0)
190
- ]),
191
- _: 1
192
- }, 8, ["model"])]);
193
- }
194
- var y = /* @__PURE__ */ i(g, [["render", v]]);
195
- //#endregion
196
- export { h as n, y as t };