@web-utils/component 3.3.8 → 3.3.10
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/chat/index.mjs +1 -1
- package/chunks/{FormTemp.DBXY12r6.mjs → FormTemp.BO_zCjBT.mjs} +2 -2
- package/chunks/{dataformat.D_Opg_Hq.mjs → dataformat.J6EgqBfr.mjs} +1 -1
- package/chunks/{dic.BPoY9VwV.mjs → dic.6ODiMBAw.mjs} +1 -1
- package/chunks/{event.X575VReS.mjs → event.ChkcZtyR.mjs} +2 -2
- package/chunks/{init.CwDxjHXI.mjs → init.BbPaCwke.mjs} +2 -2
- package/chunks/{util.CGBb6mdq.mjs → util.ThVOTZAO.mjs} +2 -24
- package/code-mirror-editor/index.mjs +7 -12
- package/dialog-form/index.mjs +1 -1
- package/easy-popup/index.mjs +1 -4
- package/editable-tree/index.mjs +1 -5
- package/egd-collapse/index.mjs +1 -3
- package/element-dialog/index.mjs +1 -5
- package/flex-scroller/index.mjs +1 -5
- package/flow/index.mjs +1 -1
- package/flow-designer/index.mjs +27 -115
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -7
- package/form-checkbox-group/index.mjs +1 -3
- package/form-input/index.mjs +1 -3
- package/form-input-email/index.mjs +1 -3
- package/form-input-id-card/index.mjs +1 -3
- package/form-input-number/index.mjs +1 -3
- package/form-input-phone-number/index.mjs +1 -3
- package/form-input-time/index.mjs +1 -3
- package/form-radio-group/index.mjs +2 -8
- package/form-select/index.mjs +1 -3
- package/form-switch/index.mjs +1 -3
- package/form-view/index.mjs +1 -3
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +10 -20
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +1 -1
- package/fy-dynamic/index.mjs +2 -2
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +6 -10
- package/fy-form-design/index.mjs +11 -68
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +37 -37
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +1 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.mjs +3 -3
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-tabs/index.mjs +16 -27
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +2 -2
- package/icon-temp/index.mjs +7 -6
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/package.json +4 -4
- package/page-skeleton/index.mjs +1 -5
- package/photo-swipe/index.mjs +1 -3
- package/present-view/index.mjs +1 -3
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +2 -2
- package/sign/index.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/table-view/index.mjs +14 -18
- package/text-ellipsis/index.mjs +1 -1
- package/verify/index.mjs +1 -1
- package/vue-tree-select/index.mjs +4 -18
- package/vue-video-player/index.mjs +1 -11
- package/web-types.json +9 -1
package/chat/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatDate as r } from "@web-utils/integrations/dayjs";
|
|
2
|
-
import { s as l } from "../chunks/util.
|
|
2
|
+
import { s as l } from "../chunks/util.ThVOTZAO.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
4
4
|
const d = {
|
|
5
5
|
name: "Chat",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isBlank as _ } from "@web-utils/core";
|
|
2
2
|
import { formatDate as i } from "@web-utils/integrations/dayjs";
|
|
3
|
-
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.
|
|
3
|
+
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.ThVOTZAO.mjs";
|
|
4
4
|
import "../fy-u-editor/style.css";
|
|
5
|
-
import { a as D, b as O } from "./dataformat.
|
|
5
|
+
import { a as D, b as O } from "./dataformat.J6EgqBfr.mjs";
|
|
6
6
|
import { s as j } from "./slot.DXIbhGat.mjs";
|
|
7
7
|
import { n as L } from "./_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
8
8
|
const R = (n = {}, e = {}, s = {}, r = []) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isBlank as l } from "@web-utils/core";
|
|
2
|
-
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.
|
|
2
|
+
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.ThVOTZAO.mjs";
|
|
3
3
|
const P = {
|
|
4
4
|
common: {
|
|
5
5
|
condition: "条件",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as r, a as i, b as a } from "./util.
|
|
1
|
+
import { D as r, a as i, b as a } from "./util.ThVOTZAO.mjs";
|
|
2
2
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
3
3
|
import { isBlank as s } from "@web-utils/core";
|
|
4
|
-
import { i as p } from "./dataformat.
|
|
4
|
+
import { i as p } from "./dataformat.J6EgqBfr.mjs";
|
|
5
5
|
const f = {
|
|
6
6
|
mixins: [l],
|
|
7
7
|
data() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, l as n, a as h, b as r } from "./dic.
|
|
2
|
-
import { d, a as c } from "./util.
|
|
1
|
+
import { s as a, l as n, a as h, b as r } from "./dic.6ODiMBAw.mjs";
|
|
2
|
+
import { d, a as c } from "./util.ThVOTZAO.mjs";
|
|
3
3
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
4
4
|
import { isBlank as s } from "@web-utils/core";
|
|
5
5
|
const f = {
|
|
@@ -18,19 +18,7 @@ const D = "fy-", f = {
|
|
|
18
18
|
url: "url",
|
|
19
19
|
fileName: "file",
|
|
20
20
|
res: ""
|
|
21
|
-
}, I = [
|
|
22
|
-
"dates",
|
|
23
|
-
"date",
|
|
24
|
-
"datetime",
|
|
25
|
-
"datetimerange",
|
|
26
|
-
"daterange",
|
|
27
|
-
"time",
|
|
28
|
-
"timerange",
|
|
29
|
-
"week",
|
|
30
|
-
"month",
|
|
31
|
-
"monthrange",
|
|
32
|
-
"year"
|
|
33
|
-
], R = ["tree", "number", "icon", "color", "table", "map"], L = ["img", "array", "url"], k = ["cascader", "tree", "select"], K = ["slider"], V = L.concat([
|
|
21
|
+
}, I = ["dates", "date", "datetime", "datetimerange", "daterange", "time", "timerange", "week", "month", "monthrange", "year"], R = ["tree", "number", "icon", "color", "table", "map"], L = ["img", "array", "url"], k = ["cascader", "tree", "select"], K = ["slider"], V = L.concat([
|
|
34
22
|
"upload",
|
|
35
23
|
"dynamic",
|
|
36
24
|
"map",
|
|
@@ -42,17 +30,7 @@ const D = "fy-", f = {
|
|
|
42
30
|
"daterange",
|
|
43
31
|
"datetimerange",
|
|
44
32
|
"dates"
|
|
45
|
-
]), F = I.concat([
|
|
46
|
-
"select",
|
|
47
|
-
"checkbox",
|
|
48
|
-
"radio",
|
|
49
|
-
"cascader",
|
|
50
|
-
"tree",
|
|
51
|
-
"color",
|
|
52
|
-
"icon",
|
|
53
|
-
"table",
|
|
54
|
-
"map"
|
|
55
|
-
]), T = " | ", B = ",", y = {
|
|
33
|
+
]), F = I.concat(["select", "checkbox", "radio", "cascader", "tree", "color", "icon", "table", "map"]), T = " | ", B = ",", y = {
|
|
56
34
|
img: /\.(gif|jpg|jpeg|png|webp|svg|GIF|JPG|JPEG|PNG|WEBP|SVG)/,
|
|
57
35
|
video: /\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/,
|
|
58
36
|
audio: /\.(mp3|wav|MP3|WAV)/
|
|
@@ -352,20 +352,15 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
352
352
|
last_line: this.yylineno + 1,
|
|
353
353
|
first_column: this.yylloc.last_column,
|
|
354
354
|
last_column: e ? e[e.length - 1].length - 1 : this.yylloc.last_column + n[0].length
|
|
355
|
-
}, this.yytext += n[0], this.match += n[0], this.yyleng = this.yytext.length, this._more = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], t = this.performAction.call(
|
|
356
|
-
this,
|
|
357
|
-
this.yy,
|
|
358
|
-
this,
|
|
359
|
-
o[s],
|
|
360
|
-
this.conditionStack[this.conditionStack.length - 1]
|
|
361
|
-
), this.done && this._input && (this.done = !1), t || void 0;
|
|
355
|
+
}, this.yytext += n[0], this.match += n[0], this.yyleng = this.yytext.length, this._more = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], t = this.performAction.call(this, this.yy, this, o[s], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), t || void 0;
|
|
362
356
|
if (this._input === "")
|
|
363
357
|
return this.EOF;
|
|
364
|
-
this.parseError(
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
358
|
+
this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
359
|
+
` + this.showPosition(), {
|
|
360
|
+
text: "",
|
|
361
|
+
token: null,
|
|
362
|
+
line: this.yylineno
|
|
363
|
+
});
|
|
369
364
|
},
|
|
370
365
|
lex: function() {
|
|
371
366
|
var t = this.next();
|
package/dialog-form/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ var l = (t, e, o) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return t;
|
|
12
12
|
}, r = (t, e) => d(t, m(e));
|
|
13
13
|
import { isEmpty as b } from "@web-utils/core";
|
|
14
|
-
import { d as f } from "../chunks/util.
|
|
14
|
+
import { d as f } from "../chunks/util.ThVOTZAO.mjs";
|
|
15
15
|
import h from "vue";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
17
|
const i = {
|
package/easy-popup/index.mjs
CHANGED
|
@@ -88,10 +88,7 @@ const c = {
|
|
|
88
88
|
};
|
|
89
89
|
var m = function() {
|
|
90
90
|
var e = this, t = e._self._c;
|
|
91
|
-
return t("Transition", { attrs: { name: "easy-popup" } }, [e.rendered ? t("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }], ref: "container", class: [
|
|
92
|
-
"easy-popup",
|
|
93
|
-
{ "easy-popup__visible": e.visible, "easy-popup__hide": !e.visible, "flex-row": e.flexRow, "flex-column": e.flexColumn }
|
|
94
|
-
], style: e.position, on: { mouseleave: function(o) {
|
|
91
|
+
return t("Transition", { attrs: { name: "easy-popup" } }, [e.rendered ? t("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }], ref: "container", class: ["easy-popup", { "easy-popup__visible": e.visible, "easy-popup__hide": !e.visible, "flex-row": e.flexRow, "flex-column": e.flexColumn }], style: e.position, on: { mouseleave: function(o) {
|
|
95
92
|
e.hideOnMouseLeave && e.hide();
|
|
96
93
|
} } }, [e._t("default")], 2) : e._e()]);
|
|
97
94
|
}, x = [], v = /* @__PURE__ */ p(
|
package/editable-tree/index.mjs
CHANGED
|
@@ -458,11 +458,7 @@ const V = {
|
|
|
458
458
|
return this.$refs.tree.root;
|
|
459
459
|
},
|
|
460
460
|
findTreeNode(t) {
|
|
461
|
-
return L(
|
|
462
|
-
this.$refs.tree.root.childNodes,
|
|
463
|
-
(e) => e.data === t || e.data.id === t,
|
|
464
|
-
"childNodes"
|
|
465
|
-
);
|
|
461
|
+
return L(this.$refs.tree.root.childNodes, (e) => e.data === t || e.data.id === t, "childNodes");
|
|
466
462
|
},
|
|
467
463
|
registerNode(t) {
|
|
468
464
|
t.store.registerNode(t), delete t.store.nodesMap[-1];
|
package/egd-collapse/index.mjs
CHANGED
|
@@ -37,9 +37,7 @@ const i = {
|
|
|
37
37
|
},
|
|
38
38
|
handleItemClick(e) {
|
|
39
39
|
if (this.accordion)
|
|
40
|
-
this.setActiveNames(
|
|
41
|
-
(this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === e.name ? "" : e.name
|
|
42
|
-
);
|
|
40
|
+
this.setActiveNames((this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === e.name ? "" : e.name);
|
|
43
41
|
else {
|
|
44
42
|
const t = this.activeNames.slice(0), a = t.indexOf(e.name);
|
|
45
43
|
a > -1 ? t.splice(a, 1) : t.push(e.name), this.setActiveNames(t);
|
package/element-dialog/index.mjs
CHANGED
|
@@ -135,11 +135,7 @@ const g = {
|
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
created() {
|
|
138
|
-
this.$watch(
|
|
139
|
-
() => ({ offsetTop: this.offsetTop, verticalCenter: this.verticalCenter, top: this.top }),
|
|
140
|
-
this.computeTop,
|
|
141
|
-
{ deep: !0 }
|
|
142
|
-
);
|
|
138
|
+
this.$watch(() => ({ offsetTop: this.offsetTop, verticalCenter: this.verticalCenter, top: this.top }), this.computeTop, { deep: !0 });
|
|
143
139
|
},
|
|
144
140
|
mounted() {
|
|
145
141
|
return a(this, null, function* () {
|
package/flex-scroller/index.mjs
CHANGED
|
@@ -15,11 +15,7 @@ const o = {
|
|
|
15
15
|
};
|
|
16
16
|
var r = function() {
|
|
17
17
|
var l = this, e = l._self._c;
|
|
18
|
-
return e("div", { staticClass: "flex-scroller-wrapper" }, [e("div", { class: [
|
|
19
|
-
"flex-scroller",
|
|
20
|
-
{ "flex-column": l.flexColumn, "flex-row": l.flexRow, "content-scroll": l.contentScroll },
|
|
21
|
-
l.contentClass
|
|
22
|
-
] }, [l._t("default")], 2)]);
|
|
18
|
+
return e("div", { staticClass: "flex-scroller-wrapper" }, [e("div", { class: ["flex-scroller", { "flex-column": l.flexColumn, "flex-row": l.flexRow, "content-scroll": l.contentScroll }, l.contentClass] }, [l._t("default")], 2)]);
|
|
23
19
|
}, t = [], s = /* @__PURE__ */ n(
|
|
24
20
|
o,
|
|
25
21
|
r,
|
package/flow/index.mjs
CHANGED
package/flow-designer/index.mjs
CHANGED
|
@@ -163,11 +163,7 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
R(c, "bpmn:FlowNode") && (R(c, "bpmn:EventBasedGateway") ? y(l, {
|
|
166
|
-
"append.receive-task": f(
|
|
167
|
-
"bpmn:ReceiveTask",
|
|
168
|
-
"bpmn-icon-receive-task",
|
|
169
|
-
m("Append ReceiveTask")
|
|
170
|
-
),
|
|
166
|
+
"append.receive-task": f("bpmn:ReceiveTask", "bpmn-icon-receive-task", m("Append ReceiveTask")),
|
|
171
167
|
"append.message-intermediate-event": f(
|
|
172
168
|
"bpmn:IntermediateCatchEvent",
|
|
173
169
|
"bpmn-icon-intermediate-event-catch-message",
|
|
@@ -193,14 +189,9 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
193
189
|
{ eventDefinitionType: "bpmn:SignalEventDefinition" }
|
|
194
190
|
)
|
|
195
191
|
}) : ne(c, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? y(l, {
|
|
196
|
-
"append.compensation-activity": f(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
m("Append compensation activity"),
|
|
200
|
-
{
|
|
201
|
-
isForCompensation: !0
|
|
202
|
-
}
|
|
203
|
-
)
|
|
192
|
+
"append.compensation-activity": f("bpmn:Task", "bpmn-icon-task", m("Append compensation activity"), {
|
|
193
|
+
isForCompensation: !0
|
|
194
|
+
})
|
|
204
195
|
}) : !R(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !Ie(c) && y(l, {
|
|
205
196
|
"append.end-event": f("bpmn:EndEvent", "bpmn-icon-end-event-none", m("Append EndEvent")),
|
|
206
197
|
"append.gateway": f("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", m("Append Gateway")),
|
|
@@ -224,19 +215,12 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
224
215
|
}
|
|
225
216
|
}
|
|
226
217
|
}
|
|
227
|
-
}), N(c, [
|
|
228
|
-
"bpmn:FlowNode",
|
|
229
|
-
"bpmn:InteractionNode",
|
|
230
|
-
"bpmn:DataObjectReference",
|
|
231
|
-
"bpmn:DataStoreReference"
|
|
232
|
-
]) && y(l, {
|
|
218
|
+
}), N(c, ["bpmn:FlowNode", "bpmn:InteractionNode", "bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && y(l, {
|
|
233
219
|
"append.text-annotation": f("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
|
|
234
220
|
connect: {
|
|
235
221
|
group: "connect",
|
|
236
222
|
className: "bpmn-icon-connection-multi",
|
|
237
|
-
title: m(
|
|
238
|
-
`Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`
|
|
239
|
-
),
|
|
223
|
+
title: m(`Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`),
|
|
240
224
|
action: {
|
|
241
225
|
click: E,
|
|
242
226
|
dragstart: E
|
|
@@ -280,19 +264,7 @@ const Ue = {
|
|
|
280
264
|
contextPadProvider: ["type", J]
|
|
281
265
|
};
|
|
282
266
|
function L(n, e, t, i, s, a, r, o, p) {
|
|
283
|
-
oe.call(
|
|
284
|
-
this,
|
|
285
|
-
n,
|
|
286
|
-
e,
|
|
287
|
-
t,
|
|
288
|
-
i,
|
|
289
|
-
s,
|
|
290
|
-
a,
|
|
291
|
-
r,
|
|
292
|
-
o,
|
|
293
|
-
p,
|
|
294
|
-
2e3
|
|
295
|
-
), this._create = e, this._elementFactory = t, this._spaceTool = i, this._lassoTool = s, this._handTool = a, this._globalConnect = r, this._moddle = o, this._translate = p;
|
|
267
|
+
oe.call(this, n, e, t, i, s, a, r, o, p, 2e3), this._create = e, this._elementFactory = t, this._spaceTool = i, this._lassoTool = s, this._handTool = a, this._globalConnect = r, this._moddle = o, this._translate = p;
|
|
296
268
|
}
|
|
297
269
|
const Z = function() {
|
|
298
270
|
};
|
|
@@ -378,12 +350,7 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
378
350
|
}
|
|
379
351
|
},
|
|
380
352
|
"tool-separator": { group: "tools", separator: !0 },
|
|
381
|
-
"create.start-event": p(
|
|
382
|
-
"bpmn:StartEvent",
|
|
383
|
-
"event",
|
|
384
|
-
"bpmn-icon-start-event-none",
|
|
385
|
-
o("Create StartEvent")
|
|
386
|
-
),
|
|
353
|
+
"create.start-event": p("bpmn:StartEvent", "event", "bpmn-icon-start-event-none", o("Create StartEvent")),
|
|
387
354
|
"create.intermediate-event": p(
|
|
388
355
|
"bpmn:IntermediateThrowEvent",
|
|
389
356
|
"event",
|
|
@@ -391,18 +358,8 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
391
358
|
o("Create Intermediate/Boundary Event")
|
|
392
359
|
),
|
|
393
360
|
"create.user-task": p("bpmn:UserTask", "activity", "bpmn-icon-user-task", o("Create User Task")),
|
|
394
|
-
"create.exclusive-gateway": p(
|
|
395
|
-
|
|
396
|
-
"activity",
|
|
397
|
-
"bpmn-icon-gateway-none",
|
|
398
|
-
o("Create Gateway")
|
|
399
|
-
),
|
|
400
|
-
"create.end-event": p(
|
|
401
|
-
"bpmn:EndEvent",
|
|
402
|
-
"activity",
|
|
403
|
-
"bpmn-icon-end-event-none",
|
|
404
|
-
o("Create EndEvent")
|
|
405
|
-
),
|
|
361
|
+
"create.exclusive-gateway": p("bpmn:ExclusiveGateway", "activity", "bpmn-icon-gateway-none", o("Create Gateway")),
|
|
362
|
+
"create.end-event": p("bpmn:EndEvent", "activity", "bpmn-icon-end-event-none", o("Create EndEvent")),
|
|
406
363
|
// 'create.sql-task': createAction('user:MySql', 'activity', 'bpmn-icon-mysql', 'MySQL 节点'),
|
|
407
364
|
// 'create.data-object': createAction('bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object', translate('Create DataObjectReference')),
|
|
408
365
|
// 'create.data-store': createAction('bpmn:DataStoreReference', 'data-store', 'bpmn-icon-data-store', translate('Create DataStoreReference')),
|
|
@@ -428,17 +385,7 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
428
385
|
// 'create.group': createAction('bpmn:Group', 'artifact', 'bpmn-icon-group', translate('Create Group'))
|
|
429
386
|
}), n;
|
|
430
387
|
};
|
|
431
|
-
L.$inject = [
|
|
432
|
-
"palette",
|
|
433
|
-
"create",
|
|
434
|
-
"elementFactory",
|
|
435
|
-
"spaceTool",
|
|
436
|
-
"lassoTool",
|
|
437
|
-
"handTool",
|
|
438
|
-
"globalConnect",
|
|
439
|
-
"moddle",
|
|
440
|
-
"translate"
|
|
441
|
-
];
|
|
388
|
+
L.$inject = ["palette", "create", "elementFactory", "spaceTool", "lassoTool", "handTool", "globalConnect", "moddle", "translate"];
|
|
442
389
|
L.prototype = new Z();
|
|
443
390
|
L.prototype.constructor = L;
|
|
444
391
|
const Ne = {
|
|
@@ -1102,11 +1049,7 @@ const Ot = Lt.exports, Pt = {
|
|
|
1102
1049
|
n.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = T(u(u({}, this.defaultLoopInstanceForm), n.loopCharacteristics), {
|
|
1103
1050
|
completionCondition: (i = (t = (e = n.loopCharacteristics) == null ? void 0 : e.completionCondition) == null ? void 0 : t.body) != null ? i : "",
|
|
1104
1051
|
loopCardinality: (r = (a = (s = n.loopCharacteristics) == null ? void 0 : s.loopCardinality) == null ? void 0 : a.body) != null ? r : ""
|
|
1105
|
-
}), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, n.loopCharacteristics.extensionElements && n.loopCharacteristics.extensionElements.values && n.loopCharacteristics.extensionElements.values.length && this.$set(
|
|
1106
|
-
this.loopInstanceForm,
|
|
1107
|
-
"timeCycle",
|
|
1108
|
-
n.loopCharacteristics.extensionElements.values[0].body
|
|
1109
|
-
);
|
|
1052
|
+
}), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, n.loopCharacteristics.extensionElements && n.loopCharacteristics.extensionElements.values && n.loopCharacteristics.extensionElements.values.length && this.$set(this.loopInstanceForm, "timeCycle", n.loopCharacteristics.extensionElements.values[0].body);
|
|
1110
1053
|
},
|
|
1111
1054
|
changeLoopCharacteristicsType(n) {
|
|
1112
1055
|
if (n === "Null") {
|
|
@@ -1174,7 +1117,7 @@ var Mt = function() {
|
|
|
1174
1117
|
i.preventDefault();
|
|
1175
1118
|
} } }, [t("ElFormItem", { attrs: { label: "回路特性" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1176
1119
|
return [e._v(" 回路特性 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1177
|
-
return [t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("并行")]), e._v(" 一次性创建所有任务实例")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("串行")]), e._v(" 完成一个任务实例再创建一个任务实例,直到环节完成
|
|
1120
|
+
return [t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("并行")]), e._v(" 一次性创建所有任务实例")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("串行")]), e._v(" 完成一个任务实例再创建一个任务实例,直到环节完成")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("循环事件")]), e._v(" 未知")])])];
|
|
1178
1121
|
}, proxy: !0 }]) }, [t("i", { staticClass: "el-icon-info" })])];
|
|
1179
1122
|
}, proxy: !0 }]) }, [t("ElSelect", { on: { change: e.changeLoopCharacteristicsType }, model: { value: e.loopCharacteristics, callback: function(i) {
|
|
1180
1123
|
e.loopCharacteristics = i;
|
|
@@ -1198,9 +1141,9 @@ var Mt = function() {
|
|
|
1198
1141
|
e.$set(e.loopInstanceForm, "elementVariable", i);
|
|
1199
1142
|
}, expression: "loopInstanceForm.elementVariable" } })], 1), t("ElFormItem", { key: "completionCondition", attrs: { label: "完成条件" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1200
1143
|
return [e._v(" 完成条件 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1201
|
-
return [t("p", { staticClass: "flow-tips-title" }, [e._v("特殊流程变量:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfInstances")]), e._v(" 总实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfCompletedInstances")]), e._v(" 已完成的实例数
|
|
1202
|
-
}, proxy: !0 }], null, !1,
|
|
1203
|
-
}, proxy: !0 }], null, !1,
|
|
1144
|
+
return [t("p", { staticClass: "flow-tips-title" }, [e._v("特殊流程变量:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfInstances")]), e._v(" 总实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfCompletedInstances")]), e._v(" 已完成的实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfActiveInstances")]), e._v(" 未完成实例数")])]), t("p", { staticClass: "flow-tips-title" }, [e._v("示例:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances/nrOfInstances >= 1}")]), e._v(":所有实例完成结束该环节 ")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances/nrOfInstances >= 0.5}")]), e._v(":50%实例完成结束该环节 ")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances >= 1}")]), e._v(":有一个实例完成结束该环节")])]), t("p", { staticClass: "flow-tips-title" }, [e._v("不填要等所有实例完成才会结束该环节")])];
|
|
1145
|
+
}, proxy: !0 }], null, !1, 2952075778) }, [t("i", { staticClass: "el-icon-info" })])];
|
|
1146
|
+
}, proxy: !0 }], null, !1, 2319413861) }, [t("ElInput", { attrs: { clearable: "" }, on: { change: e.updateLoopCondition }, model: { value: e.loopInstanceForm.completionCondition, callback: function(i) {
|
|
1204
1147
|
e.$set(e.loopInstanceForm, "completionCondition", i);
|
|
1205
1148
|
}, expression: "loopInstanceForm.completionCondition" } })], 1), t("ElFormItem", { key: "async", attrs: { label: "异步状态" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1206
1149
|
return [e._v(" 异步状态 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
@@ -1520,9 +1463,7 @@ const be = {
|
|
|
1520
1463
|
methods: {
|
|
1521
1464
|
resetListenersList() {
|
|
1522
1465
|
var n, e, t, i;
|
|
1523
|
-
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter(
|
|
1524
|
-
(s) => s.$type === `${this.prefix}:ExecutionListener`
|
|
1525
|
-
)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1466
|
+
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:ExecutionListener`)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1526
1467
|
},
|
|
1527
1468
|
changeFiledType(n) {
|
|
1528
1469
|
n === "string" ? (delete this.listenerFieldForm.expression, this.$set(this.listenerFieldForm, "string", "")) : (delete this.listenerFieldForm.string, this.$set(this.listenerFieldForm, "expression", ""));
|
|
@@ -1566,11 +1507,7 @@ const be = {
|
|
|
1566
1507
|
removeListener(n, e) {
|
|
1567
1508
|
return d(this, null, function* () {
|
|
1568
1509
|
try {
|
|
1569
|
-
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(
|
|
1570
|
-
this.bpmnInstances,
|
|
1571
|
-
this.element,
|
|
1572
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
1573
|
-
);
|
|
1510
|
+
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
1574
1511
|
} catch (t) {
|
|
1575
1512
|
}
|
|
1576
1513
|
});
|
|
@@ -1582,13 +1519,7 @@ const be = {
|
|
|
1582
1519
|
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
1583
1520
|
return;
|
|
1584
1521
|
const e = ue(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
1585
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter(
|
|
1586
|
-
(r) => r.$type !== `${this.prefix}:ExecutionListener`
|
|
1587
|
-
)) != null ? a : [], U(
|
|
1588
|
-
this.bpmnInstances,
|
|
1589
|
-
this.element,
|
|
1590
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
1591
|
-
), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1522
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:ExecutionListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1592
1523
|
});
|
|
1593
1524
|
}
|
|
1594
1525
|
}
|
|
@@ -1715,10 +1646,7 @@ const nn = tn.exports, sn = {
|
|
|
1715
1646
|
methods: {
|
|
1716
1647
|
resetAttributesList() {
|
|
1717
1648
|
var n, e, t, i, s;
|
|
1718
|
-
this.otherExtensionList = [], this.bpmnElementProperties = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((a) => (a.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(a), a.$type === `${this.prefix}:Properties`))) != null ? i : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce(
|
|
1719
|
-
(a, r) => a.concat(r.values),
|
|
1720
|
-
[]
|
|
1721
|
-
), this.elementPropertyList = v((s = this.bpmnElementPropertyList) != null ? s : []);
|
|
1649
|
+
this.otherExtensionList = [], this.bpmnElementProperties = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((a) => (a.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(a), a.$type === `${this.prefix}:Properties`))) != null ? i : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((a, r) => a.concat(r.values), []), this.elementPropertyList = v((s = this.bpmnElementPropertyList) != null ? s : []);
|
|
1722
1650
|
},
|
|
1723
1651
|
openAttributesForm(n, e) {
|
|
1724
1652
|
this.editingPropertyIndex = e, this.propertyForm = e === -1 ? {} : v(n), this.propertyFormModelVisible = !0, this.$nextTick(() => {
|
|
@@ -1741,14 +1669,10 @@ const nn = tn.exports, sn = {
|
|
|
1741
1669
|
saveAttribute() {
|
|
1742
1670
|
const { name: n, value: e } = this.propertyForm;
|
|
1743
1671
|
if (this.editingPropertyIndex !== -1)
|
|
1744
|
-
this.bpmnInstances.modeling.updateModdleProperties(
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
name: n,
|
|
1749
|
-
value: e
|
|
1750
|
-
}
|
|
1751
|
-
);
|
|
1672
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.bpmnElementPropertyList[this.editingPropertyIndex], {
|
|
1673
|
+
name: n,
|
|
1674
|
+
value: e
|
|
1675
|
+
});
|
|
1752
1676
|
else {
|
|
1753
1677
|
const t = this.bpmnInstances.moddle.create(`${this.prefix}:Property`, { name: n, value: e }), i = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, {
|
|
1754
1678
|
values: this.bpmnElementPropertyList.concat([t])
|
|
@@ -2064,9 +1988,7 @@ const dn = un.exports, fn = {
|
|
|
2064
1988
|
methods: {
|
|
2065
1989
|
resetListenersList() {
|
|
2066
1990
|
var n, e, t, i;
|
|
2067
|
-
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter(
|
|
2068
|
-
(s) => s.$type === `${this.prefix}:TaskListener`
|
|
2069
|
-
)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1991
|
+
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:TaskListener`)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
2070
1992
|
},
|
|
2071
1993
|
openListenerForm(n, e) {
|
|
2072
1994
|
return d(this, null, function* () {
|
|
@@ -2080,11 +2002,7 @@ const dn = un.exports, fn = {
|
|
|
2080
2002
|
removeListener(n, e) {
|
|
2081
2003
|
return d(this, null, function* () {
|
|
2082
2004
|
try {
|
|
2083
|
-
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(
|
|
2084
|
-
this.bpmnInstances,
|
|
2085
|
-
this.element,
|
|
2086
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
2087
|
-
);
|
|
2005
|
+
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
2088
2006
|
} catch (t) {
|
|
2089
2007
|
}
|
|
2090
2008
|
});
|
|
@@ -2096,13 +2014,7 @@ const dn = un.exports, fn = {
|
|
|
2096
2014
|
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
2097
2015
|
return;
|
|
2098
2016
|
const e = ue(this.bpmnInstances, this.listenerForm, !0, this.prefix);
|
|
2099
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter(
|
|
2100
|
-
(r) => r.$type !== `${this.prefix}:TaskListener`
|
|
2101
|
-
)) != null ? a : [], U(
|
|
2102
|
-
this.bpmnInstances,
|
|
2103
|
-
this.element,
|
|
2104
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
2105
|
-
), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
2017
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:TaskListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
2106
2018
|
});
|
|
2107
2019
|
},
|
|
2108
2020
|
// 打开监听器字段编辑弹窗
|
package/flow-node/index.mjs
CHANGED
package/flow-viewer/index.mjs
CHANGED
|
@@ -161,13 +161,7 @@ const f = d.prototype._handleWheel, S = {
|
|
|
161
161
|
},
|
|
162
162
|
highlightFlow(i, t) {
|
|
163
163
|
this.elementRegistry.getAll().forEach((e) => {
|
|
164
|
-
[
|
|
165
|
-
"bpmn:StartEvent",
|
|
166
|
-
"bpmn:UserTask",
|
|
167
|
-
"bpmn:ExclusiveGateway",
|
|
168
|
-
"bpmn:ParallelGateway",
|
|
169
|
-
"bpmn:EndEvent"
|
|
170
|
-
].includes(e.type) && (i.includes(e.id) && !t.includes(e.id) ? this.canvas.addMarker(e, "highlight") : this.canvas.removeMarker(e, "highlight")), e.type === "bpmn:SequenceFlow" && (i.includes(e.id) ? this.canvas.addMarker(e, "highlight-line") : this.canvas.removeMarker(e, "highlight-line")), e.type === "bpmn:UserTask" && (t.includes(e.id) ? this.canvas.addMarker(e, "highlight-current") : this.canvas.removeMarker(e, "highlight-current"));
|
|
164
|
+
["bpmn:StartEvent", "bpmn:UserTask", "bpmn:ExclusiveGateway", "bpmn:ParallelGateway", "bpmn:EndEvent"].includes(e.type) && (i.includes(e.id) && !t.includes(e.id) ? this.canvas.addMarker(e, "highlight") : this.canvas.removeMarker(e, "highlight")), e.type === "bpmn:SequenceFlow" && (i.includes(e.id) ? this.canvas.addMarker(e, "highlight-line") : this.canvas.removeMarker(e, "highlight-line")), e.type === "bpmn:UserTask" && (t.includes(e.id) ? this.canvas.addMarker(e, "highlight-current") : this.canvas.removeMarker(e, "highlight-current"));
|
|
171
165
|
});
|
|
172
166
|
}
|
|
173
167
|
}
|
|
@@ -14,9 +14,7 @@ import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
|
14
14
|
import { d as f, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import n from "element-ui/lib/checkbox-group";
|
|
16
16
|
import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
-
const b = Object.keys(n.props || n.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
17
|
+
const b = Object.keys(n.props || n.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormCheckboxGroup",
|
|
21
19
|
mixins: [h, c],
|
|
22
20
|
props: {
|
package/form-input/index.mjs
CHANGED
|
@@ -13,9 +13,7 @@ import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
13
13
|
import u from "element-ui/lib/input";
|
|
14
14
|
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
-
const _ = Object.keys(u.props || u.default.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
|
-
), y = {
|
|
16
|
+
const _ = Object.keys(u.props || u.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
19
17
|
name: "FormInput",
|
|
20
18
|
mixins: [m],
|
|
21
19
|
props: {
|
|
@@ -13,9 +13,7 @@ import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
14
|
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
-
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter(
|
|
17
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
18
|
-
), v = {
|
|
16
|
+
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), v = {
|
|
19
17
|
name: "FormInputEmail",
|
|
20
18
|
mixins: [m],
|
|
21
19
|
props: {
|
|
@@ -14,9 +14,7 @@ import { validateIdCard as a } from "@web-utils/core";
|
|
|
14
14
|
import i from "element-ui/lib/input";
|
|
15
15
|
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
-
const v = Object.keys(i.props || i.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
17
|
+
const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormInputIdCard",
|
|
21
19
|
mixins: [m],
|
|
22
20
|
props: {
|
|
@@ -13,9 +13,7 @@ import { f as a } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
13
13
|
import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
14
|
import { i as c } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
|
|
15
15
|
import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
-
const _ = Object.keys(c.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)
|
|
18
|
-
), y = {
|
|
16
|
+
const _ = Object.keys(c.props).filter((r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)), y = {
|
|
19
17
|
name: "FormInputNumber",
|
|
20
18
|
mixins: [a],
|
|
21
19
|
props: {
|
|
@@ -14,9 +14,7 @@ import { validatePhoneNum as d } from "@web-utils/core";
|
|
|
14
14
|
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import s from "element-ui/lib/input";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
-
const h = Object.keys(s.props || s.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
17
|
+
const h = Object.keys(s.props || s.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormInputPhoneNumber",
|
|
21
19
|
mixins: [m],
|
|
22
20
|
props: {
|
|
@@ -13,9 +13,7 @@ import { f as u } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
13
13
|
import o from "element-ui/lib/time-picker";
|
|
14
14
|
import { d as f, n as d } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
-
const _ = Object.keys(o.props || o.default.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
|
-
), g = {
|
|
16
|
+
const _ = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), g = {
|
|
19
17
|
name: "FormInputTime",
|
|
20
18
|
mixins: [u],
|
|
21
19
|
props: {
|
|
@@ -14,9 +14,7 @@ import { f as h } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
15
|
import { d, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
-
const v = Object.keys(a.props || a.default.props).filter(
|
|
18
|
-
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
|
-
), _ = {
|
|
17
|
+
const v = Object.keys(a.props || a.default.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), _ = {
|
|
20
18
|
name: "FormRadioGroup",
|
|
21
19
|
mixins: [c, h],
|
|
22
20
|
props: {
|
|
@@ -90,11 +88,7 @@ const v = Object.keys(a.props || a.default.props).filter(
|
|
|
90
88
|
};
|
|
91
89
|
var b = function() {
|
|
92
90
|
var e = this, o = e._self._c;
|
|
93
|
-
return o("FormItem", e._b({ class: [
|
|
94
|
-
"form-radio-group",
|
|
95
|
-
{ "form-radio-group-row": e.fillRow, inline: e.inline },
|
|
96
|
-
e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"
|
|
97
|
-
], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
91
|
+
return o("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
98
92
|
return [o("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
|
|
99
93
|
return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] }, nativeOn: { click: function(i) {
|
|
100
94
|
return i.preventDefault(), i.stopPropagation(), e.toggle(r);
|