@steedos-widgets/ag-grid 6.3.12-beta.9 → 6.3.13-beta.1

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.
Files changed (50) hide show
  1. package/dist/ag-grid.umd.css +62 -7491
  2. package/dist/ag-grid.umd.js +1 -1
  3. package/dist/amis/AirtableGrid/AirtableGrid.d.ts +11 -0
  4. package/dist/amis/AirtableGrid/DataSource.d.ts +17 -0
  5. package/dist/amis/AirtableGrid/gridOptions.d.ts +517 -0
  6. package/dist/amis/AirtableGrid/index.d.ts +3 -0
  7. package/dist/amis/{TablesGrid.d.ts → TablesGrid/TablesGrid.d.ts} +0 -1
  8. package/dist/amis/TablesGrid/dataSource.d.ts +8 -0
  9. package/dist/amis/TablesGrid/fieldsAdmin.d.ts +612 -0
  10. package/dist/amis/TablesGrid/index.d.ts +1 -0
  11. package/dist/amis/TablesGrid/tables.d.ts +32 -0
  12. package/dist/amis/index.d.ts +1 -0
  13. package/dist/assets-dev.json +8 -1
  14. package/dist/assets.json +13 -6
  15. package/dist/components/cellEditor/datetime.d.ts +6 -0
  16. package/dist/components/cellEditor/index.d.ts +3 -0
  17. package/dist/components/cellEditor/lookup.d.ts +6 -0
  18. package/dist/components/cellEditor/multiSelect.d.ts +7 -0
  19. package/dist/components/cellRenderer/index.d.ts +1 -0
  20. package/dist/components/cellRenderer/lookup.d.ts +5 -0
  21. package/dist/components/filter/datetime.d.ts +3 -0
  22. package/dist/components/filter/index.d.ts +2 -0
  23. package/dist/components/filter/lookup.d.ts +3 -0
  24. package/dist/index.d.ts +0 -2
  25. package/dist/meta.js +93 -21
  26. package/dist/metas/AmisAirtableGrid.d.ts +2 -0
  27. package/dist/types/amis/AirtableGrid/AirtableGrid.d.ts +11 -0
  28. package/dist/types/amis/AirtableGrid/DataSource.d.ts +17 -0
  29. package/dist/types/amis/AirtableGrid/gridOptions.d.ts +517 -0
  30. package/dist/types/amis/AirtableGrid/index.d.ts +3 -0
  31. package/dist/types/amis/{TablesGrid.d.ts → TablesGrid/TablesGrid.d.ts} +0 -1
  32. package/dist/types/amis/TablesGrid/dataSource.d.ts +8 -0
  33. package/dist/types/amis/TablesGrid/fieldsAdmin.d.ts +612 -0
  34. package/dist/types/amis/TablesGrid/index.d.ts +1 -0
  35. package/dist/types/amis/TablesGrid/tables.d.ts +32 -0
  36. package/dist/types/amis/index.d.ts +1 -0
  37. package/dist/types/components/cellEditor/datetime.d.ts +6 -0
  38. package/dist/types/components/cellEditor/index.d.ts +3 -0
  39. package/dist/types/components/cellEditor/lookup.d.ts +6 -0
  40. package/dist/types/components/cellEditor/multiSelect.d.ts +7 -0
  41. package/dist/types/components/cellRenderer/index.d.ts +1 -0
  42. package/dist/types/components/cellRenderer/lookup.d.ts +5 -0
  43. package/dist/types/components/filter/datetime.d.ts +3 -0
  44. package/dist/types/components/filter/index.d.ts +2 -0
  45. package/dist/types/components/filter/lookup.d.ts +3 -0
  46. package/dist/types/index.d.ts +0 -2
  47. package/dist/types/metas/AmisAirtableGrid.d.ts +2 -0
  48. package/package.json +7 -7
  49. package/dist/amis/tables.d.ts +0 -248
  50. package/dist/types/amis/tables.d.ts +0 -248
@@ -0,0 +1,2 @@
1
+ export * from './datetime';
2
+ export * from './lookup';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { CustomFilterProps } from "ag-grid-react";
3
+ export declare const LookupFilter: (props: CustomFilterProps) => JSX.Element;
@@ -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";
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
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.9",
4
+ "version": "6.3.13-beta.1",
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.9",
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.13-beta.1",
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": "9312bc96378fbf166cfb125739b4d185ef6e4f22"
58
+ "gitHead": "4cae0df379bc9d29933c3f19456bd59357ae9b98"
59
59
  }
@@ -1,248 +0,0 @@
1
- export declare const B6_TABLES_BASEID = "default";
2
- export declare const B6_TABLES_ROOTURL: string;
3
- export declare const B6_TABLES_METABASE_ROOTURL: string;
4
- export declare function getMeta(tableId: string, force?: boolean): Promise<any>;
5
- export declare function getTablesGridSchema(tableId: string, mode: string, //edit/read/admin
6
- { env }: {
7
- env: any;
8
- }): Promise<{
9
- meta: any;
10
- amisSchema: {
11
- type: string;
12
- id: string;
13
- name: string;
14
- data: {
15
- _aggridTotalCount: string;
16
- };
17
- className: string;
18
- body: ({
19
- type: string;
20
- body: {
21
- type: string;
22
- valign: string;
23
- columns: ({
24
- body: {
25
- type: string;
26
- valign: string;
27
- className: string;
28
- columns: ({
29
- body: {
30
- type: string;
31
- className: string;
32
- tpl: string;
33
- };
34
- md: string;
35
- className: string;
36
- columnClassName: string;
37
- valign?: undefined;
38
- } | {
39
- body: {
40
- type: string;
41
- tpl: string;
42
- inline: boolean;
43
- wrapperComponent: string;
44
- className: string;
45
- }[];
46
- md: string;
47
- valign: string;
48
- columnClassName: string;
49
- className?: undefined;
50
- })[];
51
- }[];
52
- md: string;
53
- type?: undefined;
54
- valign?: undefined;
55
- className?: undefined;
56
- columns?: undefined;
57
- } | {
58
- type: string;
59
- valign: string;
60
- className: string;
61
- columns: ({
62
- body: {
63
- type: string;
64
- items: ({
65
- label: string;
66
- type: string;
67
- actionType: string;
68
- onEvent: {
69
- click: {
70
- actions: {
71
- ignoreError: boolean;
72
- actionType: string;
73
- script: string;
74
- args: {};
75
- }[];
76
- };
77
- };
78
- } | {
79
- type: string;
80
- label: string;
81
- actionType: string;
82
- onEvent: {
83
- click: {
84
- actions: {
85
- type: string;
86
- actionType: string;
87
- args: {
88
- eventName: string;
89
- };
90
- }[];
91
- };
92
- };
93
- })[];
94
- visibleOn: string;
95
- };
96
- md: string;
97
- } | {
98
- body: {
99
- type: string;
100
- direction: string;
101
- className: string;
102
- visibleOn: string;
103
- };
104
- md: string;
105
- } | {
106
- body?: undefined;
107
- md?: undefined;
108
- } | {
109
- body: {
110
- type: string;
111
- items: ({
112
- label: string;
113
- type: string;
114
- actionType: string;
115
- onEvent: {
116
- click: {
117
- actions: {
118
- ignoreError: boolean;
119
- actionType: string;
120
- script: string;
121
- args: {};
122
- }[];
123
- };
124
- };
125
- } | {
126
- label: string;
127
- type: string;
128
- actionType: string;
129
- onEvent: {
130
- click: {
131
- actions: ({
132
- actionType: string;
133
- dialog: {
134
- title: string;
135
- msg: string;
136
- };
137
- ignoreError?: undefined;
138
- script?: undefined;
139
- args?: undefined;
140
- } | {
141
- ignoreError: boolean;
142
- actionType: string;
143
- script: string;
144
- args: {};
145
- dialog?: undefined;
146
- })[];
147
- };
148
- };
149
- })[];
150
- };
151
- md: string;
152
- })[];
153
- body?: undefined;
154
- md?: undefined;
155
- })[];
156
- className: string;
157
- }[];
158
- className: string;
159
- } | {
160
- type: string;
161
- onDataFilter: (config: any, AgGrid: any, props: any, data: any, ref: any) => Promise<any>;
162
- className: string;
163
- style: {
164
- height: string;
165
- };
166
- onEvent: {
167
- setGridApi: {
168
- weight: number;
169
- actions: {
170
- type: string;
171
- actionType: string;
172
- args: {
173
- eventName: string;
174
- };
175
- data: {
176
- gridApi: string;
177
- gridContext: string;
178
- };
179
- }[];
180
- };
181
- editField: {
182
- weight: number;
183
- actions: {
184
- type: string;
185
- actionType: string;
186
- args: {
187
- eventName: string;
188
- };
189
- data: {
190
- editingFieldId: string;
191
- };
192
- }[];
193
- };
194
- deleteField: {
195
- weight: number;
196
- actions: {
197
- type: string;
198
- actionType: string;
199
- args: {
200
- eventName: string;
201
- };
202
- data: {
203
- deletingFieldId: string;
204
- };
205
- }[];
206
- };
207
- sortFields: {
208
- weight: number;
209
- actions: {
210
- type: string;
211
- actionType: string;
212
- args: {
213
- eventName: string;
214
- };
215
- data: {
216
- sortedFields: string;
217
- };
218
- }[];
219
- };
220
- setTotalCount: {
221
- weight: number;
222
- actions: {
223
- type: string;
224
- actionType: string;
225
- args: {
226
- eventName: string;
227
- };
228
- data: {
229
- totalCount: string;
230
- };
231
- }[];
232
- };
233
- };
234
- })[];
235
- onEvent: {
236
- "@b6tables.addRecord": {
237
- actions: {
238
- actionType: string;
239
- args: {
240
- msgType: string;
241
- msg: string;
242
- position: string;
243
- };
244
- }[];
245
- };
246
- };
247
- };
248
- }>;
@@ -1,248 +0,0 @@
1
- export declare const B6_TABLES_BASEID = "default";
2
- export declare const B6_TABLES_ROOTURL: string;
3
- export declare const B6_TABLES_METABASE_ROOTURL: string;
4
- export declare function getMeta(tableId: string, force?: boolean): Promise<any>;
5
- export declare function getTablesGridSchema(tableId: string, mode: string, //edit/read/admin
6
- { env }: {
7
- env: any;
8
- }): Promise<{
9
- meta: any;
10
- amisSchema: {
11
- type: string;
12
- id: string;
13
- name: string;
14
- data: {
15
- _aggridTotalCount: string;
16
- };
17
- className: string;
18
- body: ({
19
- type: string;
20
- body: {
21
- type: string;
22
- valign: string;
23
- columns: ({
24
- body: {
25
- type: string;
26
- valign: string;
27
- className: string;
28
- columns: ({
29
- body: {
30
- type: string;
31
- className: string;
32
- tpl: string;
33
- };
34
- md: string;
35
- className: string;
36
- columnClassName: string;
37
- valign?: undefined;
38
- } | {
39
- body: {
40
- type: string;
41
- tpl: string;
42
- inline: boolean;
43
- wrapperComponent: string;
44
- className: string;
45
- }[];
46
- md: string;
47
- valign: string;
48
- columnClassName: string;
49
- className?: undefined;
50
- })[];
51
- }[];
52
- md: string;
53
- type?: undefined;
54
- valign?: undefined;
55
- className?: undefined;
56
- columns?: undefined;
57
- } | {
58
- type: string;
59
- valign: string;
60
- className: string;
61
- columns: ({
62
- body: {
63
- type: string;
64
- items: ({
65
- label: string;
66
- type: string;
67
- actionType: string;
68
- onEvent: {
69
- click: {
70
- actions: {
71
- ignoreError: boolean;
72
- actionType: string;
73
- script: string;
74
- args: {};
75
- }[];
76
- };
77
- };
78
- } | {
79
- type: string;
80
- label: string;
81
- actionType: string;
82
- onEvent: {
83
- click: {
84
- actions: {
85
- type: string;
86
- actionType: string;
87
- args: {
88
- eventName: string;
89
- };
90
- }[];
91
- };
92
- };
93
- })[];
94
- visibleOn: string;
95
- };
96
- md: string;
97
- } | {
98
- body: {
99
- type: string;
100
- direction: string;
101
- className: string;
102
- visibleOn: string;
103
- };
104
- md: string;
105
- } | {
106
- body?: undefined;
107
- md?: undefined;
108
- } | {
109
- body: {
110
- type: string;
111
- items: ({
112
- label: string;
113
- type: string;
114
- actionType: string;
115
- onEvent: {
116
- click: {
117
- actions: {
118
- ignoreError: boolean;
119
- actionType: string;
120
- script: string;
121
- args: {};
122
- }[];
123
- };
124
- };
125
- } | {
126
- label: string;
127
- type: string;
128
- actionType: string;
129
- onEvent: {
130
- click: {
131
- actions: ({
132
- actionType: string;
133
- dialog: {
134
- title: string;
135
- msg: string;
136
- };
137
- ignoreError?: undefined;
138
- script?: undefined;
139
- args?: undefined;
140
- } | {
141
- ignoreError: boolean;
142
- actionType: string;
143
- script: string;
144
- args: {};
145
- dialog?: undefined;
146
- })[];
147
- };
148
- };
149
- })[];
150
- };
151
- md: string;
152
- })[];
153
- body?: undefined;
154
- md?: undefined;
155
- })[];
156
- className: string;
157
- }[];
158
- className: string;
159
- } | {
160
- type: string;
161
- onDataFilter: (config: any, AgGrid: any, props: any, data: any, ref: any) => Promise<any>;
162
- className: string;
163
- style: {
164
- height: string;
165
- };
166
- onEvent: {
167
- setGridApi: {
168
- weight: number;
169
- actions: {
170
- type: string;
171
- actionType: string;
172
- args: {
173
- eventName: string;
174
- };
175
- data: {
176
- gridApi: string;
177
- gridContext: string;
178
- };
179
- }[];
180
- };
181
- editField: {
182
- weight: number;
183
- actions: {
184
- type: string;
185
- actionType: string;
186
- args: {
187
- eventName: string;
188
- };
189
- data: {
190
- editingFieldId: string;
191
- };
192
- }[];
193
- };
194
- deleteField: {
195
- weight: number;
196
- actions: {
197
- type: string;
198
- actionType: string;
199
- args: {
200
- eventName: string;
201
- };
202
- data: {
203
- deletingFieldId: string;
204
- };
205
- }[];
206
- };
207
- sortFields: {
208
- weight: number;
209
- actions: {
210
- type: string;
211
- actionType: string;
212
- args: {
213
- eventName: string;
214
- };
215
- data: {
216
- sortedFields: string;
217
- };
218
- }[];
219
- };
220
- setTotalCount: {
221
- weight: number;
222
- actions: {
223
- type: string;
224
- actionType: string;
225
- args: {
226
- eventName: string;
227
- };
228
- data: {
229
- totalCount: string;
230
- };
231
- }[];
232
- };
233
- };
234
- })[];
235
- onEvent: {
236
- "@b6tables.addRecord": {
237
- actions: {
238
- actionType: string;
239
- args: {
240
- msgType: string;
241
- msg: string;
242
- position: string;
243
- };
244
- }[];
245
- };
246
- };
247
- };
248
- }>;