@das-fed/upf-ui 6.4.0-dev.270 → 6.4.0-dev.272

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.
Files changed (25) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
  4. package/package.json +3 -3
  5. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +8 -8
  6. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  7. package/packages/business-components/process-configuration/index.js +124 -130
  8. package/packages/business-components/process-configuration/index.js.gz +0 -0
  9. package/packages/business-components/process-configuration/style.css +1 -1
  10. package/packages/business-components/process-configuration/style.css.gz +0 -0
  11. package/packages/business-components/process-form/src/hooks/useForm.d.ts +8 -8
  12. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
  13. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  14. package/packages/components/date-picker/index.js +793 -647
  15. package/packages/components/date-picker/index.js.gz +0 -0
  16. package/packages/components/date-picker/src/time-zone-shortcut.d.ts +8 -0
  17. package/packages/components/date-picker/src/type.d.ts +22 -10
  18. package/packages/components/date-picker/style.css +1 -1
  19. package/packages/components/date-picker/style.css.gz +0 -0
  20. package/packages/components/form/index.d.ts +14 -14
  21. package/packages/components/form/index.js +44 -38
  22. package/packages/components/form/index.js.gz +0 -0
  23. package/packages/components/form/src/Index.vue.d.ts +2 -2
  24. package/packages/components/form/style.css +1 -1
  25. package/packages/components/upload/src/hook/use-upload.d.ts +1 -1
@@ -739,12 +739,12 @@ export default {
739
739
  "用户": "",
740
740
  "预订上午": "",
741
741
  "的会议室": "",
742
- "数据趋势": "",
743
742
  "数字": "",
744
743
  "小写字母": "",
745
744
  "大写字母": "",
746
745
  "符号": "",
747
746
  "修改密码成功": "",
747
+ "数据趋势": "",
748
748
  "引用": "",
749
749
  "篇资料作为参考": "",
750
750
  "思考中": "",
@@ -726,12 +726,12 @@ export default {
726
726
  "用户": "用户",
727
727
  "预订上午": "预订上午",
728
728
  "的会议室": "的会议室",
729
- "数据趋势": "数据趋势",
730
729
  "数字": "数字",
731
730
  "小写字母": "小写字母",
732
731
  "大写字母": "大写字母",
733
732
  "符号": "符号",
734
733
  "修改密码成功": "修改密码成功",
734
+ "数据趋势": "数据趋势",
735
735
  "引用": "引用",
736
736
  "篇资料作为参考": "篇资料作为参考",
737
737
  "思考中": "思考中",
@@ -725,12 +725,12 @@ export default {
725
725
  "用户": "",
726
726
  "预订上午": "",
727
727
  "的会议室": "",
728
- "数据趋势": "",
729
728
  "数字": "",
730
729
  "小写字母": "",
731
730
  "大写字母": "",
732
731
  "符号": "",
733
732
  "修改密码成功": "",
733
+ "数据趋势": "",
734
734
  "引用": "",
735
735
  "篇资料作为参考": "",
736
736
  "思考中": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/upf-ui",
3
- "version": "6.4.0-dev.270",
3
+ "version": "6.4.0-dev.272",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -55,8 +55,8 @@
55
55
  "vue-tsc": "^2.0.29"
56
56
  },
57
57
  "dependencies": {
58
- "@das-fed/upf-cli": "6.4.0-dev.270",
59
- "@das-fed/upf-utils": "6.4.0-dev.270",
58
+ "@das-fed/upf-cli": "6.4.0-dev.272",
59
+ "@das-fed/upf-utils": "6.4.0-dev.272",
60
60
  "@types/markdown-it": "^14.1.2",
61
61
  "@wangeditor-next/editor": "5.6.31",
62
62
  "@wangeditor-next/editor-for-vue": "5.1.14",
@@ -37,8 +37,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
37
37
  $emit: (event: string, ...args: any[]) => void;
38
38
  $el: any;
39
39
  $options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
40
- validate: (callback: any) => Promise<void>;
41
- validateField: (prop: string, callback: any) => Promise<void>;
40
+ validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
41
+ validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
42
42
  resetField: () => void;
43
43
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
44
44
  size: "small" | "default" | "large";
@@ -89,8 +89,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
89
89
  isSearchForm: boolean;
90
90
  autoMarginRight: boolean;
91
91
  }> & 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<{
92
- validate: (callback: any) => Promise<void>;
93
- validateField: (prop: string, callback: any) => Promise<void>;
92
+ validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
93
+ validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
94
94
  resetField: () => void;
95
95
  }> & {} & import("vue").ComponentCustomProperties & {} & {
96
96
  $slots: {
@@ -131,8 +131,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
131
131
  $emit: (event: string, ...args: any[]) => void;
132
132
  $el: any;
133
133
  $options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
134
- validate: (callback: any) => Promise<void>;
135
- validateField: (prop: string, callback: any) => Promise<void>;
134
+ validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
135
+ validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
136
136
  resetField: () => void;
137
137
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
138
138
  size: "small" | "default" | "large";
@@ -183,8 +183,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
183
183
  isSearchForm: boolean;
184
184
  autoMarginRight: boolean;
185
185
  }> & 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<{
186
- validate: (callback: any) => Promise<void>;
187
- validateField: (prop: string, callback: any) => Promise<void>;
186
+ validate: (callback?: (valid: boolean) => void) => Promise<boolean>;
187
+ validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
188
188
  resetField: () => void;
189
189
  }> & {} & import("vue").ComponentCustomProperties & {} & {
190
190
  $slots: {
@@ -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;
@@ -1,19 +1,19 @@
1
- import { withInstall as fe } from "@das-fed/upf-utils/with-install/index";
2
- import { ref as r, watch as H, defineComponent as me, computed as U, onUnmounted as ye, onDeactivated as ve, openBlock as R, createElementBlock as j, Fragment as Ce, 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 ge } from "vue";
3
- import { DasTable as he, DasTableColumn as V } from "@das-fed/upf-ui/packages/components/table/index";
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 we } from "@das-fed/upf-ui/packages/components/form/index";
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 G } from "@das-fed/upf-ui/packages/components/spin/index";
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 Q } from "@das-fed/upf-utils/api-services/src/create-service"
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 X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/instance/${X}`), _e = A.post("/listJson"), De = A.post("/saveCopy"), Ne = ze.get("/getInstanceCountByDefKeys"), Oe = A.delete("/removeByDefIds"), xe = (f) => {
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
- }), h = r({
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: h,
43
+ rules: g,
44
44
  copyDialogLoading: d,
45
45
  saveCopyProcess: async (K) => {
46
46
  var c;
47
- (c = f.value) == null || c.validate(async (g) => {
48
- if (g) {
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
- }), H(
59
+ }), G(
60
60
  () => C.value,
61
- (g) => {
61
+ (w) => {
62
62
  var b;
63
- g || (b = f.value) == null || b.resetFields();
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 h = {
72
+ const g = {
73
73
  defKeys: z,
74
74
  projectId: f
75
- }, [w, O] = await Ne(h).run();
75
+ }, [h, O] = await Ne(g).run();
76
76
  n.value = O;
77
77
  }, deleteDefItem: async (z) => {
78
- const h = {
78
+ const g = {
79
79
  cascade: !0,
80
80
  ids: z,
81
81
  project: f
82
- }, [w, O] = await Oe(h).run();
83
- w || (m.value = !1, L.success(o("删除成功")));
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__ */ me({
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 h = r(""), w = r(""), O = r(), K = U(() => n.modelValue ? n.modelValue : !1), c = r([]), g = r(!1), b = r(0), { copyDialogShow: x, copyFormData: k, detailFormData: _, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: ae } = xe(O), { deleteDialogShow: M, instanceCount: S, reqCount: oe, deleteDefItem: te, cancelDelete: le } = Ie(), ne = U(() => n.operation ?? [
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
- ]), se = r([
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
- ]), re = (i) => {
130
- const a = se.value.find((t) => t.value === i);
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(), ie = (i, a, t) => {
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" && (h.value = a.id, w.value = a.name, await oe(a.defKey), M.value = !0), d("operationClick", i, a);
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 && (g.value = !0);
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
- g.value = !1;
150
+ w.value = !1;
151
151
  return;
152
152
  }
153
- g.value = !1, c.value = t.rows;
154
- }, de = () => {
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 Z($);
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
- }, ce = () => {
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 H(
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
- ), ye(() => {
177
+ ), me(() => {
178
178
  window.clearInterval(T.value);
179
- }), ve(() => {
179
+ }), ye(() => {
180
180
  window.clearInterval(T.value);
181
181
  }), (i, a) => (R(), j(
182
- Ce,
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: g.value,
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: ce
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
- l(e(G), { spinning: g.value }, {
228
- default: s(() => [
229
- u("div", Ke, [
230
- u("div", Me, [
231
- u("div", Se, [
232
- l(e(D), {
233
- btnType: "primary-text",
234
- size: "large",
235
- block: "",
236
- onClick: de
237
- }, {
238
- default: s(() => [
239
- y(
240
- p(e(o)("添加")),
241
- 1
242
- /* TEXT */
243
- )
244
- ]),
245
- _: 1
246
- /* STABLE */
247
- })
248
- ])
249
- ]),
250
- u("div", Pe, [
251
- l(e(he), {
252
- ref: "addTable",
253
- "max-height": "100%",
254
- "radio-selection": "",
255
- hideSelectionText: !1,
256
- operation: ne.value,
257
- simpleEmpty: "",
258
- "outer-border": "",
259
- "row-key": "defKey",
260
- data: c.value,
261
- onOperationClick: E,
262
- currentRodioSelection: I.value,
263
- "onUpdate:currentRodioSelection": a[1] || (a[1] = (t) => I.value = t),
264
- onRadioChange: ie
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
- l(e(V), {
268
- label: e(o)("流程名称"),
269
- "content-type": "link",
270
- onClickLink: a[0] || (a[0] = (t) => E("edit", t)),
271
- prop: "name"
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, ["operation", "data", "currentRodioSelection"])
303
- ])
304
- ])
305
- ]),
306
- _: 1
307
- /* STABLE */
308
- }, 8, ["spinning"])
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(ee) }, {
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: ue
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(G), { spinning: e(ae) }, {
347
+ l(e(we), { spinning: e(ee) }, {
354
348
  default: s(() => [
355
349
  u("div", $e, [
356
- l(e(we), {
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(Y)
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(le) }, {
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: pe
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
- ge((R(), j("div", je, [
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", w.value, 0, 0)),
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
- w.value,
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-46acc5dd"]]), Ae = {
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 = fe(Be);
552
+ const na = ce(Be);
559
553
  export {
560
554
  na as DasProcessConfiguration,
561
555
  na as default
@@ -1 +1 @@
1
- .das-process-configuration .table-top[data-v-46acc5dd]{display:flex;align-items:center;justify-content:flex-end;height:40px;flex-shrink:0}.das-process-configuration .table-top .operate[data-v-46acc5dd]{display:flex}.das-process-configuration .table-box[data-v-46acc5dd]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-46acc5dd]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-46acc5dd] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-46acc5dd] .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-46acc5dd] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-46acc5dd] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-46acc5dd] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}
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}