@antv/s2-vue 1.0.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/README.md +389 -0
- package/dist/index.min.js +2 -0
- package/dist/index.min.js.map +1 -0
- package/dist/style.min.css +1 -0
- package/esm/common/constant/index.d.ts +3 -0
- package/esm/common/constant/index.d.ts.map +1 -0
- package/esm/common/constant/options.d.ts +3 -0
- package/esm/common/constant/options.d.ts.map +1 -0
- package/esm/common/constant/sort.d.ts +15 -0
- package/esm/common/constant/sort.d.ts.map +1 -0
- package/esm/components/index.d.ts +5 -0
- package/esm/components/index.d.ts.map +1 -0
- package/esm/components/pagination/index.vue.d.ts +43 -0
- package/esm/components/pagination/index.vue.d.ts.map +1 -0
- package/esm/components/sheets/base-sheet.vue.d.ts +287 -0
- package/esm/components/sheets/base-sheet.vue.d.ts.map +1 -0
- package/esm/components/sheets/index.vue.d.ts +432 -0
- package/esm/components/sheets/index.vue.d.ts.map +1 -0
- package/esm/components/sheets/pivot-sheet.vue.d.ts +217 -0
- package/esm/components/sheets/pivot-sheet.vue.d.ts.map +1 -0
- package/esm/components/sheets/table-sheet.vue.d.ts +217 -0
- package/esm/components/sheets/table-sheet.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/detail.vue.d.ts +7 -0
- package/esm/components/tooltip/components/detail.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/head-info.vue.d.ts +7 -0
- package/esm/components/tooltip/components/head-info.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/infos.vue.d.ts +7 -0
- package/esm/components/tooltip/components/infos.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/operator/index.d.ts +4 -0
- package/esm/components/tooltip/components/operator/index.d.ts.map +1 -0
- package/esm/components/tooltip/components/operator/index.vue.d.ts +11 -0
- package/esm/components/tooltip/components/operator/index.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/operator/menu.vue.d.ts +12 -0
- package/esm/components/tooltip/components/operator/menu.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/operator/title.vue.d.ts +11 -0
- package/esm/components/tooltip/components/operator/title.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/simple-tips.vue.d.ts +7 -0
- package/esm/components/tooltip/components/simple-tips.vue.d.ts.map +1 -0
- package/esm/components/tooltip/components/summary.vue.d.ts +9 -0
- package/esm/components/tooltip/components/summary.vue.d.ts.map +1 -0
- package/esm/components/tooltip/custom-tooltip.d.ts +7 -0
- package/esm/components/tooltip/custom-tooltip.d.ts.map +1 -0
- package/esm/components/tooltip/index.vue.d.ts +8 -0
- package/esm/components/tooltip/index.vue.d.ts.map +1 -0
- package/esm/components/tooltip/interface.d.ts +9 -0
- package/esm/components/tooltip/interface.d.ts.map +1 -0
- package/esm/hooks/useEvents.d.ts +5 -0
- package/esm/hooks/useEvents.d.ts.map +1 -0
- package/esm/hooks/useExpose.d.ts +6 -0
- package/esm/hooks/useExpose.d.ts.map +1 -0
- package/esm/hooks/useLoading.d.ts +7 -0
- package/esm/hooks/useLoading.d.ts.map +1 -0
- package/esm/hooks/usePagination.d.ts +14 -0
- package/esm/hooks/usePagination.d.ts.map +1 -0
- package/esm/hooks/useResize.d.ts +8 -0
- package/esm/hooks/useResize.d.ts.map +1 -0
- package/esm/hooks/useSheetUpdate.d.ts +5 -0
- package/esm/hooks/useSheetUpdate.d.ts.map +1 -0
- package/esm/hooks/useSpreadSheet.d.ts +19 -0
- package/esm/hooks/useSpreadSheet.d.ts.map +1 -0
- package/esm/index.d.ts +4 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +2379 -0
- package/esm/index.js.map +1 -0
- package/esm/interface.d.ts +36 -0
- package/esm/interface.d.ts.map +1 -0
- package/esm/style.css +208 -0
- package/esm/utils/extendLocale.d.ts +2 -0
- package/esm/utils/extendLocale.d.ts.map +1 -0
- package/esm/utils/initPropAndEmits.d.ts +137 -0
- package/esm/utils/initPropAndEmits.d.ts.map +1 -0
- package/esm/utils/options.d.ts +3 -0
- package/esm/utils/options.d.ts.map +1 -0
- package/esm/utils/traverse.d.ts +2 -0
- package/esm/utils/traverse.d.ts.map +1 -0
- package/lib/index.js +2385 -0
- package/lib/index.js.map +1 -0
- package/lib/style.css +208 -0
- package/package.json +88 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const SORT_METHOD: {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const RULE_OPTIONS: ({
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
children?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
children: never[];
|
|
13
|
+
})[];
|
|
14
|
+
export declare const ADVANCED_PRE_CLS = "antv-s2-advanced-sort";
|
|
15
|
+
//# sourceMappingURL=sort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../src/common/constant/sort.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;GASvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;IAcxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as BaseSheet } from './sheets/base-sheet.vue';
|
|
2
|
+
export { default as PivotSheet } from './sheets/pivot-sheet.vue';
|
|
3
|
+
export { default as TableSheet } from './sheets/table-sheet.vue';
|
|
4
|
+
export { default as Sheet } from './sheets/index.vue';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
current: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
total: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
pageSize: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
showQuickJumper: import("vue").ComputedRef<boolean>;
|
|
16
|
+
PRE_CLASS: string;
|
|
17
|
+
i18n: (key: string, defaultValue?: string | undefined) => string;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
change: (current: number) => void;
|
|
20
|
+
showSizeChange: (size: number) => void;
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
current: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
total: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
pageSize: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
onChange?: ((current: number) => any) | undefined;
|
|
36
|
+
onShowSizeChange?: ((size: number) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
current: number;
|
|
39
|
+
total: number;
|
|
40
|
+
pageSize: number;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/index.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;sBA6BsB,MAAM,KAAK,IAAI;2BACV,MAAM,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;AAlB1C,wBAmCG"}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
sheetType: import("vue").PropType<import("@antv/s2-shared").SheetType>;
|
|
3
|
+
dataCfg: import("vue").PropType<import("@antv/s2").S2DataConfig>;
|
|
4
|
+
themeCfg: import("vue").PropType<import("@antv/s2").ThemeCfg>;
|
|
5
|
+
showPagination: {
|
|
6
|
+
type: import("vue").PropType<boolean | {
|
|
7
|
+
onShowSizeChange?: ((pageSize: number) => void) | undefined;
|
|
8
|
+
onChange?: ((current: number) => void) | undefined;
|
|
9
|
+
} | undefined>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
loading: BooleanConstructor;
|
|
13
|
+
partDrillDown: ObjectConstructor;
|
|
14
|
+
header: ObjectConstructor;
|
|
15
|
+
options: {
|
|
16
|
+
type: import("vue").PropType<import("@antv/s2").S2Options<string | Element>>;
|
|
17
|
+
default: import("@antv/s2").S2Options<string | Element>;
|
|
18
|
+
};
|
|
19
|
+
adaptive: {
|
|
20
|
+
type: import("vue").PropType<import("@antv/s2-shared").Adaptive>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
onSpreadsheet: import("vue").PropType<((args_0: import("@antv/s2").S2MountContainer, args_1: import("@antv/s2").S2DataConfig, args_2: import("@antv/s2").S2Options<string | Element>) => import("@antv/s2").SpreadSheet) | undefined>;
|
|
24
|
+
onGetSpreadSheet: import("vue").PropType<((spreadsheet: import("@antv/s2").SpreadSheet) => void) | undefined>;
|
|
25
|
+
}, {
|
|
26
|
+
S2_PREFIX_CLS: string;
|
|
27
|
+
wrapperRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
28
|
+
containerRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
29
|
+
s2Ref: import("vue").ShallowRef<import("@antv/s2").SpreadSheet | undefined>;
|
|
30
|
+
loading: import("vue").Ref<boolean>;
|
|
31
|
+
pagination: {
|
|
32
|
+
visible: import("vue").ComputedRef<boolean | undefined>;
|
|
33
|
+
current: import("vue").Ref<number>;
|
|
34
|
+
pageSize: import("vue").Ref<number>;
|
|
35
|
+
total: import("vue").Ref<number>;
|
|
36
|
+
change: (nextCurrent: number) => void;
|
|
37
|
+
showSizeChange: (nextPageSize: number) => void;
|
|
38
|
+
};
|
|
39
|
+
handlePageChange: (nextCurrent: number) => void;
|
|
40
|
+
handlePageSizeChange: (nextSize: number) => void;
|
|
41
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
spreadsheet: (args_0: import("@antv/s2").S2MountContainer, args_1: import("@antv/s2").S2DataConfig, args_2: import("@antv/s2").S2Options<string | Element>) => import("@antv/s2").SpreadSheet;
|
|
43
|
+
getSpreadSheet: (spreadsheet: import("@antv/s2").SpreadSheet) => void;
|
|
44
|
+
sheetUpdate: import("@antv/s2-shared").SheetUpdateCallback;
|
|
45
|
+
rowCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
46
|
+
rowCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
47
|
+
rowCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
48
|
+
rowCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
49
|
+
rowCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
50
|
+
rowCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
51
|
+
rowCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
52
|
+
rowCellCollapseTreeRows: (params: {
|
|
53
|
+
id: number;
|
|
54
|
+
isCollapsed: boolean;
|
|
55
|
+
node: import("@antv/s2").Node;
|
|
56
|
+
}) => void;
|
|
57
|
+
colCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
58
|
+
colCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
59
|
+
colCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
60
|
+
colCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
61
|
+
colCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
62
|
+
colCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
63
|
+
colCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
64
|
+
dataCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
65
|
+
dataCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
66
|
+
dataCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
67
|
+
dataCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
68
|
+
dataCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
69
|
+
dataCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
70
|
+
dataCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
71
|
+
dataCellTrendIconClick: (meta: import("@antv/s2").ViewMeta) => void;
|
|
72
|
+
dataCellBrushSelection: (brushRangeDataCells: import("@antv/s2").DataCell[]) => void;
|
|
73
|
+
cornerCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
74
|
+
cornerCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
75
|
+
cornerCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
76
|
+
cornerCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
77
|
+
cornerCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
78
|
+
cornerCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
79
|
+
cornerCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
80
|
+
mergedCellsHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
81
|
+
mergedCellsClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
82
|
+
mergedCellsDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
83
|
+
mergedCellsContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
84
|
+
mergedCellsMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
85
|
+
mergedCellsMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
86
|
+
mergedCellsMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
87
|
+
rangeSort: (params: import("@antv/s2").SortParams) => void;
|
|
88
|
+
rangeSorted: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
89
|
+
rangeFilter: (data: {
|
|
90
|
+
filterKey: string;
|
|
91
|
+
filteredValues: string[];
|
|
92
|
+
}) => void;
|
|
93
|
+
rangeFiltered: (data: import("@antv/s2").DataType[]) => void;
|
|
94
|
+
layoutAfterHeaderLayout: (layoutResult: import("@antv/s2").LayoutResult) => void;
|
|
95
|
+
layoutPagination: (data: {
|
|
96
|
+
pageSize: number;
|
|
97
|
+
pageCount: number;
|
|
98
|
+
total: number;
|
|
99
|
+
current: number;
|
|
100
|
+
}) => void;
|
|
101
|
+
layoutCellScroll: (position: import("@antv/s2").CellScrollPosition) => void;
|
|
102
|
+
layoutAfterCollapseRows: (data: import("@antv/s2").CollapsedRowsType) => void;
|
|
103
|
+
collapseRowsAll: (hierarchyCollapse: boolean) => void;
|
|
104
|
+
layoutColsExpanded: (node: import("@antv/s2").Node) => void;
|
|
105
|
+
layoutColsHidden: (data: {
|
|
106
|
+
currentHiddenColumnsInfo: import("@antv/s2").HiddenColumnsInfo;
|
|
107
|
+
hiddenColumnsDetail: import("@antv/s2").HiddenColumnsInfo[];
|
|
108
|
+
}) => void;
|
|
109
|
+
beforeRender: () => void;
|
|
110
|
+
afterRender: () => void;
|
|
111
|
+
destroy: () => void;
|
|
112
|
+
layoutResize: (params: import("@antv/s2").ResizeParams) => void;
|
|
113
|
+
layoutResizeSeriesWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
114
|
+
layoutResizeRowWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
115
|
+
layoutResizeRowHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
116
|
+
layoutResizeColWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
117
|
+
layoutResizeColHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
118
|
+
layoutResizeTreeWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
119
|
+
layoutResizeMouseDown: (data: {
|
|
120
|
+
event: Partial<MouseEvent>;
|
|
121
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
122
|
+
}) => void;
|
|
123
|
+
layoutResizeMouseUp: (data: {
|
|
124
|
+
event: Partial<MouseEvent>;
|
|
125
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
126
|
+
}) => void;
|
|
127
|
+
layoutResizeMouseMove: (data: {
|
|
128
|
+
event: Partial<MouseEvent>;
|
|
129
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
130
|
+
}) => void;
|
|
131
|
+
keyBoardDown: (event: KeyboardEvent) => void;
|
|
132
|
+
keyBoardUp: (event: KeyboardEvent) => void;
|
|
133
|
+
copied: (copyData: string) => void;
|
|
134
|
+
actionIconHover: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
135
|
+
actionIconClick: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
136
|
+
contextMenu: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
137
|
+
click: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
138
|
+
doubleClick: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
139
|
+
mouseHover: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
140
|
+
mouseUp: (event: MouseEvent) => void;
|
|
141
|
+
selected: (cells: import("@antv/s2").DataCell[]) => void;
|
|
142
|
+
reset: (event: KeyboardEvent) => void;
|
|
143
|
+
linkFieldJump: (data: {
|
|
144
|
+
key: string;
|
|
145
|
+
record: import("@antv/s2").Data;
|
|
146
|
+
}) => void;
|
|
147
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
+
sheetType: import("vue").PropType<import("@antv/s2-shared").SheetType>;
|
|
149
|
+
dataCfg: import("vue").PropType<import("@antv/s2").S2DataConfig>;
|
|
150
|
+
themeCfg: import("vue").PropType<import("@antv/s2").ThemeCfg>;
|
|
151
|
+
showPagination: {
|
|
152
|
+
type: import("vue").PropType<boolean | {
|
|
153
|
+
onShowSizeChange?: ((pageSize: number) => void) | undefined;
|
|
154
|
+
onChange?: ((current: number) => void) | undefined;
|
|
155
|
+
} | undefined>;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
loading: BooleanConstructor;
|
|
159
|
+
partDrillDown: ObjectConstructor;
|
|
160
|
+
header: ObjectConstructor;
|
|
161
|
+
options: {
|
|
162
|
+
type: import("vue").PropType<import("@antv/s2").S2Options<string | Element>>;
|
|
163
|
+
default: import("@antv/s2").S2Options<string | Element>;
|
|
164
|
+
};
|
|
165
|
+
adaptive: {
|
|
166
|
+
type: import("vue").PropType<import("@antv/s2-shared").Adaptive>;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
onSpreadsheet: import("vue").PropType<((args_0: import("@antv/s2").S2MountContainer, args_1: import("@antv/s2").S2DataConfig, args_2: import("@antv/s2").S2Options<string | Element>) => import("@antv/s2").SpreadSheet) | undefined>;
|
|
170
|
+
onGetSpreadSheet: import("vue").PropType<((spreadsheet: import("@antv/s2").SpreadSheet) => void) | undefined>;
|
|
171
|
+
}>> & {
|
|
172
|
+
onClick?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
173
|
+
onSheetUpdate?: ((params: import("@antv/s2").S2RenderOptions) => any) | undefined;
|
|
174
|
+
onRowCellHover?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
175
|
+
onRowCellClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
176
|
+
onRowCellDoubleClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
177
|
+
onRowCellContextMenu?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
178
|
+
onRowCellMouseDown?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
179
|
+
onRowCellMouseUp?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
180
|
+
onRowCellMouseMove?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
181
|
+
onRowCellCollapseTreeRows?: ((params: {
|
|
182
|
+
id: number;
|
|
183
|
+
isCollapsed: boolean;
|
|
184
|
+
node: import("@antv/s2").Node;
|
|
185
|
+
}) => any) | undefined;
|
|
186
|
+
onColCellHover?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
187
|
+
onColCellClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
188
|
+
onColCellDoubleClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
189
|
+
onColCellContextMenu?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
190
|
+
onColCellMouseDown?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
191
|
+
onColCellMouseUp?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
192
|
+
onColCellMouseMove?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
193
|
+
onDataCellHover?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
194
|
+
onDataCellClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
195
|
+
onDataCellDoubleClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
196
|
+
onDataCellContextMenu?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
197
|
+
onDataCellMouseDown?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
198
|
+
onDataCellMouseUp?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
199
|
+
onDataCellMouseMove?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
200
|
+
onDataCellTrendIconClick?: ((meta: import("@antv/s2").ViewMeta) => any) | undefined;
|
|
201
|
+
onDataCellBrushSelection?: ((brushRangeDataCells: import("@antv/s2").DataCell[]) => any) | undefined;
|
|
202
|
+
onCornerCellHover?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
203
|
+
onCornerCellClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
204
|
+
onCornerCellDoubleClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
205
|
+
onCornerCellContextMenu?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
206
|
+
onCornerCellMouseDown?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
207
|
+
onCornerCellMouseUp?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
208
|
+
onCornerCellMouseMove?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
209
|
+
onMergedCellsHover?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
210
|
+
onMergedCellsClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
211
|
+
onMergedCellsDoubleClick?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
212
|
+
onMergedCellsContextMenu?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
213
|
+
onMergedCellsMouseDown?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
214
|
+
onMergedCellsMouseUp?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
215
|
+
onMergedCellsMouseMove?: ((data: import("@antv/s2").TargetCellInfo) => any) | undefined;
|
|
216
|
+
onRangeSort?: ((params: import("@antv/s2").SortParams) => any) | undefined;
|
|
217
|
+
onRangeSorted?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
218
|
+
onRangeFilter?: ((data: {
|
|
219
|
+
filterKey: string;
|
|
220
|
+
filteredValues: string[];
|
|
221
|
+
}) => any) | undefined;
|
|
222
|
+
onRangeFiltered?: ((data: import("@antv/s2").DataType[]) => any) | undefined;
|
|
223
|
+
onLayoutAfterHeaderLayout?: ((layoutResult: import("@antv/s2").LayoutResult) => any) | undefined;
|
|
224
|
+
onLayoutPagination?: ((data: {
|
|
225
|
+
pageSize: number;
|
|
226
|
+
pageCount: number;
|
|
227
|
+
total: number;
|
|
228
|
+
current: number;
|
|
229
|
+
}) => any) | undefined;
|
|
230
|
+
onLayoutCellScroll?: ((position: import("@antv/s2").CellScrollPosition) => any) | undefined;
|
|
231
|
+
onLayoutAfterCollapseRows?: ((data: import("@antv/s2").CollapsedRowsType) => any) | undefined;
|
|
232
|
+
onCollapseRowsAll?: ((hierarchyCollapse: boolean) => any) | undefined;
|
|
233
|
+
onLayoutColsExpanded?: ((node: import("@antv/s2").Node) => any) | undefined;
|
|
234
|
+
onLayoutColsHidden?: ((data: {
|
|
235
|
+
currentHiddenColumnsInfo: import("@antv/s2").HiddenColumnsInfo;
|
|
236
|
+
hiddenColumnsDetail: import("@antv/s2").HiddenColumnsInfo[];
|
|
237
|
+
}) => any) | undefined;
|
|
238
|
+
onBeforeRender?: (() => any) | undefined;
|
|
239
|
+
onAfterRender?: (() => any) | undefined;
|
|
240
|
+
onDestroy?: (() => any) | undefined;
|
|
241
|
+
onLayoutResize?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
242
|
+
onLayoutResizeSeriesWidth?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
243
|
+
onLayoutResizeRowWidth?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
244
|
+
onLayoutResizeRowHeight?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
245
|
+
onLayoutResizeColWidth?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
246
|
+
onLayoutResizeColHeight?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
247
|
+
onLayoutResizeTreeWidth?: ((params: import("@antv/s2").ResizeParams) => any) | undefined;
|
|
248
|
+
onLayoutResizeMouseDown?: ((data: {
|
|
249
|
+
event: Partial<MouseEvent>;
|
|
250
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
251
|
+
}) => any) | undefined;
|
|
252
|
+
onLayoutResizeMouseUp?: ((data: {
|
|
253
|
+
event: Partial<MouseEvent>;
|
|
254
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
255
|
+
}) => any) | undefined;
|
|
256
|
+
onLayoutResizeMouseMove?: ((data: {
|
|
257
|
+
event: Partial<MouseEvent>;
|
|
258
|
+
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
259
|
+
}) => any) | undefined;
|
|
260
|
+
onKeyBoardDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
261
|
+
onKeyBoardUp?: ((event: KeyboardEvent) => any) | undefined;
|
|
262
|
+
onCopied?: ((copyData: string) => any) | undefined;
|
|
263
|
+
onActionIconHover?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
264
|
+
onActionIconClick?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
265
|
+
onContextMenu?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
266
|
+
onDoubleClick?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
267
|
+
onMouseHover?: ((event: import("@antv/g-base/lib/event/graph-event").default) => any) | undefined;
|
|
268
|
+
onMouseUp?: ((event: MouseEvent) => any) | undefined;
|
|
269
|
+
onSelected?: ((cells: import("@antv/s2").DataCell[]) => any) | undefined;
|
|
270
|
+
onReset?: ((event: KeyboardEvent) => any) | undefined;
|
|
271
|
+
onLinkFieldJump?: ((data: {
|
|
272
|
+
key: string;
|
|
273
|
+
record: import("@antv/s2").Data;
|
|
274
|
+
}) => any) | undefined;
|
|
275
|
+
onSpreadsheet?: ((args_0: import("@antv/s2").S2MountContainer, args_1: import("@antv/s2").S2DataConfig, args_2: import("@antv/s2").S2Options<string | Element>) => any) | undefined;
|
|
276
|
+
onGetSpreadSheet?: ((spreadsheet: import("@antv/s2").SpreadSheet) => any) | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
adaptive: import("@antv/s2-shared").Adaptive;
|
|
279
|
+
options: import("@antv/s2").S2Options<string | Element>;
|
|
280
|
+
loading: boolean;
|
|
281
|
+
showPagination: boolean | {
|
|
282
|
+
onShowSizeChange?: ((pageSize: number) => void) | undefined;
|
|
283
|
+
onChange?: ((current: number) => void) | undefined;
|
|
284
|
+
} | undefined;
|
|
285
|
+
}>;
|
|
286
|
+
export default _default;
|
|
287
|
+
//# sourceMappingURL=base-sheet.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-sheet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sheets/base-sheet.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0B2C,MAAM;qCAOL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AArBlD,wBA2CG"}
|