@web-utils/component 3.3.6 → 3.3.8
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.mjs +1 -1
- package/aside-menu/index.mjs +1 -1
- package/avatar/index.mjs +1 -1
- package/awesome-button/index.mjs +1 -1
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +1 -1
- package/carousel/index.mjs +1 -1
- package/chat/index.mjs +2 -2
- package/chunk-file-uploader/index.mjs +1 -1
- package/chunks/{FormTemp.2IfXIr8o.mjs → FormTemp.DBXY12r6.mjs} +4 -4
- package/chunks/{dataformat.Ab9PZnVk.mjs → dataformat.D_Opg_Hq.mjs} +1 -1
- package/chunks/{dic.7JBaVHv6.mjs → dic.BPoY9VwV.mjs} +1 -1
- package/chunks/{event.lbJYeMJp.mjs → event.X575VReS.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.DMuQta5I.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.CdcqXa2h.mjs} +1 -1
- package/chunks/{init.6oF7OO2W.mjs → init.CwDxjHXI.mjs} +3 -3
- package/code-mirror-editor/index.mjs +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- 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 +1 -1
- package/data-card/index.mjs +1 -1
- package/data-cardtext/index.mjs +1 -1
- package/data-display/index.mjs +1 -1
- package/data-icons/index.mjs +1 -1
- package/data-imgtext/index.mjs +1 -1
- package/data-operatext/index.mjs +1 -1
- package/data-panel/index.mjs +1 -1
- package/data-pay/index.mjs +1 -1
- package/data-price/index.mjs +1 -1
- package/data-progress/index.mjs +1 -1
- package/data-rotate/index.mjs +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +1 -1
- package/dialog-form/index.mjs +2 -2
- package/dynamic-table/index.mjs +1 -1
- package/e-charts/index.mjs +1 -1
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-tree/index.mjs +2 -2
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +1 -1
- package/empty-view/index.mjs +1 -1
- package/error-view/index.mjs +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +1 -1
- package/flow/index.mjs +2 -2
- package/flow-designer/index.mjs +79 -75
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +4 -4
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +4 -4
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-radio-group/index.mjs +4 -4
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +1 -1
- package/fy-array/index.mjs +3 -3
- package/fy-article/index.mjs +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +2 -2
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +9 -9
- package/fy-date/index.mjs +2 -2
- package/fy-draggable/index.mjs +2 -2
- package/fy-dynamic/index.mjs +3 -3
- package/fy-empty/index.mjs +2 -2
- package/fy-form/index.mjs +7 -7
- package/fy-form-design/index.mjs +3 -3
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +2 -2
- package/fy-input-map/index.mjs +2 -2
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +2 -2
- package/fy-input-tree/index.mjs +2 -2
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +2 -2
- package/fy-rate/index.mjs +2 -2
- package/fy-select/index.mjs +5 -5
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +2 -2
- package/fy-tree/index.mjs +3 -3
- package/fy-u-editor/index.mjs +2 -2
- package/fy-upload/index.mjs +4 -4
- package/guide-steps/index.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/icon-card/index.mjs +1 -1
- package/icon-temp/index.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +2 -2
- package/image-preview/index.mjs +2 -2
- package/image-viewer/index.mjs +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number-range/index.mjs +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +1 -1
- package/login/index.mjs +2 -2
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +1 -1
- package/not-implement/index.mjs +1 -1
- package/notice/index.mjs +1 -1
- package/package.json +12 -12
- package/page/index.mjs +1 -1
- package/page-header/index.mjs +1 -1
- package/page-index/index.mjs +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/pageable-table/index.mjs +2 -2
- package/pageable-view/index.mjs +2 -2
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +1 -1
- package/queue/index.mjs +1 -1
- package/record-video/index.mjs +2 -2
- package/resize-observer/index.mjs +2 -2
- package/search/index.mjs +3 -3
- package/search-popover/index.mjs +2 -2
- package/sign/index.mjs +2 -2
- package/sign-panel/index.mjs +1 -1
- package/skeleton/index.mjs +1 -1
- package/split-pane/index.mjs +1 -1
- package/stateful/index.mjs +1 -1
- package/static-pageable-table/index.mjs +1 -1
- package/swiper/index.mjs +1 -1
- package/tab/index.mjs +2 -2
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +2 -2
- package/tag-render/index.mjs +1 -1
- package/text-ellipsis/index.mjs +2 -2
- package/tinymce-editor/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/verify/index.mjs +2 -2
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/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.mjs +1 -1
- package/watermark/index.mjs +2 -2
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +1 -1
- /package/chunks/{_plugin-vue2_normalizer.JwmUNtgn.mjs → _plugin-vue2_normalizer.YT9tSeEj.mjs} +0 -0
- /package/chunks/{confirmable-mixin.GqdyYLEM.mjs → confirmable-mixin.D2KW-Qlc.mjs} +0 -0
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.BFTIVn_i.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.DwCBGcYk.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.CzjtGf2n.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.CvdU9XNm.mjs} +0 -0
- /package/chunks/{packages.2yUDw9GA.mjs → packages.CWPkeLu9.mjs} +0 -0
- /package/chunks/{permission.bUiJNk5J.mjs → permission.CO31YIkD.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.DXIbhGat.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.CVr9bZtn.mjs} +0 -0
- /package/chunks/{util.y1gUGRqi.mjs → util.CGBb6mdq.mjs} +0 -0
package/flow-designer/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var ge = Object.defineProperty, ve = Object.defineProperties;
|
|
2
2
|
var Ee = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Q = Object.getOwnPropertySymbols;
|
|
4
4
|
var Fe = Object.prototype.hasOwnProperty, xe = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ee = (n, e, t) => e in n ?
|
|
5
|
+
var ee = (n, e, t) => e in n ? ge(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, u = (n, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
Fe.call(e, t) && ee(n, t, e[t]);
|
|
8
8
|
if (Q)
|
|
9
9
|
for (var t of Q(e))
|
|
10
10
|
xe.call(e, t) && ee(n, t, e[t]);
|
|
11
11
|
return n;
|
|
12
|
-
}, T = (n, e) =>
|
|
12
|
+
}, T = (n, e) => ve(n, Ee(e));
|
|
13
13
|
var d = (n, e, t) => new Promise((i, s) => {
|
|
14
14
|
var a = (p) => {
|
|
15
15
|
try {
|
|
@@ -26,17 +26,17 @@ var d = (n, e, t) => new Promise((i, s) => {
|
|
|
26
26
|
}, o = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(a, r);
|
|
27
27
|
o((t = t.apply(n, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { assign as y, isArray as Se, forEach as Te, isObject as Ce, isFunction as ke, some as
|
|
29
|
+
import { assign as y, isArray as Se, forEach as Te, isObject as Ce, isFunction as ke, some as I } from "min-dash";
|
|
30
30
|
import { is as R } from "bpmn-js/lib/util/ModelUtil";
|
|
31
|
-
import { isExpanded as
|
|
31
|
+
import { isExpanded as _e, isEventSubProcess as Ie } from "bpmn-js/lib/util/DiUtil";
|
|
32
32
|
import { isAny as N } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
|
|
33
33
|
import { getChildLanes as we } from "bpmn-js/lib/features/modeling/util/LaneUtil";
|
|
34
34
|
import { hasPrimaryModifier as Ae } from "diagram-js/lib/util/Mouse";
|
|
35
35
|
import oe from "bpmn-js/lib/features/palette/PaletteProvider";
|
|
36
36
|
import K from "diagram-js/lib/features/auto-place/AutoPlace";
|
|
37
37
|
import { getMid as $e, asTRBL as Le } from "diagram-js/lib/layout/LayoutUtil";
|
|
38
|
-
import { fastClone as
|
|
39
|
-
import { n as h } from "../chunks/_plugin-vue2_normalizer.
|
|
38
|
+
import { fastClone as v, isBlank as Oe, capitalize as Pe, isArray as te } from "@web-utils/core";
|
|
39
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
40
40
|
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
41
41
|
import "bpmn-js/dist/assets/diagram-js.css";
|
|
42
42
|
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
@@ -86,14 +86,14 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
86
86
|
t.removeElements([n]);
|
|
87
87
|
}
|
|
88
88
|
function C(b) {
|
|
89
|
-
const
|
|
89
|
+
const g = o.getContainer(), A = e.getPad(b).html, $ = g.getBoundingClientRect(), M = A.getBoundingClientRect(), D = M.top - $.top;
|
|
90
90
|
return {
|
|
91
91
|
x: M.left - $.left,
|
|
92
92
|
y: D + M.height + 5
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
function f(b, S,
|
|
96
|
-
typeof
|
|
95
|
+
function f(b, S, g, A) {
|
|
96
|
+
typeof g != "string" && (A = g, g = m("Append {type}", { type: b.replace(/^bpmn:/, "") }));
|
|
97
97
|
function $(D, B) {
|
|
98
98
|
const V = i.createShape(y({ type: b }, A));
|
|
99
99
|
a.start(D, V, {
|
|
@@ -103,7 +103,7 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
103
103
|
return {
|
|
104
104
|
group: "model",
|
|
105
105
|
className: S,
|
|
106
|
-
title:
|
|
106
|
+
title: g,
|
|
107
107
|
action: {
|
|
108
108
|
dragstart: $,
|
|
109
109
|
click: F ? function(D, B) {
|
|
@@ -114,11 +114,11 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
function P(b) {
|
|
117
|
-
return function(S,
|
|
118
|
-
t.splitLane(
|
|
117
|
+
return function(S, g) {
|
|
118
|
+
t.splitLane(g, b), e.open(g, !0);
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
if (N(c, ["bpmn:Lane", "bpmn:Participant"]) &&
|
|
121
|
+
if (N(c, ["bpmn:Lane", "bpmn:Participant"]) && _e(c)) {
|
|
122
122
|
const b = we(n);
|
|
123
123
|
y(l, {
|
|
124
124
|
"lane-insert-above": {
|
|
@@ -126,8 +126,8 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
126
126
|
className: "bpmn-icon-lane-insert-above",
|
|
127
127
|
title: m("Add Lane above"),
|
|
128
128
|
action: {
|
|
129
|
-
click: function(S,
|
|
130
|
-
t.addLane(
|
|
129
|
+
click: function(S, g) {
|
|
130
|
+
t.addLane(g, "top");
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -155,8 +155,8 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
155
155
|
className: "bpmn-icon-lane-insert-below",
|
|
156
156
|
title: m("Add Lane below"),
|
|
157
157
|
action: {
|
|
158
|
-
click: function(S,
|
|
159
|
-
t.addLane(
|
|
158
|
+
click: function(S, g) {
|
|
159
|
+
t.addLane(g, "bottom");
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
@@ -201,7 +201,7 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
201
201
|
isForCompensation: !0
|
|
202
202
|
}
|
|
203
203
|
)
|
|
204
|
-
}) : !R(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !
|
|
204
|
+
}) : !R(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !Ie(c) && y(l, {
|
|
205
205
|
"append.end-event": f("bpmn:EndEvent", "bpmn-icon-end-event-none", m("Append EndEvent")),
|
|
206
206
|
"append.gateway": f("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", m("Append Gateway")),
|
|
207
207
|
"append.append-task": f("bpmn:UserTask", "bpmn-icon-user-task", m("Append Task")),
|
|
@@ -217,10 +217,10 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
217
217
|
title: m("Change type"),
|
|
218
218
|
action: {
|
|
219
219
|
click: function(b, S) {
|
|
220
|
-
const
|
|
220
|
+
const g = y(C(S), {
|
|
221
221
|
cursor: { x: b.x, y: b.y }
|
|
222
222
|
});
|
|
223
|
-
r.open(S, "bpmn-replace",
|
|
223
|
+
r.open(S, "bpmn-replace", g);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
@@ -618,7 +618,7 @@ const tt = (n, e = "body") => n ? n.get(e) : null, nt = (n, e, t = "body", i) =>
|
|
|
618
618
|
methods: {
|
|
619
619
|
init(n) {
|
|
620
620
|
const { businessObject: e } = this.element;
|
|
621
|
-
n ? (this.businessObject =
|
|
621
|
+
n ? (this.businessObject = v(e), this.businessObject.$type === "bpmn:SubProcess" && this.$set(this.businessObject, "isExpanded", this.element.di.isExpanded)) : this.businessObject = {}, this.skipExpression = tt(e, this.skipExpressionProp);
|
|
622
622
|
},
|
|
623
623
|
updateBaseInfo(n) {
|
|
624
624
|
const { modeling: e } = this.bpmnInstances;
|
|
@@ -819,7 +819,7 @@ var bt = function() {
|
|
|
819
819
|
null,
|
|
820
820
|
null
|
|
821
821
|
);
|
|
822
|
-
const
|
|
822
|
+
const gt = ht.exports, vt = {
|
|
823
823
|
name: "ScriptTask",
|
|
824
824
|
props: {
|
|
825
825
|
id: String,
|
|
@@ -890,7 +890,7 @@ var Et = function() {
|
|
|
890
890
|
e.$set(e.scriptTaskForm, "resultVariable", i);
|
|
891
891
|
}, expression: "scriptTaskForm.resultVariable" } })], 1)], 1);
|
|
892
892
|
}, Ft = [], xt = /* @__PURE__ */ h(
|
|
893
|
-
|
|
893
|
+
vt,
|
|
894
894
|
Et,
|
|
895
895
|
Ft,
|
|
896
896
|
!1,
|
|
@@ -958,7 +958,7 @@ var Ct = function() {
|
|
|
958
958
|
e.bindMessageId = i;
|
|
959
959
|
}, expression: "bindMessageId" } }, e._l(Object.keys(e.messageMap), function(i) {
|
|
960
960
|
return t("ElOption", { key: i, attrs: { value: i, label: e.messageMap[i] } });
|
|
961
|
-
}), 1), t("ElButton", { staticStyle: { "margin-left": "8px" }, attrs: { size: "mini", type: "primary", icon: "el-icon-plus" }, on: { click: e.openMessageModel } })], 1)]), t("ElementDialog", { attrs: { visible: e.messageModelVisible, "close-on-click-modal": !1, title: "创建新消息", width: "400px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
961
|
+
}), 1), t("ElButton", { staticStyle: { "margin-left": "8px" }, attrs: { size: "mini", type: "primary", icon: "el-icon-plus" }, on: { click: e.openMessageModel } })], 1)]), t("ElementDialog", { staticClass: "flow-dialog", attrs: { visible: e.messageModelVisible, "close-on-click-modal": !1, title: "创建新消息", width: "400px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
962
962
|
e.messageModelVisible = i;
|
|
963
963
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
964
964
|
return [t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.createNewMessage } }, [e._v("确 认")])];
|
|
@@ -969,7 +969,7 @@ var Ct = function() {
|
|
|
969
969
|
}, expression: "newMessageForm.id" } })], 1), t("ElFormItem", { attrs: { label: "消息名称" } }, [t("ElInput", { attrs: { clearable: "" }, model: { value: e.newMessageForm.name, callback: function(i) {
|
|
970
970
|
e.$set(e.newMessageForm, "name", i);
|
|
971
971
|
}, expression: "newMessageForm.name" } })], 1)], 1)], 1)], 1);
|
|
972
|
-
}, kt = [],
|
|
972
|
+
}, kt = [], _t = /* @__PURE__ */ h(
|
|
973
973
|
Tt,
|
|
974
974
|
Ct,
|
|
975
975
|
kt,
|
|
@@ -979,9 +979,9 @@ var Ct = function() {
|
|
|
979
979
|
null,
|
|
980
980
|
null
|
|
981
981
|
);
|
|
982
|
-
const
|
|
982
|
+
const It = _t.exports, wt = {
|
|
983
983
|
name: "ElementTaskConfig",
|
|
984
|
-
components: { UserTask:
|
|
984
|
+
components: { UserTask: gt, ScriptTask: St, ReceiveTask: It },
|
|
985
985
|
props: {
|
|
986
986
|
id: String,
|
|
987
987
|
element: Object,
|
|
@@ -1176,7 +1176,7 @@ var Mt = function() {
|
|
|
1176
1176
|
return [e._v(" 回路特性 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1177
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(" 完成一个任务实例再创建一个任务实例,直到环节完成 ")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("循环事件")]), e._v(" 未知")])])];
|
|
1178
1178
|
}, proxy: !0 }]) }, [t("i", { staticClass: "el-icon-info" })])];
|
|
1179
|
-
}, proxy: !0 }]) }, [t("ElSelect", {
|
|
1179
|
+
}, proxy: !0 }]) }, [t("ElSelect", { on: { change: e.changeLoopCharacteristicsType }, model: { value: e.loopCharacteristics, callback: function(i) {
|
|
1180
1180
|
e.loopCharacteristics = i;
|
|
1181
1181
|
}, expression: "loopCharacteristics" } }, [t("ElOption", { attrs: { label: "并行", value: "ParallelMultiInstance" } }), t("ElOption", { attrs: { label: "串行", value: "SequentialMultiInstance" } }), t("ElOption", { attrs: { label: "循环事件", value: "StandardLoop" } }), t("ElOption", { attrs: { label: "无", value: "Null" } })], 1)], 1), e.loopCharacteristics === "ParallelMultiInstance" || e.loopCharacteristics === "SequentialMultiInstance" ? [t("ElFormItem", { key: "loopCardinality", attrs: { label: "循环基数" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1182
1182
|
return [e._v(" 循环基数 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
@@ -1385,7 +1385,7 @@ var qt = function() {
|
|
|
1385
1385
|
return e.openModel("message");
|
|
1386
1386
|
} } }, [e._v("创建新消息")])], 1), t("ElTable", { attrs: { data: e.messageList, size: "mini", border: "" } }, [t("ElTableColumn", { attrs: { type: "index", label: "序号", width: "60px" } }), t("ElTableColumn", { attrs: { label: "消息ID", prop: "id", "max-width": "300px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "消息名称", prop: "name", "max-width": "300px", "show-overflow-tooltip": "" } })], 1), t("div", { staticClass: "panel-tab__content--title", staticStyle: { "margin-top": "8px", "padding-top": "8px", "border-top": "1px solid #eee" } }, [e._m(1), t("ElButton", { attrs: { size: "mini", type: "primary", icon: "el-icon-plus" }, on: { click: function(i) {
|
|
1387
1387
|
return e.openModel("signal");
|
|
1388
|
-
} } }, [e._v("创建新信号")])], 1), t("ElTable", { attrs: { data: e.signalList, size: "mini", border: "" } }, [t("ElTableColumn", { attrs: { type: "index", label: "序号", width: "60px" } }), t("ElTableColumn", { attrs: { label: "信号ID", prop: "id", "max-width": "300px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "信号名称", prop: "name", "max-width": "300px", "show-overflow-tooltip": "" } })], 1), t("ElementDialog", { attrs: { visible: e.modelVisible, title: e.modelConfig.title, "close-on-click-modal": !1, width: "400px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1388
|
+
} } }, [e._v("创建新信号")])], 1), t("ElTable", { attrs: { data: e.signalList, size: "mini", border: "" } }, [t("ElTableColumn", { attrs: { type: "index", label: "序号", width: "60px" } }), t("ElTableColumn", { attrs: { label: "信号ID", prop: "id", "max-width": "300px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "信号名称", prop: "name", "max-width": "300px", "show-overflow-tooltip": "" } })], 1), t("ElementDialog", { staticClass: "flow-dialog", attrs: { visible: e.modelVisible, title: e.modelConfig.title, "close-on-click-modal": !1, width: "400px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1389
1389
|
e.modelVisible = i;
|
|
1390
1390
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
1391
1391
|
return [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
@@ -1430,7 +1430,7 @@ function de(n) {
|
|
|
1430
1430
|
function fe(n) {
|
|
1431
1431
|
var t, i;
|
|
1432
1432
|
let e;
|
|
1433
|
-
return n.class && (e = "classListener"), n.expression && (e = "expressionListener"), n.delegateExpression && (e = "delegateExpressionListener"), n.script && (e = "scriptListener"), T(u(u({},
|
|
1433
|
+
return n.class && (e = "classListener"), n.expression && (e = "expressionListener"), n.delegateExpression && (e = "delegateExpressionListener"), n.script && (e = "scriptListener"), T(u(u({}, v(n)), (t = n.script) != null ? t : {}), {
|
|
1434
1434
|
fields: (i = n.fields) == null ? void 0 : i.map((s) => T(u({}, s), { fieldType: s.expression ? "expression" : "string" })),
|
|
1435
1435
|
listenerType: e
|
|
1436
1436
|
});
|
|
@@ -1450,7 +1450,7 @@ const be = {
|
|
|
1450
1450
|
}, ye = {
|
|
1451
1451
|
string: "字符串",
|
|
1452
1452
|
expression: "表达式"
|
|
1453
|
-
}, Wt = (n
|
|
1453
|
+
}, Wt = (n) => ({
|
|
1454
1454
|
$type: "flowable:ExecutionListener",
|
|
1455
1455
|
event: n === "draft" ? "start" : n,
|
|
1456
1456
|
// eslint-disable-next-line no-template-curly-in-string
|
|
@@ -1543,7 +1543,7 @@ const be = {
|
|
|
1543
1543
|
},
|
|
1544
1544
|
// 打开监听器字段编辑弹窗
|
|
1545
1545
|
openListenerFieldForm(n, e) {
|
|
1546
|
-
this.listenerFieldForm = n ?
|
|
1546
|
+
this.listenerFieldForm = n ? v(n) : { fieldType: "string" }, this.editingListenerFieldIndex = n ? e : -1, this.listenerFieldFormModelVisible = !0, this.$nextTick(() => {
|
|
1547
1547
|
this.$refs.listenerFieldFormRef && this.$refs.listenerFieldFormRef.clearValidate();
|
|
1548
1548
|
});
|
|
1549
1549
|
},
|
|
@@ -1614,9 +1614,9 @@ var Qt = function() {
|
|
|
1614
1614
|
return e.assignListener("draft");
|
|
1615
1615
|
} } }, [e._v("草稿")])], 1), t("ElForm", { ref: "listenerFormRef", attrs: { size: "mini", model: e.listenerForm, "label-width": "96px" }, nativeOn: { submit: function(r) {
|
|
1616
1616
|
r.preventDefault();
|
|
1617
|
-
} } }, [t("ElFormItem", { attrs: { label: "事件类型", prop: "event", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", {
|
|
1617
|
+
} } }, [t("ElFormItem", { attrs: { label: "事件类型", prop: "event", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", { model: { value: e.listenerForm.event, callback: function(r) {
|
|
1618
1618
|
e.$set(e.listenerForm, "event", r);
|
|
1619
|
-
}, expression: "listenerForm.event" } }, [t("ElOption", { attrs: { label: "开始", value: "start" } }), t("ElOption", { attrs: { label: "结束", value: "end" } })], 1)], 1), t("ElFormItem", { attrs: { label: "监听器类型", prop: "listenerType", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", {
|
|
1619
|
+
}, expression: "listenerForm.event" } }, [t("ElOption", { attrs: { label: "开始", value: "start" } }), t("ElOption", { attrs: { label: "结束", value: "end" } })], 1)], 1), t("ElFormItem", { attrs: { label: "监听器类型", prop: "listenerType", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", { model: { value: e.listenerForm.listenerType, callback: function(r) {
|
|
1620
1620
|
e.$set(e.listenerForm, "listenerType", r);
|
|
1621
1621
|
}, expression: "listenerForm.listenerType" } }, e._l(Object.keys(e.listenerTypeObject), function(r) {
|
|
1622
1622
|
return t("ElOption", { key: r, attrs: { label: e.listenerTypeObject[r], value: r } });
|
|
@@ -1624,7 +1624,7 @@ var Qt = function() {
|
|
|
1624
1624
|
e.$set(e.listenerForm, "class", r);
|
|
1625
1625
|
}, expression: "listenerForm.class" } })], 1) : e._e(), e.listenerForm.listenerType === "expressionListener" ? t("ElFormItem", { key: "listener-expression", attrs: { label: "表达式", prop: "expression", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElInput", { attrs: { clearable: "" }, model: { value: e.listenerForm.expression, callback: function(r) {
|
|
1626
1626
|
e.$set(e.listenerForm, "expression", r);
|
|
1627
|
-
}, expression: "listenerForm.expression" } })], 1) : e._e(), e.listenerForm.listenerType === "delegateExpressionListener" ? t("ElFormItem", { key: "listener-delegate", attrs: { label: "代理表达式", prop: "delegateExpression", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", {
|
|
1627
|
+
}, expression: "listenerForm.expression" } })], 1) : e._e(), e.listenerForm.listenerType === "delegateExpressionListener" ? t("ElFormItem", { key: "listener-delegate", attrs: { label: "代理表达式", prop: "delegateExpression", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", { attrs: { "default-first-option": "", "allow-create": "", filterable: "", clearable: "" }, model: { value: e.listenerForm.delegateExpression, callback: function(r) {
|
|
1628
1628
|
e.$set(e.listenerForm, "delegateExpression", r);
|
|
1629
1629
|
}, expression: "listenerForm.delegateExpression" } }, e._l(((i = e.context) == null ? void 0 : i.delegateExpressions) || [], function(r) {
|
|
1630
1630
|
return t("ElOption", { key: r, attrs: { value: r, label: r } });
|
|
@@ -1646,7 +1646,7 @@ var Qt = function() {
|
|
|
1646
1646
|
} } }, [e._v(" 移除 ")])];
|
|
1647
1647
|
} }]) })], 1), t("div", { staticClass: "element-drawer__button" }, [t("ElButton", { attrs: { size: "mini" }, on: { click: function(r) {
|
|
1648
1648
|
e.listenerFormModelVisible = !1;
|
|
1649
|
-
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveListenerConfig } }, [e._v("保 存")])], 1)], 1), t("ElementDialog", { attrs: { title: "字段配置", visible: e.listenerFieldFormModelVisible, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(r) {
|
|
1649
|
+
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveListenerConfig } }, [e._v("保 存")])], 1)], 1), t("ElementDialog", { staticClass: "flow-dialog", attrs: { title: "字段配置", visible: e.listenerFieldFormModelVisible, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(r) {
|
|
1650
1650
|
e.listenerFieldFormModelVisible = r;
|
|
1651
1651
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
1652
1652
|
return [t("ElButton", { attrs: { size: "mini" }, on: { click: function(r) {
|
|
@@ -1654,19 +1654,19 @@ var Qt = function() {
|
|
|
1654
1654
|
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveListenerFiled } }, [e._v("确 定")])];
|
|
1655
1655
|
}, proxy: !0 }]) }, [t("ElForm", { ref: "listenerFieldFormRef", staticStyle: { height: "136px" }, attrs: { model: e.listenerFieldForm, size: "mini", "label-width": "96px" }, nativeOn: { submit: function(r) {
|
|
1656
1656
|
r.preventDefault();
|
|
1657
|
-
} } }, [t("ElFormItem", { attrs: { label: "字段名称:", prop: "name", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", {
|
|
1657
|
+
} } }, [t("ElFormItem", { attrs: { label: "字段名称:", prop: "name", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", { attrs: { "default-first-option": "", "allow-create": "", filterable: "", clearable: "" }, on: { input: e.setDefaultFieldValue }, model: { value: e.listenerFieldForm.name, callback: function(r) {
|
|
1658
1658
|
e.$set(e.listenerFieldForm, "name", r);
|
|
1659
1659
|
}, expression: "listenerFieldForm.name" } }, e._l(((s = e.context) == null ? void 0 : s.fields) || [], function(r) {
|
|
1660
1660
|
return t("ElOption", { key: r, attrs: { value: r, label: r } });
|
|
1661
|
-
}), 1)], 1), t("ElFormItem", { attrs: { label: "字段类型:", prop: "fieldType", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", {
|
|
1661
|
+
}), 1)], 1), t("ElFormItem", { attrs: { label: "字段类型:", prop: "fieldType", rules: { required: !0, trigger: ["blur", "change"] } } }, [t("ElSelect", { on: { input: e.changeFiledType }, model: { value: e.listenerFieldForm.fieldType, callback: function(r) {
|
|
1662
1662
|
e.$set(e.listenerFieldForm, "fieldType", r);
|
|
1663
1663
|
}, expression: "listenerFieldForm.fieldType" } }, e._l(Object.keys(e.fieldTypeObject), function(r) {
|
|
1664
1664
|
return t("ElOption", { key: r, attrs: { label: e.fieldTypeObject[r], value: r } });
|
|
1665
|
-
}), 1)], 1), e.listenerFieldForm.fieldType === "string" ? t("ElFormItem", { key: "field-string", staticClass: "element-listeners-field-name", attrs: { label: "字段值:", prop: "string", rules: { required: !0, trigger: ["blur", "change"] } } }, [e.listenerFieldForm.name === "url" ? t("ElSelect", {
|
|
1665
|
+
}), 1)], 1), e.listenerFieldForm.fieldType === "string" ? t("ElFormItem", { key: "field-string", staticClass: "element-listeners-field-name", attrs: { label: "字段值:", prop: "string", rules: { required: !0, trigger: ["blur", "change"] } } }, [e.listenerFieldForm.name === "url" ? t("ElSelect", { attrs: { "default-first-option": "", "allow-create": "", filterable: "", clearable: "" }, model: { value: e.listenerFieldForm.string, callback: function(r) {
|
|
1666
1666
|
e.$set(e.listenerFieldForm, "string", r);
|
|
1667
1667
|
}, expression: "listenerFieldForm.string" } }, e._l(e.apis, function(r) {
|
|
1668
1668
|
return t("ElOption", { key: r, attrs: { value: r, label: r } });
|
|
1669
|
-
}), 1) : e.listenerFieldForm.name === "serviceId" ? t("ElSelect", {
|
|
1669
|
+
}), 1) : e.listenerFieldForm.name === "serviceId" ? t("ElSelect", { attrs: { "default-first-option": "", "allow-create": "", filterable: "", clearable: "" }, model: { value: e.listenerFieldForm.string, callback: function(r) {
|
|
1670
1670
|
e.$set(e.listenerFieldForm, "string", r);
|
|
1671
1671
|
}, expression: "listenerFieldForm.string" } }, e._l(((a = e.context) == null ? void 0 : a.services) || [], function(r) {
|
|
1672
1672
|
return t("ElOption", { key: r, attrs: { value: r, label: r } });
|
|
@@ -1718,10 +1718,10 @@ const nn = tn.exports, sn = {
|
|
|
1718
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
1719
|
(a, r) => a.concat(r.values),
|
|
1720
1720
|
[]
|
|
1721
|
-
), this.elementPropertyList =
|
|
1721
|
+
), this.elementPropertyList = v((s = this.bpmnElementPropertyList) != null ? s : []);
|
|
1722
1722
|
},
|
|
1723
1723
|
openAttributesForm(n, e) {
|
|
1724
|
-
this.editingPropertyIndex = e, this.propertyForm = e === -1 ? {} :
|
|
1724
|
+
this.editingPropertyIndex = e, this.propertyForm = e === -1 ? {} : v(n), this.propertyFormModelVisible = !0, this.$nextTick(() => {
|
|
1725
1725
|
this.$refs.attributeFormRef && this.$refs.attributeFormRef.clearValidate();
|
|
1726
1726
|
});
|
|
1727
1727
|
},
|
|
@@ -1777,7 +1777,7 @@ var rn = function() {
|
|
|
1777
1777
|
} } }, [e._v("移除")])];
|
|
1778
1778
|
} }]) })], 1), t("div", { staticClass: "element-drawer__button" }, [t("ElButton", { attrs: { size: "mini", type: "primary", icon: "el-icon-plus" }, on: { click: function(i) {
|
|
1779
1779
|
return e.openAttributesForm(null, -1);
|
|
1780
|
-
} } }, [e._v("添加属性")])], 1), t("ElementDialog", { attrs: { visible: e.propertyFormModelVisible, title: "属性配置", width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1780
|
+
} } }, [e._v("添加属性")])], 1), t("ElementDialog", { staticClass: "flow-dialog", attrs: { visible: e.propertyFormModelVisible, title: "属性配置", width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1781
1781
|
e.propertyFormModelVisible = i;
|
|
1782
1782
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
1783
1783
|
return [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
@@ -1857,7 +1857,7 @@ const ln = on.exports, pn = {
|
|
|
1857
1857
|
methods: {
|
|
1858
1858
|
resetFormList() {
|
|
1859
1859
|
var n;
|
|
1860
|
-
this.formKey = this.element.businessObject.formKey, this.elExtensionElements = this.element.businessObject.get("extensionElements") || this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [] }), this.formData = ((n = this.elExtensionElements.values.filter((e) => e.$type === `${this.prefix}:FormData`)) == null ? void 0 : n[0]) || this.bpmnInstances.moddle.create(`${this.prefix}:FormData`, { fields: [] }), this.businessKey = this.formData.businessKey, this.otherExtensions = this.elExtensionElements.values.filter((e) => e.$type !== `${this.prefix}:FormData`), this.fieldList =
|
|
1860
|
+
this.formKey = this.element.businessObject.formKey, this.elExtensionElements = this.element.businessObject.get("extensionElements") || this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [] }), this.formData = ((n = this.elExtensionElements.values.filter((e) => e.$type === `${this.prefix}:FormData`)) == null ? void 0 : n[0]) || this.bpmnInstances.moddle.create(`${this.prefix}:FormData`, { fields: [] }), this.businessKey = this.formData.businessKey, this.otherExtensions = this.elExtensionElements.values.filter((e) => e.$type !== `${this.prefix}:FormData`), this.fieldList = v(this.formData.fields || []), this.updateElementExtensions();
|
|
1861
1861
|
},
|
|
1862
1862
|
updateElementFormKey() {
|
|
1863
1863
|
this.bpmnInstances.modeling.updateProperties(this.element, { formKey: this.formKey });
|
|
@@ -1876,14 +1876,14 @@ const ln = on.exports, pn = {
|
|
|
1876
1876
|
var t, i;
|
|
1877
1877
|
if (this.formFieldIndex = e, e !== -1) {
|
|
1878
1878
|
const s = this.formData.fields[e];
|
|
1879
|
-
this.formFieldForm =
|
|
1879
|
+
this.formFieldForm = v(n), this.$set(this.formFieldForm, "typeType", this.fieldType[n.type] ? n.type : "custom"), n.type === "enum" && (this.fieldEnumList = v((s == null ? void 0 : s.values) || [])), this.fieldConstraintsList = v(((t = s == null ? void 0 : s.validation) == null ? void 0 : t.constraints) || []), this.fieldPropertiesList = v(((i = s == null ? void 0 : s.properties) == null ? void 0 : i.values) || []);
|
|
1880
1880
|
} else
|
|
1881
1881
|
this.formFieldForm = {}, this.fieldEnumList = [], this.fieldConstraintsList = [], this.fieldPropertiesList = [];
|
|
1882
1882
|
this.fieldModelVisible = !0;
|
|
1883
1883
|
},
|
|
1884
1884
|
// 打开字段 某个 配置项 弹窗
|
|
1885
1885
|
openFieldOptionForm(n, e, t) {
|
|
1886
|
-
return this.fieldOptionModelVisible = !0, this.fieldOptionType = t, this.formFieldOptionIndex = e, t === "property" ? (this.fieldOptionForm = n ?
|
|
1886
|
+
return this.fieldOptionModelVisible = !0, this.fieldOptionType = t, this.formFieldOptionIndex = e, t === "property" ? (this.fieldOptionForm = n ? v(n) : {}, this.optionModelTitle = "属性配置") : t === "enum" ? (this.fieldOptionForm = n ? v(n) : {}, this.optionModelTitle = "枚举值配置") : (this.fieldOptionForm = n ? v(n) : {}, this.optionModelTitle = "约束条件配置");
|
|
1887
1887
|
},
|
|
1888
1888
|
// 保存字段 某个 配置项
|
|
1889
1889
|
saveFieldOption() {
|
|
@@ -1976,7 +1976,7 @@ var mn = function() {
|
|
|
1976
1976
|
} } }, [e._v("编辑")]), t("ElDivider", { attrs: { direction: "vertical" } }), t("ElButton", { staticStyle: { color: "#ff4d4f" }, attrs: { size: "mini", type: "text" }, on: { click: function(a) {
|
|
1977
1977
|
return e.removeFieldOptionItem(i, s, "enum");
|
|
1978
1978
|
} } }, [e._v("移除")])];
|
|
1979
|
-
} }], null, !1, 747635382) })], 1)] : e._e(), t("ElDivider", { key: "validation-divider" }), t("p", { key: "validation-title", staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("约束条件列表:")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
1979
|
+
} }], null, !1, 747635382) })], 1)] : e._e(), t("ElDivider", { key: "validation-divider" }), t("p", { key: "validation-title", staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("约束条件列表:")]), t("ElButton", { staticStyle: { "margin-left": "auto" }, attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
1980
1980
|
return e.openFieldOptionForm(null, -1, "constraint");
|
|
1981
1981
|
} } }, [e._v("添加约束")])], 1), t("ElTable", { key: "validation-table", attrs: { data: e.fieldConstraintsList, size: "mini", "max-height": "240", border: "", fit: "" } }, [t("ElTableColumn", { attrs: { label: "序号", width: "50px", type: "index" } }), t("ElTableColumn", { attrs: { label: "约束名称", prop: "name", "min-width": "100px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "约束配置", prop: "config", "min-width": "100px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "操作", width: "90px" }, scopedSlots: e._u([{ key: "default", fn: function({ row: i, $index: s }) {
|
|
1982
1982
|
return [t("ElButton", { attrs: { size: "mini", type: "text" }, on: { click: function(a) {
|
|
@@ -1984,7 +1984,7 @@ var mn = function() {
|
|
|
1984
1984
|
} } }, [e._v("编辑")]), t("ElDivider", { attrs: { direction: "vertical" } }), t("ElButton", { staticStyle: { color: "#ff4d4f" }, attrs: { size: "mini", type: "text" }, on: { click: function(a) {
|
|
1985
1985
|
return e.removeFieldOptionItem(i, s, "constraint");
|
|
1986
1986
|
} } }, [e._v("移除")])];
|
|
1987
|
-
} }]) })], 1), t("ElDivider", { key: "property-divider" }), t("p", { key: "property-title", staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("字段属性列表:")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
1987
|
+
} }]) })], 1), t("ElDivider", { key: "property-divider" }), t("p", { key: "property-title", staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("字段属性列表:")]), t("ElButton", { staticStyle: { "margin-left": "auto" }, attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
1988
1988
|
return e.openFieldOptionForm(null, -1, "property");
|
|
1989
1989
|
} } }, [e._v("添加属性")])], 1), t("ElTable", { key: "property-table", attrs: { data: e.fieldPropertiesList, size: "mini", "max-height": "240", border: "", fit: "" } }, [t("ElTableColumn", { attrs: { label: "序号", width: "50px", type: "index" } }), t("ElTableColumn", { attrs: { label: "属性编号", prop: "id", "min-width": "100px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "属性值", prop: "value", "min-width": "100px", "show-overflow-tooltip": "" } }), t("ElTableColumn", { attrs: { label: "操作", width: "90px" }, scopedSlots: e._u([{ key: "default", fn: function({ row: i, $index: s }) {
|
|
1990
1990
|
return [t("ElButton", { attrs: { size: "mini", type: "text" }, on: { click: function(a) {
|
|
@@ -1994,7 +1994,7 @@ var mn = function() {
|
|
|
1994
1994
|
} } }, [e._v("移除")])];
|
|
1995
1995
|
} }]) })], 1), t("div", { staticClass: "element-drawer__button" }, [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
1996
1996
|
e.fieldModelVisible = !1;
|
|
1997
|
-
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveField } }, [e._v("保 存")])], 1)], 2), t("ElementDialog", { attrs: { visible: e.fieldOptionModelVisible, title: e.optionModelTitle, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1997
|
+
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveField } }, [e._v("保 存")])], 1)], 2), t("ElementDialog", { staticClass: "flow-dialog", attrs: { visible: e.fieldOptionModelVisible, title: e.optionModelTitle, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
1998
1998
|
e.fieldOptionModelVisible = i;
|
|
1999
1999
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
2000
2000
|
return [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
@@ -2109,7 +2109,7 @@ const dn = un.exports, fn = {
|
|
|
2109
2109
|
openListenerFieldForm(n, e) {
|
|
2110
2110
|
return d(this, null, function* () {
|
|
2111
2111
|
var t;
|
|
2112
|
-
this.listenerFieldForm = n ?
|
|
2112
|
+
this.listenerFieldForm = n ? v(n) : {}, this.editingListenerFieldIndex = n ? e : -1, this.listenerFieldFormModelVisible = !0, yield this.$nextTick(), (t = this.$refs.listenerFieldFormRef) == null || t.clearValidate();
|
|
2113
2113
|
});
|
|
2114
2114
|
},
|
|
2115
2115
|
// 保存监听器注入字段
|
|
@@ -2171,7 +2171,7 @@ var bn = function() {
|
|
|
2171
2171
|
e.$set(e.listenerForm, "eventDefinitionType", i);
|
|
2172
2172
|
}, expression: "listenerForm.eventDefinitionType" } }, [t("ElOption", { attrs: { label: "日期", value: "date" } }), t("ElOption", { attrs: { label: "持续时长", value: "duration" } }), t("ElOption", { attrs: { label: "循环", value: "cycle" } }), t("ElOption", { attrs: { label: "无", value: "null" } })], 1)], 1), e.listenerForm.eventDefinitionType && e.listenerForm.eventDefinitionType !== "null" ? t("ElFormItem", { key: "eventTimeDefinitions", attrs: { label: "定时器", prop: "eventTimeDefinitions", rules: { required: !0, trigger: ["blur", "change"], message: "请填写定时器配置" } } }, [t("ElInput", { attrs: { clearable: "" }, model: { value: e.listenerForm.eventTimeDefinitions, callback: function(i) {
|
|
2173
2173
|
e.$set(e.listenerForm, "eventTimeDefinitions", i);
|
|
2174
|
-
}, expression: "listenerForm.eventTimeDefinitions" } })], 1) : e._e()] : e._e()], 2), t("ElDivider"), t("p", { staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("注入字段:")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
2174
|
+
}, expression: "listenerForm.eventTimeDefinitions" } })], 1) : e._e()] : e._e()], 2), t("ElDivider"), t("p", { staticClass: "listener-filed__title", staticStyle: { "padding-bottom": "6px" } }, [t("span", [t("i", { staticClass: "el-icon-menu" }), e._v("注入字段:")]), t("ElButton", { staticStyle: { "margin-left": "auto" }, attrs: { size: "mini", type: "primary" }, on: { click: function(i) {
|
|
2175
2175
|
return e.openListenerFieldForm(null);
|
|
2176
2176
|
} } }, [e._v("添加字段")])], 1), t("ElTable", { staticStyle: { flex: "none" }, attrs: { data: e.fieldsListOfListener, size: "mini", "max-height": "240", border: "", fit: "" } }, [t("ElTableColumn", { attrs: { label: "序号", width: "50px", type: "index" } }), t("ElTableColumn", { attrs: { label: "字段名称", "min-width": "100px", prop: "name" } }), t("ElTableColumn", { attrs: { label: "字段类型", "min-width": "80px", "show-overflow-tooltip": "", formatter: (i) => e.fieldTypeObject[i.fieldType] } }), t("ElTableColumn", { attrs: { label: "字段值/表达式", "min-width": "100px", "show-overflow-tooltip": "", formatter: (i) => i.string || i.expression } }), t("ElTableColumn", { attrs: { label: "操作", width: "100px" }, scopedSlots: e._u([{ key: "default", fn: function({ row: i, $index: s }) {
|
|
2177
2177
|
return [t("ElButton", { attrs: { size: "mini", type: "text" }, on: { click: function(a) {
|
|
@@ -2181,7 +2181,7 @@ var bn = function() {
|
|
|
2181
2181
|
} } }, [e._v(" 移除 ")])];
|
|
2182
2182
|
} }]) })], 1), t("div", { staticClass: "element-drawer__button" }, [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
2183
2183
|
e.listenerFormModelVisible = !1;
|
|
2184
|
-
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveListenerConfig } }, [e._v("保 存")])], 1)], 1), t("ElementDialog", { attrs: { title: "字段配置", visible: e.listenerFieldFormModelVisible, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
2184
|
+
} } }, [e._v("取 消")]), t("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.saveListenerConfig } }, [e._v("保 存")])], 1)], 1), t("ElementDialog", { staticClass: "flow-dialog", attrs: { title: "字段配置", visible: e.listenerFieldFormModelVisible, width: "600px", "append-to-body": "", "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
2185
2185
|
e.listenerFieldFormModelVisible = i;
|
|
2186
2186
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
2187
2187
|
return [t("ElButton", { attrs: { size: "mini" }, on: { click: function(i) {
|
|
@@ -2210,11 +2210,11 @@ var bn = function() {
|
|
|
2210
2210
|
null,
|
|
2211
2211
|
null
|
|
2212
2212
|
);
|
|
2213
|
-
const
|
|
2213
|
+
const gn = hn.exports, ie = ["base", "task", "form", "multiInstance"], vn = {
|
|
2214
2214
|
name: "PropertiesPanel",
|
|
2215
2215
|
componentName: "MyPropertiesPanel",
|
|
2216
2216
|
components: {
|
|
2217
|
-
UserTaskListeners:
|
|
2217
|
+
UserTaskListeners: gn,
|
|
2218
2218
|
ElementForm: dn,
|
|
2219
2219
|
ElementProperties: ln,
|
|
2220
2220
|
ElementListeners: nn,
|
|
@@ -2343,16 +2343,20 @@ var En = function() {
|
|
|
2343
2343
|
}, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }), e.elementType.indexOf("Task") !== -1 ? t("ElCollapseItem", { key: "multiInstance", attrs: { name: "multiInstance" }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
2344
2344
|
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-help" }), e._v("多实例")])];
|
|
2345
2345
|
}, proxy: !0 }], null, !1, 1253501895) }, [t("ElementMultiInstance", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), t("ElCollapseItem", { key: "listeners", attrs: { name: "listeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
2346
|
-
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("执行监听器")
|
|
2346
|
+
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("执行监听器"), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
2347
|
+
return [t("p", [e._v("发送和退回时会触发")])];
|
|
2348
|
+
}, proxy: !0 }]) }, [t("i", { staticClass: "el-icon-info" })])], 1)];
|
|
2347
2349
|
}, proxy: !0 }]) }, [t("ElementListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1), e.elementType === "UserTask" ? t("ElCollapseItem", { key: "taskListeners", attrs: { name: "taskListeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
2348
|
-
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("任务监听器")
|
|
2349
|
-
|
|
2350
|
+
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("任务监听器"), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
2351
|
+
return [t("p", [e._v("任务实例的创建、指派、完成、删除、更新、超时会触发")])];
|
|
2352
|
+
}, proxy: !0 }], null, !1, 1260848675) }, [t("i", { staticClass: "el-icon-info" })])], 1)];
|
|
2353
|
+
}, proxy: !0 }], null, !1, 1038413081) }, [t("UserTaskListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), t("ElCollapseItem", { key: "extensions", attrs: { name: "extensions" }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
2350
2354
|
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-circle-plus" }), e._v("扩展属性")])];
|
|
2351
2355
|
}, proxy: !0 }]) }, [t("ElementProperties", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1), t("ElCollapseItem", { key: "other", attrs: { name: "other" }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
2352
2356
|
return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-promotion" }), e._v("其他")])];
|
|
2353
2357
|
}, proxy: !0 }]) }, [t("ElementOtherConfig", { attrs: { id: e.elementId, element: e.element, "bpmn-instances": e.bpmnInstances } })], 1), e._t("extend", null, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType })], 2)], 1);
|
|
2354
2358
|
}, Fn = [], xn = /* @__PURE__ */ h(
|
|
2355
|
-
|
|
2359
|
+
vn,
|
|
2356
2360
|
En,
|
|
2357
2361
|
Fn,
|
|
2358
2362
|
!1,
|
|
@@ -2637,7 +2641,7 @@ const kn = {
|
|
|
2637
2641
|
Data: "数据",
|
|
2638
2642
|
TextAnnotation: "文本说明",
|
|
2639
2643
|
Tasks: "任务"
|
|
2640
|
-
},
|
|
2644
|
+
}, _n = "Camunda", In = "http://camunda.org/schema/1.0/bpmn", wn = "camunda", An = {
|
|
2641
2645
|
tagAlias: "lowerCase"
|
|
2642
2646
|
}, $n = [], Ln = [
|
|
2643
2647
|
{
|
|
@@ -3756,8 +3760,8 @@ const kn = {
|
|
|
3756
3760
|
]
|
|
3757
3761
|
}
|
|
3758
3762
|
], On = [], se = {
|
|
3759
|
-
name:
|
|
3760
|
-
uri:
|
|
3763
|
+
name: _n,
|
|
3764
|
+
uri: In,
|
|
3761
3765
|
prefix: wn,
|
|
3762
3766
|
xml: An,
|
|
3763
3767
|
associations: $n,
|
|
@@ -6253,41 +6257,41 @@ function w(n) {
|
|
|
6253
6257
|
}
|
|
6254
6258
|
w.$inject = ["eventBus"];
|
|
6255
6259
|
w.prototype.canCopyProperty = function(n, e) {
|
|
6256
|
-
if (Ce(n) && !Hn(n, e) ||
|
|
6260
|
+
if (Ce(n) && !Hn(n, e) || _(n, "camunda:InputOutput") && !this.canHostInputOutput(e) || he(n, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(e) || _(n, "camunda:In") && !this.canHostIn(e))
|
|
6257
6261
|
return !1;
|
|
6258
6262
|
};
|
|
6259
6263
|
w.prototype.canHostInputOutput = function(n) {
|
|
6260
6264
|
if (x(n, "camunda:Connector"))
|
|
6261
6265
|
return !0;
|
|
6262
6266
|
const t = x(n, "bpmn:FlowNode");
|
|
6263
|
-
return !(!t || he(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) ||
|
|
6267
|
+
return !(!t || he(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) || _(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
|
|
6264
6268
|
};
|
|
6265
6269
|
w.prototype.canHostConnector = function(n) {
|
|
6266
6270
|
const e = x(n, "camunda:ServiceTaskLike");
|
|
6267
|
-
return
|
|
6271
|
+
return _(e, "bpmn:MessageEventDefinition") ? x(n, "bpmn:IntermediateThrowEvent") || x(n, "bpmn:EndEvent") : !0;
|
|
6268
6272
|
};
|
|
6269
6273
|
w.prototype.canHostIn = function(n) {
|
|
6270
6274
|
return x(n, "bpmn:CallActivity") ? !0 : x(n, "bpmn:SignalEventDefinition") ? x(n, "bpmn:IntermediateThrowEvent") || x(n, "bpmn:EndEvent") : !0;
|
|
6271
6275
|
};
|
|
6272
|
-
function
|
|
6276
|
+
function _(n, e) {
|
|
6273
6277
|
return n && ke(n.$instanceOf) && n.$instanceOf(e);
|
|
6274
6278
|
}
|
|
6275
6279
|
function he(n, e) {
|
|
6276
|
-
return
|
|
6277
|
-
return
|
|
6280
|
+
return I(e, function(t) {
|
|
6281
|
+
return _(n, t);
|
|
6278
6282
|
});
|
|
6279
6283
|
}
|
|
6280
6284
|
function x(n, e) {
|
|
6281
6285
|
if (!e)
|
|
6282
6286
|
return n.$parent;
|
|
6283
|
-
if (
|
|
6287
|
+
if (_(n, e))
|
|
6284
6288
|
return n;
|
|
6285
6289
|
if (n.$parent)
|
|
6286
6290
|
return x(n.$parent, e);
|
|
6287
6291
|
}
|
|
6288
6292
|
function Hn(n, e) {
|
|
6289
6293
|
const t = n.$type && n.$model.getTypeDescriptor(n.$type), i = t && t.meta && t.meta.allowedIn;
|
|
6290
|
-
return !i || Wn(i) ? !0 :
|
|
6294
|
+
return !i || Wn(i) ? !0 : I(i, function(s) {
|
|
6291
6295
|
return x(e, s);
|
|
6292
6296
|
});
|
|
6293
6297
|
}
|
|
@@ -6309,12 +6313,12 @@ function Qn(n) {
|
|
|
6309
6313
|
return n && n.length;
|
|
6310
6314
|
}
|
|
6311
6315
|
function z(n, e) {
|
|
6312
|
-
return Qn(n) &&
|
|
6316
|
+
return Qn(n) && I(n, function(t) {
|
|
6313
6317
|
return H(t, e);
|
|
6314
6318
|
});
|
|
6315
6319
|
}
|
|
6316
6320
|
function ei(n, e) {
|
|
6317
|
-
return
|
|
6321
|
+
return I(e, function(t) {
|
|
6318
6322
|
return H(n, t);
|
|
6319
6323
|
});
|
|
6320
6324
|
}
|
|
@@ -6354,12 +6358,12 @@ function ii(n) {
|
|
|
6354
6358
|
return n && n.length;
|
|
6355
6359
|
}
|
|
6356
6360
|
function j(n, e) {
|
|
6357
|
-
return ii(n) &&
|
|
6361
|
+
return ii(n) && I(n, function(t) {
|
|
6358
6362
|
return X(t, e);
|
|
6359
6363
|
});
|
|
6360
6364
|
}
|
|
6361
6365
|
function si(n, e) {
|
|
6362
|
-
return
|
|
6366
|
+
return I(e, function(t) {
|
|
6363
6367
|
return X(n, t);
|
|
6364
6368
|
});
|
|
6365
6369
|
}
|
|
@@ -6690,7 +6694,7 @@ var oi = function() {
|
|
|
6690
6694
|
} } })], 1), t("ElTooltip", { attrs: { effect: "light", content: "恢复" } }, [t("ElButton", { attrs: { size: e.headerButtonSize, disabled: !e.recoverable, icon: "el-icon-refresh-right" }, on: { click: function(i) {
|
|
6691
6695
|
return e.processRedo();
|
|
6692
6696
|
} } })], 1), t("ElTooltip", { attrs: { effect: "light", content: "重新绘制" } }, [t("ElButton", { attrs: { size: e.headerButtonSize, icon: "el-icon-refresh" }, on: { click: e.processRestart } })], 1)], 1)];
|
|
6693
|
-
}), t("input", { ref: "refFile", staticStyle: { display: "none" }, attrs: { id: "files", type: "file", accept: ".xml, .bpmn" }, on: { change: e.importLocalFile } })], 2), t("div", { staticClass: "my-process-designer__container" }, [t("div", { ref: "bpmn-canvas", staticClass: "my-process-designer__canvas flow-background-image" })]), t("ElementDialog", { attrs: { title: "预览", width: "60vw", height: "60vh", visible: e.previewModelVisible, "body-padding": !1, "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
6697
|
+
}), t("input", { ref: "refFile", staticStyle: { display: "none" }, attrs: { id: "files", type: "file", accept: ".xml, .bpmn" }, on: { change: e.importLocalFile } })], 2), t("div", { staticClass: "my-process-designer__container" }, [t("div", { ref: "bpmn-canvas", staticClass: "my-process-designer__canvas flow-background-image" })]), t("ElementDialog", { staticClass: "flow-dialog", attrs: { title: "预览", width: "60vw", height: "60vh", visible: e.previewModelVisible, "body-padding": !1, "destroy-on-close": "" }, on: { "update:visible": function(i) {
|
|
6694
6698
|
e.previewModelVisible = i;
|
|
6695
6699
|
} } }, [t("HighlightJS", { attrs: { language: e.previewType, code: e.previewResult } })], 1)], 1);
|
|
6696
6700
|
}, li = [], pi = /* @__PURE__ */ h(
|
package/flow-designer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.flow-tips-list-item{list-style:square inside}.flow-tips-title{padding-top:10px;padding-bottom:10px}.flow-tips-keyword{font-weight:700}.element-listeners-drawer .el-drawer__header{margin-bottom:0}.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.flow-drawer .listener-filed__title{justify-content:normal;padding-bottom:6px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
|
1
|
+
.element-multi-instance .el-select{display:block}.flow-tips-list-item{list-style:square inside}.flow-tips-title{padding-top:10px;padding-bottom:10px}.flow-tips-keyword{font-weight:700}.element-listeners-drawer .el-drawer__header{margin-bottom:0}.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.flow-drawer .listener-filed__title{justify-content:normal;padding-bottom:6px}.flow-drawer .el-select,.flow-dialog .el-select{display:block}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
package/flow-node/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as o } from "../chunks/util.
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as o } from "../chunks/util.CGBb6mdq.mjs";
|
|
2
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "FlowNode",
|
|
5
5
|
props: {
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ import { create as p, attr as c, append as m } from "tiny-svg";
|
|
|
32
32
|
import { query as E } from "min-dom";
|
|
33
33
|
import $ from "../easy-popup/index.mjs";
|
|
34
34
|
import "../easy-popup/style.css";
|
|
35
|
-
import { n as F } from "../chunks/_plugin-vue2_normalizer.
|
|
35
|
+
import { n as F } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
36
36
|
const f = d.prototype._handleWheel, S = {
|
|
37
37
|
__init__: ["zoomScroll"],
|
|
38
38
|
zoomScroll: ["type", d]
|
package/form-button/index.mjs
CHANGED