@antv/s2-vue 1.3.0 → 1.4.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.
- 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 +138 -80
- package/esm/index.js +6 -2
- package/esm/index.js.map +1 -1
- package/esm/style.css +19 -2
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/lib/style.css +19 -2
- package/package.json +1 -1
package/esm/style.css
CHANGED
|
@@ -37,10 +37,15 @@
|
|
|
37
37
|
font-size: 12px;
|
|
38
38
|
line-height: 32px;
|
|
39
39
|
padding: 0 12px;
|
|
40
|
-
color: rgba(0, 0, 0, 0.65);
|
|
41
40
|
border: 0;
|
|
42
41
|
margin: 0;
|
|
43
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: rgba(0, 0, 0, 0.65);
|
|
48
|
+
}
|
|
44
49
|
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
45
50
|
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,
|
|
46
51
|
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,
|
|
@@ -52,9 +57,18 @@
|
|
|
52
57
|
padding: 0 12px;
|
|
53
58
|
font-size: 12px;
|
|
54
59
|
line-height: 32px;
|
|
55
|
-
color: rgba(0, 0, 0, 0.65);
|
|
56
60
|
margin: 0;
|
|
57
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: rgba(0, 0, 0, 0.65);
|
|
71
|
+
}
|
|
58
72
|
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
|
|
59
73
|
.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,
|
|
60
74
|
.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,
|
|
@@ -78,6 +92,9 @@
|
|
|
78
92
|
font-size: 12px;
|
|
79
93
|
line-height: 32px;
|
|
80
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) {
|
|
81
98
|
color: rgba(0, 0, 0, 0.65);
|
|
82
99
|
}
|
|
83
100
|
.antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item {
|
package/lib/index.js
CHANGED
|
@@ -1718,7 +1718,7 @@ const defaultPartDrillDownDisplayCondition = (meta) => {
|
|
|
1718
1718
|
};
|
|
1719
1719
|
const buildDrillDownOptions = (options, partDrillDown, callback) => {
|
|
1720
1720
|
var _a;
|
|
1721
|
-
const nextHeaderIcons = ((_a = options.headerActionIcons) == null ? void 0 : _a.length) ? [...options.headerActionIcons] : [];
|
|
1721
|
+
const nextHeaderIcons = ((_a = options == null ? void 0 : options.headerActionIcons) == null ? void 0 : _a.length) ? [...options.headerActionIcons] : [];
|
|
1722
1722
|
if (!isEmpty(partDrillDown)) {
|
|
1723
1723
|
const drillDownActionIcon = {
|
|
1724
1724
|
belongsCell: "rowCell",
|
|
@@ -2543,6 +2543,7 @@ function useSpreadSheet(props, emit) {
|
|
|
2543
2543
|
loading: loadingProps,
|
|
2544
2544
|
sheetType,
|
|
2545
2545
|
onSpreadsheet,
|
|
2546
|
+
onMounted: onS2Mounted,
|
|
2546
2547
|
onGetSpreadSheet
|
|
2547
2548
|
} = props;
|
|
2548
2549
|
const wrapperRef = vue.ref();
|
|
@@ -2569,6 +2570,7 @@ function useSpreadSheet(props, emit) {
|
|
|
2569
2570
|
s2Ref.value.render();
|
|
2570
2571
|
setLoading(false);
|
|
2571
2572
|
onGetSpreadSheet == null ? void 0 : onGetSpreadSheet(s2Ref.value);
|
|
2573
|
+
onS2Mounted == null ? void 0 : onS2Mounted(s2Ref.value);
|
|
2572
2574
|
};
|
|
2573
2575
|
vue.onMounted(buildSpreadSheet);
|
|
2574
2576
|
useEvents(s2Ref, emit);
|
|
@@ -2607,7 +2609,8 @@ const initBaseSheetProps = () => ({
|
|
|
2607
2609
|
default: false
|
|
2608
2610
|
},
|
|
2609
2611
|
onSpreadsheet: Function,
|
|
2610
|
-
onGetSpreadSheet: Function
|
|
2612
|
+
onGetSpreadSheet: Function,
|
|
2613
|
+
onMounted: Function
|
|
2611
2614
|
});
|
|
2612
2615
|
const initDrillDownProps = () => ({
|
|
2613
2616
|
className: String,
|
|
@@ -2695,6 +2698,7 @@ const initBaseSheetEmits = () => {
|
|
|
2695
2698
|
"layoutColsHidden",
|
|
2696
2699
|
"beforeRender",
|
|
2697
2700
|
"afterRender",
|
|
2701
|
+
"mounted",
|
|
2698
2702
|
"destroy",
|
|
2699
2703
|
"layoutResize",
|
|
2700
2704
|
"layoutResizeSeriesWidth",
|