@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/index.js
CHANGED
|
@@ -1716,7 +1716,7 @@ const defaultPartDrillDownDisplayCondition = (meta) => {
|
|
|
1716
1716
|
};
|
|
1717
1717
|
const buildDrillDownOptions = (options, partDrillDown, callback) => {
|
|
1718
1718
|
var _a;
|
|
1719
|
-
const nextHeaderIcons = ((_a = options.headerActionIcons) == null ? void 0 : _a.length) ? [...options.headerActionIcons] : [];
|
|
1719
|
+
const nextHeaderIcons = ((_a = options == null ? void 0 : options.headerActionIcons) == null ? void 0 : _a.length) ? [...options.headerActionIcons] : [];
|
|
1720
1720
|
if (!isEmpty(partDrillDown)) {
|
|
1721
1721
|
const drillDownActionIcon = {
|
|
1722
1722
|
belongsCell: "rowCell",
|
|
@@ -2541,6 +2541,7 @@ function useSpreadSheet(props, emit) {
|
|
|
2541
2541
|
loading: loadingProps,
|
|
2542
2542
|
sheetType,
|
|
2543
2543
|
onSpreadsheet,
|
|
2544
|
+
onMounted: onS2Mounted,
|
|
2544
2545
|
onGetSpreadSheet
|
|
2545
2546
|
} = props;
|
|
2546
2547
|
const wrapperRef = ref();
|
|
@@ -2567,6 +2568,7 @@ function useSpreadSheet(props, emit) {
|
|
|
2567
2568
|
s2Ref.value.render();
|
|
2568
2569
|
setLoading(false);
|
|
2569
2570
|
onGetSpreadSheet == null ? void 0 : onGetSpreadSheet(s2Ref.value);
|
|
2571
|
+
onS2Mounted == null ? void 0 : onS2Mounted(s2Ref.value);
|
|
2570
2572
|
};
|
|
2571
2573
|
onMounted(buildSpreadSheet);
|
|
2572
2574
|
useEvents(s2Ref, emit);
|
|
@@ -2605,7 +2607,8 @@ const initBaseSheetProps = () => ({
|
|
|
2605
2607
|
default: false
|
|
2606
2608
|
},
|
|
2607
2609
|
onSpreadsheet: Function,
|
|
2608
|
-
onGetSpreadSheet: Function
|
|
2610
|
+
onGetSpreadSheet: Function,
|
|
2611
|
+
onMounted: Function
|
|
2609
2612
|
});
|
|
2610
2613
|
const initDrillDownProps = () => ({
|
|
2611
2614
|
className: String,
|
|
@@ -2693,6 +2696,7 @@ const initBaseSheetEmits = () => {
|
|
|
2693
2696
|
"layoutColsHidden",
|
|
2694
2697
|
"beforeRender",
|
|
2695
2698
|
"afterRender",
|
|
2699
|
+
"mounted",
|
|
2696
2700
|
"destroy",
|
|
2697
2701
|
"layoutResize",
|
|
2698
2702
|
"layoutResizeSeriesWidth",
|