@web-utils/form-ui 1.0.0-beta78 → 1.0.0-beta79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{DOdaQmeD.mjs → B8NokGUg.mjs} +2941 -2981
- package/chunks/{D4FXesiK2.mjs → Bu1M7um22.mjs} +1 -1
- package/chunks/{BUdSoC0y.mjs → C-zPVdz-.mjs} +46 -45
- package/chunks/{CfZWeZDD.mjs → CONqKD47.mjs} +1 -1
- package/chunks/{C4TRh7-t2.mjs → ChP-pNSi2.mjs} +1 -1
- package/chunks/{BPkYHRo52.mjs → D6mInNk02.mjs} +71 -69
- package/chunks/{YuRYvOxL.mjs → DMSbDBCP.mjs} +194 -193
- package/chunks/{Cwh7YPxJ.mjs → D_q3C3v4.mjs} +184 -183
- package/chunks/{DDcaXGrf2.mjs → DgH_4qOn2.mjs} +3 -0
- package/chunks/{DydcNRkF.mjs → DhqOVe4S.mjs} +99 -98
- package/chunks/{xe1XzZUE2.mjs → Dz_TTgwF2.mjs} +91 -89
- package/chunks/{DvGAwr6C.mjs → T2V8nxIu.mjs} +361 -360
- package/chunks/{8i6khBvL2.mjs → mqi8hesW2.mjs} +8 -8
- package/chunks/{D9p3yGUu.mjs → tqW2DSco.mjs} +47 -46
- package/data-table-picker/index.mjs +16 -15
- package/editable-tree/index.mjs +111 -110
- package/flow-designer/index.d.ts +1 -26
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-view/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +8 -8
- package/package.json +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/table-view/index.mjs +90 -88
- package/toolbar/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/web-types.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
2
|
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { ElDivider as r, ElDrawer as i, ElForm as a, ElFormItem as o, ElInput as s, ElOption as c, ElSelect as l, ElTable as u, ElTableColumn as d } from "element-plus/es";
|
|
4
5
|
import "element-plus/es/components/base/style/css";
|
|
5
6
|
import "element-plus/es/components/input/style/css";
|
|
6
7
|
import { Fragment as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, openBlock as y, renderList as b, withCtx as x, withModifiers as S } from "vue";
|
|
7
8
|
import { fastClone as C } from "@web-utils/core";
|
|
8
|
-
import "element-plus/es/components/button/style/css";
|
|
9
9
|
import "element-plus/es/components/drawer/style/css";
|
|
10
10
|
import "element-plus/es/components/table/style/css";
|
|
11
11
|
import "element-plus/es/components/table-column/style/css";
|
|
@@ -249,8 +249,8 @@ function M(e, C, w, M, N, P) {
|
|
|
249
249
|
})]),
|
|
250
250
|
m("字段配置侧边栏"),
|
|
251
251
|
v(W, {
|
|
252
|
-
|
|
253
|
-
"onUpdate:
|
|
252
|
+
modelValue: N.fieldModelVisible,
|
|
253
|
+
"onUpdate:modelValue": C[15] || (C[15] = (e) => N.fieldModelVisible = e),
|
|
254
254
|
class: "flow-drawer",
|
|
255
255
|
title: "字段配置",
|
|
256
256
|
size: `${P.width}px`,
|
|
@@ -531,10 +531,10 @@ function M(e, C, w, M, N, P) {
|
|
|
531
531
|
}, 8, ["onClick"])])
|
|
532
532
|
]),
|
|
533
533
|
_: 1
|
|
534
|
-
}, 8, ["
|
|
534
|
+
}, 8, ["modelValue", "size"]),
|
|
535
535
|
v(G, {
|
|
536
|
-
|
|
537
|
-
"onUpdate:
|
|
536
|
+
modelValue: N.fieldOptionModelVisible,
|
|
537
|
+
"onUpdate:modelValue": C[22] || (C[22] = (e) => N.fieldOptionModelVisible = e),
|
|
538
538
|
class: "flow-dialog",
|
|
539
539
|
title: N.optionModelTitle,
|
|
540
540
|
width: "600px",
|
|
@@ -605,7 +605,7 @@ function M(e, C, w, M, N, P) {
|
|
|
605
605
|
_: 1
|
|
606
606
|
}, 8, ["model"])]),
|
|
607
607
|
_: 1
|
|
608
|
-
}, 8, ["
|
|
608
|
+
}, 8, ["modelValue", "title"])
|
|
609
609
|
]);
|
|
610
610
|
}
|
|
611
611
|
var N = /* @__PURE__ */ e(w, [["render", M]]);
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
2
|
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { ElForm as r, ElFormItem as i, ElInput as a, ElMessage as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
|
|
4
5
|
import "element-plus/es/components/base/style/css";
|
|
5
6
|
import "element-plus/es/components/input/style/css";
|
|
6
|
-
import { createElementBlock as
|
|
7
|
-
import "element-plus/es/components/
|
|
7
|
+
import { createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, openBlock as p, withCtx as m, withModifiers as h } from "vue";
|
|
8
|
+
import "element-plus/es/components/message/style/css";
|
|
8
9
|
import "element-plus/es/components/table/style/css";
|
|
9
10
|
import "element-plus/es/components/table-column/style/css";
|
|
10
11
|
import "element-plus/es/components/form-item/style/css";
|
|
11
12
|
import "element-plus/es/components/form/style/css";
|
|
12
13
|
//#region src/components/bpmn-process-designer/components/penal/signal-message/SignalAndMessage.vue
|
|
13
|
-
var
|
|
14
|
+
var g = {
|
|
14
15
|
name: "SignalAndMessage",
|
|
15
16
|
props: { bpmnInstances: Object },
|
|
16
17
|
data() {
|
|
@@ -47,18 +48,18 @@ var h = {
|
|
|
47
48
|
},
|
|
48
49
|
addNewObject() {
|
|
49
50
|
if (this.modelType === "message") {
|
|
50
|
-
if (this.messageIdMap[this.modelObjectForm.id]) return
|
|
51
|
+
if (this.messageIdMap[this.modelObjectForm.id]) return o.error("该消息已存在,请修改id后重新保存");
|
|
51
52
|
let e = this.bpmnInstances.moddle.create("bpmn:Message", this.modelObjectForm);
|
|
52
53
|
this.rootElements.push(e);
|
|
53
54
|
} else {
|
|
54
|
-
if (this.signalIdMap[this.modelObjectForm.id]) return
|
|
55
|
+
if (this.signalIdMap[this.modelObjectForm.id]) return o.error("该信号已存在,请修改id后重新保存");
|
|
55
56
|
let e = this.bpmnInstances.moddle.create("bpmn:Signal", this.modelObjectForm);
|
|
56
57
|
this.rootElements.push(e);
|
|
57
58
|
}
|
|
58
59
|
this.modelVisible = !1, this.initDataList();
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
|
-
},
|
|
62
|
+
}, _ = { class: "panel-tab__content" }, v = { class: "panel-tab__content--title" }, y = {
|
|
62
63
|
class: "panel-tab__content--title",
|
|
63
64
|
style: {
|
|
64
65
|
"margin-top": "8px",
|
|
@@ -66,40 +67,40 @@ var h = {
|
|
|
66
67
|
"border-top": "1px solid #eee"
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
|
-
function
|
|
70
|
-
let C = n, w =
|
|
71
|
-
return
|
|
72
|
-
|
|
70
|
+
function b(e, o, g, b, x, S) {
|
|
71
|
+
let C = n, w = c, T = s, E = a, D = i, O = r, k = t;
|
|
72
|
+
return p(), l("div", _, [
|
|
73
|
+
u("div", v, [o[8] || (o[8] = u("span", null, [u("i", {
|
|
73
74
|
class: "el-icon-menu",
|
|
74
75
|
style: {
|
|
75
76
|
"margin-right": "8px",
|
|
76
77
|
color: "#555"
|
|
77
78
|
}
|
|
78
|
-
}),
|
|
79
|
+
}), d(" 消息列表 ")], -1)), f(C, {
|
|
79
80
|
type: "primary",
|
|
80
81
|
icon: "el-icon-plus",
|
|
81
|
-
onClick:
|
|
82
|
+
onClick: o[0] || (o[0] = (e) => S.openModel("message"))
|
|
82
83
|
}, {
|
|
83
|
-
default:
|
|
84
|
+
default: m(() => [...o[7] || (o[7] = [d("创建新消息", -1)])]),
|
|
84
85
|
_: 1
|
|
85
86
|
})]),
|
|
86
|
-
|
|
87
|
+
f(T, {
|
|
87
88
|
data: x.messageList,
|
|
88
89
|
border: ""
|
|
89
90
|
}, {
|
|
90
|
-
default:
|
|
91
|
-
|
|
91
|
+
default: m(() => [
|
|
92
|
+
f(w, {
|
|
92
93
|
type: "index",
|
|
93
94
|
label: "序号",
|
|
94
95
|
width: "60px"
|
|
95
96
|
}),
|
|
96
|
-
|
|
97
|
+
f(w, {
|
|
97
98
|
label: "消息ID",
|
|
98
99
|
prop: "id",
|
|
99
100
|
"max-width": "300px",
|
|
100
101
|
"show-overflow-tooltip": ""
|
|
101
102
|
}),
|
|
102
|
-
|
|
103
|
+
f(w, {
|
|
103
104
|
label: "消息名称",
|
|
104
105
|
prop: "name",
|
|
105
106
|
"max-width": "300px",
|
|
@@ -108,37 +109,37 @@ function y(e, h, y, b, x, S) {
|
|
|
108
109
|
]),
|
|
109
110
|
_: 1
|
|
110
111
|
}, 8, ["data"]),
|
|
111
|
-
|
|
112
|
+
u("div", y, [o[10] || (o[10] = u("span", null, [u("i", {
|
|
112
113
|
class: "el-icon-menu",
|
|
113
114
|
style: {
|
|
114
115
|
"margin-right": "8px",
|
|
115
116
|
color: "#555"
|
|
116
117
|
}
|
|
117
|
-
}),
|
|
118
|
+
}), d(" 信号列表 ")], -1)), f(C, {
|
|
118
119
|
type: "primary",
|
|
119
120
|
icon: "el-icon-plus",
|
|
120
|
-
onClick:
|
|
121
|
+
onClick: o[1] || (o[1] = (e) => S.openModel("signal"))
|
|
121
122
|
}, {
|
|
122
|
-
default:
|
|
123
|
+
default: m(() => [...o[9] || (o[9] = [d("创建新信号", -1)])]),
|
|
123
124
|
_: 1
|
|
124
125
|
})]),
|
|
125
|
-
|
|
126
|
+
f(T, {
|
|
126
127
|
data: x.signalList,
|
|
127
128
|
border: ""
|
|
128
129
|
}, {
|
|
129
|
-
default:
|
|
130
|
-
|
|
130
|
+
default: m(() => [
|
|
131
|
+
f(w, {
|
|
131
132
|
type: "index",
|
|
132
133
|
label: "序号",
|
|
133
134
|
width: "60px"
|
|
134
135
|
}),
|
|
135
|
-
|
|
136
|
+
f(w, {
|
|
136
137
|
label: "信号ID",
|
|
137
138
|
prop: "id",
|
|
138
139
|
"max-width": "300px",
|
|
139
140
|
"show-overflow-tooltip": ""
|
|
140
141
|
}),
|
|
141
|
-
|
|
142
|
+
f(w, {
|
|
142
143
|
label: "信号名称",
|
|
143
144
|
prop: "name",
|
|
144
145
|
"max-width": "300px",
|
|
@@ -147,9 +148,9 @@ function y(e, h, y, b, x, S) {
|
|
|
147
148
|
]),
|
|
148
149
|
_: 1
|
|
149
150
|
}, 8, ["data"]),
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"onUpdate:
|
|
151
|
+
f(k, {
|
|
152
|
+
modelValue: x.modelVisible,
|
|
153
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => x.modelVisible = e),
|
|
153
154
|
class: "flow-dialog",
|
|
154
155
|
title: S.modelConfig.title,
|
|
155
156
|
"close-on-click-modal": !1,
|
|
@@ -157,32 +158,32 @@ function y(e, h, y, b, x, S) {
|
|
|
157
158
|
"append-to-body": "",
|
|
158
159
|
"destroy-on-close": ""
|
|
159
160
|
}, {
|
|
160
|
-
footer:
|
|
161
|
-
default:
|
|
161
|
+
footer: m(() => [f(C, { onClick: o[5] || (o[5] = (e) => x.modelVisible = !1) }, {
|
|
162
|
+
default: m(() => [...o[11] || (o[11] = [d("取 消", -1)])]),
|
|
162
163
|
_: 1
|
|
163
|
-
}),
|
|
164
|
+
}), f(C, {
|
|
164
165
|
type: "primary",
|
|
165
166
|
onClick: S.addNewObject
|
|
166
167
|
}, {
|
|
167
|
-
default:
|
|
168
|
+
default: m(() => [...o[12] || (o[12] = [d("保 存", -1)])]),
|
|
168
169
|
_: 1
|
|
169
170
|
}, 8, ["onClick"])]),
|
|
170
|
-
default:
|
|
171
|
+
default: m(() => [f(O, {
|
|
171
172
|
model: x.modelObjectForm,
|
|
172
173
|
"label-width": "90px",
|
|
173
|
-
onSubmit:
|
|
174
|
+
onSubmit: o[4] || (o[4] = h(() => {}, ["prevent"]))
|
|
174
175
|
}, {
|
|
175
|
-
default:
|
|
176
|
-
default:
|
|
176
|
+
default: m(() => [f(D, { label: S.modelConfig.idLabel }, {
|
|
177
|
+
default: m(() => [f(E, {
|
|
177
178
|
modelValue: x.modelObjectForm.id,
|
|
178
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => x.modelObjectForm.id = e),
|
|
179
180
|
clearable: ""
|
|
180
181
|
}, null, 8, ["modelValue"])]),
|
|
181
182
|
_: 1
|
|
182
|
-
}, 8, ["label"]),
|
|
183
|
-
default:
|
|
183
|
+
}, 8, ["label"]), f(D, { label: S.modelConfig.nameLabel }, {
|
|
184
|
+
default: m(() => [f(E, {
|
|
184
185
|
modelValue: x.modelObjectForm.name,
|
|
185
|
-
"onUpdate:modelValue":
|
|
186
|
+
"onUpdate:modelValue": o[3] || (o[3] = (e) => x.modelObjectForm.name = e),
|
|
186
187
|
clearable: ""
|
|
187
188
|
}, null, 8, ["modelValue"])]),
|
|
188
189
|
_: 1
|
|
@@ -190,9 +191,9 @@ function y(e, h, y, b, x, S) {
|
|
|
190
191
|
_: 1
|
|
191
192
|
}, 8, ["model"])]),
|
|
192
193
|
_: 1
|
|
193
|
-
}, 8, ["
|
|
194
|
+
}, 8, ["modelValue", "title"])
|
|
194
195
|
]);
|
|
195
196
|
}
|
|
196
|
-
var
|
|
197
|
+
var x = /* @__PURE__ */ e(g, [["render", b]]);
|
|
197
198
|
//#endregion
|
|
198
|
-
export {
|
|
199
|
+
export { x as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
2
|
import { t } from "../chunks/V-Js6hNd.mjs";
|
|
3
3
|
import { t as n } from "../chunks/Cb7kjZa-.mjs";
|
|
4
|
-
import { ElButton as r } from "element-plus/es";
|
|
4
|
+
import { ElButton as r, ElMessage as i } from "element-plus/es";
|
|
5
5
|
import "element-plus/es/components/base/style/css";
|
|
6
|
-
import { createBlock as
|
|
6
|
+
import { createBlock as a, createTextVNode as o, createVNode as s, openBlock as c, renderSlot as l, withCtx as u } from "vue";
|
|
7
|
+
import "element-plus/es/components/message/style/css";
|
|
7
8
|
import "element-plus/es/components/button/style/css";
|
|
8
9
|
//#region src/components/DataTablePicker.vue
|
|
9
|
-
var
|
|
10
|
+
var d = {
|
|
10
11
|
name: "DataTablePicker",
|
|
11
12
|
props: {
|
|
12
13
|
visible: Boolean,
|
|
@@ -53,14 +54,14 @@ var u = {
|
|
|
53
54
|
confirm() {
|
|
54
55
|
if (this.multiple) {
|
|
55
56
|
var e;
|
|
56
|
-
(e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) :
|
|
57
|
-
} else this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) :
|
|
57
|
+
(e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) : i.warning("请选择");
|
|
58
|
+
} else this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : i.warning("请选择");
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
|
-
function
|
|
62
|
+
function f(e, i, d, f, p, m) {
|
|
62
63
|
let h = n, g = r, _ = t;
|
|
63
|
-
return
|
|
64
|
+
return c(), a(_, {
|
|
64
65
|
ref: "dialog",
|
|
65
66
|
visible: d.visible,
|
|
66
67
|
title: d.title,
|
|
@@ -70,7 +71,7 @@ function d(e, u, d, f, p, m) {
|
|
|
70
71
|
"flex-column": "",
|
|
71
72
|
onClose: m.close
|
|
72
73
|
}, {
|
|
73
|
-
default:
|
|
74
|
+
default: u(() => [l(e.$slots, "search-form"), s(h, {
|
|
74
75
|
ref: "pageableTable",
|
|
75
76
|
"highlight-current-row": "",
|
|
76
77
|
"hide-on-single-page": "",
|
|
@@ -84,7 +85,7 @@ function d(e, u, d, f, p, m) {
|
|
|
84
85
|
onRowClick: m.toggleRowSelection,
|
|
85
86
|
onCurrentChange: m.currentChange
|
|
86
87
|
}, {
|
|
87
|
-
default:
|
|
88
|
+
default: u(() => [l(e.$slots, "default")]),
|
|
88
89
|
_: 3
|
|
89
90
|
}, 8, [
|
|
90
91
|
"model",
|
|
@@ -95,14 +96,14 @@ function d(e, u, d, f, p, m) {
|
|
|
95
96
|
"onRowClick",
|
|
96
97
|
"onCurrentChange"
|
|
97
98
|
])]),
|
|
98
|
-
footer:
|
|
99
|
+
footer: u(() => [s(g, {
|
|
99
100
|
type: "primary",
|
|
100
101
|
onClick: m.confirm
|
|
101
102
|
}, {
|
|
102
|
-
default:
|
|
103
|
+
default: u(() => [...i[0] || (i[0] = [o("确 定", -1)])]),
|
|
103
104
|
_: 1
|
|
104
|
-
}, 8, ["onClick"]),
|
|
105
|
-
default:
|
|
105
|
+
}, 8, ["onClick"]), s(g, { onClick: m.close }, {
|
|
106
|
+
default: u(() => [...i[1] || (i[1] = [o("关 闭", -1)])]),
|
|
106
107
|
_: 1
|
|
107
108
|
}, 8, ["onClick"])]),
|
|
108
109
|
_: 3
|
|
@@ -114,6 +115,6 @@ function d(e, u, d, f, p, m) {
|
|
|
114
115
|
"onClose"
|
|
115
116
|
]);
|
|
116
117
|
}
|
|
117
|
-
var
|
|
118
|
+
var p = /* @__PURE__ */ e(d, [["render", f]]);
|
|
118
119
|
//#endregion
|
|
119
|
-
export {
|
|
120
|
+
export { p as default };
|