@web-utils/form-ui 1.0.0-beta72 → 1.0.0-beta74
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.
- package/address-input/index.mjs +1 -1
- package/affix/index.d.ts +0 -2
- package/affix/index.mjs +2 -3
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +15 -16
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{-UHCmZBh.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{Ciy3EJGG2.mjs → -zgWD713.mjs} +44 -45
- package/chunks/{qFn9SqfB2.mjs → 7_9hAeqb.mjs} +72 -73
- package/chunks/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{Diidem-9.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{BJNI7n9Z.mjs → BH7VEktl.mjs} +19 -19
- package/chunks/{BrJzSp9f.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{DWjZMJ1e2.mjs → Bj0kgDOA.mjs} +132 -133
- package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
- package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
- package/chunks/{Bnm0osro.mjs → Byy1rvPO.mjs} +13 -16
- package/chunks/{iPHgzcZ0.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{Bhkk9TmJ2.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Vrr45MGv.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{QAHALDuF2.mjs → CWBRpkHy.mjs} +138 -139
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{SEQG09ut.mjs → CelJ2L8A2.mjs} +2 -2
- package/chunks/CjYOitzM2.mjs +31 -0
- package/chunks/Cknuquqx.mjs +32 -0
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/CwyebsNL2.mjs +39 -0
- package/chunks/{CJl5ZiUq2.mjs → D4Pd8rZi.mjs} +28 -30
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{DlROUHPJ2.mjs → DTq5QLoT.mjs} +43 -43
- package/chunks/{5oaTzHT-2.mjs → DVMfVn-M.mjs} +14 -13
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{YS7hFnUB2.mjs → Daa7nl7U.mjs} +19 -19
- package/chunks/{D6TSUCGL.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{Czi7_tAe.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CKWgRCN52.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{CKbOqPFm2.mjs → DqWJCka8.mjs} +9 -9
- package/chunks/{CIerTjpq2.mjs → DrWUdRj32.mjs} +2 -2
- package/chunks/{BrSZZNRc.mjs → DucSg7Mt.mjs} +70 -72
- package/chunks/Dv7YRB2U2.mjs +25 -0
- package/chunks/DyLQsqWJ.mjs +61 -0
- package/chunks/HsHwYW1a.mjs +99 -0
- package/chunks/KDVLIvaS.mjs +30 -0
- package/chunks/{BHwRv4F0.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/OBTStTaa.mjs +179 -0
- package/chunks/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{C9nRNgwm2.mjs → QTy8g5MS.mjs} +589 -763
- package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/_q6JzJYp.mjs +773 -0
- package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{BJuAz5lX2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{DN2qkQvd.mjs → tjwOOiNr2.mjs} +31 -32
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +9 -10
- package/data-card/index.mjs +8 -9
- package/data-card-text/index.mjs +8 -9
- package/data-display/index.mjs +9 -10
- package/data-icons/index.mjs +9 -10
- package/data-imgtext/index.mjs +9 -11
- package/data-operatext/index.mjs +8 -9
- package/data-panel/index.mjs +9 -10
- package/data-pay/index.mjs +10 -12
- package/data-price/index.mjs +8 -9
- package/data-progress/index.mjs +10 -11
- package/data-rotate/index.mjs +9 -10
- package/data-table-picker/index.mjs +11 -12
- package/data-tabs/index.mjs +9 -10
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.mjs +2 -2
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +8 -8
- package/editable-tree/index.mjs +595 -2
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/element-resize-observer/index.mjs +1 -1
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +3 -3
- package/guide-steps/index.mjs +77 -2
- package/guide-steps/style.css +1 -1
- package/helper/dictionary.mjs +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +12 -11
- package/image-preview/index.d.ts +1 -153
- package/image-preview/index.mjs +201 -2
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -7
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.mjs +1 -1
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +3 -4
- package/package.json +5 -1
- package/page-index/index.mjs +14 -14
- package/page-index-top/index.mjs +12 -12
- package/pageable-table/index.mjs +1 -1
- package/pageable-table/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/props/col.mjs +1 -1
- package/props/form-item.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.mjs +3 -3
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.mjs +109 -110
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +21 -23
- package/text-ellipsis/index.d.ts +1 -1
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +1 -1
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +47 -50
- package/year-calendar/index.mjs +1 -1
- package/year-calendar/style.css +1 -1
- package/chunks/49634Q2N2.mjs +0 -936
- package/chunks/77cFhiAz.mjs +0 -13
- package/chunks/7JVbVOff2.mjs +0 -46
- package/chunks/B1ATN2my.mjs +0 -26
- package/chunks/B7O8aGqC2.mjs +0 -58
- package/chunks/BBPczt0U.mjs +0 -4
- package/chunks/BCwAowl1.mjs +0 -589
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEIlrURf.mjs +0 -251
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BHVyaqk0.mjs +0 -736
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BMWg0Wyj.mjs +0 -223
- package/chunks/BOsml5YC.mjs +0 -69
- package/chunks/BPwFiWYl2.mjs +0 -226
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/BWqFKbFT.mjs +0 -1
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Bcpewc6H.mjs +0 -1279
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BffxPn8a.mjs +0 -34
- package/chunks/BgKQXQO_.mjs +0 -3093
- package/chunks/Bgw_3soo.mjs +0 -35
- package/chunks/BjCfQFUL.mjs +0 -54
- package/chunks/BjWs-r2V.mjs +0 -25
- package/chunks/BlB1fEo92.mjs +0 -8
- package/chunks/BmP9lQmT.mjs +0 -1
- package/chunks/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/Bxo1Of95.mjs +0 -479
- package/chunks/BzFYbCpR.mjs +0 -25
- package/chunks/C6puxasG.mjs +0 -34
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CDRNaOEg2.mjs +0 -274
- package/chunks/CG7AYiWy.mjs +0 -1
- package/chunks/CLzc_j7_.mjs +0 -234
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CU8bKuD12.mjs +0 -237
- package/chunks/CUF58PQ6.mjs +0 -1
- package/chunks/CUMFv5zJ2.mjs +0 -136
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Cb6Zx6UC.mjs +0 -29
- package/chunks/Cb_S4x_i2.mjs +0 -1098
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CcnjxILx.mjs +0 -1
- package/chunks/ChkCT6Mm.mjs +0 -4
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/CiOqOUkG.mjs +0 -1
- package/chunks/CkXf_DVJ2.mjs +0 -1
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CnqWFDqp2.mjs +0 -244
- package/chunks/Cq0oEWRi2.mjs +0 -384
- package/chunks/CtBIjjQc2.mjs +0 -58
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/CuoYjthQ.mjs +0 -643
- package/chunks/CwhXr2Qc.mjs +0 -1
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3VpXXqv.mjs +0 -1331
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D7O9ov79.mjs +0 -447
- package/chunks/D8fid28s2.mjs +0 -42
- package/chunks/DJdhVUFO2.mjs +0 -2435
- package/chunks/DJo_1CEK2.mjs +0 -61
- package/chunks/DMBx2EQl.mjs +0 -107
- package/chunks/DOCwznnS.mjs +0 -62
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/D_5z5Xeq2.mjs +0 -37
- package/chunks/Df9VO_Wn2.mjs +0 -2
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Diyl8upM.mjs +0 -277
- package/chunks/DjIPzCCR.mjs +0 -2
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/Dp195RgF.mjs +0 -2
- package/chunks/Dqu1Etz62.mjs +0 -52
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DrXfCf172.mjs +0 -440
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/DssopN-n2.mjs +0 -97
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/IheQdJ0z.mjs +0 -267
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/PNyFONog2.mjs +0 -69
- package/chunks/T70m4caR.mjs +0 -1095
- package/chunks/ZBsqmcIN2.mjs +0 -622
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/fX1GD0G5.mjs +0 -70
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/iu5J8EF_.mjs +0 -197
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/r8gDbwly.mjs +0 -1
- package/chunks/vpwjmKdg2.mjs +0 -32
- package/css/style.css +0 -1
- package/css/style10.css +0 -1
- package/css/style11.css +0 -1
- package/css/style12.css +0 -1
- package/css/style13.css +0 -1
- package/css/style14.css +0 -1
- package/css/style15.css +0 -1
- package/css/style16.css +0 -1
- package/css/style17.css +0 -1
- package/css/style18.css +0 -1
- package/css/style19.css +0 -1
- package/css/style2.css +0 -1
- package/css/style20.css +0 -1
- package/css/style21.css +0 -1
- package/css/style22.css +0 -1
- package/css/style23.css +0 -1
- package/css/style24.css +0 -1
- package/css/style25.css +0 -1
- package/css/style26.css +0 -1
- package/css/style27.css +0 -1
- package/css/style28.css +0 -1
- package/css/style29.css +0 -1
- package/css/style3.css +0 -1
- package/css/style4.css +0 -1
- package/css/style5.css +0 -1
- package/css/style6.css +0 -1
- package/css/style7.css +0 -1
- package/css/style8.css +0 -1
- package/css/style9.css +0 -1
- package/form-date-picker/style.css +0 -1
- package/form-image/style.css +0 -1
- package/form-input-time/style.css +0 -1
- package/form-radio-group/style.css +0 -1
- package/form-rate/style.css +0 -1
- package/form-time-select/style.css +0 -1
- /package/chunks/{CZnBtJW02.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{iIozz7ce.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{BxRjXAwz.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{DWhGFQkb2.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BQ0e8kIi.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{B_80qPvY.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{q5iCsXNv.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{CRjUGi_-.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{GYddfy8T.mjs → fjtZc9Rq2.mjs} +0 -0
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { t as o } from "./DrXfCf172.mjs";
|
|
7
|
-
import { t as s } from "./Cq0oEWRi2.mjs";
|
|
8
|
-
/* empty css */
|
|
9
|
-
import "./CiOqOUkG.mjs";
|
|
10
|
-
import { t as c } from "./BQ0e8kIi.mjs";
|
|
11
|
-
import "./CwhXr2Qc.mjs";
|
|
12
|
-
import "./BWqFKbFT.mjs";
|
|
13
|
-
import "./r8gDbwly.mjs";
|
|
1
|
+
import { t as e } from "./CaczibeD.mjs";
|
|
2
|
+
import { t } from "./OBTStTaa.mjs";
|
|
3
|
+
import { ElButton as n, ElCheckbox as r, ElForm as i, ElFormItem as a, ElInput as o, ElOption as s, ElSelect as c } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import "element-plus/es/components/input/style/css";
|
|
14
6
|
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";
|
|
7
|
+
import "element-plus/es/components/button/style/css";
|
|
8
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
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";
|
|
15
13
|
//#region src/components/bpmn-process-designer/components/penal/task/task-components/UserTask.vue
|
|
16
14
|
var T = {
|
|
17
15
|
name: "UserTask",
|
|
@@ -65,16 +63,16 @@ var T = {
|
|
|
65
63
|
}
|
|
66
64
|
}
|
|
67
65
|
}, E = { style: { "margin-top": "16px" } };
|
|
68
|
-
function D(
|
|
69
|
-
let p =
|
|
66
|
+
function D(e, t, n, r, i, d) {
|
|
67
|
+
let p = s, m = c, g = a, _ = o;
|
|
70
68
|
return v(), f("div", E, [
|
|
71
69
|
h(g, { label: "处理用户" }, {
|
|
72
70
|
default: S(() => [h(m, {
|
|
73
|
-
modelValue:
|
|
74
|
-
"onUpdate:modelValue":
|
|
75
|
-
onChange:
|
|
71
|
+
modelValue: i.userTaskForm.assignee,
|
|
72
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.userTaskForm.assignee = e),
|
|
73
|
+
onChange: t[1] || (t[1] = (e) => d.updateElementTask("assignee"))
|
|
76
74
|
}, {
|
|
77
|
-
default: S(() => [(v(!0), f(l, null, y(
|
|
75
|
+
default: S(() => [(v(!0), f(l, null, y(i.mockData, (e) => (v(), u(p, {
|
|
78
76
|
key: `ass-${e}`,
|
|
79
77
|
label: `用户${e}`,
|
|
80
78
|
value: `user${e}`
|
|
@@ -85,13 +83,13 @@ function D(i, a, o, s, c, d) {
|
|
|
85
83
|
}),
|
|
86
84
|
h(g, { label: "候选用户" }, {
|
|
87
85
|
default: S(() => [h(m, {
|
|
88
|
-
modelValue:
|
|
89
|
-
"onUpdate:modelValue":
|
|
86
|
+
modelValue: i.userTaskForm.candidateUsers,
|
|
87
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.userTaskForm.candidateUsers = e),
|
|
90
88
|
multiple: "",
|
|
91
89
|
"collapse-tags": "",
|
|
92
|
-
onChange:
|
|
90
|
+
onChange: t[3] || (t[3] = (e) => d.updateElementTask("candidateUsers"))
|
|
93
91
|
}, {
|
|
94
|
-
default: S(() => [(v(!0), f(l, null, y(
|
|
92
|
+
default: S(() => [(v(!0), f(l, null, y(i.mockData, (e) => (v(), u(p, {
|
|
95
93
|
key: `user-${e}`,
|
|
96
94
|
label: `用户${e}`,
|
|
97
95
|
value: `user${e}`
|
|
@@ -102,13 +100,13 @@ function D(i, a, o, s, c, d) {
|
|
|
102
100
|
}),
|
|
103
101
|
h(g, { label: "候选分组" }, {
|
|
104
102
|
default: S(() => [h(m, {
|
|
105
|
-
modelValue:
|
|
106
|
-
"onUpdate:modelValue":
|
|
103
|
+
modelValue: i.userTaskForm.candidateGroups,
|
|
104
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.userTaskForm.candidateGroups = e),
|
|
107
105
|
multiple: "",
|
|
108
106
|
"collapse-tags": "",
|
|
109
|
-
onChange:
|
|
107
|
+
onChange: t[5] || (t[5] = (e) => d.updateElementTask("candidateGroups"))
|
|
110
108
|
}, {
|
|
111
|
-
default: S(() => [(v(!0), f(l, null, y(
|
|
109
|
+
default: S(() => [(v(!0), f(l, null, y(i.mockData, (e) => (v(), u(p, {
|
|
112
110
|
key: `ass-${e}`,
|
|
113
111
|
label: `分组${e}`,
|
|
114
112
|
value: `group${e}`
|
|
@@ -119,34 +117,34 @@ function D(i, a, o, s, c, d) {
|
|
|
119
117
|
}),
|
|
120
118
|
h(g, { label: "到期时间" }, {
|
|
121
119
|
default: S(() => [h(_, {
|
|
122
|
-
modelValue:
|
|
123
|
-
"onUpdate:modelValue":
|
|
120
|
+
modelValue: i.userTaskForm.dueDate,
|
|
121
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => i.userTaskForm.dueDate = e),
|
|
124
122
|
clearable: "",
|
|
125
|
-
onChange:
|
|
123
|
+
onChange: t[7] || (t[7] = (e) => d.updateElementTask("dueDate"))
|
|
126
124
|
}, null, 8, ["modelValue"])]),
|
|
127
125
|
_: 1
|
|
128
126
|
}),
|
|
129
127
|
h(g, { label: "跟踪时间" }, {
|
|
130
128
|
default: S(() => [h(_, {
|
|
131
|
-
modelValue:
|
|
132
|
-
"onUpdate:modelValue":
|
|
129
|
+
modelValue: i.userTaskForm.followUpDate,
|
|
130
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => i.userTaskForm.followUpDate = e),
|
|
133
131
|
clearable: "",
|
|
134
|
-
onChange:
|
|
132
|
+
onChange: t[9] || (t[9] = (e) => d.updateElementTask("followUpDate"))
|
|
135
133
|
}, null, 8, ["modelValue"])]),
|
|
136
134
|
_: 1
|
|
137
135
|
}),
|
|
138
136
|
h(g, { label: "优先级" }, {
|
|
139
137
|
default: S(() => [h(_, {
|
|
140
|
-
modelValue:
|
|
141
|
-
"onUpdate:modelValue":
|
|
138
|
+
modelValue: i.userTaskForm.priority,
|
|
139
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => i.userTaskForm.priority = e),
|
|
142
140
|
clearable: "",
|
|
143
|
-
onChange:
|
|
141
|
+
onChange: t[11] || (t[11] = (e) => d.updateElementTask("priority"))
|
|
144
142
|
}, null, 8, ["modelValue"])]),
|
|
145
143
|
_: 1
|
|
146
144
|
})
|
|
147
145
|
]);
|
|
148
146
|
}
|
|
149
|
-
var O = /* @__PURE__ */
|
|
147
|
+
var O = /* @__PURE__ */ e(T, [["render", D]]), k = {
|
|
150
148
|
name: "ScriptTask",
|
|
151
149
|
props: {
|
|
152
150
|
id: String,
|
|
@@ -185,23 +183,23 @@ var O = /* @__PURE__ */ c(T, [["render", D]]), k = {
|
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
}, A = { style: { "margin-top": "16px" } };
|
|
188
|
-
function j(
|
|
189
|
-
let u =
|
|
186
|
+
function j(e, t, n, r, i, l) {
|
|
187
|
+
let u = o, d = a, p = s, m = c;
|
|
190
188
|
return v(), f("div", A, [
|
|
191
189
|
h(d, { label: "脚本格式" }, {
|
|
192
190
|
default: S(() => [h(u, {
|
|
193
|
-
modelValue:
|
|
194
|
-
"onUpdate:modelValue":
|
|
191
|
+
modelValue: i.scriptTaskForm.scriptFormat,
|
|
192
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.scriptTaskForm.scriptFormat = e),
|
|
195
193
|
clearable: "",
|
|
196
|
-
onInput:
|
|
197
|
-
onChange:
|
|
194
|
+
onInput: t[1] || (t[1] = (e) => l.updateElementTask()),
|
|
195
|
+
onChange: t[2] || (t[2] = (e) => l.updateElementTask())
|
|
198
196
|
}, null, 8, ["modelValue"])]),
|
|
199
197
|
_: 1
|
|
200
198
|
}),
|
|
201
199
|
h(d, { label: "脚本类型" }, {
|
|
202
200
|
default: S(() => [h(m, {
|
|
203
|
-
modelValue:
|
|
204
|
-
"onUpdate:modelValue":
|
|
201
|
+
modelValue: i.scriptTaskForm.scriptType,
|
|
202
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => i.scriptTaskForm.scriptType = e)
|
|
205
203
|
}, {
|
|
206
204
|
default: S(() => [h(p, {
|
|
207
205
|
label: "内联脚本",
|
|
@@ -216,8 +214,8 @@ function j(i, a, o, s, c, l) {
|
|
|
216
214
|
}),
|
|
217
215
|
C(h(d, { label: "脚本" }, {
|
|
218
216
|
default: S(() => [h(u, {
|
|
219
|
-
modelValue:
|
|
220
|
-
"onUpdate:modelValue":
|
|
217
|
+
modelValue: i.scriptTaskForm.script,
|
|
218
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.scriptTaskForm.script = e),
|
|
221
219
|
type: "textarea",
|
|
222
220
|
resize: "vertical",
|
|
223
221
|
autosize: {
|
|
@@ -225,34 +223,34 @@ function j(i, a, o, s, c, l) {
|
|
|
225
223
|
maxRows: 4
|
|
226
224
|
},
|
|
227
225
|
clearable: "",
|
|
228
|
-
onInput:
|
|
229
|
-
onChange:
|
|
226
|
+
onInput: t[5] || (t[5] = (e) => l.updateElementTask()),
|
|
227
|
+
onChange: t[6] || (t[6] = (e) => l.updateElementTask())
|
|
230
228
|
}, null, 8, ["modelValue"])]),
|
|
231
229
|
_: 1
|
|
232
|
-
}, 512), [[x,
|
|
230
|
+
}, 512), [[x, i.scriptTaskForm.scriptType === "inline"]]),
|
|
233
231
|
C(h(d, { label: "资源地址" }, {
|
|
234
232
|
default: S(() => [h(u, {
|
|
235
|
-
modelValue:
|
|
236
|
-
"onUpdate:modelValue":
|
|
233
|
+
modelValue: i.scriptTaskForm.resource,
|
|
234
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => i.scriptTaskForm.resource = e),
|
|
237
235
|
clearable: "",
|
|
238
|
-
onInput:
|
|
239
|
-
onChange:
|
|
236
|
+
onInput: t[8] || (t[8] = (e) => l.updateElementTask()),
|
|
237
|
+
onChange: t[9] || (t[9] = (e) => l.updateElementTask())
|
|
240
238
|
}, null, 8, ["modelValue"])]),
|
|
241
239
|
_: 1
|
|
242
|
-
}, 512), [[x,
|
|
240
|
+
}, 512), [[x, i.scriptTaskForm.scriptType === "external"]]),
|
|
243
241
|
h(d, { label: "结果变量" }, {
|
|
244
242
|
default: S(() => [h(u, {
|
|
245
|
-
modelValue:
|
|
246
|
-
"onUpdate:modelValue":
|
|
243
|
+
modelValue: i.scriptTaskForm.resultVariable,
|
|
244
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => i.scriptTaskForm.resultVariable = e),
|
|
247
245
|
clearable: "",
|
|
248
|
-
onInput:
|
|
249
|
-
onChange:
|
|
246
|
+
onInput: t[11] || (t[11] = (e) => l.updateElementTask()),
|
|
247
|
+
onChange: t[12] || (t[12] = (e) => l.updateElementTask())
|
|
250
248
|
}, null, 8, ["modelValue"])]),
|
|
251
249
|
_: 1
|
|
252
250
|
})
|
|
253
251
|
]);
|
|
254
252
|
}
|
|
255
|
-
var M = /* @__PURE__ */
|
|
253
|
+
var M = /* @__PURE__ */ e(k, [["render", j]]), N = {
|
|
256
254
|
name: "ReceiveTask",
|
|
257
255
|
props: {
|
|
258
256
|
id: String,
|
|
@@ -304,12 +302,12 @@ var M = /* @__PURE__ */ c(k, [["render", j]]), N = {
|
|
|
304
302
|
"align-items": "center",
|
|
305
303
|
"justify-content": "space-between"
|
|
306
304
|
} };
|
|
307
|
-
function I(
|
|
308
|
-
let x =
|
|
305
|
+
function I(e, r, d, g, _, b) {
|
|
306
|
+
let x = s, C = c, T = n, E = a, D = o, O = i, k = t;
|
|
309
307
|
return v(), f("div", P, [h(E, { label: "消息实例" }, {
|
|
310
308
|
default: S(() => [p("div", F, [h(C, {
|
|
311
309
|
modelValue: _.bindMessageId,
|
|
312
|
-
"onUpdate:modelValue":
|
|
310
|
+
"onUpdate:modelValue": r[0] || (r[0] = (e) => _.bindMessageId = e),
|
|
313
311
|
onChange: b.updateTaskMessage
|
|
314
312
|
}, {
|
|
315
313
|
default: S(() => [(v(!0), f(l, null, y(Object.keys(_.messageMap), (e) => (v(), u(x, {
|
|
@@ -327,7 +325,7 @@ function I(o, c, d, g, _, b) {
|
|
|
327
325
|
_: 1
|
|
328
326
|
}), h(k, {
|
|
329
327
|
visible: _.messageModelVisible,
|
|
330
|
-
"onUpdate:visible":
|
|
328
|
+
"onUpdate:visible": r[4] || (r[4] = (e) => _.messageModelVisible = e),
|
|
331
329
|
class: "flow-dialog",
|
|
332
330
|
"close-on-click-modal": !1,
|
|
333
331
|
title: "创建新消息",
|
|
@@ -339,25 +337,25 @@ function I(o, c, d, g, _, b) {
|
|
|
339
337
|
type: "primary",
|
|
340
338
|
onClick: b.createNewMessage
|
|
341
339
|
}, {
|
|
342
|
-
default: S(() => [...
|
|
340
|
+
default: S(() => [...r[5] || (r[5] = [m("确 认", -1)])]),
|
|
343
341
|
_: 1
|
|
344
342
|
}, 8, ["onClick"])]),
|
|
345
343
|
default: S(() => [h(O, {
|
|
346
344
|
model: _.newMessageForm,
|
|
347
345
|
"label-width": "90px",
|
|
348
|
-
onSubmit:
|
|
346
|
+
onSubmit: r[3] || (r[3] = w(() => {}, ["prevent"]))
|
|
349
347
|
}, {
|
|
350
348
|
default: S(() => [h(E, { label: "消息ID" }, {
|
|
351
349
|
default: S(() => [h(D, {
|
|
352
350
|
modelValue: _.newMessageForm.id,
|
|
353
|
-
"onUpdate:modelValue":
|
|
351
|
+
"onUpdate:modelValue": r[1] || (r[1] = (e) => _.newMessageForm.id = e),
|
|
354
352
|
clearable: ""
|
|
355
353
|
}, null, 8, ["modelValue"])]),
|
|
356
354
|
_: 1
|
|
357
355
|
}), h(E, { label: "消息名称" }, {
|
|
358
356
|
default: S(() => [h(D, {
|
|
359
357
|
modelValue: _.newMessageForm.name,
|
|
360
|
-
"onUpdate:modelValue":
|
|
358
|
+
"onUpdate:modelValue": r[2] || (r[2] = (e) => _.newMessageForm.name = e),
|
|
361
359
|
clearable: ""
|
|
362
360
|
}, null, 8, ["modelValue"])]),
|
|
363
361
|
_: 1
|
|
@@ -374,7 +372,7 @@ var L = {
|
|
|
374
372
|
components: {
|
|
375
373
|
UserTask: O,
|
|
376
374
|
ScriptTask: M,
|
|
377
|
-
ReceiveTask: /* @__PURE__ */
|
|
375
|
+
ReceiveTask: /* @__PURE__ */ e(N, [["render", I]])
|
|
378
376
|
},
|
|
379
377
|
props: {
|
|
380
378
|
id: String,
|
|
@@ -416,8 +414,8 @@ var L = {
|
|
|
416
414
|
!this.taskConfigForm.asyncBefore && !this.taskConfigForm.asyncAfter && (this.taskConfigForm.exclusive = !1), this.bpmnInstances.modeling.updateProperties(this.element, { ...this.taskConfigForm });
|
|
417
415
|
} }
|
|
418
416
|
}, R = { class: "panel-tab__content" };
|
|
419
|
-
function z(e, t, n,
|
|
420
|
-
let l =
|
|
417
|
+
function z(e, t, n, o, s, c) {
|
|
418
|
+
let l = r, p = a, m = i;
|
|
421
419
|
return v(), f("div", R, [h(m, {
|
|
422
420
|
"label-width": "90px",
|
|
423
421
|
onSubmit: t[3] || (t[3] = w(() => {}, ["prevent"]))
|
|
@@ -449,6 +447,6 @@ function z(e, t, n, a, s, c) {
|
|
|
449
447
|
_: 1
|
|
450
448
|
})]);
|
|
451
449
|
}
|
|
452
|
-
var B = /* @__PURE__ */
|
|
450
|
+
var B = /* @__PURE__ */ e(L, [["render", z]]);
|
|
453
451
|
//#endregion
|
|
454
452
|
export { B as default };
|
|
@@ -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 };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { allProps as e, predicate as t } from "../props/date.mjs";
|
|
2
|
+
import { n, o as r } from "./BE4V5Vf5.mjs";
|
|
3
|
+
import { ElDatePicker as i } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { computed as a, createVNode as o, mergeProps as s } from "vue";
|
|
6
|
+
import "element-plus/es/components/date-picker/style/css";
|
|
7
|
+
import { toDate as c } from "@web-utils/integrations/dayjs";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/form/FormDatePicker.vue
|
|
10
|
+
var l = {
|
|
11
|
+
name: "FormDatePicker",
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
props: { ...e },
|
|
14
|
+
emits: {
|
|
15
|
+
...n,
|
|
16
|
+
"update:startDate": null,
|
|
17
|
+
"update:endDate": null
|
|
18
|
+
},
|
|
19
|
+
setup(e, { emit: n, slots: l, attrs: u }) {
|
|
20
|
+
let { emitInput: d, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = r(e, {
|
|
21
|
+
emit: n,
|
|
22
|
+
slots: l,
|
|
23
|
+
attrs: u,
|
|
24
|
+
predicate: t,
|
|
25
|
+
messagePrefix: "请选择"
|
|
26
|
+
}), _ = a(() => e.dateTimeRange || e.dateRange || e.monthRange), v = a(() => e.year ? "YYYY" : e.month || e.monthRange ? "YYYY-MM" : e.week ? "YYYY 第 WW 周" : e.dateTime || e.dateTimeRange ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD"), y = a(() => e.year ? "year" : e.month ? "month" : e.dates ? "dates" : e.week ? "week" : e.dateTime ? "datetime" : e.dateTimeRange ? "datetimerange" : e.dateRange ? "daterange" : e.monthRange ? "monthrange" : "date"), b = a(() => {
|
|
27
|
+
if (e.miniDate) {
|
|
28
|
+
let t = c(e.miniDate);
|
|
29
|
+
return t.setDate(t.getDate() - 1), t;
|
|
30
|
+
} else return null;
|
|
31
|
+
}), x = a(() => e.maxDate ? c(e.maxDate) : null), S = (e) => {
|
|
32
|
+
if (!b.value && !x.value) return !1;
|
|
33
|
+
let t = e.getTime();
|
|
34
|
+
return b.value && !x.value ? t <= b.value.getTime() : !b.value && x.value ? t >= x.value.getTime() : b.value && x.value ? !(t > b.value.getTime() && t <= x.value.getTime()) : !1;
|
|
35
|
+
}, C = (e, t) => {
|
|
36
|
+
n("update:startDate", e), n("update:endDate", t);
|
|
37
|
+
}, w = (t) => {
|
|
38
|
+
_.value && e.split ? t ? C(t[0], t[1]) : C(null, null) : d(t);
|
|
39
|
+
}, T = a(() => _.value && e.split ? [e.startDate, e.endDate] : e.modelValue), E = a(() => e.week ? "YYYY-MM-DD" : e.valueFormat || v.value), D = a(() => e.format || v.value);
|
|
40
|
+
return () => f({ vNodes: o(i, s(h.value, g.value, {
|
|
41
|
+
style: "width: 100%",
|
|
42
|
+
type: y.value,
|
|
43
|
+
modelValue: T.value,
|
|
44
|
+
disabled: m.value,
|
|
45
|
+
placeholder: p.value,
|
|
46
|
+
format: D.value,
|
|
47
|
+
disabledDate: S,
|
|
48
|
+
"value-format": E.value,
|
|
49
|
+
"onUpdate:modelValue": w
|
|
50
|
+
}), {
|
|
51
|
+
default: l.default,
|
|
52
|
+
"range-separator": l["range-separator"],
|
|
53
|
+
"pre-month": l["pre-month"],
|
|
54
|
+
"next-month": l["next-month"],
|
|
55
|
+
"pre-year": l["pre-year"],
|
|
56
|
+
"next-year": l["next-year"]
|
|
57
|
+
}) });
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { l as t };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { allProps as e, predicate as t } from "../props/checkbox-group.mjs";
|
|
2
|
+
import { n, o as r } from "./BE4V5Vf5.mjs";
|
|
3
|
+
import { useDictionary as i } from "../hook/useDictionary.mjs";
|
|
4
|
+
import { t as a } from "./DqW9QtF3.mjs";
|
|
5
|
+
import { ElCheckbox as o, ElCheckboxButton as s, ElCheckboxGroup as c } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
|
+
import { computed as l, createVNode as u, defineComponent as d, isVNode as f, mergeProps as p, useModel as m } from "vue";
|
|
8
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
9
|
+
import "element-plus/es/components/checkbox-button/style/css";
|
|
10
|
+
import "element-plus/es/components/checkbox-group/style/css";
|
|
11
|
+
//#region src/components/form/FormCheckboxGroup.vue?vue&type=script&lang.jsx
|
|
12
|
+
function h(e) {
|
|
13
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/form/FormCheckboxGroup.vue
|
|
17
|
+
var g = /* @__PURE__ */ d({
|
|
18
|
+
name: "FormCheckboxGroup",
|
|
19
|
+
inheritAttrs: !1,
|
|
20
|
+
props: { ...e },
|
|
21
|
+
emits: {
|
|
22
|
+
...n,
|
|
23
|
+
"update:other": null
|
|
24
|
+
},
|
|
25
|
+
setup(e, { emit: n, slots: d, attrs: f }) {
|
|
26
|
+
let g = m(e, "other"), { emitInput: _, render: v, disabled: y, listeners: b, inputProps: x } = r(e, {
|
|
27
|
+
emit: n,
|
|
28
|
+
slots: d,
|
|
29
|
+
attrs: f,
|
|
30
|
+
predicate: t,
|
|
31
|
+
messagePrefix: "请选择",
|
|
32
|
+
class: l(() => ["form-checkbox-group", {
|
|
33
|
+
"form-checkbox-group-row": e.fillRow,
|
|
34
|
+
"form-checkbox-group-row-break-word": e.fillRow,
|
|
35
|
+
"form-checkbox-group-row-ellipsis": e.ellipsis
|
|
36
|
+
}])
|
|
37
|
+
}), S = (t) => {
|
|
38
|
+
let n = t;
|
|
39
|
+
e.sort && (n = t.sort()), e.stringMode || e.split ? _(n.join(",")) : _(n);
|
|
40
|
+
}, C = l(() => {
|
|
41
|
+
if (e.stringMode || e.split) {
|
|
42
|
+
var t;
|
|
43
|
+
return Array.isArray(e.modelValue) ? e.modelValue.filter((e) => e) : ((t = e.modelValue) == null ? void 0 : t.split(e.delimiter).filter((e) => e)) ?? [];
|
|
44
|
+
}
|
|
45
|
+
return e.modelValue || [];
|
|
46
|
+
}), w = l(() => e.classic ? "label" : e.labelProp), T = l(() => e.classic ? "value" : e.valueProp), { dictItems: E } = i(e), D = l(() => e.dictType ? E.value : e.gender ? [{
|
|
47
|
+
[w.value]: "男",
|
|
48
|
+
[T.value]: "男"
|
|
49
|
+
}, {
|
|
50
|
+
[w.value]: "女",
|
|
51
|
+
[T.value]: "女"
|
|
52
|
+
}] : e.confirm ? [{
|
|
53
|
+
[w.value]: "是",
|
|
54
|
+
[T.value]: "是"
|
|
55
|
+
}, {
|
|
56
|
+
[w.value]: "否",
|
|
57
|
+
[T.value]: "否"
|
|
58
|
+
}] : e.options);
|
|
59
|
+
return () => v({ vNodes: [u(c, p(b.value, x.value, {
|
|
60
|
+
modelValue: C.value,
|
|
61
|
+
disabled: y.value,
|
|
62
|
+
"onUpdate:modelValue": S
|
|
63
|
+
}), {
|
|
64
|
+
...d,
|
|
65
|
+
default: d.default || (() => {
|
|
66
|
+
var t;
|
|
67
|
+
return (t = D.value) == null ? void 0 : t.map(({ value: t, label: n, disabled: r }) => e.type === "button" ? u(s, {
|
|
68
|
+
key: t,
|
|
69
|
+
value: t,
|
|
70
|
+
disabled: r
|
|
71
|
+
}, h(n) ? n : { default: () => [n] }) : u(o, {
|
|
72
|
+
key: t,
|
|
73
|
+
value: t,
|
|
74
|
+
disabled: r
|
|
75
|
+
}, h(n) ? n : { default: () => [n] }));
|
|
76
|
+
})
|
|
77
|
+
}), C.value.includes(e.otherVal) ? u(a, {
|
|
78
|
+
"wrap-col": !1,
|
|
79
|
+
class: "form-checkbox-group-other",
|
|
80
|
+
"hide-label": !0,
|
|
81
|
+
"label-width": "0",
|
|
82
|
+
prop: e.otherProp,
|
|
83
|
+
disabled: y.value,
|
|
84
|
+
required: !!e.otherProp,
|
|
85
|
+
placeholder: e.otherPlaceholder,
|
|
86
|
+
label: e.otherLabel,
|
|
87
|
+
"show-message": !!e.otherLabel,
|
|
88
|
+
style: e.otherLabel ? { width: e.otherWidth } : {
|
|
89
|
+
marginBottom: 0,
|
|
90
|
+
width: e.otherWidth
|
|
91
|
+
},
|
|
92
|
+
modelValue: g.value,
|
|
93
|
+
"onUpdate:modelValue": (e) => g.value = e,
|
|
94
|
+
"max-length": e.otherMaxLength
|
|
95
|
+
}, null) : null] });
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
//#endregion
|
|
99
|
+
export { g as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
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/image.mjs";
|
|
5
|
+
import { ElImage as a } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
|
+
import { createVNode as o, isVNode as s, mergeProps as c } from "vue";
|
|
8
|
+
import "element-plus/es/components/image/style/css";
|
|
9
|
+
//#region src/components/form/FormImage.vue?vue&type=script&lang.jsx
|
|
10
|
+
function l(e) {
|
|
11
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/form/FormImage.vue
|
|
15
|
+
var u = {
|
|
16
|
+
name: "FormImage",
|
|
17
|
+
inheritAttrs: !1,
|
|
18
|
+
props: { ...r },
|
|
19
|
+
emits: {},
|
|
20
|
+
setup(r, { slots: s, attrs: u }) {
|
|
21
|
+
let d = t(r, { attrs: u }), f = e(r, i);
|
|
22
|
+
return () => n(r, {
|
|
23
|
+
vNodes: o(a, c(f.value, u, { "preview-src-list": [r.src] }), l(s) ? s : { default: () => [s] }),
|
|
24
|
+
formItemProps: d,
|
|
25
|
+
slots: s
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { u as t };
|