@antv/s2-vue 2.0.0-next.9 → 2.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/LICENSE +21 -0
- package/README.md +7 -8
- package/dist/s2-vue.min.css +1 -0
- package/dist/s2-vue.min.js +28 -0
- package/dist/s2-vue.min.js.map +1 -0
- package/esm/common/constant/index.d.ts +1 -0
- package/esm/common/constant/index.js +2 -0
- package/esm/common/constant/index.js.map +1 -0
- package/esm/common/constant/options.d.ts +2 -0
- package/esm/common/constant/options.js +7 -0
- package/esm/common/constant/options.js.map +1 -0
- package/esm/components/drill-down/index.vue.d.ts +126 -0
- package/esm/components/drill-down/index.vue.js +206 -0
- package/esm/components/drill-down/index.vue.js.map +1 -0
- package/esm/components/index.d.ts +6 -0
- package/esm/components/index.js +8 -0
- package/esm/components/index.js.map +1 -0
- package/esm/components/pagination/index.vue.d.ts +44 -0
- package/esm/components/pagination/index.vue.js +91 -0
- package/esm/components/pagination/index.vue.js.map +1 -0
- package/esm/components/sheets/base-sheet.vue.d.ts +391 -0
- package/esm/components/sheets/base-sheet.vue.js +119 -0
- package/esm/components/sheets/base-sheet.vue.js.map +1 -0
- package/esm/components/sheets/editable-sheet.vue.d.ts +2 -0
- package/esm/components/sheets/editable-sheet.vue.js +181 -0
- package/esm/components/sheets/editable-sheet.vue.js.map +1 -0
- package/esm/components/sheets/index.vue.d.ts +251 -0
- package/esm/components/sheets/index.vue.js +77 -0
- package/esm/components/sheets/index.vue.js.map +1 -0
- package/esm/components/sheets/pivot-sheet.vue.d.ts +322 -0
- package/esm/components/sheets/pivot-sheet.vue.js +117 -0
- package/esm/components/sheets/pivot-sheet.vue.js.map +1 -0
- package/esm/components/sheets/table-sheet.vue.d.ts +250 -0
- package/esm/components/sheets/table-sheet.vue.js +61 -0
- package/esm/components/sheets/table-sheet.vue.js.map +1 -0
- package/esm/components/tooltip/components/detail.vue.d.ts +6 -0
- package/esm/components/tooltip/components/detail.vue.js +53 -0
- package/esm/components/tooltip/components/detail.vue.js.map +1 -0
- package/esm/components/tooltip/components/head-info.vue.d.ts +6 -0
- package/esm/components/tooltip/components/head-info.vue.js +61 -0
- package/esm/components/tooltip/components/head-info.vue.js.map +1 -0
- package/esm/components/tooltip/components/infos.vue.d.ts +6 -0
- package/esm/components/tooltip/components/infos.vue.js +49 -0
- package/esm/components/tooltip/components/infos.vue.js.map +1 -0
- package/esm/components/tooltip/components/operator/index.d.ts +3 -0
- package/esm/components/tooltip/components/operator/index.js +4 -0
- package/esm/components/tooltip/components/operator/index.js.map +1 -0
- package/esm/components/tooltip/components/operator/index.vue.d.ts +14 -0
- package/esm/components/tooltip/components/operator/index.vue.js +149 -0
- package/esm/components/tooltip/components/operator/index.vue.js.map +1 -0
- package/esm/components/tooltip/components/operator/menu.vue.d.ts +21 -0
- package/esm/components/tooltip/components/operator/menu.vue.js +146 -0
- package/esm/components/tooltip/components/operator/menu.vue.js.map +1 -0
- package/esm/components/tooltip/components/operator/title.vue.d.ts +10 -0
- package/esm/components/tooltip/components/operator/title.vue.js +54 -0
- package/esm/components/tooltip/components/operator/title.vue.js.map +1 -0
- package/esm/components/tooltip/components/simple-tips.vue.d.ts +6 -0
- package/esm/components/tooltip/components/simple-tips.vue.js +55 -0
- package/esm/components/tooltip/components/simple-tips.vue.js.map +1 -0
- package/esm/components/tooltip/components/summary.vue.d.ts +11 -0
- package/esm/components/tooltip/components/summary.vue.js +71 -0
- package/esm/components/tooltip/components/summary.vue.js.map +1 -0
- package/esm/components/tooltip/custom-tooltip.d.ts +6 -0
- package/esm/components/tooltip/custom-tooltip.js +36 -0
- package/esm/components/tooltip/custom-tooltip.js.map +1 -0
- package/esm/components/tooltip/index.vue.d.ts +13 -0
- package/esm/components/tooltip/index.vue.js +124 -0
- package/esm/components/tooltip/index.vue.js.map +1 -0
- package/esm/components/tooltip/interface.d.ts +8 -0
- package/esm/components/tooltip/interface.js +2 -0
- package/esm/components/tooltip/interface.js.map +1 -0
- package/esm/hooks/useEvents.d.ts +4 -0
- package/esm/hooks/useEvents.js +125 -0
- package/esm/hooks/useEvents.js.map +1 -0
- package/esm/hooks/useExpose.d.ts +5 -0
- package/esm/hooks/useExpose.js +11 -0
- package/esm/hooks/useExpose.js.map +1 -0
- package/esm/hooks/useLoading.d.ts +6 -0
- package/esm/hooks/useLoading.js +18 -0
- package/esm/hooks/useLoading.js.map +1 -0
- package/esm/hooks/usePagination.d.ts +70 -0
- package/esm/hooks/usePagination.js +68 -0
- package/esm/hooks/usePagination.js.map +1 -0
- package/esm/hooks/useResize.d.ts +7 -0
- package/esm/hooks/useResize.js +20 -0
- package/esm/hooks/useResize.js.map +1 -0
- package/esm/hooks/useSheetUpdate.d.ts +13 -0
- package/esm/hooks/useSheetUpdate.js +56 -0
- package/esm/hooks/useSheetUpdate.js.map +1 -0
- package/esm/hooks/useSpreadSheet.d.ts +75 -0
- package/esm/hooks/useSpreadSheet.js +60 -0
- package/esm/hooks/useSpreadSheet.js.map +1 -0
- package/esm/index.d.ts +4 -6184
- package/esm/index.js +5 -3363
- package/esm/index.js.map +1 -1
- package/esm/interface.d.ts +47 -0
- package/esm/interface.js +2 -0
- package/esm/interface.js.map +1 -0
- package/esm/svg/calendar-icon.svg +13 -0
- package/esm/svg/location-icon.svg +13 -0
- package/esm/svg/text-icon.svg +13 -0
- package/esm/utils/extendLocale.d.ts +1 -0
- package/esm/utils/extendLocale.js +3 -0
- package/esm/utils/extendLocale.js.map +1 -0
- package/esm/utils/initPropAndEmits.d.ts +204 -0
- package/esm/utils/initPropAndEmits.js +158 -0
- package/esm/utils/initPropAndEmits.js.map +1 -0
- package/esm/utils/options.d.ts +2 -0
- package/esm/utils/options.js +4 -0
- package/esm/utils/options.js.map +1 -0
- package/lib/common/constant/index.d.ts +1 -0
- package/lib/common/constant/index.js +5 -0
- package/lib/common/constant/index.js.map +1 -0
- package/lib/common/constant/options.d.ts +2 -0
- package/lib/common/constant/options.js +10 -0
- package/lib/common/constant/options.js.map +1 -0
- package/lib/components/drill-down/index.vue.d.ts +126 -0
- package/lib/components/drill-down/index.vue.js +209 -0
- package/lib/components/drill-down/index.vue.js.map +1 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/index.js +20 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/pagination/index.vue.d.ts +44 -0
- package/lib/components/pagination/index.vue.js +93 -0
- package/lib/components/pagination/index.vue.js.map +1 -0
- package/lib/components/sheets/base-sheet.vue.d.ts +391 -0
- package/lib/components/sheets/base-sheet.vue.js +122 -0
- package/lib/components/sheets/base-sheet.vue.js.map +1 -0
- package/lib/components/sheets/editable-sheet.vue.d.ts +2 -0
- package/lib/components/sheets/editable-sheet.vue.js +184 -0
- package/lib/components/sheets/editable-sheet.vue.js.map +1 -0
- package/lib/components/sheets/index.vue.d.ts +251 -0
- package/lib/components/sheets/index.vue.js +80 -0
- package/lib/components/sheets/index.vue.js.map +1 -0
- package/lib/components/sheets/pivot-sheet.vue.d.ts +322 -0
- package/lib/components/sheets/pivot-sheet.vue.js +120 -0
- package/lib/components/sheets/pivot-sheet.vue.js.map +1 -0
- package/lib/components/sheets/table-sheet.vue.d.ts +250 -0
- package/lib/components/sheets/table-sheet.vue.js +64 -0
- package/lib/components/sheets/table-sheet.vue.js.map +1 -0
- package/lib/components/tooltip/components/detail.vue.d.ts +6 -0
- package/lib/components/tooltip/components/detail.vue.js +55 -0
- package/lib/components/tooltip/components/detail.vue.js.map +1 -0
- package/lib/components/tooltip/components/head-info.vue.d.ts +6 -0
- package/lib/components/tooltip/components/head-info.vue.js +63 -0
- package/lib/components/tooltip/components/head-info.vue.js.map +1 -0
- package/lib/components/tooltip/components/infos.vue.d.ts +6 -0
- package/lib/components/tooltip/components/infos.vue.js +51 -0
- package/lib/components/tooltip/components/infos.vue.js.map +1 -0
- package/lib/components/tooltip/components/operator/index.d.ts +3 -0
- package/lib/components/tooltip/components/operator/index.js +13 -0
- package/lib/components/tooltip/components/operator/index.js.map +1 -0
- package/lib/components/tooltip/components/operator/index.vue.d.ts +14 -0
- package/lib/components/tooltip/components/operator/index.vue.js +152 -0
- package/lib/components/tooltip/components/operator/index.vue.js.map +1 -0
- package/lib/components/tooltip/components/operator/menu.vue.d.ts +21 -0
- package/lib/components/tooltip/components/operator/menu.vue.js +149 -0
- package/lib/components/tooltip/components/operator/menu.vue.js.map +1 -0
- package/lib/components/tooltip/components/operator/title.vue.d.ts +10 -0
- package/lib/components/tooltip/components/operator/title.vue.js +56 -0
- package/lib/components/tooltip/components/operator/title.vue.js.map +1 -0
- package/lib/components/tooltip/components/simple-tips.vue.d.ts +6 -0
- package/lib/components/tooltip/components/simple-tips.vue.js +57 -0
- package/lib/components/tooltip/components/simple-tips.vue.js.map +1 -0
- package/lib/components/tooltip/components/summary.vue.d.ts +11 -0
- package/lib/components/tooltip/components/summary.vue.js +73 -0
- package/lib/components/tooltip/components/summary.vue.js.map +1 -0
- package/lib/components/tooltip/custom-tooltip.d.ts +6 -0
- package/lib/components/tooltip/custom-tooltip.js +41 -0
- package/lib/components/tooltip/custom-tooltip.js.map +1 -0
- package/lib/components/tooltip/index.vue.d.ts +13 -0
- package/lib/components/tooltip/index.vue.js +127 -0
- package/lib/components/tooltip/index.vue.js.map +1 -0
- package/lib/components/tooltip/interface.d.ts +8 -0
- package/lib/components/tooltip/interface.js +3 -0
- package/lib/components/tooltip/interface.js.map +1 -0
- package/lib/hooks/useEvents.d.ts +4 -0
- package/lib/hooks/useEvents.js +129 -0
- package/lib/hooks/useEvents.js.map +1 -0
- package/lib/hooks/useExpose.d.ts +5 -0
- package/lib/hooks/useExpose.js +15 -0
- package/lib/hooks/useExpose.js.map +1 -0
- package/lib/hooks/useLoading.d.ts +6 -0
- package/lib/hooks/useLoading.js +22 -0
- package/lib/hooks/useLoading.js.map +1 -0
- package/lib/hooks/usePagination.d.ts +70 -0
- package/lib/hooks/usePagination.js +72 -0
- package/lib/hooks/usePagination.js.map +1 -0
- package/lib/hooks/useResize.d.ts +7 -0
- package/lib/hooks/useResize.js +24 -0
- package/lib/hooks/useResize.js.map +1 -0
- package/lib/hooks/useSheetUpdate.d.ts +13 -0
- package/lib/hooks/useSheetUpdate.js +60 -0
- package/lib/hooks/useSheetUpdate.js.map +1 -0
- package/lib/hooks/useSpreadSheet.d.ts +75 -0
- package/lib/hooks/useSpreadSheet.js +64 -0
- package/lib/hooks/useSpreadSheet.js.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +8 -3362
- package/lib/index.js.map +1 -1
- package/lib/interface.d.ts +47 -0
- package/lib/interface.js +3 -0
- package/lib/interface.js.map +1 -0
- package/lib/svg/calendar-icon.svg +13 -0
- package/lib/svg/location-icon.svg +13 -0
- package/lib/svg/text-icon.svg +13 -0
- package/lib/utils/extendLocale.d.ts +1 -0
- package/lib/utils/extendLocale.js +5 -0
- package/lib/utils/extendLocale.js.map +1 -0
- package/lib/utils/initPropAndEmits.d.ts +204 -0
- package/lib/utils/initPropAndEmits.js +165 -0
- package/lib/utils/initPropAndEmits.js.map +1 -0
- package/lib/utils/options.d.ts +2 -0
- package/lib/utils/options.js +8 -0
- package/lib/utils/options.js.map +1 -0
- package/package.json +63 -58
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/dist/style.min.css +0 -1
- package/esm/style.css +0 -393
- package/lib/style.css +0 -393
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { BaseDrillDownComponentProps, BaseSheetComponentProps, Pagination, PartDrillDown, S2Options, TooltipContentType } from '@antv/s2';
|
|
2
|
+
import type { UnionToIntersection } from '@vue/shared';
|
|
3
|
+
import type { PaginationProps } from 'ant-design-vue';
|
|
4
|
+
import type { PropType } from 'vue';
|
|
5
|
+
interface PropOption<T = any> {
|
|
6
|
+
type: PropType<T>;
|
|
7
|
+
default?: T;
|
|
8
|
+
}
|
|
9
|
+
interface RequiredPropOption<T = any> {
|
|
10
|
+
type?: PropType<T>;
|
|
11
|
+
required: true;
|
|
12
|
+
}
|
|
13
|
+
export type EmitFn<Options = Record<string, (...args: any[]) => any>, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : Record<string, any> extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{
|
|
14
|
+
[key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void;
|
|
15
|
+
}[Event]>;
|
|
16
|
+
type GetOptionalKeys<T> = keyof {
|
|
17
|
+
[K in keyof T as Pick<T, K> extends Required<Pick<T, K>> ? never : K]: K;
|
|
18
|
+
};
|
|
19
|
+
type IsEmitKey<Type> = Exclude<Type, undefined> extends (...args: any) => any ? true : false;
|
|
20
|
+
type TransformEmitKey<T> = T extends `on${infer R}` ? Uncapitalize<R> : T;
|
|
21
|
+
type GetPropKeys<T> = keyof {
|
|
22
|
+
[K in keyof T as IsEmitKey<T[K]> extends true ? never : K]: K;
|
|
23
|
+
};
|
|
24
|
+
type GetEmitKeys<T> = keyof {
|
|
25
|
+
[K in keyof T as IsEmitKey<T[K]> extends true ? TransformEmitKey<K> : never]: K;
|
|
26
|
+
};
|
|
27
|
+
export type GetInitProps<T, OptionalKeys = GetOptionalKeys<T>> = {
|
|
28
|
+
[K in keyof T as IsEmitKey<T[K]> extends true ? never : K]-?: K extends OptionalKeys ? PropOption<NonNullable<T[K]>> : RequiredPropOption<NonNullable<T[K]>>;
|
|
29
|
+
};
|
|
30
|
+
type GetInitEmits<T> = {
|
|
31
|
+
[K in keyof T as IsEmitKey<T[K]> extends true ? TransformEmitKey<K> : never]-?: T[K];
|
|
32
|
+
};
|
|
33
|
+
export type SheetComponentOptions = S2Options<TooltipContentType, Pagination & PaginationProps>;
|
|
34
|
+
export type SheetComponentProps = BaseSheetComponentProps<PartDrillDown, SheetComponentOptions> & {
|
|
35
|
+
showPagination?: boolean | {
|
|
36
|
+
onShowSizeChange?: (pageSize: number) => void;
|
|
37
|
+
onChange?: (current: number) => void;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type BaseSheetInitPropKeys = GetPropKeys<BaseSheetComponentProps>;
|
|
41
|
+
export type BaseSheetInitEmitKeys = GetEmitKeys<BaseSheetComponentProps>;
|
|
42
|
+
export type BaseSheetInitProps = GetInitProps<SheetComponentProps>;
|
|
43
|
+
export type BaseSheetInitEmits = GetInitEmits<BaseSheetComponentProps>;
|
|
44
|
+
export type BaseDrillDownProps = GetInitProps<BaseDrillDownComponentProps>;
|
|
45
|
+
export type BaseDrillDownEmitKeys = GetEmitKeys<BaseDrillDownComponentProps>;
|
|
46
|
+
export type BaseDrillDownEmits = GetInitEmits<BaseDrillDownComponentProps>;
|
|
47
|
+
export {};
|
package/lib/interface.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
class="antv-s2-icon"
|
|
3
|
+
viewBox="0 0 1024 1024"
|
|
4
|
+
version="1.1"
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
width="12.6"
|
|
7
|
+
height="12.6"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M950.016 898.016l-206.016-204.992Q832 586.016 832 448.032q0-159.008-112.512-271.488T448 64.032 176.512 176.544 64 448.032t112.512 271.488T448 832.032q138.016 0 244.992-88l206.016 206.016q10.016 10.016 24.992 10.016t26.016-10.016q10.016-11.008 10.016-26.016t-10.016-26.016zM568.992 736Q512 760 448 760T327.008 736q-56-24-99.488-67.488t-66.496-99.488q-24.992-56.992-24.992-120.992t24.992-120.992q23.008-56 66.496-99.488t99.488-67.488Q384 136.064 448 136.064t120.992 24q56 24 99.488 67.488t67.488 99.488q24 56.992 24 120.992t-24 120.992q-24 56-67.488 99.488T568.992 736z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
></path>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
class="antv-s2-icon"
|
|
3
|
+
viewBox="0 0 1024 1024"
|
|
4
|
+
version="1.1"
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
width="12.6"
|
|
7
|
+
height="12.6"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M511.804 222.338c-57.117 0-105.737 20.061-145.86 60.184-40.122 40.123-60.184 88.569-60.184 145.337 0 56.769 20.062 105.214 60.185 145.337 40.122 40.123 88.742 60.185 145.859 60.185 57.116 0 105.736-20.062 145.859-60.185 40.123-40.123 60.184-88.568 60.184-145.337 0-56.768-20.061-105.214-60.184-145.337-40.123-40.123-88.743-60.184-145.86-60.184z m0 338.619c-36.729 0-68.007-12.925-93.835-38.774-25.827-25.85-38.752-57.127-38.773-93.834-0.022-36.707 12.902-68.16 38.773-94.357 25.872-26.197 57.15-39.285 93.835-39.263 36.685 0.022 67.963 13.11 93.834 39.263 25.871 26.154 38.796 57.606 38.774 94.357-0.022 36.75-12.946 68.028-38.774 93.834-25.828 25.806-57.106 38.73-93.834 38.774z m366.165-295.766c-21.084-42.168-50.327-79.223-87.73-111.165-37.404-31.941-79.898-57.105-127.484-75.491C614.472 60.845 564.155 52 511.804 52c-52.352 0-103.006 8.845-151.963 26.535-46.911 18.364-89.069 43.528-126.472 75.491-37.403 31.964-66.647 69.019-87.731 111.165C123.879 308.71 113 353.923 113 400.835c0 65.95 15.982 132.924 47.945 200.92 26.524 56.441 63.58 112.198 111.165 167.27 62.556 73.435 134.632 138.71 216.227 195.827 6.81 4.765 14.459 7.148 22.945 7.148 8.485 0 16.47-2.383 23.956-7.148 81.595-57.79 153.67-123.067 216.227-195.828 47.608-55.767 84.663-111.524 111.165-167.27 31.963-67.995 47.945-134.969 47.945-200.919 0-46.912-10.88-92.126-32.638-135.644h0.032z m-40.797 136.656c0 55.07-13.6 111.513-40.798 169.326-23.129 49.631-56.452 99.948-99.97 150.95-52.351 61.208-113.885 117.65-184.6 169.326-70.716-51.676-132.25-108.118-184.6-169.326-42.844-51.002-76.167-101.319-99.971-150.95-27.198-57.791-40.797-114.57-40.797-170.338 0-36.032 8.159-70.716 24.478-104.05 16.994-32.638 40.45-61.882 70.368-87.73 30.592-26.525 65.276-47.26 104.05-62.209 40.797-14.97 82.954-22.455 126.472-22.455 43.517 0 85.675 7.485 126.472 22.455 38.752 14.97 73.436 35.706 104.05 62.208 30.593 25.85 54.048 55.093 70.367 87.731 16.32 34.009 24.479 69.03 24.479 105.062z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
></path>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
class="antv-s2-icon"
|
|
3
|
+
viewBox="0 0 1024 1024"
|
|
4
|
+
version="1.1"
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
width="12.6"
|
|
7
|
+
height="12.6"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M86.016 805.888H0L143.872 275.968h79.36l144.896 529.92H276.992l-29.696-109.056H115.2s-29.696 109.056-29.184 109.056zM225.28 613.376L181.248 455.68 138.24 613.376h87.04zM519.168 430.08c24.576-16.384 47.616-25.088 69.12-25.088 30.72 0 58.368 14.848 81.92 44.032 24.064 29.184 35.328 72.192 35.328 128.512 0 44.032-7.168 83.456-22.528 118.272-14.848 34.816-35.328 62.976-60.416 83.456-26.112 20.992-57.856 31.232-95.232 31.232-15.36-0.512-31.232-1.536-46.592-3.584-4.096-0.512-8.704-1.024-12.8-1.536h-66.56V256h81.92v206.336c11.264-12.8 23.04-23.552 35.84-32.256z m-35.328 157.184v135.168c13.824 3.072 26.112 4.608 37.376 4.608 27.648 0 50.176-11.776 69.12-36.352 19.456-25.088 28.672-59.392 28.672-104.96 0-32.256-5.12-55.296-14.848-70.144-9.216-13.824-18.432-19.968-28.672-19.968-12.288 0-27.136 7.68-44.544 24.064-16.896 16.896-32.768 39.424-47.104 67.584zM1013.76 794.624c-36.864 14.336-71.68 20.992-104.96 20.992-32.768 0.512-64.512-9.216-91.648-27.136-27.136-18.432-48.64-44.032-62.464-73.728-14.848-30.72-22.528-65.536-22.528-104.448 0-58.88 16.896-108.032 51.2-146.944 33.792-38.912 75.264-58.88 123.392-58.88 34.304 0 70.144 7.168 108.032 21.504l10.24 4.096v95.232l-20.992-10.752c-34.816-17.92-65.536-26.624-92.16-26.624-16.896 0-32.768 4.608-47.104 13.824-13.824 8.704-25.088 23.04-32.768 42.496-8.192 19.968-12.288 41.472-12.288 63.488 0 28.672 7.68 55.808 24.064 82.432 14.848 24.576 37.888 36.352 71.168 36.352 10.752 0 21.504-1.024 31.744-2.56 9.728-1.536 29.696-8.192 58.88-18.944l19.456-7.68v92.672l-11.264 4.608z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
></path>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extendLocale.js","sourceRoot":"","sources":["../../src/utils/extendLocale.ts"],"names":[],"mappings":";;AAAA,iCAAgD;AAEhD,IAAA,iBAAY,EAAC,WAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import type { Adaptive, BaseDrillDownDataSet, S2DataConfig, SheetType, ThemeCfg } from '@antv/s2';
|
|
2
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import type { BaseDrillDownEmits } from '../interface';
|
|
4
|
+
export declare const initBaseSheetProps: () => {
|
|
5
|
+
sheetType: PropType<SheetType>;
|
|
6
|
+
dataCfg: PropType<S2DataConfig>;
|
|
7
|
+
themeCfg: PropType<ThemeCfg>;
|
|
8
|
+
showPagination: {
|
|
9
|
+
type: PropType<boolean | {
|
|
10
|
+
onShowSizeChange?: (pageSize: number) => void;
|
|
11
|
+
onChange?: (current: number) => void;
|
|
12
|
+
}>;
|
|
13
|
+
default: boolean | {
|
|
14
|
+
onShowSizeChange?: (pageSize: number) => void;
|
|
15
|
+
onChange?: (current: number) => void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
loading: BooleanConstructor;
|
|
19
|
+
partDrillDown: ObjectConstructor;
|
|
20
|
+
header: ObjectConstructor;
|
|
21
|
+
options: {
|
|
22
|
+
type: PropType<import("../interface").SheetComponentOptions>;
|
|
23
|
+
default: import("../interface").SheetComponentOptions;
|
|
24
|
+
};
|
|
25
|
+
adaptive: {
|
|
26
|
+
type: PropType<Adaptive>;
|
|
27
|
+
default: Adaptive;
|
|
28
|
+
};
|
|
29
|
+
spreadsheet: PropType<(container: import("@antv/s2").S2MountContainer, dataCfg: S2DataConfig, options: import("../interface").SheetComponentOptions) => import("@antv/s2").SpreadSheet>;
|
|
30
|
+
onMounted: PropType<(spreadsheet: import("@antv/s2").SpreadSheet) => void>;
|
|
31
|
+
onUpdate: PropType<(renderOptions: import("@antv/s2").S2RenderOptions) => void | import("@antv/s2").S2RenderOptions>;
|
|
32
|
+
onUpdateAfterRender: PropType<(renderOptions: import("@antv/s2").S2RenderOptions) => void>;
|
|
33
|
+
};
|
|
34
|
+
export declare const initDrillDownProps: () => {
|
|
35
|
+
className: StringConstructor;
|
|
36
|
+
title: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
searchText: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
clearText: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
extra: {
|
|
49
|
+
new (): Node;
|
|
50
|
+
prototype: Node;
|
|
51
|
+
readonly ELEMENT_NODE: 1;
|
|
52
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
53
|
+
readonly TEXT_NODE: 3;
|
|
54
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
55
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
56
|
+
readonly ENTITY_NODE: 6;
|
|
57
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
58
|
+
readonly COMMENT_NODE: 8;
|
|
59
|
+
readonly DOCUMENT_NODE: 9;
|
|
60
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
61
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
62
|
+
readonly NOTATION_NODE: 12;
|
|
63
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
64
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
65
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
66
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
67
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
68
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
69
|
+
};
|
|
70
|
+
dataSet: {
|
|
71
|
+
type: PropType<BaseDrillDownDataSet[]>;
|
|
72
|
+
default: any[];
|
|
73
|
+
};
|
|
74
|
+
drillFields: PropType<string[]>;
|
|
75
|
+
disabledFields: PropType<string[]>;
|
|
76
|
+
getDrillFields: PropType<(drillFields: string[]) => void>;
|
|
77
|
+
setDrillFields: PropType<(drillFields: string[]) => void>;
|
|
78
|
+
};
|
|
79
|
+
export declare const initDrillDownEmits: () => BaseDrillDownEmits;
|
|
80
|
+
export type BaseSheetProps = ExtractPropTypes<ReturnType<typeof initBaseSheetProps>>;
|
|
81
|
+
export declare const initBaseSheetEmits: () => {
|
|
82
|
+
spreadsheet: (container: import("@antv/s2").S2MountContainer, dataCfg: S2DataConfig, options: import("@antv/s2").S2Options<import("@antv/s2").TooltipContentType, import("@antv/s2").Pagination, import("@antv/s2").BaseTooltipOperatorMenuOptions>) => import("@antv/s2").SpreadSheet;
|
|
83
|
+
rowCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
84
|
+
rowCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
85
|
+
rowCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
86
|
+
rowCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
87
|
+
rowCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
88
|
+
rowCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
89
|
+
rowCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
90
|
+
rowCellCollapsed: (params: import("@antv/s2").RowCellCollapsedParams) => void;
|
|
91
|
+
rowCellAllCollapsed: (isCollapsed: boolean) => void;
|
|
92
|
+
rowCellScroll: (position: Required<import("@antv/s2").ScrollOffset>) => void;
|
|
93
|
+
rowCellRender: (cell: import("@antv/s2").RowCell) => void;
|
|
94
|
+
rowCellSelected: import("@antv/s2").CellSelectedHandler;
|
|
95
|
+
colCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
96
|
+
colCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
97
|
+
colCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
98
|
+
colCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
99
|
+
colCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
100
|
+
colCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
101
|
+
colCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
102
|
+
colCellExpanded: (node: import("@antv/s2").Node) => void;
|
|
103
|
+
colCellHidden: (data: {
|
|
104
|
+
currentHiddenColumnsInfo: import("@antv/s2").HiddenColumnsInfo;
|
|
105
|
+
hiddenColumnsDetail: import("@antv/s2").HiddenColumnsInfo[];
|
|
106
|
+
}) => void;
|
|
107
|
+
colCellRender: (cell: import("@antv/s2").ColCell) => void;
|
|
108
|
+
colCellSelected: import("@antv/s2").CellSelectedHandler;
|
|
109
|
+
dataCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
110
|
+
dataCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
111
|
+
dataCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
112
|
+
dataCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
113
|
+
dataCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
114
|
+
dataCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
115
|
+
dataCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
116
|
+
dataCellBrushSelection: (brushRangeDataCells: import("@antv/s2").DataCell[]) => void;
|
|
117
|
+
dataCellSelectMove: (metaList: import("@antv/s2").ViewMetaData[]) => void;
|
|
118
|
+
dataCellRender: (cell: import("@antv/s2").DataCell) => void;
|
|
119
|
+
dataCellEditStart: (meta: import("@antv/s2").ViewMeta, cell: import("@antv/s2").TableDataCell) => void;
|
|
120
|
+
dataCellEditEnd: (meta: import("@antv/s2").ViewMeta, cell: import("@antv/s2").TableDataCell) => void;
|
|
121
|
+
dataCellSelected: import("@antv/s2").CellSelectedHandler;
|
|
122
|
+
cornerCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
123
|
+
cornerCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
124
|
+
cornerCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
125
|
+
cornerCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
126
|
+
cornerCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
127
|
+
cornerCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
128
|
+
cornerCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
129
|
+
cornerCellRender: (cell: import("@antv/s2").CornerCell) => void;
|
|
130
|
+
cornerCellSelected: import("@antv/s2").CellSelectedHandler;
|
|
131
|
+
mergedCellsHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
132
|
+
mergedCellsClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
133
|
+
mergedCellsDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
134
|
+
mergedCellsContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
135
|
+
mergedCellsMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
136
|
+
mergedCellsMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
137
|
+
mergedCellsMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
138
|
+
mergedCellsRender: (cell: import("@antv/s2").MergedCell) => void;
|
|
139
|
+
seriesNumberCellRender: (cell: import("@antv/s2").SeriesNumberCell) => void;
|
|
140
|
+
rangeSort: (params: import("@antv/s2").SortParams) => void;
|
|
141
|
+
rangeSorted: (event: import("@antv/s2").GEvent) => void;
|
|
142
|
+
rangeFilter: (data: {
|
|
143
|
+
filterKey: string;
|
|
144
|
+
filteredValues: string[];
|
|
145
|
+
}) => void;
|
|
146
|
+
rangeFiltered: (data: import("@antv/s2").ViewMetaData[]) => void;
|
|
147
|
+
layoutAfterHeaderLayout: (layoutResult: import("@antv/s2").LayoutResult) => void;
|
|
148
|
+
layoutPagination: (data: import("@antv/s2").LayoutPaginationParams) => void;
|
|
149
|
+
layoutCellRender: <T extends import("@antv/s2").S2CellType = import("@antv/s2").S2CellType>(cell: T) => void;
|
|
150
|
+
beforeRender: () => void;
|
|
151
|
+
afterRender: () => void;
|
|
152
|
+
mounted: (spreadsheet: import("@antv/s2").SpreadSheet) => void;
|
|
153
|
+
update: (renderOptions: import("@antv/s2").S2RenderOptions) => void | import("@antv/s2").S2RenderOptions;
|
|
154
|
+
updateAfterRender: (renderOptions: import("@antv/s2").S2RenderOptions) => void;
|
|
155
|
+
loading: (loading: boolean) => void;
|
|
156
|
+
destroy: () => void;
|
|
157
|
+
layoutResize: (params: import("@antv/s2").ResizeParams) => void;
|
|
158
|
+
layoutResizeSeriesWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
159
|
+
layoutResizeRowWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
160
|
+
layoutResizeRowHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
161
|
+
layoutResizeColWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
162
|
+
layoutResizeColHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
163
|
+
layoutResizeTreeWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
164
|
+
layoutResizeMouseDown: (data: {
|
|
165
|
+
event: Partial<MouseEvent>;
|
|
166
|
+
resizeInfo?: import("@antv/s2").ResizeInfo;
|
|
167
|
+
}) => void;
|
|
168
|
+
layoutResizeMouseUp: (data: {
|
|
169
|
+
event: Partial<MouseEvent>;
|
|
170
|
+
resizeInfo?: import("@antv/s2").ResizeInfo;
|
|
171
|
+
}) => void;
|
|
172
|
+
layoutResizeMouseMove: (data: {
|
|
173
|
+
event: Partial<MouseEvent>;
|
|
174
|
+
resizeInfo?: import("@antv/s2").ResizeInfo;
|
|
175
|
+
}) => void;
|
|
176
|
+
keyBoardDown: (event: KeyboardEvent) => void;
|
|
177
|
+
keyBoardUp: (event: KeyboardEvent) => void;
|
|
178
|
+
copied: (data: import("@antv/s2").CopyableList) => void;
|
|
179
|
+
actionIconHover: (event: import("@antv/s2").GEvent) => void;
|
|
180
|
+
actionIconHoverOff: (event: import("@antv/s2").GEvent) => void;
|
|
181
|
+
actionIconClick: (event: import("@antv/s2").GEvent) => void;
|
|
182
|
+
contextMenu: (event: import("@antv/s2").GEvent) => void;
|
|
183
|
+
click: (event: import("@antv/s2").GEvent) => void;
|
|
184
|
+
hover: (event: import("@antv/s2").GEvent) => void;
|
|
185
|
+
doubleClick: (event: import("@antv/s2").GEvent) => void;
|
|
186
|
+
mouseHover: (event: import("@antv/s2").GEvent) => void;
|
|
187
|
+
mouseUp: (event: MouseEvent) => void;
|
|
188
|
+
mouseDown: (event: MouseEvent) => void;
|
|
189
|
+
mouseMove: (event: MouseEvent) => void;
|
|
190
|
+
selected: import("@antv/s2").CellSelectedHandler;
|
|
191
|
+
reset: (event: KeyboardEvent) => void;
|
|
192
|
+
linkFieldJump: (data: {
|
|
193
|
+
field: string;
|
|
194
|
+
record: import("@antv/s2").RawData;
|
|
195
|
+
}) => void;
|
|
196
|
+
scroll: (position: Required<import("@antv/s2").ScrollOffset>) => void;
|
|
197
|
+
layoutAfterRealDataCellRender: (options: {
|
|
198
|
+
add: [number, number][];
|
|
199
|
+
remove: [number, number][];
|
|
200
|
+
spreadsheet: import("@antv/s2").SpreadSheet;
|
|
201
|
+
}) => void;
|
|
202
|
+
rowCellBrushSelection: (event: import("@antv/s2").GEvent) => void;
|
|
203
|
+
colCellBrushSelection: (event: import("@antv/s2").GEvent) => void;
|
|
204
|
+
};
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.initBaseSheetEmits = exports.initDrillDownEmits = exports.initDrillDownProps = exports.initBaseSheetProps = void 0;
|
|
4
|
+
const s2_1 = require("@antv/s2");
|
|
5
|
+
const initBaseSheetProps = () => {
|
|
6
|
+
return {
|
|
7
|
+
sheetType: String,
|
|
8
|
+
dataCfg: Object,
|
|
9
|
+
themeCfg: Object,
|
|
10
|
+
showPagination: {
|
|
11
|
+
type: [Object, Boolean],
|
|
12
|
+
default: false,
|
|
13
|
+
},
|
|
14
|
+
loading: Boolean,
|
|
15
|
+
partDrillDown: Object,
|
|
16
|
+
header: Object,
|
|
17
|
+
options: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: {},
|
|
20
|
+
},
|
|
21
|
+
adaptive: {
|
|
22
|
+
type: [Object, Boolean],
|
|
23
|
+
default: false,
|
|
24
|
+
},
|
|
25
|
+
spreadsheet: Function,
|
|
26
|
+
onMounted: Function,
|
|
27
|
+
onUpdate: Function,
|
|
28
|
+
onUpdateAfterRender: Function,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
exports.initBaseSheetProps = initBaseSheetProps;
|
|
32
|
+
const initDrillDownProps = () => {
|
|
33
|
+
return {
|
|
34
|
+
className: String,
|
|
35
|
+
title: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: (0, s2_1.i18n)('选择下钻维度'),
|
|
38
|
+
},
|
|
39
|
+
searchText: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: (0, s2_1.i18n)('搜索字段'),
|
|
42
|
+
},
|
|
43
|
+
clearText: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: (0, s2_1.i18n)('恢复默认'),
|
|
46
|
+
},
|
|
47
|
+
extra: Node,
|
|
48
|
+
dataSet: {
|
|
49
|
+
type: Array,
|
|
50
|
+
default: [],
|
|
51
|
+
},
|
|
52
|
+
drillFields: Array,
|
|
53
|
+
disabledFields: Array,
|
|
54
|
+
getDrillFields: Function,
|
|
55
|
+
setDrillFields: Function,
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
exports.initDrillDownProps = initDrillDownProps;
|
|
59
|
+
const initDrillDownEmits = () => {
|
|
60
|
+
const keys = ['getDrillFields', 'setDrillFields'];
|
|
61
|
+
return keys;
|
|
62
|
+
};
|
|
63
|
+
exports.initDrillDownEmits = initDrillDownEmits;
|
|
64
|
+
const initBaseSheetEmits = () => {
|
|
65
|
+
/** base sheet all emits */
|
|
66
|
+
const keys = [
|
|
67
|
+
'spreadsheet',
|
|
68
|
+
// ============== Row Cell ====================
|
|
69
|
+
'rowCellHover',
|
|
70
|
+
'rowCellClick',
|
|
71
|
+
'rowCellDoubleClick',
|
|
72
|
+
'rowCellContextMenu',
|
|
73
|
+
'rowCellMouseDown',
|
|
74
|
+
'rowCellMouseUp',
|
|
75
|
+
'rowCellMouseMove',
|
|
76
|
+
'rowCellCollapsed',
|
|
77
|
+
'rowCellAllCollapsed',
|
|
78
|
+
'rowCellScroll',
|
|
79
|
+
// ============== Col Cell ====================
|
|
80
|
+
'colCellHover',
|
|
81
|
+
'colCellClick',
|
|
82
|
+
'colCellDoubleClick',
|
|
83
|
+
'colCellContextMenu',
|
|
84
|
+
'colCellMouseDown',
|
|
85
|
+
'colCellMouseUp',
|
|
86
|
+
'colCellMouseMove',
|
|
87
|
+
'colCellExpanded',
|
|
88
|
+
'colCellHidden',
|
|
89
|
+
// ============== Data Cell ====================
|
|
90
|
+
'dataCellHover',
|
|
91
|
+
'dataCellClick',
|
|
92
|
+
'dataCellDoubleClick',
|
|
93
|
+
'dataCellContextMenu',
|
|
94
|
+
'dataCellMouseDown',
|
|
95
|
+
'dataCellMouseUp',
|
|
96
|
+
'dataCellMouseMove',
|
|
97
|
+
'dataCellBrushSelection',
|
|
98
|
+
'dataCellSelectMove',
|
|
99
|
+
// ============== Corner Cell ====================
|
|
100
|
+
'cornerCellHover',
|
|
101
|
+
'cornerCellClick',
|
|
102
|
+
'cornerCellDoubleClick',
|
|
103
|
+
'cornerCellContextMenu',
|
|
104
|
+
'cornerCellMouseDown',
|
|
105
|
+
'cornerCellMouseUp',
|
|
106
|
+
'cornerCellMouseMove',
|
|
107
|
+
// ============== Merged Cells ====================
|
|
108
|
+
'mergedCellsHover',
|
|
109
|
+
'mergedCellsClick',
|
|
110
|
+
'mergedCellsDoubleClick',
|
|
111
|
+
'mergedCellsContextMenu',
|
|
112
|
+
'mergedCellsMouseDown',
|
|
113
|
+
'mergedCellsMouseUp',
|
|
114
|
+
'mergedCellsMouseMove',
|
|
115
|
+
// ============== Sort ====================
|
|
116
|
+
'rangeSort',
|
|
117
|
+
'rangeSorted',
|
|
118
|
+
// ============== Filter ====================
|
|
119
|
+
'rangeFilter',
|
|
120
|
+
'rangeFiltered',
|
|
121
|
+
// ============== Layout ====================
|
|
122
|
+
'layoutAfterHeaderLayout',
|
|
123
|
+
'layoutPagination',
|
|
124
|
+
'beforeRender',
|
|
125
|
+
'afterRender',
|
|
126
|
+
'mounted',
|
|
127
|
+
'destroy',
|
|
128
|
+
// ============== Resize ====================
|
|
129
|
+
'layoutResize',
|
|
130
|
+
'layoutResizeSeriesWidth',
|
|
131
|
+
'layoutResizeRowWidth',
|
|
132
|
+
'layoutResizeRowHeight',
|
|
133
|
+
'layoutResizeColWidth',
|
|
134
|
+
'layoutResizeColHeight',
|
|
135
|
+
'layoutResizeTreeWidth',
|
|
136
|
+
'layoutResizeMouseDown',
|
|
137
|
+
'layoutResizeMouseUp',
|
|
138
|
+
'layoutResizeMouseMove',
|
|
139
|
+
// ============== Global ====================
|
|
140
|
+
'keyBoardDown',
|
|
141
|
+
'keyBoardUp',
|
|
142
|
+
'copied',
|
|
143
|
+
'actionIconHover',
|
|
144
|
+
'actionIconClick',
|
|
145
|
+
'contextMenu',
|
|
146
|
+
'mouseHover',
|
|
147
|
+
'mouseUp',
|
|
148
|
+
'mouseMove',
|
|
149
|
+
'mouseDown',
|
|
150
|
+
'selected',
|
|
151
|
+
'reset',
|
|
152
|
+
'linkFieldJump',
|
|
153
|
+
'click',
|
|
154
|
+
'doubleClick',
|
|
155
|
+
'scroll',
|
|
156
|
+
'hover',
|
|
157
|
+
// ============== Auto 自动生成的 ================
|
|
158
|
+
'layoutAfterRealDataCellRender',
|
|
159
|
+
'rowCellBrushSelection',
|
|
160
|
+
'colCellBrushSelection',
|
|
161
|
+
];
|
|
162
|
+
return keys;
|
|
163
|
+
};
|
|
164
|
+
exports.initBaseSheetEmits = initBaseSheetEmits;
|
|
165
|
+
//# sourceMappingURL=initPropAndEmits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initPropAndEmits.js","sourceRoot":"","sources":["../../src/utils/initPropAndEmits.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSheetComponentOptions = void 0;
|
|
4
|
+
const s2_1 = require("@antv/s2");
|
|
5
|
+
const constant_1 = require("../common/constant");
|
|
6
|
+
const getSheetComponentOptions = (...options) => (0, s2_1.getBaseSheetComponentOptions)(constant_1.RENDER_TOOLTIP_OPTION, ...options);
|
|
7
|
+
exports.getSheetComponentOptions = getSheetComponentOptions;
|
|
8
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/utils/options.ts"],"names":[],"mappings":";;;AACA,iCAAwD;AACxD,iDAA2D;AAEpD,MAAM,wBAAwB,GAAG,CACtC,GAAG,OAA6B,EACrB,EAAE,CAAC,IAAA,iCAA4B,EAAC,gCAAqB,EAAE,GAAG,OAAO,CAAC,CAAC;AAFnE,QAAA,wBAAwB,4BAE2C"}
|