disguise-ui 0.2.0 → 0.2.1
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/disguise-ui.js +145 -93
- package/dist/style.css +1 -1
- package/dist/types/components/async-select/async-select.type.d.ts +14 -0
- package/dist/types/components/async-select/async-select.utils.d.ts +12 -0
- package/dist/types/components/async-select/async-select.vue.d.ts +52 -0
- package/dist/types/components/async-select/index.d.ts +2 -0
- package/dist/types/components/card/index.vue.d.ts +15 -0
- package/dist/types/components/crud-page/index.d.ts +2 -0
- package/dist/types/components/crud-page/index.type.d.ts +105 -0
- package/dist/types/components/crud-page/index.vue.d.ts +66 -0
- package/dist/types/components/dialog-list/index.vue.d.ts +540 -0
- package/dist/types/components/dict-tag/index.vue.d.ts +18 -0
- package/dist/types/components/disguise-icon/index.vue.d.ts +14 -0
- package/dist/types/components/drawer-form-page/index.d.ts +3 -0
- package/dist/types/components/drawer-form-page/index.type.d.ts +76 -0
- package/dist/types/components/drawer-form-page/index.vue.d.ts +94 -0
- package/dist/types/components/drawer-form-page/use-drawer-form-page.d.ts +4 -0
- package/dist/types/components/file-upload/components/file-status.vue.d.ts +50 -0
- package/dist/types/components/file-upload/composables/use-file-type.d.ts +41 -0
- package/dist/types/components/file-upload/composables/use-file-upload.d.ts +82 -0
- package/dist/types/components/file-upload/composables/use-file-upload.utils.d.ts +9 -0
- package/dist/types/components/file-upload/composables/use-multiple-file-upload.d.ts +119 -0
- package/dist/types/components/file-upload/file-upload.type.d.ts +68 -0
- package/dist/types/components/file-upload/file-upload.vue.d.ts +33 -0
- package/dist/types/components/file-upload/index.d.ts +2 -0
- package/dist/types/components/image-upload/index.vue.d.ts +26 -0
- package/dist/types/components/images-view/index.vue.d.ts +18 -0
- package/dist/types/components/import-dialog/index.d.ts +3 -0
- package/dist/types/components/import-dialog/index.type.d.ts +101 -0
- package/dist/types/components/import-dialog/index.vue.d.ts +35 -0
- package/dist/types/components/picture-upload/index.d.ts +3 -0
- package/dist/types/components/picture-upload/picture-upload.vue.d.ts +52 -0
- package/dist/types/components/rich-text-editor/index.vue.d.ts +35 -0
- package/dist/types/components/schema-form/index.d.ts +5 -0
- package/dist/types/components/schema-form/readonly-text.vue.d.ts +7 -0
- package/dist/types/components/schema-form/schema-form-item.vue.d.ts +36 -0
- package/dist/types/components/schema-form/schema-form-registry.d.ts +18 -0
- package/dist/types/components/schema-form/schema-form.type.d.ts +190 -0
- package/dist/types/components/schema-form/schema-form.util.d.ts +10 -0
- package/dist/types/components/schema-form/schema-form.vue.d.ts +59 -0
- package/dist/types/components/schema-form/translate-field.vue.d.ts +27 -0
- package/dist/types/components/schema-form/translate-toolbar.vue.d.ts +24 -0
- package/dist/types/components/schema-form/use-field-options.d.ts +4 -0
- package/dist/types/components/search-form/index.d.ts +2 -0
- package/dist/types/components/search-form/index.type.d.ts +3 -0
- package/dist/types/components/search-form/index.vue.d.ts +66 -0
- package/dist/types/components/table-entity/cells/avatar-cell.vue.d.ts +10 -0
- package/dist/types/components/table-entity/cells/file-cell.vue.d.ts +20 -0
- package/dist/types/components/table-entity/cells/index.d.ts +10 -0
- package/dist/types/components/table-entity/cells/list-expand-cell.vue.d.ts +19 -0
- package/dist/types/components/table-entity/cells/picture-cell.vue.d.ts +22 -0
- package/dist/types/components/table-entity/cells/price-cell.vue.d.ts +10 -0
- package/dist/types/components/table-entity/components/ColumnFixedPanel.vue.d.ts +13 -0
- package/dist/types/components/table-entity/components/ColumnSettingsPanel.vue.d.ts +25 -0
- package/dist/types/components/table-entity/composables/use-column-fixed.d.ts +15 -0
- package/dist/types/components/table-entity/composables/use-column-resize.d.ts +25 -0
- package/dist/types/components/table-entity/composables/use-column-settings.d.ts +41 -0
- package/dist/types/components/table-entity/composables/use-row-drag.d.ts +21 -0
- package/dist/types/components/table-entity/composables/use-table-selection.d.ts +23 -0
- package/dist/types/components/table-entity/index.type.d.ts +189 -0
- package/dist/types/components/table-entity/index.vue.d.ts +101 -0
- package/dist/types/components/table-entity/utils/column-slots.d.ts +8 -0
- package/dist/types/components/table-entity/utils/column-utils.d.ts +7 -0
- package/dist/types/components/table-entity/utils/list-expand.d.ts +9 -0
- package/dist/types/components/user-avatar-info/index.vue.d.ts +114 -0
- package/dist/types/composables/use-dict-data.d.ts +192 -0
- package/dist/types/composables/use-image-url.d.ts +8 -0
- package/dist/types/entities/index.d.ts +2 -0
- package/dist/types/entities/registry.d.ts +33 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/runtime/access.d.ts +13 -0
- package/dist/types/runtime/context.d.ts +48 -0
- package/dist/types/runtime/dict.d.ts +22 -0
- package/dist/types/runtime/i18n.d.ts +12 -0
- package/dist/types/runtime/modal.d.ts +31 -0
- package/dist/types/runtime/preferences.d.ts +6 -0
- package/dist/types/runtime/request.d.ts +19 -0
- package/dist/types/runtime/types.d.ts +1 -0
- package/dist/types/runtime/upload.d.ts +5 -0
- package/dist/types/runtime/utils.d.ts +16 -0
- package/dist/types/services/file-upload.d.ts +11 -0
- package/dist/types/setup.d.ts +7 -0
- package/package.json +6 -3
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
import type { ColumnsItem } from '../table-entity/index.type';
|
|
2
|
+
/** ****************************** 类型 ********************************/
|
|
3
|
+
type DialogListFetchParams = {
|
|
4
|
+
keyword?: string;
|
|
5
|
+
page: number;
|
|
6
|
+
per_page: number;
|
|
7
|
+
params?: Record<string, any>;
|
|
8
|
+
};
|
|
9
|
+
type DialogListFetchResult = {
|
|
10
|
+
items: Record<string, any>[];
|
|
11
|
+
total: number;
|
|
12
|
+
};
|
|
13
|
+
/** ****************************** Props & Emits ********************************/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
visible: boolean;
|
|
16
|
+
modelValue?: any | any[];
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
fetcher: (p: DialogListFetchParams) => Promise<DialogListFetchResult>;
|
|
19
|
+
columns?: ColumnsItem[];
|
|
20
|
+
rowKey?: string;
|
|
21
|
+
dialogTitle?: string;
|
|
22
|
+
dialogWidth?: number | string;
|
|
23
|
+
tableHeight?: number;
|
|
24
|
+
perPage?: number;
|
|
25
|
+
/** 外部传入的筛选参数 */
|
|
26
|
+
filterParams?: Record<string, any>;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
29
|
+
tableRef: import("vue").Ref<({
|
|
30
|
+
$: import("vue").ComponentInternalInstance;
|
|
31
|
+
$data: {};
|
|
32
|
+
$props: {
|
|
33
|
+
readonly columns?: ColumnsItem[] | undefined;
|
|
34
|
+
readonly data?: (Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher) | undefined;
|
|
35
|
+
readonly height?: number | undefined;
|
|
36
|
+
readonly rowHeight?: number | undefined;
|
|
37
|
+
readonly cache?: number | undefined;
|
|
38
|
+
readonly width?: number | undefined;
|
|
39
|
+
readonly selectable?: boolean | undefined;
|
|
40
|
+
readonly multiple?: boolean | undefined;
|
|
41
|
+
readonly rowKey?: string | undefined;
|
|
42
|
+
readonly selectedKeys?: any[] | undefined;
|
|
43
|
+
readonly tree?: boolean | undefined;
|
|
44
|
+
readonly treeChildrenKey?: string | undefined;
|
|
45
|
+
readonly expandColumnKey?: string | undefined;
|
|
46
|
+
readonly expandedRowKeys?: import("../table-entity/index.type").TableEntityRowKey[] | undefined;
|
|
47
|
+
readonly defaultExpandedRowKeys?: import("../table-entity/index.type").TableEntityRowKey[] | undefined;
|
|
48
|
+
readonly indentSize?: number | undefined;
|
|
49
|
+
readonly iconSize?: number | undefined;
|
|
50
|
+
readonly total?: number | undefined;
|
|
51
|
+
readonly per_page?: number | undefined;
|
|
52
|
+
readonly current_page?: number | undefined;
|
|
53
|
+
readonly query?: import("../table-entity/index.type").TableEntityQueryParams | undefined;
|
|
54
|
+
readonly showPagination?: boolean | undefined;
|
|
55
|
+
readonly showActions?: boolean | undefined;
|
|
56
|
+
readonly maxVisibleActions?: number | undefined;
|
|
57
|
+
readonly actionColumnWidth?: number | undefined;
|
|
58
|
+
readonly actionColumnTitle?: string | undefined;
|
|
59
|
+
readonly actions?: import("../table-entity/index.type").TableEntityActionName[] | undefined;
|
|
60
|
+
readonly pushActions?: import("../table-entity/index.type").TableEntityPushAction[] | undefined;
|
|
61
|
+
readonly rowDraggable?: boolean | undefined;
|
|
62
|
+
readonly rowDragHandle?: string | undefined;
|
|
63
|
+
readonly rowDragDisabled?: ((row: Record<string, any>) => boolean) | undefined;
|
|
64
|
+
readonly resizable?: boolean | undefined;
|
|
65
|
+
readonly minColumnWidth?: number | undefined;
|
|
66
|
+
readonly showColumnSettings?: boolean | undefined;
|
|
67
|
+
readonly permissionCode?: string | undefined;
|
|
68
|
+
readonly importDialog?: import("../table-entity/index.type").TableEntityImportDialogConfig | undefined;
|
|
69
|
+
readonly onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
70
|
+
readonly "onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
71
|
+
readonly "onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
72
|
+
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
73
|
+
readonly "onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
74
|
+
readonly "onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
75
|
+
readonly "onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
76
|
+
readonly onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
77
|
+
readonly onRowExpand?: ((payload: {
|
|
78
|
+
expanded: boolean;
|
|
79
|
+
rowData: Record<string, any>;
|
|
80
|
+
rowIndex: number;
|
|
81
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
82
|
+
}) => any) | undefined;
|
|
83
|
+
readonly onPageChange?: ((page: number) => any) | undefined;
|
|
84
|
+
readonly onRefresh?: (() => any) | undefined;
|
|
85
|
+
readonly "onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
86
|
+
readonly onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
87
|
+
readonly onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
88
|
+
readonly onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
90
|
+
$attrs: import("vue").Attrs;
|
|
91
|
+
$refs: {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
$slots: Readonly<{
|
|
95
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
98
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
99
|
+
$host: Element | null;
|
|
100
|
+
$emit: ((event: "change", payload: import("../table-entity/index.type").TableEntityChangePayload) => void) & ((event: "update:selectedKeys", keys: any[]) => void) & ((event: "update:current_page", page: number) => void) & ((event: "update:page", page: number) => void) & ((event: "update:per_page", size: number) => void) & ((event: "update:expandedRowKeys", keys: import("../table-entity/index.type").TableEntityRowKey[]) => void) & ((event: "selection-change", rows: Record<string, any>[]) => void) & ((event: "expandedRowsChange", keys: import("../table-entity/index.type").TableEntityRowKey[]) => void) & ((event: "rowExpand", payload: {
|
|
101
|
+
expanded: boolean;
|
|
102
|
+
rowData: Record<string, any>;
|
|
103
|
+
rowIndex: number;
|
|
104
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
105
|
+
}) => void) & ((event: "pageChange", page: number) => void) & ((event: "refresh") => void) & ((event: "handle-action", payload: import("../table-entity/index.type").TableEntityActionPayload) => void) & ((event: "importSuccess", result: import("../import-dialog").ImportDialogSubmitResult) => void) & ((event: "importError", error: Error | import("../import-dialog").ImportDialogSubmitResult) => void) & ((event: "rowSort", payload: import("../table-entity/index.type").TableEntityRowSortPayload) => void);
|
|
106
|
+
$el: any;
|
|
107
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../table-entity/index.type").TableEntlty> & Readonly<{
|
|
108
|
+
onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
109
|
+
"onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
110
|
+
"onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
111
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
112
|
+
"onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
113
|
+
"onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
114
|
+
"onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
115
|
+
onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
116
|
+
onRowExpand?: ((payload: {
|
|
117
|
+
expanded: boolean;
|
|
118
|
+
rowData: Record<string, any>;
|
|
119
|
+
rowIndex: number;
|
|
120
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
121
|
+
}) => any) | undefined;
|
|
122
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
123
|
+
onRefresh?: (() => any) | undefined;
|
|
124
|
+
"onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
125
|
+
onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
126
|
+
onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
127
|
+
onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
128
|
+
}>, {
|
|
129
|
+
clearSelection: () => void;
|
|
130
|
+
getSelectedRows: () => Record<string, any>[];
|
|
131
|
+
getSelectedCount: () => number;
|
|
132
|
+
setSelectedKeys: (keys: any[]) => void;
|
|
133
|
+
openImport: () => boolean;
|
|
134
|
+
reload: (page?: number) => Promise<void>;
|
|
135
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
136
|
+
change: (payload: import("../table-entity/index.type").TableEntityChangePayload) => any;
|
|
137
|
+
"update:selectedKeys": (keys: any[]) => any;
|
|
138
|
+
"update:current_page": (page: number) => any;
|
|
139
|
+
"update:page": (page: number) => any;
|
|
140
|
+
"update:per_page": (size: number) => any;
|
|
141
|
+
"update:expandedRowKeys": (keys: import("../table-entity/index.type").TableEntityRowKey[]) => any;
|
|
142
|
+
"selection-change": (rows: Record<string, any>[]) => any;
|
|
143
|
+
expandedRowsChange: (keys: import("../table-entity/index.type").TableEntityRowKey[]) => any;
|
|
144
|
+
rowExpand: (payload: {
|
|
145
|
+
expanded: boolean;
|
|
146
|
+
rowData: Record<string, any>;
|
|
147
|
+
rowIndex: number;
|
|
148
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
149
|
+
}) => any;
|
|
150
|
+
pageChange: (page: number) => any;
|
|
151
|
+
refresh: () => any;
|
|
152
|
+
"handle-action": (payload: import("../table-entity/index.type").TableEntityActionPayload) => any;
|
|
153
|
+
importSuccess: (result: import("../import-dialog").ImportDialogSubmitResult) => any;
|
|
154
|
+
importError: (error: Error | import("../import-dialog").ImportDialogSubmitResult) => any;
|
|
155
|
+
rowSort: (payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any;
|
|
156
|
+
}, string, {
|
|
157
|
+
data: Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher;
|
|
158
|
+
columns: ColumnsItem[];
|
|
159
|
+
height: number;
|
|
160
|
+
rowHeight: number;
|
|
161
|
+
cache: number;
|
|
162
|
+
selectable: boolean;
|
|
163
|
+
multiple: boolean;
|
|
164
|
+
rowKey: string;
|
|
165
|
+
selectedKeys: any[];
|
|
166
|
+
tree: boolean;
|
|
167
|
+
treeChildrenKey: string;
|
|
168
|
+
expandColumnKey: string;
|
|
169
|
+
expandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
170
|
+
defaultExpandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
171
|
+
indentSize: number;
|
|
172
|
+
iconSize: number;
|
|
173
|
+
per_page: number;
|
|
174
|
+
current_page: number;
|
|
175
|
+
query: import("../table-entity/index.type").TableEntityQueryParams;
|
|
176
|
+
showPagination: boolean;
|
|
177
|
+
showActions: boolean;
|
|
178
|
+
actionColumnTitle: string;
|
|
179
|
+
actions: import("../table-entity/index.type").TableEntityActionName[];
|
|
180
|
+
pushActions: import("../table-entity/index.type").TableEntityPushAction[];
|
|
181
|
+
rowDraggable: boolean;
|
|
182
|
+
rowDragHandle: string;
|
|
183
|
+
rowDragDisabled: (row: Record<string, any>) => boolean;
|
|
184
|
+
resizable: boolean;
|
|
185
|
+
minColumnWidth: number;
|
|
186
|
+
showColumnSettings: boolean;
|
|
187
|
+
permissionCode: string;
|
|
188
|
+
importDialog: import("../table-entity/index.type").TableEntityImportDialogConfig;
|
|
189
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
190
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
191
|
+
created?: (() => void) | (() => void)[];
|
|
192
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
193
|
+
mounted?: (() => void) | (() => void)[];
|
|
194
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
195
|
+
updated?: (() => void) | (() => void)[];
|
|
196
|
+
activated?: (() => void) | (() => void)[];
|
|
197
|
+
deactivated?: (() => void) | (() => void)[];
|
|
198
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
199
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
200
|
+
destroyed?: (() => void) | (() => void)[];
|
|
201
|
+
unmounted?: (() => void) | (() => void)[];
|
|
202
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
203
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
204
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
205
|
+
};
|
|
206
|
+
$forceUpdate: () => void;
|
|
207
|
+
$nextTick: typeof import("vue").nextTick;
|
|
208
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
209
|
+
} & Readonly<{
|
|
210
|
+
data: Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher;
|
|
211
|
+
columns: ColumnsItem[];
|
|
212
|
+
height: number;
|
|
213
|
+
rowHeight: number;
|
|
214
|
+
cache: number;
|
|
215
|
+
selectable: boolean;
|
|
216
|
+
multiple: boolean;
|
|
217
|
+
rowKey: string;
|
|
218
|
+
selectedKeys: any[];
|
|
219
|
+
tree: boolean;
|
|
220
|
+
treeChildrenKey: string;
|
|
221
|
+
expandColumnKey: string;
|
|
222
|
+
expandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
223
|
+
defaultExpandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
224
|
+
indentSize: number;
|
|
225
|
+
iconSize: number;
|
|
226
|
+
per_page: number;
|
|
227
|
+
current_page: number;
|
|
228
|
+
query: import("../table-entity/index.type").TableEntityQueryParams;
|
|
229
|
+
showPagination: boolean;
|
|
230
|
+
showActions: boolean;
|
|
231
|
+
actionColumnTitle: string;
|
|
232
|
+
actions: import("../table-entity/index.type").TableEntityActionName[];
|
|
233
|
+
pushActions: import("../table-entity/index.type").TableEntityPushAction[];
|
|
234
|
+
rowDraggable: boolean;
|
|
235
|
+
rowDragHandle: string;
|
|
236
|
+
rowDragDisabled: (row: Record<string, any>) => boolean;
|
|
237
|
+
resizable: boolean;
|
|
238
|
+
minColumnWidth: number;
|
|
239
|
+
showColumnSettings: boolean;
|
|
240
|
+
permissionCode: string;
|
|
241
|
+
importDialog: import("../table-entity/index.type").TableEntityImportDialogConfig;
|
|
242
|
+
}> & Omit<Readonly<import("../table-entity/index.type").TableEntlty> & Readonly<{
|
|
243
|
+
onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
244
|
+
"onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
245
|
+
"onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
246
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
247
|
+
"onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
248
|
+
"onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
249
|
+
"onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
250
|
+
onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
251
|
+
onRowExpand?: ((payload: {
|
|
252
|
+
expanded: boolean;
|
|
253
|
+
rowData: Record<string, any>;
|
|
254
|
+
rowIndex: number;
|
|
255
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
256
|
+
}) => any) | undefined;
|
|
257
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
258
|
+
onRefresh?: (() => any) | undefined;
|
|
259
|
+
"onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
260
|
+
onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
261
|
+
onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
262
|
+
onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
263
|
+
}>, "clearSelection" | "getSelectedRows" | "getSelectedCount" | "setSelectedKeys" | "openImport" | "reload" | ("data" | "columns" | "height" | "rowHeight" | "cache" | "selectable" | "multiple" | "rowKey" | "selectedKeys" | "tree" | "treeChildrenKey" | "expandColumnKey" | "expandedRowKeys" | "defaultExpandedRowKeys" | "indentSize" | "iconSize" | "per_page" | "current_page" | "query" | "showPagination" | "showActions" | "actionColumnTitle" | "actions" | "pushActions" | "rowDraggable" | "rowDragHandle" | "rowDragDisabled" | "resizable" | "minColumnWidth" | "showColumnSettings" | "permissionCode" | "importDialog")> & {
|
|
264
|
+
clearSelection: () => void;
|
|
265
|
+
getSelectedRows: () => Record<string, any>[];
|
|
266
|
+
getSelectedCount: () => number;
|
|
267
|
+
setSelectedKeys: (keys: any[]) => void;
|
|
268
|
+
openImport: () => boolean;
|
|
269
|
+
reload: (page?: number) => Promise<void>;
|
|
270
|
+
} & {} & import("vue").ComponentCustomProperties & {} & {
|
|
271
|
+
$slots: {
|
|
272
|
+
buttons?: (props: {}) => any;
|
|
273
|
+
};
|
|
274
|
+
}) | undefined, ({
|
|
275
|
+
$: import("vue").ComponentInternalInstance;
|
|
276
|
+
$data: {};
|
|
277
|
+
$props: {
|
|
278
|
+
readonly columns?: ColumnsItem[] | undefined;
|
|
279
|
+
readonly data?: (Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher) | undefined;
|
|
280
|
+
readonly height?: number | undefined;
|
|
281
|
+
readonly rowHeight?: number | undefined;
|
|
282
|
+
readonly cache?: number | undefined;
|
|
283
|
+
readonly width?: number | undefined;
|
|
284
|
+
readonly selectable?: boolean | undefined;
|
|
285
|
+
readonly multiple?: boolean | undefined;
|
|
286
|
+
readonly rowKey?: string | undefined;
|
|
287
|
+
readonly selectedKeys?: any[] | undefined;
|
|
288
|
+
readonly tree?: boolean | undefined;
|
|
289
|
+
readonly treeChildrenKey?: string | undefined;
|
|
290
|
+
readonly expandColumnKey?: string | undefined;
|
|
291
|
+
readonly expandedRowKeys?: import("../table-entity/index.type").TableEntityRowKey[] | undefined;
|
|
292
|
+
readonly defaultExpandedRowKeys?: import("../table-entity/index.type").TableEntityRowKey[] | undefined;
|
|
293
|
+
readonly indentSize?: number | undefined;
|
|
294
|
+
readonly iconSize?: number | undefined;
|
|
295
|
+
readonly total?: number | undefined;
|
|
296
|
+
readonly per_page?: number | undefined;
|
|
297
|
+
readonly current_page?: number | undefined;
|
|
298
|
+
readonly query?: import("../table-entity/index.type").TableEntityQueryParams | undefined;
|
|
299
|
+
readonly showPagination?: boolean | undefined;
|
|
300
|
+
readonly showActions?: boolean | undefined;
|
|
301
|
+
readonly maxVisibleActions?: number | undefined;
|
|
302
|
+
readonly actionColumnWidth?: number | undefined;
|
|
303
|
+
readonly actionColumnTitle?: string | undefined;
|
|
304
|
+
readonly actions?: import("../table-entity/index.type").TableEntityActionName[] | undefined;
|
|
305
|
+
readonly pushActions?: import("../table-entity/index.type").TableEntityPushAction[] | undefined;
|
|
306
|
+
readonly rowDraggable?: boolean | undefined;
|
|
307
|
+
readonly rowDragHandle?: string | undefined;
|
|
308
|
+
readonly rowDragDisabled?: ((row: Record<string, any>) => boolean) | undefined;
|
|
309
|
+
readonly resizable?: boolean | undefined;
|
|
310
|
+
readonly minColumnWidth?: number | undefined;
|
|
311
|
+
readonly showColumnSettings?: boolean | undefined;
|
|
312
|
+
readonly permissionCode?: string | undefined;
|
|
313
|
+
readonly importDialog?: import("../table-entity/index.type").TableEntityImportDialogConfig | undefined;
|
|
314
|
+
readonly onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
315
|
+
readonly "onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
316
|
+
readonly "onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
317
|
+
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
318
|
+
readonly "onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
319
|
+
readonly "onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
320
|
+
readonly "onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
321
|
+
readonly onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
322
|
+
readonly onRowExpand?: ((payload: {
|
|
323
|
+
expanded: boolean;
|
|
324
|
+
rowData: Record<string, any>;
|
|
325
|
+
rowIndex: number;
|
|
326
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
327
|
+
}) => any) | undefined;
|
|
328
|
+
readonly onPageChange?: ((page: number) => any) | undefined;
|
|
329
|
+
readonly onRefresh?: (() => any) | undefined;
|
|
330
|
+
readonly "onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
331
|
+
readonly onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
332
|
+
readonly onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
333
|
+
readonly onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
334
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
335
|
+
$attrs: import("vue").Attrs;
|
|
336
|
+
$refs: {
|
|
337
|
+
[x: string]: unknown;
|
|
338
|
+
};
|
|
339
|
+
$slots: Readonly<{
|
|
340
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
341
|
+
}>;
|
|
342
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
343
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
344
|
+
$host: Element | null;
|
|
345
|
+
$emit: ((event: "change", payload: import("../table-entity/index.type").TableEntityChangePayload) => void) & ((event: "update:selectedKeys", keys: any[]) => void) & ((event: "update:current_page", page: number) => void) & ((event: "update:page", page: number) => void) & ((event: "update:per_page", size: number) => void) & ((event: "update:expandedRowKeys", keys: import("../table-entity/index.type").TableEntityRowKey[]) => void) & ((event: "selection-change", rows: Record<string, any>[]) => void) & ((event: "expandedRowsChange", keys: import("../table-entity/index.type").TableEntityRowKey[]) => void) & ((event: "rowExpand", payload: {
|
|
346
|
+
expanded: boolean;
|
|
347
|
+
rowData: Record<string, any>;
|
|
348
|
+
rowIndex: number;
|
|
349
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
350
|
+
}) => void) & ((event: "pageChange", page: number) => void) & ((event: "refresh") => void) & ((event: "handle-action", payload: import("../table-entity/index.type").TableEntityActionPayload) => void) & ((event: "importSuccess", result: import("../import-dialog").ImportDialogSubmitResult) => void) & ((event: "importError", error: Error | import("../import-dialog").ImportDialogSubmitResult) => void) & ((event: "rowSort", payload: import("../table-entity/index.type").TableEntityRowSortPayload) => void);
|
|
351
|
+
$el: any;
|
|
352
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../table-entity/index.type").TableEntlty> & Readonly<{
|
|
353
|
+
onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
354
|
+
"onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
355
|
+
"onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
356
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
357
|
+
"onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
358
|
+
"onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
359
|
+
"onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
360
|
+
onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
361
|
+
onRowExpand?: ((payload: {
|
|
362
|
+
expanded: boolean;
|
|
363
|
+
rowData: Record<string, any>;
|
|
364
|
+
rowIndex: number;
|
|
365
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
366
|
+
}) => any) | undefined;
|
|
367
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
368
|
+
onRefresh?: (() => any) | undefined;
|
|
369
|
+
"onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
370
|
+
onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
371
|
+
onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
372
|
+
onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
373
|
+
}>, {
|
|
374
|
+
clearSelection: () => void;
|
|
375
|
+
getSelectedRows: () => Record<string, any>[];
|
|
376
|
+
getSelectedCount: () => number;
|
|
377
|
+
setSelectedKeys: (keys: any[]) => void;
|
|
378
|
+
openImport: () => boolean;
|
|
379
|
+
reload: (page?: number) => Promise<void>;
|
|
380
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
381
|
+
change: (payload: import("../table-entity/index.type").TableEntityChangePayload) => any;
|
|
382
|
+
"update:selectedKeys": (keys: any[]) => any;
|
|
383
|
+
"update:current_page": (page: number) => any;
|
|
384
|
+
"update:page": (page: number) => any;
|
|
385
|
+
"update:per_page": (size: number) => any;
|
|
386
|
+
"update:expandedRowKeys": (keys: import("../table-entity/index.type").TableEntityRowKey[]) => any;
|
|
387
|
+
"selection-change": (rows: Record<string, any>[]) => any;
|
|
388
|
+
expandedRowsChange: (keys: import("../table-entity/index.type").TableEntityRowKey[]) => any;
|
|
389
|
+
rowExpand: (payload: {
|
|
390
|
+
expanded: boolean;
|
|
391
|
+
rowData: Record<string, any>;
|
|
392
|
+
rowIndex: number;
|
|
393
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
394
|
+
}) => any;
|
|
395
|
+
pageChange: (page: number) => any;
|
|
396
|
+
refresh: () => any;
|
|
397
|
+
"handle-action": (payload: import("../table-entity/index.type").TableEntityActionPayload) => any;
|
|
398
|
+
importSuccess: (result: import("../import-dialog").ImportDialogSubmitResult) => any;
|
|
399
|
+
importError: (error: Error | import("../import-dialog").ImportDialogSubmitResult) => any;
|
|
400
|
+
rowSort: (payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any;
|
|
401
|
+
}, string, {
|
|
402
|
+
data: Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher;
|
|
403
|
+
columns: ColumnsItem[];
|
|
404
|
+
height: number;
|
|
405
|
+
rowHeight: number;
|
|
406
|
+
cache: number;
|
|
407
|
+
selectable: boolean;
|
|
408
|
+
multiple: boolean;
|
|
409
|
+
rowKey: string;
|
|
410
|
+
selectedKeys: any[];
|
|
411
|
+
tree: boolean;
|
|
412
|
+
treeChildrenKey: string;
|
|
413
|
+
expandColumnKey: string;
|
|
414
|
+
expandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
415
|
+
defaultExpandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
416
|
+
indentSize: number;
|
|
417
|
+
iconSize: number;
|
|
418
|
+
per_page: number;
|
|
419
|
+
current_page: number;
|
|
420
|
+
query: import("../table-entity/index.type").TableEntityQueryParams;
|
|
421
|
+
showPagination: boolean;
|
|
422
|
+
showActions: boolean;
|
|
423
|
+
actionColumnTitle: string;
|
|
424
|
+
actions: import("../table-entity/index.type").TableEntityActionName[];
|
|
425
|
+
pushActions: import("../table-entity/index.type").TableEntityPushAction[];
|
|
426
|
+
rowDraggable: boolean;
|
|
427
|
+
rowDragHandle: string;
|
|
428
|
+
rowDragDisabled: (row: Record<string, any>) => boolean;
|
|
429
|
+
resizable: boolean;
|
|
430
|
+
minColumnWidth: number;
|
|
431
|
+
showColumnSettings: boolean;
|
|
432
|
+
permissionCode: string;
|
|
433
|
+
importDialog: import("../table-entity/index.type").TableEntityImportDialogConfig;
|
|
434
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
435
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
436
|
+
created?: (() => void) | (() => void)[];
|
|
437
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
438
|
+
mounted?: (() => void) | (() => void)[];
|
|
439
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
440
|
+
updated?: (() => void) | (() => void)[];
|
|
441
|
+
activated?: (() => void) | (() => void)[];
|
|
442
|
+
deactivated?: (() => void) | (() => void)[];
|
|
443
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
444
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
445
|
+
destroyed?: (() => void) | (() => void)[];
|
|
446
|
+
unmounted?: (() => void) | (() => void)[];
|
|
447
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
448
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
449
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
450
|
+
};
|
|
451
|
+
$forceUpdate: () => void;
|
|
452
|
+
$nextTick: typeof import("vue").nextTick;
|
|
453
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
454
|
+
} & Readonly<{
|
|
455
|
+
data: Record<string, any>[] | import("../table-entity/index.type").TableEntityDataFetcher;
|
|
456
|
+
columns: ColumnsItem[];
|
|
457
|
+
height: number;
|
|
458
|
+
rowHeight: number;
|
|
459
|
+
cache: number;
|
|
460
|
+
selectable: boolean;
|
|
461
|
+
multiple: boolean;
|
|
462
|
+
rowKey: string;
|
|
463
|
+
selectedKeys: any[];
|
|
464
|
+
tree: boolean;
|
|
465
|
+
treeChildrenKey: string;
|
|
466
|
+
expandColumnKey: string;
|
|
467
|
+
expandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
468
|
+
defaultExpandedRowKeys: import("../table-entity/index.type").TableEntityRowKey[];
|
|
469
|
+
indentSize: number;
|
|
470
|
+
iconSize: number;
|
|
471
|
+
per_page: number;
|
|
472
|
+
current_page: number;
|
|
473
|
+
query: import("../table-entity/index.type").TableEntityQueryParams;
|
|
474
|
+
showPagination: boolean;
|
|
475
|
+
showActions: boolean;
|
|
476
|
+
actionColumnTitle: string;
|
|
477
|
+
actions: import("../table-entity/index.type").TableEntityActionName[];
|
|
478
|
+
pushActions: import("../table-entity/index.type").TableEntityPushAction[];
|
|
479
|
+
rowDraggable: boolean;
|
|
480
|
+
rowDragHandle: string;
|
|
481
|
+
rowDragDisabled: (row: Record<string, any>) => boolean;
|
|
482
|
+
resizable: boolean;
|
|
483
|
+
minColumnWidth: number;
|
|
484
|
+
showColumnSettings: boolean;
|
|
485
|
+
permissionCode: string;
|
|
486
|
+
importDialog: import("../table-entity/index.type").TableEntityImportDialogConfig;
|
|
487
|
+
}> & Omit<Readonly<import("../table-entity/index.type").TableEntlty> & Readonly<{
|
|
488
|
+
onChange?: ((payload: import("../table-entity/index.type").TableEntityChangePayload) => any) | undefined;
|
|
489
|
+
"onUpdate:selectedKeys"?: ((keys: any[]) => any) | undefined;
|
|
490
|
+
"onUpdate:current_page"?: ((page: number) => any) | undefined;
|
|
491
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
492
|
+
"onUpdate:per_page"?: ((size: number) => any) | undefined;
|
|
493
|
+
"onUpdate:expandedRowKeys"?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
494
|
+
"onSelection-change"?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
495
|
+
onExpandedRowsChange?: ((keys: import("../table-entity/index.type").TableEntityRowKey[]) => any) | undefined;
|
|
496
|
+
onRowExpand?: ((payload: {
|
|
497
|
+
expanded: boolean;
|
|
498
|
+
rowData: Record<string, any>;
|
|
499
|
+
rowIndex: number;
|
|
500
|
+
rowKey: import("../table-entity/index.type").TableEntityRowKey;
|
|
501
|
+
}) => any) | undefined;
|
|
502
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
503
|
+
onRefresh?: (() => any) | undefined;
|
|
504
|
+
"onHandle-action"?: ((payload: import("../table-entity/index.type").TableEntityActionPayload) => any) | undefined;
|
|
505
|
+
onImportSuccess?: ((result: import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
506
|
+
onImportError?: ((error: Error | import("../import-dialog").ImportDialogSubmitResult) => any) | undefined;
|
|
507
|
+
onRowSort?: ((payload: import("../table-entity/index.type").TableEntityRowSortPayload) => any) | undefined;
|
|
508
|
+
}>, "clearSelection" | "getSelectedRows" | "getSelectedCount" | "setSelectedKeys" | "openImport" | "reload" | ("data" | "columns" | "height" | "rowHeight" | "cache" | "selectable" | "multiple" | "rowKey" | "selectedKeys" | "tree" | "treeChildrenKey" | "expandColumnKey" | "expandedRowKeys" | "defaultExpandedRowKeys" | "indentSize" | "iconSize" | "per_page" | "current_page" | "query" | "showPagination" | "showActions" | "actionColumnTitle" | "actions" | "pushActions" | "rowDraggable" | "rowDragHandle" | "rowDragDisabled" | "resizable" | "minColumnWidth" | "showColumnSettings" | "permissionCode" | "importDialog")> & {
|
|
509
|
+
clearSelection: () => void;
|
|
510
|
+
getSelectedRows: () => Record<string, any>[];
|
|
511
|
+
getSelectedCount: () => number;
|
|
512
|
+
setSelectedKeys: (keys: any[]) => void;
|
|
513
|
+
openImport: () => boolean;
|
|
514
|
+
reload: (page?: number) => Promise<void>;
|
|
515
|
+
} & {} & import("vue").ComponentCustomProperties & {} & {
|
|
516
|
+
$slots: {
|
|
517
|
+
buttons?: (props: {}) => any;
|
|
518
|
+
};
|
|
519
|
+
}) | undefined>;
|
|
520
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
521
|
+
"update:modelValue": (v: any) => any;
|
|
522
|
+
"update:visible": (v: boolean) => any;
|
|
523
|
+
confirm: (rows: Record<string, any>[]) => any;
|
|
524
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
525
|
+
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
526
|
+
"onUpdate:visible"?: ((v: boolean) => any) | undefined;
|
|
527
|
+
onConfirm?: ((rows: Record<string, any>[]) => any) | undefined;
|
|
528
|
+
}>, {
|
|
529
|
+
modelValue: any;
|
|
530
|
+
columns: ColumnsItem[];
|
|
531
|
+
multiple: boolean;
|
|
532
|
+
rowKey: string;
|
|
533
|
+
dialogTitle: string;
|
|
534
|
+
dialogWidth: string | number;
|
|
535
|
+
tableHeight: number;
|
|
536
|
+
perPage: number;
|
|
537
|
+
filterParams: Record<string, any>;
|
|
538
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
539
|
+
declare const _default: typeof __VLS_export;
|
|
540
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 字典编码 */
|
|
3
|
+
code?: string;
|
|
4
|
+
/** 同 code,兼容旧调用 */
|
|
5
|
+
dictType?: string;
|
|
6
|
+
value?: null | number | string;
|
|
7
|
+
label?: null | number | string;
|
|
8
|
+
color?: null | string;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
code: string;
|
|
12
|
+
label: string | number | null;
|
|
13
|
+
value: string | number | null;
|
|
14
|
+
dictType: string;
|
|
15
|
+
color: string | null;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 阿里图标统一封装 以后需要修改样式在此文件修改
|
|
3
|
+
* 属性全部穿透需要调整样式可直接传 :style
|
|
4
|
+
*/
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
className?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
icon: string;
|
|
11
|
+
className: string;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|