@das-fed/ui 6.4.0-test.7 → 6.4.0-test.8

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 (109) hide show
  1. package/esm-map.json +3 -1
  2. package/package.json +6 -7
  3. package/packages/business-components/change-pwd/index.js +12 -8
  4. package/packages/business-components/change-pwd/index.js.gz +0 -0
  5. package/packages/business-components/currency-page/index.js +1 -1
  6. package/packages/business-components/currency-page/index.js.gz +0 -0
  7. package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
  8. package/packages/business-components/device-panel/index.js +16507 -15027
  9. package/packages/business-components/device-panel/index.js.gz +0 -0
  10. package/packages/business-components/device-panel/src/apis.d.ts +2 -0
  11. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
  12. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
  13. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
  14. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +11 -0
  15. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
  16. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
  17. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +5 -0
  18. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
  19. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +11 -0
  20. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -0
  21. package/packages/business-components/device-panel/style.css +1 -1
  22. package/packages/business-components/device-panel/style.css.gz +0 -0
  23. package/packages/business-components/echarts/index.js +2 -2
  24. package/packages/business-components/echarts/index.js.gz +0 -0
  25. package/packages/business-components/echarts/style.css +1 -1
  26. package/packages/business-components/export-button/index.js +30 -30
  27. package/packages/business-components/export-button/index.js.gz +0 -0
  28. package/packages/business-components/import-button/i18n/index.d.ts +5 -5
  29. package/packages/business-components/import-button/index.js +59 -59
  30. package/packages/business-components/import-button/index.js.gz +0 -0
  31. package/packages/business-components/import-button/style.css +1 -1
  32. package/packages/business-components/model-table-dialog/index.js +100 -100
  33. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  34. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +9 -6
  35. package/packages/business-components/payment/index.d.ts +5 -1
  36. package/packages/business-components/payment/index.js +187 -1635
  37. package/packages/business-components/payment/index.js.gz +0 -0
  38. package/packages/business-components/payment/style.css +1 -1
  39. package/packages/business-components/payment/type.d.ts +3 -2
  40. package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
  41. package/packages/business-components/process-configuration/index.d.ts +2 -0
  42. package/packages/business-components/process-configuration/index.js +55 -60
  43. package/packages/business-components/process-configuration/index.js.gz +0 -0
  44. package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
  45. package/packages/business-components/process-configuration/src/type.d.ts +3 -0
  46. package/packages/business-components/process-configuration/style.css +1 -1
  47. package/packages/business-components/process-configuration/style.css.gz +0 -0
  48. package/packages/business-components/process-form/index.js +1 -1
  49. package/packages/business-components/process-form/index.js.gz +0 -0
  50. package/packages/business-components/process-search-form/index.js +2 -2
  51. package/packages/business-components/process-search-form/index.js.gz +0 -0
  52. package/packages/business-components/urgent-panel/index.js +98 -98
  53. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  54. package/packages/components/autocomplete/index.js +23 -24
  55. package/packages/components/autocomplete/index.js.gz +0 -0
  56. package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
  57. package/packages/components/autocomplete/style.css +1 -1
  58. package/packages/components/autocomplete/style.css.gz +0 -0
  59. package/packages/components/checkbox/index.js +149 -137
  60. package/packages/components/checkbox/index.js.gz +0 -0
  61. package/packages/components/checkbox/style.css +1 -1
  62. package/packages/components/checkbox/style.css.gz +0 -0
  63. package/packages/components/edit-table/index.d.ts +3 -3
  64. package/packages/components/edit-table/index.js +1254 -1251
  65. package/packages/components/edit-table/index.js.gz +0 -0
  66. package/packages/components/edit-table/src/index.vue.d.ts +1 -1
  67. package/packages/components/image-upload/index.js +1 -1
  68. package/packages/components/image-upload/index.js.gz +0 -0
  69. package/packages/components/image-viewer/index.js +77 -78
  70. package/packages/components/image-viewer/index.js.gz +0 -0
  71. package/packages/components/live-player/index.js +142 -142
  72. package/packages/components/live-player/index.js.gz +0 -0
  73. package/packages/components/map/index.js +34 -34
  74. package/packages/components/map/index.js.gz +0 -0
  75. package/packages/components/pagination/index.js +101 -98
  76. package/packages/components/pagination/index.js.gz +0 -0
  77. package/packages/components/pagination/style.css +1 -1
  78. package/packages/components/pagination/style.css.gz +0 -0
  79. package/packages/components/popover/index.d.ts +160 -2
  80. package/packages/components/popover/index.js +29 -27
  81. package/packages/components/popover/index.js.gz +0 -0
  82. package/packages/components/search/index.js +1 -1
  83. package/packages/components/search/index.js.gz +0 -0
  84. package/packages/components/search/style.css +1 -1
  85. package/packages/components/search/style.css.gz +0 -0
  86. package/packages/components/search-form/index.js +1 -1
  87. package/packages/components/search-form/index.js.gz +0 -0
  88. package/packages/components/select/index.js +257 -246
  89. package/packages/components/select/index.js.gz +0 -0
  90. package/packages/components/select/style.css +1 -1
  91. package/packages/components/select/style.css.gz +0 -0
  92. package/packages/components/table/index.js +945 -951
  93. package/packages/components/table/index.js.gz +0 -0
  94. package/packages/components/table/style.css +1 -1
  95. package/packages/components/table/style.css.gz +0 -0
  96. package/packages/components/tree/index.js +698 -701
  97. package/packages/components/tree/index.js.gz +0 -0
  98. package/packages/components/tree/src/App.vue.d.ts +8 -7
  99. package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
  100. package/packages/components/tree/src/type.d.ts +7 -4
  101. package/packages/components/tree-select/index.js +114 -113
  102. package/packages/components/tree-select/index.js.gz +0 -0
  103. package/packages/components/tree-select/src/App.vue.d.ts +19 -12
  104. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -12
  105. package/packages/components/tree-select/src/type.d.ts +3 -2
  106. package/packages/components/tree-v2/i18n/index.d.ts +5 -0
  107. package/packages/components/tree-v2/index.js +150 -149
  108. package/packages/components/tree-v2/index.js.gz +0 -0
  109. package/packages/components/image-viewer/i18n/index.d.ts +0 -2
@@ -1 +1 @@
1
- .dialog-out[data-v-a749dc97]{--das-ui-color-primary: #1ba854}.dialog-out2[data-v-a749dc97]{--das-ui-color-primary: #fb2323}.payment-dialog[data-v-a749dc97]{color:#666;font-size:12px;line-height:18px}.payment-dialog .payment-dialog-item[data-v-a749dc97]{display:flex;align-items:center;margin-bottom:8px}.payment-dialog .payment-dialog-amount[data-v-a749dc97]{color:#ff5f1f;font-size:21px}.payment-dialog .payment-dialog-qrcode[data-v-a749dc97]{width:232px;height:232px;border:1px solid #d9d9d9;display:flex;align-items:center;justify-content:center;margin:30px auto 8px}.pay-result-dialog[data-v-a749dc97]{display:flex;flex-direction:column;align-items:center;color:#212121;font-size:16px;line-height:24px}.payment-dialog-time[data-v-a749dc97]{display:flex;align-items:center;justify-content:center}.payment-dialog-time .payment-dialog-time-text[data-v-a749dc97]{font-size:16px;line-height:21px;color:#ff5f1f;margin-left:8px}
1
+ .dialog-out[data-v-19344b27]{--das-ui-color-primary: #1ba854}.dialog-out2[data-v-19344b27]{--das-ui-color-primary: #fb2323}.payment-dialog[data-v-19344b27]{color:#666;font-size:12px;line-height:18px}.payment-dialog .payment-dialog-item[data-v-19344b27]{display:flex;align-items:center;margin-bottom:8px}.payment-dialog .payment-dialog-amount[data-v-19344b27]{color:#ff5f1f;font-size:21px}.payment-dialog .payment-dialog-qrcode[data-v-19344b27]{width:232px;height:232px;border:1px solid #d9d9d9;display:flex;align-items:center;justify-content:center;margin:30px auto 8px}.pay-result-dialog[data-v-19344b27]{display:flex;flex-direction:column;align-items:center;color:#212121;font-size:16px;line-height:24px}.payment-dialog-time[data-v-19344b27]{display:flex;align-items:center;justify-content:center;position:absolute;left:0;width:100%;bottom:20px}.payment-dialog-time .payment-dialog-time-text[data-v-19344b27]{font-size:16px;line-height:21px;color:#ff5f1f;margin-left:8px}
@@ -9,6 +9,8 @@ export type PayInfoType = {
9
9
  payBefore: (payExtraInfo: PayExtraInfo) => Promise<OrderInfoType> | OrderInfoType
10
10
 
11
11
  pollInterval?: number
12
+
13
+ countdown?: number
12
14
  }
13
15
 
14
16
 
@@ -35,7 +37,6 @@ export type OrderInfoType = {
35
37
  out_trade_no?: string
36
38
 
37
39
  out_trade_name?: string
38
-
39
- countdown?: number
40
+
40
41
  [key: string]: any
41
42
  }
@@ -79,16 +79,6 @@ declare const _default: {
79
79
  en: string;
80
80
  _appCode: string;
81
81
  };
82
- 删除流程定义: {
83
- 'zh-CN': string;
84
- en: string;
85
- _appCode: string;
86
- };
87
- 对应的实例和任务会一起删除: {
88
- 'zh-CN': string;
89
- en: string;
90
- _appCode: string;
91
- };
92
82
  并且无法恢复: {
93
83
  'zh-CN': string;
94
84
  en: string;
@@ -2,10 +2,12 @@ declare const DasProcessConfiguration: import("@das-fed/utils").SFCWithInstall<i
2
2
  "update:modelValue": (val: boolean) => any;
3
3
  cancelDialog: (val: boolean) => any;
4
4
  processInfo: (val: any) => any;
5
+ operationClick: (type: string, row: any) => any;
5
6
  }, string, import("vue").PublicProps, Readonly<import("./src/type.js").Props> & Readonly<{
6
7
  "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
7
8
  onCancelDialog?: ((val: boolean) => any) | undefined;
8
9
  onProcessInfo?: ((val: any) => any) | undefined;
10
+ onOperationClick?: ((type: string, row: any) => any) | undefined;
9
11
  }>, {
10
12
  title: string;
11
13
  modelValue: boolean;
@@ -1,19 +1,19 @@
1
1
  import '@das-fed/ui/packages/business-components/process-configuration/style.css';
2
2
  import { withInstall as fe } from "@das-fed/utils/with-install/index";
3
- import { ref as r, watch as H, defineComponent as me, computed as M, onUnmounted as ve, onDeactivated as ye, openBlock as q, createElementBlock as F, Fragment as Ce, createElementVNode as u, createVNode as l, unref as e, withCtx as s, createTextVNode as v, toDisplayString as p, createCommentVNode as L, isRef as W, withDirectives as ge } from "vue";
3
+ import { ref as r, watch as H, defineComponent as me, computed as O, onUnmounted as ye, onDeactivated as ve, openBlock as q, createElementBlock as F, Fragment as Ce, createElementVNode as u, createVNode as l, unref as e, withCtx as s, createTextVNode as y, toDisplayString as p, createCommentVNode as L, isRef as W, withDirectives as ge } from "vue";
4
4
  import { DasTable as we, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
5
5
  import { DasDialog as A } from "@das-fed/ui/packages/components/dialog/index";
6
- import { DasButton as D } from "@das-fed/ui/packages/components/button/index";
6
+ import { DasButton as N } from "@das-fed/ui/packages/components/button/index";
7
7
  import { DasMessage as B } from "@das-fed/ui/packages/components/message/index";
8
8
  import { DasForm as be } from "@das-fed/ui/packages/components/form/index";
9
9
  import { DasFormItem as U } from "@das-fed/ui/packages/components/form-item/index";
10
10
  import { DasSpin as G } from "@das-fed/ui/packages/components/spin/index";
11
11
  import { vOverlay as ke } from "@das-fed/ui/packages/components/overlay/index";
12
12
  import { t as o, setI18nRule as _e } from "@das-fed/web/packages/i18n/index";
13
- import { getProjectInfo as y } from "@das-fed/utils/common-info/index";
13
+ import { getProjectInfo as v } from "@das-fed/utils/common-info/index";
14
14
  import { createService as Q } from "@das-fed/utils/api-services/src/create-service";
15
- const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/instance/${X}`), Ne = O.post("/listJson"), De = O.post("/saveCopy"), xe = he.get("/getInstanceCountByDefKeys"), ze = O.delete("/removeByDefIds"), Ie = (f) => {
16
- const m = y().id ? y().id : "371344636432453", n = y().name ? y().name : o("AIoT项目"), d = r(!1), C = r(!1), x = r({
15
+ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/instance/${X}`), De = E.post("/listJson"), Ne = E.post("/saveCopy"), xe = he.get("/getInstanceCountByDefKeys"), Ie = E.delete("/removeByDefIds"), ze = (f) => {
16
+ const m = v().id ? v().id : "371344636432453", n = v().name ? v().name : o("AIoT项目"), d = r(!1), C = r(!1), x = r({
17
17
  defId: "",
18
18
  // 流程id
19
19
  defKey: "",
@@ -46,11 +46,11 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
46
46
  (c = f.value) == null || c.validate(async (g) => {
47
47
  if (g) {
48
48
  d.value = !0;
49
- const [k, I] = await De(x.value, {
49
+ const [k, z] = await Ne(x.value, {
50
50
  params: { destinationProject: m, project: m }
51
51
  }).run();
52
52
  if (k) {
53
- d.value = !1, B.error(I.message);
53
+ d.value = !1, B.error(z.message);
54
54
  return;
55
55
  }
56
56
  d.value = !1, B.success(o("复制成功")), C.value = !1, S();
@@ -66,19 +66,19 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
66
66
  cancelCopy: async () => C.value = !1
67
67
  };
68
68
  }, Ve = () => {
69
- const f = y().id ? y().id : "371344636432453", m = r(!1), n = r([]);
69
+ const f = v().id ? v().id : "371344636432453", m = r(!1), n = r([]);
70
70
  return { deleteDialogShow: m, instanceCount: n, reqCount: async (h) => {
71
71
  const w = {
72
72
  defKeys: h,
73
73
  projectId: f
74
- }, [b, z] = await xe(w).run();
75
- n.value = z;
74
+ }, [b, I] = await xe(w).run();
75
+ n.value = I;
76
76
  }, deleteDefItem: async (h) => {
77
77
  const w = {
78
78
  cascade: !0,
79
79
  ids: h,
80
80
  project: f
81
- }, [b, z] = await ze(w).run();
81
+ }, [b, I] = await Ie(w).run();
82
82
  b || (m.value = !1, B.success(o("删除成功")));
83
83
  }, cancelDelete: () => m.value = !1 };
84
84
  }, Ke = { class: "das-process-configuration" }, Se = { class: "table-box" }, Pe = { class: "table-top" }, Te = { class: "operate" }, Re = { class: "table-content" }, $e = { class: "form-content" }, je = { class: "delete-dialog" }, qe = { class: "delete-text" }, Fe = { class: "delete-info-box" }, Le = {
@@ -94,13 +94,14 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
94
94
  title: { default: "" },
95
95
  bussinessName: { default: "contract" },
96
96
  defKey: { default: "" },
97
- defId: { default: "" }
97
+ defId: { default: "" },
98
+ operation: {}
98
99
  },
99
- emits: ["update:modelValue", "processInfo", "cancelDialog"],
100
+ emits: ["update:modelValue", "processInfo", "cancelDialog", "operationClick"],
100
101
  setup(f, { emit: m }) {
101
- const n = f, d = m, C = M(() => n.title || o("选择流程")), x = window.location.origin, h = y().id ? y().id : "371344636432453";
102
- y().name ? y().name : o("AIoT项目");
103
- const w = r(""), b = r(""), z = r(), S = M(() => n.modelValue ? n.modelValue : !1), c = r([]), g = r(!1), k = r(0), { copyDialogShow: I, copyFormData: _, detailFormData: N, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: ae } = Ie(z), { deleteDialogShow: P, instanceCount: T, reqCount: oe, deleteDefItem: te, cancelDelete: le } = Ve(), ne = r([
102
+ const n = f, d = m, C = O(() => n.title || o("选择流程")), x = window.location.origin, h = v().id ? v().id : "371344636432453";
103
+ v().name ? v().name : o("AIoT项目");
104
+ const w = r(""), b = r(""), I = r(), S = O(() => n.modelValue ? n.modelValue : !1), c = r([]), g = r(!1), k = r(0), { copyDialogShow: z, copyFormData: _, detailFormData: D, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: ae } = ze(I), { deleteDialogShow: P, instanceCount: T, reqCount: oe, deleteDefItem: te, cancelDelete: le } = Ve(), ne = O(() => n.operation ?? [
104
105
  {
105
106
  label: o("编辑"),
106
107
  value: "edit"
@@ -129,12 +130,12 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
129
130
  return a == null ? void 0 : a.text;
130
131
  }, V = r(n.defKey), R = r(), ie = (i, a, t) => {
131
132
  R.value = a;
132
- }, E = async (i, a) => {
133
+ }, J = async (i, a) => {
133
134
  if (i === "edit") {
134
135
  const t = JSON.stringify(a);
135
136
  window.open(`${x}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${t}`);
136
137
  }
137
- i === "copy" && (I.value = !0, _.value.defId = a.defId, _.value.typeId = a.typeId, _.value.defKey = "", _.value.name = "", N.value.defId = a.defId, N.value.defKey = a.defKey, N.value.name = a.name), i === "delete" && (w.value = a.id, b.value = a.name, await oe(a.defKey), P.value = !0);
138
+ i === "copy" && (z.value = !0, _.value.defId = a.defId, _.value.typeId = a.typeId, _.value.defKey = "", _.value.name = "", D.value.defId = a.defId, D.value.defKey = a.defKey, D.value.name = a.name), i === "delete" && (w.value = a.id, b.value = a.name, await oe(a.defKey), P.value = !0), d("operationClick", i, a);
138
139
  }, $ = async () => {
139
140
  k.value++, k.value === 1 && (g.value = !0);
140
141
  const i = {
@@ -143,7 +144,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
143
144
  querys: [
144
145
  { group: "main", operation: "IN", property: "businessTypeId", relation: "AND", value: n.bussinessName }
145
146
  ]
146
- }, [a, t] = await Ne(i, { params: { project: h } }).run();
147
+ }, [a, t] = await De(i, { params: { project: h } }).run();
147
148
  if (a) {
148
149
  g.value = !1;
149
150
  return;
@@ -155,7 +156,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
155
156
  await Z($);
156
157
  }, pe = async () => {
157
158
  await te(w.value), await $();
158
- }, J = () => {
159
+ }, M = () => {
159
160
  c.value.map((a) => a.defKey).includes(n.defKey) ? d("cancelDialog", !1) : d("cancelDialog", !0), d("update:modelValue", !1);
160
161
  }, ce = () => {
161
162
  if (!c.value.map((a) => a.defKey).includes(V.value)) {
@@ -172,9 +173,9 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
172
173
  $();
173
174
  }, 1500)), i || (k.value = 0, window.clearInterval(j.value));
174
175
  }
175
- ), ve(() => {
176
+ ), ye(() => {
176
177
  window.clearInterval(j.value);
177
- }), ye(() => {
178
+ }), ve(() => {
178
179
  window.clearInterval(j.value);
179
180
  }), (i, a) => (q(), F(
180
181
  Ce,
@@ -189,13 +190,13 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
189
190
  width: "1170px",
190
191
  height: "689px",
191
192
  "body-style": { "background-color": "#f2f2f2", padding: "10px" },
192
- onClose: J
193
+ onClose: M
193
194
  }, {
194
195
  footer: s(() => [
195
196
  u("div", null, [
196
- l(e(D), { onClick: J }, {
197
+ l(e(N), { onClick: M }, {
197
198
  default: s(() => [
198
- v(
199
+ y(
199
200
  p(e(o)("取消")),
200
201
  1
201
202
  /* TEXT */
@@ -204,13 +205,13 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
204
205
  _: 1
205
206
  /* STABLE */
206
207
  }),
207
- l(e(D), {
208
+ l(e(N), {
208
209
  btnType: "primary",
209
210
  style: { "margin-left": "12px" },
210
211
  onClick: ce
211
212
  }, {
212
213
  default: s(() => [
213
- v(
214
+ y(
214
215
  p(e(o)("确定")),
215
216
  1
216
217
  /* TEXT */
@@ -227,14 +228,14 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
227
228
  u("div", Se, [
228
229
  u("div", Pe, [
229
230
  u("div", Te, [
230
- l(e(D), {
231
+ l(e(N), {
231
232
  btnType: "primary-text",
232
233
  size: "large",
233
234
  block: "",
234
235
  onClick: de
235
236
  }, {
236
237
  default: s(() => [
237
- v(
238
+ y(
238
239
  p(e(o)("添加")),
239
240
  1
240
241
  /* TEXT */
@@ -256,7 +257,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
256
257
  "outer-border": "",
257
258
  "row-key": "defKey",
258
259
  data: c.value,
259
- onOperationClick: E,
260
+ onOperationClick: J,
260
261
  currentRodioSelection: V.value,
261
262
  "onUpdate:currentRodioSelection": a[1] || (a[1] = (t) => V.value = t),
262
263
  onRadioChange: ie
@@ -265,7 +266,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
265
266
  l(e(K), {
266
267
  label: e(o)("流程名称"),
267
268
  "content-type": "link",
268
- onClickLink: a[0] || (a[0] = (t) => E("edit", t)),
269
+ onClickLink: a[0] || (a[0] = (t) => J("edit", t)),
269
270
  prop: "name"
270
271
  }, null, 8, ["label"]),
271
272
  l(e(K), {
@@ -281,7 +282,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
281
282
  prop: "status"
282
283
  }, {
283
284
  default: s(({ row: t, $index: Je }) => [
284
- v(
285
+ y(
285
286
  p(re(t.status)),
286
287
  1
287
288
  /* TEXT */
@@ -311,17 +312,17 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
311
312
  ]),
312
313
  L(" 复制弹窗 "),
313
314
  l(e(A), {
314
- modelValue: e(I),
315
- "onUpdate:modelValue": a[7] || (a[7] = (t) => W(I) ? I.value = t : null),
315
+ modelValue: e(z),
316
+ "onUpdate:modelValue": a[7] || (a[7] = (t) => W(z) ? z.value = t : null),
316
317
  title: e(o)("复制流程"),
317
318
  size: "small",
318
319
  "body-style": { padding: "25px 60px", "box-sizing": "border-box" }
319
320
  }, {
320
321
  footer: s(() => [
321
322
  u("div", null, [
322
- l(e(D), { onClick: e(ee) }, {
323
+ l(e(N), { onClick: e(ee) }, {
323
324
  default: s(() => [
324
- v(
325
+ y(
325
326
  p(e(o)("取消")),
326
327
  1
327
328
  /* TEXT */
@@ -330,13 +331,13 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
330
331
  _: 1
331
332
  /* STABLE */
332
333
  }, 8, ["onClick"]),
333
- l(e(D), {
334
+ l(e(N), {
334
335
  btnType: "primary",
335
336
  style: { "margin-left": "12px" },
336
337
  onClick: ue
337
338
  }, {
338
339
  default: s(() => [
339
- v(
340
+ y(
340
341
  p(e(o)("确定")),
341
342
  1
342
343
  /* TEXT */
@@ -357,22 +358,22 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
357
358
  marginBottom: "30px",
358
359
  marginRight: "26px",
359
360
  ref_key: "editForm",
360
- ref: z,
361
+ ref: I,
361
362
  rules: e(Y)
362
363
  }, {
363
364
  default: s(() => [
364
365
  l(e(U), {
365
366
  label: e(o)("原流程名称"),
366
367
  maxlength: "20",
367
- modelValue: e(N).name,
368
- "onUpdate:modelValue": a[3] || (a[3] = (t) => e(N).name = t),
368
+ modelValue: e(D).name,
369
+ "onUpdate:modelValue": a[3] || (a[3] = (t) => e(D).name = t),
369
370
  disabled: ""
370
371
  }, null, 8, ["label", "modelValue"]),
371
372
  l(e(U), {
372
373
  label: e(o)("原流程别名"),
373
374
  maxlength: "20",
374
- modelValue: e(N).defKey,
375
- "onUpdate:modelValue": a[4] || (a[4] = (t) => e(N).defKey = t),
375
+ modelValue: e(D).defKey,
376
+ "onUpdate:modelValue": a[4] || (a[4] = (t) => e(D).defKey = t),
376
377
  disabled: "",
377
378
  marginRight: "0"
378
379
  }, null, 8, ["label", "modelValue"]),
@@ -417,9 +418,9 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
417
418
  }, {
418
419
  footer: s(() => [
419
420
  u("div", null, [
420
- l(e(D), { onClick: e(le) }, {
421
+ l(e(N), { onClick: e(le) }, {
421
422
  default: s(() => [
422
- v(
423
+ y(
423
424
  p(e(o)("取消")),
424
425
  1
425
426
  /* TEXT */
@@ -428,13 +429,13 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
428
429
  _: 1
429
430
  /* STABLE */
430
431
  }, 8, ["onClick"]),
431
- l(e(D), {
432
+ l(e(N), {
432
433
  btnType: "primary",
433
434
  style: { "margin-left": "12px" },
434
435
  onClick: pe
435
436
  }, {
436
437
  default: s(() => [
437
- v(
438
+ y(
438
439
  p(e(o)("确定")),
439
440
  1
440
441
  /* TEXT */
@@ -447,7 +448,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
447
448
  ]),
448
449
  default: s(() => [
449
450
  u("div", qe, [
450
- v(
451
+ y(
451
452
  p(e(o)("删除流程定义,对应的实例和任务会一起删除,")),
452
453
  1
453
454
  /* TEXT */
@@ -459,7 +460,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
459
460
  -1
460
461
  /* HOISTED */
461
462
  )),
462
- v(
463
+ y(
463
464
  p(e(o)("并且无法恢复")),
464
465
  1
465
466
  /* TEXT */
@@ -505,15 +506,15 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
505
506
  /* STABLE_FRAGMENT */
506
507
  ));
507
508
  }
508
- }), Ae = (f, m) => {
509
+ }), Oe = (f, m) => {
509
510
  const n = f.__vccOpts || f;
510
511
  for (const [d, C] of m)
511
512
  n[d] = C;
512
513
  return n;
513
- }, Oe = /* @__PURE__ */ Ae(Be, [["__scopeId", "data-v-db81dcd7"]]), Ee = {
514
+ }, Ae = /* @__PURE__ */ Oe(Be, [["__scopeId", "data-v-e0f8fce9"]]), Ee = {
514
515
  必填: { "zh-CN": "必填", en: "Required", _appCode: "framework" },
515
- 复制成功: { "zh-CN": "复制成功", en: "Copy Successful", _appCode: "framework" },
516
- 删除成功: { "zh-CN": "删除成功", en: "Delete Successful", _appCode: "framework" },
516
+ 复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", _appCode: "framework" },
517
+ 删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", _appCode: "framework" },
517
518
  添加: { "zh-CN": "添加", en: "Add", _appCode: "framework" },
518
519
  流程名称: { "zh-CN": "流程名称", en: "Process Name", _appCode: "framework" },
519
520
  流程: { "zh-CN": "流程", en: "Process", _appCode: "framework" },
@@ -527,12 +528,6 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
527
528
  原流程别名: { "zh-CN": "原流程别名", en: "Original Process Alias", _appCode: "framework" },
528
529
  新流程名称: { "zh-CN": "新流程名称", en: "New Process Name", _appCode: "framework" },
529
530
  新流程别名: { "zh-CN": "新流程别名", en: "New Process Alias", _appCode: "framework" },
530
- 删除流程定义: { "zh-CN": "删除流程定义", en: "Delete process definition", _appCode: "framework" },
531
- 对应的实例和任务会一起删除: {
532
- "zh-CN": "对应的实例和任务会一起删除",
533
- en: "Corresponding instances and tasks will be deleted together",
534
- _appCode: "framework"
535
- },
536
531
  并且无法恢复: { "zh-CN": "并且无法恢复", en: "And cannot be recovered", _appCode: "framework" },
537
532
  选择流程: { "zh-CN": "选择流程", en: "Select Process", _appCode: "framework" },
538
533
  项目: { "zh-CN": "项目", en: "Project", _appCode: "framework" },
@@ -557,7 +552,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
557
552
  }
558
553
  };
559
554
  _e(Ee);
560
- const na = fe(Oe);
555
+ const na = fe(Ae);
561
556
  export {
562
557
  na as DasProcessConfiguration,
563
558
  na as default
@@ -3,10 +3,12 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
3
3
  "update:modelValue": (val: boolean) => any;
4
4
  cancelDialog: (val: boolean) => any;
5
5
  processInfo: (val: any) => any;
6
+ operationClick: (type: string, row: any) => any;
6
7
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
7
8
  "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
8
9
  onCancelDialog?: ((val: boolean) => any) | undefined;
9
10
  onProcessInfo?: ((val: any) => any) | undefined;
11
+ onOperationClick?: ((type: string, row: any) => any) | undefined;
10
12
  }>, {
11
13
  title: string;
12
14
  modelValue: boolean;
@@ -11,6 +11,7 @@ export interface Props {
11
11
  defKey?: string
12
12
 
13
13
  defId: string
14
+ operation?: any
14
15
  }
15
16
 
16
17
  export interface PorcessInfoType {
@@ -29,4 +30,6 @@ export interface Emits {
29
30
  (e: 'processInfo', val: any): void
30
31
 
31
32
  (e: 'cancelDialog', val: boolean): void
33
+
34
+ (e: 'operationClick', type: string, row: any): void
32
35
  }
@@ -1 +1 @@
1
- .das-process-configuration .table-top[data-v-db81dcd7]{display:flex;justify-content:flex-end}.das-process-configuration .table-top .operate[data-v-db81dcd7]{display:flex;position:absolute;top:10px}.das-process-configuration .table-box[data-v-db81dcd7]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-db81dcd7]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-db81dcd7] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-db81dcd7] .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-db81dcd7] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-db81dcd7] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-db81dcd7] .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-e0f8fce9]{display:flex;justify-content:flex-end}.das-process-configuration .table-top .operate[data-v-e0f8fce9]{display:flex;position:absolute;top:10px}.das-process-configuration .table-box[data-v-e0f8fce9]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-e0f8fce9]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-e0f8fce9] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-e0f8fce9] .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-e0f8fce9] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-e0f8fce9] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-e0f8fce9] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}
@@ -2545,7 +2545,7 @@ const Ga = { ...rt, ...ut }, Xa = (n, e, t, s) => {
2545
2545
  en: "Can only enter alphanumeric characters",
2546
2546
  _appCode: "framework"
2547
2547
  },
2548
- 搜索姓名: { "zh-CN": "搜索姓名", en: "Search Name", _appCode: "framework" },
2548
+ 搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
2549
2549
  账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
2550
2550
  手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
2551
2551
  搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", _appCode: "framework" },
@@ -656,7 +656,7 @@ const yo = (e, r) => {
656
656
  width: "200px",
657
657
  type: "date",
658
658
  format: "YYYY/MM/DD",
659
- valueFormat: "YYYY-MM-DD",
659
+ valueFormat: "YYYY/MM/DD",
660
660
  value: "",
661
661
  closable: !0,
662
662
  allowClear: !0
@@ -702,7 +702,7 @@ const yo = (e, r) => {
702
702
  width: "200px",
703
703
  type: "dateRange",
704
704
  format: "YYYY/MM/DD",
705
- valueFormat: "YYYY-MM-DD",
705
+ valueFormat: "YYYY/MM/DD",
706
706
  value: [],
707
707
  closable: !0,
708
708
  allowClear: !0