@das-fed/upf-ui 6.4.0-dev.279 → 6.4.0-dev.280

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 (82) 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 +130 -124
  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/button/index.js +1 -1
  15. package/packages/components/button/index.js.gz +0 -0
  16. package/packages/components/button/style.css +1 -1
  17. package/packages/components/button/style.css.gz +0 -0
  18. package/packages/components/checkbox/index.d.ts +9 -9
  19. package/packages/components/checkbox/index.js +1 -1
  20. package/packages/components/checkbox/index.js.gz +0 -0
  21. package/packages/components/checkbox/src/Index.vue.d.ts +1 -1
  22. package/packages/components/checkbox/style.css +1 -1
  23. package/packages/components/checkbox/style.css.gz +0 -0
  24. package/packages/components/date-picker/index.d.ts +12 -12
  25. package/packages/components/date-picker/index.js +647 -793
  26. package/packages/components/date-picker/index.js.gz +0 -0
  27. package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  28. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
  29. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
  30. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
  31. package/packages/components/date-picker/src/type.d.ts +10 -22
  32. package/packages/components/date-picker/style.css +1 -1
  33. package/packages/components/date-picker/style.css.gz +0 -0
  34. package/packages/components/dialog/index.d.ts +3 -3
  35. package/packages/components/dialog/src/Index.vue.d.ts +1 -1
  36. package/packages/components/form/index.d.ts +14 -14
  37. package/packages/components/form/index.js +38 -44
  38. package/packages/components/form/index.js.gz +0 -0
  39. package/packages/components/form/src/Index.vue.d.ts +2 -2
  40. package/packages/components/form/style.css +1 -1
  41. package/packages/components/form-item/index.js +466 -471
  42. package/packages/components/form-item/index.js.gz +0 -0
  43. package/packages/components/form-item/src/type.d.ts +0 -3
  44. package/packages/components/form-item/style.css +1 -1
  45. package/packages/components/form-item/style.css.gz +0 -0
  46. package/packages/components/input/index.js +890 -905
  47. package/packages/components/input/index.js.gz +0 -0
  48. package/packages/components/input/src/index.vue.d.ts +2 -3
  49. package/packages/components/input/src/type.d.ts +1 -1
  50. package/packages/components/input/style.css +1 -1
  51. package/packages/components/input/style.css.gz +0 -0
  52. package/packages/components/menu-aside/index.d.ts +5 -5
  53. package/packages/components/menu-aside/src/Index.vue.d.ts +2 -2
  54. package/packages/components/radio/index.d.ts +9 -9
  55. package/packages/components/radio/src/Index.vue.d.ts +1 -1
  56. package/packages/components/search-form/index.js +816 -815
  57. package/packages/components/search-form/index.js.gz +0 -0
  58. package/packages/components/search-form/style.css +1 -1
  59. package/packages/components/search-form/style.css.gz +0 -0
  60. package/packages/components/select/index.d.ts +3 -3
  61. package/packages/components/select/index.js +275 -287
  62. package/packages/components/select/index.js.gz +0 -0
  63. package/packages/components/select/src/Select.vue.d.ts +1 -1
  64. package/packages/components/select/src/type.d.ts +4 -4
  65. package/packages/components/select/style.css +1 -1
  66. package/packages/components/select/style.css.gz +0 -0
  67. package/packages/components/spin/index.js +30 -32
  68. package/packages/components/spin/index.js.gz +0 -0
  69. package/packages/components/tabs/index.d.ts +17 -17
  70. package/packages/components/tabs/src/Tabs.vue.d.ts +6 -6
  71. package/packages/components/tooltip/index.d.ts +9 -9
  72. package/packages/components/tooltip/src/index.vue.d.ts +1 -1
  73. package/packages/components/tree-select/src/App.vue.d.ts +6 -6
  74. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +6 -6
  75. package/packages/components/tree-v2/index.js +1392 -1407
  76. package/packages/components/tree-v2/index.js.gz +0 -0
  77. package/packages/components/tree-v2/style.css +1 -1
  78. package/packages/components/tree-v2/style.css.gz +0 -0
  79. package/packages/components/upload/src/hook/use-upload.d.ts +1 -1
  80. package/packages/components/virtual-tree/index.js +18 -20
  81. package/packages/components/virtual-tree/index.js.gz +0 -0
  82. package/packages/components/date-picker/src/time-zone-shortcut.d.ts +0 -8
@@ -739,12 +739,12 @@ export default {
739
739
  "用户": "",
740
740
  "预订上午": "",
741
741
  "的会议室": "",
742
+ "数据趋势": "",
742
743
  "数字": "",
743
744
  "小写字母": "",
744
745
  "大写字母": "",
745
746
  "符号": "",
746
747
  "修改密码成功": "",
747
- "数据趋势": "",
748
748
  "引用": "",
749
749
  "篇资料作为参考": "",
750
750
  "思考中": "",
@@ -726,12 +726,12 @@ export default {
726
726
  "用户": "用户",
727
727
  "预订上午": "预订上午",
728
728
  "的会议室": "的会议室",
729
+ "数据趋势": "数据趋势",
729
730
  "数字": "数字",
730
731
  "小写字母": "小写字母",
731
732
  "大写字母": "大写字母",
732
733
  "符号": "符号",
733
734
  "修改密码成功": "修改密码成功",
734
- "数据趋势": "数据趋势",
735
735
  "引用": "引用",
736
736
  "篇资料作为参考": "篇资料作为参考",
737
737
  "思考中": "思考中",
@@ -725,12 +725,12 @@ export default {
725
725
  "用户": "",
726
726
  "预订上午": "",
727
727
  "的会议室": "",
728
+ "数据趋势": "",
728
729
  "数字": "",
729
730
  "小写字母": "",
730
731
  "大写字母": "",
731
732
  "符号": "",
732
733
  "修改密码成功": "",
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.279",
3
+ "version": "6.4.0-dev.280",
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.279",
59
- "@das-fed/upf-utils": "6.4.0-dev.279",
58
+ "@das-fed/upf-cli": "6.4.0-dev.280",
59
+ "@das-fed/upf-utils": "6.4.0-dev.280",
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?: (valid: boolean) => void) => Promise<boolean>;
41
- validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
40
+ validate: (callback: any) => Promise<void>;
41
+ validateField: (prop: string, callback: any) => Promise<void>;
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?: (valid: boolean) => void) => Promise<boolean>;
93
- validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
92
+ validate: (callback: any) => Promise<void>;
93
+ validateField: (prop: string, callback: any) => Promise<void>;
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?: (valid: boolean) => void) => Promise<boolean>;
135
- validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
134
+ validate: (callback: any) => Promise<void>;
135
+ validateField: (prop: string, callback: any) => Promise<void>;
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?: (valid: boolean) => void) => Promise<boolean>;
187
- validateField: (prop: string | string[], callback?: (valid: boolean) => void) => Promise<boolean>;
186
+ validate: (callback: any) => Promise<void>;
187
+ validateField: (prop: string, callback: any) => Promise<void>;
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;
24
25
  y: number;
26
+ aspectRatio: boolean;
25
27
  h: number | string;
26
28
  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 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";
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";
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 he } from "@das-fed/upf-ui/packages/components/form/index";
7
+ import { DasForm as we } 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 we } from "@das-fed/upf-ui/packages/components/spin/index";
9
+ import { DasSpin as G } 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 H } from "@das-fed/upf-utils/api-services/src/create-service"
13
+ import { createService as Q } 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 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) => {
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) => {
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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
32
32
  // 流程别名
33
33
  name: ""
34
34
  // 流程名称
35
- }), g = r({
35
+ }), h = 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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
40
40
  copyDialogShow: C,
41
41
  copyFormData: N,
42
42
  detailFormData: z,
43
- rules: g,
43
+ rules: h,
44
44
  copyDialogLoading: d,
45
45
  saveCopyProcess: async (K) => {
46
46
  var c;
47
- (c = f.value) == null || c.validate(async (w) => {
48
- if (w) {
47
+ (c = f.value) == null || c.validate(async (g) => {
48
+ if (g) {
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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
56
56
  }
57
57
  d.value = !1, L.success(o("复制成功")), C.value = !1, K();
58
58
  }
59
- }), G(
59
+ }), H(
60
60
  () => C.value,
61
- (w) => {
61
+ (g) => {
62
62
  var b;
63
- w || (b = f.value) == null || b.resetFields();
63
+ g || (b = f.value) == null || b.resetFields();
64
64
  }
65
65
  );
66
66
  },
@@ -69,18 +69,18 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/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 g = {
72
+ const h = {
73
73
  defKeys: z,
74
74
  projectId: f
75
- }, [h, O] = await Ne(g).run();
75
+ }, [w, O] = await Ne(h).run();
76
76
  n.value = O;
77
77
  }, deleteDefItem: async (z) => {
78
- const g = {
78
+ const h = {
79
79
  cascade: !0,
80
80
  ids: z,
81
81
  project: f
82
- }, [h, O] = await Oe(g).run();
83
- h || (m.value = !1, L.success(o("删除成功")));
82
+ }, [w, O] = await Oe(h).run();
83
+ w || (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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
88
88
  }, Fe = {
89
89
  key: 1,
90
90
  class: "delete-info-text"
91
- }, Le = /* @__PURE__ */ fe({
91
+ }, Le = /* @__PURE__ */ me({
92
92
  __name: "index",
93
93
  props: {
94
94
  modelValue: { type: Boolean, default: !1 },
@@ -102,7 +102,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/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 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 ?? [
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 ?? [
106
106
  {
107
107
  label: o("编辑"),
108
108
  value: "edit"
@@ -121,24 +121,24 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
121
121
  // 隐藏
122
122
  // hide: true,
123
123
  }
124
- ]), ne = r([
124
+ ]), se = 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
- ]), se = (i) => {
130
- const a = ne.value.find((t) => t.value === i);
129
+ ]), re = (i) => {
130
+ const a = se.value.find((t) => t.value === i);
131
131
  return a == null ? void 0 : a.text;
132
- }, I = r(n.defKey), P = r(), re = (i, a, t) => {
132
+ }, I = r(n.defKey), P = r(), ie = (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" && (g.value = a.id, h.value = a.name, await ae(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" && (h.value = a.id, w.value = a.name, await oe(a.defKey), M.value = !0), d("operationClick", i, a);
140
140
  }, $ = async () => {
141
- b.value++, b.value === 1 && (w.value = !0);
141
+ b.value++, b.value === 1 && (g.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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
147
147
  ]
148
148
  }, [a, t] = await _e(i, { params: { project: z } }).run();
149
149
  if (a) {
150
- w.value = !1;
150
+ g.value = !1;
151
151
  return;
152
152
  }
153
- w.value = !1, c.value = t.rows;
154
- }, ie = () => {
153
+ g.value = !1, c.value = t.rows;
154
+ }, de = () => {
155
155
  window.open(`${N}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
156
- }, de = async () => {
157
- await Y($);
158
156
  }, ue = async () => {
159
- await oe(g.value), await $();
157
+ await Z($);
158
+ }, pe = async () => {
159
+ await te(h.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
- }, pe = () => {
162
+ }, ce = () => {
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 Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
167
167
  d("processInfo", P.value), d("update:modelValue", !1);
168
168
  };
169
169
  let T = r(0);
170
- return G(
170
+ return H(
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
- ), me(() => {
177
+ ), ye(() => {
178
178
  window.clearInterval(T.value);
179
- }), ye(() => {
179
+ }), ve(() => {
180
180
  window.clearInterval(T.value);
181
181
  }), (i, a) => (R(), j(
182
- ve,
182
+ Ce,
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: w.value,
189
+ loading: g.value,
190
190
  title: C.value,
191
191
  width: "1170px",
192
192
  height: "689px",
@@ -209,7 +209,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
209
209
  l(e(D), {
210
210
  btnType: "primary",
211
211
  style: { "margin-left": "12px" },
212
- onClick: pe
212
+ onClick: ce
213
213
  }, {
214
214
  default: s(() => [
215
215
  y(
@@ -224,82 +224,88 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
224
224
  ])
225
225
  ]),
226
226
  default: s(() => [
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"
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
282
265
  }, {
283
- default: s(({ row: t, $index: Ee }) => [
284
- y(
285
- p(se(t.status)),
286
- 1
287
- /* TEXT */
288
- )
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"])
289
299
  ]),
290
300
  _: 1
291
301
  /* STABLE */
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
- ])
302
+ }, 8, ["operation", "data", "currentRodioSelection"])
303
+ ])
304
+ ])
305
+ ]),
306
+ _: 1
307
+ /* STABLE */
308
+ }, 8, ["spinning"])
303
309
  ]),
304
310
  _: 1
305
311
  /* STABLE */
@@ -315,7 +321,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
315
321
  }, {
316
322
  footer: s(() => [
317
323
  u("div", null, [
318
- l(e(D), { onClick: e(Z) }, {
324
+ l(e(D), { onClick: e(ee) }, {
319
325
  default: s(() => [
320
326
  y(
321
327
  p(e(o)("取消")),
@@ -329,7 +335,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
329
335
  l(e(D), {
330
336
  btnType: "primary",
331
337
  style: { "margin-left": "12px" },
332
- onClick: de
338
+ onClick: ue
333
339
  }, {
334
340
  default: s(() => [
335
341
  y(
@@ -344,17 +350,17 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
344
350
  ])
345
351
  ]),
346
352
  default: s(() => [
347
- l(e(we), { spinning: e(ee) }, {
353
+ l(e(G), { spinning: e(ae) }, {
348
354
  default: s(() => [
349
355
  u("div", $e, [
350
- l(e(he), {
356
+ l(e(we), {
351
357
  alignType: "horizontal",
352
358
  contentWidth: "230",
353
359
  marginBottom: "30px",
354
360
  marginRight: "26px",
355
361
  ref_key: "editForm",
356
362
  ref: O,
357
- rules: e(X)
363
+ rules: e(Y)
358
364
  }, {
359
365
  default: s(() => [
360
366
  l(e(F), {
@@ -413,7 +419,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
413
419
  }, {
414
420
  footer: s(() => [
415
421
  u("div", null, [
416
- l(e(D), { onClick: e(te) }, {
422
+ l(e(D), { onClick: e(le) }, {
417
423
  default: s(() => [
418
424
  y(
419
425
  p(e(o)("取消")),
@@ -427,7 +433,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
427
433
  l(e(D), {
428
434
  btnType: "primary",
429
435
  style: { "margin-left": "12px" },
430
- onClick: ue
436
+ onClick: pe
431
437
  }, {
432
438
  default: s(() => [
433
439
  y(
@@ -468,11 +474,11 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
468
474
  -1
469
475
  /* CACHED */
470
476
  )),
471
- Ce((R(), j("div", je, [
477
+ ge((R(), j("div", je, [
472
478
  e(S).length === 0 ? (R(), j(
473
479
  "div",
474
480
  qe,
475
- p(e(o)("dasui-process-configuration-key1", h.value, 0, 0)),
481
+ p(e(o)("dasui-process-configuration-key1", w.value, 0, 0)),
476
482
  1
477
483
  /* TEXT */
478
484
  )) : q("v-if", !0),
@@ -481,7 +487,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
481
487
  Fe,
482
488
  p(e(o)(
483
489
  "dasui-process-configuration-key1",
484
- h.value,
490
+ w.value,
485
491
  e(S)[0].totalCount,
486
492
  e(S)[0].runningCount
487
493
  )),
@@ -506,7 +512,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
506
512
  for (const [d, C] of m)
507
513
  n[d] = C;
508
514
  return n;
509
- }, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-52ad1ea6"]]), Ae = {
515
+ }, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-dd8b298e"]]), Ae = {
510
516
  必填: { "zh-CN": "必填", en: "Required", "zh-MO": "必填", _appCode: "framework" },
511
517
  复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", "zh-MO": "複製成功", _appCode: "framework" },
512
518
  删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", "zh-MO": "刪除成功", _appCode: "framework" },
@@ -549,7 +555,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
549
555
  }
550
556
  };
551
557
  ke(Ae);
552
- const na = ce(Be);
558
+ const na = fe(Be);
553
559
  export {
554
560
  na as DasProcessConfiguration,
555
561
  na as default
@@ -1 +1 @@
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}
1
+ .das-process-configuration .table-top[data-v-dd8b298e]{display:flex;justify-content:flex-end}.das-process-configuration .table-top .operate[data-v-dd8b298e]{display:flex;position:absolute;top:10px}.das-process-configuration .table-box[data-v-dd8b298e]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-dd8b298e]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-dd8b298e] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-dd8b298e] .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-dd8b298e] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-dd8b298e] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-dd8b298e] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}