@antv/s2-vue 2.0.0-next.9 → 2.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.
Files changed (232) hide show
  1. package/README.md +7 -8
  2. package/dist/s2-vue.min.css +1 -0
  3. package/dist/s2-vue.min.js +28 -0
  4. package/dist/s2-vue.min.js.map +1 -0
  5. package/esm/common/constant/index.d.ts +1 -0
  6. package/esm/common/constant/index.js +2 -0
  7. package/esm/common/constant/index.js.map +1 -0
  8. package/esm/common/constant/options.d.ts +2 -0
  9. package/esm/common/constant/options.js +7 -0
  10. package/esm/common/constant/options.js.map +1 -0
  11. package/esm/components/drill-down/index.vue.d.ts +126 -0
  12. package/esm/components/drill-down/index.vue.js +206 -0
  13. package/esm/components/drill-down/index.vue.js.map +1 -0
  14. package/esm/components/index.d.ts +6 -0
  15. package/esm/components/index.js +8 -0
  16. package/esm/components/index.js.map +1 -0
  17. package/esm/components/pagination/index.vue.d.ts +44 -0
  18. package/esm/components/pagination/index.vue.js +91 -0
  19. package/esm/components/pagination/index.vue.js.map +1 -0
  20. package/esm/components/sheets/base-sheet.vue.d.ts +391 -0
  21. package/esm/components/sheets/base-sheet.vue.js +119 -0
  22. package/esm/components/sheets/base-sheet.vue.js.map +1 -0
  23. package/esm/components/sheets/editable-sheet.vue.d.ts +2 -0
  24. package/esm/components/sheets/editable-sheet.vue.js +181 -0
  25. package/esm/components/sheets/editable-sheet.vue.js.map +1 -0
  26. package/esm/components/sheets/index.vue.d.ts +251 -0
  27. package/esm/components/sheets/index.vue.js +77 -0
  28. package/esm/components/sheets/index.vue.js.map +1 -0
  29. package/esm/components/sheets/pivot-sheet.vue.d.ts +322 -0
  30. package/esm/components/sheets/pivot-sheet.vue.js +117 -0
  31. package/esm/components/sheets/pivot-sheet.vue.js.map +1 -0
  32. package/esm/components/sheets/table-sheet.vue.d.ts +250 -0
  33. package/esm/components/sheets/table-sheet.vue.js +61 -0
  34. package/esm/components/sheets/table-sheet.vue.js.map +1 -0
  35. package/esm/components/tooltip/components/detail.vue.d.ts +6 -0
  36. package/esm/components/tooltip/components/detail.vue.js +53 -0
  37. package/esm/components/tooltip/components/detail.vue.js.map +1 -0
  38. package/esm/components/tooltip/components/head-info.vue.d.ts +6 -0
  39. package/esm/components/tooltip/components/head-info.vue.js +61 -0
  40. package/esm/components/tooltip/components/head-info.vue.js.map +1 -0
  41. package/esm/components/tooltip/components/infos.vue.d.ts +6 -0
  42. package/esm/components/tooltip/components/infos.vue.js +49 -0
  43. package/esm/components/tooltip/components/infos.vue.js.map +1 -0
  44. package/esm/components/tooltip/components/operator/index.d.ts +3 -0
  45. package/esm/components/tooltip/components/operator/index.js +4 -0
  46. package/esm/components/tooltip/components/operator/index.js.map +1 -0
  47. package/esm/components/tooltip/components/operator/index.vue.d.ts +14 -0
  48. package/esm/components/tooltip/components/operator/index.vue.js +149 -0
  49. package/esm/components/tooltip/components/operator/index.vue.js.map +1 -0
  50. package/esm/components/tooltip/components/operator/menu.vue.d.ts +21 -0
  51. package/esm/components/tooltip/components/operator/menu.vue.js +146 -0
  52. package/esm/components/tooltip/components/operator/menu.vue.js.map +1 -0
  53. package/esm/components/tooltip/components/operator/title.vue.d.ts +10 -0
  54. package/esm/components/tooltip/components/operator/title.vue.js +54 -0
  55. package/esm/components/tooltip/components/operator/title.vue.js.map +1 -0
  56. package/esm/components/tooltip/components/simple-tips.vue.d.ts +6 -0
  57. package/esm/components/tooltip/components/simple-tips.vue.js +55 -0
  58. package/esm/components/tooltip/components/simple-tips.vue.js.map +1 -0
  59. package/esm/components/tooltip/components/summary.vue.d.ts +11 -0
  60. package/esm/components/tooltip/components/summary.vue.js +71 -0
  61. package/esm/components/tooltip/components/summary.vue.js.map +1 -0
  62. package/esm/components/tooltip/custom-tooltip.d.ts +6 -0
  63. package/esm/components/tooltip/custom-tooltip.js +36 -0
  64. package/esm/components/tooltip/custom-tooltip.js.map +1 -0
  65. package/esm/components/tooltip/index.vue.d.ts +13 -0
  66. package/esm/components/tooltip/index.vue.js +124 -0
  67. package/esm/components/tooltip/index.vue.js.map +1 -0
  68. package/esm/components/tooltip/interface.d.ts +8 -0
  69. package/esm/components/tooltip/interface.js +2 -0
  70. package/esm/components/tooltip/interface.js.map +1 -0
  71. package/esm/hooks/useEvents.d.ts +4 -0
  72. package/esm/hooks/useEvents.js +125 -0
  73. package/esm/hooks/useEvents.js.map +1 -0
  74. package/esm/hooks/useExpose.d.ts +5 -0
  75. package/esm/hooks/useExpose.js +11 -0
  76. package/esm/hooks/useExpose.js.map +1 -0
  77. package/esm/hooks/useLoading.d.ts +6 -0
  78. package/esm/hooks/useLoading.js +18 -0
  79. package/esm/hooks/useLoading.js.map +1 -0
  80. package/esm/hooks/usePagination.d.ts +70 -0
  81. package/esm/hooks/usePagination.js +68 -0
  82. package/esm/hooks/usePagination.js.map +1 -0
  83. package/esm/hooks/useResize.d.ts +7 -0
  84. package/esm/hooks/useResize.js +20 -0
  85. package/esm/hooks/useResize.js.map +1 -0
  86. package/esm/hooks/useSheetUpdate.d.ts +13 -0
  87. package/esm/hooks/useSheetUpdate.js +56 -0
  88. package/esm/hooks/useSheetUpdate.js.map +1 -0
  89. package/esm/hooks/useSpreadSheet.d.ts +75 -0
  90. package/esm/hooks/useSpreadSheet.js +60 -0
  91. package/esm/hooks/useSpreadSheet.js.map +1 -0
  92. package/esm/icons/calendar-icon.vue.d.ts +2 -0
  93. package/esm/icons/calendar-icon.vue.js +39 -0
  94. package/esm/icons/calendar-icon.vue.js.map +1 -0
  95. package/esm/icons/location-icon.vue.d.ts +2 -0
  96. package/esm/icons/location-icon.vue.js +39 -0
  97. package/esm/icons/location-icon.vue.js.map +1 -0
  98. package/esm/icons/text-icon.vue.d.ts +2 -0
  99. package/esm/icons/text-icon.vue.js +39 -0
  100. package/esm/icons/text-icon.vue.js.map +1 -0
  101. package/esm/index.d.ts +4 -6184
  102. package/esm/index.js +5 -3363
  103. package/esm/index.js.map +1 -1
  104. package/esm/interface.d.ts +47 -0
  105. package/esm/interface.js +2 -0
  106. package/esm/interface.js.map +1 -0
  107. package/esm/utils/extendLocale.d.ts +1 -0
  108. package/esm/utils/extendLocale.js +3 -0
  109. package/esm/utils/extendLocale.js.map +1 -0
  110. package/esm/utils/initPropAndEmits.d.ts +204 -0
  111. package/esm/utils/initPropAndEmits.js +158 -0
  112. package/esm/utils/initPropAndEmits.js.map +1 -0
  113. package/esm/utils/options.d.ts +2 -0
  114. package/esm/utils/options.js +4 -0
  115. package/esm/utils/options.js.map +1 -0
  116. package/lib/common/constant/index.d.ts +1 -0
  117. package/lib/common/constant/index.js +5 -0
  118. package/lib/common/constant/index.js.map +1 -0
  119. package/lib/common/constant/options.d.ts +2 -0
  120. package/lib/common/constant/options.js +10 -0
  121. package/lib/common/constant/options.js.map +1 -0
  122. package/lib/components/drill-down/index.vue.d.ts +126 -0
  123. package/lib/components/drill-down/index.vue.js +209 -0
  124. package/lib/components/drill-down/index.vue.js.map +1 -0
  125. package/lib/components/index.d.ts +6 -0
  126. package/lib/components/index.js +20 -0
  127. package/lib/components/index.js.map +1 -0
  128. package/lib/components/pagination/index.vue.d.ts +44 -0
  129. package/lib/components/pagination/index.vue.js +93 -0
  130. package/lib/components/pagination/index.vue.js.map +1 -0
  131. package/lib/components/sheets/base-sheet.vue.d.ts +391 -0
  132. package/lib/components/sheets/base-sheet.vue.js +122 -0
  133. package/lib/components/sheets/base-sheet.vue.js.map +1 -0
  134. package/lib/components/sheets/editable-sheet.vue.d.ts +2 -0
  135. package/lib/components/sheets/editable-sheet.vue.js +184 -0
  136. package/lib/components/sheets/editable-sheet.vue.js.map +1 -0
  137. package/lib/components/sheets/index.vue.d.ts +251 -0
  138. package/lib/components/sheets/index.vue.js +80 -0
  139. package/lib/components/sheets/index.vue.js.map +1 -0
  140. package/lib/components/sheets/pivot-sheet.vue.d.ts +322 -0
  141. package/lib/components/sheets/pivot-sheet.vue.js +120 -0
  142. package/lib/components/sheets/pivot-sheet.vue.js.map +1 -0
  143. package/lib/components/sheets/table-sheet.vue.d.ts +250 -0
  144. package/lib/components/sheets/table-sheet.vue.js +64 -0
  145. package/lib/components/sheets/table-sheet.vue.js.map +1 -0
  146. package/lib/components/tooltip/components/detail.vue.d.ts +6 -0
  147. package/lib/components/tooltip/components/detail.vue.js +55 -0
  148. package/lib/components/tooltip/components/detail.vue.js.map +1 -0
  149. package/lib/components/tooltip/components/head-info.vue.d.ts +6 -0
  150. package/lib/components/tooltip/components/head-info.vue.js +63 -0
  151. package/lib/components/tooltip/components/head-info.vue.js.map +1 -0
  152. package/lib/components/tooltip/components/infos.vue.d.ts +6 -0
  153. package/lib/components/tooltip/components/infos.vue.js +51 -0
  154. package/lib/components/tooltip/components/infos.vue.js.map +1 -0
  155. package/lib/components/tooltip/components/operator/index.d.ts +3 -0
  156. package/lib/components/tooltip/components/operator/index.js +13 -0
  157. package/lib/components/tooltip/components/operator/index.js.map +1 -0
  158. package/lib/components/tooltip/components/operator/index.vue.d.ts +14 -0
  159. package/lib/components/tooltip/components/operator/index.vue.js +152 -0
  160. package/lib/components/tooltip/components/operator/index.vue.js.map +1 -0
  161. package/lib/components/tooltip/components/operator/menu.vue.d.ts +21 -0
  162. package/lib/components/tooltip/components/operator/menu.vue.js +149 -0
  163. package/lib/components/tooltip/components/operator/menu.vue.js.map +1 -0
  164. package/lib/components/tooltip/components/operator/title.vue.d.ts +10 -0
  165. package/lib/components/tooltip/components/operator/title.vue.js +56 -0
  166. package/lib/components/tooltip/components/operator/title.vue.js.map +1 -0
  167. package/lib/components/tooltip/components/simple-tips.vue.d.ts +6 -0
  168. package/lib/components/tooltip/components/simple-tips.vue.js +57 -0
  169. package/lib/components/tooltip/components/simple-tips.vue.js.map +1 -0
  170. package/lib/components/tooltip/components/summary.vue.d.ts +11 -0
  171. package/lib/components/tooltip/components/summary.vue.js +73 -0
  172. package/lib/components/tooltip/components/summary.vue.js.map +1 -0
  173. package/lib/components/tooltip/custom-tooltip.d.ts +6 -0
  174. package/lib/components/tooltip/custom-tooltip.js +41 -0
  175. package/lib/components/tooltip/custom-tooltip.js.map +1 -0
  176. package/lib/components/tooltip/index.vue.d.ts +13 -0
  177. package/lib/components/tooltip/index.vue.js +127 -0
  178. package/lib/components/tooltip/index.vue.js.map +1 -0
  179. package/lib/components/tooltip/interface.d.ts +8 -0
  180. package/lib/components/tooltip/interface.js +3 -0
  181. package/lib/components/tooltip/interface.js.map +1 -0
  182. package/lib/hooks/useEvents.d.ts +4 -0
  183. package/lib/hooks/useEvents.js +129 -0
  184. package/lib/hooks/useEvents.js.map +1 -0
  185. package/lib/hooks/useExpose.d.ts +5 -0
  186. package/lib/hooks/useExpose.js +15 -0
  187. package/lib/hooks/useExpose.js.map +1 -0
  188. package/lib/hooks/useLoading.d.ts +6 -0
  189. package/lib/hooks/useLoading.js +22 -0
  190. package/lib/hooks/useLoading.js.map +1 -0
  191. package/lib/hooks/usePagination.d.ts +70 -0
  192. package/lib/hooks/usePagination.js +72 -0
  193. package/lib/hooks/usePagination.js.map +1 -0
  194. package/lib/hooks/useResize.d.ts +7 -0
  195. package/lib/hooks/useResize.js +24 -0
  196. package/lib/hooks/useResize.js.map +1 -0
  197. package/lib/hooks/useSheetUpdate.d.ts +13 -0
  198. package/lib/hooks/useSheetUpdate.js +60 -0
  199. package/lib/hooks/useSheetUpdate.js.map +1 -0
  200. package/lib/hooks/useSpreadSheet.d.ts +75 -0
  201. package/lib/hooks/useSpreadSheet.js +64 -0
  202. package/lib/hooks/useSpreadSheet.js.map +1 -0
  203. package/lib/icons/calendar-icon.vue.d.ts +2 -0
  204. package/lib/icons/calendar-icon.vue.js +41 -0
  205. package/lib/icons/calendar-icon.vue.js.map +1 -0
  206. package/lib/icons/location-icon.vue.d.ts +2 -0
  207. package/lib/icons/location-icon.vue.js +41 -0
  208. package/lib/icons/location-icon.vue.js.map +1 -0
  209. package/lib/icons/text-icon.vue.d.ts +2 -0
  210. package/lib/icons/text-icon.vue.js +41 -0
  211. package/lib/icons/text-icon.vue.js.map +1 -0
  212. package/lib/index.d.ts +4 -0
  213. package/lib/index.js +8 -3362
  214. package/lib/index.js.map +1 -1
  215. package/lib/interface.d.ts +47 -0
  216. package/lib/interface.js +3 -0
  217. package/lib/interface.js.map +1 -0
  218. package/lib/utils/extendLocale.d.ts +1 -0
  219. package/lib/utils/extendLocale.js +5 -0
  220. package/lib/utils/extendLocale.js.map +1 -0
  221. package/lib/utils/initPropAndEmits.d.ts +204 -0
  222. package/lib/utils/initPropAndEmits.js +165 -0
  223. package/lib/utils/initPropAndEmits.js.map +1 -0
  224. package/lib/utils/options.d.ts +2 -0
  225. package/lib/utils/options.js +8 -0
  226. package/lib/utils/options.js.map +1 -0
  227. package/package.json +53 -49
  228. package/dist/index.min.js +0 -2
  229. package/dist/index.min.js.map +0 -1
  230. package/dist/style.min.css +0 -1
  231. package/esm/style.css +0 -393
  232. 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 {};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.js","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { Locale, extendLocale } from '@antv/s2';
2
+ extendLocale(Locale);
3
+ //# sourceMappingURL=extendLocale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extendLocale.js","sourceRoot":"","sources":["../../src/utils/extendLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEhD,YAAY,CAAC,MAAM,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,158 @@
1
+ import { i18n } from '@antv/s2';
2
+ export const initBaseSheetProps = () => {
3
+ return {
4
+ sheetType: String,
5
+ dataCfg: Object,
6
+ themeCfg: Object,
7
+ showPagination: {
8
+ type: [Object, Boolean],
9
+ default: false,
10
+ },
11
+ loading: Boolean,
12
+ partDrillDown: Object,
13
+ header: Object,
14
+ options: {
15
+ type: Object,
16
+ default: {},
17
+ },
18
+ adaptive: {
19
+ type: [Object, Boolean],
20
+ default: false,
21
+ },
22
+ spreadsheet: Function,
23
+ onMounted: Function,
24
+ onUpdate: Function,
25
+ onUpdateAfterRender: Function,
26
+ };
27
+ };
28
+ export const initDrillDownProps = () => {
29
+ return {
30
+ className: String,
31
+ title: {
32
+ type: String,
33
+ default: i18n('选择下钻维度'),
34
+ },
35
+ searchText: {
36
+ type: String,
37
+ default: i18n('搜索字段'),
38
+ },
39
+ clearText: {
40
+ type: String,
41
+ default: i18n('恢复默认'),
42
+ },
43
+ extra: Node,
44
+ dataSet: {
45
+ type: Array,
46
+ default: [],
47
+ },
48
+ drillFields: Array,
49
+ disabledFields: Array,
50
+ getDrillFields: Function,
51
+ setDrillFields: Function,
52
+ };
53
+ };
54
+ export const initDrillDownEmits = () => {
55
+ const keys = ['getDrillFields', 'setDrillFields'];
56
+ return keys;
57
+ };
58
+ export const initBaseSheetEmits = () => {
59
+ /** base sheet all emits */
60
+ const keys = [
61
+ 'spreadsheet',
62
+ // ============== Row Cell ====================
63
+ 'rowCellHover',
64
+ 'rowCellClick',
65
+ 'rowCellDoubleClick',
66
+ 'rowCellContextMenu',
67
+ 'rowCellMouseDown',
68
+ 'rowCellMouseUp',
69
+ 'rowCellMouseMove',
70
+ 'rowCellCollapsed',
71
+ 'rowCellAllCollapsed',
72
+ 'rowCellScroll',
73
+ // ============== Col Cell ====================
74
+ 'colCellHover',
75
+ 'colCellClick',
76
+ 'colCellDoubleClick',
77
+ 'colCellContextMenu',
78
+ 'colCellMouseDown',
79
+ 'colCellMouseUp',
80
+ 'colCellMouseMove',
81
+ 'colCellExpanded',
82
+ 'colCellHidden',
83
+ // ============== Data Cell ====================
84
+ 'dataCellHover',
85
+ 'dataCellClick',
86
+ 'dataCellDoubleClick',
87
+ 'dataCellContextMenu',
88
+ 'dataCellMouseDown',
89
+ 'dataCellMouseUp',
90
+ 'dataCellMouseMove',
91
+ 'dataCellBrushSelection',
92
+ 'dataCellSelectMove',
93
+ // ============== Corner Cell ====================
94
+ 'cornerCellHover',
95
+ 'cornerCellClick',
96
+ 'cornerCellDoubleClick',
97
+ 'cornerCellContextMenu',
98
+ 'cornerCellMouseDown',
99
+ 'cornerCellMouseUp',
100
+ 'cornerCellMouseMove',
101
+ // ============== Merged Cells ====================
102
+ 'mergedCellsHover',
103
+ 'mergedCellsClick',
104
+ 'mergedCellsDoubleClick',
105
+ 'mergedCellsContextMenu',
106
+ 'mergedCellsMouseDown',
107
+ 'mergedCellsMouseUp',
108
+ 'mergedCellsMouseMove',
109
+ // ============== Sort ====================
110
+ 'rangeSort',
111
+ 'rangeSorted',
112
+ // ============== Filter ====================
113
+ 'rangeFilter',
114
+ 'rangeFiltered',
115
+ // ============== Layout ====================
116
+ 'layoutAfterHeaderLayout',
117
+ 'layoutPagination',
118
+ 'beforeRender',
119
+ 'afterRender',
120
+ 'mounted',
121
+ 'destroy',
122
+ // ============== Resize ====================
123
+ 'layoutResize',
124
+ 'layoutResizeSeriesWidth',
125
+ 'layoutResizeRowWidth',
126
+ 'layoutResizeRowHeight',
127
+ 'layoutResizeColWidth',
128
+ 'layoutResizeColHeight',
129
+ 'layoutResizeTreeWidth',
130
+ 'layoutResizeMouseDown',
131
+ 'layoutResizeMouseUp',
132
+ 'layoutResizeMouseMove',
133
+ // ============== Global ====================
134
+ 'keyBoardDown',
135
+ 'keyBoardUp',
136
+ 'copied',
137
+ 'actionIconHover',
138
+ 'actionIconClick',
139
+ 'contextMenu',
140
+ 'mouseHover',
141
+ 'mouseUp',
142
+ 'mouseMove',
143
+ 'mouseDown',
144
+ 'selected',
145
+ 'reset',
146
+ 'linkFieldJump',
147
+ 'click',
148
+ 'doubleClick',
149
+ 'scroll',
150
+ 'hover',
151
+ // ============== Auto 自动生成的 ================
152
+ 'layoutAfterRealDataCellRender',
153
+ 'rowCellBrushSelection',
154
+ 'colCellBrushSelection',
155
+ ];
156
+ return keys;
157
+ };
158
+ //# 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,2 @@
1
+ import type { S2Options } from '@antv/s2';
2
+ export declare const getSheetComponentOptions: (...options: Partial<S2Options>[]) => S2Options;
@@ -0,0 +1,4 @@
1
+ import { getBaseSheetComponentOptions } from '@antv/s2';
2
+ import { RENDER_TOOLTIP_OPTION } from '../common/constant';
3
+ export const getSheetComponentOptions = (...options) => getBaseSheetComponentOptions(RENDER_TOOLTIP_OPTION, ...options);
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/utils/options.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,GAAG,OAA6B,EACrB,EAAE,CAAC,4BAA4B,CAAC,qBAAqB,EAAE,GAAG,OAAO,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './options';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./options"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/constant/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B"}
@@ -0,0 +1,2 @@
1
+ import type { S2Options } from '@antv/s2';
2
+ export declare const RENDER_TOOLTIP_OPTION: Partial<S2Options>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RENDER_TOOLTIP_OPTION = void 0;
4
+ const custom_tooltip_1 = require("../../components/tooltip/custom-tooltip");
5
+ exports.RENDER_TOOLTIP_OPTION = {
6
+ tooltip: {
7
+ render: (spreadsheet) => new custom_tooltip_1.CustomTooltip(spreadsheet),
8
+ },
9
+ };
10
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/common/constant/options.ts"],"names":[],"mappings":";;;AACA,4EAAwE;AAE3D,QAAA,qBAAqB,GAAuB;IACvD,OAAO,EAAE;QACP,MAAM,EAAE,CAAC,WAAwB,EAAE,EAAE,CAAC,IAAI,8BAAa,CAAC,WAAW,CAAC;KACrE;CACF,CAAC"}
@@ -0,0 +1,126 @@
1
+ import type { Ref } from 'vue';
2
+ import { type BaseDrillDownDataSet } from '@antv/s2';
3
+ import type { SelectInfo } from 'ant-design-vue/lib/menu/src/interface';
4
+ import type { Key } from 'ant-design-vue/lib/_util/type';
5
+ import type { ChangeEvent } from 'ant-design-vue/lib/_util/EventInterface';
6
+ declare const _default: import("vue").DefineComponent<{
7
+ className: StringConstructor;
8
+ title: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ searchText: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ clearText: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ extra: {
21
+ new (): Node;
22
+ prototype: Node;
23
+ readonly ELEMENT_NODE: 1;
24
+ readonly ATTRIBUTE_NODE: 2;
25
+ readonly TEXT_NODE: 3;
26
+ readonly CDATA_SECTION_NODE: 4;
27
+ readonly ENTITY_REFERENCE_NODE: 5;
28
+ readonly ENTITY_NODE: 6;
29
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
30
+ readonly COMMENT_NODE: 8;
31
+ readonly DOCUMENT_NODE: 9;
32
+ readonly DOCUMENT_TYPE_NODE: 10;
33
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
34
+ readonly NOTATION_NODE: 12;
35
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
36
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
37
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
38
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
39
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
40
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
41
+ };
42
+ dataSet: {
43
+ type: import("vue").PropType<BaseDrillDownDataSet[]>;
44
+ default: any[];
45
+ };
46
+ drillFields: import("vue").PropType<string[]>;
47
+ disabledFields: import("vue").PropType<string[]>;
48
+ getDrillFields: import("vue").PropType<(drillFields: string[]) => void>;
49
+ setDrillFields: import("vue").PropType<(drillFields: string[]) => void>;
50
+ }, {
51
+ options: Ref<BaseDrillDownDataSet[]>;
52
+ handleSearch: (e: ChangeEvent) => void;
53
+ handleSelect: (value: SelectInfo) => void;
54
+ handleClear: (e: {
55
+ stopPropagation: () => void;
56
+ }) => void;
57
+ className: string;
58
+ selected: Ref<Key[]>;
59
+ isEmpty: {
60
+ <T extends {
61
+ __trapAny: any;
62
+ }>(value?: T): boolean;
63
+ (value: string): value is "";
64
+ (value: Map<any, any> | Set<any> | import("lodash").List<any>): boolean;
65
+ (value: object): boolean;
66
+ <T_1 extends object>(value: T_1): value is import("lodash").EmptyObjectOf<T_1>;
67
+ (value?: any): boolean;
68
+ };
69
+ DRILL_DOWN_PRE_CLASS: string;
70
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
71
+ getDrillFields: (drillFields: string[]) => void;
72
+ setDrillFields: (drillFields: string[]) => void;
73
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
+ className: StringConstructor;
75
+ title: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ searchText: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ clearText: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ extra: {
88
+ new (): Node;
89
+ prototype: Node;
90
+ readonly ELEMENT_NODE: 1;
91
+ readonly ATTRIBUTE_NODE: 2;
92
+ readonly TEXT_NODE: 3;
93
+ readonly CDATA_SECTION_NODE: 4;
94
+ readonly ENTITY_REFERENCE_NODE: 5;
95
+ readonly ENTITY_NODE: 6;
96
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
97
+ readonly COMMENT_NODE: 8;
98
+ readonly DOCUMENT_NODE: 9;
99
+ readonly DOCUMENT_TYPE_NODE: 10;
100
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
101
+ readonly NOTATION_NODE: 12;
102
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
103
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
104
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
105
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
106
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
107
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
108
+ };
109
+ dataSet: {
110
+ type: import("vue").PropType<BaseDrillDownDataSet[]>;
111
+ default: any[];
112
+ };
113
+ drillFields: import("vue").PropType<string[]>;
114
+ disabledFields: import("vue").PropType<string[]>;
115
+ getDrillFields: import("vue").PropType<(drillFields: string[]) => void>;
116
+ setDrillFields: import("vue").PropType<(drillFields: string[]) => void>;
117
+ }>> & {
118
+ onGetDrillFields?: (drillFields: string[]) => any;
119
+ onSetDrillFields?: (drillFields: string[]) => any;
120
+ }, {
121
+ title: string;
122
+ searchText: string;
123
+ clearText: string;
124
+ dataSet: BaseDrillDownDataSet[];
125
+ }, {}>;
126
+ export default _default;