@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.
Files changed (221) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -8
  3. package/dist/s2-vue.min.css +1 -0
  4. package/dist/s2-vue.min.js +28 -0
  5. package/dist/s2-vue.min.js.map +1 -0
  6. package/esm/common/constant/index.d.ts +1 -0
  7. package/esm/common/constant/index.js +2 -0
  8. package/esm/common/constant/index.js.map +1 -0
  9. package/esm/common/constant/options.d.ts +2 -0
  10. package/esm/common/constant/options.js +7 -0
  11. package/esm/common/constant/options.js.map +1 -0
  12. package/esm/components/drill-down/index.vue.d.ts +126 -0
  13. package/esm/components/drill-down/index.vue.js +206 -0
  14. package/esm/components/drill-down/index.vue.js.map +1 -0
  15. package/esm/components/index.d.ts +6 -0
  16. package/esm/components/index.js +8 -0
  17. package/esm/components/index.js.map +1 -0
  18. package/esm/components/pagination/index.vue.d.ts +44 -0
  19. package/esm/components/pagination/index.vue.js +91 -0
  20. package/esm/components/pagination/index.vue.js.map +1 -0
  21. package/esm/components/sheets/base-sheet.vue.d.ts +391 -0
  22. package/esm/components/sheets/base-sheet.vue.js +119 -0
  23. package/esm/components/sheets/base-sheet.vue.js.map +1 -0
  24. package/esm/components/sheets/editable-sheet.vue.d.ts +2 -0
  25. package/esm/components/sheets/editable-sheet.vue.js +181 -0
  26. package/esm/components/sheets/editable-sheet.vue.js.map +1 -0
  27. package/esm/components/sheets/index.vue.d.ts +251 -0
  28. package/esm/components/sheets/index.vue.js +77 -0
  29. package/esm/components/sheets/index.vue.js.map +1 -0
  30. package/esm/components/sheets/pivot-sheet.vue.d.ts +322 -0
  31. package/esm/components/sheets/pivot-sheet.vue.js +117 -0
  32. package/esm/components/sheets/pivot-sheet.vue.js.map +1 -0
  33. package/esm/components/sheets/table-sheet.vue.d.ts +250 -0
  34. package/esm/components/sheets/table-sheet.vue.js +61 -0
  35. package/esm/components/sheets/table-sheet.vue.js.map +1 -0
  36. package/esm/components/tooltip/components/detail.vue.d.ts +6 -0
  37. package/esm/components/tooltip/components/detail.vue.js +53 -0
  38. package/esm/components/tooltip/components/detail.vue.js.map +1 -0
  39. package/esm/components/tooltip/components/head-info.vue.d.ts +6 -0
  40. package/esm/components/tooltip/components/head-info.vue.js +61 -0
  41. package/esm/components/tooltip/components/head-info.vue.js.map +1 -0
  42. package/esm/components/tooltip/components/infos.vue.d.ts +6 -0
  43. package/esm/components/tooltip/components/infos.vue.js +49 -0
  44. package/esm/components/tooltip/components/infos.vue.js.map +1 -0
  45. package/esm/components/tooltip/components/operator/index.d.ts +3 -0
  46. package/esm/components/tooltip/components/operator/index.js +4 -0
  47. package/esm/components/tooltip/components/operator/index.js.map +1 -0
  48. package/esm/components/tooltip/components/operator/index.vue.d.ts +14 -0
  49. package/esm/components/tooltip/components/operator/index.vue.js +149 -0
  50. package/esm/components/tooltip/components/operator/index.vue.js.map +1 -0
  51. package/esm/components/tooltip/components/operator/menu.vue.d.ts +21 -0
  52. package/esm/components/tooltip/components/operator/menu.vue.js +146 -0
  53. package/esm/components/tooltip/components/operator/menu.vue.js.map +1 -0
  54. package/esm/components/tooltip/components/operator/title.vue.d.ts +10 -0
  55. package/esm/components/tooltip/components/operator/title.vue.js +54 -0
  56. package/esm/components/tooltip/components/operator/title.vue.js.map +1 -0
  57. package/esm/components/tooltip/components/simple-tips.vue.d.ts +6 -0
  58. package/esm/components/tooltip/components/simple-tips.vue.js +55 -0
  59. package/esm/components/tooltip/components/simple-tips.vue.js.map +1 -0
  60. package/esm/components/tooltip/components/summary.vue.d.ts +11 -0
  61. package/esm/components/tooltip/components/summary.vue.js +71 -0
  62. package/esm/components/tooltip/components/summary.vue.js.map +1 -0
  63. package/esm/components/tooltip/custom-tooltip.d.ts +6 -0
  64. package/esm/components/tooltip/custom-tooltip.js +36 -0
  65. package/esm/components/tooltip/custom-tooltip.js.map +1 -0
  66. package/esm/components/tooltip/index.vue.d.ts +13 -0
  67. package/esm/components/tooltip/index.vue.js +124 -0
  68. package/esm/components/tooltip/index.vue.js.map +1 -0
  69. package/esm/components/tooltip/interface.d.ts +8 -0
  70. package/esm/components/tooltip/interface.js +2 -0
  71. package/esm/components/tooltip/interface.js.map +1 -0
  72. package/esm/hooks/useEvents.d.ts +4 -0
  73. package/esm/hooks/useEvents.js +125 -0
  74. package/esm/hooks/useEvents.js.map +1 -0
  75. package/esm/hooks/useExpose.d.ts +5 -0
  76. package/esm/hooks/useExpose.js +11 -0
  77. package/esm/hooks/useExpose.js.map +1 -0
  78. package/esm/hooks/useLoading.d.ts +6 -0
  79. package/esm/hooks/useLoading.js +18 -0
  80. package/esm/hooks/useLoading.js.map +1 -0
  81. package/esm/hooks/usePagination.d.ts +70 -0
  82. package/esm/hooks/usePagination.js +68 -0
  83. package/esm/hooks/usePagination.js.map +1 -0
  84. package/esm/hooks/useResize.d.ts +7 -0
  85. package/esm/hooks/useResize.js +20 -0
  86. package/esm/hooks/useResize.js.map +1 -0
  87. package/esm/hooks/useSheetUpdate.d.ts +13 -0
  88. package/esm/hooks/useSheetUpdate.js +56 -0
  89. package/esm/hooks/useSheetUpdate.js.map +1 -0
  90. package/esm/hooks/useSpreadSheet.d.ts +75 -0
  91. package/esm/hooks/useSpreadSheet.js +60 -0
  92. package/esm/hooks/useSpreadSheet.js.map +1 -0
  93. package/esm/index.d.ts +4 -6184
  94. package/esm/index.js +5 -3363
  95. package/esm/index.js.map +1 -1
  96. package/esm/interface.d.ts +47 -0
  97. package/esm/interface.js +2 -0
  98. package/esm/interface.js.map +1 -0
  99. package/esm/svg/calendar-icon.svg +13 -0
  100. package/esm/svg/location-icon.svg +13 -0
  101. package/esm/svg/text-icon.svg +13 -0
  102. package/esm/utils/extendLocale.d.ts +1 -0
  103. package/esm/utils/extendLocale.js +3 -0
  104. package/esm/utils/extendLocale.js.map +1 -0
  105. package/esm/utils/initPropAndEmits.d.ts +204 -0
  106. package/esm/utils/initPropAndEmits.js +158 -0
  107. package/esm/utils/initPropAndEmits.js.map +1 -0
  108. package/esm/utils/options.d.ts +2 -0
  109. package/esm/utils/options.js +4 -0
  110. package/esm/utils/options.js.map +1 -0
  111. package/lib/common/constant/index.d.ts +1 -0
  112. package/lib/common/constant/index.js +5 -0
  113. package/lib/common/constant/index.js.map +1 -0
  114. package/lib/common/constant/options.d.ts +2 -0
  115. package/lib/common/constant/options.js +10 -0
  116. package/lib/common/constant/options.js.map +1 -0
  117. package/lib/components/drill-down/index.vue.d.ts +126 -0
  118. package/lib/components/drill-down/index.vue.js +209 -0
  119. package/lib/components/drill-down/index.vue.js.map +1 -0
  120. package/lib/components/index.d.ts +6 -0
  121. package/lib/components/index.js +20 -0
  122. package/lib/components/index.js.map +1 -0
  123. package/lib/components/pagination/index.vue.d.ts +44 -0
  124. package/lib/components/pagination/index.vue.js +93 -0
  125. package/lib/components/pagination/index.vue.js.map +1 -0
  126. package/lib/components/sheets/base-sheet.vue.d.ts +391 -0
  127. package/lib/components/sheets/base-sheet.vue.js +122 -0
  128. package/lib/components/sheets/base-sheet.vue.js.map +1 -0
  129. package/lib/components/sheets/editable-sheet.vue.d.ts +2 -0
  130. package/lib/components/sheets/editable-sheet.vue.js +184 -0
  131. package/lib/components/sheets/editable-sheet.vue.js.map +1 -0
  132. package/lib/components/sheets/index.vue.d.ts +251 -0
  133. package/lib/components/sheets/index.vue.js +80 -0
  134. package/lib/components/sheets/index.vue.js.map +1 -0
  135. package/lib/components/sheets/pivot-sheet.vue.d.ts +322 -0
  136. package/lib/components/sheets/pivot-sheet.vue.js +120 -0
  137. package/lib/components/sheets/pivot-sheet.vue.js.map +1 -0
  138. package/lib/components/sheets/table-sheet.vue.d.ts +250 -0
  139. package/lib/components/sheets/table-sheet.vue.js +64 -0
  140. package/lib/components/sheets/table-sheet.vue.js.map +1 -0
  141. package/lib/components/tooltip/components/detail.vue.d.ts +6 -0
  142. package/lib/components/tooltip/components/detail.vue.js +55 -0
  143. package/lib/components/tooltip/components/detail.vue.js.map +1 -0
  144. package/lib/components/tooltip/components/head-info.vue.d.ts +6 -0
  145. package/lib/components/tooltip/components/head-info.vue.js +63 -0
  146. package/lib/components/tooltip/components/head-info.vue.js.map +1 -0
  147. package/lib/components/tooltip/components/infos.vue.d.ts +6 -0
  148. package/lib/components/tooltip/components/infos.vue.js +51 -0
  149. package/lib/components/tooltip/components/infos.vue.js.map +1 -0
  150. package/lib/components/tooltip/components/operator/index.d.ts +3 -0
  151. package/lib/components/tooltip/components/operator/index.js +13 -0
  152. package/lib/components/tooltip/components/operator/index.js.map +1 -0
  153. package/lib/components/tooltip/components/operator/index.vue.d.ts +14 -0
  154. package/lib/components/tooltip/components/operator/index.vue.js +152 -0
  155. package/lib/components/tooltip/components/operator/index.vue.js.map +1 -0
  156. package/lib/components/tooltip/components/operator/menu.vue.d.ts +21 -0
  157. package/lib/components/tooltip/components/operator/menu.vue.js +149 -0
  158. package/lib/components/tooltip/components/operator/menu.vue.js.map +1 -0
  159. package/lib/components/tooltip/components/operator/title.vue.d.ts +10 -0
  160. package/lib/components/tooltip/components/operator/title.vue.js +56 -0
  161. package/lib/components/tooltip/components/operator/title.vue.js.map +1 -0
  162. package/lib/components/tooltip/components/simple-tips.vue.d.ts +6 -0
  163. package/lib/components/tooltip/components/simple-tips.vue.js +57 -0
  164. package/lib/components/tooltip/components/simple-tips.vue.js.map +1 -0
  165. package/lib/components/tooltip/components/summary.vue.d.ts +11 -0
  166. package/lib/components/tooltip/components/summary.vue.js +73 -0
  167. package/lib/components/tooltip/components/summary.vue.js.map +1 -0
  168. package/lib/components/tooltip/custom-tooltip.d.ts +6 -0
  169. package/lib/components/tooltip/custom-tooltip.js +41 -0
  170. package/lib/components/tooltip/custom-tooltip.js.map +1 -0
  171. package/lib/components/tooltip/index.vue.d.ts +13 -0
  172. package/lib/components/tooltip/index.vue.js +127 -0
  173. package/lib/components/tooltip/index.vue.js.map +1 -0
  174. package/lib/components/tooltip/interface.d.ts +8 -0
  175. package/lib/components/tooltip/interface.js +3 -0
  176. package/lib/components/tooltip/interface.js.map +1 -0
  177. package/lib/hooks/useEvents.d.ts +4 -0
  178. package/lib/hooks/useEvents.js +129 -0
  179. package/lib/hooks/useEvents.js.map +1 -0
  180. package/lib/hooks/useExpose.d.ts +5 -0
  181. package/lib/hooks/useExpose.js +15 -0
  182. package/lib/hooks/useExpose.js.map +1 -0
  183. package/lib/hooks/useLoading.d.ts +6 -0
  184. package/lib/hooks/useLoading.js +22 -0
  185. package/lib/hooks/useLoading.js.map +1 -0
  186. package/lib/hooks/usePagination.d.ts +70 -0
  187. package/lib/hooks/usePagination.js +72 -0
  188. package/lib/hooks/usePagination.js.map +1 -0
  189. package/lib/hooks/useResize.d.ts +7 -0
  190. package/lib/hooks/useResize.js +24 -0
  191. package/lib/hooks/useResize.js.map +1 -0
  192. package/lib/hooks/useSheetUpdate.d.ts +13 -0
  193. package/lib/hooks/useSheetUpdate.js +60 -0
  194. package/lib/hooks/useSheetUpdate.js.map +1 -0
  195. package/lib/hooks/useSpreadSheet.d.ts +75 -0
  196. package/lib/hooks/useSpreadSheet.js +64 -0
  197. package/lib/hooks/useSpreadSheet.js.map +1 -0
  198. package/lib/index.d.ts +4 -0
  199. package/lib/index.js +8 -3362
  200. package/lib/index.js.map +1 -1
  201. package/lib/interface.d.ts +47 -0
  202. package/lib/interface.js +3 -0
  203. package/lib/interface.js.map +1 -0
  204. package/lib/svg/calendar-icon.svg +13 -0
  205. package/lib/svg/location-icon.svg +13 -0
  206. package/lib/svg/text-icon.svg +13 -0
  207. package/lib/utils/extendLocale.d.ts +1 -0
  208. package/lib/utils/extendLocale.js +5 -0
  209. package/lib/utils/extendLocale.js.map +1 -0
  210. package/lib/utils/initPropAndEmits.d.ts +204 -0
  211. package/lib/utils/initPropAndEmits.js +165 -0
  212. package/lib/utils/initPropAndEmits.js.map +1 -0
  213. package/lib/utils/options.d.ts +2 -0
  214. package/lib/utils/options.js +8 -0
  215. package/lib/utils/options.js.map +1 -0
  216. package/package.json +63 -58
  217. package/dist/index.min.js +0 -2
  218. package/dist/index.min.js.map +0 -1
  219. package/dist/style.min.css +0 -1
  220. package/esm/style.css +0 -393
  221. package/lib/style.css +0 -393
package/lib/style.css DELETED
@@ -1,393 +0,0 @@
1
- .antv-s2-tooltip-operator {
2
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
3
- background: var(--antv-s2-tooltip-operator-background, #f9f9f9);
4
- font-size: 12px;
5
- line-height: 36px;
6
- border: 0;
7
- cursor: pointer;
8
- }
9
- .antv-s2-tooltip-operator .ant-menu-horizontal:not(.ant-menu-dark) {
10
- background: transparent;
11
- line-height: 36px;
12
- }
13
- .antv-s2-tooltip-operator .ant-dropdown-trigger,
14
- .antv-s2-tooltip-operator-dropdown {
15
- padding: 0 6px 0 0;
16
- }
17
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu {
18
- font-size: 12px;
19
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
20
- border: 0;
21
- user-select: none;
22
- padding: 4px;
23
- }
24
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item {
25
- height: 36px;
26
- }
27
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu > .ant-menu-submenu-title {
28
- height: 36px;
29
- width: 100%;
30
- }
31
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow {
32
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
33
- }
34
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,
35
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,
36
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,
37
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item {
38
- font-size: 12px;
39
- line-height: 36px;
40
- padding: 0 12px;
41
- border: 0;
42
- }
43
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),
44
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),
45
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item:not(.ant-menu-item-active),
46
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item:not(.ant-menu-item-active) {
47
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
48
- }
49
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
50
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
51
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
52
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
53
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
54
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
55
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,
56
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title {
57
- padding: 0 0 0 12px;
58
- font-size: 12px;
59
- line-height: 36px;
60
- margin: 0;
61
- }
62
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
63
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
64
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
65
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
66
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
67
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
68
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
69
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active) {
70
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
71
- }
72
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
73
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
74
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,
75
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,
76
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
77
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
78
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,
79
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,
80
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,
81
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,
82
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,
83
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,
84
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,
85
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,
86
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,
87
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content {
88
- margin-right: 12px;
89
- }
90
- .antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,
91
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-item {
92
- font-size: 12px;
93
- line-height: 36px;
94
- padding: 0 12px;
95
- }
96
- .antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),
97
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active) {
98
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
99
- }
100
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item {
101
- margin: 0;
102
- height: 36px;
103
- line-height: 36px;
104
- width: 100%;
105
- }
106
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item:not(:last-child) {
107
- margin: 0;
108
- }
109
- .antv-s2-tooltip-operator-icon {
110
- vertical-align: middle;
111
- }
112
- .antv-s2-tooltip-operator-icon svg {
113
- width: 12px;
114
- height: 12px;
115
- fill: var(--antv-s2-font);
116
- }
117
- @media only screen and (max-device-width: 480px) {
118
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu {
119
- font-size: 12px;
120
- }
121
- .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item {
122
- height: 36px;
123
- }
124
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,
125
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,
126
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,
127
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item {
128
- line-height: 36px;
129
- }
130
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
131
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
132
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
133
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
134
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
135
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
136
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,
137
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title {
138
- font-size: 12px;
139
- }
140
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
141
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
142
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
143
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
144
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
145
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
146
- .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
147
- .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active) {
148
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
149
- }
150
- .antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,
151
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-item {
152
- font-size: 12px;
153
- }
154
- .antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),
155
- .antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active) {
156
- color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
157
- }
158
- .antv-s2-tooltip-operator-icon svg {
159
- width: 12px;
160
- height: 12px;
161
- }
162
- }
163
- .antv-s2-tooltip-container {
164
- position: fixed;
165
- user-select: text;
166
- min-width: 200px;
167
- max-width: 640px;
168
- max-height: 100vh;
169
- overflow: auto;
170
- z-index: 1024;
171
- display: inline-block;
172
- background: var(--antv-s2-tooltip-background, rgba(255, 255, 255, 0.95));
173
- border-radius: 4px;
174
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
175
- font-size: 12px;
176
- font-family: Roboto, 'PingFang SC', 'Chinese Quote', BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
177
- }
178
- .antv-s2-tooltip-container-hide {
179
- opacity: 0;
180
- visibility: hidden;
181
- pointer-events: none;
182
- }
183
- .antv-s2-tooltip-container-hide * {
184
- transition: none;
185
- }
186
- .antv-s2-tooltip-container-show {
187
- opacity: 1;
188
- visibility: visible;
189
- pointer-events: all;
190
- }
191
- .antv-s2-tooltip-tips,
192
- .antv-s2-tooltip-name {
193
- padding: 12px;
194
- line-height: 16px;
195
- overflow-wrap: break-word;
196
- color: var(--antv-s2-font-85, rgba(0, 0, 0, 0.85));
197
- }
198
- .antv-s2-tooltip-description {
199
- padding: 0 12px 12px;
200
- line-height: 16px;
201
- overflow-wrap: break-word;
202
- color: var(--antv-s2-font-45, rgba(0, 0, 0, 0.45));
203
- }
204
- .antv-s2-tooltip-tips {
205
- padding: 4px 12px;
206
- color: var(--antv-s2-font-45, rgba(0, 0, 0, 0.45));
207
- }
208
- .antv-s2-tooltip-infos {
209
- padding: 4px 12px;
210
- line-height: 20px;
211
- color: var(--antv-s2-font-45, rgba(0, 0, 0, 0.45));
212
- overflow: hidden;
213
- text-overflow: ellipsis;
214
- -webkit-line-clamp: 2;
215
- display: -webkit-box;
216
- -webkit-box-orient: vertical;
217
- overflow-wrap: break-word;
218
- background: rgba(249, 249, 249, 0.96);
219
- border-radius: 0 0 2px 2px;
220
- background-color: #f9f9f9;
221
- }
222
- .antv-s2-tooltip-summary {
223
- line-height: 20px;
224
- color: var(--antv-s2-font-65, rgba(0, 0, 0, 0.65));
225
- overflow: hidden;
226
- padding: 12px;
227
- }
228
- .antv-s2-tooltip-summary-item {
229
- display: flex;
230
- }
231
- .antv-s2-tooltip-summary-key {
232
- margin-right: 20px;
233
- }
234
- .antv-s2-tooltip-summary-val {
235
- flex: 1;
236
- text-align: right;
237
- text-overflow: ellipsis;
238
- white-space: nowrap;
239
- overflow: hidden;
240
- }
241
- .antv-s2-tooltip-interpretation {
242
- color: rgba(0, 0, 0, 0.65);
243
- overflow: hidden;
244
- padding: 12px;
245
- }
246
- .antv-s2-tooltip-interpretation + .antv-s2-tooltip-head-info-list {
247
- border-top: 1px solid var(--antv-s2-border, #e9e9e9);
248
- }
249
- .antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head {
250
- margin-bottom: 12px;
251
- }
252
- .antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-icon {
253
- width: 14px;
254
- height: 14px;
255
- }
256
- .antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-name {
257
- color: var(--antv-s2-font, #000);
258
- }
259
- .antv-s2-tooltip-head-info-list {
260
- color: var(--antv-s2-font-65, #a2a2a2);
261
- padding: 12px 12px 4px;
262
- line-height: 24px;
263
- word-break: break-word;
264
- }
265
- .antv-s2-tooltip-bold,
266
- .antv-s2-tooltip-selected {
267
- font-weight: bold;
268
- }
269
- .antv-s2-tooltip-selected {
270
- margin-right: 5px;
271
- }
272
- .antv-s2-tooltip-highlight {
273
- color: var(--antv-s2-font-85, rgba(0, 0, 0, 0.85));
274
- }
275
- .antv-s2-tooltip-detail-list {
276
- padding: 2px 12px 8px;
277
- }
278
- .antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item {
279
- color: var(--antv-s2-font-65, rgba(0, 0, 0, 0.65));
280
- overflow: hidden;
281
- margin: 4px 0;
282
- display: flex;
283
- justify-content: space-around;
284
- align-items: center;
285
- }
286
- .antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-key {
287
- margin-right: 20px;
288
- }
289
- .antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-val {
290
- flex: 1;
291
- text-align: right;
292
- text-overflow: ellipsis;
293
- white-space: nowrap;
294
- overflow: hidden;
295
- }
296
- .ant-dropdown-menu-item.operation-item {
297
- font-size: 12px;
298
- }
299
- .antv-s2-spin.ant-spin-nested-loading,
300
- .antv-s2-spin > .ant-spin-container {
301
- height: 100%;
302
- }
303
- .antv-s2-wrapper {
304
- padding: 0;
305
- margin: 0;
306
- display: flex;
307
- flex-direction: column;
308
- height: 100%;
309
- }
310
- .antv-s2-container {
311
- overflow: auto;
312
- flex: 1 1 auto;
313
- }
314
- .antv-s2-container canvas {
315
- display: block;
316
- }
317
- .antv-s2-pagination {
318
- display: flex;
319
- align-items: center;
320
- z-index: 1024;
321
- }
322
- .antv-s2-pagination-count {
323
- margin-left: 12px;
324
- text-overflow: ellipsis;
325
- white-space: nowrap;
326
- max-width: 64px;
327
- }
328
- .antv-s2-drill-down[data-v-8dd920ec] {
329
- width: 260px;
330
- min-height: 20px;
331
- position: relative;
332
- color: var(--antv-s2-font-70, #fff);
333
- }
334
- .antv-s2-drill-down-header[data-v-8dd920ec] {
335
- display: flex;
336
- height: 32px;
337
- font-size: 14px;
338
- padding: 0 16px;
339
- margin-top: 16px;
340
- }
341
- .antv-s2-drill-down-header button[data-v-8dd920ec] {
342
- position: absolute;
343
- right: 0;
344
- top: -4px;
345
- font-size: 12px;
346
- color: #1890ff;
347
- letter-spacing: -0.2px;
348
- line-height: 20px;
349
- }
350
- .antv-s2-drill-down-search[data-v-8dd920ec] {
351
- height: 24px;
352
- width: 228px !important;
353
- margin: 0 16px;
354
- border: 1px solid rgba(0, 0, 0, 0.15);
355
- border-radius: 2px;
356
- }
357
- .antv-s2-drill-down-search input[data-v-8dd920ec],
358
- .antv-s2-drill-down-search span[data-v-8dd920ec] {
359
- font-size: 12px;
360
- }
361
- .antv-s2-drill-down-search[data-v-8dd920ec],
362
- .antv-s2-drill-down-search .ant-input[data-v-8dd920ec]::placeholder {
363
- background-color: var(--antv-s2-block-background, #fff);
364
- }
365
- .antv-s2-drill-down-extra[data-v-8dd920ec] {
366
- margin: 4px 16px;
367
- }
368
- .antv-s2-drill-down-menu[data-v-8dd920ec] {
369
- max-height: 314px;
370
- overflow: hidden auto;
371
- }
372
- .antv-s2-drill-down-menu.ant-menu[data-v-8dd920ec] {
373
- background: var(--antv-s2-tooltip-background, #fff);
374
- }
375
- .antv-s2-drill-down-menu.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected[data-v-8dd920ec] {
376
- background-color: var(--antv-s2-block-background, #e6f7ff);
377
- }
378
- .antv-s2-drill-down-menu-item[data-v-8dd920ec] {
379
- height: 32px !important;
380
- line-height: 32px !important;
381
- font-size: 12px;
382
- opacity: 0.65;
383
- }
384
- .antv-s2-drill-down-menu-item span[data-v-8dd920ec]:last-child {
385
- line-height: 32px;
386
- }
387
- .antv-s2-drill-down-menu-item svg[data-v-8dd920ec] {
388
- margin-right: 8px;
389
- }
390
- .antv-s2-drill-down-empty[data-v-8dd920ec] {
391
- padding: 12px;
392
- font-size: 12px;
393
- }