@dazhicheng/ui 1.6.48 → 1.6.49
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-custom-export-modal/src/TtCustomExportModal.vue.js +10 -10
- package/dist/components/tt-custom-export-modal/src/api.d.ts +12 -12
- package/dist/components/tt-custom-export-modal/src/api.js +23 -29
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.d.ts +2 -2
- package/dist/components/tt-custom-export-modal/src/components/FieldToolbarSection.vue.d.ts +1 -1
- package/dist/components/tt-custom-export-modal/src/types/report.d.ts +8 -19
- package/dist/components/tt-drawer/index.d.ts +3 -3
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +1 -1
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +2 -2
- package/dist/components/tt-modal/index.d.ts +32 -32
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +22 -22
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +2 -2
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +5 -5
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelRight.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/index.vue.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +17 -8
- package/dist/components/tt-table/src/Table.vue.d.ts +12 -6
- package/dist/components/tt-table/src/TableForm.vue.d.ts +9 -9
- package/dist/components/tt-table/src/TableForm.vue.js +68 -68
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +4 -4
- package/dist/components/tt-table/src/props.d.ts +7 -4
- package/dist/components/tt-table/src/props.js +4 -4
- package/dist/components/tt-table/src/types/table.d.ts +6 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +0 -6
- package/dist/components/tt-upload/index.d.ts +11 -11
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, ref as c, computed as S, toValue as le, onBeforeUnmount as ae, createBlock as oe, openBlock as
|
|
1
|
+
import { defineComponent as te, ref as c, computed as S, toValue as le, onBeforeUnmount as ae, createBlock as oe, openBlock as k, unref as q, withCtx as R, withDirectives as se, createElementBlock as ie, createVNode as F, createElementVNode as N, toDisplayString as $ } from "vue";
|
|
2
2
|
import "axios";
|
|
3
3
|
import { vLoading as ne, ElMessage as h, ElMessageBox as de } from "element-plus";
|
|
4
4
|
import { isString as re } from "../../../packages/utils/src/is.js";
|
|
@@ -14,7 +14,7 @@ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-
|
|
|
14
14
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
15
|
import "lodash-es";
|
|
16
16
|
import "../../tt-modal/index.js";
|
|
17
|
-
import {
|
|
17
|
+
import { setDefaultTemplatesExportApi as ce, deleteTemplatesExportApi as fe, saveTemplatesExportApi as ve, listTemplatesExportApi as pe, fieldsTemplatesExportApi as me } from "./api.js";
|
|
18
18
|
import Ce from "./components/FieldGridSection.vue.js";
|
|
19
19
|
import Se from "./components/FieldToolbarSection.vue.js";
|
|
20
20
|
import he from "./components/TemplateManagerSection.vue.js";
|
|
@@ -133,7 +133,7 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
133
133
|
s.value.forEach((e) => {
|
|
134
134
|
(e.requiredSelected || e.defaultSelected) && e.fieldCode && t.add(e.fieldCode);
|
|
135
135
|
}), n.value = t;
|
|
136
|
-
},
|
|
136
|
+
}, D = (t) => {
|
|
137
137
|
if (f.value = t, !t) {
|
|
138
138
|
T("templateChange", void 0);
|
|
139
139
|
return;
|
|
@@ -199,7 +199,7 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
199
199
|
};
|
|
200
200
|
if (i.saveTemplateApi ? await i.saveTemplateApi(a) : await ve(a), e !== o || (h.success(`模板「${t}」保存成功`), await x(e), e !== o)) return;
|
|
201
201
|
const C = u.value.find((r) => r.templateName === t);
|
|
202
|
-
C &&
|
|
202
|
+
C && D(C.id);
|
|
203
203
|
} catch {
|
|
204
204
|
} finally {
|
|
205
205
|
e === o && (w.value = !1);
|
|
@@ -241,7 +241,7 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
241
241
|
templateName: a == null ? void 0 : a.templateName,
|
|
242
242
|
templateId: a == null ? void 0 : a.id
|
|
243
243
|
};
|
|
244
|
-
T("export", C),
|
|
244
|
+
T("export", C), L();
|
|
245
245
|
}, Z = async (t) => {
|
|
246
246
|
const e = Symbol();
|
|
247
247
|
o = e, g.value = t || {}, f.value = void 0, y.value = "", w.value = !1, b.openModal(), p.value = !0;
|
|
@@ -256,7 +256,7 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
256
256
|
} finally {
|
|
257
257
|
e === o && (p.value = !1);
|
|
258
258
|
}
|
|
259
|
-
},
|
|
259
|
+
}, L = () => {
|
|
260
260
|
b.closeModal();
|
|
261
261
|
};
|
|
262
262
|
return ae(() => {
|
|
@@ -265,8 +265,8 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
265
265
|
/** 打开弹框并加载字段和模板;可传入本次打开的配置。 */
|
|
266
266
|
open: Z,
|
|
267
267
|
/** 关闭弹框;下次打开时重新初始化。 */
|
|
268
|
-
close:
|
|
269
|
-
}), (t, e) => (
|
|
268
|
+
close: L
|
|
269
|
+
}), (t, e) => (k(), oe(q(P), {
|
|
270
270
|
"ok-text": `确认导出(${v.value.length} 字段)`,
|
|
271
271
|
"cancel-text": "取消",
|
|
272
272
|
"ok-button-props": { disabled: p.value || v.value.length === 0 },
|
|
@@ -279,13 +279,13 @@ const we = { class: "flex flex-col gap-1 text-left" }, ye = { class: "text-lg fo
|
|
|
279
279
|
])
|
|
280
280
|
]),
|
|
281
281
|
default: R(() => [
|
|
282
|
-
se((
|
|
282
|
+
se((k(), ie("div", Te, [
|
|
283
283
|
F(he, {
|
|
284
284
|
"selected-template-id": f.value,
|
|
285
285
|
"onUpdate:selectedTemplateId": e[0] || (e[0] = (l) => f.value = l),
|
|
286
286
|
"template-list": u.value,
|
|
287
287
|
"is-saving": w.value,
|
|
288
|
-
onSelectTemplate:
|
|
288
|
+
onSelectTemplate: D,
|
|
289
289
|
onSetDefault: j,
|
|
290
290
|
onDelete: z,
|
|
291
291
|
onSave: H
|
|
@@ -8,11 +8,11 @@ import { ReportAPI } from './types';
|
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* 查询当前用户在指定业务下的模板列表。
|
|
11
|
-
* @param
|
|
11
|
+
* @param body businessCode 为业务编码;列表接口不需要 templateId。
|
|
12
12
|
* @param options TtHttp 扩展请求配置,原样传给请求层。
|
|
13
13
|
* @returns 默认返回已解包的模板数组,包含默认标记和模板字段明细。
|
|
14
14
|
*/
|
|
15
|
-
export declare function
|
|
15
|
+
export declare function listTemplatesExportApi(body: ReportAPI.BusinessCodeCmd, options?: ExtendedAxiosRequestConfig): Promise<ReportAPI.ExportTemplateCO[]>;
|
|
16
16
|
/**
|
|
17
17
|
* 保存模板,同名覆盖由服务端处理。
|
|
18
18
|
* @param body 业务编码、模板名称及字段明细;fields 中的 sortNo 已由弹框按当前顺序生成。
|
|
@@ -22,36 +22,36 @@ export declare function templatesExportApi(params: ReportAPI.templatesExportApiP
|
|
|
22
22
|
export declare function saveTemplatesExportApi(body: ReportAPI.ExportTemplateSaveCmd, options?: ExtendedAxiosRequestConfig): Promise<ReportAPI.ExportTemplateCO>;
|
|
23
23
|
/**
|
|
24
24
|
* 查询指定模板详情;保留原接口,当前弹框直接使用列表中的字段明细。
|
|
25
|
-
* @param
|
|
25
|
+
* @param body 业务编码和模板 ID。
|
|
26
26
|
* @param options TtHttp 扩展请求配置。
|
|
27
27
|
* @returns 默认返回已解包的单个模板。
|
|
28
28
|
*/
|
|
29
|
-
export declare function detailTemplatesExportApi(
|
|
29
|
+
export declare function detailTemplatesExportApi(body: ReportAPI.TemplateIdCmd, options?: ExtendedAxiosRequestConfig): Promise<ReportAPI.ExportTemplateCO>;
|
|
30
30
|
/**
|
|
31
31
|
* 删除指定模板;用户确认在弹框组件中完成,本函数只执行请求。
|
|
32
|
-
* @param
|
|
32
|
+
* @param body 业务编码和待删除模板 ID。
|
|
33
33
|
* @param options TtHttp 扩展请求配置。
|
|
34
34
|
* @returns 删除请求结果;弹框不依赖响应字段,成功后重新查询列表。
|
|
35
35
|
*/
|
|
36
|
-
export declare function deleteTemplatesExportApi(
|
|
36
|
+
export declare function deleteTemplatesExportApi(body: ReportAPI.TemplateIdCmd, options?: ExtendedAxiosRequestConfig): Promise<any>;
|
|
37
37
|
/**
|
|
38
38
|
* 将指定模板设为当前业务的默认模板。
|
|
39
|
-
* @param
|
|
39
|
+
* @param body 业务编码和目标模板 ID。
|
|
40
40
|
* @param options TtHttp 扩展请求配置。
|
|
41
41
|
* @returns 设置请求结果;最新默认标记由后续列表查询取得。
|
|
42
42
|
*/
|
|
43
|
-
export declare function
|
|
43
|
+
export declare function setDefaultTemplatesExportApi(body: ReportAPI.TemplateIdCmd, options?: ExtendedAxiosRequestConfig): Promise<any>;
|
|
44
44
|
/**
|
|
45
45
|
* 单独查询业务的默认模板;当前弹框从列表的 defaultTemplate 标记中查找,不调用此方法。
|
|
46
|
-
* @param
|
|
46
|
+
* @param body businessCode 为业务编码,不需要传模板 ID。
|
|
47
47
|
* @param options TtHttp 扩展请求配置。
|
|
48
48
|
* @returns 默认返回已解包的默认模板。
|
|
49
49
|
*/
|
|
50
|
-
export declare function defaultTemplateTemplatesExportApi(
|
|
50
|
+
export declare function defaultTemplateTemplatesExportApi(body: ReportAPI.BusinessCodeCmd, options?: ExtendedAxiosRequestConfig): Promise<ReportAPI.ExportTemplateCO>;
|
|
51
51
|
/**
|
|
52
52
|
* 查询字段元数据,提供编码、名称、必选/默认勾选标记等信息。
|
|
53
|
-
* @param
|
|
53
|
+
* @param body 业务编码和可选 keyword;弹框当前使用本地搜索,不传 keyword。
|
|
54
54
|
* @param options TtHttp 扩展请求配置。
|
|
55
55
|
* @returns 默认返回已解包的字段数组,作为左侧列表及导出字段查找的数据源。
|
|
56
56
|
*/
|
|
57
|
-
export declare function fieldsTemplatesExportApi(
|
|
57
|
+
export declare function fieldsTemplatesExportApi(body: ReportAPI.FieldsCmd, options?: ExtendedAxiosRequestConfig): Promise<ReportAPI.ExportFieldCO[]>;
|
|
@@ -1,44 +1,38 @@
|
|
|
1
|
-
import { request as
|
|
2
|
-
async function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
params: { ...t }
|
|
1
|
+
import { request as e } from "../../../utils/xhr.js";
|
|
2
|
+
async function o(t, p) {
|
|
3
|
+
return e.post({
|
|
4
|
+
url: "/report/api/export/templates/list",
|
|
5
|
+
data: t
|
|
7
6
|
});
|
|
8
7
|
}
|
|
9
|
-
async function a(t,
|
|
10
|
-
return
|
|
8
|
+
async function a(t, p) {
|
|
9
|
+
return e.post({
|
|
11
10
|
url: "/report/api/export/templates/save",
|
|
12
11
|
data: t
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
async function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
params: { ...t }
|
|
14
|
+
async function s(t, p) {
|
|
15
|
+
return e.post({
|
|
16
|
+
url: "/report/api/export/templates/delete",
|
|
17
|
+
data: t
|
|
20
18
|
});
|
|
21
19
|
}
|
|
22
|
-
async function
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
params: { ...t }
|
|
20
|
+
async function i(t, p) {
|
|
21
|
+
return e.post({
|
|
22
|
+
url: "/report/api/export/templates/setDefault",
|
|
23
|
+
data: t
|
|
27
24
|
});
|
|
28
25
|
}
|
|
29
|
-
async function
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
params: {
|
|
34
|
-
...t
|
|
35
|
-
}
|
|
26
|
+
async function n(t, p) {
|
|
27
|
+
return e.post({
|
|
28
|
+
url: "/report/api/export/templates/fields",
|
|
29
|
+
data: t
|
|
36
30
|
});
|
|
37
31
|
}
|
|
38
32
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
s as deleteTemplatesExportApi,
|
|
34
|
+
n as fieldsTemplatesExportApi,
|
|
35
|
+
o as listTemplatesExportApi,
|
|
42
36
|
a as saveTemplatesExportApi,
|
|
43
|
-
|
|
37
|
+
i as setDefaultTemplatesExportApi
|
|
44
38
|
};
|
|
@@ -129,7 +129,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
129
129
|
scrollLeft: number;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
132
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "
|
|
132
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "update" | "setScrollTop" | "setScrollLeft"> & {
|
|
133
133
|
wrapRef: HTMLDivElement | undefined;
|
|
134
134
|
update: () => void;
|
|
135
135
|
scrollTo: {
|
|
@@ -256,7 +256,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
256
256
|
scrollLeft: number;
|
|
257
257
|
}) => any) | undefined;
|
|
258
258
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
259
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "
|
|
259
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "update" | "setScrollTop" | "setScrollLeft"> & {
|
|
260
260
|
wrapRef: HTMLDivElement | undefined;
|
|
261
261
|
update: () => void;
|
|
262
262
|
scrollTo: {
|
|
@@ -18,9 +18,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
18
18
|
selectByListColumns: () => any;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
onClearAll?: (() => any) | undefined;
|
|
21
|
-
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
22
21
|
onToggleSelectAll?: (() => any) | undefined;
|
|
23
22
|
onSelectByListColumns?: (() => any) | undefined;
|
|
23
|
+
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
isAllSelected: boolean;
|
|
26
26
|
hasListColumns: boolean;
|
|
@@ -84,17 +84,6 @@ export declare namespace ReportAPI {
|
|
|
84
84
|
/** 格式化规则 */
|
|
85
85
|
formatPattern?: string;
|
|
86
86
|
};
|
|
87
|
-
type fieldsTemplatesExportApiParams = {
|
|
88
|
-
businessCode: string;
|
|
89
|
-
keyword?: string;
|
|
90
|
-
};
|
|
91
|
-
type templatesExportApiParams = {
|
|
92
|
-
businessCode: string;
|
|
93
|
-
};
|
|
94
|
-
type defaultTemplatesExportApiParams = {
|
|
95
|
-
businessCode: string;
|
|
96
|
-
templateId: number;
|
|
97
|
-
};
|
|
98
87
|
type ResponseResultExportTemplateCO = {
|
|
99
88
|
code?: number;
|
|
100
89
|
msg?: string;
|
|
@@ -115,15 +104,15 @@ export declare namespace ReportAPI {
|
|
|
115
104
|
msg?: string;
|
|
116
105
|
data?: any;
|
|
117
106
|
};
|
|
118
|
-
type
|
|
119
|
-
businessCode
|
|
120
|
-
templateId: number;
|
|
107
|
+
type BusinessCodeCmd = {
|
|
108
|
+
businessCode?: string;
|
|
121
109
|
};
|
|
122
|
-
type
|
|
123
|
-
businessCode
|
|
124
|
-
|
|
110
|
+
type FieldsCmd = {
|
|
111
|
+
businessCode?: string;
|
|
112
|
+
keyword?: string;
|
|
125
113
|
};
|
|
126
|
-
type
|
|
127
|
-
businessCode
|
|
114
|
+
type TemplateIdCmd = {
|
|
115
|
+
businessCode?: string;
|
|
116
|
+
templateId?: number;
|
|
128
117
|
};
|
|
129
118
|
}
|
|
@@ -497,7 +497,6 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
497
497
|
direction: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
498
498
|
overflow: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
499
499
|
testId: any;
|
|
500
|
-
modal: boolean;
|
|
501
500
|
cancelText: any;
|
|
502
501
|
okText: any;
|
|
503
502
|
showCancelBtn: any;
|
|
@@ -505,6 +504,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
505
504
|
confirmLoading: any;
|
|
506
505
|
okButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
507
506
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
507
|
+
modal: boolean;
|
|
508
508
|
appendToBody: boolean;
|
|
509
509
|
destroyOnClose: boolean;
|
|
510
510
|
closeOnClickModal: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1213,7 +1213,6 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1213
1213
|
direction: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1214
1214
|
overflow: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1215
1215
|
testId: any;
|
|
1216
|
-
modal: boolean;
|
|
1217
1216
|
cancelText: any;
|
|
1218
1217
|
okText: any;
|
|
1219
1218
|
showCancelBtn: any;
|
|
@@ -1221,6 +1220,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1221
1220
|
confirmLoading: any;
|
|
1222
1221
|
okButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1223
1222
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1223
|
+
modal: boolean;
|
|
1224
1224
|
appendToBody: boolean;
|
|
1225
1225
|
destroyOnClose: boolean;
|
|
1226
1226
|
closeOnClickModal: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1746,7 +1746,6 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1746
1746
|
direction: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1747
1747
|
overflow: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1748
1748
|
testId: any;
|
|
1749
|
-
modal: boolean;
|
|
1750
1749
|
cancelText: any;
|
|
1751
1750
|
okText: any;
|
|
1752
1751
|
showCancelBtn: any;
|
|
@@ -1754,6 +1753,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1754
1753
|
confirmLoading: any;
|
|
1755
1754
|
okButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1756
1755
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1756
|
+
modal: boolean;
|
|
1757
1757
|
appendToBody: boolean;
|
|
1758
1758
|
destroyOnClose: boolean;
|
|
1759
1759
|
closeOnClickModal: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -804,7 +804,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
804
804
|
direction: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
805
805
|
overflow: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
806
806
|
testId: any;
|
|
807
|
-
modal: boolean;
|
|
808
807
|
cancelText: any;
|
|
809
808
|
okText: any;
|
|
810
809
|
showCancelBtn: any;
|
|
@@ -812,6 +811,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
812
811
|
confirmLoading: any;
|
|
813
812
|
okButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
814
813
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
814
|
+
modal: boolean;
|
|
815
815
|
appendToBody: boolean;
|
|
816
816
|
destroyOnClose: boolean;
|
|
817
817
|
closeOnClickModal: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -4,24 +4,24 @@ import { FieldEntry } from '../../types/forms';
|
|
|
4
4
|
export declare const FormArrayRegister: import('vue').DefineComponent<{
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
6
|
hide?: boolean | undefined;
|
|
7
|
+
fieldName: string;
|
|
7
8
|
rules?: import('../../types').FormSchemaRuleType | undefined;
|
|
8
9
|
defaultValue?: any;
|
|
9
10
|
wrapperClass?: string | undefined;
|
|
10
11
|
arraySchema?: FormSchema<Record<string, any>>[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema<Record<string, any>>[]) | undefined;
|
|
11
12
|
dependencies?: import('./types').ArrayRegisterDependencies<Record<string, any>> | undefined;
|
|
12
|
-
fieldName: string;
|
|
13
13
|
formItemClass?: (() => string) | string | undefined;
|
|
14
14
|
virtual?: boolean | undefined;
|
|
15
15
|
progressive?: boolean | undefined;
|
|
16
16
|
}, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
hide?: boolean | undefined;
|
|
19
|
+
fieldName: string;
|
|
19
20
|
rules?: import('../../types').FormSchemaRuleType | undefined;
|
|
20
21
|
defaultValue?: any;
|
|
21
22
|
wrapperClass?: string | undefined;
|
|
22
23
|
arraySchema?: FormSchema<Record<string, any>>[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema<Record<string, any>>[]) | undefined;
|
|
23
24
|
dependencies?: import('./types').ArrayRegisterDependencies<Record<string, any>> | undefined;
|
|
24
|
-
fieldName: string;
|
|
25
25
|
formItemClass?: (() => string) | string | undefined;
|
|
26
26
|
virtual?: boolean | undefined;
|
|
27
27
|
progressive?: boolean | undefined;
|