@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.
- package/dist/ag-grid.umd.css +19 -7545
- package/dist/ag-grid.umd.js +1 -1
- package/dist/amis/AirtableGrid/gridOptions.d.ts +8 -2
- package/dist/assets-dev.json +8 -1
- package/dist/assets.json +13 -6
- package/dist/components/cellEditor/datetime.d.ts +6 -0
- package/dist/components/cellEditor/lookup.d.ts +6 -0
- package/dist/components/cellEditor/multiSelect.d.ts +7 -0
- package/dist/components/filter/datetime.d.ts +3 -0
- package/dist/components/filter/index.d.ts +1 -0
- package/dist/index.d.ts +0 -2
- package/dist/types/amis/AirtableGrid/gridOptions.d.ts +8 -2
- package/dist/types/components/cellEditor/datetime.d.ts +6 -0
- package/dist/types/components/cellEditor/lookup.d.ts +6 -0
- package/dist/types/components/cellEditor/multiSelect.d.ts +7 -0
- package/dist/types/components/filter/datetime.d.ts +3 -0
- package/dist/types/components/filter/index.d.ts +1 -0
- package/dist/types/index.d.ts +0 -2
- package/package.json +7 -7
- package/dist/amis/cellEditor/datetime.d.ts +0 -20
- package/dist/amis/cellEditor/lookup.d.ts +0 -20
- package/dist/amis/cellEditor/multiSelect.d.ts +0 -20
- package/dist/types/amis/cellEditor/datetime.d.ts +0 -20
- package/dist/types/amis/cellEditor/lookup.d.ts +0 -20
- package/dist/types/amis/cellEditor/multiSelect.d.ts +0 -20
- /package/dist/{amis → components}/cellEditor/index.d.ts +0 -0
- /package/dist/types/{amis → components}/cellEditor/index.d.ts +0 -0
|
@@ -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 @@
|
|
|
1
|
+
export * from './datetime';
|
package/dist/types/index.d.ts
CHANGED
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.
|
|
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": "^
|
|
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.
|
|
54
|
-
"ag-grid-community": "~
|
|
55
|
-
"ag-grid-enterprise": "~
|
|
56
|
-
"ag-grid-react": "~
|
|
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": "
|
|
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
|
|
File without changes
|