lw-cdp-ui 1.2.41 → 1.2.43
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/dist/components/lwFlow/nodeEdit/basicSettings.vue +24 -22
- package/dist/components/lwFormMini/index.vue +1 -0
- package/dist/components/lwSearch/select/select.vue +2 -1
- package/dist/lw-cdp-ui.esm.js +60 -54
- package/dist/lw-cdp-ui.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<lw-form-mini ref="dataFormRef"
|
|
2
|
+
<lw-form-mini ref="dataFormRef"
|
|
3
|
+
:config="config"
|
|
4
|
+
v-model="dataForm">
|
|
3
5
|
<!-- 定时器 表单自定义部分 -->
|
|
4
6
|
<template #dateCron>
|
|
5
7
|
<lwCronSelect v-model="dataForm.cron" />
|
|
@@ -7,30 +9,28 @@
|
|
|
7
9
|
|
|
8
10
|
<!-- et2l 表单自定义部分 -->
|
|
9
11
|
<template #KeyableSource>
|
|
10
|
-
<lwTableForm :config="base.configKeyableSource"
|
|
12
|
+
<lwTableForm :config="base.configKeyableSource"
|
|
13
|
+
v-model="dataForm.from" />
|
|
11
14
|
</template>
|
|
12
|
-
|
|
15
|
+
|
|
13
16
|
<template #MapAction>
|
|
14
|
-
<lwTableForm :config="base.configMapAction"
|
|
17
|
+
<lwTableForm :config="base.configMapAction"
|
|
18
|
+
v-model="dataForm.with">
|
|
15
19
|
<template #sourceField="{ row }">
|
|
16
|
-
<el-input
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
:reserve-keyword="false"
|
|
31
|
-
placeholder="来源字段"
|
|
32
|
-
style="width: 100%"
|
|
33
|
-
/>
|
|
20
|
+
<el-input v-if="row.type === 'direct'"
|
|
21
|
+
size="small"
|
|
22
|
+
v-model="row.from"
|
|
23
|
+
placeholder="来源字段" />
|
|
24
|
+
<el-select v-else
|
|
25
|
+
v-model="row.from"
|
|
26
|
+
multiple
|
|
27
|
+
filterable
|
|
28
|
+
allow-create
|
|
29
|
+
size="small"
|
|
30
|
+
default-first-option
|
|
31
|
+
:reserve-keyword="false"
|
|
32
|
+
placeholder="来源字段"
|
|
33
|
+
style="width: 100%" />
|
|
34
34
|
</template>
|
|
35
35
|
</lwTableForm>
|
|
36
36
|
</template>
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
<script>
|
|
43
|
+
import nodeDatas from '../nodesData/index.js'
|
|
43
44
|
export default {
|
|
44
45
|
name: "BasicSettings",
|
|
45
46
|
props: {
|
|
@@ -54,6 +55,7 @@ export default {
|
|
|
54
55
|
},
|
|
55
56
|
data() {
|
|
56
57
|
return {
|
|
58
|
+
...nodeDatas,
|
|
57
59
|
dataForm: {},
|
|
58
60
|
};
|
|
59
61
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<el-select :disabled="item.disabled" :placeholder="item.label || '请选择'" :popper-append-to-body="item.appendToBody" v-model="value" clearable filterable :multiple="item.multiple" collapse-tags allow-search size="" style="width: 100%;" :allow-create="item.allowCreate"
|
|
3
|
+
<el-select :disabled="item.disabled" :placeholder="item.label || '请选择'" :popper-append-to-body="item.appendToBody" v-model="value" clearable filterable :multiple="item.multiple" collapse-tags allow-search size="" style="width: 100%;" :allow-create="item.allowCreate"
|
|
4
|
+
:remote="item.isRemote" :reserve-keyword="item.isReserveKeyword" :remote-method="item.remoteMethod" :loading="item.loading">
|
|
4
5
|
<el-option v-for="(items, index) in item.options" :disabled="items.disabled" :key="item.key ? item.key : item.valueKey ? items[item.valueKey] + items[item.labelKey] + index : items.code + items.name + index" :label="item.isCodeAndName ? ((item.valueKey ? items[item.valueKey] : items.code) + ' - ' + (item.labelKey ? items[item.labelKey] : items.name)) : (item.labelKey ? items[item.labelKey] : items.name)" :value="item.valueKey ? items[item.valueKey] : items.code">
|
|
5
6
|
<el-tooltip :content="item.isCodeAndName ? ((item.valueKey ? items[item.valueKey] : items.code) + ' - ' + (item.labelKey ? items[item.labelKey] : items.name)) : (item.labelKey ? items[item.labelKey] : items.name)">
|
|
6
7
|
<span>{{ item.isCodeAndName ? ((item.valueKey ? items[item.valueKey] : items.code) + ' - ' + (item.labelKey ? items[item.labelKey] : items.name)) : (item.labelKey ? items[item.labelKey] : items.name) }}</span>
|
package/dist/lw-cdp-ui.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ var uu = Object.defineProperty;
|
|
|
2
2
|
var cu = (e, t, n) => t in e ? uu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var dt = (e, t, n) => cu(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { ElMessage as du } from "element-plus";
|
|
5
|
-
import { resolveComponent as E, createElementBlock as F, openBlock as m, Fragment as O, createCommentVNode as z, createVNode as C, renderList as te, createBlock as B, withCtx as v, withModifiers as rt, resolveDynamicComponent as Je, createElementVNode as M, toDisplayString as q, resolveDirective as z2, withDirectives as o2, createTextVNode as G, normalizeClass as Ve, TransitionGroup as fu, renderSlot as Ae, Transition as hu, normalizeStyle as i2, vShow as
|
|
5
|
+
import { resolveComponent as E, createElementBlock as F, openBlock as m, Fragment as O, createCommentVNode as z, createVNode as C, renderList as te, createBlock as B, withCtx as v, withModifiers as rt, resolveDynamicComponent as Je, createElementVNode as M, toDisplayString as q, resolveDirective as z2, withDirectives as o2, createTextVNode as G, normalizeClass as Ve, TransitionGroup as fu, renderSlot as Ae, Transition as hu, normalizeStyle as i2, vShow as P2, KeepAlive as ft, reactive as j1, computed as O2, toRefs as G1, watch as Mo, Teleport as To, nextTick as Gt, createSlots as r2, withKeys as bt, ref as zt } from "vue";
|
|
6
6
|
import Et from "vuedraggable";
|
|
7
7
|
import f2 from "dayjs";
|
|
8
8
|
import pu from "@logicflow/core";
|
|
@@ -1178,10 +1178,10 @@ function f8(e, t, n, r, a, o) {
|
|
|
1178
1178
|
src: l.meta.url,
|
|
1179
1179
|
frameborder: "0"
|
|
1180
1180
|
}, null, 8, d8)), [
|
|
1181
|
-
[
|
|
1181
|
+
[P2, e.$route.meta.url == l.meta.url]
|
|
1182
1182
|
])), 128))
|
|
1183
1183
|
], 512)), [
|
|
1184
|
-
[
|
|
1184
|
+
[P2, e.$route.meta.type == "iframe"]
|
|
1185
1185
|
]);
|
|
1186
1186
|
}
|
|
1187
1187
|
const h8 = /* @__PURE__ */ pe(u8, [["render", f8], ["__scopeId", "data-v-91dc7bba"]]), p8 = {
|
|
@@ -2953,9 +2953,9 @@ var G4 = { exports: {} };
|
|
|
2953
2953
|
var ct = xe(t2[2]);
|
|
2954
2954
|
return new U({ tag: t2[0], explicit: t2[1], obj: ct });
|
|
2955
2955
|
}
|
|
2956
|
-
var
|
|
2957
|
-
if (t2.explicit !== void 0 && (
|
|
2958
|
-
return
|
|
2956
|
+
var T2 = {};
|
|
2957
|
+
if (t2.explicit !== void 0 && (T2.explicit = t2.explicit), t2.tag !== void 0 && (T2.tag = t2.tag), t2.obj === void 0) throw "obj shall be specified for 'tag'.";
|
|
2958
|
+
return T2.obj = xe(t2.obj), new U(T2);
|
|
2959
2959
|
}
|
|
2960
2960
|
}, this.jsonToASN1HEX = function(A) {
|
|
2961
2961
|
return this.newObject(A).getEncodedHex();
|
|
@@ -3531,12 +3531,12 @@ function v6(e, t, n, r, a, o) {
|
|
|
3531
3531
|
], !0),
|
|
3532
3532
|
Ae(e.$slots, "registerBg", {}, () => [
|
|
3533
3533
|
o2(M("img", u6, null, 512), [
|
|
3534
|
-
[
|
|
3534
|
+
[P2, a.isRegistered]
|
|
3535
3535
|
])
|
|
3536
3536
|
], !0),
|
|
3537
3537
|
Ae(e.$slots, "loginBg", {}, () => [
|
|
3538
3538
|
o2(M("img", c6, null, 512), [
|
|
3539
|
-
[
|
|
3539
|
+
[P2, !a.isRegistered]
|
|
3540
3540
|
])
|
|
3541
3541
|
], !0)
|
|
3542
3542
|
]),
|
|
@@ -3902,7 +3902,11 @@ function I6(e, t, n, r, a, o) {
|
|
|
3902
3902
|
"allow-search": "",
|
|
3903
3903
|
size: "",
|
|
3904
3904
|
style: { width: "100%" },
|
|
3905
|
-
"allow-create": n.item.allowCreate
|
|
3905
|
+
"allow-create": n.item.allowCreate,
|
|
3906
|
+
remote: n.item.isRemote,
|
|
3907
|
+
"reserve-keyword": n.item.isReserveKeyword,
|
|
3908
|
+
"remote-method": n.item.remoteMethod,
|
|
3909
|
+
loading: n.item.loading
|
|
3906
3910
|
}, {
|
|
3907
3911
|
default: v(() => [
|
|
3908
3912
|
(m(!0), F(O, null, te(n.item.options, (d, f) => (m(), B(i, {
|
|
@@ -3925,7 +3929,7 @@ function I6(e, t, n, r, a, o) {
|
|
|
3925
3929
|
}, 1032, ["disabled", "label", "value"]))), 128))
|
|
3926
3930
|
]),
|
|
3927
3931
|
_: 1
|
|
3928
|
-
}, 8, ["disabled", "placeholder", "popper-append-to-body", "modelValue", "multiple", "allow-create"])
|
|
3932
|
+
}, 8, ["disabled", "placeholder", "popper-append-to-body", "modelValue", "multiple", "allow-create", "remote", "reserve-keyword", "remote-method", "loading"])
|
|
3929
3933
|
]);
|
|
3930
3934
|
}
|
|
3931
3935
|
const _6 = /* @__PURE__ */ pe(w6, [["render", I6]]), B6 = {
|
|
@@ -3968,7 +3972,7 @@ const _6 = /* @__PURE__ */ pe(w6, [["render", I6]]), B6 = {
|
|
|
3968
3972
|
}
|
|
3969
3973
|
},
|
|
3970
3974
|
setup(e, t) {
|
|
3971
|
-
const n = j1({}), r =
|
|
3975
|
+
const n = j1({}), r = O2(() => e.propValueFormat ? e.propValueFormat : e.item.valueFormat ? e.item.valueFormat : e.item.dateSection || e.item.withZero ? "YYYY-MM-DD 00:00:00" : e.item.withLast ? "YYYY-MM-DD 23:59:59" : "YYYY-MM-DD"), a = O2({
|
|
3972
3976
|
get() {
|
|
3973
3977
|
return e.modelValue;
|
|
3974
3978
|
},
|
|
@@ -4042,7 +4046,7 @@ const F6 = /* @__PURE__ */ pe(B6, [["render", k6]]), L6 = {
|
|
|
4042
4046
|
},
|
|
4043
4047
|
{ deep: !0, immediate: !0 }
|
|
4044
4048
|
);
|
|
4045
|
-
const r =
|
|
4049
|
+
const r = O2(() => n.value.join(",")), a = () => {
|
|
4046
4050
|
n.isPanelShow = !n.isPanelShow;
|
|
4047
4051
|
}, o = () => {
|
|
4048
4052
|
Gt(() => {
|
|
@@ -4204,7 +4208,7 @@ function U6(e, t, n, r, a, o) {
|
|
|
4204
4208
|
})
|
|
4205
4209
|
])
|
|
4206
4210
|
], 512), [
|
|
4207
|
-
[
|
|
4211
|
+
[P2, e.value.length === 2]
|
|
4208
4212
|
])
|
|
4209
4213
|
])
|
|
4210
4214
|
])
|
|
@@ -4217,7 +4221,7 @@ function U6(e, t, n, r, a, o) {
|
|
|
4217
4221
|
_: 1
|
|
4218
4222
|
}, 8, ["modelValue", "onTabClick"])
|
|
4219
4223
|
], 512), [
|
|
4220
|
-
[
|
|
4224
|
+
[P2, e.isPanelShow]
|
|
4221
4225
|
])
|
|
4222
4226
|
]);
|
|
4223
4227
|
}
|
|
@@ -4261,7 +4265,7 @@ const j6 = /* @__PURE__ */ pe(L6, [["render", U6]]), G6 = {
|
|
|
4261
4265
|
}
|
|
4262
4266
|
},
|
|
4263
4267
|
setup(e, t) {
|
|
4264
|
-
const n = j1({}), r =
|
|
4268
|
+
const n = j1({}), r = O2(() => e.propValueFormat ? e.propValueFormat : e.item.valueFormat ? e.item.valueFormat : e.item.dateSection || e.item.withZero ? "YYYY-MM-DD 00:00:00" : e.item.withLast ? "YYYY-MM-DD 23:59:59" : "YYYY-MM-DD"), a = O2({
|
|
4265
4269
|
get() {
|
|
4266
4270
|
return e.modelValue;
|
|
4267
4271
|
},
|
|
@@ -4626,7 +4630,7 @@ const J6 = /* @__PURE__ */ pe(Z6, [["render", W6], ["__scopeId", "data-v-153d358
|
|
|
4626
4630
|
}
|
|
4627
4631
|
},
|
|
4628
4632
|
setup(e) {
|
|
4629
|
-
const t = e, n =
|
|
4633
|
+
const t = e, n = O2(() => `#${t.name}`);
|
|
4630
4634
|
return (r, a) => (m(), F("svg", X6, [
|
|
4631
4635
|
M("use", { "xlink:href": n.value }, null, 8, $6)
|
|
4632
4636
|
]));
|
|
@@ -6456,7 +6460,7 @@ function Uc(e, t, n, r, a, o) {
|
|
|
6456
6460
|
];
|
|
6457
6461
|
}),
|
|
6458
6462
|
default: v(() => {
|
|
6459
|
-
var ie, p, Y, R, je, ae, qe, se, ve, He, Te, ke, Qe, Ze, Me, Ne, Ue, Fe, Xe, Ke, de, H, ue, Le, Re, l2, Ge, Pe, Be, ye, D, Ye, We, e2, c2, d2, y2, g2, A, s, c, g, y, _, L, V, N, X, le, Ce, fe, Ie, Ee, be, _e, $e, U, xe, ze, he, B2, k2, m2, G2, t2, ct,
|
|
6463
|
+
var ie, p, Y, R, je, ae, qe, se, ve, He, Te, ke, Qe, Ze, Me, Ne, Ue, Fe, Xe, Ke, de, H, ue, Le, Re, l2, Ge, Pe, Be, ye, D, Ye, We, e2, c2, d2, y2, g2, A, s, c, g, y, _, L, V, N, X, le, Ce, fe, Ie, Ee, be, _e, $e, U, xe, ze, he, B2, k2, m2, G2, t2, ct, T2, fo, ho, po, go, mo, Ao, vo, yo, Co, bo, Eo, wo, Io, _o, Bo, ko, Fo, Lo, xo, So, Vo;
|
|
6460
6464
|
return [
|
|
6461
6465
|
n.item.component == "input" ? (m(), B(d, {
|
|
6462
6466
|
key: 0,
|
|
@@ -6596,7 +6600,7 @@ function Uc(e, t, n, r, a, o) {
|
|
|
6596
6600
|
"default-time": (k2 = (B2 = n.item) == null ? void 0 : B2.options) == null ? void 0 : k2.defaultTime,
|
|
6597
6601
|
disabled: (G2 = (m2 = n.item) == null ? void 0 : m2.options) == null ? void 0 : G2.disabled,
|
|
6598
6602
|
"value-format": (ct = (t2 = n.item) == null ? void 0 : t2.options) == null ? void 0 : ct.valueFormat,
|
|
6599
|
-
format: (fo = (
|
|
6603
|
+
format: (fo = (T2 = n.item) == null ? void 0 : T2.options) == null ? void 0 : fo.format,
|
|
6600
6604
|
placeholder: ((po = (ho = n.item) == null ? void 0 : ho.options) == null ? void 0 : po.placeholder) || "请选择"
|
|
6601
6605
|
}, null, 8, ["modelValue", "type", "start-placeholder", "end-placeholder", "shortcuts", "disabled-date", "default-time", "disabled", "value-format", "format", "placeholder"])) : n.item.component == "number" ? (m(), B(I, {
|
|
6602
6606
|
key: 9,
|
|
@@ -7248,6 +7252,7 @@ function a7(e, t, n, r, a, o) {
|
|
|
7248
7252
|
disabled: n.isView,
|
|
7249
7253
|
"label-width": n.config.labelWidth,
|
|
7250
7254
|
"label-position": e.$i18n.locale == "en-us" ? "top" : n.config.labelPosition,
|
|
7255
|
+
size: n.config.size,
|
|
7251
7256
|
"element-loading-text": "Loading..."
|
|
7252
7257
|
}, {
|
|
7253
7258
|
default: v(() => [
|
|
@@ -7362,12 +7367,12 @@ function a7(e, t, n, r, a, o) {
|
|
|
7362
7367
|
})
|
|
7363
7368
|
]),
|
|
7364
7369
|
_: 3
|
|
7365
|
-
}, 8, ["model", "disabled", "label-width", "label-position"])), [
|
|
7370
|
+
}, 8, ["model", "disabled", "label-width", "label-position", "size"])), [
|
|
7366
7371
|
[S, n.loading]
|
|
7367
7372
|
])
|
|
7368
7373
|
], 64);
|
|
7369
7374
|
}
|
|
7370
|
-
const r7 = /* @__PURE__ */ pe(e7, [["render", a7], ["__scopeId", "data-v-
|
|
7375
|
+
const r7 = /* @__PURE__ */ pe(e7, [["render", a7], ["__scopeId", "data-v-54e59cdd"]]), o7 = {
|
|
7371
7376
|
icons: [
|
|
7372
7377
|
{
|
|
7373
7378
|
name: "默认",
|
|
@@ -7777,7 +7782,7 @@ function c7(e, t, n, r, a, o) {
|
|
|
7777
7782
|
}, 8, ["modelValue"])
|
|
7778
7783
|
]);
|
|
7779
7784
|
}
|
|
7780
|
-
const d7 = /* @__PURE__ */ pe(l7, [["render", c7], ["__scopeId", "data-v-2ebe66a3"]]),
|
|
7785
|
+
const d7 = /* @__PURE__ */ pe(l7, [["render", c7], ["__scopeId", "data-v-2ebe66a3"]]), R2 = {
|
|
7781
7786
|
pageSize: 20,
|
|
7782
7787
|
//表格每一页条数
|
|
7783
7788
|
parseData: function(e) {
|
|
@@ -7835,15 +7840,15 @@ const d7 = /* @__PURE__ */ pe(l7, [["render", c7], ["__scopeId", "data-v-2ebe66a
|
|
|
7835
7840
|
keyword: null,
|
|
7836
7841
|
defaultValue: [],
|
|
7837
7842
|
tableData: [],
|
|
7838
|
-
pageSize:
|
|
7843
|
+
pageSize: R2.pageSize,
|
|
7839
7844
|
total: 0,
|
|
7840
7845
|
currentPage: 1,
|
|
7841
7846
|
defaultProps: {
|
|
7842
|
-
label:
|
|
7843
|
-
value:
|
|
7844
|
-
page:
|
|
7845
|
-
pageSize:
|
|
7846
|
-
keyword:
|
|
7847
|
+
label: R2.props.label,
|
|
7848
|
+
value: R2.props.value,
|
|
7849
|
+
page: R2.request.page,
|
|
7850
|
+
pageSize: R2.request.pageSize,
|
|
7851
|
+
keyword: R2.request.keyword
|
|
7847
7852
|
},
|
|
7848
7853
|
formData: {}
|
|
7849
7854
|
};
|
|
@@ -7876,7 +7881,7 @@ const d7 = /* @__PURE__ */ pe(l7, [["render", c7], ["__scopeId", "data-v-2ebe66a
|
|
|
7876
7881
|
};
|
|
7877
7882
|
let t = this.$expression(this.formData);
|
|
7878
7883
|
t && ((a = this.params) != null && a.expression) ? this.formData.expression = `${this.params.expression} AND ${t}` : t ? this.formData.expression = t : (o = this.params) != null && o.expression ? this.formData.expression = (l = this.params) == null ? void 0 : l.expression : this.formData.expression = "", Object.assign(e, this.params, this.formData);
|
|
7879
|
-
var n = await this.apiObj(e), r =
|
|
7884
|
+
var n = await this.apiObj(e), r = R2.parseData(n);
|
|
7880
7885
|
this.tableData = r.rows, this.total = r.total, this.loading = !1, this.$nextTick(() => {
|
|
7881
7886
|
if (this.multiple)
|
|
7882
7887
|
this.defaultValue.forEach((u) => {
|
|
@@ -8511,7 +8516,7 @@ function F7(e, t, n, r, a, o) {
|
|
|
8511
8516
|
_: 2
|
|
8512
8517
|
}, 1032, ["size", "onClick", "disabled"]))
|
|
8513
8518
|
])), [
|
|
8514
|
-
[
|
|
8519
|
+
[P2, H.isShow ? H.isShow(ae) : !0]
|
|
8515
8520
|
])), 128)),
|
|
8516
8521
|
(de = R.options) != null && de.items && R.options.items.length > 0 ? (m(), B(Z, { key: 0 }, {
|
|
8517
8522
|
dropdown: v(() => [
|
|
@@ -10758,7 +10763,7 @@ const v9 = /* @__PURE__ */ pe(f9, [["render", A9], ["__scopeId", "data-v-c78efd0
|
|
|
10758
10763
|
},
|
|
10759
10764
|
setup(e, { emit: t }) {
|
|
10760
10765
|
var h, b, k;
|
|
10761
|
-
const n =
|
|
10766
|
+
const n = O2(() => e.modelValue ? e.modelValue.split(" ") : ["*", "*", "*", "*", "*", "?"]), r = zt(e.modelValue), a = zt(!1), o = (w) => {
|
|
10762
10767
|
switch (w) {
|
|
10763
10768
|
case 3:
|
|
10764
10769
|
n.value[3] = "*", n.value[4] = "*", n.value[5] = "*";
|
|
@@ -11718,7 +11723,7 @@ function I2() {
|
|
|
11718
11723
|
return an = n, an;
|
|
11719
11724
|
}
|
|
11720
11725
|
var rn, Wl;
|
|
11721
|
-
function
|
|
11726
|
+
function M2() {
|
|
11722
11727
|
if (Wl) return rn;
|
|
11723
11728
|
Wl = 1;
|
|
11724
11729
|
var e = Y4(), t = J1(), n = I2();
|
|
@@ -11731,7 +11736,7 @@ var on, Jl;
|
|
|
11731
11736
|
function ad() {
|
|
11732
11737
|
if (Jl) return on;
|
|
11733
11738
|
Jl = 1;
|
|
11734
|
-
var e = lt(), t =
|
|
11739
|
+
var e = lt(), t = M2();
|
|
11735
11740
|
function n(r, a) {
|
|
11736
11741
|
return r && e(a, t(a), r);
|
|
11737
11742
|
}
|
|
@@ -11909,7 +11914,7 @@ var bn, h3;
|
|
|
11909
11914
|
function a5() {
|
|
11910
11915
|
if (h3) return bn;
|
|
11911
11916
|
h3 = 1;
|
|
11912
|
-
var e = n5(), t = X1(), n =
|
|
11917
|
+
var e = n5(), t = X1(), n = M2();
|
|
11913
11918
|
function r(a) {
|
|
11914
11919
|
return e(a, n, t);
|
|
11915
11920
|
}
|
|
@@ -12155,7 +12160,7 @@ var Un, T3;
|
|
|
12155
12160
|
function u5() {
|
|
12156
12161
|
if (T3) return Un;
|
|
12157
12162
|
T3 = 1;
|
|
12158
|
-
var e = kt(), t = K1(), n = Lt(), r = ad(), a = ld(), o = J4(), l = X4(), i = id(), u = sd(), d = a5(), f = ud(), h = W2(), b = hd(), k = Ad(), w = s5(), x = De(), S = Y2(), T = yd(), Q = s2(), I = bd(), J =
|
|
12163
|
+
var e = kt(), t = K1(), n = Lt(), r = ad(), a = ld(), o = J4(), l = X4(), i = id(), u = sd(), d = a5(), f = ud(), h = W2(), b = hd(), k = Ad(), w = s5(), x = De(), S = Y2(), T = yd(), Q = s2(), I = bd(), J = M2(), W = N2(), K = 1, j = 2, ne = 4, re = "[object Arguments]", oe = "[object Array]", $ = "[object Boolean]", ce = "[object Date]", Z = "[object Error]", P = "[object Function]", ie = "[object GeneratorFunction]", p = "[object Map]", Y = "[object Number]", R = "[object Object]", je = "[object RegExp]", ae = "[object Set]", qe = "[object String]", se = "[object Symbol]", ve = "[object WeakMap]", He = "[object ArrayBuffer]", Te = "[object DataView]", ke = "[object Float32Array]", Qe = "[object Float64Array]", Ze = "[object Int8Array]", Me = "[object Int16Array]", Ne = "[object Int32Array]", Ue = "[object Uint8Array]", Fe = "[object Uint8ClampedArray]", Xe = "[object Uint16Array]", Ke = "[object Uint32Array]", de = {};
|
|
12159
12164
|
de[re] = de[oe] = de[He] = de[Te] = de[$] = de[ce] = de[ke] = de[Qe] = de[Ze] = de[Me] = de[Ne] = de[p] = de[Y] = de[R] = de[je] = de[ae] = de[qe] = de[se] = de[Ue] = de[Fe] = de[Xe] = de[Ke] = !0, de[Z] = de[P] = de[ve] = !1;
|
|
12160
12165
|
function H(ue, Le, Re, l2, Ge, Pe) {
|
|
12161
12166
|
var Be, ye = Le & K, D = Le & j, Ye = Le & ne;
|
|
@@ -12244,7 +12249,7 @@ var Zn, q3;
|
|
|
12244
12249
|
function ao() {
|
|
12245
12250
|
if (q3) return Zn;
|
|
12246
12251
|
q3 = 1;
|
|
12247
|
-
var e = no(), t =
|
|
12252
|
+
var e = no(), t = M2();
|
|
12248
12253
|
function n(r, a) {
|
|
12249
12254
|
return r && e(r, a, t);
|
|
12250
12255
|
}
|
|
@@ -12601,7 +12606,7 @@ var ga, ii;
|
|
|
12601
12606
|
function Td() {
|
|
12602
12607
|
if (ii) return ga;
|
|
12603
12608
|
ii = 1;
|
|
12604
|
-
var e = A5(), t =
|
|
12609
|
+
var e = A5(), t = M2();
|
|
12605
12610
|
function n(r) {
|
|
12606
12611
|
for (var a = t(r), o = a.length; o--; ) {
|
|
12607
12612
|
var l = a[o], i = r[l];
|
|
@@ -13339,7 +13344,7 @@ var br, hs;
|
|
|
13339
13344
|
function M5() {
|
|
13340
13345
|
if (hs) return br;
|
|
13341
13346
|
hs = 1;
|
|
13342
|
-
var e = mf(), t =
|
|
13347
|
+
var e = mf(), t = M2();
|
|
13343
13348
|
function n(r) {
|
|
13344
13349
|
return r == null ? [] : e(r, t(r));
|
|
13345
13350
|
}
|
|
@@ -13362,7 +13367,7 @@ function u2() {
|
|
|
13362
13367
|
isEmpty: Hd(),
|
|
13363
13368
|
isFunction: ot(),
|
|
13364
13369
|
isUndefined: _5(),
|
|
13365
|
-
keys:
|
|
13370
|
+
keys: M2(),
|
|
13366
13371
|
map: k5(),
|
|
13367
13372
|
reduce: F5(),
|
|
13368
13373
|
size: ef(),
|
|
@@ -14025,7 +14030,7 @@ var zr, Ps;
|
|
|
14025
14030
|
function Vf() {
|
|
14026
14031
|
if (Ps) return zr;
|
|
14027
14032
|
Ps = 1;
|
|
14028
|
-
var e = _2(), t = I2(), n =
|
|
14033
|
+
var e = _2(), t = I2(), n = M2();
|
|
14029
14034
|
function r(a) {
|
|
14030
14035
|
return function(o, l, i) {
|
|
14031
14036
|
var u = Object(o);
|
|
@@ -14689,15 +14694,15 @@ function wh(e, t) {
|
|
|
14689
14694
|
function Q1(e, t, n) {
|
|
14690
14695
|
n.out ? n.in ? e[n.out - n.in + t].enqueue(n) : e[e.length - 1].enqueue(n) : e[0].enqueue(n);
|
|
14691
14696
|
}
|
|
14692
|
-
var
|
|
14697
|
+
var D2 = Se, Ih = yh, _h = {
|
|
14693
14698
|
run: Bh,
|
|
14694
14699
|
undo: Fh
|
|
14695
14700
|
};
|
|
14696
14701
|
function Bh(e) {
|
|
14697
14702
|
var t = e.graph().acyclicer === "greedy" ? Ih(e, n(e)) : kh(e);
|
|
14698
|
-
|
|
14703
|
+
D2.forEach(t, function(r) {
|
|
14699
14704
|
var a = e.edge(r);
|
|
14700
|
-
e.removeEdge(r), a.forwardName = r.name, a.reversed = !0, e.setEdge(r.w, r.v, a,
|
|
14705
|
+
e.removeEdge(r), a.forwardName = r.name, a.reversed = !0, e.setEdge(r.w, r.v, a, D2.uniqueId("rev"));
|
|
14701
14706
|
});
|
|
14702
14707
|
function n(r) {
|
|
14703
14708
|
return function(a) {
|
|
@@ -14708,14 +14713,14 @@ function Bh(e) {
|
|
|
14708
14713
|
function kh(e) {
|
|
14709
14714
|
var t = [], n = {}, r = {};
|
|
14710
14715
|
function a(o) {
|
|
14711
|
-
|
|
14712
|
-
|
|
14716
|
+
D2.has(r, o) || (r[o] = !0, n[o] = !0, D2.forEach(e.outEdges(o), function(l) {
|
|
14717
|
+
D2.has(n, l.w) ? t.push(l) : a(l.w);
|
|
14713
14718
|
}), delete n[o]);
|
|
14714
14719
|
}
|
|
14715
|
-
return
|
|
14720
|
+
return D2.forEach(e.nodes(), a), t;
|
|
14716
14721
|
}
|
|
14717
14722
|
function Fh(e) {
|
|
14718
|
-
|
|
14723
|
+
D2.forEach(e.edges(), function(t) {
|
|
14719
14724
|
var n = e.edge(t);
|
|
14720
14725
|
if (n.reversed) {
|
|
14721
14726
|
e.removeEdge(t);
|
|
@@ -17719,7 +17724,7 @@ const Mm = {
|
|
|
17719
17724
|
}
|
|
17720
17725
|
]
|
|
17721
17726
|
}
|
|
17722
|
-
},
|
|
17727
|
+
}, V2 = {
|
|
17723
17728
|
base: Mm,
|
|
17724
17729
|
collap: Tm,
|
|
17725
17730
|
expand: Rm,
|
|
@@ -17756,7 +17761,7 @@ function Hm(e, t) {
|
|
|
17756
17761
|
}
|
|
17757
17762
|
initNodeData(u) {
|
|
17758
17763
|
var d, f;
|
|
17759
|
-
super.initNodeData(u), (f = (d =
|
|
17764
|
+
super.initNodeData(u), (f = (d = V2[t.type]) == null ? void 0 : d.targetRules) == null || f.forEach((h) => {
|
|
17760
17765
|
this.targetRules.push(h);
|
|
17761
17766
|
});
|
|
17762
17767
|
}
|
|
@@ -17782,7 +17787,7 @@ function Q4(e, t, n) {
|
|
|
17782
17787
|
}
|
|
17783
17788
|
function a(o) {
|
|
17784
17789
|
let l = "";
|
|
17785
|
-
return
|
|
17790
|
+
return V2[t.type].nodeHtml.forEach((i) => {
|
|
17786
17791
|
var d;
|
|
17787
17792
|
let u = (d = i.value) == null ? void 0 : d.split(".").reduce((f, h) => f && f[h], o);
|
|
17788
17793
|
if ((i == null ? void 0 : i.component) == "date" && (Array.isArray(u) ? u = `${f2(u[0]).format(i["value-format"] || "YYYY-MM-DD HH:mm:ss")} 到 ${f2(u[1]).format(i["value-format"] || "YYYY-MM-DD HH:mm:ss")}` : u = f2(u).format(i["value-format"] || "YYYY-MM-DD HH:mm:ss")), (i == null ? void 0 : i.component) == "switch" && (u = u ? i.activeText || "是" : i.inactiveText || "否"), n[`lwFlow_${t.type}`] && n[`lwFlow_${t.type}`][i.value]) {
|
|
@@ -17829,7 +17834,7 @@ const Zm = {
|
|
|
17829
17834
|
dataForm: {
|
|
17830
17835
|
schedule: {}
|
|
17831
17836
|
},
|
|
17832
|
-
...
|
|
17837
|
+
...V2,
|
|
17833
17838
|
audienceIdOptions: [],
|
|
17834
17839
|
snapshotIdOptions: [],
|
|
17835
17840
|
audienceEstimate: "",
|
|
@@ -17884,7 +17889,7 @@ const Zm = {
|
|
|
17884
17889
|
span: 24
|
|
17885
17890
|
}
|
|
17886
17891
|
]
|
|
17887
|
-
}, t = ((n =
|
|
17892
|
+
}, t = ((n = V2[this.type]) == null ? void 0 : n.formConfig) || {};
|
|
17888
17893
|
return t != null && t.labelWidth && (e.labelWidth = t.labelWidth), t != null && t.labelPosition && (e.labelPosition = t.labelPosition), this.$store.state[`lwFlow_${this.type}`] || (this.$store.state[`lwFlow_${this.type}`] = {}), (r = t == null ? void 0 : t.formItems) == null || r.forEach(async (a) => {
|
|
17889
17894
|
var o, l, i, u;
|
|
17890
17895
|
if ((o = a == null ? void 0 : a.options) != null && o.items) {
|
|
@@ -18247,6 +18252,7 @@ const iA = /* @__PURE__ */ pe(rA, [["render", lA], ["__scopeId", "data-v-4650456
|
|
|
18247
18252
|
},
|
|
18248
18253
|
data() {
|
|
18249
18254
|
return {
|
|
18255
|
+
...V2,
|
|
18250
18256
|
dataForm: {}
|
|
18251
18257
|
};
|
|
18252
18258
|
},
|
|
@@ -18607,7 +18613,7 @@ const hA = /* @__PURE__ */ pe(dA, [["render", fA]]), pA = {
|
|
|
18607
18613
|
data() {
|
|
18608
18614
|
return {
|
|
18609
18615
|
activeName: "basicInfo",
|
|
18610
|
-
...
|
|
18616
|
+
...V2,
|
|
18611
18617
|
dataForm: {
|
|
18612
18618
|
text: { value: "" },
|
|
18613
18619
|
properties: {
|
|
@@ -18655,7 +18661,7 @@ const hA = /* @__PURE__ */ pe(dA, [["render", fA]]), pA = {
|
|
|
18655
18661
|
}
|
|
18656
18662
|
]
|
|
18657
18663
|
}, a = ((o = e(
|
|
18658
|
-
|
|
18664
|
+
V2,
|
|
18659
18665
|
this.nodesDataConfig
|
|
18660
18666
|
)[this.nodeData.type]) == null ? void 0 : o.formConfig) || {};
|
|
18661
18667
|
return a = JSON.parse(JSON.stringify(a)), a != null && a.labelWidth && (n.labelWidth = a.labelWidth), a != null && a.labelPosition && (n.labelPosition = a.labelPosition), this.$store.state[`lwFlow_${this.nodeData.type}`] || (this.$store.state[`lwFlow_${this.nodeData.type}`] = {}), (l = a == null ? void 0 : a.formItems) == null || l.forEach(async (i) => {
|
|
@@ -19460,7 +19466,7 @@ const AA = /* @__PURE__ */ pe(pA, [["render", mA], ["__scopeId", "data-v-ac36885
|
|
|
19460
19466
|
async validate() {
|
|
19461
19467
|
let { nodes: e } = this.logicFlow.getGraphData(), t = {};
|
|
19462
19468
|
for (const n of e) {
|
|
19463
|
-
let { formConfig: r } =
|
|
19469
|
+
let { formConfig: r } = V2[n.type], { formItems: a } = r, { data: o } = n.properties;
|
|
19464
19470
|
if ((a == null ? void 0 : a.length) > 0)
|
|
19465
19471
|
for (const l of a) {
|
|
19466
19472
|
let i = o && o[l == null ? void 0 : l.name], u = !1;
|