@antv/s2-vue 1.4.0 → 2.0.0-alpha.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/LICENSE +21 -0
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/style.min.css +1 -1
- package/esm/index.d.ts +760 -627
- package/esm/index.js +457 -209
- package/esm/index.js.map +1 -1
- package/esm/style.css +61 -14
- package/lib/index.js +449 -208
- package/lib/index.js.map +1 -1
- package/lib/style.css +61 -14
- package/package.json +10 -9
package/esm/style.css
CHANGED
|
@@ -113,6 +113,52 @@
|
|
|
113
113
|
width: 12px;
|
|
114
114
|
height: 12px;
|
|
115
115
|
}
|
|
116
|
+
@media only screen and (max-device-width: 480px) {
|
|
117
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu {
|
|
118
|
+
font-size: 12px;
|
|
119
|
+
}
|
|
120
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item {
|
|
121
|
+
height: 36px;
|
|
122
|
+
}
|
|
123
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,
|
|
124
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,
|
|
125
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,
|
|
126
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item {
|
|
127
|
+
line-height: 36px;
|
|
128
|
+
}
|
|
129
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
130
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
131
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
|
|
132
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
|
|
133
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
|
|
134
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
|
|
135
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,
|
|
136
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title {
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
}
|
|
139
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
140
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
141
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
142
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
143
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
144
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
145
|
+
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
146
|
+
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active) {
|
|
147
|
+
color: rgba(0, 0, 0, 0.65);
|
|
148
|
+
}
|
|
149
|
+
.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,
|
|
150
|
+
.antv-s2-tooltip-operator-submenu-popup .ant-menu-item {
|
|
151
|
+
font-size: 12px;
|
|
152
|
+
}
|
|
153
|
+
.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),
|
|
154
|
+
.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active) {
|
|
155
|
+
color: rgba(0, 0, 0, 0.65);
|
|
156
|
+
}
|
|
157
|
+
.antv-s2-tooltip-operator-icon svg {
|
|
158
|
+
width: 12px;
|
|
159
|
+
height: 12px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
116
162
|
.antv-s2-tooltip-container {
|
|
117
163
|
position: fixed;
|
|
118
164
|
user-select: text;
|
|
@@ -126,7 +172,7 @@
|
|
|
126
172
|
border-radius: 2px;
|
|
127
173
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
|
|
128
174
|
font-size: 12px;
|
|
129
|
-
font-family:
|
|
175
|
+
font-family: Roboto, 'PingFang SC', 'Chinese Quote', BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
130
176
|
}
|
|
131
177
|
.antv-s2-tooltip-container-hide {
|
|
132
178
|
opacity: 0;
|
|
@@ -152,7 +198,7 @@
|
|
|
152
198
|
padding: 0 12px 12px;
|
|
153
199
|
line-height: 16px;
|
|
154
200
|
overflow-wrap: break-word;
|
|
155
|
-
color: rgba(0, 0, 0, 0.
|
|
201
|
+
color: rgba(0, 0, 0, 0.45);
|
|
156
202
|
}
|
|
157
203
|
.antv-s2-tooltip-tips {
|
|
158
204
|
padding: 4px 12px;
|
|
@@ -212,7 +258,8 @@
|
|
|
212
258
|
.antv-s2-tooltip-head-info-list {
|
|
213
259
|
color: #a2a2a2;
|
|
214
260
|
padding: 12px 12px 4px;
|
|
215
|
-
line-height:
|
|
261
|
+
line-height: 24px;
|
|
262
|
+
word-break: break-word;
|
|
216
263
|
}
|
|
217
264
|
.antv-s2-tooltip-bold,
|
|
218
265
|
.antv-s2-tooltip-selected {
|
|
@@ -277,19 +324,19 @@
|
|
|
277
324
|
white-space: nowrap;
|
|
278
325
|
max-width: 64px;
|
|
279
326
|
}
|
|
280
|
-
.s2-drill-down[data-v-
|
|
327
|
+
.antv-s2-drill-down[data-v-1a60f775] {
|
|
281
328
|
width: 260px;
|
|
282
329
|
min-height: 20px;
|
|
283
330
|
position: relative;
|
|
284
331
|
}
|
|
285
|
-
.s2-drill-down-header[data-v-
|
|
332
|
+
.antv-s2-drill-down-header[data-v-1a60f775] {
|
|
286
333
|
display: flex;
|
|
287
334
|
height: 32px;
|
|
288
335
|
font-size: 14px;
|
|
289
336
|
padding: 0 16px;
|
|
290
337
|
margin-top: 16px;
|
|
291
338
|
}
|
|
292
|
-
.s2-drill-down-header button[data-v-
|
|
339
|
+
.antv-s2-drill-down-header button[data-v-1a60f775] {
|
|
293
340
|
position: absolute;
|
|
294
341
|
right: 0;
|
|
295
342
|
top: -4px;
|
|
@@ -298,7 +345,7 @@
|
|
|
298
345
|
letter-spacing: -0.2px;
|
|
299
346
|
line-height: 20px;
|
|
300
347
|
}
|
|
301
|
-
.s2-drill-down-search[data-v-
|
|
348
|
+
.antv-s2-drill-down-search[data-v-1a60f775] {
|
|
302
349
|
height: 24px;
|
|
303
350
|
width: 228px !important;
|
|
304
351
|
margin: 0 16px;
|
|
@@ -306,28 +353,28 @@
|
|
|
306
353
|
border-radius: 2px;
|
|
307
354
|
background-color: #fff;
|
|
308
355
|
}
|
|
309
|
-
.s2-drill-down-search input[data-v-
|
|
310
|
-
.s2-drill-down-search span[data-v-
|
|
356
|
+
.antv-s2-drill-down-search input[data-v-1a60f775],
|
|
357
|
+
.antv-s2-drill-down-search span[data-v-1a60f775] {
|
|
311
358
|
font-size: 12px;
|
|
312
359
|
}
|
|
313
|
-
.s2-drill-down-menu[data-v-
|
|
360
|
+
.antv-s2-drill-down-menu[data-v-1a60f775] {
|
|
314
361
|
max-height: 314px;
|
|
315
362
|
overflow-y: auto;
|
|
316
363
|
overflow-x: hidden;
|
|
317
364
|
}
|
|
318
|
-
.s2-drill-down-menu-item[data-v-
|
|
365
|
+
.antv-s2-drill-down-menu-item[data-v-1a60f775] {
|
|
319
366
|
height: 32px !important;
|
|
320
367
|
line-height: 32px !important;
|
|
321
368
|
font-size: 12px;
|
|
322
369
|
opacity: 0.65;
|
|
323
370
|
}
|
|
324
|
-
.s2-drill-down-menu-item span[data-v-
|
|
371
|
+
.antv-s2-drill-down-menu-item span[data-v-1a60f775]:last-child {
|
|
325
372
|
line-height: 32px;
|
|
326
373
|
}
|
|
327
|
-
.s2-drill-down-menu-item svg[data-v-
|
|
374
|
+
.antv-s2-drill-down-menu-item svg[data-v-1a60f775] {
|
|
328
375
|
margin-right: 8px;
|
|
329
376
|
}
|
|
330
|
-
.s2-drill-down-empty[data-v-
|
|
377
|
+
.antv-s2-drill-down-empty[data-v-1a60f775] {
|
|
331
378
|
padding: 18px 18px 0;
|
|
332
379
|
font-size: 12px;
|
|
333
380
|
}
|