next-element-vue 0.8.7 → 0.8.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.
- package/dist/index.css +5 -5
- package/dist/index.js +3 -3
- package/dist/packages/components/crud-table/index.d.ts +156 -1
- package/dist/packages/components/crud-table/src/config.d.ts +55 -3
- package/dist/packages/components/crud-table/src/hook.d.ts +7 -1
- package/dist/packages/components/crud-table/src/index.d.ts +3 -1
- package/dist/packages/components/crud-table/src/widgets/detail-view.d.ts +155 -0
- package/dist/packages/components/form/src/config.d.ts +2 -0
- package/dist/packages/components/form/src/widgets/input-table-select.d.ts +2 -2
- package/dist/packages/hooks/global-config.d.ts +1 -0
- package/package.json +1 -1
|
@@ -45,6 +45,159 @@ export declare const NextCrudTableSearch: import("../../utils/install").SFCWithI
|
|
|
45
45
|
searchParams: Record<string, any>;
|
|
46
46
|
standalone: boolean;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
48
|
+
export declare const NextDetailView: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
49
|
+
formDatum: {
|
|
50
|
+
type: ObjectConstructor;
|
|
51
|
+
default: () => {};
|
|
52
|
+
};
|
|
53
|
+
columns: {
|
|
54
|
+
type: ArrayConstructor;
|
|
55
|
+
default: () => any[];
|
|
56
|
+
};
|
|
57
|
+
options: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
default: () => {
|
|
60
|
+
initLoadData: boolean;
|
|
61
|
+
defaultContentHeight: number;
|
|
62
|
+
fullscreenchangeContentHeight: boolean;
|
|
63
|
+
rowKey: string;
|
|
64
|
+
size: string;
|
|
65
|
+
fit: boolean;
|
|
66
|
+
stripe: boolean;
|
|
67
|
+
border: boolean;
|
|
68
|
+
index: boolean;
|
|
69
|
+
selection: boolean;
|
|
70
|
+
headerAlign: string;
|
|
71
|
+
cellAlign: string;
|
|
72
|
+
columnMinWidth: string;
|
|
73
|
+
columns: import("./src/config").TableColumnProps | unknown;
|
|
74
|
+
showSearchForm: boolean;
|
|
75
|
+
showHeaderMenu: boolean;
|
|
76
|
+
showSearchLabel: boolean;
|
|
77
|
+
searchSpan: number;
|
|
78
|
+
searchGutter: number;
|
|
79
|
+
searchLabelWidth: string;
|
|
80
|
+
searchColumnMinWidth: number;
|
|
81
|
+
searchColumns: import("./src/config").SearchColumnProps | unknown;
|
|
82
|
+
addBtn: boolean;
|
|
83
|
+
viewBtn: boolean;
|
|
84
|
+
delBtn: boolean;
|
|
85
|
+
editBtn: boolean;
|
|
86
|
+
batchDelBtn: boolean;
|
|
87
|
+
refreshBtn: boolean;
|
|
88
|
+
settingBtn: boolean;
|
|
89
|
+
operations: boolean;
|
|
90
|
+
operationsWidth: number;
|
|
91
|
+
operationsHeaderAlign: string;
|
|
92
|
+
operationsColumnAlign: string;
|
|
93
|
+
operationsBtnPlain: boolean;
|
|
94
|
+
operationsBtnText: boolean;
|
|
95
|
+
operationsBtnSize: string;
|
|
96
|
+
addBtnText: string;
|
|
97
|
+
isPagination: boolean;
|
|
98
|
+
pageinationAlign: string;
|
|
99
|
+
dialogTitle: string;
|
|
100
|
+
dialogWidth: string;
|
|
101
|
+
dialogFullscreen: boolean;
|
|
102
|
+
dialogFullscreenBtn: boolean;
|
|
103
|
+
dialogDraggable: boolean;
|
|
104
|
+
dialogFormParamsDefault: {};
|
|
105
|
+
dialogCloseOnClickModal: boolean;
|
|
106
|
+
formColumns: import("./src/config").FormColunmProps | unknown;
|
|
107
|
+
formLabelWidth: string;
|
|
108
|
+
formSpan: number;
|
|
109
|
+
formSpanFixed: any;
|
|
110
|
+
formColumnMinWidth: number;
|
|
111
|
+
loadFormDetail: any;
|
|
112
|
+
viewActionMode: import("./src/config").ViewActionMode;
|
|
113
|
+
viewColumns: import("./src/config").ViewColumnProps | unknown;
|
|
114
|
+
viewDialogWidth: string;
|
|
115
|
+
viewDialogFullscreen: boolean;
|
|
116
|
+
viewDialogFullscreenBtn: boolean;
|
|
117
|
+
viewDialogDraggable: boolean;
|
|
118
|
+
viewDialogTop: any;
|
|
119
|
+
viewDialogCloseOnClickModal: boolean;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
+
formDatum: {
|
|
124
|
+
type: ObjectConstructor;
|
|
125
|
+
default: () => {};
|
|
126
|
+
};
|
|
127
|
+
columns: {
|
|
128
|
+
type: ArrayConstructor;
|
|
129
|
+
default: () => any[];
|
|
130
|
+
};
|
|
131
|
+
options: {
|
|
132
|
+
type: ObjectConstructor;
|
|
133
|
+
default: () => {
|
|
134
|
+
initLoadData: boolean;
|
|
135
|
+
defaultContentHeight: number;
|
|
136
|
+
fullscreenchangeContentHeight: boolean;
|
|
137
|
+
rowKey: string;
|
|
138
|
+
size: string;
|
|
139
|
+
fit: boolean;
|
|
140
|
+
stripe: boolean;
|
|
141
|
+
border: boolean;
|
|
142
|
+
index: boolean;
|
|
143
|
+
selection: boolean;
|
|
144
|
+
headerAlign: string;
|
|
145
|
+
cellAlign: string;
|
|
146
|
+
columnMinWidth: string;
|
|
147
|
+
columns: import("./src/config").TableColumnProps | unknown;
|
|
148
|
+
showSearchForm: boolean;
|
|
149
|
+
showHeaderMenu: boolean;
|
|
150
|
+
showSearchLabel: boolean;
|
|
151
|
+
searchSpan: number;
|
|
152
|
+
searchGutter: number;
|
|
153
|
+
searchLabelWidth: string;
|
|
154
|
+
searchColumnMinWidth: number;
|
|
155
|
+
searchColumns: import("./src/config").SearchColumnProps | unknown;
|
|
156
|
+
addBtn: boolean;
|
|
157
|
+
viewBtn: boolean;
|
|
158
|
+
delBtn: boolean;
|
|
159
|
+
editBtn: boolean;
|
|
160
|
+
batchDelBtn: boolean;
|
|
161
|
+
refreshBtn: boolean;
|
|
162
|
+
settingBtn: boolean;
|
|
163
|
+
operations: boolean;
|
|
164
|
+
operationsWidth: number;
|
|
165
|
+
operationsHeaderAlign: string;
|
|
166
|
+
operationsColumnAlign: string;
|
|
167
|
+
operationsBtnPlain: boolean;
|
|
168
|
+
operationsBtnText: boolean;
|
|
169
|
+
operationsBtnSize: string;
|
|
170
|
+
addBtnText: string;
|
|
171
|
+
isPagination: boolean;
|
|
172
|
+
pageinationAlign: string;
|
|
173
|
+
dialogTitle: string;
|
|
174
|
+
dialogWidth: string;
|
|
175
|
+
dialogFullscreen: boolean;
|
|
176
|
+
dialogFullscreenBtn: boolean;
|
|
177
|
+
dialogDraggable: boolean;
|
|
178
|
+
dialogFormParamsDefault: {};
|
|
179
|
+
dialogCloseOnClickModal: boolean;
|
|
180
|
+
formColumns: import("./src/config").FormColunmProps | unknown;
|
|
181
|
+
formLabelWidth: string;
|
|
182
|
+
formSpan: number;
|
|
183
|
+
formSpanFixed: any;
|
|
184
|
+
formColumnMinWidth: number;
|
|
185
|
+
loadFormDetail: any;
|
|
186
|
+
viewActionMode: import("./src/config").ViewActionMode;
|
|
187
|
+
viewColumns: import("./src/config").ViewColumnProps | unknown;
|
|
188
|
+
viewDialogWidth: string;
|
|
189
|
+
viewDialogFullscreen: boolean;
|
|
190
|
+
viewDialogFullscreenBtn: boolean;
|
|
191
|
+
viewDialogDraggable: boolean;
|
|
192
|
+
viewDialogTop: any;
|
|
193
|
+
viewDialogCloseOnClickModal: boolean;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}>> & Readonly<{}>, {
|
|
197
|
+
options: Record<string, any>;
|
|
198
|
+
columns: unknown[];
|
|
199
|
+
formDatum: Record<string, any>;
|
|
200
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
48
201
|
export declare const NextCrudTable: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
49
202
|
className: {
|
|
50
203
|
type: StringConstructor;
|
|
@@ -110,7 +263,7 @@ export declare const NextCrudTable: import("../../utils/install").SFCWithInstall
|
|
|
110
263
|
type: FunctionConstructor;
|
|
111
264
|
default: any;
|
|
112
265
|
};
|
|
113
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
266
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
267
|
className: {
|
|
115
268
|
type: StringConstructor;
|
|
116
269
|
default: string;
|
|
@@ -193,7 +346,9 @@ export declare const NextCrudTable: import("../../utils/install").SFCWithInstall
|
|
|
193
346
|
onCellMouseLeave?: (...args: any[]) => any;
|
|
194
347
|
onClickAddEdit?: (...args: any[]) => any;
|
|
195
348
|
onCloseAddEdit?: (...args: any[]) => any;
|
|
349
|
+
onCloseView?: (...args: any[]) => any;
|
|
196
350
|
onViewAddEdit?: (...args: any[]) => any;
|
|
351
|
+
onViewDescriptions?: (...args: any[]) => any;
|
|
197
352
|
onSubmitForm?: (...args: any[]) => any;
|
|
198
353
|
}>, {
|
|
199
354
|
loading: boolean;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface DictData {
|
|
2
2
|
readonly value: string | number;
|
|
3
3
|
readonly label: string;
|
|
4
4
|
}
|
|
5
|
-
export declare
|
|
5
|
+
export declare const VIEW_ACTION_MODES: {
|
|
6
|
+
/** 查看详情 */
|
|
7
|
+
readonly VIEW: "view";
|
|
8
|
+
/** 表单方式详情 */
|
|
9
|
+
readonly FORM: "form";
|
|
10
|
+
};
|
|
11
|
+
export type ViewActionMode = (typeof VIEW_ACTION_MODES)[keyof typeof VIEW_ACTION_MODES];
|
|
12
|
+
export interface Column {
|
|
6
13
|
readonly prop: string;
|
|
7
14
|
label: string;
|
|
8
15
|
type?: string;
|
|
@@ -11,6 +18,7 @@ export declare interface Column {
|
|
|
11
18
|
rangeSeparator?: string;
|
|
12
19
|
startPlaceholder?: string;
|
|
13
20
|
endPlaceholder?: string;
|
|
21
|
+
tip?: string;
|
|
14
22
|
dicKey?: string;
|
|
15
23
|
dicLabel?: string;
|
|
16
24
|
treeSelectProps?: {
|
|
@@ -20,6 +28,7 @@ export declare interface Column {
|
|
|
20
28
|
};
|
|
21
29
|
dicData?: DictData[];
|
|
22
30
|
loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
|
|
31
|
+
dicLabelProp?: string;
|
|
23
32
|
disabled?: boolean;
|
|
24
33
|
readonly?: boolean;
|
|
25
34
|
defaultValue?: any;
|
|
@@ -30,6 +39,8 @@ export declare interface Column {
|
|
|
30
39
|
prepend?: (...args: any[]) => string;
|
|
31
40
|
append?: (...args: any[]) => string;
|
|
32
41
|
sort?: number;
|
|
42
|
+
useFormSort?: boolean;
|
|
43
|
+
useColumnSort?: boolean;
|
|
33
44
|
required?: boolean;
|
|
34
45
|
hide?: boolean;
|
|
35
46
|
span?: number;
|
|
@@ -114,6 +125,7 @@ export interface FormColunmProps extends Column {
|
|
|
114
125
|
formDisabled?: string;
|
|
115
126
|
formEditDisabled?: boolean;
|
|
116
127
|
formClearable?: boolean;
|
|
128
|
+
formClosable?: boolean;
|
|
117
129
|
formReadonly?: boolean;
|
|
118
130
|
formRequired?: boolean;
|
|
119
131
|
formHide?: boolean;
|
|
@@ -172,7 +184,38 @@ export interface FormColunmProps extends Column {
|
|
|
172
184
|
treeSelecNodeCollapseForm?: (...args: any[]) => void;
|
|
173
185
|
treeSelecCurrentChangeForm?: (...args: any[]) => void;
|
|
174
186
|
}
|
|
175
|
-
export interface
|
|
187
|
+
export interface ViewColumnProps extends Column {
|
|
188
|
+
formHide?: boolean;
|
|
189
|
+
viewSort?: number;
|
|
190
|
+
viewHide?: boolean;
|
|
191
|
+
viewDisabled?: boolean;
|
|
192
|
+
viewDicKey?: string;
|
|
193
|
+
viewDicLabel?: string;
|
|
194
|
+
viewDicData?: DictData[];
|
|
195
|
+
viewTreeSelectProps?: {
|
|
196
|
+
value?: string;
|
|
197
|
+
label?: string;
|
|
198
|
+
separator?: string;
|
|
199
|
+
};
|
|
200
|
+
viewSpan?: number;
|
|
201
|
+
viewRowspan?: number;
|
|
202
|
+
viewLabel?: string;
|
|
203
|
+
viewLabelWidth?: string | number;
|
|
204
|
+
viewTip?: string;
|
|
205
|
+
viewAlign?: 'left' | 'right' | 'center';
|
|
206
|
+
viewLabelAlign?: 'left' | 'right' | 'center';
|
|
207
|
+
viewWidth?: string | number;
|
|
208
|
+
viewMinWidth?: string | number;
|
|
209
|
+
isSpacer?: boolean;
|
|
210
|
+
viewCellUnit?: string;
|
|
211
|
+
viewType?: string;
|
|
212
|
+
viewAppend?: (...args: any[]) => string;
|
|
213
|
+
viewPrepend?: (...args: any[]) => string;
|
|
214
|
+
viewRenderColumnCell?: (...args: any[]) => void;
|
|
215
|
+
useFormSort?: boolean;
|
|
216
|
+
useColumnSort?: boolean;
|
|
217
|
+
}
|
|
218
|
+
export interface TableColumnProps extends SearchColumnProps, FormColunmProps, ViewColumnProps {
|
|
176
219
|
width?: string | number;
|
|
177
220
|
minWidth?: string | number;
|
|
178
221
|
fixed?: string | boolean;
|
|
@@ -229,6 +272,7 @@ declare const _default: {
|
|
|
229
272
|
operationsBtnSize: string;
|
|
230
273
|
addBtnText: string;
|
|
231
274
|
isPagination: boolean;
|
|
275
|
+
pageinationAlign: string;
|
|
232
276
|
dialogTitle: string;
|
|
233
277
|
dialogWidth: string;
|
|
234
278
|
dialogFullscreen: boolean;
|
|
@@ -242,5 +286,13 @@ declare const _default: {
|
|
|
242
286
|
formSpanFixed: any;
|
|
243
287
|
formColumnMinWidth: number;
|
|
244
288
|
loadFormDetail: any;
|
|
289
|
+
viewActionMode: ViewActionMode;
|
|
290
|
+
viewColumns: ViewColumnProps | unknown;
|
|
291
|
+
viewDialogWidth: string;
|
|
292
|
+
viewDialogFullscreen: boolean;
|
|
293
|
+
viewDialogFullscreenBtn: boolean;
|
|
294
|
+
viewDialogDraggable: boolean;
|
|
295
|
+
viewDialogTop: any;
|
|
296
|
+
viewDialogCloseOnClickModal: boolean;
|
|
245
297
|
};
|
|
246
298
|
export default _default;
|
|
@@ -19,7 +19,13 @@ export declare const searchFormSlotName: (prop: string) => string;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const formSlotNamePrefix = "form-";
|
|
21
21
|
export declare const formSlotName: (prop: string) => string;
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* 自定义查看详情中view的slot name
|
|
24
|
+
* @param prop
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
export declare const viewSlotNamePrefix = "view-";
|
|
28
|
+
export declare const viewSlotName: (prop: string) => string;
|
|
23
29
|
export declare const getColumnProp: () => void;
|
|
24
30
|
/**
|
|
25
31
|
* 将已'-'分割的字符串转换为驼峰
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
type: FunctionConstructor;
|
|
64
64
|
default: any;
|
|
65
65
|
};
|
|
66
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
67
|
className: {
|
|
68
68
|
type: StringConstructor;
|
|
69
69
|
default: string;
|
|
@@ -146,7 +146,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
146
|
onCellMouseLeave?: (...args: any[]) => any;
|
|
147
147
|
onClickAddEdit?: (...args: any[]) => any;
|
|
148
148
|
onCloseAddEdit?: (...args: any[]) => any;
|
|
149
|
+
onCloseView?: (...args: any[]) => any;
|
|
149
150
|
onViewAddEdit?: (...args: any[]) => any;
|
|
151
|
+
onViewDescriptions?: (...args: any[]) => any;
|
|
150
152
|
onSubmitForm?: (...args: any[]) => any;
|
|
151
153
|
}>, {
|
|
152
154
|
loading: boolean;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { ViewColumnProps } from '../config';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
formDatum: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
columns: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => any[];
|
|
10
|
+
};
|
|
11
|
+
options: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
default: () => {
|
|
14
|
+
initLoadData: boolean;
|
|
15
|
+
defaultContentHeight: number;
|
|
16
|
+
fullscreenchangeContentHeight: boolean;
|
|
17
|
+
rowKey: string;
|
|
18
|
+
size: string;
|
|
19
|
+
fit: boolean;
|
|
20
|
+
stripe: boolean;
|
|
21
|
+
border: boolean;
|
|
22
|
+
index: boolean;
|
|
23
|
+
selection: boolean;
|
|
24
|
+
headerAlign: string;
|
|
25
|
+
cellAlign: string;
|
|
26
|
+
columnMinWidth: string;
|
|
27
|
+
columns: import("../config").TableColumnProps | unknown;
|
|
28
|
+
showSearchForm: boolean;
|
|
29
|
+
showHeaderMenu: boolean;
|
|
30
|
+
showSearchLabel: boolean;
|
|
31
|
+
searchSpan: number;
|
|
32
|
+
searchGutter: number;
|
|
33
|
+
searchLabelWidth: string;
|
|
34
|
+
searchColumnMinWidth: number;
|
|
35
|
+
searchColumns: import("../config").SearchColumnProps | unknown;
|
|
36
|
+
addBtn: boolean;
|
|
37
|
+
viewBtn: boolean;
|
|
38
|
+
delBtn: boolean;
|
|
39
|
+
editBtn: boolean;
|
|
40
|
+
batchDelBtn: boolean;
|
|
41
|
+
refreshBtn: boolean;
|
|
42
|
+
settingBtn: boolean;
|
|
43
|
+
operations: boolean;
|
|
44
|
+
operationsWidth: number;
|
|
45
|
+
operationsHeaderAlign: string;
|
|
46
|
+
operationsColumnAlign: string;
|
|
47
|
+
operationsBtnPlain: boolean;
|
|
48
|
+
operationsBtnText: boolean;
|
|
49
|
+
operationsBtnSize: string;
|
|
50
|
+
addBtnText: string;
|
|
51
|
+
isPagination: boolean;
|
|
52
|
+
pageinationAlign: string;
|
|
53
|
+
dialogTitle: string;
|
|
54
|
+
dialogWidth: string;
|
|
55
|
+
dialogFullscreen: boolean;
|
|
56
|
+
dialogFullscreenBtn: boolean;
|
|
57
|
+
dialogDraggable: boolean;
|
|
58
|
+
dialogFormParamsDefault: {};
|
|
59
|
+
dialogCloseOnClickModal: boolean;
|
|
60
|
+
formColumns: import("../config").FormColunmProps | unknown;
|
|
61
|
+
formLabelWidth: string;
|
|
62
|
+
formSpan: number;
|
|
63
|
+
formSpanFixed: any;
|
|
64
|
+
formColumnMinWidth: number;
|
|
65
|
+
loadFormDetail: any;
|
|
66
|
+
viewActionMode: import("../config").ViewActionMode;
|
|
67
|
+
viewColumns: ViewColumnProps | unknown;
|
|
68
|
+
viewDialogWidth: string;
|
|
69
|
+
viewDialogFullscreen: boolean;
|
|
70
|
+
viewDialogFullscreenBtn: boolean;
|
|
71
|
+
viewDialogDraggable: boolean;
|
|
72
|
+
viewDialogTop: any;
|
|
73
|
+
viewDialogCloseOnClickModal: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
formDatum: {
|
|
78
|
+
type: ObjectConstructor;
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
81
|
+
columns: {
|
|
82
|
+
type: ArrayConstructor;
|
|
83
|
+
default: () => any[];
|
|
84
|
+
};
|
|
85
|
+
options: {
|
|
86
|
+
type: ObjectConstructor;
|
|
87
|
+
default: () => {
|
|
88
|
+
initLoadData: boolean;
|
|
89
|
+
defaultContentHeight: number;
|
|
90
|
+
fullscreenchangeContentHeight: boolean;
|
|
91
|
+
rowKey: string;
|
|
92
|
+
size: string;
|
|
93
|
+
fit: boolean;
|
|
94
|
+
stripe: boolean;
|
|
95
|
+
border: boolean;
|
|
96
|
+
index: boolean;
|
|
97
|
+
selection: boolean;
|
|
98
|
+
headerAlign: string;
|
|
99
|
+
cellAlign: string;
|
|
100
|
+
columnMinWidth: string;
|
|
101
|
+
columns: import("../config").TableColumnProps | unknown;
|
|
102
|
+
showSearchForm: boolean;
|
|
103
|
+
showHeaderMenu: boolean;
|
|
104
|
+
showSearchLabel: boolean;
|
|
105
|
+
searchSpan: number;
|
|
106
|
+
searchGutter: number;
|
|
107
|
+
searchLabelWidth: string;
|
|
108
|
+
searchColumnMinWidth: number;
|
|
109
|
+
searchColumns: import("../config").SearchColumnProps | unknown;
|
|
110
|
+
addBtn: boolean;
|
|
111
|
+
viewBtn: boolean;
|
|
112
|
+
delBtn: boolean;
|
|
113
|
+
editBtn: boolean;
|
|
114
|
+
batchDelBtn: boolean;
|
|
115
|
+
refreshBtn: boolean;
|
|
116
|
+
settingBtn: boolean;
|
|
117
|
+
operations: boolean;
|
|
118
|
+
operationsWidth: number;
|
|
119
|
+
operationsHeaderAlign: string;
|
|
120
|
+
operationsColumnAlign: string;
|
|
121
|
+
operationsBtnPlain: boolean;
|
|
122
|
+
operationsBtnText: boolean;
|
|
123
|
+
operationsBtnSize: string;
|
|
124
|
+
addBtnText: string;
|
|
125
|
+
isPagination: boolean;
|
|
126
|
+
pageinationAlign: string;
|
|
127
|
+
dialogTitle: string;
|
|
128
|
+
dialogWidth: string;
|
|
129
|
+
dialogFullscreen: boolean;
|
|
130
|
+
dialogFullscreenBtn: boolean;
|
|
131
|
+
dialogDraggable: boolean;
|
|
132
|
+
dialogFormParamsDefault: {};
|
|
133
|
+
dialogCloseOnClickModal: boolean;
|
|
134
|
+
formColumns: import("../config").FormColunmProps | unknown;
|
|
135
|
+
formLabelWidth: string;
|
|
136
|
+
formSpan: number;
|
|
137
|
+
formSpanFixed: any;
|
|
138
|
+
formColumnMinWidth: number;
|
|
139
|
+
loadFormDetail: any;
|
|
140
|
+
viewActionMode: import("../config").ViewActionMode;
|
|
141
|
+
viewColumns: ViewColumnProps | unknown;
|
|
142
|
+
viewDialogWidth: string;
|
|
143
|
+
viewDialogFullscreen: boolean;
|
|
144
|
+
viewDialogFullscreenBtn: boolean;
|
|
145
|
+
viewDialogDraggable: boolean;
|
|
146
|
+
viewDialogTop: any;
|
|
147
|
+
viewDialogCloseOnClickModal: boolean;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}>> & Readonly<{}>, {
|
|
151
|
+
options: Record<string, any>;
|
|
152
|
+
columns: unknown[];
|
|
153
|
+
formDatum: Record<string, any>;
|
|
154
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
155
|
+
export default _default;
|
|
@@ -55,6 +55,7 @@ export interface FormItemProps {
|
|
|
55
55
|
loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
|
|
56
56
|
_dictDataLoading?: boolean;
|
|
57
57
|
hide?: boolean;
|
|
58
|
+
formHide?: boolean;
|
|
58
59
|
multiple?: boolean;
|
|
59
60
|
collapseTags?: boolean;
|
|
60
61
|
collapseTagsTooltip?: boolean;
|
|
@@ -74,6 +75,7 @@ export interface FormItemProps {
|
|
|
74
75
|
onBlur?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
|
|
75
76
|
onFocus?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
|
|
76
77
|
onExceed?: (...args: any[]) => void;
|
|
78
|
+
closable?: boolean;
|
|
77
79
|
tableSelect?: any;
|
|
78
80
|
tableSelectRows?: any[];
|
|
79
81
|
tableSelectProps?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
|
|
4
4
|
default: () => any[];
|
|
@@ -58,4 +58,4 @@ declare const InputTableSelect: import("vue").DefineComponent<import("vue").Extr
|
|
|
58
58
|
formParams: Record<string, any>;
|
|
59
59
|
closable: boolean;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default
|
|
61
|
+
export default _default;
|