@web-utils/component 3.6.1 → 3.7.1
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/chunk-file-uploader/index.mjs +13 -12
- package/chunks/{ElementBaseInfo.jv89Vjy1.mjs → ElementBaseInfo.ZADwixb5.mjs} +25 -18
- package/chunks/{ElementForm.4QQYs5uq.mjs → ElementForm.8w6UkiuU.mjs} +1 -1
- package/chunks/{ElementListeners.vfHHHAOL.mjs → ElementListeners.DOy8wyD2.mjs} +0 -1
- package/chunks/{ElementProperties.CRIQaaPc.mjs → ElementProperties.B2I48muA.mjs} +1 -1
- package/color-picker/index.mjs +6 -5
- package/count-up/index.mjs +12 -12
- package/data-card-text/index.mjs +6 -5
- package/dialog-form/index.mjs +2 -1
- package/e-charts/index.mjs +2 -1
- package/editable-tree/index.mjs +2 -1
- package/flow-designer/index.mjs +13 -15
- package/fy-cascader/index.mjs +16 -15
- package/fy-curd/index.mjs +2 -2
- package/fy-draggable/index.mjs +2 -1
- package/fy-dynamic/index.mjs +24 -22
- package/fy-form-design/index.mjs +1 -1
- package/fy-form-design/style.css +1 -1
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-tree/index.mjs +17 -16
- package/fy-tree/index.mjs +1 -1
- package/fy-upload/index.mjs +94 -92
- package/image-cropper/index.mjs +7 -5
- package/image-preview/index.mjs +8 -7
- package/monaco-editor/index.mjs +5 -3
- package/package.json +4 -4
- package/page-index/index.mjs +9 -8
- package/sign-panel/index.mjs +1 -1
- package/vue-tree-select/index.mjs +4 -6
- package/web-types.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { n
|
|
1
|
+
import a from "simple-uploader.js";
|
|
2
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
function r(e) {
|
|
4
4
|
return e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
|
5
5
|
}
|
|
6
|
-
const s = "fileAdded", l = "filesAdded",
|
|
6
|
+
const s = "fileAdded", l = "filesAdded", u = "uploadStart", f = {
|
|
7
7
|
name: "ChunkFileUploader",
|
|
8
8
|
provide() {
|
|
9
9
|
return {
|
|
@@ -43,7 +43,7 @@ const s = "fileAdded", l = "filesAdded", n = "uploadStart", u = {
|
|
|
43
43
|
},
|
|
44
44
|
created() {
|
|
45
45
|
this.options.initialPaused = !this.autoStart;
|
|
46
|
-
const e = new
|
|
46
|
+
const e = new a(this.options);
|
|
47
47
|
this.uploader = e, this.uploader.fileStatusText = this.fileStatusText, e.on("catchAll", this.allEvent), e.on(s, this.fileAdded), e.on(l, this.filesAdded), e.on("fileRemoved", this.fileRemoved), e.on("filesSubmitted", this.filesSubmitted);
|
|
48
48
|
},
|
|
49
49
|
destroyed() {
|
|
@@ -69,34 +69,35 @@ const s = "fileAdded", l = "filesAdded", n = "uploadStart", u = {
|
|
|
69
69
|
this.files = this.uploader.files, this.fileList = this.uploader.fileList, this.autoStart && this.uploader.upload();
|
|
70
70
|
},
|
|
71
71
|
allEvent(...e) {
|
|
72
|
+
var d;
|
|
72
73
|
const t = e[0], o = {
|
|
73
74
|
[s]: !0,
|
|
74
75
|
[l]: !0,
|
|
75
|
-
[
|
|
76
|
+
[u]: "uploadStart"
|
|
76
77
|
}[t];
|
|
77
78
|
if (o) {
|
|
78
79
|
if (o === !0)
|
|
79
80
|
return;
|
|
80
|
-
this[o].
|
|
81
|
+
(d = this[o]) == null || d.call(this, e.slice(1));
|
|
81
82
|
}
|
|
82
|
-
e[0] = r(t), this.$emit
|
|
83
|
+
e[0] = r(t), this.$emit(...e);
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
};
|
|
86
|
-
var
|
|
87
|
+
var p = function() {
|
|
87
88
|
var t = this, i = t._self._c;
|
|
88
89
|
return i("div", { staticClass: "uploader" }, [t._t("default", function() {
|
|
89
90
|
return [i("ChunkFileUploaderUnSupport"), i("ChunkFileUploaderDrop", [i("p", [t._v("Drop files here to upload or")]), i("ChunkFileUploaderButton", [t._v("select files")]), i("ChunkFileUploaderButton", { attrs: { directory: !0 } }, [t._v(" select folder ")])], 1), i("ChunkFileUploaderList")];
|
|
90
91
|
}, { files: t.files, fileList: t.fileList, started: t.started })], 2);
|
|
91
|
-
},
|
|
92
|
-
u,
|
|
92
|
+
}, h = [], c = /* @__PURE__ */ n(
|
|
93
93
|
f,
|
|
94
94
|
p,
|
|
95
|
+
h,
|
|
95
96
|
!1,
|
|
96
97
|
null,
|
|
97
98
|
null
|
|
98
99
|
);
|
|
99
|
-
const
|
|
100
|
+
const v = c.exports;
|
|
100
101
|
export {
|
|
101
|
-
|
|
102
|
+
v as default
|
|
102
103
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { fastClone as
|
|
2
|
-
import { a, g as r } from "./utils.DRcxC1Fb.mjs";
|
|
3
|
-
import { n as
|
|
1
|
+
import { fastClone as o } from "@web-utils/core";
|
|
2
|
+
import { a as l, g as r } from "./utils.DRcxC1Fb.mjs";
|
|
3
|
+
import { n as m } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "ElementBaseInfo",
|
|
6
6
|
inject: {
|
|
@@ -19,6 +19,7 @@ const c = {
|
|
|
19
19
|
data() {
|
|
20
20
|
return {
|
|
21
21
|
skipExpression: "",
|
|
22
|
+
requiredComment: null,
|
|
22
23
|
businessObject: {},
|
|
23
24
|
attrs: {
|
|
24
25
|
commentInForm: null,
|
|
@@ -34,15 +35,17 @@ const c = {
|
|
|
34
35
|
},
|
|
35
36
|
methods: {
|
|
36
37
|
init(n) {
|
|
37
|
-
const e = this.bpmnInstances.elementRegistry.filter((
|
|
38
|
-
this.nodes = e.map(({ businessObject: { id:
|
|
38
|
+
const e = this.bpmnInstances.elementRegistry.filter((i) => i.type === "bpmn:UserTask");
|
|
39
|
+
this.nodes = e.map(({ businessObject: { id: i, name: a } }) => ({ label: a, value: i }));
|
|
39
40
|
const { businessObject: s } = this.element;
|
|
40
|
-
if (n ? (this.businessObject =
|
|
41
|
-
for (const
|
|
42
|
-
let
|
|
43
|
-
|
|
41
|
+
if (n ? (this.businessObject = o(s), this.businessObject.$type === "bpmn:SubProcess" && this.$set(this.businessObject, "isExpanded", this.element.di.isExpanded)) : this.businessObject = {}, this.businessObject.$type === "bpmn:UserTask")
|
|
42
|
+
for (const i in this.attrs) {
|
|
43
|
+
let a = r(s, `${this.prefix}:${i}`);
|
|
44
|
+
i === "commentNodeIds" && (a = a ? a.split(",") : []), this.attrs[i] = a;
|
|
44
45
|
}
|
|
45
46
|
this.skipExpression = r(s, `${this.prefix}:skipExpression`);
|
|
47
|
+
let t = r(s, `${this.prefix}:requiredComment`);
|
|
48
|
+
t || (t = "Y"), this.requiredComment = t;
|
|
46
49
|
},
|
|
47
50
|
updateBaseInfo(n) {
|
|
48
51
|
const { modeling: e } = this.bpmnInstances;
|
|
@@ -60,14 +63,16 @@ const c = {
|
|
|
60
63
|
e.updateProperties(this.element, { [n]: this.businessObject[n] });
|
|
61
64
|
},
|
|
62
65
|
updateProp(n, e) {
|
|
63
|
-
if (n === "commentInForm"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
if (n === "commentInForm") {
|
|
67
|
+
if (!e)
|
|
68
|
+
for (const s in this.attrs)
|
|
69
|
+
s !== "commentInForm" && (this.attrs[s] = null, l(this.bpmnInstances, this.element, `${this.prefix}:${s}`, this.attrs[s]));
|
|
70
|
+
} else n === "commentNodeIds" ? e = e != null && e.length ? e.join(",") : null : e = e || null;
|
|
71
|
+
l(this.bpmnInstances, this.element, `${this.prefix}:${n}`, e);
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
};
|
|
70
|
-
var
|
|
75
|
+
var u = function() {
|
|
71
76
|
var e = this, s = e._self._c;
|
|
72
77
|
return s("div", { staticClass: "panel-tab__content" }, [s("ElForm", { attrs: { size: "mini", "label-width": "90px" }, nativeOn: { submit: function(t) {
|
|
73
78
|
t.preventDefault();
|
|
@@ -81,7 +86,9 @@ var m = function() {
|
|
|
81
86
|
e.$set(e.businessObject, "name", t);
|
|
82
87
|
}, expression: "businessObject.name" } })], 1), e.businessObject.$type === "bpmn:UserTask" ? [s("ElFormItem", { attrs: { label: "跳过表达式" } }, [s("ElInput", { attrs: { clearable: "" }, on: { input: (t) => e.updateProp("skipExpression", t) }, model: { value: e.skipExpression, callback: function(t) {
|
|
83
88
|
e.skipExpression = t;
|
|
84
|
-
}, expression: "skipExpression" } })], 1), s("ElFormItem", { attrs: { label: "
|
|
89
|
+
}, expression: "skipExpression" } })], 1), s("ElFormItem", { attrs: { label: "意见必填" } }, [s("ElSwitch", { attrs: { "active-text": "是", "active-value": "Y", "inactive-text": "否", "inactive-value": "N" }, on: { input: (t) => e.updateProp("requiredComment", t) }, model: { value: e.requiredComment, callback: function(t) {
|
|
90
|
+
e.requiredComment = t;
|
|
91
|
+
}, expression: "requiredComment" } })], 1), s("ElFormItem", { attrs: { label: "意见在表单" } }, [s("ElSwitch", { attrs: { "active-text": "是", "inactive-text": "否" }, on: { input: (t) => e.updateProp("commentInForm", t) }, model: { value: e.attrs.commentInForm, callback: function(t) {
|
|
85
92
|
e.$set(e.attrs, "commentInForm", t);
|
|
86
93
|
}, expression: "attrs.commentInForm" } })], 1), e.attrs.commentInForm ? [s("ElFormItem", { attrs: { label: "意见名称" } }, [s("ElInput", { attrs: { clearable: "" }, on: { input: (t) => e.updateProp("commentLabel", t) }, model: { value: e.attrs.commentLabel, callback: function(t) {
|
|
87
94
|
e.$set(e.attrs, "commentLabel", t);
|
|
@@ -104,15 +111,15 @@ var m = function() {
|
|
|
104
111
|
} }, model: { value: e.businessObject.isExpanded, callback: function(t) {
|
|
105
112
|
e.$set(e.businessObject, "isExpanded", t);
|
|
106
113
|
}, expression: "businessObject.isExpanded" } })], 1) : e._e()], 2)], 1);
|
|
107
|
-
}, b = [],
|
|
114
|
+
}, b = [], p = /* @__PURE__ */ m(
|
|
108
115
|
c,
|
|
109
|
-
|
|
116
|
+
u,
|
|
110
117
|
b,
|
|
111
118
|
!1,
|
|
112
119
|
null,
|
|
113
120
|
null
|
|
114
121
|
);
|
|
115
|
-
const E =
|
|
122
|
+
const E = p.exports;
|
|
116
123
|
export {
|
|
117
124
|
E as default
|
|
118
125
|
};
|
|
@@ -103,7 +103,7 @@ const u = {
|
|
|
103
103
|
},
|
|
104
104
|
// 保存字段 某个 配置项
|
|
105
105
|
saveFieldOption() {
|
|
106
|
-
this.formFieldOptionIndex === -1 ? (this.fieldOptionType === "property" && this.fieldPropertiesList.push(this.fieldOptionForm), this.fieldOptionType === "constraint" && this.fieldConstraintsList.push(this.fieldOptionForm), this.fieldOptionType === "enum" && this.fieldEnumList.push(this.fieldOptionForm)) :
|
|
106
|
+
this.formFieldOptionIndex === -1 ? (this.fieldOptionType === "property" && this.fieldPropertiesList.push(this.fieldOptionForm), this.fieldOptionType === "constraint" && this.fieldConstraintsList.push(this.fieldOptionForm), this.fieldOptionType === "enum" && this.fieldEnumList.push(this.fieldOptionForm)) : this.fieldOptionType === "property" ? this.fieldPropertiesList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm) : this.fieldOptionType === "constraint" ? this.fieldConstraintsList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm) : this.fieldOptionType === "enum" && this.fieldEnumList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm), this.fieldOptionModelVisible = !1, this.fieldOptionForm = {};
|
|
107
107
|
},
|
|
108
108
|
// 保存字段配置
|
|
109
109
|
saveField() {
|
|
@@ -32,7 +32,6 @@ import { n as T } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
|
32
32
|
const $ = (s) => ({
|
|
33
33
|
$type: "flowable:ExecutionListener",
|
|
34
34
|
event: s === "draft" ? "start" : s,
|
|
35
|
-
// eslint-disable-next-line no-template-curly-in-string
|
|
36
35
|
delegateExpression: "${httpInvokeExecutionListener}",
|
|
37
36
|
fields: [],
|
|
38
37
|
listenerType: "delegateExpressionListener"
|
package/color-picker/index.mjs
CHANGED
|
@@ -15,11 +15,11 @@ var a = (i, e, r) => new Promise((t, n) => {
|
|
|
15
15
|
s((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import p from "element-ui/packages/color-picker/src/color";
|
|
18
|
-
import
|
|
19
|
-
import { n as
|
|
18
|
+
import u from "element-ui/src/utils/clickoutside";
|
|
19
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
20
20
|
const f = {
|
|
21
21
|
name: "ColorPicker",
|
|
22
|
-
directives: { Clickoutside:
|
|
22
|
+
directives: { Clickoutside: u },
|
|
23
23
|
props: {
|
|
24
24
|
popperClass: String,
|
|
25
25
|
predefine: Array,
|
|
@@ -53,7 +53,8 @@ const f = {
|
|
|
53
53
|
immediate: !0,
|
|
54
54
|
handler(i) {
|
|
55
55
|
return a(this, null, function* () {
|
|
56
|
-
|
|
56
|
+
var e;
|
|
57
|
+
i ? (yield this.$nextTick(), this.$refs.dropdown.referenceElm = this.anchor) : (e = this.$refs.dropdown) == null || e.doDestroy(!0), this.showPicker = i;
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
60
|
}
|
|
@@ -81,7 +82,7 @@ var m = function() {
|
|
|
81
82
|
return r("ElColorPickerDropdown", { directives: [{ name: "clickoutside", rawName: "v-clickoutside", value: e.onClickOutside, expression: "onClickOutside" }], ref: "dropdown", class: ["el-color-picker__panel", e.popperClass || ""], attrs: { offset: e.offset, "append-to-body": e.appendToBody, color: e.color, predefine: e.predefine }, on: { pick: e.confirmValue, clear: e.clearValue }, model: { value: e.showPicker, callback: function(t) {
|
|
82
83
|
e.showPicker = t;
|
|
83
84
|
}, expression: "showPicker" } });
|
|
84
|
-
}, k = [], v = /* @__PURE__ */
|
|
85
|
+
}, k = [], v = /* @__PURE__ */ h(
|
|
85
86
|
f,
|
|
86
87
|
m,
|
|
87
88
|
k,
|
package/count-up/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var u = Object.defineProperty, o = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var i = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var r = (t, e, s) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s,
|
|
4
|
+
var p = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var r = (t, e, s) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, n = (t, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
p.call(e, s) && r(t, s, e[s]);
|
|
8
8
|
if (i)
|
|
9
9
|
for (var s of i(e))
|
|
10
|
-
|
|
10
|
+
h.call(e, s) && r(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
13
|
-
import { CountUp as
|
|
14
|
-
import { n as
|
|
12
|
+
}, a = (t, e) => o(t, d(e));
|
|
13
|
+
import { CountUp as c } from "countup.js";
|
|
14
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
15
|
const m = {
|
|
16
16
|
name: "CountUp",
|
|
17
17
|
props: {
|
|
@@ -70,7 +70,7 @@ const m = {
|
|
|
70
70
|
},
|
|
71
71
|
methods: {
|
|
72
72
|
init() {
|
|
73
|
-
this.c || (this.c = new
|
|
73
|
+
this.c || (this.c = new c(this.$el, this.end, a(n({}, this.options), {
|
|
74
74
|
decimal: this.decimals,
|
|
75
75
|
duration: this.duration,
|
|
76
76
|
startVal: this.start
|
|
@@ -85,7 +85,7 @@ const m = {
|
|
|
85
85
|
start(t) {
|
|
86
86
|
var e;
|
|
87
87
|
(e = this.c) == null || e.start(() => {
|
|
88
|
-
t
|
|
88
|
+
t == null || t(this.c);
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
91
|
pauseResume() {
|
|
@@ -104,7 +104,7 @@ const m = {
|
|
|
104
104
|
var f = function() {
|
|
105
105
|
var e = this, s = e._self._c;
|
|
106
106
|
return s("span", [e._v(e._s(e.end))]);
|
|
107
|
-
}, _ = [], y = /* @__PURE__ */
|
|
107
|
+
}, _ = [], y = /* @__PURE__ */ l(
|
|
108
108
|
m,
|
|
109
109
|
f,
|
|
110
110
|
_,
|
|
@@ -112,7 +112,7 @@ var f = function() {
|
|
|
112
112
|
null,
|
|
113
113
|
null
|
|
114
114
|
);
|
|
115
|
-
const
|
|
115
|
+
const b = y.exports;
|
|
116
116
|
export {
|
|
117
|
-
|
|
117
|
+
b as default
|
|
118
118
|
};
|
package/data-card-text/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const e = {
|
|
3
3
|
name: "DataCardText",
|
|
4
4
|
props: {
|
|
5
5
|
option: {
|
|
@@ -24,7 +24,8 @@ const o = {
|
|
|
24
24
|
},
|
|
25
25
|
methods: {
|
|
26
26
|
itemClick(s) {
|
|
27
|
-
|
|
27
|
+
var t;
|
|
28
|
+
(t = s.click) == null || t.call(s, s), this.$router.push(s.path);
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
};
|
|
@@ -35,8 +36,8 @@ var c = function() {
|
|
|
35
36
|
return t.itemClick(a);
|
|
36
37
|
} } }, [n("div", { staticClass: "item-header" }, [t._v(" " + t._s(a.title) + " ")]), a.content ? n("div", { staticClass: "item-content" }, [t._v(t._s(a.content))]) : t._e(), a.name || a.date ? n("div", { staticClass: "item-footer" }, [n("span", [t._v(t._s(a.name))]), n("span", [t._v(t._s(a.date))])]) : t._e()])])]);
|
|
37
38
|
}), 1)], 1);
|
|
38
|
-
}, i = [], l = /* @__PURE__ */
|
|
39
|
-
|
|
39
|
+
}, i = [], l = /* @__PURE__ */ o(
|
|
40
|
+
e,
|
|
40
41
|
c,
|
|
41
42
|
i,
|
|
42
43
|
!1,
|
package/dialog-form/index.mjs
CHANGED
|
@@ -68,7 +68,8 @@ const i = {
|
|
|
68
68
|
typeof this.dialog.beforeClose == "function" ? this.dialog.beforeClose(t) : t();
|
|
69
69
|
},
|
|
70
70
|
handleSubmit(t, e) {
|
|
71
|
-
|
|
71
|
+
var o;
|
|
72
|
+
(o = this.callback) == null || o.call(this, { data: t, close: this.close, done: e });
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
};
|
package/e-charts/index.mjs
CHANGED
|
@@ -59,7 +59,8 @@ const c = ["theme", "initOptions", "autoResize"], l = ["manualUpdate", "watchSha
|
|
|
59
59
|
this.options && this.init();
|
|
60
60
|
},
|
|
61
61
|
activated() {
|
|
62
|
-
|
|
62
|
+
var t;
|
|
63
|
+
this.autoResize && ((t = this.chart) == null || t.resize());
|
|
63
64
|
},
|
|
64
65
|
destroyed() {
|
|
65
66
|
this.chart && this.destroy();
|
package/editable-tree/index.mjs
CHANGED
package/flow-designer/index.mjs
CHANGED
|
@@ -485,15 +485,15 @@ const je = {
|
|
|
485
485
|
componentName: "MyPropertiesPanel",
|
|
486
486
|
components: {
|
|
487
487
|
UserTaskListeners: () => import("../chunks/UserTaskListeners.XXe5dC5I.mjs"),
|
|
488
|
-
ElementForm: () => import("../chunks/ElementForm.
|
|
489
|
-
ElementProperties: () => import("../chunks/ElementProperties.
|
|
490
|
-
ElementListeners: () => import("../chunks/ElementListeners.
|
|
488
|
+
ElementForm: () => import("../chunks/ElementForm.8w6UkiuU.mjs"),
|
|
489
|
+
ElementProperties: () => import("../chunks/ElementProperties.B2I48muA.mjs"),
|
|
490
|
+
ElementListeners: () => import("../chunks/ElementListeners.DOy8wyD2.mjs"),
|
|
491
491
|
SignalAndMassage: () => import("../chunks/SignalAndMessage.CH6L7cYu.mjs"),
|
|
492
492
|
FlowCondition: () => import("../chunks/FlowCondition.BfU9kw6h.mjs"),
|
|
493
493
|
ElementMultiInstance: () => import("../chunks/ElementMultiInstance.3Z28ewuh.mjs"),
|
|
494
494
|
ElementTask: () => import("../chunks/ElementTaskConfig.MBbkLrth.mjs"),
|
|
495
495
|
ElementOtherConfig: () => import("../chunks/ElementOtherConfig.B1NfMTYh.mjs"),
|
|
496
|
-
ElementBaseInfo: () => import("../chunks/ElementBaseInfo.
|
|
496
|
+
ElementBaseInfo: () => import("../chunks/ElementBaseInfo.ZADwixb5.mjs")
|
|
497
497
|
},
|
|
498
498
|
provide() {
|
|
499
499
|
return {
|
|
@@ -926,16 +926,8 @@ const Ye = {
|
|
|
926
926
|
"Due Date": "到期时间",
|
|
927
927
|
"Follow Up Date": "跟踪日期",
|
|
928
928
|
Priority: "优先级",
|
|
929
|
-
|
|
930
|
-
"The
|
|
931
|
-
// eslint-disable-next-line no-template-curly-in-string
|
|
932
|
-
"跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00"
|
|
933
|
-
),
|
|
934
|
-
// eslint-disable-next-line no-template-curly-in-string
|
|
935
|
-
"The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": (
|
|
936
|
-
// eslint-disable-next-line no-template-curly-in-string
|
|
937
|
-
"跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00"
|
|
938
|
-
),
|
|
929
|
+
"The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
|
|
930
|
+
"The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
|
|
939
931
|
Variables: "变量",
|
|
940
932
|
"Candidate Starter Configuration": "候选人起动器配置",
|
|
941
933
|
"Candidate Starter Groups": "候选人起动器组",
|
|
@@ -978,6 +970,11 @@ const Ye = {
|
|
|
978
970
|
name: "commentLabel",
|
|
979
971
|
isAttr: !0,
|
|
980
972
|
type: "String"
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
name: "requiredComment",
|
|
976
|
+
isAttr: !0,
|
|
977
|
+
type: "String"
|
|
981
978
|
}
|
|
982
979
|
], ae = {
|
|
983
980
|
name: "Camunda",
|
|
@@ -4544,7 +4541,8 @@ const ut = {
|
|
|
4544
4541
|
this.downloadProcess("svg");
|
|
4545
4542
|
},
|
|
4546
4543
|
processSimulation() {
|
|
4547
|
-
|
|
4544
|
+
var n;
|
|
4545
|
+
this.simulationStatus = !this.simulationStatus, this.simulation && ((n = this.bpmnModeler) == null || n.get("toggleMode").toggleMode());
|
|
4548
4546
|
},
|
|
4549
4547
|
processRedo() {
|
|
4550
4548
|
this.bpmnModeler.get("commandStack").redo();
|
package/fy-cascader/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p
|
|
2
|
-
import { n as
|
|
3
|
-
const
|
|
1
|
+
import { p, e as d } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const h = {
|
|
4
4
|
name: "FyCascader",
|
|
5
|
-
mixins: [
|
|
5
|
+
mixins: [p, d],
|
|
6
6
|
props: {
|
|
7
7
|
checkStrictly: {
|
|
8
8
|
type: Boolean,
|
|
@@ -51,22 +51,23 @@ const u = {
|
|
|
51
51
|
emitPath: this.emitPath,
|
|
52
52
|
lazy: this.lazy,
|
|
53
53
|
lazyLoad: (r, e) => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
var l;
|
|
55
|
+
const a = (t) => {
|
|
56
|
+
const n = (o, i, c) => {
|
|
57
|
+
o.forEach((s) => {
|
|
58
|
+
s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
|
|
58
59
|
});
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
+
n(this.dic, r[this.valueKey], t), e(t);
|
|
61
62
|
};
|
|
62
|
-
this.lazyLoad
|
|
63
|
+
(l = this.lazyLoad) == null || l.call(this, r, a);
|
|
63
64
|
},
|
|
64
65
|
expandTrigger: this.expandTrigger
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
|
-
var
|
|
70
|
+
var f = function() {
|
|
70
71
|
var e = this, a = e._self._c;
|
|
71
72
|
return a("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
|
|
72
73
|
return e.handleClick.apply(null, arguments);
|
|
@@ -75,15 +76,15 @@ var h = function() {
|
|
|
75
76
|
} }], null, !0), model: { value: e.text, callback: function(l) {
|
|
76
77
|
e.text = l;
|
|
77
78
|
}, expression: "text" } });
|
|
78
|
-
},
|
|
79
|
-
u,
|
|
79
|
+
}, y = [], m = /* @__PURE__ */ u(
|
|
80
80
|
h,
|
|
81
81
|
f,
|
|
82
|
+
y,
|
|
82
83
|
!1,
|
|
83
84
|
null,
|
|
84
85
|
null
|
|
85
86
|
);
|
|
86
|
-
const
|
|
87
|
+
const b = m.exports;
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
+
b as default
|
|
89
90
|
};
|
package/fy-curd/index.mjs
CHANGED
|
@@ -921,7 +921,7 @@ const we = Be.exports, Se = {
|
|
|
921
921
|
// 隐藏表单
|
|
922
922
|
hide(t) {
|
|
923
923
|
const e = () => {
|
|
924
|
-
t
|
|
924
|
+
t == null || t(), this.crud.tableIndex = -1, this.crud.tableForm = {}, this.crud.setVal(), this.boxVisible = !1;
|
|
925
925
|
};
|
|
926
926
|
typeof this.crud.beforeClose == "function" ? this.crud.beforeClose(e, this.boxType) : e();
|
|
927
927
|
},
|
|
@@ -1546,7 +1546,7 @@ const We = je.exports, Ke = {
|
|
|
1546
1546
|
},
|
|
1547
1547
|
refreshTable(t) {
|
|
1548
1548
|
this.reload = Math.random(), this.$nextTick(() => {
|
|
1549
|
-
t
|
|
1549
|
+
t == null || t();
|
|
1550
1550
|
});
|
|
1551
1551
|
},
|
|
1552
1552
|
// 树懒加载
|
package/fy-draggable/index.mjs
CHANGED
|
@@ -256,6 +256,7 @@ const v = {
|
|
|
256
256
|
},
|
|
257
257
|
handleKeydown() {
|
|
258
258
|
document.onkeydown = (t) => {
|
|
259
|
+
var i;
|
|
259
260
|
const e = t || window.event, s = this.step;
|
|
260
261
|
this.$refs.input.focused && (e && e.keyCode === 38 ? this.baseTop = a(this.baseTop - s) : e && e.keyCode === 37 ? this.baseLeft = a(this.baseLeft - s) : e && e.keyCode === 40 ? this.baseTop = a(this.baseTop + s) : e && e.keyCode === 39 && (this.baseLeft = a(this.baseLeft + s)), t.stopPropagation(), t.preventDefault(), this.$emit("blur", {
|
|
261
262
|
index: this.index,
|
|
@@ -263,7 +264,7 @@ const v = {
|
|
|
263
264
|
height: this.baseHeight,
|
|
264
265
|
left: this.baseLeft,
|
|
265
266
|
top: this.baseTop
|
|
266
|
-
}), this.keyDown
|
|
267
|
+
}), (i = this.keyDown) == null || i.call(this, t));
|
|
267
268
|
};
|
|
268
269
|
},
|
|
269
270
|
handleMouseDown() {
|
package/fy-dynamic/index.mjs
CHANGED
|
@@ -130,10 +130,12 @@ const h = {
|
|
|
130
130
|
methods: {
|
|
131
131
|
deepClone: l,
|
|
132
132
|
handleSelectionChange(t) {
|
|
133
|
-
|
|
133
|
+
var e;
|
|
134
|
+
(e = this.selectionChange) == null || e.call(this, t);
|
|
134
135
|
},
|
|
135
|
-
handleSortableChange(t, e, n,
|
|
136
|
-
|
|
136
|
+
handleSortableChange(t, e, n, r) {
|
|
137
|
+
var i;
|
|
138
|
+
(i = this.sortableChange) == null || i.call(this, t, e, n, r);
|
|
137
139
|
},
|
|
138
140
|
cellMouseenter(t) {
|
|
139
141
|
const e = t.$index;
|
|
@@ -181,33 +183,33 @@ const h = {
|
|
|
181
183
|
};
|
|
182
184
|
var f = function() {
|
|
183
185
|
var e = this, n = e._self._c;
|
|
184
|
-
return n("div", { key: e.reload, staticClass: "avue-dynamic" }, [e.isForm ? [n("div", { staticClass: "avue-dynamic__header" }, [!e.readonly && !e.disabled && !e.addBtn ? n("ElButton", { attrs: { size: "mini", circle: "", disabled: e.disabled, type: "primary", icon: "el-icon-plus" }, on: { click: e.addRow } }) : e._e()], 1), n("div", e._l(e.text, function(
|
|
185
|
-
return n("div", { key:
|
|
186
|
-
return e.cellMouseenter({ $index:
|
|
186
|
+
return n("div", { key: e.reload, staticClass: "avue-dynamic" }, [e.isForm ? [n("div", { staticClass: "avue-dynamic__header" }, [!e.readonly && !e.disabled && !e.addBtn ? n("ElButton", { attrs: { size: "mini", circle: "", disabled: e.disabled, type: "primary", icon: "el-icon-plus" }, on: { click: e.addRow } }) : e._e()], 1), n("div", e._l(e.text, function(r, i) {
|
|
187
|
+
return n("div", { key: i, staticClass: "avue-dynamic__row", on: { mouseenter: function(s) {
|
|
188
|
+
return e.cellMouseenter({ $index: i });
|
|
187
189
|
}, mouseleave: function(s) {
|
|
188
|
-
return e.cellMouseLeave({ $index:
|
|
189
|
-
} } }, [!e.readonly && !e.disabled && !e.delBtn && e.hoverList[
|
|
190
|
-
return e.delRow(
|
|
191
|
-
} } }) : e._e(), n("FyForm", { key:
|
|
192
|
-
return [n("div", [n("span", [e._v(e._s(
|
|
190
|
+
return e.cellMouseLeave({ $index: i });
|
|
191
|
+
} } }, [!e.readonly && !e.disabled && !e.delBtn && e.hoverList[i] ? n("ElButton", { staticClass: "avue-dynamic__menu", attrs: { type: "danger", size: "mini", disabled: e.disabled, icon: "el-icon-delete", circle: "" }, on: { click: function(s) {
|
|
192
|
+
return e.delRow(r.$index);
|
|
193
|
+
} } }) : e._e(), n("FyForm", { key: i, ref: "main", refInFor: !0, attrs: { option: e.deepClone(e.option) }, scopedSlots: e._u([{ key: "_index", fn: function({}) {
|
|
194
|
+
return [n("div", [n("span", [e._v(e._s(r.$index + 1))])])];
|
|
193
195
|
} }, e._l(e.columnSlot, function(s) {
|
|
194
196
|
return { key: s, fn: function(a) {
|
|
195
|
-
return [e._t(s, null, null, Object.assign(a, { row: e.text[
|
|
197
|
+
return [e._t(s, null, null, Object.assign(a, { row: e.text[i] }))];
|
|
196
198
|
} };
|
|
197
|
-
})], null, !0), model: { value: e.text[
|
|
198
|
-
e.$set(e.text,
|
|
199
|
+
})], null, !0), model: { value: e.text[i], callback: function(s) {
|
|
200
|
+
e.$set(e.text, i, s);
|
|
199
201
|
}, expression: "text[index]" } })], 1);
|
|
200
202
|
}), 0)] : e.isCrud ? n("FyCurd", { ref: "main", attrs: { option: e.option, disabled: e.disabled, data: e.text }, on: { "cell-mouse-enter": e.cellMouseenter, "cell-mouse-leave": e.cellMouseLeave, "selection-change": e.handleSelectionChange, "sortable-change": e.handleSortableChange }, scopedSlots: e._u([{ key: "_indexHeader", fn: function() {
|
|
201
|
-
return [!(e.addBtn || e.readonly) && e.maxFlag ? n("ElButton", { attrs: { type: "primary", size: "mini", disabled: e.disabled, icon: "el-icon-plus", circle: "" }, on: { click: function(
|
|
203
|
+
return [!(e.addBtn || e.readonly) && e.maxFlag ? n("ElButton", { attrs: { type: "primary", size: "mini", disabled: e.disabled, icon: "el-icon-plus", circle: "" }, on: { click: function(r) {
|
|
202
204
|
return e.addRow();
|
|
203
205
|
} } }) : e._e()];
|
|
204
|
-
}, proxy: !0 }, { key: "_index", fn: function(
|
|
205
|
-
return [!e.readonly && !e.disabled && !e.delBtn && e.hoverList[
|
|
206
|
-
return e.delRow(
|
|
207
|
-
} } }) : n("div", [e._v(" " + e._s(
|
|
208
|
-
} }, e._l(e.columnSlot, function(
|
|
209
|
-
return { key: e.getSlotName({ prop:
|
|
210
|
-
return [e._t(
|
|
206
|
+
}, proxy: !0 }, { key: "_index", fn: function(r) {
|
|
207
|
+
return [!e.readonly && !e.disabled && !e.delBtn && e.hoverList[r.row.$index] ? n("ElButton", { attrs: { type: "danger", size: "mini", disabled: e.disabled, icon: "el-icon-delete", circle: "" }, on: { click: function(i) {
|
|
208
|
+
return e.delRow(r.row.$index);
|
|
209
|
+
} } }) : n("div", [e._v(" " + e._s(r.row.$index + 1) + " ")])];
|
|
210
|
+
} }, e._l(e.columnSlot, function(r) {
|
|
211
|
+
return { key: e.getSlotName({ prop: r }, "F"), fn: function(i) {
|
|
212
|
+
return [e._t(r, null, null, i)];
|
|
211
213
|
} };
|
|
212
214
|
})], null, !0) }) : e._e()], 2);
|
|
213
215
|
}, m = [], p = /* @__PURE__ */ c(
|