@web-utils/form-ui 1.0.0-beta72 → 1.0.0-beta73

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 (326) hide show
  1. package/address-input/index.mjs +1 -1
  2. package/affix/index.d.ts +0 -2
  3. package/affix/index.mjs +2 -3
  4. package/capsule-tab/index.mjs +1 -1
  5. package/card/index.mjs +15 -16
  6. package/chunks/-fXBgN9b2.mjs +37 -0
  7. package/chunks/{-UHCmZBh.mjs → -yfgKY3g.mjs} +1 -1
  8. package/chunks/{Ciy3EJGG2.mjs → -zgWD713.mjs} +44 -45
  9. package/chunks/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
  10. package/chunks/{qFn9SqfB2.mjs → Apjns0ZM.mjs} +72 -73
  11. package/chunks/B0BOjeph2.mjs +108 -0
  12. package/chunks/BD6_5FSI.mjs +178 -0
  13. package/chunks/BE4V5Vf5.mjs +133 -0
  14. package/chunks/{Diidem-9.mjs → BGJjAw5E.mjs} +1 -1
  15. package/chunks/{BJNI7n9Z.mjs → BH7VEktl.mjs} +19 -19
  16. package/chunks/{BrJzSp9f.mjs → BI6kCG2j2.mjs} +2 -2
  17. package/chunks/{QAHALDuF2.mjs → BYtFzO-8.mjs} +138 -139
  18. package/chunks/{C9nRNgwm2.mjs → B_AUZSOW.mjs} +589 -763
  19. package/chunks/BctSGDgW2.mjs +29 -0
  20. package/chunks/{CJl5ZiUq2.mjs → Bes1uXng.mjs} +28 -30
  21. package/chunks/BhIWiH5R.mjs +661 -0
  22. package/chunks/BhzlH7Az.mjs +90 -0
  23. package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
  24. package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
  25. package/chunks/{Bnm0osro.mjs → C--HDCqy.mjs} +13 -16
  26. package/chunks/{iPHgzcZ0.mjs → C6mb7Nru2.mjs} +4 -4
  27. package/chunks/{Bhkk9TmJ2.mjs → CFoSvMJ-2.mjs} +1 -1
  28. package/chunks/{Vrr45MGv.mjs → CO3taG7t2.mjs} +1 -1
  29. package/chunks/{Bxo1Of95.mjs → CZUhA3sf.mjs} +298 -4
  30. package/chunks/Ccxbv7uz2.mjs +34 -0
  31. package/chunks/Ce4tNNzg2.mjs +63 -0
  32. package/chunks/{SEQG09ut.mjs → CelJ2L8A2.mjs} +2 -2
  33. package/chunks/CjYOitzM2.mjs +31 -0
  34. package/chunks/Cknuquqx.mjs +32 -0
  35. package/chunks/ClVh1Lek.mjs +130 -0
  36. package/chunks/CwyebsNL2.mjs +39 -0
  37. package/chunks/{DWjZMJ1e2.mjs → D6DYxngS.mjs} +132 -133
  38. package/chunks/D6YM84Pf2.mjs +29 -0
  39. package/chunks/{DlROUHPJ2.mjs → DTq5QLoT.mjs} +43 -43
  40. package/chunks/{5oaTzHT-2.mjs → DVMfVn-M.mjs} +14 -13
  41. package/chunks/DVdQHb_v.mjs +50 -0
  42. package/chunks/{YS7hFnUB2.mjs → Daa7nl7U.mjs} +19 -19
  43. package/chunks/{D6TSUCGL.mjs → Dh_BQpvC2.mjs} +2 -2
  44. package/chunks/DizOY5i8.mjs +69 -0
  45. package/chunks/{Czi7_tAe.mjs → DjaV6_cg2.mjs} +2 -2
  46. package/chunks/{CKWgRCN52.mjs → Dm3gQGoV2.mjs} +2 -2
  47. package/chunks/DqW9QtF3.mjs +68 -0
  48. package/chunks/{CKbOqPFm2.mjs → DqWJCka8.mjs} +9 -9
  49. package/chunks/{CIerTjpq2.mjs → DrWUdRj32.mjs} +2 -2
  50. package/chunks/Dv7YRB2U2.mjs +25 -0
  51. package/chunks/DyLQsqWJ.mjs +61 -0
  52. package/chunks/HsHwYW1a.mjs +99 -0
  53. package/chunks/KDVLIvaS.mjs +30 -0
  54. package/chunks/{BHwRv4F0.mjs → Lkg7bYLD2.mjs} +73 -74
  55. package/chunks/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
  56. package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
  57. package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
  58. package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
  59. package/chunks/nL59ZuIk.mjs +58 -0
  60. package/chunks/{BrSZZNRc.mjs → neuEq1De.mjs} +70 -72
  61. package/chunks/{BJuAz5lX2.mjs → sWVkgzQt2.mjs} +2 -2
  62. package/chunks/{DN2qkQvd.mjs → tjwOOiNr2.mjs} +31 -32
  63. package/code-mirror-editor/index.mjs +1 -1
  64. package/confirm-button/index.mjs +1 -1
  65. package/confirmable/index.mjs +1 -1
  66. package/context-menu/index.mjs +1 -1
  67. package/count-up/index.mjs +1 -1
  68. package/custom-scrollbar/index.mjs +1 -1
  69. package/data-box/index.mjs +9 -10
  70. package/data-card/index.mjs +8 -9
  71. package/data-card-text/index.mjs +8 -9
  72. package/data-display/index.mjs +9 -10
  73. package/data-icons/index.mjs +9 -10
  74. package/data-imgtext/index.mjs +9 -11
  75. package/data-operatext/index.mjs +8 -9
  76. package/data-panel/index.mjs +9 -10
  77. package/data-pay/index.mjs +10 -12
  78. package/data-price/index.mjs +8 -9
  79. package/data-progress/index.mjs +10 -11
  80. package/data-rotate/index.mjs +9 -10
  81. package/data-table-picker/index.mjs +11 -12
  82. package/data-tabs/index.mjs +9 -10
  83. package/dict-render/index.mjs +1 -1
  84. package/e-charts/index.mjs +2 -2
  85. package/easy-popup/index.mjs +1 -1
  86. package/editable-progress/index.mjs +8 -8
  87. package/editable-tree/index.mjs +595 -2
  88. package/editable-tree/style.css +1 -1
  89. package/element-dialog/index.mjs +1 -1
  90. package/element-dialog/style.css +1 -1
  91. package/element-resize-observer/index.mjs +1 -1
  92. package/flex-box/index.mjs +1 -1
  93. package/flex-column/index.mjs +1 -1
  94. package/flex-item/index.mjs +1 -1
  95. package/flex-row/index.mjs +1 -1
  96. package/flex-scroller/index.mjs +1 -1
  97. package/flow-designer/index.mjs +1 -1
  98. package/flow-designer/style.css +1 -1
  99. package/flow-viewer/index.mjs +1 -1
  100. package/form-cascader/index.mjs +1 -1
  101. package/form-checkbox/index.mjs +1 -1
  102. package/form-checkbox-group/index.mjs +1 -1
  103. package/form-checkbox-group/style.css +1 -1
  104. package/form-date-picker/index.mjs +1 -1
  105. package/form-holder/index.mjs +1 -1
  106. package/form-image/index.mjs +1 -1
  107. package/form-input/index.mjs +1 -1
  108. package/form-input-cron-expression/index.mjs +1 -1
  109. package/form-input-email/index.mjs +1 -1
  110. package/form-input-id-card/index.mjs +1 -1
  111. package/form-input-number/index.mjs +1 -1
  112. package/form-input-phone-number/index.mjs +1 -1
  113. package/form-input-tag/index.mjs +1 -1
  114. package/form-input-time/index.mjs +1 -1
  115. package/form-item-group/index.mjs +1 -1
  116. package/form-item-x/index.mjs +1 -1
  117. package/form-radio-group/index.mjs +1 -1
  118. package/form-rate/index.mjs +1 -1
  119. package/form-row/index.mjs +1 -1
  120. package/form-select/index.mjs +1 -1
  121. package/form-slider/index.mjs +1 -1
  122. package/form-switch/index.mjs +1 -1
  123. package/form-table/index.mjs +1 -1
  124. package/form-table-plus/index.mjs +1 -1
  125. package/form-text/index.mjs +1 -1
  126. package/form-textarea/index.mjs +1 -1
  127. package/form-time-select/index.mjs +1 -1
  128. package/form-tree-select/index.mjs +1 -1
  129. package/form-tree-select-multiple/index.mjs +1 -1
  130. package/form-view/index.mjs +3 -3
  131. package/guide-steps/index.mjs +77 -2
  132. package/guide-steps/style.css +1 -1
  133. package/helper/dictionary.mjs +1 -1
  134. package/helper/input.mjs +1 -1
  135. package/highlight-j-s/index.mjs +1 -1
  136. package/iframe-window/index.mjs +1 -1
  137. package/image-cropper/index.mjs +12 -11
  138. package/image-preview/index.d.ts +1 -153
  139. package/image-preview/index.mjs +201 -2
  140. package/image-preview/style.css +1 -1
  141. package/image-viewer/index.mjs +1 -1
  142. package/index.css +1 -1
  143. package/index.mjs +101 -101
  144. package/input-number-range/index.mjs +7 -7
  145. package/keyboard/index.mjs +1 -1
  146. package/loading-view/index.mjs +1 -1
  147. package/name-avatar/index.mjs +1 -1
  148. package/nav-bar/index.mjs +3 -4
  149. package/package.json +5 -1
  150. package/page-index/index.mjs +14 -14
  151. package/page-index-top/index.mjs +12 -12
  152. package/pageable-table/index.mjs +1 -1
  153. package/pageable-table/style.css +1 -1
  154. package/photo-swipe/index.mjs +1 -1
  155. package/props/col.mjs +1 -1
  156. package/props/form-item.mjs +1 -1
  157. package/sign-panel/index.mjs +1 -1
  158. package/skeleton-panel/index.mjs +3 -3
  159. package/split-pane/index.mjs +1 -1
  160. package/sub-table/index.mjs +1 -1
  161. package/sub-table-plus/index.mjs +1 -1
  162. package/swiper/index.mjs +2 -2
  163. package/table-column/index.mjs +1 -1
  164. package/table-column-def/index.mjs +1 -1
  165. package/table-view/index.mjs +108 -109
  166. package/table-view/style.css +1 -1
  167. package/tag-render/index.mjs +21 -23
  168. package/text-ellipsis/index.d.ts +1 -1
  169. package/text-ellipsis/index.mjs +1 -1
  170. package/toolbar/index.mjs +1 -1
  171. package/toolbar-button/index.mjs +1 -1
  172. package/vue-cron/index.mjs +1 -1
  173. package/vue-tags-input/index.mjs +1 -1
  174. package/vue-tree-select/index.mjs +1 -1
  175. package/vue-video-player/index.d.ts +1 -1
  176. package/vue-video-player/index.mjs +1 -1
  177. package/watermark/index.mjs +1 -1
  178. package/web-types.json +1 -1
  179. package/x-input-tag/index.mjs +47 -50
  180. package/year-calendar/index.mjs +1 -1
  181. package/chunks/49634Q2N2.mjs +0 -936
  182. package/chunks/77cFhiAz.mjs +0 -13
  183. package/chunks/7JVbVOff2.mjs +0 -46
  184. package/chunks/B1ATN2my.mjs +0 -26
  185. package/chunks/B7O8aGqC2.mjs +0 -58
  186. package/chunks/BBPczt0U.mjs +0 -4
  187. package/chunks/BCwAowl1.mjs +0 -589
  188. package/chunks/BDVLN2ly.mjs +0 -105
  189. package/chunks/BEIlrURf.mjs +0 -251
  190. package/chunks/BEysX5TF2.mjs +0 -1038
  191. package/chunks/BHVyaqk0.mjs +0 -736
  192. package/chunks/BIj6pa8Z.mjs +0 -15
  193. package/chunks/BMWg0Wyj.mjs +0 -223
  194. package/chunks/BOsml5YC.mjs +0 -69
  195. package/chunks/BPwFiWYl2.mjs +0 -226
  196. package/chunks/BVIHqL6g.mjs +0 -17
  197. package/chunks/BVSQ6DfJ.mjs +0 -17
  198. package/chunks/BWqFKbFT.mjs +0 -1
  199. package/chunks/B__5L22p2.mjs +0 -346
  200. package/chunks/Bcpewc6H.mjs +0 -1279
  201. package/chunks/Bdeug17L.mjs +0 -42
  202. package/chunks/BffxPn8a.mjs +0 -34
  203. package/chunks/BgKQXQO_.mjs +0 -3093
  204. package/chunks/Bgw_3soo.mjs +0 -35
  205. package/chunks/BjCfQFUL.mjs +0 -54
  206. package/chunks/BjWs-r2V.mjs +0 -25
  207. package/chunks/BlB1fEo92.mjs +0 -8
  208. package/chunks/BmP9lQmT.mjs +0 -1
  209. package/chunks/BrYtAPbN2.mjs +0 -161
  210. package/chunks/BsKwchVA.mjs +0 -14
  211. package/chunks/BzFYbCpR.mjs +0 -25
  212. package/chunks/C6puxasG.mjs +0 -34
  213. package/chunks/C7l9aZGE.mjs +0 -577
  214. package/chunks/CDRNaOEg2.mjs +0 -274
  215. package/chunks/CG7AYiWy.mjs +0 -1
  216. package/chunks/CLzc_j7_.mjs +0 -234
  217. package/chunks/CQSTyCVP.mjs +0 -6
  218. package/chunks/CQxz8uUc.mjs +0 -454
  219. package/chunks/CU8bKuD12.mjs +0 -237
  220. package/chunks/CUF58PQ6.mjs +0 -1
  221. package/chunks/CUMFv5zJ2.mjs +0 -136
  222. package/chunks/C_eGir-J.mjs +0 -17
  223. package/chunks/Cb6Zx6UC.mjs +0 -29
  224. package/chunks/Cb_S4x_i2.mjs +0 -1098
  225. package/chunks/CbgD7y-5.mjs +0 -5
  226. package/chunks/CbsGuLZz2.mjs +0 -105
  227. package/chunks/CcT5SsZk.mjs +0 -48
  228. package/chunks/CcnjxILx.mjs +0 -1
  229. package/chunks/ChkCT6Mm.mjs +0 -4
  230. package/chunks/CiFlMt6Z.mjs +0 -41
  231. package/chunks/CiOqOUkG.mjs +0 -1
  232. package/chunks/CkXf_DVJ2.mjs +0 -1
  233. package/chunks/CnCSm3LY2.mjs +0 -4
  234. package/chunks/CnqWFDqp2.mjs +0 -244
  235. package/chunks/Cq0oEWRi2.mjs +0 -384
  236. package/chunks/CtBIjjQc2.mjs +0 -58
  237. package/chunks/Ctd3_wOH2.mjs +0 -6
  238. package/chunks/CuoYjthQ.mjs +0 -643
  239. package/chunks/CwhXr2Qc.mjs +0 -1
  240. package/chunks/D-hj62se2.mjs +0 -525
  241. package/chunks/D3VpXXqv.mjs +0 -1331
  242. package/chunks/D3Xixh5v.mjs +0 -5
  243. package/chunks/D4oNQiIK.mjs +0 -461
  244. package/chunks/D7O9ov79.mjs +0 -447
  245. package/chunks/D8fid28s2.mjs +0 -42
  246. package/chunks/DJdhVUFO2.mjs +0 -2435
  247. package/chunks/DJo_1CEK2.mjs +0 -61
  248. package/chunks/DMBx2EQl.mjs +0 -107
  249. package/chunks/DOCwznnS.mjs +0 -62
  250. package/chunks/DStwh2ne.mjs +0 -281
  251. package/chunks/D_5z5Xeq2.mjs +0 -37
  252. package/chunks/Df9VO_Wn2.mjs +0 -2
  253. package/chunks/Dg9Q-Tbi2.mjs +0 -299
  254. package/chunks/Diyl8upM.mjs +0 -277
  255. package/chunks/DjIPzCCR.mjs +0 -2
  256. package/chunks/DnBzQ-xh.mjs +0 -4
  257. package/chunks/Dp195RgF.mjs +0 -2
  258. package/chunks/Dqu1Etz62.mjs +0 -52
  259. package/chunks/DrKq_frR.mjs +0 -98
  260. package/chunks/DrXfCf172.mjs +0 -440
  261. package/chunks/DsZznbt2.mjs +0 -208
  262. package/chunks/Dsd58O0g.mjs +0 -25
  263. package/chunks/DssopN-n2.mjs +0 -97
  264. package/chunks/Dtq1xYk8.mjs +0 -47
  265. package/chunks/FeuisuNY2.mjs +0 -88
  266. package/chunks/GEtlriHC.mjs +0 -188
  267. package/chunks/GsvG1yFW.mjs +0 -1919
  268. package/chunks/IheQdJ0z.mjs +0 -267
  269. package/chunks/KGmxNbpi.mjs +0 -21
  270. package/chunks/PNyFONog2.mjs +0 -69
  271. package/chunks/T70m4caR.mjs +0 -1095
  272. package/chunks/ZBsqmcIN2.mjs +0 -622
  273. package/chunks/akEzJ4kG.mjs +0 -18
  274. package/chunks/fX1GD0G5.mjs +0 -70
  275. package/chunks/gh52LMTG.mjs +0 -12
  276. package/chunks/hgAOQY9a.mjs +0 -406
  277. package/chunks/iu5J8EF_.mjs +0 -197
  278. package/chunks/lGc5ksPb.mjs +0 -279
  279. package/chunks/pZQfJv282.mjs +0 -4
  280. package/chunks/qrHhuZXg.mjs +0 -465
  281. package/chunks/r8gDbwly.mjs +0 -1
  282. package/chunks/vpwjmKdg2.mjs +0 -32
  283. package/css/style.css +0 -1
  284. package/css/style10.css +0 -1
  285. package/css/style11.css +0 -1
  286. package/css/style12.css +0 -1
  287. package/css/style13.css +0 -1
  288. package/css/style14.css +0 -1
  289. package/css/style15.css +0 -1
  290. package/css/style16.css +0 -1
  291. package/css/style17.css +0 -1
  292. package/css/style18.css +0 -1
  293. package/css/style19.css +0 -1
  294. package/css/style2.css +0 -1
  295. package/css/style20.css +0 -1
  296. package/css/style21.css +0 -1
  297. package/css/style22.css +0 -1
  298. package/css/style23.css +0 -1
  299. package/css/style24.css +0 -1
  300. package/css/style25.css +0 -1
  301. package/css/style26.css +0 -1
  302. package/css/style27.css +0 -1
  303. package/css/style28.css +0 -1
  304. package/css/style29.css +0 -1
  305. package/css/style3.css +0 -1
  306. package/css/style4.css +0 -1
  307. package/css/style5.css +0 -1
  308. package/css/style6.css +0 -1
  309. package/css/style7.css +0 -1
  310. package/css/style8.css +0 -1
  311. package/css/style9.css +0 -1
  312. package/form-date-picker/style.css +0 -1
  313. package/form-image/style.css +0 -1
  314. package/form-input-time/style.css +0 -1
  315. package/form-radio-group/style.css +0 -1
  316. package/form-rate/style.css +0 -1
  317. package/form-time-select/style.css +0 -1
  318. /package/chunks/{CZnBtJW02.mjs → BBvIPqcc.mjs} +0 -0
  319. /package/chunks/{iIozz7ce.mjs → BoCxKwBf.mjs} +0 -0
  320. /package/chunks/{BxRjXAwz.mjs → CE67pCwD.mjs} +0 -0
  321. /package/chunks/{DWhGFQkb2.mjs → CQeEP_Tl.mjs} +0 -0
  322. /package/chunks/{BQ0e8kIi.mjs → CaczibeD.mjs} +0 -0
  323. /package/chunks/{B_80qPvY.mjs → DZCryyFG.mjs} +0 -0
  324. /package/chunks/{q5iCsXNv.mjs → Dq63V0CC.mjs} +0 -0
  325. /package/chunks/{CRjUGi_-.mjs → OEBJ-trG.mjs} +0 -0
  326. /package/chunks/{GYddfy8T.mjs → fjtZc9Rq2.mjs} +0 -0
@@ -1,16 +1,16 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { n as t, t as n } from "./Bcpewc6H.mjs";
3
- import { t as r } from "./C7l9aZGE.mjs";
4
- import { n as i, t as a } from "./CQxz8uUc.mjs";
5
- import { t as o } from "./BMWg0Wyj.mjs";
6
- /* empty css */
7
- import "./CiOqOUkG.mjs";
8
- import { t as s } from "./BQ0e8kIi.mjs";
9
- import "./BWqFKbFT.mjs";
10
- import "./r8gDbwly.mjs";
11
- import { i as c, n as l } from "./DWhGFQkb2.mjs";
2
+ import { t } from "./CaczibeD.mjs";
3
+ import { i as n, n as r } from "./CQeEP_Tl.mjs";
4
+ import { ElForm as i, ElFormItem as a, ElInput as o, ElOption as s, ElSelect as c, ElSwitch as l } from "element-plus/es";
5
+ import "element-plus/es/components/base/style/css";
6
+ import "element-plus/es/components/input/style/css";
12
7
  import { Fragment as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createVNode as m, openBlock as h, renderList as g, withCtx as _, withModifiers as v } from "vue";
13
8
  import { fastClone as y } from "@web-utils/core";
9
+ import "element-plus/es/components/form/style/css";
10
+ import "element-plus/es/components/form-item/style/css";
11
+ import "element-plus/es/components/select/style/css";
12
+ import "element-plus/es/components/option/style/css";
13
+ import "element-plus/es/components/switch/style/css";
14
14
  //#region src/components/bpmn-process-designer/components/penal/base/ElementBaseInfo.vue
15
15
  var b = /* @__PURE__ */ e({ default: () => w }), x = {
16
16
  name: "ElementBaseInfo",
@@ -51,12 +51,12 @@ var b = /* @__PURE__ */ e({ default: () => w }), x = {
51
51
  }));
52
52
  let { businessObject: n } = this.element;
53
53
  if (e ? (this.businessObject = y(n), this.businessObject.$type === "bpmn:SubProcess" && (this.businessObject.isExpanded = this.element.di.isExpanded)) : this.businessObject = {}, this.businessObject.$type === "bpmn:UserTask") for (let e in this.attrs) {
54
- let t = l(n, `${this.prefix}:${e}`);
54
+ let t = r(n, `${this.prefix}:${e}`);
55
55
  e === "commentNodeIds" && (t = t ? t.split(",") : []), this.attrs[e] = t;
56
56
  }
57
- this.skipExpression = l(n, `${this.prefix}:skipExpression`);
58
- let r = l(n, `${this.prefix}:requiredComment`);
59
- r || (r = "Y"), this.requiredComment = r;
57
+ this.skipExpression = r(n, `${this.prefix}:skipExpression`);
58
+ let i = r(n, `${this.prefix}:requiredComment`);
59
+ i || (i = "Y"), this.requiredComment = i;
60
60
  },
61
61
  updateBaseInfo(e) {
62
62
  let { modeling: t } = this.bpmnInstances;
@@ -75,35 +75,35 @@ var b = /* @__PURE__ */ e({ default: () => w }), x = {
75
75
  },
76
76
  updateProp(e, t) {
77
77
  if (e === "commentInForm") {
78
- if (!t) for (let e in this.attrs) e !== "commentInForm" && (this.attrs[e] = null, c(this.bpmnInstances, this.element, `${this.prefix}:${e}`, this.attrs[e]));
78
+ if (!t) for (let e in this.attrs) e !== "commentInForm" && (this.attrs[e] = null, n(this.bpmnInstances, this.element, `${this.prefix}:${e}`, this.attrs[e]));
79
79
  } else t = e === "commentNodeIds" ? t != null && t.length ? t.join(",") : null : t || null;
80
- c(this.bpmnInstances, this.element, `${this.prefix}:${e}`, t);
80
+ n(this.bpmnInstances, this.element, `${this.prefix}:${e}`, t);
81
81
  }
82
82
  }
83
83
  }, S = { class: "panel-tab__content" };
84
- function C(e, s, c, l, y, b) {
85
- let x = r, C = i, w = o, T = n, E = t, D = a;
84
+ function C(e, t, n, r, y, b) {
85
+ let x = o, C = a, w = l, T = s, E = c, D = i;
86
86
  return h(), p("div", S, [m(D, {
87
87
  "label-width": "90px",
88
- onSubmit: s[22] || (s[22] = v(() => {}, ["prevent"]))
88
+ onSubmit: t[22] || (t[22] = v(() => {}, ["prevent"]))
89
89
  }, {
90
90
  default: _(() => [
91
91
  m(C, { label: "ID" }, {
92
92
  default: _(() => [m(x, {
93
93
  modelValue: y.businessObject.id,
94
- "onUpdate:modelValue": s[0] || (s[0] = (e) => y.businessObject.id = e),
95
- disabled: c.idEditDisabled,
94
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => y.businessObject.id = e),
95
+ disabled: n.idEditDisabled,
96
96
  clearable: "",
97
- onInput: s[1] || (s[1] = (e) => b.updateBaseInfo("id"))
97
+ onInput: t[1] || (t[1] = (e) => b.updateBaseInfo("id"))
98
98
  }, null, 8, ["modelValue", "disabled"])]),
99
99
  _: 1
100
100
  }),
101
101
  m(C, { label: "名称" }, {
102
102
  default: _(() => [m(x, {
103
103
  modelValue: y.businessObject.name,
104
- "onUpdate:modelValue": s[2] || (s[2] = (e) => y.businessObject.name = e),
104
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => y.businessObject.name = e),
105
105
  clearable: "",
106
- onInput: s[3] || (s[3] = (e) => b.updateBaseInfo("name"))
106
+ onInput: t[3] || (t[3] = (e) => b.updateBaseInfo("name"))
107
107
  }, null, 8, ["modelValue"])]),
108
108
  _: 1
109
109
  }),
@@ -111,31 +111,31 @@ function C(e, s, c, l, y, b) {
111
111
  m(C, { label: "跳过表达式" }, {
112
112
  default: _(() => [m(x, {
113
113
  modelValue: y.skipExpression,
114
- "onUpdate:modelValue": s[4] || (s[4] = (e) => y.skipExpression = e),
114
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => y.skipExpression = e),
115
115
  clearable: "",
116
- onInput: s[5] || (s[5] = (e) => b.updateProp("skipExpression", e))
116
+ onInput: t[5] || (t[5] = (e) => b.updateProp("skipExpression", e))
117
117
  }, null, 8, ["modelValue"])]),
118
118
  _: 1
119
119
  }),
120
120
  m(C, { label: "意见必填" }, {
121
121
  default: _(() => [m(w, {
122
122
  modelValue: y.requiredComment,
123
- "onUpdate:modelValue": s[6] || (s[6] = (e) => y.requiredComment = e),
123
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => y.requiredComment = e),
124
124
  "active-text": "是",
125
125
  "active-value": "Y",
126
126
  "inactive-text": "否",
127
127
  "inactive-value": "N",
128
- onInput: s[7] || (s[7] = (e) => b.updateProp("requiredComment", e))
128
+ onInput: t[7] || (t[7] = (e) => b.updateProp("requiredComment", e))
129
129
  }, null, 8, ["modelValue"])]),
130
130
  _: 1
131
131
  }),
132
132
  m(C, { label: "意见在表单" }, {
133
133
  default: _(() => [m(w, {
134
134
  modelValue: y.attrs.commentInForm,
135
- "onUpdate:modelValue": s[8] || (s[8] = (e) => y.attrs.commentInForm = e),
135
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => y.attrs.commentInForm = e),
136
136
  "active-text": "是",
137
137
  "inactive-text": "否",
138
- onInput: s[9] || (s[9] = (e) => b.updateProp("commentInForm", e))
138
+ onInput: t[9] || (t[9] = (e) => b.updateProp("commentInForm", e))
139
139
  }, null, 8, ["modelValue"])]),
140
140
  _: 1
141
141
  }),
@@ -143,19 +143,19 @@ function C(e, s, c, l, y, b) {
143
143
  m(C, { label: "意见名称" }, {
144
144
  default: _(() => [m(x, {
145
145
  modelValue: y.attrs.commentLabel,
146
- "onUpdate:modelValue": s[10] || (s[10] = (e) => y.attrs.commentLabel = e),
146
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => y.attrs.commentLabel = e),
147
147
  clearable: "",
148
- onInput: s[11] || (s[11] = (e) => b.updateProp("commentLabel", e))
148
+ onInput: t[11] || (t[11] = (e) => b.updateProp("commentLabel", e))
149
149
  }, null, 8, ["modelValue"])]),
150
150
  _: 1
151
151
  }),
152
152
  m(C, { label: "意见聚合" }, {
153
153
  default: _(() => [m(E, {
154
154
  modelValue: y.attrs.commentNodeIds,
155
- "onUpdate:modelValue": s[12] || (s[12] = (e) => y.attrs.commentNodeIds = e),
155
+ "onUpdate:modelValue": t[12] || (t[12] = (e) => y.attrs.commentNodeIds = e),
156
156
  multiple: "",
157
157
  clearable: "",
158
- onInput: s[13] || (s[13] = (e) => b.updateProp("commentNodeIds", e))
158
+ onInput: t[13] || (t[13] = (e) => b.updateProp("commentNodeIds", e))
159
159
  }, {
160
160
  default: _(() => [(h(!0), p(u, null, g(y.nodes, (e) => (h(), d(T, {
161
161
  key: e.value,
@@ -169,9 +169,9 @@ function C(e, s, c, l, y, b) {
169
169
  m(C, { label: "意见排序号" }, {
170
170
  default: _(() => [m(x, {
171
171
  modelValue: y.attrs.commentOrder,
172
- "onUpdate:modelValue": s[14] || (s[14] = (e) => y.attrs.commentOrder = e),
172
+ "onUpdate:modelValue": t[14] || (t[14] = (e) => y.attrs.commentOrder = e),
173
173
  clearable: "",
174
- onInput: s[15] || (s[15] = (e) => b.updateProp("commentOrder", e))
174
+ onInput: t[15] || (t[15] = (e) => b.updateProp("commentOrder", e))
175
175
  }, null, 8, ["modelValue"])]),
176
176
  _: 1
177
177
  })
@@ -181,18 +181,18 @@ function C(e, s, c, l, y, b) {
181
181
  y.businessObject.$type === "bpmn:Process" ? (h(), p(u, { key: 1 }, [m(C, { label: "版本标签" }, {
182
182
  default: _(() => [m(x, {
183
183
  modelValue: y.businessObject.versionTag,
184
- "onUpdate:modelValue": s[16] || (s[16] = (e) => y.businessObject.versionTag = e),
184
+ "onUpdate:modelValue": t[16] || (t[16] = (e) => y.businessObject.versionTag = e),
185
185
  clearable: "",
186
- onInput: s[17] || (s[17] = (e) => b.updateBaseInfo("versionTag"))
186
+ onInput: t[17] || (t[17] = (e) => b.updateBaseInfo("versionTag"))
187
187
  }, null, 8, ["modelValue"])]),
188
188
  _: 1
189
189
  }), m(C, { label: "可执行" }, {
190
190
  default: _(() => [m(w, {
191
191
  modelValue: y.businessObject.isExecutable,
192
- "onUpdate:modelValue": s[18] || (s[18] = (e) => y.businessObject.isExecutable = e),
192
+ "onUpdate:modelValue": t[18] || (t[18] = (e) => y.businessObject.isExecutable = e),
193
193
  "active-text": "是",
194
194
  "inactive-text": "否",
195
- onInput: s[19] || (s[19] = (e) => b.updateBaseInfo("isExecutable"))
195
+ onInput: t[19] || (t[19] = (e) => b.updateBaseInfo("isExecutable"))
196
196
  }, null, 8, ["modelValue"])]),
197
197
  _: 1
198
198
  })], 64)) : f("v-if", !0),
@@ -202,10 +202,10 @@ function C(e, s, c, l, y, b) {
202
202
  }, {
203
203
  default: _(() => [m(w, {
204
204
  modelValue: y.businessObject.isExpanded,
205
- "onUpdate:modelValue": s[20] || (s[20] = (e) => y.businessObject.isExpanded = e),
205
+ "onUpdate:modelValue": t[20] || (t[20] = (e) => y.businessObject.isExpanded = e),
206
206
  "active-text": "展开",
207
207
  "inactive-text": "折叠",
208
- onInput: s[21] || (s[21] = (e) => b.updateBaseInfo("isExpanded"))
208
+ onInput: t[21] || (t[21] = (e) => b.updateBaseInfo("isExpanded"))
209
209
  }, null, 8, ["modelValue"])]),
210
210
  _: 1
211
211
  })) : f("v-if", !0)
@@ -213,6 +213,6 @@ function C(e, s, c, l, y, b) {
213
213
  _: 1
214
214
  })]);
215
215
  }
216
- var w = /* @__PURE__ */ s(x, [["render", C]]);
216
+ var w = /* @__PURE__ */ t(x, [["render", C]]);
217
217
  //#endregion
218
218
  export { b as n, w as t };
@@ -1,16 +1,17 @@
1
- import "./CjjJimnU.mjs";
2
- import { n as e, t } from "./Bcpewc6H.mjs";
3
- import { r as n, t as r } from "./CDRNaOEg2.mjs";
4
- import { t as i } from "./Diyl8upM.mjs";
5
- import { n as a, t as o } from "./D7O9ov79.mjs";
6
- /* empty css */
7
- import { t as s } from "./BQ0e8kIi.mjs";
8
- import { t as c } from "./BJNI7n9Z.mjs";
9
- import "./CkXf_DVJ2.mjs";
10
- import "./Df9VO_Wn2.mjs";
1
+ import { t as e } from "./CaczibeD.mjs";
2
+ import { t } from "./BH7VEktl.mjs";
3
+ import { ElInputNumber as n, ElOption as r, ElRadio as i, ElRadioGroup as a, ElSelect as o, ElTabPane as s, ElTabs as c } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
11
5
  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, renderList as _, toDisplayString as v, withCtx as y } from "vue";
12
6
  import { copy as b } from "@web-utils/core";
7
+ import "element-plus/es/components/radio/style/css";
8
+ import "element-plus/es/components/select/style/css";
9
+ import "element-plus/es/components/option/style/css";
10
+ import "element-plus/es/components/tabs/style/css";
11
+ import "element-plus/es/components/tab-pane/style/css";
13
12
  import { formatDate as x } from "@web-utils/integrations/dayjs";
13
+ import "element-plus/es/components/radio-group/style/css";
14
+ import "element-plus/es/components/input-number/style/css";
14
15
  //#region src/components/vue-cron/language/zh.ts
15
16
  var S = {
16
17
  Seconds: {
@@ -1047,8 +1048,8 @@ var K = 3600 * 1e3, q = (e, t) => t.findIndex((t) => t >= e), J = class e {
1047
1048
  class: "cron-expression",
1048
1049
  style: { "margin-top": "10px" }
1049
1050
  }, _e = { style: { "margin-bottom": "4px" } }, ve = { class: "bottom" };
1050
- function ye(s, b, x, S, C, w) {
1051
- let T = r, E = i, D = t, O = e, k = n, A = o, j = a, M = c;
1051
+ function ye(e, b, x, S, C, w) {
1052
+ let T = i, E = n, D = r, O = o, k = a, A = s, j = c, M = t;
1052
1053
  return g(), f("div", X, [
1053
1054
  h(j, { type: "border-card" }, {
1054
1055
  default: y(() => [
@@ -1798,6 +1799,6 @@ function ye(s, b, x, S, C, w) {
1798
1799
  }, 8, ["onClick"])])
1799
1800
  ]);
1800
1801
  }
1801
- var be = /* @__PURE__ */ s(Y, [["render", ye]]);
1802
+ var be = /* @__PURE__ */ e(Y, [["render", ye]]);
1802
1803
  //#endregion
1803
1804
  export { be as t };
@@ -0,0 +1,50 @@
1
+ import { n as e, o as t } from "./BE4V5Vf5.mjs";
2
+ import { t as n } from "./DVMfVn-M.mjs";
3
+ import { allProps as r, predicate as i } from "../props/input-cron.mjs";
4
+ import { ElInput as a, ElPopover as o } from "element-plus/es";
5
+ import "element-plus/es/components/base/style/css";
6
+ import "element-plus/es/components/input/style/css";
7
+ import { createVNode as s, mergeProps as c, ref as l } from "vue";
8
+ import "element-plus/es/components/popover/style/css";
9
+ //#endregion
10
+ //#region src/components/form/FormInputCronExpression.vue
11
+ var u = {
12
+ name: "FormInputCronExpression",
13
+ props: { ...r },
14
+ emits: { ...e },
15
+ setup(e, { emit: r, slots: u, attrs: d }) {
16
+ let f = l(!1), { emitInput: p, render: m, placeholder: h, disabled: g, listeners: _, inputProps: v } = t(e, {
17
+ emit: r,
18
+ slots: u,
19
+ attrs: d,
20
+ predicate: i
21
+ }), y = () => {
22
+ f.value = !0;
23
+ }, b = () => {
24
+ f.value = !1;
25
+ };
26
+ return () => m({ vNodes: s("div", { class: "cron" }, [s(o, {
27
+ placement: "bottom-start",
28
+ disabled: g.value,
29
+ visible: f.value,
30
+ "onUpdate:visible": (e) => f.value = e,
31
+ "popper-class": "cron-popover"
32
+ }, {
33
+ default: () => s(n, c(_.value, v.value, {
34
+ i18n: "cn",
35
+ expression: e.modelValue,
36
+ onChange: p,
37
+ onClose: b
38
+ }), null),
39
+ reference: () => s(a, {
40
+ modelValue: e.modelValue,
41
+ readonly: !0,
42
+ disabled: g.value,
43
+ placeholder: h.value,
44
+ onClick: y
45
+ }, null)
46
+ })]) });
47
+ }
48
+ };
49
+ //#endregion
50
+ export { u as t };
@@ -1,13 +1,13 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { n as t, t as n } from "./Bcpewc6H.mjs";
3
- import { t as r } from "./C7l9aZGE.mjs";
4
- import { n as i, t as a } from "./CQxz8uUc.mjs";
5
- /* empty css */
6
- import "./CiOqOUkG.mjs";
7
- import { t as o } from "./BQ0e8kIi.mjs";
8
- import "./BWqFKbFT.mjs";
9
- import "./r8gDbwly.mjs";
2
+ import { t } from "./CaczibeD.mjs";
3
+ import { ElForm as n, ElFormItem as r, ElInput as i, ElOption as a, ElSelect as o } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import "element-plus/es/components/input/style/css";
10
6
  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";
7
+ import "element-plus/es/components/form/style/css";
8
+ import "element-plus/es/components/form-item/style/css";
9
+ import "element-plus/es/components/select/style/css";
10
+ import "element-plus/es/components/option/style/css";
11
11
  //#region src/components/bpmn-process-designer/components/penal/flow-condition/FlowCondition.vue
12
12
  var h = /* @__PURE__ */ e({ default: () => y }), g = {
13
13
  name: "FlowCondition",
@@ -71,18 +71,18 @@ var h = /* @__PURE__ */ e({ default: () => y }), g = {
71
71
  }
72
72
  }
73
73
  }, _ = { class: "panel-tab__content" };
74
- function v(e, o, h, g, v, y) {
75
- let b = n, x = t, S = i, C = r, w = a;
74
+ function v(e, t, h, g, v, y) {
75
+ let b = a, x = o, S = r, C = i, w = n;
76
76
  return f(), u("div", _, [d(w, {
77
77
  model: v.flowConditionForm,
78
78
  "label-width": "90px",
79
- onSubmit: o[7] || (o[7] = m(() => {}, ["prevent"]))
79
+ onSubmit: t[7] || (t[7] = m(() => {}, ["prevent"]))
80
80
  }, {
81
81
  default: p(() => [
82
82
  d(S, { label: "流转类型" }, {
83
83
  default: p(() => [d(x, {
84
84
  modelValue: v.flowConditionForm.type,
85
- "onUpdate:modelValue": o[0] || (o[0] = (e) => v.flowConditionForm.type = e),
85
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => v.flowConditionForm.type = e),
86
86
  onChange: y.updateFlowType
87
87
  }, {
88
88
  default: p(() => [
@@ -109,7 +109,7 @@ function v(e, o, h, g, v, y) {
109
109
  }, {
110
110
  default: p(() => [d(x, {
111
111
  modelValue: v.flowConditionForm.conditionType,
112
- "onUpdate:modelValue": o[1] || (o[1] = (e) => v.flowConditionForm.conditionType = e)
112
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => v.flowConditionForm.conditionType = e)
113
113
  }, {
114
114
  default: p(() => [d(b, {
115
115
  label: "表达式",
@@ -128,7 +128,7 @@ function v(e, o, h, g, v, y) {
128
128
  }, {
129
129
  default: p(() => [d(C, {
130
130
  modelValue: v.flowConditionForm.body,
131
- "onUpdate:modelValue": o[2] || (o[2] = (e) => v.flowConditionForm.body = e),
131
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => v.flowConditionForm.body = e),
132
132
  clearable: "",
133
133
  onChange: y.updateFlowCondition
134
134
  }, null, 8, ["modelValue", "onChange"])]),
@@ -141,7 +141,7 @@ function v(e, o, h, g, v, y) {
141
141
  }, {
142
142
  default: p(() => [d(C, {
143
143
  modelValue: v.flowConditionForm.language,
144
- "onUpdate:modelValue": o[3] || (o[3] = (e) => v.flowConditionForm.language = e),
144
+ "onUpdate:modelValue": t[3] || (t[3] = (e) => v.flowConditionForm.language = e),
145
145
  clearable: "",
146
146
  onChange: y.updateFlowCondition
147
147
  }, null, 8, ["modelValue", "onChange"])]),
@@ -153,7 +153,7 @@ function v(e, o, h, g, v, y) {
153
153
  }, {
154
154
  default: p(() => [d(x, {
155
155
  modelValue: v.flowConditionForm.scriptType,
156
- "onUpdate:modelValue": o[4] || (o[4] = (e) => v.flowConditionForm.scriptType = e)
156
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => v.flowConditionForm.scriptType = e)
157
157
  }, {
158
158
  default: p(() => [d(b, {
159
159
  label: "内联脚本",
@@ -172,7 +172,7 @@ function v(e, o, h, g, v, y) {
172
172
  }, {
173
173
  default: p(() => [d(C, {
174
174
  modelValue: v.flowConditionForm.body,
175
- "onUpdate:modelValue": o[5] || (o[5] = (e) => v.flowConditionForm.body = e),
175
+ "onUpdate:modelValue": t[5] || (t[5] = (e) => v.flowConditionForm.body = e),
176
176
  type: "textarea",
177
177
  clearable: "",
178
178
  onChange: y.updateFlowCondition
@@ -185,7 +185,7 @@ function v(e, o, h, g, v, y) {
185
185
  }, {
186
186
  default: p(() => [d(C, {
187
187
  modelValue: v.flowConditionForm.resource,
188
- "onUpdate:modelValue": o[6] || (o[6] = (e) => v.flowConditionForm.resource = e),
188
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => v.flowConditionForm.resource = e),
189
189
  clearable: "",
190
190
  onChange: y.updateFlowCondition
191
191
  }, null, 8, ["modelValue", "onChange"])]),
@@ -196,6 +196,6 @@ function v(e, o, h, g, v, y) {
196
196
  _: 1
197
197
  }, 8, ["model"])]);
198
198
  }
199
- var y = /* @__PURE__ */ o(g, [["render", v]]);
199
+ var y = /* @__PURE__ */ t(g, [["render", v]]);
200
200
  //#endregion
201
201
  export { h as n, y as t };
@@ -1,6 +1,6 @@
1
1
  import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
2
- import { n, o as r } from "./CUMFv5zJ2.mjs";
3
- import { n as i, t as a } from "./BHwRv4F0.mjs";
2
+ import { n, o as r } from "./BE4V5Vf5.mjs";
3
+ import { n as i, t as a } from "./Lkg7bYLD2.mjs";
4
4
  import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
5
5
  //#region src/components/table/form-table.ts
6
6
  var u = {
@@ -0,0 +1,69 @@
1
+ import { a as e, h as t } from "./ClVh1Lek.mjs";
2
+ import { cellClickHandlerContextKey as n } from "../constants/index.mjs";
3
+ import { t as r } from "./Dq63V0CC.mjs";
4
+ import { n as i, t as a } from "./CE67pCwD.mjs";
5
+ import { ElTableColumn as o } from "element-plus/es";
6
+ import "element-plus/es/components/base/style/css";
7
+ import { createVNode as s, inject as c, mergeProps as l } from "vue";
8
+ import "element-plus/es/components/table-column/style/css";
9
+ //#region src/components/table/TableColumn.vue?vue&type=script&lang.jsx
10
+ var u = {
11
+ selection: !0,
12
+ "single-selection": !0,
13
+ index: !0,
14
+ expand: !0
15
+ }, d = (e, t, n, r, i) => {
16
+ e == null || e(t, n, r, i);
17
+ }, f = (e) => {
18
+ let t = e.target;
19
+ for (; t && t.tagName.toUpperCase() !== "HTML";) {
20
+ if (t.tagName.toUpperCase() === "TD") return t;
21
+ t = t.parentNode;
22
+ }
23
+ return null;
24
+ }, p = () => {}, m = (t) => !e(t).length, h = {
25
+ name: "TableColumn",
26
+ props: { ...a },
27
+ setup(e, { slots: a, attrs: h }) {
28
+ let g = c(n, null), _ = t(e, i);
29
+ return () => {
30
+ let t, n = u[e.type];
31
+ if (!n) {
32
+ let n = e.clickable || h.onClick || e.cellClick;
33
+ (n || e.dictType || e.options) && (t = (t) => {
34
+ var i;
35
+ let { row: o, column: c } = t, l = n ? (t) => {
36
+ let n = f(t);
37
+ if (h.onClick || e.cellClick) {
38
+ var r, i;
39
+ (r = h.onClick) == null || r.call(h, o, c, o, c, n, t), (i = e.cellClick) == null || i.call(e, o, c, o, c, n, t);
40
+ } else d(g, o, c, n, t);
41
+ } : p, u = a == null || (i = a.default) == null ? void 0 : i.call(a, t);
42
+ return m(u) && (u = null), (e.dictType || e.options) && !u ? s(r, {
43
+ class: { "is-clickable": n },
44
+ onClick: l,
45
+ row: o,
46
+ column: c,
47
+ dictType: e.dictType,
48
+ treeDict: e.treeDict,
49
+ idAsValue: e.idAsValue,
50
+ labelAsValue: e.labelAsValue,
51
+ options: e.options
52
+ }, null) : n ? s("span", {
53
+ class: "is-clickable",
54
+ onClick: l
55
+ }, [u || (o == null ? void 0 : o[c == null ? void 0 : c.property])]) : u;
56
+ });
57
+ }
58
+ return s(o, l(_.value, {
59
+ key: e.filterable,
60
+ showOverflowTooltip: n ? !1 : e.showOverflowTooltip
61
+ }), {
62
+ ...a,
63
+ default: t || a.default
64
+ });
65
+ };
66
+ }
67
+ };
68
+ //#endregion
69
+ export { h as t };
@@ -1,5 +1,5 @@
1
- import { n as e } from "./CUMFv5zJ2.mjs";
2
- import { t } from "./PNyFONog2.mjs";
1
+ import { n as e } from "./BE4V5Vf5.mjs";
2
+ import { t } from "./DqW9QtF3.mjs";
3
3
  import { allProps as n } from "../props/textarea.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx
@@ -1,5 +1,5 @@
1
- import { n as e } from "./CUMFv5zJ2.mjs";
2
- import { t } from "./PNyFONog2.mjs";
1
+ import { n as e } from "./BE4V5Vf5.mjs";
2
+ import { t } from "./DqW9QtF3.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
@@ -0,0 +1,68 @@
1
+ import { n as e, o as t, t as n } from "./BE4V5Vf5.mjs";
2
+ import { allProps as r, predicate as i } from "../props/input.mjs";
3
+ import { ElInput as a } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import "element-plus/es/components/input/style/css";
6
+ import { computed as o, createVNode as s, mergeProps as c, useModel as l } from "vue";
7
+ import { validatePhoneNum as u } from "@web-utils/core";
8
+ //#region src/utils/form-validate.ts
9
+ var d = (e, t, n) => t && !/^[A-Za-z0-9\u4e00-\u9fa5_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
10
+ function f(e, t, n) {
11
+ t && !/^[1-9][0-9]{5}(18|19|(2[0-9]))[0-9]{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)[0-9]{3}[0-9Xx]$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
12
+ }
13
+ function p(e, t, n) {
14
+ if (this.$refs.table.$refs.table.records.length === 0) {
15
+ n(Error(e.message || `请添加${e.label}`));
16
+ return;
17
+ }
18
+ n();
19
+ }
20
+ //#endregion
21
+ //#region src/components/form/FormInput.vue
22
+ var m = {
23
+ name: "FormInput",
24
+ inheritAttrs: !1,
25
+ props: { ...r },
26
+ emits: { ...e },
27
+ setup(e, { emit: r, slots: p, attrs: m }) {
28
+ let h = l(e, "modelValue"), g = `请输入正确的${e.label}!`, { render: _, placeholder: v, disabled: y, listeners: b, inputProps: x, printing: S } = t(e, {
29
+ emit: r,
30
+ slots: p,
31
+ attrs: m,
32
+ rules: o(() => {
33
+ if (!e.type || e.type === "textarea") return null;
34
+ let t = {
35
+ message: g,
36
+ trigger: "blur"
37
+ };
38
+ if (e.type === "email") t.validator = d;
39
+ else if (e.type === "idcard") t.validator = f;
40
+ else if (e.type === "phone") t.validator = u;
41
+ else return null;
42
+ return [t];
43
+ }),
44
+ predicate: i
45
+ });
46
+ return () => _({ vNodes: S.value ? e.modelValue : s(a, c(b.value, x.value, {
47
+ class: ["form-input", {
48
+ "is-readonly": e.readonlyGrey && e.readonly && !e.picker,
49
+ "el-input-cursor-pointer": e.picker && !y.value
50
+ }],
51
+ modelValue: h.value,
52
+ "onUpdate:modelValue": (e) => h.value = e,
53
+ disabled: y.value,
54
+ placeholder: v.value,
55
+ readonly: e.readonly || e.picker,
56
+ "prefix-icon": n({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
57
+ "suffix-icon": n({ icon: e.suffixIcon })
58
+ }), {
59
+ prefix: p.prefix || e.prefix ? () => e.prefix : null,
60
+ suffix: p.suffix || e.suffix ? () => e.suffix : null,
61
+ "password-icon": p["password-icon"],
62
+ prepend: p.prepend || e.prepend ? () => e.prepend : null,
63
+ append: p.append || e.append ? () => e.append : null
64
+ }) });
65
+ }
66
+ };
67
+ //#endregion
68
+ export { p as n, m as t };
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./C7l9aZGE.mjs";
3
- /* empty css */
4
- import "./CiOqOUkG.mjs";
5
- import { t as n } from "./BQ0e8kIi.mjs";
2
+ import { t } from "./CaczibeD.mjs";
3
+ import { ElInput as n } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import "element-plus/es/components/input/style/css";
6
6
  import { createElementBlock as r, createElementVNode as i, createVNode as a, openBlock as o } from "vue";
7
7
  import { isBlank as s } from "@web-utils/core";
8
8
  //#region src/components/bpmn-process-designer/components/penal/other/ElementOtherConfig.vue
@@ -35,11 +35,11 @@ var c = /* @__PURE__ */ e({ default: () => m }), l = {
35
35
  }
36
36
  } }
37
37
  }, u = { class: "panel-tab__content" }, d = { class: "element-property input-property" }, f = { class: "element-property__value" };
38
- function p(e, n, s, c, l, p) {
39
- let m = t;
40
- return o(), r("div", u, [i("div", d, [n[1] || (n[1] = i("div", { class: "element-property__label" }, "元素文档:", -1)), i("div", f, [a(m, {
38
+ function p(e, t, s, c, l, p) {
39
+ let m = n;
40
+ return o(), r("div", u, [i("div", d, [t[1] || (t[1] = i("div", { class: "element-property__label" }, "元素文档:", -1)), i("div", f, [a(m, {
41
41
  modelValue: l.documentation,
42
- "onUpdate:modelValue": n[0] || (n[0] = (e) => l.documentation = e),
42
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => l.documentation = e),
43
43
  type: "textarea",
44
44
  resize: "vertical",
45
45
  autosize: {
@@ -49,6 +49,6 @@ function p(e, n, s, c, l, p) {
49
49
  onInput: p.updateDocumentation
50
50
  }, null, 8, ["modelValue", "onInput"])])])]);
51
51
  }
52
- var m = /* @__PURE__ */ n(l, [["render", p]]);
52
+ var m = /* @__PURE__ */ t(l, [["render", p]]);
53
53
  //#endregion
54
54
  export { c as n, m as t };
@@ -1,5 +1,5 @@
1
- import { n as e } from "./CUMFv5zJ2.mjs";
2
- import { t } from "./PNyFONog2.mjs";
1
+ import { n as e } from "./BE4V5Vf5.mjs";
2
+ import { t } from "./DqW9QtF3.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
@@ -0,0 +1,25 @@
1
+ import { h as e } from "./ClVh1Lek.mjs";
2
+ import { useFormItemProps as t } from "../helper/form-item.mjs";
3
+ import { r as n } from "./BE4V5Vf5.mjs";
4
+ import { allProps as r, predicate as i } from "../props/text.mjs";
5
+ import { ElText as a } from "element-plus/es";
6
+ import "element-plus/es/components/base/style/css";
7
+ import { createVNode as o, mergeProps as s } from "vue";
8
+ import "element-plus/es/components/text/style/css";
9
+ //#endregion
10
+ //#region src/components/form/FormText.vue
11
+ var c = {
12
+ name: "FormText",
13
+ inheritAttrs: !1,
14
+ props: { ...r },
15
+ setup(r, { slots: c, attrs: l }) {
16
+ let u = t(r, { attrs: l }), d = e(r, i);
17
+ return () => n(r, {
18
+ vNodes: o(a, s(d.value, l), { default: c.default || (() => r.text) }),
19
+ formItemProps: u,
20
+ slots: c
21
+ });
22
+ }
23
+ };
24
+ //#endregion
25
+ export { c as t };