@steedos-widgets/ag-grid 6.3.12-beta.9 → 6.10.1-beta.8

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 (37) hide show
  1. package/dist/ag-grid.umd.css +2 -2
  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 +497 -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 +30 -0
  12. package/dist/amis/cellEditor/datetime.d.ts +15 -0
  13. package/dist/amis/cellEditor/index.d.ts +2 -0
  14. package/dist/amis/cellEditor/multiSelect.d.ts +15 -0
  15. package/dist/amis/index.d.ts +1 -0
  16. package/dist/assets.json +5 -5
  17. package/dist/components/AgGrid.d.ts +2 -2
  18. package/dist/meta.js +98 -21
  19. package/dist/metas/AmisAirtableGrid.d.ts +2 -0
  20. package/dist/types/amis/AirtableGrid/AirtableGrid.d.ts +11 -0
  21. package/dist/types/amis/AirtableGrid/DataSource.d.ts +17 -0
  22. package/dist/types/amis/AirtableGrid/gridOptions.d.ts +497 -0
  23. package/dist/types/amis/AirtableGrid/index.d.ts +3 -0
  24. package/dist/types/amis/{TablesGrid.d.ts → TablesGrid/TablesGrid.d.ts} +0 -1
  25. package/dist/types/amis/TablesGrid/dataSource.d.ts +8 -0
  26. package/dist/types/amis/TablesGrid/fieldsAdmin.d.ts +612 -0
  27. package/dist/types/amis/TablesGrid/index.d.ts +1 -0
  28. package/dist/types/amis/TablesGrid/tables.d.ts +30 -0
  29. package/dist/types/amis/cellEditor/datetime.d.ts +15 -0
  30. package/dist/types/amis/cellEditor/index.d.ts +2 -0
  31. package/dist/types/amis/cellEditor/multiSelect.d.ts +15 -0
  32. package/dist/types/amis/index.d.ts +1 -0
  33. package/dist/types/components/AgGrid.d.ts +2 -2
  34. package/dist/types/metas/AmisAirtableGrid.d.ts +2 -0
  35. package/package.json +3 -3
  36. package/dist/amis/tables.d.ts +0 -248
  37. package/dist/types/amis/tables.d.ts +0 -248
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.10.1-beta.8",
5
5
  "main": "dist/ag-grid.cjs.js",
6
6
  "module": "dist/ag-grid.esm.js",
7
7
  "unpkg": "dist/ag-grid.umd.js",
@@ -50,10 +50,10 @@
50
50
  "dependencies": {
51
51
  "@ag-grid-community/locale": "^32.3.3",
52
52
  "@rollup/plugin-replace": "^5.0.2",
53
- "@steedos-widgets/amis-lib": "6.3.12-beta.9",
53
+ "@steedos-widgets/amis-lib": "6.10.1-beta.8",
54
54
  "ag-grid-community": "~32.3.3",
55
55
  "ag-grid-enterprise": "~32.3.3",
56
56
  "ag-grid-react": "~32.3.3"
57
57
  },
58
- "gitHead": "9312bc96378fbf166cfb125739b4d185ef6e4f22"
58
+ "gitHead": "33eb25a61f4092a5daf351e0ec9b5b62816a6c3e"
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
- }>;