@antv/s2-vue 1.0.0 → 1.0.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/README.md +26 -55
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/esm/index.d.ts +1340 -4
- package/esm/index.js +15 -28
- package/esm/index.js.map +1 -1
- package/lib/index.js +15 -28
- package/lib/index.js.map +1 -1
- package/package.json +10 -6
- package/esm/common/constant/index.d.ts +0 -3
- package/esm/common/constant/index.d.ts.map +0 -1
- package/esm/common/constant/options.d.ts +0 -3
- package/esm/common/constant/options.d.ts.map +0 -1
- package/esm/common/constant/sort.d.ts +0 -15
- package/esm/common/constant/sort.d.ts.map +0 -1
- package/esm/components/index.d.ts +0 -5
- package/esm/components/index.d.ts.map +0 -1
- package/esm/components/pagination/index.vue.d.ts +0 -43
- package/esm/components/pagination/index.vue.d.ts.map +0 -1
- package/esm/components/sheets/base-sheet.vue.d.ts +0 -287
- package/esm/components/sheets/base-sheet.vue.d.ts.map +0 -1
- package/esm/components/sheets/index.vue.d.ts +0 -432
- package/esm/components/sheets/index.vue.d.ts.map +0 -1
- package/esm/components/sheets/pivot-sheet.vue.d.ts +0 -217
- package/esm/components/sheets/pivot-sheet.vue.d.ts.map +0 -1
- package/esm/components/sheets/table-sheet.vue.d.ts +0 -217
- package/esm/components/sheets/table-sheet.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/detail.vue.d.ts +0 -7
- package/esm/components/tooltip/components/detail.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/head-info.vue.d.ts +0 -7
- package/esm/components/tooltip/components/head-info.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/infos.vue.d.ts +0 -7
- package/esm/components/tooltip/components/infos.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/operator/index.d.ts +0 -4
- package/esm/components/tooltip/components/operator/index.d.ts.map +0 -1
- package/esm/components/tooltip/components/operator/index.vue.d.ts +0 -11
- package/esm/components/tooltip/components/operator/index.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/operator/menu.vue.d.ts +0 -12
- package/esm/components/tooltip/components/operator/menu.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/operator/title.vue.d.ts +0 -11
- package/esm/components/tooltip/components/operator/title.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/simple-tips.vue.d.ts +0 -7
- package/esm/components/tooltip/components/simple-tips.vue.d.ts.map +0 -1
- package/esm/components/tooltip/components/summary.vue.d.ts +0 -9
- package/esm/components/tooltip/components/summary.vue.d.ts.map +0 -1
- package/esm/components/tooltip/custom-tooltip.d.ts +0 -7
- package/esm/components/tooltip/custom-tooltip.d.ts.map +0 -1
- package/esm/components/tooltip/index.vue.d.ts +0 -8
- package/esm/components/tooltip/index.vue.d.ts.map +0 -1
- package/esm/components/tooltip/interface.d.ts +0 -9
- package/esm/components/tooltip/interface.d.ts.map +0 -1
- package/esm/hooks/useEvents.d.ts +0 -5
- package/esm/hooks/useEvents.d.ts.map +0 -1
- package/esm/hooks/useExpose.d.ts +0 -6
- package/esm/hooks/useExpose.d.ts.map +0 -1
- package/esm/hooks/useLoading.d.ts +0 -7
- package/esm/hooks/useLoading.d.ts.map +0 -1
- package/esm/hooks/usePagination.d.ts +0 -14
- package/esm/hooks/usePagination.d.ts.map +0 -1
- package/esm/hooks/useResize.d.ts +0 -8
- package/esm/hooks/useResize.d.ts.map +0 -1
- package/esm/hooks/useSheetUpdate.d.ts +0 -5
- package/esm/hooks/useSheetUpdate.d.ts.map +0 -1
- package/esm/hooks/useSpreadSheet.d.ts +0 -19
- package/esm/hooks/useSpreadSheet.d.ts.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/interface.d.ts +0 -36
- package/esm/interface.d.ts.map +0 -1
- package/esm/utils/extendLocale.d.ts +0 -2
- package/esm/utils/extendLocale.d.ts.map +0 -1
- package/esm/utils/initPropAndEmits.d.ts +0 -137
- package/esm/utils/initPropAndEmits.d.ts.map +0 -1
- package/esm/utils/options.d.ts +0 -3
- package/esm/utils/options.d.ts.map +0 -1
- package/esm/utils/traverse.d.ts +0 -2
- package/esm/utils/traverse.d.ts.map +0 -1
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { GetInitProps } from '../../interface';
|
|
2
|
-
import type { TooltipRenderProps } from './interface';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<GetInitProps<TooltipRenderProps<string | HTMLElement>, "options" | "data" | "content" | "event" | "cellInfos">, {
|
|
4
|
-
operator: import("@antv/s2").TooltipOperatorOptions | undefined;
|
|
5
|
-
onlyMenu: boolean | undefined;
|
|
6
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<GetInitProps<TooltipRenderProps<string | HTMLElement>, "options" | "data" | "content" | "event" | "cellInfos">>>, {}>;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/index.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;;;;;AAEtD,wBAyBG"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { S2CellType, TooltipShowOptions } from '@antv/s2';
|
|
2
|
-
export interface TooltipRenderProps<T = HTMLElement | string> extends TooltipShowOptions<T> {
|
|
3
|
-
readonly content?: T;
|
|
4
|
-
readonly cell: S2CellType;
|
|
5
|
-
}
|
|
6
|
-
export declare type TooltipInfosProps = {
|
|
7
|
-
infos: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE/D,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,WAAW,GAAG,MAAM,CAC1D,SAAQ,kBAAkB,CAAC,CAAC,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
package/esm/hooks/useEvents.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type SpreadSheet } from '@antv/s2';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
|
-
import type { BaseSheetInitEmits, EmitFn } from './../interface';
|
|
4
|
-
export declare const useEvents: (s2Ref: Ref<SpreadSheet | undefined>, emit: EmitFn<BaseSheetInitEmits>) => void;
|
|
5
|
-
//# sourceMappingURL=useEvents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEvents.d.ts","sourceRoot":"","sources":["../../src/hooks/useEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,WAAW,EAA2B,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAa,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AA2BjE,eAAO,MAAM,SAAS,UACb,IAAI,WAAW,GAAG,SAAS,CAAC,QAC7B,OAAO,kBAAkB,CAAC,SAqRjC,CAAC"}
|
package/esm/hooks/useExpose.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { SpreadSheet } from '@antv/s2';
|
|
2
|
-
export interface SheetExpose {
|
|
3
|
-
instance: SpreadSheet | undefined;
|
|
4
|
-
}
|
|
5
|
-
export declare const useExpose: (expose: (exposed?: Record<string, any> | undefined) => void) => import("vue").ShallowRef<SheetExpose | undefined>;
|
|
6
|
-
//# sourceMappingURL=useExpose.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useExpose.d.ts","sourceRoot":"","sources":["../../src/hooks/useExpose.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,WAAW,GAAG,SAAS,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,0DAA+C,IAAI,sDAUxE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type SpreadSheet } from '@antv/s2';
|
|
2
|
-
import { type ShallowRef } from 'vue';
|
|
3
|
-
export declare const useLoading: (s2Ref: ShallowRef<SpreadSheet | undefined>, loadingProp?: boolean) => {
|
|
4
|
-
loading: import("vue").Ref<boolean>;
|
|
5
|
-
setLoading: (updated: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=useLoading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLoading.d.ts","sourceRoot":"","sources":["../../src/hooks/useLoading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,EAAO,KAAK,UAAU,EAAS,MAAM,KAAK,CAAC;AAElD,eAAO,MAAM,UAAU,UACd,WAAW,WAAW,GAAG,SAAS,CAAC;;0BAIb,OAAO;CAerC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type SpreadSheet } from '@antv/s2';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
|
-
import type { BaseSheetProps } from '../utils/initPropAndEmits';
|
|
4
|
-
export declare const DEFAULT_PAGE_NUMBER = 1;
|
|
5
|
-
export declare const DEFAULT_PAGE_SIZE = 10;
|
|
6
|
-
export declare const usePagination: (s2Ref: Ref<SpreadSheet | undefined>, props: BaseSheetProps) => {
|
|
7
|
-
visible: import("vue").ComputedRef<boolean | undefined>;
|
|
8
|
-
current: Ref<number>;
|
|
9
|
-
pageSize: Ref<number>;
|
|
10
|
-
total: Ref<number>;
|
|
11
|
-
change: (nextCurrent: number) => void;
|
|
12
|
-
showSizeChange: (nextPageSize: number) => void;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=usePagination.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../src/hooks/usePagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,aAAa,UACjB,IAAI,WAAW,GAAG,SAAS,CAAC,SAC5B,cAAc;;;;;0BAUQ,MAAM;mCAIG,MAAM;CAgE7C,CAAC"}
|
package/esm/hooks/useResize.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SpreadSheet } from '@antv/s2';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
|
-
import type { BaseSheetProps } from '../utils/initPropAndEmits';
|
|
4
|
-
export declare const useResize: (s2Ref: Ref<SpreadSheet | undefined>, props: BaseSheetProps, dom: {
|
|
5
|
-
wrapperRef: Ref<HTMLDivElement | undefined>;
|
|
6
|
-
containerRef: Ref<HTMLDivElement | undefined>;
|
|
7
|
-
}) => void;
|
|
8
|
-
//# sourceMappingURL=useResize.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useResize.d.ts","sourceRoot":"","sources":["../../src/hooks/useResize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAc,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,eAAO,MAAM,SAAS,UACb,IAAI,WAAW,GAAG,SAAS,CAAC,SAC5B,cAAc,OAChB;IACH,UAAU,EAAE,IAAI,cAAc,GAAG,SAAS,CAAC,CAAC;IAC5C,YAAY,EAAE,IAAI,cAAc,GAAG,SAAS,CAAC,CAAC;CAC/C,SAuBF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { SpreadSheet } from '@antv/s2';
|
|
2
|
-
import { type ShallowRef } from 'vue';
|
|
3
|
-
import type { BaseSheetProps } from '../utils/initPropAndEmits';
|
|
4
|
-
export declare const useSheetUpdate: (s2Ref: ShallowRef<SpreadSheet | undefined>, props: BaseSheetProps) => void;
|
|
5
|
-
//# sourceMappingURL=useSheetUpdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSheetUpdate.d.ts","sourceRoot":"","sources":["../../src/hooks/useSheetUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAmB,KAAK,UAAU,EAAW,MAAM,KAAK,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAMhE,eAAO,MAAM,cAAc,UAClB,WAAW,WAAW,GAAG,SAAS,CAAC,SACnC,cAAc,SAwDtB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type SpreadSheet } from '@antv/s2';
|
|
2
|
-
import type { BaseSheetInitEmits, EmitFn } from '../interface';
|
|
3
|
-
import type { BaseSheetProps } from '../utils/initPropAndEmits';
|
|
4
|
-
export declare function useSpreadSheet(props: BaseSheetProps, emit: EmitFn<BaseSheetInitEmits>): {
|
|
5
|
-
wrapperRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
6
|
-
containerRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
7
|
-
s2Ref: import("vue").ShallowRef<SpreadSheet | undefined>;
|
|
8
|
-
loading: import("vue").Ref<boolean>;
|
|
9
|
-
setLoading: (updated: boolean) => void;
|
|
10
|
-
pagination: {
|
|
11
|
-
visible: import("vue").ComputedRef<boolean | undefined>;
|
|
12
|
-
current: import("vue").Ref<number>;
|
|
13
|
-
pageSize: import("vue").Ref<number>;
|
|
14
|
-
total: import("vue").Ref<number>;
|
|
15
|
-
change: (nextCurrent: number) => void;
|
|
16
|
-
showSizeChange: (nextPageSize: number) => void;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=useSpreadSheet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSpreadSheet.d.ts","sourceRoot":"","sources":["../../src/hooks/useSpreadSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAQhE,wBAAgB,cAAc,CAC5B,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;EA6DjC"}
|
package/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
|
package/esm/interface.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { BaseSheetComponentProps } from '@antv/s2-shared';
|
|
2
|
-
import type { UnionToIntersection } from '@vue/shared';
|
|
3
|
-
import type { PropType } from 'vue';
|
|
4
|
-
interface PropOption<T = any> {
|
|
5
|
-
type?: PropType<T>;
|
|
6
|
-
}
|
|
7
|
-
interface RequiredPropOption<T = any> {
|
|
8
|
-
type?: PropType<T>;
|
|
9
|
-
required: true;
|
|
10
|
-
}
|
|
11
|
-
export declare 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<{
|
|
12
|
-
[key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void;
|
|
13
|
-
}[Event]>;
|
|
14
|
-
declare type GetOptionalKeys<T> = keyof {
|
|
15
|
-
[K in keyof T as Pick<T, K> extends Required<Pick<T, K>> ? never : K]: K;
|
|
16
|
-
};
|
|
17
|
-
declare type IsEmitKey<Type> = Exclude<Type, undefined> extends (...args: any) => any ? true : false;
|
|
18
|
-
declare type TransformEmitKey<T> = T extends `on${infer R}` ? Uncapitalize<R> : T;
|
|
19
|
-
declare type GetPropKeys<T> = keyof {
|
|
20
|
-
[K in keyof T as IsEmitKey<T[K]> extends true ? never : K]: K;
|
|
21
|
-
};
|
|
22
|
-
declare type GetEmitKeys<T> = keyof {
|
|
23
|
-
[K in keyof T as IsEmitKey<T[K]> extends true ? TransformEmitKey<K> : never]: K;
|
|
24
|
-
};
|
|
25
|
-
export declare type GetInitProps<T, OptionalKeys = GetOptionalKeys<T>> = {
|
|
26
|
-
[K in keyof T as IsEmitKey<T[K]> extends true ? never : K]-?: K extends OptionalKeys ? PropOption<NonNullable<T[K]>> : RequiredPropOption<NonNullable<T[K]>>;
|
|
27
|
-
};
|
|
28
|
-
declare type GetInitEmits<T> = {
|
|
29
|
-
[K in keyof T as IsEmitKey<T[K]> extends true ? TransformEmitKey<K> : never]-?: T[K];
|
|
30
|
-
};
|
|
31
|
-
export declare type BaseSheetInitPropKeys = GetPropKeys<BaseSheetComponentProps>;
|
|
32
|
-
export declare type BaseSheetInitEmitKeys = GetEmitKeys<BaseSheetComponentProps>;
|
|
33
|
-
export declare type BaseSheetInitProps = GetInitProps<BaseSheetComponentProps>;
|
|
34
|
-
export declare type BaseSheetInitEmits = GetInitEmits<BaseSheetComponentProps>;
|
|
35
|
-
export {};
|
|
36
|
-
//# sourceMappingURL=interface.d.ts.map
|
package/esm/interface.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extendLocale.d.ts","sourceRoot":"","sources":["../../src/utils/extendLocale.ts"],"names":[],"mappings":""}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import type { S2DataConfig, S2Options, ThemeCfg } from '@antv/s2';
|
|
2
|
-
import type { Adaptive, SheetType } from '@antv/s2-shared';
|
|
3
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
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) | undefined;
|
|
11
|
-
onChange?: ((current: number) => void) | undefined;
|
|
12
|
-
} | undefined>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
loading: BooleanConstructor;
|
|
16
|
-
partDrillDown: ObjectConstructor;
|
|
17
|
-
header: ObjectConstructor;
|
|
18
|
-
options: {
|
|
19
|
-
type: PropType<S2Options<string | Element>>;
|
|
20
|
-
default: S2Options<string | Element>;
|
|
21
|
-
};
|
|
22
|
-
adaptive: {
|
|
23
|
-
type: PropType<Adaptive>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
onSpreadsheet: PropType<((args_0: import("@antv/s2").S2MountContainer, args_1: S2DataConfig, args_2: S2Options<string | Element>) => import("@antv/s2").SpreadSheet) | undefined>;
|
|
27
|
-
onGetSpreadSheet: PropType<((spreadsheet: import("@antv/s2").SpreadSheet) => void) | undefined>;
|
|
28
|
-
};
|
|
29
|
-
export declare type BaseSheetProps = ExtractPropTypes<ReturnType<typeof initBaseSheetProps>>;
|
|
30
|
-
export declare const initBaseSheetEmits: () => {
|
|
31
|
-
spreadsheet: (args_0: import("@antv/s2").S2MountContainer, args_1: S2DataConfig, args_2: S2Options<string | Element>) => import("@antv/s2").SpreadSheet;
|
|
32
|
-
getSpreadSheet: (spreadsheet: import("@antv/s2").SpreadSheet) => void;
|
|
33
|
-
sheetUpdate: import("@antv/s2-shared").SheetUpdateCallback;
|
|
34
|
-
rowCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
35
|
-
rowCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
36
|
-
rowCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
37
|
-
rowCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
38
|
-
rowCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
39
|
-
rowCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
40
|
-
rowCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
41
|
-
rowCellCollapseTreeRows: (params: {
|
|
42
|
-
id: number;
|
|
43
|
-
isCollapsed: boolean;
|
|
44
|
-
node: import("@antv/s2").Node;
|
|
45
|
-
}) => void;
|
|
46
|
-
colCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
47
|
-
colCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
48
|
-
colCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
49
|
-
colCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
50
|
-
colCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
51
|
-
colCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
52
|
-
colCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
53
|
-
dataCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
54
|
-
dataCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
55
|
-
dataCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
56
|
-
dataCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
57
|
-
dataCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
58
|
-
dataCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
59
|
-
dataCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
60
|
-
dataCellTrendIconClick: (meta: import("@antv/s2").ViewMeta) => void;
|
|
61
|
-
dataCellBrushSelection: (brushRangeDataCells: import("@antv/s2").DataCell[]) => void;
|
|
62
|
-
cornerCellHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
63
|
-
cornerCellClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
64
|
-
cornerCellDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
65
|
-
cornerCellContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
66
|
-
cornerCellMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
67
|
-
cornerCellMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
68
|
-
cornerCellMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
69
|
-
mergedCellsHover: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
70
|
-
mergedCellsClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
71
|
-
mergedCellsDoubleClick: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
72
|
-
mergedCellsContextMenu: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
73
|
-
mergedCellsMouseDown: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
74
|
-
mergedCellsMouseUp: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
75
|
-
mergedCellsMouseMove: (data: import("@antv/s2").TargetCellInfo) => void;
|
|
76
|
-
rangeSort: (params: import("@antv/s2").SortParams) => void;
|
|
77
|
-
rangeSorted: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
78
|
-
rangeFilter: (data: {
|
|
79
|
-
filterKey: string;
|
|
80
|
-
filteredValues: string[];
|
|
81
|
-
}) => void;
|
|
82
|
-
rangeFiltered: (data: import("@antv/s2").DataType[]) => void;
|
|
83
|
-
layoutAfterHeaderLayout: (layoutResult: import("@antv/s2").LayoutResult) => void;
|
|
84
|
-
layoutPagination: (data: {
|
|
85
|
-
pageSize: number;
|
|
86
|
-
pageCount: number;
|
|
87
|
-
total: number;
|
|
88
|
-
current: number;
|
|
89
|
-
}) => void;
|
|
90
|
-
layoutCellScroll: (position: import("@antv/s2").CellScrollPosition) => void;
|
|
91
|
-
layoutAfterCollapseRows: (data: import("@antv/s2").CollapsedRowsType) => void;
|
|
92
|
-
collapseRowsAll: (hierarchyCollapse: boolean) => void;
|
|
93
|
-
layoutColsExpanded: (node: import("@antv/s2").Node) => void;
|
|
94
|
-
layoutColsHidden: (data: {
|
|
95
|
-
currentHiddenColumnsInfo: import("@antv/s2").HiddenColumnsInfo;
|
|
96
|
-
hiddenColumnsDetail: import("@antv/s2").HiddenColumnsInfo[];
|
|
97
|
-
}) => void;
|
|
98
|
-
beforeRender: () => void;
|
|
99
|
-
afterRender: () => void;
|
|
100
|
-
destroy: () => void;
|
|
101
|
-
layoutResize: (params: import("@antv/s2").ResizeParams) => void;
|
|
102
|
-
layoutResizeSeriesWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
103
|
-
layoutResizeRowWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
104
|
-
layoutResizeRowHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
105
|
-
layoutResizeColWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
106
|
-
layoutResizeColHeight: (params: import("@antv/s2").ResizeParams) => void;
|
|
107
|
-
layoutResizeTreeWidth: (params: import("@antv/s2").ResizeParams) => void;
|
|
108
|
-
layoutResizeMouseDown: (data: {
|
|
109
|
-
event: Partial<MouseEvent>;
|
|
110
|
-
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
111
|
-
}) => void;
|
|
112
|
-
layoutResizeMouseUp: (data: {
|
|
113
|
-
event: Partial<MouseEvent>;
|
|
114
|
-
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
115
|
-
}) => void;
|
|
116
|
-
layoutResizeMouseMove: (data: {
|
|
117
|
-
event: Partial<MouseEvent>;
|
|
118
|
-
resizeInfo?: import("@antv/s2").ResizeInfo | undefined;
|
|
119
|
-
}) => void;
|
|
120
|
-
keyBoardDown: (event: KeyboardEvent) => void;
|
|
121
|
-
keyBoardUp: (event: KeyboardEvent) => void;
|
|
122
|
-
copied: (copyData: string) => void;
|
|
123
|
-
actionIconHover: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
124
|
-
actionIconClick: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
125
|
-
contextMenu: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
126
|
-
click: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
127
|
-
doubleClick: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
128
|
-
mouseHover: (event: import("@antv/g-base/lib/event/graph-event").default) => void;
|
|
129
|
-
mouseUp: (event: MouseEvent) => void;
|
|
130
|
-
selected: (cells: import("@antv/s2").DataCell[]) => void;
|
|
131
|
-
reset: (event: KeyboardEvent) => void;
|
|
132
|
-
linkFieldJump: (data: {
|
|
133
|
-
key: string;
|
|
134
|
-
record: import("@antv/s2").Data;
|
|
135
|
-
}) => void;
|
|
136
|
-
};
|
|
137
|
-
//# sourceMappingURL=initPropAndEmits.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initPropAndEmits.d.ts","sourceRoot":"","sources":["../../src/utils/initPropAndEmits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EACV,QAAQ,EAER,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAGtD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;CAyB7B,CAAC;AAEH,oBAAY,cAAc,GAAG,gBAAgB,CAC3C,UAAU,CAAC,OAAO,kBAAkB,CAAC,CACtC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6F9B,CAAC"}
|
package/esm/utils/options.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/utils/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAI1C,eAAO,MAAM,wBAAwB,eACvB,QAAQ,SAAS,CAAC,EAAE,KAC/B,SAA4E,CAAC"}
|
package/esm/utils/traverse.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"traverse.d.ts","sourceRoot":"","sources":["../../src/utils/traverse.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,+CA+BpB,CAAC"}
|