@steedos-widgets/ag-grid 6.3.12-beta.27 → 6.3.12-beta.29

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.
@@ -3,6 +3,7 @@ export declare function getColumnDef(field: any, dataTypeDefinitions: any, mode:
3
3
  env: any;
4
4
  }): {
5
5
  field: any;
6
+ colId: any;
6
7
  headerName: any;
7
8
  cellDataType: any;
8
9
  cellEditorParams: any;
@@ -27,6 +28,7 @@ export declare function getColumnDefByFieldFun(dataTypeDefinitions: any, mode: s
27
28
  env: any;
28
29
  }): (field: any) => {
29
30
  field: any;
31
+ colId: any;
30
32
  headerName: any;
31
33
  cellDataType: any;
32
34
  cellEditorParams: any;
@@ -65,6 +67,7 @@ export declare function getDataTypeDefinitions(): {
65
67
  extendsDataType: string;
66
68
  valueGetter: (params: any) => any;
67
69
  valueFormatter: (params: any) => any;
70
+ valueParser: (params: any) => any;
68
71
  };
69
72
  number: {
70
73
  baseDataType: string;
@@ -77,10 +80,11 @@ export declare function getDataTypeDefinitions(): {
77
80
  valueParser: (params: any) => any;
78
81
  };
79
82
  };
80
- export declare function getGridOptions({ tableId, title, mode, dataSource, getColumnDefs, env, dispatchEvent, filters, verifications, amisData, beforeSaveData }: {
83
+ export declare function getGridOptions({ tableId, title, mode, config, dataSource, getColumnDefs, env, dispatchEvent, filters, verifications, amisData, beforeSaveData, amisRender }: {
81
84
  tableId: any;
82
85
  title: any;
83
86
  mode: any;
87
+ config: any;
84
88
  dataSource: any;
85
89
  getColumnDefs: any;
86
90
  env: any;
@@ -89,6 +93,7 @@ export declare function getGridOptions({ tableId, title, mode, dataSource, getCo
89
93
  verifications?: any[];
90
94
  amisData: any;
91
95
  beforeSaveData: any;
96
+ amisRender: any;
92
97
  }): Promise<any>;
93
98
  export declare const getTableHeader: ({ tableId, title, mode, dataSource, getColumnDefs, env }: {
94
99
  tableId: any;
@@ -240,7 +245,7 @@ export declare const getTableHeader: ({ tableId, title, mode, dataSource, getCol
240
245
  }[];
241
246
  className: string;
242
247
  };
243
- export declare function getAirtableGridSchema({ tableId, title, mode, dataSource, getColumnDefs, env, agGridLicenseKey, filters, verifications, beforeSaveData }: {
248
+ export declare function getAirtableGridSchema({ tableId, title, mode, dataSource, getColumnDefs, env, agGridLicenseKey, filters, verifications, beforeSaveData, amisRender }: {
244
249
  tableId: any;
245
250
  title: any;
246
251
  mode: any;
@@ -251,6 +256,7 @@ export declare function getAirtableGridSchema({ tableId, title, mode, dataSource
251
256
  filters: any;
252
257
  verifications: any;
253
258
  beforeSaveData: any;
259
+ amisRender: any;
254
260
  }): Promise<{
255
261
  amisSchema: {
256
262
  type: string;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { CustomCellEditorProps } from 'ag-grid-react';
3
+ export declare const DateTimeCellEditor: (props: CustomCellEditorProps<any, any, any> & {
4
+ minWidth?: number;
5
+ fieldConfig?: any;
6
+ }) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { CustomCellEditorProps } from 'ag-grid-react';
3
+ export declare const LookupCellEditor: (props: CustomCellEditorProps<any, any, any> & {
4
+ minWidth?: number;
5
+ fieldConfig?: any;
6
+ }) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { CustomCellEditorProps } from 'ag-grid-react';
3
+ export declare const MultiSelectCellEditor: (props: CustomCellEditorProps<any, any, any> & {
4
+ minWidth?: number;
5
+ fieldConfig?: any;
6
+ values?: any;
7
+ }) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { CustomFilterProps } from "ag-grid-react";
3
+ export declare const DateTimeFilter: (props: CustomFilterProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './datetime';
@@ -1,4 +1,2 @@
1
1
  export * from './components';
2
2
  export * from './amis';
3
- import "ag-grid-community/styles/ag-grid.css";
4
- import "ag-grid-community/styles/ag-theme-quartz.css";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/ag-grid",
3
3
  "private": false,
4
- "version": "6.3.12-beta.27",
4
+ "version": "6.3.12-beta.29",
5
5
  "main": "dist/ag-grid.cjs.js",
6
6
  "module": "dist/ag-grid.esm.js",
7
7
  "unpkg": "dist/ag-grid.umd.js",
@@ -48,12 +48,12 @@
48
48
  "rollup-plugin-visualizer": "^5.8.0"
49
49
  },
50
50
  "dependencies": {
51
- "@ag-grid-community/locale": "^32.3.3",
51
+ "@ag-grid-community/locale": "^33.1.1",
52
52
  "@rollup/plugin-replace": "^5.0.2",
53
- "@steedos-widgets/amis-lib": "6.3.12-beta.27",
54
- "ag-grid-community": "~32.3.3",
55
- "ag-grid-enterprise": "~32.3.3",
56
- "ag-grid-react": "~32.3.3"
53
+ "@steedos-widgets/amis-lib": "6.3.12-beta.29",
54
+ "ag-grid-community": "~33.1.1",
55
+ "ag-grid-enterprise": "~33.1.1",
56
+ "ag-grid-react": "~33.1.1"
57
57
  },
58
- "gitHead": "0140113585db242f6b1ee988d1903711dafbd920"
58
+ "gitHead": "0279973b21caecc90169fc616259ceac84ea71b2"
59
59
  }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisDateTimeCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisLookupCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisMultiSelectCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisDateTimeCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisLookupCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
@@ -1,20 +0,0 @@
1
- import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
2
- export declare class AmisMultiSelectCellEditor implements ICellEditorComp {
3
- private eGui;
4
- private name;
5
- private value;
6
- private amisScope;
7
- private containerId;
8
- private amisSchema;
9
- private amisData;
10
- private amisEnv;
11
- private params;
12
- private cellFormId;
13
- init(params: ICellEditorParams): void;
14
- setupGui(): void;
15
- getGui(): HTMLElement;
16
- afterGuiAttached?(): void;
17
- getValue(): any;
18
- destroy?(): void;
19
- isPopup?(): boolean;
20
- }
File without changes