@das-fed/upf-ui 6.4.0-dev.285 → 6.4.0-dev.287
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/front-end/i18n/front-end-page/dasui_en-US.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +5 -5
- package/package.json +18 -4
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +8 -8
- package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +2 -2
- package/packages/business-components/process-configuration/index.js +124 -130
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +8 -8
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
- package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +2 -2
- package/packages/components/button/index.js +262 -216
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/button/style.css +1 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +1 -1
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +815 -668
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/time-zone-shortcut.d.ts +8 -0
- package/packages/components/date-picker/src/type.d.ts +17 -5
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +44 -38
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/src/Index.vue.d.ts +2 -2
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +471 -466
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/type.d.ts +3 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input/index.js +905 -890
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +3 -2
- package/packages/components/input/src/type.d.ts +1 -1
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/loading/index.js +176 -174
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/search-form/index.js +448 -445
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +2 -2
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +1 -1
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +272 -259
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/type.d.ts +8 -6
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/spin/index.js +50 -46
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +2 -0
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -0
- package/packages/components/tree-v2/index.js +1407 -1392
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/src/hook/use-upload.d.ts +1 -1
- package/packages/components/virtual-tree/index.js +121 -117
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/release-meta.json +13 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { withInstall as
|
|
2
|
-
import { ref as r, watch as
|
|
3
|
-
import { DasTable as
|
|
1
|
+
import { withInstall as ce } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
+
import { ref as r, watch as G, defineComponent as fe, computed as U, onUnmounted as me, onDeactivated as ye, openBlock as R, createElementBlock as j, Fragment as ve, createElementVNode as u, createVNode as l, unref as e, withCtx as s, createTextVNode as y, toDisplayString as p, createCommentVNode as q, isRef as W, withDirectives as Ce } from "vue";
|
|
3
|
+
import { DasTable as ge, DasTableColumn as V } from "@das-fed/upf-ui/packages/components/table/index";
|
|
4
4
|
import { DasDialog as B } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
5
5
|
import { DasButton as D } from "@das-fed/upf-ui/packages/components/button/index";
|
|
6
6
|
import { DasMessage as L } from "@das-fed/upf-ui/packages/components/message/index";
|
|
7
|
-
import { DasForm as
|
|
7
|
+
import { DasForm as he } from "@das-fed/upf-ui/packages/components/form/index";
|
|
8
8
|
import { DasFormItem as F } from "@das-fed/upf-ui/packages/components/form-item/index";
|
|
9
|
-
import { DasSpin as
|
|
9
|
+
import { DasSpin as we } from "@das-fed/upf-ui/packages/components/spin/index";
|
|
10
10
|
import { vOverlay as be } from "@das-fed/upf-ui/packages/components/overlay/index";
|
|
11
11
|
import { t as o, setI18nRule as ke } from "@das-fed/upf-web/packages/i18n/index";
|
|
12
12
|
import { getProjectInfo as v } from "@das-fed/upf-utils/common-info/index";
|
|
13
|
-
import { createService as
|
|
13
|
+
import { createService as H } from "@das-fed/upf-utils/api-services/src/create-service"
|
|
14
14
|
import '@das-fed/upf-ui/packages/business-components/process-configuration/style.css';
|
|
15
15
|
;
|
|
16
|
-
const
|
|
16
|
+
const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/instance/${Q}`), _e = A.post("/listJson"), De = A.post("/saveCopy"), Ne = ze.get("/getInstanceCountByDefKeys"), Oe = A.delete("/removeByDefIds"), xe = (f) => {
|
|
17
17
|
const m = v().id ? v().id : "371344636432453", n = v().name ? v().name : o("AIoT项目"), d = r(!1), C = r(!1), N = r({
|
|
18
18
|
defId: "",
|
|
19
19
|
// 流程id
|
|
@@ -32,7 +32,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
32
32
|
// 流程别名
|
|
33
33
|
name: ""
|
|
34
34
|
// 流程名称
|
|
35
|
-
}),
|
|
35
|
+
}), g = r({
|
|
36
36
|
name: [{ required: !0, message: o("必填"), trigger: "blur" }],
|
|
37
37
|
defKey: [{ required: !0, message: o("必填"), trigger: "blur" }]
|
|
38
38
|
});
|
|
@@ -40,12 +40,12 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
40
40
|
copyDialogShow: C,
|
|
41
41
|
copyFormData: N,
|
|
42
42
|
detailFormData: z,
|
|
43
|
-
rules:
|
|
43
|
+
rules: g,
|
|
44
44
|
copyDialogLoading: d,
|
|
45
45
|
saveCopyProcess: async (K) => {
|
|
46
46
|
var c;
|
|
47
|
-
(c = f.value) == null || c.validate(async (
|
|
48
|
-
if (
|
|
47
|
+
(c = f.value) == null || c.validate(async (w) => {
|
|
48
|
+
if (w) {
|
|
49
49
|
d.value = !0;
|
|
50
50
|
const [b, x] = await De(N.value, {
|
|
51
51
|
params: { destinationProject: m, project: m }
|
|
@@ -56,11 +56,11 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
56
56
|
}
|
|
57
57
|
d.value = !1, L.success(o("复制成功")), C.value = !1, K();
|
|
58
58
|
}
|
|
59
|
-
}),
|
|
59
|
+
}), G(
|
|
60
60
|
() => C.value,
|
|
61
|
-
(
|
|
61
|
+
(w) => {
|
|
62
62
|
var b;
|
|
63
|
-
|
|
63
|
+
w || (b = f.value) == null || b.resetFields();
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
},
|
|
@@ -69,18 +69,18 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
69
69
|
}, Ie = () => {
|
|
70
70
|
const f = v().id ? v().id : "371344636432453", m = r(!1), n = r([]);
|
|
71
71
|
return { deleteDialogShow: m, instanceCount: n, reqCount: async (z) => {
|
|
72
|
-
const
|
|
72
|
+
const g = {
|
|
73
73
|
defKeys: z,
|
|
74
74
|
projectId: f
|
|
75
|
-
}, [
|
|
75
|
+
}, [h, O] = await Ne(g).run();
|
|
76
76
|
n.value = O;
|
|
77
77
|
}, deleteDefItem: async (z) => {
|
|
78
|
-
const
|
|
78
|
+
const g = {
|
|
79
79
|
cascade: !0,
|
|
80
80
|
ids: z,
|
|
81
81
|
project: f
|
|
82
|
-
}, [
|
|
83
|
-
|
|
82
|
+
}, [h, O] = await Oe(g).run();
|
|
83
|
+
h || (m.value = !1, L.success(o("删除成功")));
|
|
84
84
|
}, cancelDelete: () => m.value = !1 };
|
|
85
85
|
}, Ve = { class: "das-process-configuration" }, Ke = { class: "table-box" }, Me = { class: "table-top" }, Se = { class: "operate" }, Pe = { class: "table-content" }, $e = { class: "form-content" }, Te = { class: "delete-dialog" }, Re = { class: "delete-text" }, je = { class: "delete-info-box" }, qe = {
|
|
86
86
|
key: 0,
|
|
@@ -88,7 +88,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
88
88
|
}, Fe = {
|
|
89
89
|
key: 1,
|
|
90
90
|
class: "delete-info-text"
|
|
91
|
-
}, Le = /* @__PURE__ */
|
|
91
|
+
}, Le = /* @__PURE__ */ fe({
|
|
92
92
|
__name: "index",
|
|
93
93
|
props: {
|
|
94
94
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -102,7 +102,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
102
102
|
setup(f, { emit: m }) {
|
|
103
103
|
const n = f, d = m, C = U(() => n.title || o("选择流程")), N = window.location.origin, z = v().id ? v().id : "371344636432453";
|
|
104
104
|
v().name ? v().name : o("AIoT项目");
|
|
105
|
-
const
|
|
105
|
+
const g = r(""), h = r(""), O = r(), K = U(() => n.modelValue ? n.modelValue : !1), c = r([]), w = r(!1), b = r(0), { copyDialogShow: x, copyFormData: k, detailFormData: _, rules: X, saveCopyProcess: Y, cancelCopy: Z, copyDialogLoading: ee } = xe(O), { deleteDialogShow: M, instanceCount: S, reqCount: ae, deleteDefItem: oe, cancelDelete: te } = Ie(), le = U(() => n.operation ?? [
|
|
106
106
|
{
|
|
107
107
|
label: o("编辑"),
|
|
108
108
|
value: "edit"
|
|
@@ -121,24 +121,24 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
121
121
|
// 隐藏
|
|
122
122
|
// hide: true,
|
|
123
123
|
}
|
|
124
|
-
]),
|
|
124
|
+
]), ne = r([
|
|
125
125
|
{ text: o("已发布"), value: "deploy", type: "info" },
|
|
126
126
|
{ text: o("未发布"), value: "draft" },
|
|
127
127
|
{ text: o("禁用"), value: "forbidden", type: "danger" },
|
|
128
128
|
{ text: o("禁止实例"), value: "forbidden_instance", type: "warning" }
|
|
129
|
-
]),
|
|
130
|
-
const a =
|
|
129
|
+
]), se = (i) => {
|
|
130
|
+
const a = ne.value.find((t) => t.value === i);
|
|
131
131
|
return a == null ? void 0 : a.text;
|
|
132
|
-
}, I = r(n.defKey), P = r(),
|
|
132
|
+
}, I = r(n.defKey), P = r(), re = (i, a, t) => {
|
|
133
133
|
P.value = a;
|
|
134
134
|
}, E = async (i, a) => {
|
|
135
135
|
if (i === "edit") {
|
|
136
136
|
const t = JSON.stringify(a);
|
|
137
137
|
window.open(`${N}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${t}`);
|
|
138
138
|
}
|
|
139
|
-
i === "copy" && (x.value = !0, k.value.defId = a.defId, k.value.typeId = a.typeId, k.value.defKey = "", k.value.name = "", _.value.defId = a.defId, _.value.defKey = a.defKey, _.value.name = a.name), i === "delete" && (
|
|
139
|
+
i === "copy" && (x.value = !0, k.value.defId = a.defId, k.value.typeId = a.typeId, k.value.defKey = "", k.value.name = "", _.value.defId = a.defId, _.value.defKey = a.defKey, _.value.name = a.name), i === "delete" && (g.value = a.id, h.value = a.name, await ae(a.defKey), M.value = !0), d("operationClick", i, a);
|
|
140
140
|
}, $ = async () => {
|
|
141
|
-
b.value++, b.value === 1 && (
|
|
141
|
+
b.value++, b.value === 1 && (w.value = !0);
|
|
142
142
|
const i = {
|
|
143
143
|
pageBean: { page: 1, pageSize: 1e4, total: 2 },
|
|
144
144
|
sorter: [{ property: "createTime", direction: "DESC" }],
|
|
@@ -147,19 +147,19 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
147
147
|
]
|
|
148
148
|
}, [a, t] = await _e(i, { params: { project: z } }).run();
|
|
149
149
|
if (a) {
|
|
150
|
-
|
|
150
|
+
w.value = !1;
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
|
-
|
|
154
|
-
},
|
|
153
|
+
w.value = !1, c.value = t.rows;
|
|
154
|
+
}, ie = () => {
|
|
155
155
|
window.open(`${N}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
|
|
156
|
+
}, de = async () => {
|
|
157
|
+
await Y($);
|
|
156
158
|
}, ue = async () => {
|
|
157
|
-
await
|
|
158
|
-
}, pe = async () => {
|
|
159
|
-
await te(h.value), await $();
|
|
159
|
+
await oe(g.value), await $();
|
|
160
160
|
}, J = () => {
|
|
161
161
|
c.value.map((a) => a.defKey).includes(n.defKey) ? d("cancelDialog", !1) : d("cancelDialog", !0), d("update:modelValue", !1);
|
|
162
|
-
},
|
|
162
|
+
}, pe = () => {
|
|
163
163
|
if (!c.value.map((a) => a.defKey).includes(I.value)) {
|
|
164
164
|
L.warning(o("请选择流程"));
|
|
165
165
|
return;
|
|
@@ -167,26 +167,26 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
167
167
|
d("processInfo", P.value), d("update:modelValue", !1);
|
|
168
168
|
};
|
|
169
169
|
let T = r(0);
|
|
170
|
-
return
|
|
170
|
+
return G(
|
|
171
171
|
() => n.modelValue,
|
|
172
172
|
async (i, a) => {
|
|
173
173
|
i && (await $(), c.value.length > 0 && (n.defKey ? (I.value = n.defKey, P.value = c.value.find((t) => t.defKey === n.defKey)) : (I.value = c.value[0].defKey, P.value = c.value[0])), T.value = window.setInterval(() => {
|
|
174
174
|
$();
|
|
175
175
|
}, 1500)), i || (b.value = 0, window.clearInterval(T.value));
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), me(() => {
|
|
178
178
|
window.clearInterval(T.value);
|
|
179
|
-
}),
|
|
179
|
+
}), ye(() => {
|
|
180
180
|
window.clearInterval(T.value);
|
|
181
181
|
}), (i, a) => (R(), j(
|
|
182
|
-
|
|
182
|
+
ve,
|
|
183
183
|
null,
|
|
184
184
|
[
|
|
185
185
|
u("div", Ve, [
|
|
186
186
|
l(e(B), {
|
|
187
187
|
modelValue: K.value,
|
|
188
188
|
"onUpdate:modelValue": a[2] || (a[2] = (t) => K.value = t),
|
|
189
|
-
loading:
|
|
189
|
+
loading: w.value,
|
|
190
190
|
title: C.value,
|
|
191
191
|
width: "1170px",
|
|
192
192
|
height: "689px",
|
|
@@ -209,7 +209,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
209
209
|
l(e(D), {
|
|
210
210
|
btnType: "primary",
|
|
211
211
|
style: { "margin-left": "12px" },
|
|
212
|
-
onClick:
|
|
212
|
+
onClick: pe
|
|
213
213
|
}, {
|
|
214
214
|
default: s(() => [
|
|
215
215
|
y(
|
|
@@ -224,88 +224,82 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
224
224
|
])
|
|
225
225
|
]),
|
|
226
226
|
default: s(() => [
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
u("div",
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
227
|
+
u("div", Ke, [
|
|
228
|
+
u("div", Me, [
|
|
229
|
+
u("div", Se, [
|
|
230
|
+
l(e(D), {
|
|
231
|
+
btnType: "primary-text",
|
|
232
|
+
size: "large",
|
|
233
|
+
block: "",
|
|
234
|
+
onClick: ie
|
|
235
|
+
}, {
|
|
236
|
+
default: s(() => [
|
|
237
|
+
y(
|
|
238
|
+
p(e(o)("添加")),
|
|
239
|
+
1
|
|
240
|
+
/* TEXT */
|
|
241
|
+
)
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
/* STABLE */
|
|
245
|
+
})
|
|
246
|
+
])
|
|
247
|
+
]),
|
|
248
|
+
u("div", Pe, [
|
|
249
|
+
l(e(ge), {
|
|
250
|
+
ref: "addTable",
|
|
251
|
+
"max-height": "100%",
|
|
252
|
+
"radio-selection": "",
|
|
253
|
+
hideSelectionText: !1,
|
|
254
|
+
operation: le.value,
|
|
255
|
+
simpleEmpty: "",
|
|
256
|
+
"outer-border": "",
|
|
257
|
+
"row-key": "defKey",
|
|
258
|
+
data: c.value,
|
|
259
|
+
onOperationClick: E,
|
|
260
|
+
currentRodioSelection: I.value,
|
|
261
|
+
"onUpdate:currentRodioSelection": a[1] || (a[1] = (t) => I.value = t),
|
|
262
|
+
onRadioChange: re
|
|
263
|
+
}, {
|
|
264
|
+
default: s(() => [
|
|
265
|
+
l(e(V), {
|
|
266
|
+
label: e(o)("流程名称"),
|
|
267
|
+
"content-type": "link",
|
|
268
|
+
onClickLink: a[0] || (a[0] = (t) => E("edit", t)),
|
|
269
|
+
prop: "name"
|
|
270
|
+
}, null, 8, ["label"]),
|
|
271
|
+
l(e(V), {
|
|
272
|
+
label: e(o)("流程key"),
|
|
273
|
+
prop: "defKey"
|
|
274
|
+
}, null, 8, ["label"]),
|
|
275
|
+
l(e(V), {
|
|
276
|
+
label: e(o)("流程描述"),
|
|
277
|
+
prop: "desc"
|
|
278
|
+
}, null, 8, ["label"]),
|
|
279
|
+
l(e(V), {
|
|
280
|
+
label: e(o)("状态"),
|
|
281
|
+
prop: "status"
|
|
265
282
|
}, {
|
|
266
|
-
default: s(() => [
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}, null, 8, ["label"]),
|
|
273
|
-
l(e(V), {
|
|
274
|
-
label: e(o)("流程key"),
|
|
275
|
-
prop: "defKey"
|
|
276
|
-
}, null, 8, ["label"]),
|
|
277
|
-
l(e(V), {
|
|
278
|
-
label: e(o)("流程描述"),
|
|
279
|
-
prop: "desc"
|
|
280
|
-
}, null, 8, ["label"]),
|
|
281
|
-
l(e(V), {
|
|
282
|
-
label: e(o)("状态"),
|
|
283
|
-
prop: "status"
|
|
284
|
-
}, {
|
|
285
|
-
default: s(({ row: t, $index: Ee }) => [
|
|
286
|
-
y(
|
|
287
|
-
p(re(t.status)),
|
|
288
|
-
1
|
|
289
|
-
/* TEXT */
|
|
290
|
-
)
|
|
291
|
-
]),
|
|
292
|
-
_: 1
|
|
293
|
-
/* STABLE */
|
|
294
|
-
}, 8, ["label"]),
|
|
295
|
-
l(e(V), {
|
|
296
|
-
label: e(o)("版本号"),
|
|
297
|
-
prop: "version"
|
|
298
|
-
}, null, 8, ["label"])
|
|
283
|
+
default: s(({ row: t, $index: Ee }) => [
|
|
284
|
+
y(
|
|
285
|
+
p(se(t.status)),
|
|
286
|
+
1
|
|
287
|
+
/* TEXT */
|
|
288
|
+
)
|
|
299
289
|
]),
|
|
300
290
|
_: 1
|
|
301
291
|
/* STABLE */
|
|
302
|
-
}, 8, ["
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
292
|
+
}, 8, ["label"]),
|
|
293
|
+
l(e(V), {
|
|
294
|
+
label: e(o)("版本号"),
|
|
295
|
+
prop: "version"
|
|
296
|
+
}, null, 8, ["label"])
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
/* STABLE */
|
|
300
|
+
}, 8, ["operation", "data", "currentRodioSelection"])
|
|
301
|
+
])
|
|
302
|
+
])
|
|
309
303
|
]),
|
|
310
304
|
_: 1
|
|
311
305
|
/* STABLE */
|
|
@@ -321,7 +315,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
321
315
|
}, {
|
|
322
316
|
footer: s(() => [
|
|
323
317
|
u("div", null, [
|
|
324
|
-
l(e(D), { onClick: e(
|
|
318
|
+
l(e(D), { onClick: e(Z) }, {
|
|
325
319
|
default: s(() => [
|
|
326
320
|
y(
|
|
327
321
|
p(e(o)("取消")),
|
|
@@ -335,7 +329,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
335
329
|
l(e(D), {
|
|
336
330
|
btnType: "primary",
|
|
337
331
|
style: { "margin-left": "12px" },
|
|
338
|
-
onClick:
|
|
332
|
+
onClick: de
|
|
339
333
|
}, {
|
|
340
334
|
default: s(() => [
|
|
341
335
|
y(
|
|
@@ -350,17 +344,17 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
350
344
|
])
|
|
351
345
|
]),
|
|
352
346
|
default: s(() => [
|
|
353
|
-
l(e(
|
|
347
|
+
l(e(we), { spinning: e(ee) }, {
|
|
354
348
|
default: s(() => [
|
|
355
349
|
u("div", $e, [
|
|
356
|
-
l(e(
|
|
350
|
+
l(e(he), {
|
|
357
351
|
alignType: "horizontal",
|
|
358
352
|
contentWidth: "230",
|
|
359
353
|
marginBottom: "30px",
|
|
360
354
|
marginRight: "26px",
|
|
361
355
|
ref_key: "editForm",
|
|
362
356
|
ref: O,
|
|
363
|
-
rules: e(
|
|
357
|
+
rules: e(X)
|
|
364
358
|
}, {
|
|
365
359
|
default: s(() => [
|
|
366
360
|
l(e(F), {
|
|
@@ -419,7 +413,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
419
413
|
}, {
|
|
420
414
|
footer: s(() => [
|
|
421
415
|
u("div", null, [
|
|
422
|
-
l(e(D), { onClick: e(
|
|
416
|
+
l(e(D), { onClick: e(te) }, {
|
|
423
417
|
default: s(() => [
|
|
424
418
|
y(
|
|
425
419
|
p(e(o)("取消")),
|
|
@@ -433,7 +427,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
433
427
|
l(e(D), {
|
|
434
428
|
btnType: "primary",
|
|
435
429
|
style: { "margin-left": "12px" },
|
|
436
|
-
onClick:
|
|
430
|
+
onClick: ue
|
|
437
431
|
}, {
|
|
438
432
|
default: s(() => [
|
|
439
433
|
y(
|
|
@@ -474,11 +468,11 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
474
468
|
-1
|
|
475
469
|
/* CACHED */
|
|
476
470
|
)),
|
|
477
|
-
|
|
471
|
+
Ce((R(), j("div", je, [
|
|
478
472
|
e(S).length === 0 ? (R(), j(
|
|
479
473
|
"div",
|
|
480
474
|
qe,
|
|
481
|
-
p(e(o)("dasui-process-configuration-key1",
|
|
475
|
+
p(e(o)("dasui-process-configuration-key1", h.value, 0, 0)),
|
|
482
476
|
1
|
|
483
477
|
/* TEXT */
|
|
484
478
|
)) : q("v-if", !0),
|
|
@@ -487,7 +481,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
487
481
|
Fe,
|
|
488
482
|
p(e(o)(
|
|
489
483
|
"dasui-process-configuration-key1",
|
|
490
|
-
|
|
484
|
+
h.value,
|
|
491
485
|
e(S)[0].totalCount,
|
|
492
486
|
e(S)[0].runningCount
|
|
493
487
|
)),
|
|
@@ -512,7 +506,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
512
506
|
for (const [d, C] of m)
|
|
513
507
|
n[d] = C;
|
|
514
508
|
return n;
|
|
515
|
-
}, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-
|
|
509
|
+
}, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-52ad1ea6"]]), Ae = {
|
|
516
510
|
必填: { "zh-CN": "必填", en: "Required", "zh-MO": "必填", _appCode: "framework" },
|
|
517
511
|
复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", "zh-MO": "複製成功", _appCode: "framework" },
|
|
518
512
|
删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", "zh-MO": "刪除成功", _appCode: "framework" },
|
|
@@ -555,7 +549,7 @@ const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/inst
|
|
|
555
549
|
}
|
|
556
550
|
};
|
|
557
551
|
ke(Ae);
|
|
558
|
-
const na =
|
|
552
|
+
const na = ce(Be);
|
|
559
553
|
export {
|
|
560
554
|
na as DasProcessConfiguration,
|
|
561
555
|
na as default
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-process-configuration .table-top[data-v-
|
|
1
|
+
.das-process-configuration .table-top[data-v-52ad1ea6]{display:flex;align-items:center;justify-content:flex-end;height:40px;flex-shrink:0}.das-process-configuration .table-top .operate[data-v-52ad1ea6]{display:flex}.das-process-configuration .table-box[data-v-52ad1ea6]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-52ad1ea6]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-52ad1ea6] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-52ad1ea6] .das-ui-dialog.feedback .delete-text{font-size:16px;color:#212121;letter-spacing:0;text-align:center;line-height:24px;font-weight:400}.delete-dialog[data-v-52ad1ea6] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-52ad1ea6] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-52ad1ea6] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}
|
|
Binary file
|
|
@@ -38,8 +38,8 @@ export declare const useForm: (props: any, emits: any, store: any) => {
|
|
|
38
38
|
$emit: (event: string, ...args: any[]) => void;
|
|
39
39
|
$el: any;
|
|
40
40
|
$options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
|
|
41
|
-
validate: (callback:
|
|
42
|
-
validateField: (prop: string, callback:
|
|
41
|
+
validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
42
|
+
validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
43
43
|
resetField: () => void;
|
|
44
44
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
45
45
|
size: "small" | "default" | "large";
|
|
@@ -90,8 +90,8 @@ export declare const useForm: (props: any, emits: any, store: any) => {
|
|
|
90
90
|
isSearchForm: boolean;
|
|
91
91
|
autoMarginRight: boolean;
|
|
92
92
|
}> & Omit<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, "validate" | "validateField" | "resetField" | ("size" | "alignItems" | "marginBottom" | "marginRight" | "errorMode" | "labelLength" | "contentWidth" | "labelPosition" | "alignType" | "rules" | "labelMarginRight" | "isSearchForm" | "autoMarginRight")> & import("vue").ShallowUnwrapRef<{
|
|
93
|
-
validate: (callback:
|
|
94
|
-
validateField: (prop: string, callback:
|
|
93
|
+
validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
94
|
+
validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
95
95
|
resetField: () => void;
|
|
96
96
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
97
97
|
$slots: {
|
|
@@ -132,8 +132,8 @@ export declare const useForm: (props: any, emits: any, store: any) => {
|
|
|
132
132
|
$emit: (event: string, ...args: any[]) => void;
|
|
133
133
|
$el: any;
|
|
134
134
|
$options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
|
|
135
|
-
validate: (callback:
|
|
136
|
-
validateField: (prop: string, callback:
|
|
135
|
+
validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
136
|
+
validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
137
137
|
resetField: () => void;
|
|
138
138
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
139
139
|
size: "small" | "default" | "large";
|
|
@@ -184,8 +184,8 @@ export declare const useForm: (props: any, emits: any, store: any) => {
|
|
|
184
184
|
isSearchForm: boolean;
|
|
185
185
|
autoMarginRight: boolean;
|
|
186
186
|
}> & Omit<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, "validate" | "validateField" | "resetField" | ("size" | "alignItems" | "marginBottom" | "marginRight" | "errorMode" | "labelLength" | "contentWidth" | "labelPosition" | "alignType" | "rules" | "labelMarginRight" | "isSearchForm" | "autoMarginRight")> & import("vue").ShallowUnwrapRef<{
|
|
187
|
-
validate: (callback:
|
|
188
|
-
validateField: (prop: string, callback:
|
|
187
|
+
validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
188
|
+
validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
|
|
189
189
|
resetField: () => void;
|
|
190
190
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
191
191
|
$slots: {
|
|
@@ -17,7 +17,7 @@ export declare const useSearchOptions: (prop: Props, emits: Emits) => {
|
|
|
17
17
|
value?: any;
|
|
18
18
|
checkedNodes?: any[] | undefined;
|
|
19
19
|
label?: any;
|
|
20
|
-
type?: (("input" | "select" | "textarea" | "switch" | "custom" | "password" | "treeSelect" | "radio" | "checkbox" | "cascader" | "colorPicker" | "selectInput" | "inputDialogSelect" | "inputNumber" | ("
|
|
20
|
+
type?: (("input" | "select" | "textarea" | "switch" | "custom" | "password" | "treeSelect" | "radio" | "checkbox" | "cascader" | "colorPicker" | "selectInput" | "inputDialogSelect" | "inputNumber" | ("date" | "year" | "month" | "week" | "time" | "dateTime" | "quarter") | ("dateRange" | "dateTimeRange" | "weekRange" | "monthRange" | "yearRange" | "timeRange")) | "searchInput" | "selectSearch" | "selectDateRange" | "inputSelect") | undefined;
|
|
21
21
|
layout?: ("out" | "inner") | undefined;
|
|
22
22
|
closable?: boolean | undefined;
|
|
23
23
|
custom?: boolean | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const useSearchOptions: (prop: Props, emits: Emits) => {
|
|
|
33
33
|
value?: any;
|
|
34
34
|
checkedNodes?: any[] | undefined;
|
|
35
35
|
label?: any;
|
|
36
|
-
type?: (("input" | "select" | "textarea" | "switch" | "custom" | "password" | "treeSelect" | "radio" | "checkbox" | "cascader" | "colorPicker" | "selectInput" | "inputDialogSelect" | "inputNumber" | ("
|
|
36
|
+
type?: (("input" | "select" | "textarea" | "switch" | "custom" | "password" | "treeSelect" | "radio" | "checkbox" | "cascader" | "colorPicker" | "selectInput" | "inputDialogSelect" | "inputNumber" | ("date" | "year" | "month" | "week" | "time" | "dateTime" | "quarter") | ("dateRange" | "dateTimeRange" | "weekRange" | "monthRange" | "yearRange" | "timeRange")) | "searchInput" | "selectSearch" | "selectDateRange" | "inputSelect") | undefined;
|
|
37
37
|
layout?: ("out" | "inner") | undefined;
|
|
38
38
|
closable?: boolean | undefined;
|
|
39
39
|
custom?: boolean | undefined;
|
|
@@ -21,11 +21,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
21
21
|
onResizing?: ((rect: rectType) => any) | undefined;
|
|
22
22
|
onResizestop?: ((rect: rectType) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
x: number;
|
|
25
24
|
y: number;
|
|
26
|
-
aspectRatio: boolean;
|
|
27
25
|
h: number | string;
|
|
28
26
|
w: number | string;
|
|
27
|
+
x: number;
|
|
28
|
+
aspectRatio: boolean;
|
|
29
29
|
isActive: boolean;
|
|
30
30
|
axis: string;
|
|
31
31
|
preventActiveBehavior: boolean;
|