@scvzerng/element-ui-ag-grid-vue2 0.0.8 → 0.0.10

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.
@@ -60,6 +60,7 @@ export declare class ActualRow<T> implements GridRow<T> {
60
60
  * @param data
61
61
  */
62
62
  update(id: string, data: T): void;
63
+ isProjection(): this is ProjectionRow<T>;
63
64
  isTransient(): this is EditableRow<T>;
64
65
  getId(): string;
65
66
  isEditing(): this is EditableRow<T>;
@@ -20,6 +20,7 @@ export declare class EditableRow<T = any> implements GridRow<T> {
20
20
  getSignature(): string;
21
21
  getValue(column: Column, nestingIndexes: number[]): string | boolean | number;
22
22
  getData(): T;
23
+ isProjection(): this is ProjectionRow<T>;
23
24
  isTransient(): this is EditableRow<T>;
24
25
  getCell(column: Column, nestingIndexes: number[]): import("./CellValue").CellValue | undefined;
25
26
  __setIndex(index: number): void;
@@ -1,5 +1,6 @@
1
1
  import { Column, IRowNode } from 'ag-grid-community';
2
2
  import { ActualRow } from './ActualRow';
3
+ import { ProjectionRow } from './ProjectionRow';
3
4
  import { EditableRow } from './EditableRow';
4
5
  import { CellValue } from './CellValue';
5
6
  import { RowSpans } from './SpanInfo';
@@ -9,6 +10,7 @@ export interface GridRow<T> {
9
10
  getData(): T;
10
11
  getId(): string;
11
12
  isTransient(): this is EditableRow<T>;
13
+ isProjection(): this is ProjectionRow<T>;
12
14
  getCell(column: Column, nestingIndexes?: number[]): CellValue | undefined;
13
15
  getSignature(): string;
14
16
  getRowSpans(): RowSpans;
@@ -3,6 +3,7 @@ import { ActualRow } from './ActualRow';
3
3
  import { GridRow } from './GridRow';
4
4
  import { EditableRow } from './EditableRow';
5
5
  import { RowSpans } from './SpanInfo';
6
+ import { ICustomCellRendererParams } from '../../render/types/ICellRendererParamsExt';
6
7
  /**
7
8
  * 投影行
8
9
  *
@@ -27,6 +28,7 @@ export declare class ProjectionRow<T> implements GridRow<T> {
27
28
  isEditing(): this is EditableRow<T>;
28
29
  getValue(column: Column): string | boolean | number;
29
30
  getRowSpan(column: Column): number;
31
+ isProjection(): this is ProjectionRow<T>;
30
32
  getData(): T;
31
33
  isColumnValueChanged(value: any, column: Column): boolean;
32
34
  getNestingIndexes(): number[];
@@ -40,4 +42,8 @@ export declare class ProjectionRow<T> implements GridRow<T> {
40
42
  setData(data: T): void;
41
43
  buildSpan(): void;
42
44
  match(rowNode: IRowNode<GridRow<T>>): boolean;
45
+ getHostObject(params: ICustomCellRendererParams<GridRow<any>, any>): {
46
+ hostObject: any;
47
+ hostArray: any[] | undefined;
48
+ };
43
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scvzerng/element-ui-ag-grid-vue2",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "require": "./dist/ElementPlusAgGrid.umd.js"
18
18
  },
19
19
  "./style": {
20
- "default": "./dist/element-plus-ag-grid.css"
20
+ "default": "./dist/style.css"
21
21
  }
22
22
  },
23
23
  "files": [