@antv/s2-vue 2.0.0-next.14 → 2.0.0-next.16
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/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 +751 -304
- package/esm/index.js +307 -164
- package/esm/index.js.map +1 -1
- package/esm/style.css +5 -52
- package/lib/index.js +305 -162
- package/lib/index.js.map +1 -1
- package/lib/style.css +5 -52
- package/package.json +36 -36
package/lib/style.css
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
border: 0;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
}
|
|
9
|
+
.antv-s2-tooltip-operator .ant-menu {
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
}
|
|
9
12
|
.antv-s2-tooltip-operator .ant-menu-horizontal:not(.ant-menu-dark) {
|
|
10
13
|
background: transparent;
|
|
11
14
|
line-height: 36px;
|
|
@@ -19,7 +22,6 @@
|
|
|
19
22
|
color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
|
|
20
23
|
border: 0;
|
|
21
24
|
user-select: none;
|
|
22
|
-
padding: 4px;
|
|
23
25
|
width: 100%;
|
|
24
26
|
}
|
|
25
27
|
.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item {
|
|
@@ -118,52 +120,6 @@
|
|
|
118
120
|
height: 12px;
|
|
119
121
|
fill: var(--antv-s2-font);
|
|
120
122
|
}
|
|
121
|
-
@media only screen and (max-device-width: 480px) {
|
|
122
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu {
|
|
123
|
-
font-size: 12px;
|
|
124
|
-
}
|
|
125
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item {
|
|
126
|
-
height: 36px;
|
|
127
|
-
}
|
|
128
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,
|
|
129
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,
|
|
130
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,
|
|
131
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item {
|
|
132
|
-
line-height: 36px;
|
|
133
|
-
}
|
|
134
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
135
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
136
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
|
|
137
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
|
|
138
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
|
|
139
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,
|
|
140
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,
|
|
141
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title {
|
|
142
|
-
font-size: 12px;
|
|
143
|
-
}
|
|
144
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
145
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
146
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
147
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
148
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
149
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
150
|
-
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),
|
|
151
|
-
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active) {
|
|
152
|
-
color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
|
|
153
|
-
}
|
|
154
|
-
.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,
|
|
155
|
-
.antv-s2-tooltip-operator-submenu-popup .ant-menu-item {
|
|
156
|
-
font-size: 12px;
|
|
157
|
-
}
|
|
158
|
-
.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),
|
|
159
|
-
.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active) {
|
|
160
|
-
color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
|
|
161
|
-
}
|
|
162
|
-
.antv-s2-tooltip-operator-icon svg {
|
|
163
|
-
width: 12px;
|
|
164
|
-
height: 12px;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
123
|
.antv-s2-tooltip-container {
|
|
168
124
|
position: fixed;
|
|
169
125
|
user-select: text;
|
|
@@ -177,7 +133,7 @@
|
|
|
177
133
|
border-radius: 4px;
|
|
178
134
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
|
|
179
135
|
font-size: 12px;
|
|
180
|
-
font-family: Roboto, 'PingFang SC', 'Chinese Quote',
|
|
136
|
+
font-family: Roboto, 'PingFang SC', 'Chinese Quote', 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
181
137
|
}
|
|
182
138
|
.antv-s2-tooltip-container-hide {
|
|
183
139
|
opacity: 0;
|
|
@@ -333,7 +289,7 @@
|
|
|
333
289
|
width: 260px;
|
|
334
290
|
min-height: 20px;
|
|
335
291
|
position: relative;
|
|
336
|
-
color: var(--antv-s2-font-70,
|
|
292
|
+
color: var(--antv-s2-font-70, rgba(0, 0, 0, 0.9));
|
|
337
293
|
}
|
|
338
294
|
.antv-s2-drill-down-header[data-v-8dd920ec] {
|
|
339
295
|
display: flex;
|
|
@@ -366,9 +322,6 @@
|
|
|
366
322
|
.antv-s2-drill-down-search .ant-input[data-v-8dd920ec]::placeholder {
|
|
367
323
|
background-color: var(--antv-s2-block-background, #fff);
|
|
368
324
|
}
|
|
369
|
-
.antv-s2-drill-down-extra[data-v-8dd920ec] {
|
|
370
|
-
margin: 4px 16px;
|
|
371
|
-
}
|
|
372
325
|
.antv-s2-drill-down-menu[data-v-8dd920ec] {
|
|
373
326
|
max-height: 314px;
|
|
374
327
|
overflow: hidden auto;
|
package/package.json
CHANGED
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
"private": false,
|
|
3
2
|
"name": "@antv/s2-vue",
|
|
4
|
-
"version": "2.0.0-next.
|
|
5
|
-
"
|
|
6
|
-
"unpkg": "dist/index.min.js",
|
|
7
|
-
"module": "esm/index.js",
|
|
8
|
-
"types": "esm/index.d.ts",
|
|
3
|
+
"version": "2.0.0-next.16",
|
|
4
|
+
"private": false,
|
|
9
5
|
"description": "use S2 with vue",
|
|
10
|
-
"
|
|
6
|
+
"keywords": [
|
|
7
|
+
"antv",
|
|
8
|
+
"s2",
|
|
9
|
+
"s2-vue",
|
|
10
|
+
"spreadsheet",
|
|
11
|
+
"pivot table",
|
|
12
|
+
"table",
|
|
13
|
+
"crossTable"
|
|
14
|
+
],
|
|
11
15
|
"homepage": "https://s2.antv.antgroup.com",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"lib": "lib",
|
|
15
|
-
"test": "tests"
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/antvis/S2/issues"
|
|
16
18
|
},
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|
|
19
21
|
"url": "https://github.com/antvis/S2.git"
|
|
20
22
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "https://github.com/orgs/antvis/people",
|
|
25
|
+
"main": "lib/index.js",
|
|
26
|
+
"unpkg": "dist/index.min.js",
|
|
27
|
+
"module": "esm/index.js",
|
|
28
|
+
"types": "esm/index.d.ts",
|
|
29
|
+
"directories": {
|
|
30
|
+
"lib": "lib",
|
|
31
|
+
"test": "tests"
|
|
23
32
|
},
|
|
24
33
|
"files": [
|
|
25
34
|
"esm",
|
|
@@ -27,40 +36,26 @@
|
|
|
27
36
|
"dist",
|
|
28
37
|
"README.md"
|
|
29
38
|
],
|
|
30
|
-
"keywords": [
|
|
31
|
-
"antv",
|
|
32
|
-
"s2",
|
|
33
|
-
"s2-vue",
|
|
34
|
-
"spreadsheet",
|
|
35
|
-
"pivot table",
|
|
36
|
-
"table",
|
|
37
|
-
"crossTable"
|
|
38
|
-
],
|
|
39
39
|
"scripts": {
|
|
40
|
-
"start": "cross-env PLAYGROUND=true vite",
|
|
41
|
-
"clean": "rimraf lib esm dist temp",
|
|
42
40
|
"build": "npm-run-all clean --parallel build:umd build:cjs build:esm build:dts",
|
|
43
|
-
"build:esm": "cross-env FORMAT=es vite build",
|
|
44
|
-
"build:cjs": "cross-env FORMAT=cjs vite build",
|
|
45
|
-
"build:umd": "cross-env FORMAT=umd vite build",
|
|
46
41
|
"build:analysis": "cross-env FORMAT=es ANALYSIS=true vite build",
|
|
42
|
+
"build:cjs": "cross-env FORMAT=cjs vite build",
|
|
47
43
|
"build:dts": "run-s dts:*",
|
|
44
|
+
"build:esm": "cross-env FORMAT=es vite build",
|
|
48
45
|
"build:size-limit": "size-limit",
|
|
49
46
|
"build:size-limit-json": "pnpm build:size-limit -- --json",
|
|
47
|
+
"build:umd": "cross-env FORMAT=umd vite build",
|
|
48
|
+
"clean": "rimraf lib esm dist temp",
|
|
50
49
|
"dts:build": "vue-tsc -p tsconfig.declaration.json",
|
|
51
50
|
"dts:extract": "cross-env LIB=s2-vue node ../../scripts/dts.js",
|
|
51
|
+
"start": "cross-env PLAYGROUND=true vite",
|
|
52
52
|
"test": "jest --passWithNoTests --detectOpenHandles",
|
|
53
|
-
"test:coverage": "pnpm test -- --coverage",
|
|
54
53
|
"test:ci": "pnpm test -- --maxWorkers=3",
|
|
55
54
|
"test:ci-coverage": "pnpm test:coverage --maxWorkers=3",
|
|
55
|
+
"test:coverage": "pnpm test -- --coverage",
|
|
56
56
|
"test:watch": "pnpm test -- --watch",
|
|
57
57
|
"tsc": "vue-tsc --noEmit"
|
|
58
58
|
},
|
|
59
|
-
"peerDependencies": {
|
|
60
|
-
"@antv/s2": "^2.0.0-next.1",
|
|
61
|
-
"ant-design-vue": "^3.2.0",
|
|
62
|
-
"vue": ">=3.x"
|
|
63
|
-
},
|
|
64
59
|
"dependencies": {
|
|
65
60
|
"@vueuse/core": "^10.5.0",
|
|
66
61
|
"lodash": "^4.17.21"
|
|
@@ -76,6 +71,14 @@
|
|
|
76
71
|
"vue": "^3.3.4",
|
|
77
72
|
"vue-tsc": "^1.8.19"
|
|
78
73
|
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"@antv/s2": "^2.0.0-next.1",
|
|
76
|
+
"ant-design-vue": "^3.2.0",
|
|
77
|
+
"vue": ">=3.x"
|
|
78
|
+
},
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
},
|
|
79
82
|
"size-limit": [
|
|
80
83
|
{
|
|
81
84
|
"path": "./dist/index.min.js",
|
|
@@ -87,9 +90,6 @@
|
|
|
87
90
|
"limit": "5 kB"
|
|
88
91
|
}
|
|
89
92
|
],
|
|
90
|
-
"publishConfig": {
|
|
91
|
-
"access": "public"
|
|
92
|
-
},
|
|
93
93
|
"tnpm": {
|
|
94
94
|
"mode": "pnpm"
|
|
95
95
|
}
|