@web-utils/form-ui 1.0.0-beta71 → 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.
- 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 -14
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{B3d4fdGH.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{BeWNlclr.mjs → -zgWD713.mjs} +44 -40
- package/chunks/{5itVLmv82.mjs → 8A7LSgb4.mjs} +26 -25
- package/chunks/{DoOkwYtO.mjs → Apjns0ZM.mjs} +72 -67
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BD6_5FSI.mjs +178 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{DfJJr053.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{DhQF2ZlD.mjs → BH7VEktl.mjs} +19 -17
- package/chunks/{CjmfMN1X2.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/{6kdakei5.mjs → BYtFzO-8.mjs} +138 -133
- package/chunks/{CaRunrOV2.mjs → B_AUZSOW.mjs} +589 -760
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/{B5voIv4_.mjs → Bes1uXng.mjs} +28 -24
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{D6vTCC1Z2.mjs → BrelfRGo2.mjs} +14 -13
- package/chunks/{Z0BPDZlb.mjs → BsqIRxSS.mjs} +6 -5
- package/chunks/{TtxSplBB.mjs → C--HDCqy.mjs} +13 -10
- package/chunks/{DTUh8o0p2.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{CIybFvu92.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Ch_zaHx9.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{DNSPORak.mjs → CZUhA3sf.mjs} +298 -4
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{B1GA44yT2.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/{9rQitPz7.mjs → D6DYxngS.mjs} +132 -127
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{BkEMJ725.mjs → DTq5QLoT.mjs} +43 -39
- package/chunks/{BvcK4D8A2.mjs → DVMfVn-M.mjs} +14 -10
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{BaLjN8Ow.mjs → Daa7nl7U.mjs} +19 -15
- package/chunks/{D9qn1x3X2.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{BQNqBw8h2.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CbbjpJFg2.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{DbtlO6wD.mjs → DqWJCka8.mjs} +9 -7
- package/chunks/{BI-ZFlSw2.mjs → DrWUdRj32.mjs} +2 -2
- 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/{DxL9oojv2.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/{T_jwNKBr.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{BoId6V9J.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/{BvbjlaN02.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{3gUkQF12.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{CDqVJ7U3.mjs → neuEq1De.mjs} +70 -67
- package/chunks/{B8wGY5Hs2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{Wl17p0C82.mjs → tjwOOiNr2.mjs} +31 -30
- 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 -8
- package/data-card/index.mjs +8 -7
- package/data-card-text/index.mjs +8 -7
- package/data-display/index.mjs +9 -8
- package/data-icons/index.mjs +9 -8
- package/data-imgtext/index.mjs +9 -8
- package/data-operatext/index.mjs +8 -7
- package/data-panel/index.mjs +9 -8
- package/data-pay/index.mjs +10 -9
- package/data-price/index.mjs +8 -7
- package/data-progress/index.mjs +10 -9
- package/data-rotate/index.mjs +9 -8
- package/data-table-picker/index.mjs +11 -10
- package/data-tabs/index.mjs +9 -8
- 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 -7
- package/editable-tree/index.mjs +595 -2
- package/element-dialog/index.mjs +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-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-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/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-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -6
- 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 -2
- package/package.json +5 -1
- package/page-index/index.mjs +14 -13
- package/page-index-top/index.mjs +12 -10
- package/pageable-table/index.mjs +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 -2
- 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 +108 -106
- package/tag-render/index.mjs +21 -20
- 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 -46
- package/year-calendar/index.mjs +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/BBqq6o072.mjs +0 -243
- package/chunks/BCVhSMZN.mjs +0 -1328
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BJby9uHB2.mjs +0 -233
- package/chunks/BUAQybGW.mjs +0 -230
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Baam4z-g.mjs +0 -275
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BecO0t0_2.mjs +0 -2430
- package/chunks/BffxPn8a.mjs +0 -34
- 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/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/BsM0L7CS.mjs +0 -132
- package/chunks/C5f3Xfsc2.mjs +0 -36
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CFvkR9Ze2.mjs +0 -31
- package/chunks/CGM03LI5.mjs +0 -588
- package/chunks/CPejK_GQ2.mjs +0 -383
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CR29QUwT2.mjs +0 -28
- package/chunks/CWvo-ucD.mjs +0 -446
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Calzy0Az.mjs +0 -1275
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CdBytH8S.mjs +0 -266
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/Cjkq49252.mjs +0 -60
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CsLrkldT2.mjs +0 -225
- package/chunks/Csiz_xCa2.mjs +0 -273
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/Cu2A_1vk2.mjs +0 -106
- package/chunks/CuoF9V8s.mjs +0 -3091
- package/chunks/CwBq1JZV.mjs +0 -250
- package/chunks/CwWfRmD3.mjs +0 -57
- package/chunks/CwqeV7002.mjs +0 -67
- package/chunks/Cy8jqgun2.mjs +0 -41
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D8r81QxD.mjs +0 -732
- package/chunks/DL0o_C092.mjs +0 -1093
- package/chunks/DLgn1tQG2.mjs +0 -60
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/DXiLi19u2.mjs +0 -33
- package/chunks/DZ0frL1U.mjs +0 -69
- package/chunks/D_qwjNah.mjs +0 -1094
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Dls3rTka2.mjs +0 -24
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/DoNfjRR1.mjs +0 -68
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DsYXqJLZ.mjs +0 -641
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/EA6hte7s2.mjs +0 -49
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/Q2Mal3Qn2.mjs +0 -439
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/cMuWbLPt.mjs +0 -196
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/mD3gmiOy2.mjs +0 -96
- package/chunks/nLBvkerV2.mjs +0 -621
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/uqKZ4RIo.mjs +0 -222
- /package/chunks/{B31ub5xS.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{e70aZf3z.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{h-Uhst9y.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{BMTtnkb7.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BwYEpK-u.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{BPpMbPS8.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{BVuwiZGi.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{C1RsHtGI.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{7Cv9Cq-02.mjs → fjtZc9Rq2.mjs} +0 -0
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { i as c, n as l } from "./BMTtnkb7.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";
|
|
8
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";
|
|
9
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";
|
|
10
14
|
//#region src/components/bpmn-process-designer/components/penal/base/ElementBaseInfo.vue
|
|
11
15
|
var b = /* @__PURE__ */ e({ default: () => w }), x = {
|
|
12
16
|
name: "ElementBaseInfo",
|
|
@@ -47,12 +51,12 @@ var b = /* @__PURE__ */ e({ default: () => w }), x = {
|
|
|
47
51
|
}));
|
|
48
52
|
let { businessObject: n } = this.element;
|
|
49
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) {
|
|
50
|
-
let t =
|
|
54
|
+
let t = r(n, `${this.prefix}:${e}`);
|
|
51
55
|
e === "commentNodeIds" && (t = t ? t.split(",") : []), this.attrs[e] = t;
|
|
52
56
|
}
|
|
53
|
-
this.skipExpression =
|
|
54
|
-
let
|
|
55
|
-
|
|
57
|
+
this.skipExpression = r(n, `${this.prefix}:skipExpression`);
|
|
58
|
+
let i = r(n, `${this.prefix}:requiredComment`);
|
|
59
|
+
i || (i = "Y"), this.requiredComment = i;
|
|
56
60
|
},
|
|
57
61
|
updateBaseInfo(e) {
|
|
58
62
|
let { modeling: t } = this.bpmnInstances;
|
|
@@ -71,35 +75,35 @@ var b = /* @__PURE__ */ e({ default: () => w }), x = {
|
|
|
71
75
|
},
|
|
72
76
|
updateProp(e, t) {
|
|
73
77
|
if (e === "commentInForm") {
|
|
74
|
-
if (!t) for (let e in this.attrs) e !== "commentInForm" && (this.attrs[e] = null,
|
|
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]));
|
|
75
79
|
} else t = e === "commentNodeIds" ? t != null && t.length ? t.join(",") : null : t || null;
|
|
76
|
-
|
|
80
|
+
n(this.bpmnInstances, this.element, `${this.prefix}:${e}`, t);
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
}, S = { class: "panel-tab__content" };
|
|
80
|
-
function C(e,
|
|
81
|
-
let x =
|
|
84
|
+
function C(e, t, n, r, y, b) {
|
|
85
|
+
let x = o, C = a, w = l, T = s, E = c, D = i;
|
|
82
86
|
return h(), p("div", S, [m(D, {
|
|
83
87
|
"label-width": "90px",
|
|
84
|
-
onSubmit:
|
|
88
|
+
onSubmit: t[22] || (t[22] = v(() => {}, ["prevent"]))
|
|
85
89
|
}, {
|
|
86
90
|
default: _(() => [
|
|
87
91
|
m(C, { label: "ID" }, {
|
|
88
92
|
default: _(() => [m(x, {
|
|
89
93
|
modelValue: y.businessObject.id,
|
|
90
|
-
"onUpdate:modelValue":
|
|
91
|
-
disabled:
|
|
94
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => y.businessObject.id = e),
|
|
95
|
+
disabled: n.idEditDisabled,
|
|
92
96
|
clearable: "",
|
|
93
|
-
onInput:
|
|
97
|
+
onInput: t[1] || (t[1] = (e) => b.updateBaseInfo("id"))
|
|
94
98
|
}, null, 8, ["modelValue", "disabled"])]),
|
|
95
99
|
_: 1
|
|
96
100
|
}),
|
|
97
101
|
m(C, { label: "名称" }, {
|
|
98
102
|
default: _(() => [m(x, {
|
|
99
103
|
modelValue: y.businessObject.name,
|
|
100
|
-
"onUpdate:modelValue":
|
|
104
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => y.businessObject.name = e),
|
|
101
105
|
clearable: "",
|
|
102
|
-
onInput:
|
|
106
|
+
onInput: t[3] || (t[3] = (e) => b.updateBaseInfo("name"))
|
|
103
107
|
}, null, 8, ["modelValue"])]),
|
|
104
108
|
_: 1
|
|
105
109
|
}),
|
|
@@ -107,31 +111,31 @@ function C(e, s, c, l, y, b) {
|
|
|
107
111
|
m(C, { label: "跳过表达式" }, {
|
|
108
112
|
default: _(() => [m(x, {
|
|
109
113
|
modelValue: y.skipExpression,
|
|
110
|
-
"onUpdate:modelValue":
|
|
114
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => y.skipExpression = e),
|
|
111
115
|
clearable: "",
|
|
112
|
-
onInput:
|
|
116
|
+
onInput: t[5] || (t[5] = (e) => b.updateProp("skipExpression", e))
|
|
113
117
|
}, null, 8, ["modelValue"])]),
|
|
114
118
|
_: 1
|
|
115
119
|
}),
|
|
116
120
|
m(C, { label: "意见必填" }, {
|
|
117
121
|
default: _(() => [m(w, {
|
|
118
122
|
modelValue: y.requiredComment,
|
|
119
|
-
"onUpdate:modelValue":
|
|
123
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => y.requiredComment = e),
|
|
120
124
|
"active-text": "是",
|
|
121
125
|
"active-value": "Y",
|
|
122
126
|
"inactive-text": "否",
|
|
123
127
|
"inactive-value": "N",
|
|
124
|
-
onInput:
|
|
128
|
+
onInput: t[7] || (t[7] = (e) => b.updateProp("requiredComment", e))
|
|
125
129
|
}, null, 8, ["modelValue"])]),
|
|
126
130
|
_: 1
|
|
127
131
|
}),
|
|
128
132
|
m(C, { label: "意见在表单" }, {
|
|
129
133
|
default: _(() => [m(w, {
|
|
130
134
|
modelValue: y.attrs.commentInForm,
|
|
131
|
-
"onUpdate:modelValue":
|
|
135
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => y.attrs.commentInForm = e),
|
|
132
136
|
"active-text": "是",
|
|
133
137
|
"inactive-text": "否",
|
|
134
|
-
onInput:
|
|
138
|
+
onInput: t[9] || (t[9] = (e) => b.updateProp("commentInForm", e))
|
|
135
139
|
}, null, 8, ["modelValue"])]),
|
|
136
140
|
_: 1
|
|
137
141
|
}),
|
|
@@ -139,19 +143,19 @@ function C(e, s, c, l, y, b) {
|
|
|
139
143
|
m(C, { label: "意见名称" }, {
|
|
140
144
|
default: _(() => [m(x, {
|
|
141
145
|
modelValue: y.attrs.commentLabel,
|
|
142
|
-
"onUpdate:modelValue":
|
|
146
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => y.attrs.commentLabel = e),
|
|
143
147
|
clearable: "",
|
|
144
|
-
onInput:
|
|
148
|
+
onInput: t[11] || (t[11] = (e) => b.updateProp("commentLabel", e))
|
|
145
149
|
}, null, 8, ["modelValue"])]),
|
|
146
150
|
_: 1
|
|
147
151
|
}),
|
|
148
152
|
m(C, { label: "意见聚合" }, {
|
|
149
153
|
default: _(() => [m(E, {
|
|
150
154
|
modelValue: y.attrs.commentNodeIds,
|
|
151
|
-
"onUpdate:modelValue":
|
|
155
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => y.attrs.commentNodeIds = e),
|
|
152
156
|
multiple: "",
|
|
153
157
|
clearable: "",
|
|
154
|
-
onInput:
|
|
158
|
+
onInput: t[13] || (t[13] = (e) => b.updateProp("commentNodeIds", e))
|
|
155
159
|
}, {
|
|
156
160
|
default: _(() => [(h(!0), p(u, null, g(y.nodes, (e) => (h(), d(T, {
|
|
157
161
|
key: e.value,
|
|
@@ -165,9 +169,9 @@ function C(e, s, c, l, y, b) {
|
|
|
165
169
|
m(C, { label: "意见排序号" }, {
|
|
166
170
|
default: _(() => [m(x, {
|
|
167
171
|
modelValue: y.attrs.commentOrder,
|
|
168
|
-
"onUpdate:modelValue":
|
|
172
|
+
"onUpdate:modelValue": t[14] || (t[14] = (e) => y.attrs.commentOrder = e),
|
|
169
173
|
clearable: "",
|
|
170
|
-
onInput:
|
|
174
|
+
onInput: t[15] || (t[15] = (e) => b.updateProp("commentOrder", e))
|
|
171
175
|
}, null, 8, ["modelValue"])]),
|
|
172
176
|
_: 1
|
|
173
177
|
})
|
|
@@ -177,18 +181,18 @@ function C(e, s, c, l, y, b) {
|
|
|
177
181
|
y.businessObject.$type === "bpmn:Process" ? (h(), p(u, { key: 1 }, [m(C, { label: "版本标签" }, {
|
|
178
182
|
default: _(() => [m(x, {
|
|
179
183
|
modelValue: y.businessObject.versionTag,
|
|
180
|
-
"onUpdate:modelValue":
|
|
184
|
+
"onUpdate:modelValue": t[16] || (t[16] = (e) => y.businessObject.versionTag = e),
|
|
181
185
|
clearable: "",
|
|
182
|
-
onInput:
|
|
186
|
+
onInput: t[17] || (t[17] = (e) => b.updateBaseInfo("versionTag"))
|
|
183
187
|
}, null, 8, ["modelValue"])]),
|
|
184
188
|
_: 1
|
|
185
189
|
}), m(C, { label: "可执行" }, {
|
|
186
190
|
default: _(() => [m(w, {
|
|
187
191
|
modelValue: y.businessObject.isExecutable,
|
|
188
|
-
"onUpdate:modelValue":
|
|
192
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => y.businessObject.isExecutable = e),
|
|
189
193
|
"active-text": "是",
|
|
190
194
|
"inactive-text": "否",
|
|
191
|
-
onInput:
|
|
195
|
+
onInput: t[19] || (t[19] = (e) => b.updateBaseInfo("isExecutable"))
|
|
192
196
|
}, null, 8, ["modelValue"])]),
|
|
193
197
|
_: 1
|
|
194
198
|
})], 64)) : f("v-if", !0),
|
|
@@ -198,10 +202,10 @@ function C(e, s, c, l, y, b) {
|
|
|
198
202
|
}, {
|
|
199
203
|
default: _(() => [m(w, {
|
|
200
204
|
modelValue: y.businessObject.isExpanded,
|
|
201
|
-
"onUpdate:modelValue":
|
|
205
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => y.businessObject.isExpanded = e),
|
|
202
206
|
"active-text": "展开",
|
|
203
207
|
"inactive-text": "折叠",
|
|
204
|
-
onInput:
|
|
208
|
+
onInput: t[21] || (t[21] = (e) => b.updateBaseInfo("isExpanded"))
|
|
205
209
|
}, null, 8, ["modelValue"])]),
|
|
206
210
|
_: 1
|
|
207
211
|
})) : f("v-if", !0)
|
|
@@ -209,6 +213,6 @@ function C(e, s, c, l, y, b) {
|
|
|
209
213
|
_: 1
|
|
210
214
|
})]);
|
|
211
215
|
}
|
|
212
|
-
var w = /* @__PURE__ */
|
|
216
|
+
var w = /* @__PURE__ */ t(x, [["render", C]]);
|
|
213
217
|
//#endregion
|
|
214
218
|
export { b as n, w as t };
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { n as a, t as o } from "./CWvo-ucD.mjs";
|
|
6
|
-
import { t as s } from "./BwYEpK-u.mjs";
|
|
7
|
-
import { t as c } from "./DhQF2ZlD.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";
|
|
8
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";
|
|
9
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";
|
|
10
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";
|
|
11
15
|
//#region src/components/vue-cron/language/zh.ts
|
|
12
16
|
var S = {
|
|
13
17
|
Seconds: {
|
|
@@ -1044,8 +1048,8 @@ var K = 3600 * 1e3, q = (e, t) => t.findIndex((t) => t >= e), J = class e {
|
|
|
1044
1048
|
class: "cron-expression",
|
|
1045
1049
|
style: { "margin-top": "10px" }
|
|
1046
1050
|
}, _e = { style: { "margin-bottom": "4px" } }, ve = { class: "bottom" };
|
|
1047
|
-
function ye(
|
|
1048
|
-
let T =
|
|
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;
|
|
1049
1053
|
return g(), f("div", X, [
|
|
1050
1054
|
h(j, { type: "border-card" }, {
|
|
1051
1055
|
default: y(() => [
|
|
@@ -1795,6 +1799,6 @@ function ye(s, b, x, S, C, w) {
|
|
|
1795
1799
|
}, 8, ["onClick"])])
|
|
1796
1800
|
]);
|
|
1797
1801
|
}
|
|
1798
|
-
var be = /* @__PURE__ */
|
|
1802
|
+
var be = /* @__PURE__ */ e(Y, [["render", ye]]);
|
|
1799
1803
|
//#endregion
|
|
1800
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,9 +1,13 @@
|
|
|
1
1
|
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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";
|
|
6
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";
|
|
7
11
|
//#region src/components/bpmn-process-designer/components/penal/flow-condition/FlowCondition.vue
|
|
8
12
|
var h = /* @__PURE__ */ e({ default: () => y }), g = {
|
|
9
13
|
name: "FlowCondition",
|
|
@@ -67,18 +71,18 @@ var h = /* @__PURE__ */ e({ default: () => y }), g = {
|
|
|
67
71
|
}
|
|
68
72
|
}
|
|
69
73
|
}, _ = { class: "panel-tab__content" };
|
|
70
|
-
function v(e,
|
|
71
|
-
let b =
|
|
74
|
+
function v(e, t, h, g, v, y) {
|
|
75
|
+
let b = a, x = o, S = r, C = i, w = n;
|
|
72
76
|
return f(), u("div", _, [d(w, {
|
|
73
77
|
model: v.flowConditionForm,
|
|
74
78
|
"label-width": "90px",
|
|
75
|
-
onSubmit:
|
|
79
|
+
onSubmit: t[7] || (t[7] = m(() => {}, ["prevent"]))
|
|
76
80
|
}, {
|
|
77
81
|
default: p(() => [
|
|
78
82
|
d(S, { label: "流转类型" }, {
|
|
79
83
|
default: p(() => [d(x, {
|
|
80
84
|
modelValue: v.flowConditionForm.type,
|
|
81
|
-
"onUpdate:modelValue":
|
|
85
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => v.flowConditionForm.type = e),
|
|
82
86
|
onChange: y.updateFlowType
|
|
83
87
|
}, {
|
|
84
88
|
default: p(() => [
|
|
@@ -105,7 +109,7 @@ function v(e, o, h, g, v, y) {
|
|
|
105
109
|
}, {
|
|
106
110
|
default: p(() => [d(x, {
|
|
107
111
|
modelValue: v.flowConditionForm.conditionType,
|
|
108
|
-
"onUpdate:modelValue":
|
|
112
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => v.flowConditionForm.conditionType = e)
|
|
109
113
|
}, {
|
|
110
114
|
default: p(() => [d(b, {
|
|
111
115
|
label: "表达式",
|
|
@@ -124,7 +128,7 @@ function v(e, o, h, g, v, y) {
|
|
|
124
128
|
}, {
|
|
125
129
|
default: p(() => [d(C, {
|
|
126
130
|
modelValue: v.flowConditionForm.body,
|
|
127
|
-
"onUpdate:modelValue":
|
|
131
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => v.flowConditionForm.body = e),
|
|
128
132
|
clearable: "",
|
|
129
133
|
onChange: y.updateFlowCondition
|
|
130
134
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -137,7 +141,7 @@ function v(e, o, h, g, v, y) {
|
|
|
137
141
|
}, {
|
|
138
142
|
default: p(() => [d(C, {
|
|
139
143
|
modelValue: v.flowConditionForm.language,
|
|
140
|
-
"onUpdate:modelValue":
|
|
144
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => v.flowConditionForm.language = e),
|
|
141
145
|
clearable: "",
|
|
142
146
|
onChange: y.updateFlowCondition
|
|
143
147
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -149,7 +153,7 @@ function v(e, o, h, g, v, y) {
|
|
|
149
153
|
}, {
|
|
150
154
|
default: p(() => [d(x, {
|
|
151
155
|
modelValue: v.flowConditionForm.scriptType,
|
|
152
|
-
"onUpdate:modelValue":
|
|
156
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => v.flowConditionForm.scriptType = e)
|
|
153
157
|
}, {
|
|
154
158
|
default: p(() => [d(b, {
|
|
155
159
|
label: "内联脚本",
|
|
@@ -168,7 +172,7 @@ function v(e, o, h, g, v, y) {
|
|
|
168
172
|
}, {
|
|
169
173
|
default: p(() => [d(C, {
|
|
170
174
|
modelValue: v.flowConditionForm.body,
|
|
171
|
-
"onUpdate:modelValue":
|
|
175
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => v.flowConditionForm.body = e),
|
|
172
176
|
type: "textarea",
|
|
173
177
|
clearable: "",
|
|
174
178
|
onChange: y.updateFlowCondition
|
|
@@ -181,7 +185,7 @@ function v(e, o, h, g, v, y) {
|
|
|
181
185
|
}, {
|
|
182
186
|
default: p(() => [d(C, {
|
|
183
187
|
modelValue: v.flowConditionForm.resource,
|
|
184
|
-
"onUpdate:modelValue":
|
|
188
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => v.flowConditionForm.resource = e),
|
|
185
189
|
clearable: "",
|
|
186
190
|
onChange: y.updateFlowCondition
|
|
187
191
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
@@ -192,6 +196,6 @@ function v(e, o, h, g, v, y) {
|
|
|
192
196
|
_: 1
|
|
193
197
|
}, 8, ["model"])]);
|
|
194
198
|
}
|
|
195
|
-
var y = /* @__PURE__ */
|
|
199
|
+
var y = /* @__PURE__ */ t(g, [["render", v]]);
|
|
196
200
|
//#endregion
|
|
197
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 "./
|
|
3
|
-
import { n as i, t as a } from "./
|
|
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 "./
|
|
2
|
-
import { t } from "./
|
|
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 "./
|
|
2
|
-
import { t } from "./
|
|
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,6 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
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";
|
|
4
6
|
import { createElementBlock as r, createElementVNode as i, createVNode as a, openBlock as o } from "vue";
|
|
5
7
|
import { isBlank as s } from "@web-utils/core";
|
|
6
8
|
//#region src/components/bpmn-process-designer/components/penal/other/ElementOtherConfig.vue
|
|
@@ -33,11 +35,11 @@ var c = /* @__PURE__ */ e({ default: () => m }), l = {
|
|
|
33
35
|
}
|
|
34
36
|
} }
|
|
35
37
|
}, u = { class: "panel-tab__content" }, d = { class: "element-property input-property" }, f = { class: "element-property__value" };
|
|
36
|
-
function p(e,
|
|
37
|
-
let m =
|
|
38
|
-
return o(), r("div", u, [i("div", d, [
|
|
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, {
|
|
39
41
|
modelValue: l.documentation,
|
|
40
|
-
"onUpdate:modelValue":
|
|
42
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => l.documentation = e),
|
|
41
43
|
type: "textarea",
|
|
42
44
|
resize: "vertical",
|
|
43
45
|
autosize: {
|
|
@@ -47,6 +49,6 @@ function p(e, n, s, c, l, p) {
|
|
|
47
49
|
onInput: p.updateDocumentation
|
|
48
50
|
}, null, 8, ["modelValue", "onInput"])])])]);
|
|
49
51
|
}
|
|
50
|
-
var m = /* @__PURE__ */
|
|
52
|
+
var m = /* @__PURE__ */ t(l, [["render", p]]);
|
|
51
53
|
//#endregion
|
|
52
54
|
export { c as n, m as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import { t } from "./
|
|
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 };
|