@opentinyvue/vue-grid-toolbar 2.22.0 → 3.22.0
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/lib/index.js +1809 -1274
- package/package.json +31 -31
- package/src/custom-saas.vue.d.ts +1 -1
- package/src/custom-select.vue.d.ts +20 -5
- package/src/custom-switch.vue.d.ts +97 -1
- package/src/custom.vue.d.ts +168 -1
- package/src/index.d.ts +195 -1
package/package.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-grid-toolbar",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.22.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/utils": "~
|
|
12
|
-
"@opentinyvue/vue-alert": "~
|
|
13
|
-
"@opentinyvue/vue-button": "~
|
|
14
|
-
"@opentinyvue/vue-checkbox": "~
|
|
15
|
-
"@opentinyvue/vue-checkbox-group": "~
|
|
16
|
-
"@opentinyvue/vue-col": "~
|
|
17
|
-
"@opentinyvue/vue-common": "~
|
|
18
|
-
"@opentinyvue/vue-dialog-box": "~
|
|
19
|
-
"@opentinyvue/vue-directive": "~
|
|
20
|
-
"@opentinyvue/vue-dropdown": "~
|
|
21
|
-
"@opentinyvue/vue-dropdown-item": "~
|
|
22
|
-
"@opentinyvue/vue-dropdown-menu": "~
|
|
23
|
-
"@opentinyvue/vue-grid": "~
|
|
24
|
-
"@opentinyvue/vue-icon": "~
|
|
25
|
-
"@opentinyvue/vue-input": "~
|
|
26
|
-
"@opentinyvue/vue-layout": "~
|
|
27
|
-
"@opentinyvue/vue-locale": "~
|
|
28
|
-
"@opentinyvue/vue-modal": "~
|
|
29
|
-
"@opentinyvue/vue-option": "~
|
|
30
|
-
"@opentinyvue/vue-popover": "~
|
|
31
|
-
"@opentinyvue/vue-radio": "~
|
|
32
|
-
"@opentinyvue/vue-radio-group": "~
|
|
11
|
+
"@opentinyvue/utils": "~3.22.0",
|
|
12
|
+
"@opentinyvue/vue-alert": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-button": "~3.22.0",
|
|
14
|
+
"@opentinyvue/vue-checkbox": "~3.22.0",
|
|
15
|
+
"@opentinyvue/vue-checkbox-group": "~3.22.0",
|
|
16
|
+
"@opentinyvue/vue-col": "~3.22.0",
|
|
17
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
18
|
+
"@opentinyvue/vue-dialog-box": "~3.22.0",
|
|
19
|
+
"@opentinyvue/vue-directive": "~3.22.0",
|
|
20
|
+
"@opentinyvue/vue-dropdown": "~3.22.0",
|
|
21
|
+
"@opentinyvue/vue-dropdown-item": "~3.22.0",
|
|
22
|
+
"@opentinyvue/vue-dropdown-menu": "~3.22.0",
|
|
23
|
+
"@opentinyvue/vue-grid": "~3.22.0",
|
|
24
|
+
"@opentinyvue/vue-icon": "~3.22.0",
|
|
25
|
+
"@opentinyvue/vue-input": "~3.22.0",
|
|
26
|
+
"@opentinyvue/vue-layout": "~3.22.0",
|
|
27
|
+
"@opentinyvue/vue-locale": "~3.22.0",
|
|
28
|
+
"@opentinyvue/vue-modal": "~3.22.0",
|
|
29
|
+
"@opentinyvue/vue-option": "~3.22.0",
|
|
30
|
+
"@opentinyvue/vue-popover": "~3.22.0",
|
|
31
|
+
"@opentinyvue/vue-radio": "~3.22.0",
|
|
32
|
+
"@opentinyvue/vue-radio-group": "~3.22.0",
|
|
33
33
|
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
34
|
-
"@opentinyvue/vue-row": "~
|
|
35
|
-
"@opentinyvue/vue-search": "~
|
|
36
|
-
"@opentinyvue/vue-select": "~
|
|
37
|
-
"@opentinyvue/vue-split": "~
|
|
38
|
-
"@opentinyvue/vue-tab-item": "~
|
|
39
|
-
"@opentinyvue/vue-tabs": "~
|
|
34
|
+
"@opentinyvue/vue-row": "~3.22.0",
|
|
35
|
+
"@opentinyvue/vue-search": "~3.22.0",
|
|
36
|
+
"@opentinyvue/vue-select": "~3.22.0",
|
|
37
|
+
"@opentinyvue/vue-split": "~3.22.0",
|
|
38
|
+
"@opentinyvue/vue-tab-item": "~3.22.0",
|
|
39
|
+
"@opentinyvue/vue-tabs": "~3.22.0",
|
|
40
40
|
"@opentinyvue/vue-theme": "~3.22.0",
|
|
41
|
-
"@opentinyvue/vue-tooltip": "~
|
|
42
|
-
"@opentinyvue/vue-tree": "~
|
|
41
|
+
"@opentinyvue/vue-tooltip": "~3.22.0",
|
|
42
|
+
"@opentinyvue/vue-tree": "~3.22.0"
|
|
43
43
|
},
|
|
44
44
|
"types": "index.d.ts",
|
|
45
45
|
"scripts": {
|
package/src/custom-saas.vue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("@vue/runtime-core").PublicProps>;
|
|
2
2
|
export default _default;
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
declare const _default: import("vue/
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default(): never[];
|
|
5
|
+
};
|
|
6
|
+
setting: {
|
|
7
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
}, unknown, {
|
|
2
10
|
columns: never[];
|
|
3
11
|
multivalue: never[];
|
|
4
|
-
}, {
|
|
12
|
+
}, {}, {
|
|
5
13
|
columnChange(values: any): void;
|
|
6
14
|
getColumnConfigs(configs: any): any;
|
|
7
|
-
},
|
|
15
|
+
}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
16
|
+
data: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
default(): never[];
|
|
19
|
+
};
|
|
20
|
+
setting: {
|
|
21
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
8
24
|
data: unknown[];
|
|
9
|
-
|
|
10
|
-
}>;
|
|
25
|
+
}, {}>;
|
|
11
26
|
export default _default;
|
|
@@ -1,2 +1,98 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
customMode: StringConstructor;
|
|
3
|
+
selectedTemplateVal: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
historyConfig: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
remote: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
tiny_mode: StringConstructor;
|
|
16
|
+
tiny_mode_root: BooleanConstructor;
|
|
17
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
18
|
+
tiny_renderless: FunctionConstructor;
|
|
19
|
+
tiny_theme: StringConstructor;
|
|
20
|
+
tiny_chart_theme: ObjectConstructor;
|
|
21
|
+
}, unknown, {
|
|
22
|
+
IconSave: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
25
|
+
IconEdit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
28
|
+
IconDel: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
|
|
31
|
+
saveDisabled: boolean;
|
|
32
|
+
selectDisabled: boolean;
|
|
33
|
+
applyDisabled: boolean;
|
|
34
|
+
editDisabled: boolean;
|
|
35
|
+
delDisabled: boolean;
|
|
36
|
+
options: never[];
|
|
37
|
+
option: any;
|
|
38
|
+
selected: null;
|
|
39
|
+
selectedName: null;
|
|
40
|
+
visible: boolean;
|
|
41
|
+
userKey: null;
|
|
42
|
+
status: null;
|
|
43
|
+
editName: null;
|
|
44
|
+
selectedTemplateName: string;
|
|
45
|
+
savedTemplateName: string;
|
|
46
|
+
templateVisible: boolean;
|
|
47
|
+
saveMethod: string;
|
|
48
|
+
}, {
|
|
49
|
+
dialogTitle(): any;
|
|
50
|
+
}, {
|
|
51
|
+
t: (this: any, path: any, options?: any) => any;
|
|
52
|
+
handleSave(): void;
|
|
53
|
+
initStorage(isInit: any): void;
|
|
54
|
+
handleSaveConfirm(flag: any, hideTip: any): void;
|
|
55
|
+
handleApply(): void;
|
|
56
|
+
handleApplyConfirm(flag: any): void;
|
|
57
|
+
handleEdit(): void;
|
|
58
|
+
handleEditConfirm(flag: any): void;
|
|
59
|
+
handleDel(): void;
|
|
60
|
+
handleDelConfirm(flag: any, selected: any): void;
|
|
61
|
+
doStorage(business: any, postOperate: any, noStore?: boolean): void;
|
|
62
|
+
handleSelectChange(): void;
|
|
63
|
+
doCheck({ storageType }: {
|
|
64
|
+
storageType: any;
|
|
65
|
+
}): boolean;
|
|
66
|
+
setUserKey(): void;
|
|
67
|
+
setSelected(): void;
|
|
68
|
+
fixStatus(): void;
|
|
69
|
+
enableAll(): void;
|
|
70
|
+
}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "init-storage"[], "init-storage", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
71
|
+
customMode: StringConstructor;
|
|
72
|
+
selectedTemplateVal: {
|
|
73
|
+
type: ObjectConstructor;
|
|
74
|
+
default: () => {};
|
|
75
|
+
};
|
|
76
|
+
historyConfig: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
default: () => {};
|
|
79
|
+
};
|
|
80
|
+
remote: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
tiny_mode: StringConstructor;
|
|
85
|
+
tiny_mode_root: BooleanConstructor;
|
|
86
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
87
|
+
tiny_renderless: FunctionConstructor;
|
|
88
|
+
tiny_theme: StringConstructor;
|
|
89
|
+
tiny_chart_theme: ObjectConstructor;
|
|
90
|
+
}>> & {
|
|
91
|
+
"onInit-storage"?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
tiny_mode_root: boolean;
|
|
94
|
+
remote: boolean;
|
|
95
|
+
selectedTemplateVal: Record<string, any>;
|
|
96
|
+
historyConfig: Record<string, any>;
|
|
97
|
+
}, {}>;
|
|
2
98
|
export default _default;
|
package/src/custom.vue.d.ts
CHANGED
|
@@ -1,2 +1,169 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default(): never[];
|
|
5
|
+
};
|
|
6
|
+
other: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
initSettings: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default(): {
|
|
13
|
+
pageSizes: number[];
|
|
14
|
+
pageSize: number;
|
|
15
|
+
sortType: string;
|
|
16
|
+
showIndex: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
value: BooleanConstructor;
|
|
20
|
+
sortable: FunctionConstructor;
|
|
21
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
22
|
+
onBeforeMove: FunctionConstructor;
|
|
23
|
+
filter: StringConstructor;
|
|
24
|
+
refresh: BooleanConstructor;
|
|
25
|
+
keys: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
numberSorting: BooleanConstructor;
|
|
30
|
+
multipleHistory: (BooleanConstructor | ObjectConstructor)[];
|
|
31
|
+
resetMethod: FunctionConstructor;
|
|
32
|
+
showHideAll: BooleanConstructor;
|
|
33
|
+
fixedSorting: BooleanConstructor;
|
|
34
|
+
tiny_mode: StringConstructor;
|
|
35
|
+
tiny_mode_root: BooleanConstructor;
|
|
36
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
37
|
+
tiny_renderless: FunctionConstructor;
|
|
38
|
+
tiny_theme: StringConstructor;
|
|
39
|
+
tiny_chart_theme: ObjectConstructor;
|
|
40
|
+
}, unknown, {
|
|
41
|
+
activeName: string;
|
|
42
|
+
animateShow: string;
|
|
43
|
+
constants: {
|
|
44
|
+
icon: {
|
|
45
|
+
asc: string;
|
|
46
|
+
desc: string;
|
|
47
|
+
left: string;
|
|
48
|
+
right: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
columns: never[];
|
|
52
|
+
fullColumn: never[];
|
|
53
|
+
customColumns: {
|
|
54
|
+
field: string;
|
|
55
|
+
}[];
|
|
56
|
+
settings: {
|
|
57
|
+
sortType: any;
|
|
58
|
+
pageSize: any;
|
|
59
|
+
columns: never[];
|
|
60
|
+
};
|
|
61
|
+
sortingOptions: never[];
|
|
62
|
+
multipleHistoryId: null;
|
|
63
|
+
saveDisabled: boolean;
|
|
64
|
+
}, {
|
|
65
|
+
visible: {
|
|
66
|
+
get(): boolean;
|
|
67
|
+
set(): void;
|
|
68
|
+
};
|
|
69
|
+
showFixed(): any;
|
|
70
|
+
tinyTable(): any;
|
|
71
|
+
isGroup(): any;
|
|
72
|
+
historyConfig(): object;
|
|
73
|
+
TinyTheme(): any;
|
|
74
|
+
dropConfig(): {
|
|
75
|
+
row: boolean;
|
|
76
|
+
column: boolean;
|
|
77
|
+
plugin: false | Function | undefined;
|
|
78
|
+
onBeforeMove: Function | undefined;
|
|
79
|
+
filter: string | undefined;
|
|
80
|
+
refresh: boolean;
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
t: (this: any, path: any, options?: any) => any;
|
|
84
|
+
getColumnConfigs(configs: any): any;
|
|
85
|
+
doFixedSorting(columns: any): any;
|
|
86
|
+
initNumberSorting(columns: any): void;
|
|
87
|
+
handelNumberSorting(sort: any, row: any): void;
|
|
88
|
+
handleRowDropEnd(): void;
|
|
89
|
+
renderNumberSorting(h: any, { row }: {
|
|
90
|
+
row: any;
|
|
91
|
+
}): any;
|
|
92
|
+
handleCustomMouseMove(): void;
|
|
93
|
+
handleInput(val: any): void;
|
|
94
|
+
handleFixed(column: any): void;
|
|
95
|
+
handleOrder(column: any): void;
|
|
96
|
+
handleVisible(column: any): void;
|
|
97
|
+
showOrHideAllColumns(visible: boolean): void;
|
|
98
|
+
handlerSetting(type: any, column: any): void;
|
|
99
|
+
buildSettings(): {
|
|
100
|
+
sortType: any;
|
|
101
|
+
pageSize: any;
|
|
102
|
+
columns: never[];
|
|
103
|
+
};
|
|
104
|
+
saveSettings(): void;
|
|
105
|
+
resetSettings(event: any): void;
|
|
106
|
+
cancelSettings(): void;
|
|
107
|
+
handleClose(): void;
|
|
108
|
+
handleReset(event: any): void;
|
|
109
|
+
visibleTitle(row: any): any;
|
|
110
|
+
sortTitle(row: any): any;
|
|
111
|
+
fixedTitle(row: any): any;
|
|
112
|
+
}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "showModal" | "saveSettings" | "resetSettings" | "cancelSettings")[], "input" | "showModal" | "saveSettings" | "resetSettings" | "cancelSettings", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
113
|
+
data: {
|
|
114
|
+
type: ArrayConstructor;
|
|
115
|
+
default(): never[];
|
|
116
|
+
};
|
|
117
|
+
other: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
initSettings: {
|
|
122
|
+
type: ObjectConstructor;
|
|
123
|
+
default(): {
|
|
124
|
+
pageSizes: number[];
|
|
125
|
+
pageSize: number;
|
|
126
|
+
sortType: string;
|
|
127
|
+
showIndex: boolean;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
value: BooleanConstructor;
|
|
131
|
+
sortable: FunctionConstructor;
|
|
132
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
133
|
+
onBeforeMove: FunctionConstructor;
|
|
134
|
+
filter: StringConstructor;
|
|
135
|
+
refresh: BooleanConstructor;
|
|
136
|
+
keys: {
|
|
137
|
+
type: ArrayConstructor;
|
|
138
|
+
default: () => never[];
|
|
139
|
+
};
|
|
140
|
+
numberSorting: BooleanConstructor;
|
|
141
|
+
multipleHistory: (BooleanConstructor | ObjectConstructor)[];
|
|
142
|
+
resetMethod: FunctionConstructor;
|
|
143
|
+
showHideAll: BooleanConstructor;
|
|
144
|
+
fixedSorting: BooleanConstructor;
|
|
145
|
+
tiny_mode: StringConstructor;
|
|
146
|
+
tiny_mode_root: BooleanConstructor;
|
|
147
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
148
|
+
tiny_renderless: FunctionConstructor;
|
|
149
|
+
tiny_theme: StringConstructor;
|
|
150
|
+
tiny_chart_theme: ObjectConstructor;
|
|
151
|
+
}>> & {
|
|
152
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
onShowModal?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onSaveSettings?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
onResetSettings?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
onCancelSettings?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
}, {
|
|
158
|
+
value: boolean;
|
|
159
|
+
data: unknown[];
|
|
160
|
+
keys: unknown[];
|
|
161
|
+
tiny_mode_root: boolean;
|
|
162
|
+
refresh: boolean;
|
|
163
|
+
other: boolean;
|
|
164
|
+
initSettings: Record<string, any>;
|
|
165
|
+
numberSorting: boolean;
|
|
166
|
+
showHideAll: boolean;
|
|
167
|
+
fixedSorting: boolean;
|
|
168
|
+
}, {}>;
|
|
2
169
|
export default _default;
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,196 @@
|
|
|
1
|
-
|
|
1
|
+
import { hooks } from '@opentinyvue/vue-common';
|
|
2
|
+
declare const _default: hooks.DefineComponent<{
|
|
3
|
+
id: StringConstructor;
|
|
4
|
+
loading: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
customMode: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: () => any;
|
|
11
|
+
};
|
|
12
|
+
resizable: {
|
|
13
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
14
|
+
default: () => {
|
|
15
|
+
storage: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
refresh: {
|
|
19
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
20
|
+
default: () => any;
|
|
21
|
+
};
|
|
22
|
+
setting: {
|
|
23
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
24
|
+
default: () => any;
|
|
25
|
+
};
|
|
26
|
+
fullScreen: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
buttons: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
size: StringConstructor;
|
|
35
|
+
data: ArrayConstructor;
|
|
36
|
+
customs: ArrayConstructor;
|
|
37
|
+
beforeOpenFullScreen: FunctionConstructor;
|
|
38
|
+
beforeCloseFullScreen: FunctionConstructor;
|
|
39
|
+
resetMethod: FunctionConstructor;
|
|
40
|
+
tiny_mode: StringConstructor;
|
|
41
|
+
tiny_mode_root: BooleanConstructor;
|
|
42
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
43
|
+
tiny_renderless: FunctionConstructor;
|
|
44
|
+
tiny_theme: StringConstructor;
|
|
45
|
+
tiny_chart_theme: ObjectConstructor;
|
|
46
|
+
}, {
|
|
47
|
+
slots: Readonly<{
|
|
48
|
+
[name: string]: hooks.Slot<any> | undefined;
|
|
49
|
+
}>;
|
|
50
|
+
tableListeners: any;
|
|
51
|
+
}, {
|
|
52
|
+
table: null;
|
|
53
|
+
isRefresh: boolean;
|
|
54
|
+
tableFullColumn: never[];
|
|
55
|
+
initSettings: {
|
|
56
|
+
pageSizes: never[];
|
|
57
|
+
pageSize: number;
|
|
58
|
+
sortType: string;
|
|
59
|
+
showIndex: boolean;
|
|
60
|
+
multipleHistory: {
|
|
61
|
+
tableMaxHeight: string;
|
|
62
|
+
showTitle: boolean;
|
|
63
|
+
title: string;
|
|
64
|
+
showSave: boolean;
|
|
65
|
+
saveDisabled: boolean;
|
|
66
|
+
saveText: string;
|
|
67
|
+
labelText: string;
|
|
68
|
+
selectPlaceholder: string;
|
|
69
|
+
selectDisabled: boolean;
|
|
70
|
+
showApply: boolean;
|
|
71
|
+
applyDisabled: boolean;
|
|
72
|
+
applyTitle: string;
|
|
73
|
+
applyIcon: null;
|
|
74
|
+
showEdit: boolean;
|
|
75
|
+
editDisabled: boolean;
|
|
76
|
+
editTitle: string;
|
|
77
|
+
editIcon: null;
|
|
78
|
+
showDel: boolean;
|
|
79
|
+
delDisabled: boolean;
|
|
80
|
+
delTitle: string;
|
|
81
|
+
delIcon: null;
|
|
82
|
+
storageKey: string;
|
|
83
|
+
remoteMethod: null;
|
|
84
|
+
userKey: string;
|
|
85
|
+
remoteSelectedMethod: null;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
settingStore: {
|
|
89
|
+
visible: boolean;
|
|
90
|
+
customVisible: boolean;
|
|
91
|
+
};
|
|
92
|
+
isFull: boolean;
|
|
93
|
+
}, {
|
|
94
|
+
vSize(): any;
|
|
95
|
+
refreshOpts(): any;
|
|
96
|
+
resizableOpts(): any;
|
|
97
|
+
settingOpts(): any;
|
|
98
|
+
}, {
|
|
99
|
+
updateTemplateList(): void;
|
|
100
|
+
updateSelectedTemplate(val: any): void;
|
|
101
|
+
settingBtnClick(): any;
|
|
102
|
+
updateConf(): void;
|
|
103
|
+
closeSetting(): void;
|
|
104
|
+
openSetting(): void;
|
|
105
|
+
showAllColumns(): void;
|
|
106
|
+
hideAllColumns(): void;
|
|
107
|
+
orderSetting(): {
|
|
108
|
+
fileds: any;
|
|
109
|
+
property: any;
|
|
110
|
+
order: any;
|
|
111
|
+
prop: any;
|
|
112
|
+
}[];
|
|
113
|
+
loadColWidth(): {} | undefined;
|
|
114
|
+
loadStorage(): void;
|
|
115
|
+
updateColumn(fullColumn: any): void;
|
|
116
|
+
updateCustoms(customs: any): void;
|
|
117
|
+
getStorageMap(key: any): any;
|
|
118
|
+
saveCustomSettings(columnConfigs: any): Promise<void>;
|
|
119
|
+
savePagerSettings(settingConfigs: any): Promise<void>;
|
|
120
|
+
saveColumnHide(): Promise<void>;
|
|
121
|
+
saveColumnWidth(isReset: any): Promise<void>;
|
|
122
|
+
resetResizable(): void;
|
|
123
|
+
updateResizable(isReset: any): any;
|
|
124
|
+
updateSetting(): Promise<any>;
|
|
125
|
+
applySettings({ columns, pageSize, updatedSorting }: {
|
|
126
|
+
columns: any;
|
|
127
|
+
pageSize: any;
|
|
128
|
+
updatedSorting: any;
|
|
129
|
+
}): void;
|
|
130
|
+
handleSaveSettings(settingConfigs: any, visible: any, updatedSorting: any): void;
|
|
131
|
+
handleGlobalMousedownEvent(event: any): void;
|
|
132
|
+
handleGlobalBlurEvent(): void;
|
|
133
|
+
handleClickSettingEvent(): void;
|
|
134
|
+
handleClickCustomEvent(): void;
|
|
135
|
+
handleMouseenterSettingEvent(): void;
|
|
136
|
+
handleMouseleaveSettingEvent(): void;
|
|
137
|
+
handleWrapperMouseenterEvent(): void;
|
|
138
|
+
handleWrapperMouseleaveEvent(): void;
|
|
139
|
+
refreshEvent(): void;
|
|
140
|
+
btnEvent(event: any, item: any): void;
|
|
141
|
+
fullscreenEvent(): void;
|
|
142
|
+
}, hooks.ComponentOptionsMixin, hooks.ComponentOptionsMixin, {}, string, hooks.PublicProps, Readonly<hooks.ExtractPropTypes<{
|
|
143
|
+
id: StringConstructor;
|
|
144
|
+
loading: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
customMode: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: () => any;
|
|
151
|
+
};
|
|
152
|
+
resizable: {
|
|
153
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
154
|
+
default: () => {
|
|
155
|
+
storage: boolean;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
refresh: {
|
|
159
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
160
|
+
default: () => any;
|
|
161
|
+
};
|
|
162
|
+
setting: {
|
|
163
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
164
|
+
default: () => any;
|
|
165
|
+
};
|
|
166
|
+
fullScreen: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
buttons: {
|
|
171
|
+
type: ArrayConstructor;
|
|
172
|
+
default: () => never[];
|
|
173
|
+
};
|
|
174
|
+
size: StringConstructor;
|
|
175
|
+
data: ArrayConstructor;
|
|
176
|
+
customs: ArrayConstructor;
|
|
177
|
+
beforeOpenFullScreen: FunctionConstructor;
|
|
178
|
+
beforeCloseFullScreen: FunctionConstructor;
|
|
179
|
+
resetMethod: FunctionConstructor;
|
|
180
|
+
tiny_mode: StringConstructor;
|
|
181
|
+
tiny_mode_root: BooleanConstructor;
|
|
182
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
183
|
+
tiny_renderless: FunctionConstructor;
|
|
184
|
+
tiny_theme: StringConstructor;
|
|
185
|
+
tiny_chart_theme: ObjectConstructor;
|
|
186
|
+
}>>, {
|
|
187
|
+
loading: boolean;
|
|
188
|
+
tiny_mode_root: boolean;
|
|
189
|
+
refresh: boolean | Record<string, any>;
|
|
190
|
+
setting: boolean | Record<string, any>;
|
|
191
|
+
resizable: boolean | Record<string, any>;
|
|
192
|
+
buttons: unknown[];
|
|
193
|
+
customMode: string;
|
|
194
|
+
fullScreen: boolean;
|
|
195
|
+
}, {}>;
|
|
2
196
|
export default _default;
|