@scvzerng/element-ui-ag-grid-vue2 0.0.38 → 0.0.40

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.
@@ -14832,6 +14832,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
14832
14832
  startEditing: () => void;
14833
14833
  stopEditing: () => void;
14834
14834
  deselectAll: (mode?: SelectAllMode, source?: SelectionEventSourceType) => void;
14835
+ /**
14836
+ * 暴露 gridApi 让业务代码能调 ag-grid 高级 API
14837
+ * - 例如 master/detail: api.expandAll() / api.collapseAll() / api.updateGridOptions()
14838
+ * - 与 vue3 版保持一致
14839
+ */
14840
+ gridApi: any;
14835
14841
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
14836
14842
  pageSize: number;
14837
14843
  enableCursorPage: boolean;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,7 @@
1
1
  import type { PluginObject } from 'vue';
2
2
  import type { ColDef, ColGroupDef, ICellRendererParams } from 'ag-grid-community';
3
3
  import type { RestrictedAgGridOptions } from '@scvzerng/ag-grid-core';
4
+ import './expand-detail-mount';
4
5
  import 'ag-grid-community/styles/ag-grid.css';
5
6
  import 'ag-grid-community/styles/ag-theme-alpine.css';
6
7
  import "@scvzerng/vue2-context-menu/lib/vue2-context-menu.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scvzerng/element-ui-ag-grid-vue2",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "scripts": {