@antv/s2-vue 1.2.1 → 1.2.2
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 +1419 -107
- package/esm/index.js +19 -6
- package/esm/index.js.map +1 -1
- package/esm/style.css +11 -11
- package/lib/index.js +19 -6
- package/lib/index.js.map +1 -1
- package/lib/style.css +11 -11
- package/package.json +1 -1
package/esm/index.js
CHANGED
|
@@ -2640,19 +2640,23 @@ const initBaseSheetEmits = () => {
|
|
|
2640
2640
|
"rowCellHover",
|
|
2641
2641
|
"rowCellClick",
|
|
2642
2642
|
"rowCellDoubleClick",
|
|
2643
|
+
"rowCellContextMenu",
|
|
2643
2644
|
"rowCellMouseDown",
|
|
2644
2645
|
"rowCellMouseUp",
|
|
2645
2646
|
"rowCellMouseMove",
|
|
2646
2647
|
"rowCellCollapseTreeRows",
|
|
2648
|
+
"rowCellScroll",
|
|
2647
2649
|
"colCellHover",
|
|
2648
2650
|
"colCellClick",
|
|
2649
2651
|
"colCellDoubleClick",
|
|
2652
|
+
"colCellContextMenu",
|
|
2650
2653
|
"colCellMouseDown",
|
|
2651
2654
|
"colCellMouseUp",
|
|
2652
2655
|
"colCellMouseMove",
|
|
2653
2656
|
"dataCellHover",
|
|
2654
2657
|
"dataCellClick",
|
|
2655
2658
|
"dataCellDoubleClick",
|
|
2659
|
+
"dataCellContextMenu",
|
|
2656
2660
|
"dataCellMouseDown",
|
|
2657
2661
|
"dataCellMouseUp",
|
|
2658
2662
|
"dataCellMouseMove",
|
|
@@ -2662,12 +2666,14 @@ const initBaseSheetEmits = () => {
|
|
|
2662
2666
|
"cornerCellHover",
|
|
2663
2667
|
"cornerCellClick",
|
|
2664
2668
|
"cornerCellDoubleClick",
|
|
2669
|
+
"cornerCellContextMenu",
|
|
2665
2670
|
"cornerCellMouseDown",
|
|
2666
2671
|
"cornerCellMouseUp",
|
|
2667
2672
|
"cornerCellMouseMove",
|
|
2668
2673
|
"mergedCellsHover",
|
|
2669
2674
|
"mergedCellsClick",
|
|
2670
2675
|
"mergedCellsDoubleClick",
|
|
2676
|
+
"mergedCellsContextMenu",
|
|
2671
2677
|
"mergedCellsMouseDown",
|
|
2672
2678
|
"mergedCellsMouseUp",
|
|
2673
2679
|
"mergedCellsMouseMove",
|
|
@@ -2678,6 +2684,7 @@ const initBaseSheetEmits = () => {
|
|
|
2678
2684
|
"layoutAfterHeaderLayout",
|
|
2679
2685
|
"layoutPagination",
|
|
2680
2686
|
"layoutCellScroll",
|
|
2687
|
+
"layoutCollapseRows",
|
|
2681
2688
|
"layoutAfterCollapseRows",
|
|
2682
2689
|
"collapseRowsAll",
|
|
2683
2690
|
"layoutColsExpanded",
|
|
@@ -2699,16 +2706,19 @@ const initBaseSheetEmits = () => {
|
|
|
2699
2706
|
"keyBoardUp",
|
|
2700
2707
|
"copied",
|
|
2701
2708
|
"actionIconHover",
|
|
2702
|
-
"contextMenu",
|
|
2703
2709
|
"actionIconClick",
|
|
2710
|
+
"contextMenu",
|
|
2704
2711
|
"mouseHover",
|
|
2705
2712
|
"mouseUp",
|
|
2713
|
+
"mouseMove",
|
|
2714
|
+
"mouseDown",
|
|
2706
2715
|
"selected",
|
|
2707
2716
|
"reset",
|
|
2708
2717
|
"linkFieldJump",
|
|
2709
2718
|
"click",
|
|
2710
2719
|
"doubleClick",
|
|
2711
|
-
"scroll"
|
|
2720
|
+
"scroll",
|
|
2721
|
+
"hover"
|
|
2712
2722
|
];
|
|
2713
2723
|
return keys2;
|
|
2714
2724
|
};
|
|
@@ -2886,16 +2896,19 @@ const _sfc_main$3 = defineComponent({
|
|
|
2886
2896
|
if (getDrillFields) {
|
|
2887
2897
|
getDrillFields(key);
|
|
2888
2898
|
}
|
|
2889
|
-
if (setDrillFields)
|
|
2899
|
+
if (setDrillFields) {
|
|
2890
2900
|
setDrillFields(key);
|
|
2901
|
+
}
|
|
2891
2902
|
};
|
|
2892
2903
|
const handleClear = (e) => {
|
|
2893
2904
|
e.stopPropagation();
|
|
2894
2905
|
selected.value = [];
|
|
2895
|
-
if (getDrillFields)
|
|
2906
|
+
if (getDrillFields) {
|
|
2896
2907
|
getDrillFields([]);
|
|
2897
|
-
|
|
2908
|
+
}
|
|
2909
|
+
if (setDrillFields) {
|
|
2898
2910
|
setDrillFields([]);
|
|
2911
|
+
}
|
|
2899
2912
|
};
|
|
2900
2913
|
return {
|
|
2901
2914
|
options,
|
|
@@ -2976,7 +2989,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2976
2989
|
}, 8, ["selectedKeys", "onSelect"])
|
|
2977
2990
|
], 2);
|
|
2978
2991
|
}
|
|
2979
|
-
var DrillDown = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
2992
|
+
var DrillDown = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-3a294982"]]);
|
|
2980
2993
|
const _sfc_main$2 = defineComponent({
|
|
2981
2994
|
name: "PivotSheet",
|
|
2982
2995
|
props: initBaseSheetProps(),
|