@done-coding/admin-core 0.0.1-alpha.0 → 0.0.1-alpha.2
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/es/components/display/TabsMain.vue.mjs +61 -0
- package/es/components/display/TabsMain.vue2.mjs +4 -0
- package/es/components/display/index.mjs +9 -7
- package/es/components/form/FormDateTimeRange.vue.mjs +46 -0
- package/es/components/form/FormDateTimeRange.vue2.mjs +4 -0
- package/es/components/form/FormMain.vue.mjs +65 -61
- package/es/components/form/FormRadio.vue.mjs +69 -0
- package/es/components/form/FormRadio.vue2.mjs +4 -0
- package/es/components/form/FormSearch.vue2.mjs +24 -23
- package/es/components/form/index.mjs +29 -23
- package/es/components/list-page/ListPage.vue.mjs +1 -1
- package/es/components/list-page/ListPage.vue2.mjs +107 -95
- package/es/components/misc/AutoRefresh.vue.mjs +7 -0
- package/es/components/misc/AutoRefresh.vue2.mjs +57 -0
- package/es/components/misc/index.mjs +7 -5
- package/es/components/modal/DetailModal.vue.mjs +31 -29
- package/es/components/table/TableMain.vue.mjs +2 -2
- package/es/components/table/TableMain.vue2.mjs +159 -118
- package/es/components/table/TableToolbar.vue.mjs +7 -0
- package/es/components/table/TableToolbar.vue2.mjs +75 -0
- package/es/config/route.mjs +3 -2
- package/es/helpers/list-helper.mjs +66 -0
- package/es/hooks/timeout.mjs +21 -0
- package/es/index.mjs +88 -73
- package/es/style.css +1 -1
- package/package.json +3 -3
- package/types/components/display/TabsMain.vue.d.ts +52 -0
- package/types/components/display/index.d.ts +2 -1
- package/types/components/form/FormDateTimeRange.vue.d.ts +18 -0
- package/types/components/form/FormMain.vue.d.ts +3 -0
- package/types/components/form/FormRadio.vue.d.ts +35 -0
- package/types/components/form/FormSearch.vue.d.ts +1 -1
- package/types/components/form/FormSelect.vue.d.ts +2 -6
- package/types/components/form/index.d.ts +3 -1
- package/types/components/form/types.d.ts +13 -0
- package/types/components/list-page/ListPage.vue.d.ts +18 -2
- package/types/components/misc/AutoRefresh.vue.d.ts +14 -0
- package/types/components/misc/index.d.ts +2 -1
- package/types/components/modal/ConfirmModal.vue.d.ts +1 -1
- package/types/components/modal/types.d.ts +2 -0
- package/types/components/table/TableMain.vue.d.ts +13 -1
- package/types/components/table/TableToolbar.vue.d.ts +43 -0
- package/types/components/table/types.d.ts +22 -2
- package/types/config/route.d.ts +2 -0
- package/types/helpers/index.d.ts +2 -0
- package/types/helpers/list-helper.d.ts +36 -0
- package/types/helpers/types.d.ts +15 -0
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/timeout.d.ts +7 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ElLoadingDirective as
|
|
1
|
+
import { ElLoadingDirective as te } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/loading/style/css";
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import
|
|
6
|
-
import { generateFormData as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { BODY_CONTENT_VIEWPORT_HEIGHT as
|
|
12
|
-
const
|
|
4
|
+
import { defineComponent as re, useCssVars as ae, unref as a, useModel as oe, ref as c, shallowRef as O, inject as ne, computed as s, watch as se, withDirectives as ie, openBlock as j, createElementBlock as le, createVNode as k, mergeProps as y, createSlots as F, renderList as b, withCtx as g, renderSlot as d, normalizeProps as T, guardReactiveProps as $, createBlock as ue, createCommentVNode as ce, mergeModels as A } from "vue";
|
|
5
|
+
import fe from "../form/FormSearch.vue.mjs";
|
|
6
|
+
import { generateFormData as he, stringifyFormData as ge } from "../form/utils.mjs";
|
|
7
|
+
import de from "../display/WatchSize.vue.mjs";
|
|
8
|
+
import me from "../table/TableMain.vue.mjs";
|
|
9
|
+
import pe from "lodash/pick";
|
|
10
|
+
import ve from "lodash/cloneDeep";
|
|
11
|
+
import { BODY_CONTENT_VIEWPORT_HEIGHT as ye } from "../../inject/key.mjs";
|
|
12
|
+
const be = {
|
|
13
13
|
"element-loading-background": "rgba(122, 122, 122, 0.5)",
|
|
14
14
|
class: "list-page"
|
|
15
|
-
},
|
|
15
|
+
}, ke = /* @__PURE__ */ re({
|
|
16
16
|
__name: "ListPage",
|
|
17
|
-
props: {
|
|
17
|
+
props: /* @__PURE__ */ A({
|
|
18
18
|
staticQuery: { default: () => ({}) },
|
|
19
19
|
formSearchProps: {},
|
|
20
20
|
columns: {},
|
|
@@ -29,47 +29,55 @@ const he = {
|
|
|
29
29
|
injectInfo: {},
|
|
30
30
|
beforeSearch: {},
|
|
31
31
|
clearTableFilterOnReset: { type: Boolean }
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
}, {
|
|
33
|
+
isAutoRefresh: { type: Boolean },
|
|
34
|
+
isAutoRefreshModifiers: {}
|
|
35
|
+
}),
|
|
36
|
+
emits: /* @__PURE__ */ A(["dataChange", "pageInfoChange"], ["update:isAutoRefresh"]),
|
|
37
|
+
setup(n, { expose: x, emit: B }) {
|
|
38
|
+
ae((e) => ({
|
|
39
|
+
bb4a2a8e: a(q)
|
|
36
40
|
}));
|
|
37
|
-
const
|
|
41
|
+
const o = n, S = B, m = oe(n, "isAutoRefresh"), p = c({}), v = c(
|
|
38
42
|
{}
|
|
39
|
-
),
|
|
40
|
-
|
|
43
|
+
), C = c(!1), i = O(), u = O(), E = ne(
|
|
44
|
+
ye,
|
|
41
45
|
500
|
|
42
|
-
),
|
|
43
|
-
...
|
|
44
|
-
...
|
|
45
|
-
})), w = c(!1),
|
|
46
|
-
|
|
46
|
+
), H = c(0), R = c(0), V = s(() => ({
|
|
47
|
+
...v.value,
|
|
48
|
+
...o.staticQuery
|
|
49
|
+
})), w = c(!1), K = s(() => w.value ? H.value + 10 : 0), N = s(() => o.showOperation ? R.value + 10 : 0), I = s(() => E.value - o.refineReduceHeight), q = s(() => o.refine ? `${I.value}px` : "auto"), L = s(() => o.refine ? Math.max(
|
|
50
|
+
I.value - K.value - N.value,
|
|
47
51
|
200
|
|
48
|
-
) : void 0),
|
|
49
|
-
var
|
|
52
|
+
) : void 0), M = (e, t = "search") => {
|
|
53
|
+
var r, l, h;
|
|
50
54
|
let f = e;
|
|
51
|
-
if (
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
)),
|
|
55
|
-
return ["reset", "search"].includes(
|
|
56
|
-
|
|
55
|
+
if (o.beforeSearch && (f = o.beforeSearch(
|
|
56
|
+
ve(e),
|
|
57
|
+
t
|
|
58
|
+
)), t === "reset" && o.clearTableFilterOnReset && ((l = (r = u.value) == null ? void 0 : r.getTableInstance()) == null || l.clearFilter()), JSON.stringify(f) === JSON.stringify(v.value))
|
|
59
|
+
return ["reset", "search"].includes(t) ? (h = u.value) == null ? void 0 : h.reload() : void 0;
|
|
60
|
+
v.value = {
|
|
57
61
|
...f
|
|
58
62
|
};
|
|
59
|
-
},
|
|
60
|
-
S
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
},
|
|
63
|
+
}, J = (e) => {
|
|
64
|
+
S("dataChange", e);
|
|
65
|
+
}, Q = (e) => {
|
|
66
|
+
S("pageInfoChange", e);
|
|
67
|
+
}, z = (e) => {
|
|
68
|
+
C.value = e;
|
|
69
|
+
}, G = (e) => {
|
|
64
70
|
H.value = e;
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
}, U = (e) => {
|
|
72
|
+
R.value = e;
|
|
73
|
+
}, W = s(() => o.list), Y = s(() => o.rowKey), P = s(() => p.value), D = {
|
|
74
|
+
refresh: async (e = !1) => {
|
|
75
|
+
var t;
|
|
76
|
+
return (t = u.value) == null ? void 0 : t.refresh(e);
|
|
69
77
|
},
|
|
70
|
-
reload: (e = !1) => {
|
|
71
|
-
var
|
|
72
|
-
return (
|
|
78
|
+
reload: async (e = !1) => {
|
|
79
|
+
var t;
|
|
80
|
+
return (t = u.value) == null ? void 0 : t.reload(e);
|
|
73
81
|
},
|
|
74
82
|
getTableInstance: () => {
|
|
75
83
|
var e;
|
|
@@ -85,8 +93,8 @@ const he = {
|
|
|
85
93
|
return (e = i.value) == null ? void 0 : e.resetFields();
|
|
86
94
|
},
|
|
87
95
|
clearValidate: (e) => {
|
|
88
|
-
var
|
|
89
|
-
return (
|
|
96
|
+
var t;
|
|
97
|
+
return (t = i.value) == null ? void 0 : t.clearValidate(e);
|
|
90
98
|
},
|
|
91
99
|
triggerReset: () => {
|
|
92
100
|
var e;
|
|
@@ -96,99 +104,103 @@ const he = {
|
|
|
96
104
|
var e;
|
|
97
105
|
return (e = i.value) == null ? void 0 : e.triggerSearch();
|
|
98
106
|
},
|
|
99
|
-
update: (e,
|
|
100
|
-
|
|
107
|
+
update: (e, t) => {
|
|
108
|
+
p.value[e] = t;
|
|
101
109
|
}
|
|
102
|
-
},
|
|
103
|
-
const e =
|
|
110
|
+
}, X = s(() => {
|
|
111
|
+
const e = pe(D, [
|
|
104
112
|
"triggerReset",
|
|
105
113
|
"triggerSearch",
|
|
106
114
|
"update"
|
|
107
115
|
]);
|
|
108
116
|
return {
|
|
109
|
-
...
|
|
117
|
+
...o.injectInfo || {},
|
|
110
118
|
...e
|
|
111
119
|
};
|
|
112
|
-
}),
|
|
120
|
+
}), Z = (e) => e, _ = (e) => e, ee = (e) => {
|
|
113
121
|
w.value = e;
|
|
114
122
|
};
|
|
115
|
-
return
|
|
116
|
-
() =>
|
|
123
|
+
return x(D), se(
|
|
124
|
+
() => o.list,
|
|
117
125
|
(e) => {
|
|
118
|
-
const
|
|
119
|
-
|
|
126
|
+
const t = he(e);
|
|
127
|
+
p.value = t, M(ge(t, e));
|
|
120
128
|
},
|
|
121
129
|
{
|
|
122
130
|
immediate: !0
|
|
123
131
|
}
|
|
124
|
-
), (e,
|
|
125
|
-
const f =
|
|
126
|
-
return
|
|
127
|
-
|
|
132
|
+
), (e, t) => {
|
|
133
|
+
const f = te;
|
|
134
|
+
return ie((j(), le("div", be, [
|
|
135
|
+
k(a(fe), y({
|
|
128
136
|
ref_key: "formSearch",
|
|
129
137
|
ref: i,
|
|
130
|
-
list:
|
|
131
|
-
data:
|
|
132
|
-
},
|
|
133
|
-
onSearch:
|
|
134
|
-
onHeightChange:
|
|
135
|
-
onVisibleChange:
|
|
136
|
-
}),
|
|
137
|
-
|
|
138
|
-
name:
|
|
138
|
+
list: a(W),
|
|
139
|
+
data: a(P)
|
|
140
|
+
}, n.formSearchProps, {
|
|
141
|
+
onSearch: M,
|
|
142
|
+
onHeightChange: G,
|
|
143
|
+
onVisibleChange: ee
|
|
144
|
+
}), F({ _: 2 }, [
|
|
145
|
+
b(n.list, (r) => ({
|
|
146
|
+
name: r.key,
|
|
139
147
|
fn: g((l) => [
|
|
140
|
-
|
|
148
|
+
d(e.$slots, `form-${r.key}`, T($(l)), void 0, !0)
|
|
141
149
|
])
|
|
142
150
|
}))
|
|
143
151
|
]), 1040, ["list", "data"]),
|
|
144
|
-
|
|
152
|
+
n.showOperation ? (j(), ue(a(de), {
|
|
145
153
|
key: 0,
|
|
146
154
|
class: "list-page-operation",
|
|
147
|
-
onHeightChange:
|
|
155
|
+
onHeightChange: U
|
|
148
156
|
}, {
|
|
149
157
|
default: g(() => [
|
|
150
|
-
|
|
158
|
+
d(e.$slots, "operation", {}, void 0, !0)
|
|
151
159
|
]),
|
|
152
160
|
_: 3
|
|
153
|
-
})) :
|
|
154
|
-
|
|
161
|
+
})) : ce("", !0),
|
|
162
|
+
k(a(me), y({
|
|
155
163
|
ref_key: "tableMain",
|
|
156
164
|
ref: u,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
"is-auto-refresh": m.value,
|
|
166
|
+
"onUpdate:isAutoRefresh": t[0] || (t[0] = (r) => m.value = r),
|
|
167
|
+
api: n.api,
|
|
168
|
+
columns: n.columns,
|
|
169
|
+
query: a(V),
|
|
170
|
+
maxHeight: a(L),
|
|
171
|
+
rowKey: a(Y)
|
|
172
|
+
}, n.tableMainProps, {
|
|
163
173
|
refine: !1,
|
|
164
|
-
injectInfo:
|
|
165
|
-
onLoadingChange:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
injectInfo: a(X),
|
|
175
|
+
onLoadingChange: z,
|
|
176
|
+
onDataChange: J,
|
|
177
|
+
onPageInfoChange: Q
|
|
178
|
+
}), F({ _: 2 }, [
|
|
179
|
+
b(n.columns, (r) => ({
|
|
180
|
+
name: r.prop,
|
|
169
181
|
fn: g((l) => [
|
|
170
|
-
|
|
182
|
+
d(e.$slots, `table-${r.prop}`, T($(Z(l))), void 0, !0)
|
|
171
183
|
])
|
|
172
184
|
})),
|
|
173
|
-
|
|
174
|
-
name: `header-${
|
|
185
|
+
b(n.columns, (r) => ({
|
|
186
|
+
name: `header-${r.prop}`,
|
|
175
187
|
fn: g((l) => {
|
|
176
188
|
var h;
|
|
177
189
|
return [
|
|
178
|
-
|
|
179
|
-
searchFormData:
|
|
180
|
-
triggerSearch: (h =
|
|
190
|
+
d(e.$slots, `table-header-${r.columnKey || r.prop}`, y(_(l), {
|
|
191
|
+
searchFormData: a(P),
|
|
192
|
+
triggerSearch: (h = a(i)) == null ? void 0 : h.triggerSearch
|
|
181
193
|
}), void 0, !0)
|
|
182
194
|
];
|
|
183
195
|
})
|
|
184
196
|
}))
|
|
185
|
-
]), 1040, ["api", "columns", "query", "maxHeight", "rowKey", "injectInfo"])
|
|
197
|
+
]), 1040, ["is-auto-refresh", "api", "columns", "query", "maxHeight", "rowKey", "injectInfo"])
|
|
186
198
|
])), [
|
|
187
|
-
[f,
|
|
199
|
+
[f, !m.value && a(C)]
|
|
188
200
|
]);
|
|
189
201
|
};
|
|
190
202
|
}
|
|
191
203
|
});
|
|
192
204
|
export {
|
|
193
|
-
|
|
205
|
+
ke as default
|
|
194
206
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ElInputNumber as x, ElSwitch as M } from "element-plus/es";
|
|
2
|
+
import "element-plus/es/components/base/style/css";
|
|
3
|
+
import "element-plus/es/components/switch/style/css";
|
|
4
|
+
import "element-plus/es/components/input-number/style/css";
|
|
5
|
+
import { defineComponent as N, useModel as m, watch as n, openBlock as i, createElementBlock as d, Fragment as b, createElementVNode as f, createVNode as p, createCommentVNode as k, mergeModels as w } from "vue";
|
|
6
|
+
import { useTimeout as B } from "../../hooks/timeout.mjs";
|
|
7
|
+
import { useActivatedExec as T } from "../../hooks/activated.mjs";
|
|
8
|
+
const y = { class: "auto-refresh" }, F = /* @__PURE__ */ N({
|
|
9
|
+
__name: "AutoRefresh",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: { type: Boolean, default: !1 },
|
|
12
|
+
modelModifiers: {},
|
|
13
|
+
interval: { default: 30 },
|
|
14
|
+
intervalModifiers: {}
|
|
15
|
+
},
|
|
16
|
+
emits: /* @__PURE__ */ w(["refresh"], ["update:modelValue", "update:interval"]),
|
|
17
|
+
setup(s, { expose: v, emit: c }) {
|
|
18
|
+
const r = c, e = m(s, "modelValue"), o = m(s, "interval"), [V, h] = B(), l = () => {
|
|
19
|
+
V(() => {
|
|
20
|
+
r("refresh"), e.value && l();
|
|
21
|
+
}, o.value * 1e3);
|
|
22
|
+
};
|
|
23
|
+
return v({ trigger: () => {
|
|
24
|
+
r("refresh"), e.value && l();
|
|
25
|
+
} }), n(e, (u) => {
|
|
26
|
+
u ? l() : h();
|
|
27
|
+
}), n(o, () => {
|
|
28
|
+
e.value && l();
|
|
29
|
+
}), T(() => {
|
|
30
|
+
e.value && (r("refresh"), l());
|
|
31
|
+
}), (u, t) => {
|
|
32
|
+
const E = x, g = M;
|
|
33
|
+
return i(), d("div", y, [
|
|
34
|
+
e.value ? (i(), d(b, { key: 0 }, [
|
|
35
|
+
t[2] || (t[2] = f("span", { class: "auto-refresh-label" }, "刷新间隔", -1)),
|
|
36
|
+
p(E, {
|
|
37
|
+
modelValue: o.value,
|
|
38
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => o.value = a),
|
|
39
|
+
min: 1,
|
|
40
|
+
step: 5,
|
|
41
|
+
size: "small",
|
|
42
|
+
class: "auto-refresh-interval"
|
|
43
|
+
}, null, 8, ["modelValue"]),
|
|
44
|
+
t[3] || (t[3] = f("span", { class: "auto-refresh-label" }, "秒", -1))
|
|
45
|
+
], 64)) : k("", !0),
|
|
46
|
+
p(g, {
|
|
47
|
+
modelValue: e.value,
|
|
48
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => e.value = a),
|
|
49
|
+
"active-text": "自动刷新"
|
|
50
|
+
}, null, 8, ["modelValue"])
|
|
51
|
+
]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
F as default
|
|
57
|
+
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import e from "./TriggerAutoImport.vue.mjs";
|
|
2
|
+
import m from "./AutoRefresh.vue.mjs";
|
|
3
|
+
const n = { TriggerAutoImport: e, AutoRefresh: m }, i = {
|
|
3
4
|
install(o) {
|
|
4
|
-
Object.entries(
|
|
5
|
+
Object.entries(n).forEach(([t, r]) => {
|
|
5
6
|
o.component(t, r);
|
|
6
7
|
});
|
|
7
8
|
}
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
-
e as
|
|
11
|
+
m as AutoRefresh,
|
|
12
|
+
e as TriggerAutoImport,
|
|
13
|
+
i as miscInstall
|
|
12
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { defineComponent as g, ref as A, computed as
|
|
4
|
-
import { stringifyFormData as
|
|
5
|
-
const
|
|
1
|
+
import y from "./ConfirmModal.vue.mjs";
|
|
2
|
+
import p from "../form/FormMain.vue.mjs";
|
|
3
|
+
import { defineComponent as g, ref as A, computed as l, watch as C, openBlock as M, createBlock as x, unref as s, withCtx as D, createVNode as b, mergeProps as k } from "vue";
|
|
4
|
+
import { stringifyFormData as v } from "../form/utils.mjs";
|
|
5
|
+
const B = "80px", $ = /* @__PURE__ */ g({
|
|
6
6
|
__name: "DetailModal",
|
|
7
7
|
props: {
|
|
8
8
|
data: {},
|
|
@@ -14,48 +14,50 @@ const v = "80px", W = /* @__PURE__ */ g({
|
|
|
14
14
|
editApi: {},
|
|
15
15
|
modalWidth: { default: 600 },
|
|
16
16
|
formLayout: { default: () => ({ span: 24 }) },
|
|
17
|
-
formProps: {}
|
|
17
|
+
formProps: {},
|
|
18
|
+
formRowGutter: {}
|
|
18
19
|
},
|
|
19
20
|
emits: ["update:show", "afterAdd", "afterEdit"],
|
|
20
|
-
setup(e, { emit:
|
|
21
|
-
const t = e,
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
var
|
|
25
|
-
return (
|
|
21
|
+
setup(e, { emit: f }) {
|
|
22
|
+
const t = e, r = f, d = A(), m = l(() => t.data), c = l(() => `${t.type === "add" ? "新增" : "编辑"}${t.subTitle || ""}`), u = (a) => {
|
|
23
|
+
r("update:show", a);
|
|
24
|
+
}, w = () => {
|
|
25
|
+
var a;
|
|
26
|
+
return (a = d.value) == null ? void 0 : a.validate().then(async () => {
|
|
26
27
|
var i, n;
|
|
27
|
-
const
|
|
28
|
-
console.log("confirm",
|
|
28
|
+
const o = v(t.data, t.list);
|
|
29
|
+
console.log("confirm", o), t.type === "add" ? (await ((i = t.addApi) == null ? void 0 : i.call(t, o)), r("afterAdd", o)) : (await ((n = t.editApi) == null ? void 0 : n.call(t, o)), r("afterEdit", o));
|
|
29
30
|
});
|
|
30
|
-
},
|
|
31
|
+
}, h = () => {
|
|
31
32
|
console.log("cancel");
|
|
32
33
|
};
|
|
33
34
|
return C(
|
|
34
35
|
() => t.show,
|
|
35
|
-
(
|
|
36
|
-
var
|
|
37
|
-
|
|
36
|
+
(a) => {
|
|
37
|
+
var o;
|
|
38
|
+
a || (o = d.value) == null || o.clearValidate();
|
|
38
39
|
}
|
|
39
|
-
), (
|
|
40
|
-
const i =
|
|
40
|
+
), (a, o) => {
|
|
41
|
+
const i = p, n = y;
|
|
41
42
|
return M(), x(n, {
|
|
42
|
-
title: s(
|
|
43
|
+
title: s(c),
|
|
43
44
|
show: e.show,
|
|
44
|
-
onConfirm:
|
|
45
|
-
onCancel:
|
|
45
|
+
onConfirm: w,
|
|
46
|
+
onCancel: h,
|
|
46
47
|
useLoading: "",
|
|
47
48
|
width: e.modalWidth,
|
|
48
49
|
"onUpdate:show": u
|
|
49
50
|
}, {
|
|
50
51
|
default: D(() => [
|
|
51
|
-
|
|
52
|
+
b(i, k({
|
|
52
53
|
ref_key: "formMain",
|
|
53
|
-
ref:
|
|
54
|
+
ref: d,
|
|
54
55
|
list: e.list,
|
|
55
|
-
data: s(
|
|
56
|
+
data: s(m),
|
|
56
57
|
layout: e.formLayout,
|
|
57
|
-
labelWidth:
|
|
58
|
-
|
|
58
|
+
labelWidth: B,
|
|
59
|
+
"row-gutter": e.formRowGutter
|
|
60
|
+
}, e.formProps), null, 16, ["list", "data", "layout", "row-gutter"])
|
|
59
61
|
]),
|
|
60
62
|
_: 1
|
|
61
63
|
}, 8, ["title", "show", "width"]);
|
|
@@ -63,5 +65,5 @@ const v = "80px", W = /* @__PURE__ */ g({
|
|
|
63
65
|
}
|
|
64
66
|
});
|
|
65
67
|
export {
|
|
66
|
-
|
|
68
|
+
$ as default
|
|
67
69
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TableMain.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5944984b"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|