@dazhicheng/ui 1.5.223 → 1.5.224
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/dist/components/tt-modal/src/components/ModalHeader.vue.js +1 -1
- package/dist/components/tt-table/src/TableForm.vue.d.ts +161 -57
- package/dist/components/tt-table/src/TableForm.vue.js +126 -113
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +19 -1
- package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +103 -94
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as Ae, useSlots as Ee, ref as Oe, computed as
|
|
1
|
+
import { defineComponent as Ae, useSlots as Ee, ref as Oe, computed as g, toValue as E, getCurrentInstance as $e, onMounted as G, watch as O, onUnmounted as ke, createElementBlock as J, openBlock as Q, normalizeClass as L, unref as s, createCommentVNode as Re, createElementVNode as _e, createVNode as $, renderSlot as p, createSlots as K, renderList as X, withCtx as C, normalizeProps as Y, guardReactiveProps as Z, mergeProps as ee, toHandlers as Be, nextTick as Ve } from "vue";
|
|
2
2
|
import "../../tt-button/index.js";
|
|
3
3
|
import "../../tt-checkbox/index.js";
|
|
4
4
|
import "../../tt-empty/index.js";
|
|
5
5
|
import { kebabToCamelCase as Le } from "../../../packages/utils/src/string.js";
|
|
6
6
|
import "axios";
|
|
7
7
|
import "element-plus";
|
|
8
|
-
import { isFunction as
|
|
9
|
-
import { extractResourceFromApi as
|
|
10
|
-
import
|
|
8
|
+
import { isFunction as Ke } from "../../../packages/utils/src/is.js";
|
|
9
|
+
import { extractResourceFromApi as je, generateTestId as k } from "../../../packages/utils/src/testid-helper.js";
|
|
10
|
+
import xe from "xe-utils";
|
|
11
11
|
import "dayjs";
|
|
12
12
|
import "dayjs/plugin/utc";
|
|
13
13
|
import "dayjs/plugin/timezone";
|
|
@@ -33,7 +33,7 @@ import "../../tt-form/src/shared/zod-defaults.js";
|
|
|
33
33
|
import "../../tt-nav-anchor/index.js";
|
|
34
34
|
import "../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
|
|
35
35
|
import { useDesign as We } from "../../../packages/hooks/src/useDesign.js";
|
|
36
|
-
import { useDebounceFn as
|
|
36
|
+
import { useDebounceFn as j } from "../../../packages/hooks/src/useDebounce.js";
|
|
37
37
|
import "../../tt-icon/index.js";
|
|
38
38
|
import "../../tt-form/src/components/Slot.js";
|
|
39
39
|
import "../../tt-form-item-error-tooltip/index.js";
|
|
@@ -88,78 +88,78 @@ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
|
|
|
88
88
|
...te
|
|
89
89
|
],
|
|
90
90
|
setup(oe, { expose: re, emit: se }) {
|
|
91
|
-
var
|
|
92
|
-
const
|
|
93
|
-
let t =
|
|
91
|
+
var W, U, q;
|
|
92
|
+
const u = oe, T = se, R = Ee(), { prefixCls: _ } = We("table-form"), y = Oe();
|
|
93
|
+
let t = u.tableFormApi;
|
|
94
94
|
if (!t) {
|
|
95
|
-
t = new rt(
|
|
95
|
+
t = new rt(u);
|
|
96
96
|
const e = t;
|
|
97
97
|
e.useStore = (o) => He(t.store, o), t = e;
|
|
98
98
|
}
|
|
99
|
-
const
|
|
99
|
+
const B = (W = t == null ? void 0 : t.useStore) == null ? void 0 : W.call(t), v = g(() => {
|
|
100
100
|
var o;
|
|
101
|
-
if (
|
|
102
|
-
const e = (o = E(
|
|
103
|
-
return e != null && e.api ?
|
|
104
|
-
}), ae =
|
|
101
|
+
if (u.testId) return u.testId;
|
|
102
|
+
const e = (o = E(B)) == null ? void 0 : o.table;
|
|
103
|
+
return e != null && e.api ? je(e.api) : "table";
|
|
104
|
+
}), ae = g(() => k(v.value, "tableform")), ie = g(() => k(v.value, "search-form-header")), le = g(() => k(v.value, "search-btn-query")), ne = g(() => k(v.value, "search-btn-reset")), me = g(() => ({
|
|
105
105
|
submit: le.value,
|
|
106
106
|
reset: ne.value
|
|
107
107
|
}));
|
|
108
108
|
Ge(me);
|
|
109
|
-
const
|
|
110
|
-
tableData:
|
|
111
|
-
getFormProps:
|
|
112
|
-
getTableProps:
|
|
113
|
-
getTableToolProps:
|
|
114
|
-
handleSearchInfoChange:
|
|
109
|
+
const x = {}, c = $e(), S = g(() => E(B)), { getFormSlotKeysFunc: pe, getTableSlotKeysFunc: ue, replaceTableSlotKey: ce, replaceFormSlotKey: de } = et(), {
|
|
110
|
+
tableData: fe,
|
|
111
|
+
getFormProps: V,
|
|
112
|
+
getTableProps: d,
|
|
113
|
+
getTableToolProps: be,
|
|
114
|
+
handleSearchInfoChange: z
|
|
115
115
|
} = Ye(
|
|
116
|
-
|
|
116
|
+
S,
|
|
117
117
|
t.tableApi.reload,
|
|
118
118
|
t.tableApi.getLoading,
|
|
119
119
|
t.tableApi.getPagination,
|
|
120
|
-
|
|
121
|
-
), { run: ge } =
|
|
120
|
+
T
|
|
121
|
+
), { run: ge } = j(
|
|
122
122
|
async () => {
|
|
123
123
|
const e = await r.getValues();
|
|
124
124
|
await r.resetForm(e, { force: !0 });
|
|
125
125
|
const o = await r.getValues();
|
|
126
|
-
r.setLatestSubmissionValues(o), (await (r == null ? void 0 : r.validate())).valid &&
|
|
126
|
+
r.setLatestSubmissionValues(o), (await (r == null ? void 0 : r.validate())).valid && z(o);
|
|
127
127
|
},
|
|
128
128
|
200,
|
|
129
129
|
{ leading: !0 }
|
|
130
|
-
), { run: he } =
|
|
130
|
+
), { run: he } = j(
|
|
131
131
|
async (e) => {
|
|
132
|
-
await t.grid.clearFilter(), await
|
|
132
|
+
await t.grid.clearFilter(), await z(e);
|
|
133
133
|
},
|
|
134
134
|
200,
|
|
135
135
|
{ leading: !0 }
|
|
136
136
|
), [Ce, r] = Ne({
|
|
137
|
-
...E(
|
|
137
|
+
...E(V),
|
|
138
138
|
handleSubmit: he,
|
|
139
139
|
handleReset: ge,
|
|
140
140
|
submitOnEnter: !0,
|
|
141
141
|
submitButtonOptions: {
|
|
142
|
-
content: (
|
|
142
|
+
content: (U = Ue.form) == null ? void 0 : U.submitTitle
|
|
143
143
|
},
|
|
144
144
|
showCollapseButton: !0,
|
|
145
145
|
collapsed: !0,
|
|
146
146
|
collapseTriggerResize: !0
|
|
147
147
|
}), { initCustomSetting: ve, saveColumns: Se } = Ze({
|
|
148
|
-
getTableProps:
|
|
148
|
+
getTableProps: d,
|
|
149
149
|
tableMethods: t.tableApi,
|
|
150
|
-
getProps:
|
|
151
|
-
}),
|
|
150
|
+
getProps: S
|
|
151
|
+
}), D = async () => {
|
|
152
152
|
await Ve(), t.tableApi && t.tableApi.redoHeight();
|
|
153
153
|
};
|
|
154
154
|
te.forEach((e) => {
|
|
155
|
-
const o =
|
|
156
|
-
|
|
155
|
+
const o = xe.camelCase(e);
|
|
156
|
+
x[o] = (...a) => T(e, ...a);
|
|
157
157
|
});
|
|
158
158
|
const Te = {
|
|
159
|
-
...
|
|
159
|
+
...x
|
|
160
160
|
};
|
|
161
|
-
function
|
|
162
|
-
t.setState((o) => o.table ? (o.table.getSyncSlotComponent =
|
|
161
|
+
function ye(e) {
|
|
162
|
+
t.setState((o) => o.table ? (o.table.getSyncSlotComponent = u.table.getSyncSlotComponent, ze(
|
|
163
163
|
{
|
|
164
164
|
...e,
|
|
165
165
|
table: {
|
|
@@ -170,9 +170,9 @@ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
|
|
|
170
170
|
o
|
|
171
171
|
)) : {}), e.table && t.tableApi.setState(e.table), e.form && (r == null || r.setState(e.form));
|
|
172
172
|
}
|
|
173
|
-
const { run:
|
|
173
|
+
const { run: we } = j(
|
|
174
174
|
async (e) => {
|
|
175
|
-
r.isMounted && s(
|
|
175
|
+
r.isMounted && s(S).useSearchForm ? r.validate().then(async (o) => {
|
|
176
176
|
if (o.valid) {
|
|
177
177
|
const a = await r.getValues();
|
|
178
178
|
await t.tableApi.reload({
|
|
@@ -197,56 +197,56 @@ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
|
|
|
197
197
|
formMethods: r,
|
|
198
198
|
setTableProps: t.tableApi.setState,
|
|
199
199
|
setFormProps: r.setState,
|
|
200
|
-
setProps:
|
|
201
|
-
reload:
|
|
202
|
-
selectedKeys:
|
|
200
|
+
setProps: ye,
|
|
201
|
+
reload: we,
|
|
202
|
+
selectedKeys: g(() => E(t.tableApi.selectedKeys))
|
|
203
203
|
};
|
|
204
204
|
async function Fe() {
|
|
205
|
-
const { tableRefreshBefore: e } =
|
|
206
|
-
e &&
|
|
205
|
+
const { tableRefreshBefore: e } = S.value;
|
|
206
|
+
e && Ke(e) && await e(), A.reload();
|
|
207
207
|
}
|
|
208
208
|
async function Pe(e) {
|
|
209
|
-
var
|
|
210
|
-
const o = ((m = (
|
|
209
|
+
var f, m;
|
|
210
|
+
const o = ((m = (f = S.value) == null ? void 0 : f.table) == null ? void 0 : m.columns) || [], a = new Map(o.map((n) => [n.field, n])), l = e.checkedModel.map((n) => a.get(n)).filter(Boolean);
|
|
211
211
|
if (e.isExport) {
|
|
212
|
-
|
|
212
|
+
T("export", e.checkedModel, e.modalApi);
|
|
213
213
|
return;
|
|
214
214
|
}
|
|
215
215
|
e.modalApi.setModalProps({
|
|
216
216
|
confirmLoading: !0
|
|
217
|
-
}),
|
|
217
|
+
}), d.value.useHttpCache && await Se(JSON.stringify(e.checkedModel)), t.tableApi.setTableColumns(l), e.modalApi.setModalProps({
|
|
218
218
|
confirmLoading: !1
|
|
219
|
-
}), e.modalApi.closeModal(),
|
|
219
|
+
}), e.modalApi.closeModal(), T("set-columns", l);
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
var m, n, h, b, w,
|
|
223
|
-
const { notSetColumnField: o, columns: a } = s(
|
|
224
|
-
(
|
|
225
|
-
columns: (((
|
|
221
|
+
function N(e = !1) {
|
|
222
|
+
var m, n, h, b, w, F, P, I, M;
|
|
223
|
+
const { notSetColumnField: o, columns: a } = s(d), l = (b = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : b.filter(Boolean), f = ((F = (w = s(a)) == null ? void 0 : w.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : F.map((i) => i.field)) || [];
|
|
224
|
+
(I = y.value) == null || I.openModal({
|
|
225
|
+
columns: (((P = t.tableApi) == null ? void 0 : P.getTableColumns()) || []).filter(
|
|
226
226
|
(i) => i.visible !== !1
|
|
227
227
|
),
|
|
228
|
-
displayFields: e ?
|
|
228
|
+
displayFields: e ? f : l,
|
|
229
229
|
disabledColumnField: o || []
|
|
230
|
-
}), (
|
|
230
|
+
}), (M = y.value) == null || M.setModalProps({
|
|
231
231
|
title: "列设置"
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
var m, n, h, b, w,
|
|
236
|
-
const { notSetColumnField: o, columns: a } = s(
|
|
237
|
-
(
|
|
238
|
-
columns: (((
|
|
234
|
+
function H(e = !1) {
|
|
235
|
+
var m, n, h, b, w, F, P, I, M;
|
|
236
|
+
const { notSetColumnField: o, columns: a } = s(d), l = (b = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : b.filter(Boolean), f = ((F = (w = s(a)) == null ? void 0 : w.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : F.map((i) => i.field)) || [];
|
|
237
|
+
(I = y.value) == null || I.openModal({
|
|
238
|
+
columns: (((P = t.tableApi) == null ? void 0 : P.getTableColumns()) || []).filter(
|
|
239
239
|
(i) => i.visible !== !1
|
|
240
240
|
),
|
|
241
|
-
displayFields: e ?
|
|
241
|
+
displayFields: e ? f : l,
|
|
242
242
|
disabledColumnField: o || [],
|
|
243
243
|
isExport: !0
|
|
244
|
-
}), (
|
|
244
|
+
}), (M = y.value) == null || M.setModalProps({
|
|
245
245
|
title: "自定义导出"
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
Xe({ formInstance: r }),
|
|
249
|
-
|
|
248
|
+
Xe({ formInstance: r }), G(() => {
|
|
249
|
+
c && T("register", A, c == null ? void 0 : c.uid), setTimeout(() => {
|
|
250
250
|
ve();
|
|
251
251
|
}, 16);
|
|
252
252
|
}), O(
|
|
@@ -256,22 +256,22 @@ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
|
|
|
256
256
|
submitButtonOptions: { loading: t.tableApi.getLoading.value }
|
|
257
257
|
});
|
|
258
258
|
},
|
|
259
|
-
{ immediate: (
|
|
259
|
+
{ immediate: (q = B.value.table) == null ? void 0 : q.immediate }
|
|
260
260
|
), O(
|
|
261
|
-
() =>
|
|
261
|
+
() => V.value,
|
|
262
262
|
(e) => {
|
|
263
263
|
r && (r == null || r.setState(e));
|
|
264
264
|
},
|
|
265
265
|
{ deep: !0 }
|
|
266
266
|
), O(
|
|
267
|
-
() =>
|
|
267
|
+
() => d.value,
|
|
268
268
|
(e) => {
|
|
269
269
|
var o;
|
|
270
270
|
t != null && t.tableApi && ((o = t == null ? void 0 : t.tableApi) == null || o.setState(e));
|
|
271
271
|
},
|
|
272
272
|
{ deep: !0 }
|
|
273
|
-
), window.addEventListener("resize",
|
|
274
|
-
t == null || t.mount(A, r), r == null || r.setState(
|
|
273
|
+
), window.addEventListener("resize", D), G(() => {
|
|
274
|
+
t == null || t.mount(A, r), r == null || r.setState(V.value);
|
|
275
275
|
});
|
|
276
276
|
function Ie(e) {
|
|
277
277
|
return Object.fromEntries(Object.entries(e).filter(([o]) => !o.startsWith("on")));
|
|
@@ -280,92 +280,105 @@ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
|
|
|
280
280
|
return Object.fromEntries(Object.keys(e).map((a) => [a, o[a]]));
|
|
281
281
|
}
|
|
282
282
|
return O(
|
|
283
|
-
() => De(
|
|
283
|
+
() => De(u, ["tableFormApi"]),
|
|
284
284
|
() => {
|
|
285
285
|
var m;
|
|
286
|
-
const e = {}, o = ((m =
|
|
286
|
+
const e = {}, o = ((m = c == null ? void 0 : c.vnode) == null ? void 0 : m.props) || {}, a = new Set(Object.keys(u));
|
|
287
287
|
for (const [n, h] of Object.entries(o)) {
|
|
288
288
|
const b = Le(n);
|
|
289
289
|
a.has(b) && (e[b] = h);
|
|
290
290
|
}
|
|
291
|
-
const l = Ie(e),
|
|
292
|
-
t.setState(
|
|
291
|
+
const l = Ie(e), f = Me(l, u);
|
|
292
|
+
t.setState(f);
|
|
293
293
|
},
|
|
294
294
|
{ deep: !0 }
|
|
295
295
|
), ke(() => {
|
|
296
|
-
t == null || t.unmount(), window.removeEventListener("resize",
|
|
297
|
-
}), re({ ...A, instance:
|
|
298
|
-
class:
|
|
296
|
+
t == null || t.unmount(), window.removeEventListener("resize", D);
|
|
297
|
+
}), re({ ...A, instance: c }), (e, o) => (Q(), J("div", {
|
|
298
|
+
class: L(s(_)),
|
|
299
299
|
"data-testid": ae.value
|
|
300
300
|
}, [
|
|
301
|
-
|
|
301
|
+
S.value.useSearchForm ? (Q(), J("div", {
|
|
302
302
|
key: 0,
|
|
303
|
-
class:
|
|
303
|
+
class: L(`${s(_)}-header`),
|
|
304
304
|
"data-testid": ie.value
|
|
305
305
|
}, [
|
|
306
|
-
|
|
307
|
-
"test-id": `${
|
|
308
|
-
},
|
|
309
|
-
X(s(pe)(s(
|
|
306
|
+
$(s(Ce), {
|
|
307
|
+
"test-id": `${v.value}-search-form`
|
|
308
|
+
}, K({ _: 2 }, [
|
|
309
|
+
X(s(pe)(s(R)), (a) => ({
|
|
310
310
|
name: s(de)(a),
|
|
311
|
-
fn:
|
|
312
|
-
|
|
311
|
+
fn: C((l) => [
|
|
312
|
+
p(e.$slots, a, Y(Z(l || {})))
|
|
313
313
|
])
|
|
314
314
|
}))
|
|
315
315
|
]), 1032, ["test-id"]),
|
|
316
|
-
|
|
316
|
+
p(e.$slots, "header-down")
|
|
317
317
|
], 10, at)) : Re("", !0),
|
|
318
|
-
|
|
319
|
-
class:
|
|
320
|
-
[`${s(
|
|
318
|
+
_e("div", {
|
|
319
|
+
class: L({
|
|
320
|
+
[`${s(_)}-wrapper`]: !0,
|
|
321
321
|
"pt-(--tt-base-padding)!": !0,
|
|
322
|
-
"pb-(--tt-base-padding)!": !s(
|
|
322
|
+
"pb-(--tt-base-padding)!": !s(d).showPager
|
|
323
323
|
})
|
|
324
324
|
}, [
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
data: s(
|
|
325
|
+
p(e.$slots, "table-top"),
|
|
326
|
+
$(Qe, ee(s(d), {
|
|
327
|
+
data: s(fe),
|
|
328
328
|
"table-row-id": e.tableRowId,
|
|
329
|
-
"table-id":
|
|
329
|
+
"table-id": v.value,
|
|
330
330
|
"form-api": s(r),
|
|
331
331
|
"table-api": s(t).tableApi
|
|
332
|
-
}, Be(Te)),
|
|
333
|
-
X(s(ue)(s(
|
|
332
|
+
}, Be(Te)), K({ _: 2 }, [
|
|
333
|
+
X(s(ue)(s(R)), (a) => ({
|
|
334
334
|
name: s(ce)(a),
|
|
335
|
-
fn:
|
|
336
|
-
|
|
335
|
+
fn: C((l) => [
|
|
336
|
+
p(e.$slots, a, Y(Z(l || {})))
|
|
337
337
|
])
|
|
338
338
|
})),
|
|
339
|
-
s(
|
|
339
|
+
s(d).showToolbar ? {
|
|
340
340
|
name: "toolbar_tools",
|
|
341
|
-
fn:
|
|
342
|
-
|
|
341
|
+
fn: C(() => [
|
|
342
|
+
$(Je, ee(s(be), {
|
|
343
343
|
onOnRefresh: Fe,
|
|
344
|
-
onOnExport:
|
|
345
|
-
onOnColumnsSetting:
|
|
344
|
+
onOnExport: H,
|
|
345
|
+
onOnColumnsSetting: N
|
|
346
346
|
}), {
|
|
347
|
-
"toolbar-left":
|
|
348
|
-
|
|
347
|
+
"toolbar-left": C(() => [
|
|
348
|
+
p(e.$slots, "t-toolbar_tools-left")
|
|
349
349
|
]),
|
|
350
|
-
"toolbar-right":
|
|
351
|
-
|
|
350
|
+
"toolbar-right": C(() => [
|
|
351
|
+
p(e.$slots, "t-toolbar_tools-right")
|
|
352
352
|
]),
|
|
353
353
|
_: 3
|
|
354
354
|
}, 16),
|
|
355
|
-
|
|
355
|
+
p(e.$slots, "t-toolbar_tools")
|
|
356
356
|
]),
|
|
357
357
|
key: "0"
|
|
358
358
|
} : void 0
|
|
359
359
|
]), 1040, ["data", "table-row-id", "table-id", "form-api", "table-api"]),
|
|
360
|
-
|
|
360
|
+
p(e.$slots, "table-bottom")
|
|
361
361
|
], 2),
|
|
362
|
-
|
|
362
|
+
$(qe, {
|
|
363
363
|
ref_key: "tableColumnModalRef",
|
|
364
|
-
ref:
|
|
365
|
-
"open-export":
|
|
366
|
-
"open-column":
|
|
364
|
+
ref: y,
|
|
365
|
+
"open-export": H,
|
|
366
|
+
"open-column": N,
|
|
367
367
|
onOnSubmit: Pe
|
|
368
|
-
},
|
|
368
|
+
}, K({
|
|
369
|
+
beforeFooter: C(() => [
|
|
370
|
+
p(e.$slots, "t-column-modal-before-footer")
|
|
371
|
+
]),
|
|
372
|
+
_: 2
|
|
373
|
+
}, [
|
|
374
|
+
s(R)["t-column-modal-title"] ? {
|
|
375
|
+
name: "title",
|
|
376
|
+
fn: C(() => [
|
|
377
|
+
p(e.$slots, "t-column-modal-title")
|
|
378
|
+
]),
|
|
379
|
+
key: "0"
|
|
380
|
+
} : void 0
|
|
381
|
+
]), 1536)
|
|
369
382
|
], 10, st));
|
|
370
383
|
}
|
|
371
384
|
});
|
|
@@ -13,7 +13,19 @@ type __VLS_Props = {
|
|
|
13
13
|
};
|
|
14
14
|
/** @param params - 列数据、默认展示字段、禁用字段 */
|
|
15
15
|
declare function openModal({ columns, displayFields, disabledColumnField, isExport }: OpenModalParams): void;
|
|
16
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
title?(_: {}): any;
|
|
20
|
+
beforeFooter?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {
|
|
23
|
+
contentRef: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
rootEl: any;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
17
29
|
handleSubmit: () => void;
|
|
18
30
|
openModal: typeof openModal;
|
|
19
31
|
setModalProps(modalProps: ModalRenderState): void;
|
|
@@ -34,4 +46,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
34
46
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
47
|
contentRef: HTMLDivElement;
|
|
36
48
|
}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
50
|
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|