@object-ui/plugin-aggrid 3.1.3 → 3.1.4
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/.turbo/turbo-build.log +60 -91
- package/CHANGELOG.md +11 -0
- package/dist/AddressField-DKqaE9pD.js +93 -0
- package/dist/AgGridImpl-BD5cjyc0.js +226 -0
- package/dist/AutoNumberField-0RU2dNKe.js +13 -0
- package/dist/AvatarField-IZTLB0Ye.js +82 -0
- package/dist/BooleanField-DRzAZhSq.js +40 -0
- package/dist/CodeField-RWhnDMyL.js +22 -0
- package/dist/ColorField-B-YAFXdz.js +37 -0
- package/dist/CurrencyField-Bu80a-sI.js +51 -0
- package/dist/DateField-CV-NpLbM.js +21 -0
- package/dist/DateTimeField--YTsgTjw.js +32 -0
- package/dist/EmailField-B-3fWJsH.js +28 -0
- package/dist/FileField-DxxdESfc.js +160 -0
- package/dist/FormulaField-MQXJZOep.js +13 -0
- package/dist/GeolocationField-BzKgcWLN.js +156 -0
- package/dist/GridField-DHsGo9l2.js +51 -0
- package/dist/ImageField-DK7sUV6b.js +77 -0
- package/dist/LocationField-DSvhU9Dz.js +35 -0
- package/dist/LookupField-Dmzju5Q0.js +1033 -0
- package/dist/MasterDetailField-CPLHbe_Y.js +109 -0
- package/dist/NumberField-JaSlPVXs.js +26 -0
- package/dist/ObjectAgGridImpl-4uephlvO.js +19998 -0
- package/dist/ObjectField-FzUYlu-m.js +52 -0
- package/dist/PasswordField-d6E-vKBI.js +60 -0
- package/dist/PercentField-D2_kMuC_.js +63 -0
- package/dist/PhoneField-DOaMivd6.js +28 -0
- package/dist/QRCodeField-BIQhc73N.js +144 -0
- package/dist/RatingField-BKAGmlzh.js +42 -0
- package/dist/RichTextField-D4FIV9V8.js +32 -0
- package/dist/SelectField-C2gtlnLZ.js +30 -0
- package/dist/SignatureField-fFEb0h_C.js +98 -0
- package/dist/SliderField-BlAlK3g2.js +34 -0
- package/dist/SummaryField-Dy2Kkj6M.js +18 -0
- package/dist/TextAreaField-BCUkjKTc.js +36 -0
- package/dist/TextField-XWOnbUrk.js +29 -0
- package/dist/TimeField-CZdzdqOO.js +21 -0
- package/dist/UrlField-sq1mpRoG.js +33 -0
- package/dist/UserField-Dqk38Arc.js +79 -0
- package/dist/VectorField-CY70VLiW.js +35 -0
- package/dist/createLucideIcon-CWx7zIL1.js +39 -0
- package/dist/image-Cm7ExMY2.js +24 -0
- package/dist/index.css +2 -1
- package/dist/index.js +503 -8
- package/dist/index.umd.cjs +116 -112
- package/dist/jsx-runtime-CGDkM_Jn.js +189 -0
- package/dist/plus-CsEgF66K.js +10 -0
- package/dist/upload-B1x-ueFd.js +17 -0
- package/dist/x-Bwhzfvtg.js +10 -0
- package/package.json +9 -9
- package/dist/AddressField-CKC4ZJAb.js +0 -95
- package/dist/AgGridImpl-Da1-9kQm.js +0 -229
- package/dist/AutoNumberField-DUIGHfEs.js +0 -8
- package/dist/FileField-VTTCu1Mi.js +0 -144
- package/dist/FormulaField-Db3yTWbM.js +0 -9
- package/dist/GeolocationField-CEWtxddT.js +0 -141
- package/dist/GridField-Doeh0ghH.js +0 -29
- package/dist/LocationField-BF0sYg0h.js +0 -33
- package/dist/MasterDetailField-EG8aGKCm.js +0 -113
- package/dist/ObjectAgGridImpl-BQKWGygD.js +0 -28987
- package/dist/ObjectField-C63JFk2A.js +0 -51
- package/dist/QRCodeField-DnYB9SbX.js +0 -96
- package/dist/RichTextField-DJFKaCj6.js +0 -37
- package/dist/SignatureField-DdhPdmDm.js +0 -96
- package/dist/SummaryField-qwokC_TB.js +0 -9
- package/dist/UserField-BGSE0B99.js +0 -49
- package/dist/VectorField-MkcitfSl.js +0 -25
- package/dist/index-CTPRjgpn.js +0 -662
package/dist/index.js
CHANGED
|
@@ -1,9 +1,504 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import "@object-ui/core";
|
|
4
|
-
import "@object-ui/components";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { t as e } from "./jsx-runtime-CGDkM_Jn.js";
|
|
2
|
+
import t, { Suspense as n } from "react";
|
|
3
|
+
import { ComponentRegistry as r } from "@object-ui/core";
|
|
4
|
+
import { Skeleton as i } from "@object-ui/components";
|
|
5
|
+
//#region src/index.tsx
|
|
6
|
+
var a = e(), o = t.lazy(() => import("./AgGridImpl-BD5cjyc0.js")), s = t.lazy(() => import("./ObjectAgGridImpl-4uephlvO.js")), c = ({ schema: e }) => /* @__PURE__ */ (0, a.jsx)(n, {
|
|
7
|
+
fallback: /* @__PURE__ */ (0, a.jsx)(i, { className: "w-full h-[500px]" }),
|
|
8
|
+
children: /* @__PURE__ */ (0, a.jsx)(o, {
|
|
9
|
+
rowData: e.rowData,
|
|
10
|
+
columnDefs: e.columnDefs,
|
|
11
|
+
gridOptions: e.gridOptions,
|
|
12
|
+
pagination: e.pagination,
|
|
13
|
+
paginationPageSize: e.paginationPageSize,
|
|
14
|
+
domLayout: e.domLayout,
|
|
15
|
+
animateRows: e.animateRows,
|
|
16
|
+
rowSelection: e.rowSelection,
|
|
17
|
+
theme: e.theme,
|
|
18
|
+
height: e.height,
|
|
19
|
+
className: e.className,
|
|
20
|
+
editable: e.editable,
|
|
21
|
+
editType: e.editType,
|
|
22
|
+
singleClickEdit: e.singleClickEdit,
|
|
23
|
+
stopEditingWhenCellsLoseFocus: e.stopEditingWhenCellsLoseFocus,
|
|
24
|
+
exportConfig: e.exportConfig,
|
|
25
|
+
statusBar: e.statusBar,
|
|
26
|
+
callbacks: e.callbacks,
|
|
27
|
+
columnConfig: e.columnConfig,
|
|
28
|
+
enableRangeSelection: e.enableRangeSelection,
|
|
29
|
+
enableCharts: e.enableCharts,
|
|
30
|
+
contextMenu: e.contextMenu,
|
|
31
|
+
treeData: e.treeData,
|
|
32
|
+
rowGrouping: e.rowGrouping,
|
|
33
|
+
excelExport: e.excelExport
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
r.register("aggrid", c, {
|
|
37
|
+
namespace: "plugin-aggrid",
|
|
38
|
+
label: "AG Grid",
|
|
39
|
+
icon: "Table",
|
|
40
|
+
category: "plugin",
|
|
41
|
+
inputs: [
|
|
42
|
+
{
|
|
43
|
+
name: "rowData",
|
|
44
|
+
type: "array",
|
|
45
|
+
label: "Row Data",
|
|
46
|
+
description: "Array of objects to display in the grid",
|
|
47
|
+
required: !0
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "columnDefs",
|
|
51
|
+
type: "array",
|
|
52
|
+
label: "Column Definitions",
|
|
53
|
+
description: "Array of column definitions",
|
|
54
|
+
required: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "pagination",
|
|
58
|
+
type: "boolean",
|
|
59
|
+
label: "Enable Pagination",
|
|
60
|
+
defaultValue: !1
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "paginationPageSize",
|
|
64
|
+
type: "number",
|
|
65
|
+
label: "Page Size",
|
|
66
|
+
defaultValue: 10,
|
|
67
|
+
description: "Number of rows per page when pagination is enabled"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "theme",
|
|
71
|
+
type: "enum",
|
|
72
|
+
label: "Theme",
|
|
73
|
+
enum: [
|
|
74
|
+
{
|
|
75
|
+
label: "Quartz",
|
|
76
|
+
value: "quartz"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: "Alpine",
|
|
80
|
+
value: "alpine"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: "Balham",
|
|
84
|
+
value: "balham"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: "Material",
|
|
88
|
+
value: "material"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
defaultValue: "quartz"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "rowSelection",
|
|
95
|
+
type: "enum",
|
|
96
|
+
label: "Row Selection",
|
|
97
|
+
enum: [
|
|
98
|
+
{
|
|
99
|
+
label: "None",
|
|
100
|
+
value: void 0
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
label: "Single",
|
|
104
|
+
value: "single"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
label: "Multiple",
|
|
108
|
+
value: "multiple"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
defaultValue: void 0,
|
|
112
|
+
advanced: !0
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "domLayout",
|
|
116
|
+
type: "enum",
|
|
117
|
+
label: "DOM Layout",
|
|
118
|
+
enum: [
|
|
119
|
+
{
|
|
120
|
+
label: "Normal",
|
|
121
|
+
value: "normal"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: "Auto Height",
|
|
125
|
+
value: "autoHeight"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: "Print",
|
|
129
|
+
value: "print"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
defaultValue: "normal",
|
|
133
|
+
advanced: !0
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "animateRows",
|
|
137
|
+
type: "boolean",
|
|
138
|
+
label: "Animate Rows",
|
|
139
|
+
defaultValue: !0,
|
|
140
|
+
advanced: !0
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "height",
|
|
144
|
+
type: "number",
|
|
145
|
+
label: "Height (px)",
|
|
146
|
+
defaultValue: 500
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: "editable",
|
|
150
|
+
type: "boolean",
|
|
151
|
+
label: "Enable Editing",
|
|
152
|
+
defaultValue: !1,
|
|
153
|
+
description: "Allow cells to be edited inline",
|
|
154
|
+
advanced: !0
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: "singleClickEdit",
|
|
158
|
+
type: "boolean",
|
|
159
|
+
label: "Single Click Edit",
|
|
160
|
+
defaultValue: !1,
|
|
161
|
+
description: "Start editing on single click instead of double click",
|
|
162
|
+
advanced: !0
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: "exportConfig",
|
|
166
|
+
type: "code",
|
|
167
|
+
label: "Export Config (JSON)",
|
|
168
|
+
description: "Configure CSV export: { enabled: true, fileName: \"data.csv\" }",
|
|
169
|
+
advanced: !0
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "statusBar",
|
|
173
|
+
type: "code",
|
|
174
|
+
label: "Status Bar Config (JSON)",
|
|
175
|
+
description: "Configure status bar: { enabled: true, aggregations: [\"count\", \"sum\", \"avg\"] }",
|
|
176
|
+
advanced: !0
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: "callbacks",
|
|
180
|
+
type: "code",
|
|
181
|
+
label: "Event Callbacks (JSON)",
|
|
182
|
+
description: "Event handlers for cell clicks, selection changes, etc.",
|
|
183
|
+
advanced: !0
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "columnConfig",
|
|
187
|
+
type: "code",
|
|
188
|
+
label: "Column Config (JSON)",
|
|
189
|
+
description: "Global column settings: { resizable: true, sortable: true, filterable: true }",
|
|
190
|
+
advanced: !0
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
name: "enableRangeSelection",
|
|
194
|
+
type: "boolean",
|
|
195
|
+
label: "Enable Range Selection",
|
|
196
|
+
defaultValue: !1,
|
|
197
|
+
description: "Allow selecting ranges of cells (like Excel)",
|
|
198
|
+
advanced: !0
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: "enableCharts",
|
|
202
|
+
type: "boolean",
|
|
203
|
+
label: "Enable Charts",
|
|
204
|
+
defaultValue: !1,
|
|
205
|
+
description: "Enable integrated charting (requires AG Grid Enterprise)",
|
|
206
|
+
advanced: !0
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: "contextMenu",
|
|
210
|
+
type: "code",
|
|
211
|
+
label: "Context Menu Config (JSON)",
|
|
212
|
+
description: "Configure right-click menu: { enabled: true, items: [\"copy\", \"export\"] }",
|
|
213
|
+
advanced: !0
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "treeData",
|
|
217
|
+
type: "code",
|
|
218
|
+
label: "Tree Data Config (JSON)",
|
|
219
|
+
description: "Configure tree data: { enabled: true, pathField: \"orgHierarchy\" }",
|
|
220
|
+
advanced: !0
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: "rowGrouping",
|
|
224
|
+
type: "code",
|
|
225
|
+
label: "Row Grouping Config (JSON)",
|
|
226
|
+
description: "Configure row grouping: { enabled: true, groupByFields: [\"category\"] }",
|
|
227
|
+
advanced: !0
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: "excelExport",
|
|
231
|
+
type: "code",
|
|
232
|
+
label: "Excel Export Config (JSON)",
|
|
233
|
+
description: "Configure Excel export: { enabled: true, fileName: \"data.xlsx\" }",
|
|
234
|
+
advanced: !0
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: "gridOptions",
|
|
238
|
+
type: "code",
|
|
239
|
+
label: "Grid Options (JSON)",
|
|
240
|
+
description: "Advanced AG Grid options",
|
|
241
|
+
advanced: !0
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: "className",
|
|
245
|
+
type: "string",
|
|
246
|
+
label: "CSS Class"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
defaultProps: {
|
|
250
|
+
rowData: [
|
|
251
|
+
{
|
|
252
|
+
make: "Tesla",
|
|
253
|
+
model: "Model Y",
|
|
254
|
+
price: 64950,
|
|
255
|
+
electric: !0
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
make: "Ford",
|
|
259
|
+
model: "F-Series",
|
|
260
|
+
price: 33850,
|
|
261
|
+
electric: !1
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
make: "Toyota",
|
|
265
|
+
model: "Corolla",
|
|
266
|
+
price: 29600,
|
|
267
|
+
electric: !1
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
make: "Mercedes",
|
|
271
|
+
model: "EQA",
|
|
272
|
+
price: 48890,
|
|
273
|
+
electric: !0
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
make: "Fiat",
|
|
277
|
+
model: "500",
|
|
278
|
+
price: 15774,
|
|
279
|
+
electric: !1
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
make: "Nissan",
|
|
283
|
+
model: "Juke",
|
|
284
|
+
price: 20675,
|
|
285
|
+
electric: !1
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
make: "Vauxhall",
|
|
289
|
+
model: "Corsa",
|
|
290
|
+
price: 18460,
|
|
291
|
+
electric: !1
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
make: "Volvo",
|
|
295
|
+
model: "XC90",
|
|
296
|
+
price: 72835,
|
|
297
|
+
electric: !1
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
make: "Mercedes",
|
|
301
|
+
model: "GLA",
|
|
302
|
+
price: 47825,
|
|
303
|
+
electric: !1
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
make: "Ford",
|
|
307
|
+
model: "Puma",
|
|
308
|
+
price: 27420,
|
|
309
|
+
electric: !1
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
make: "Volkswagen",
|
|
313
|
+
model: "Golf",
|
|
314
|
+
price: 28850,
|
|
315
|
+
electric: !1
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
make: "Kia",
|
|
319
|
+
model: "Sportage",
|
|
320
|
+
price: 31095,
|
|
321
|
+
electric: !1
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
columnDefs: [
|
|
325
|
+
{
|
|
326
|
+
field: "make",
|
|
327
|
+
headerName: "Make",
|
|
328
|
+
sortable: !0,
|
|
329
|
+
filter: !0
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
field: "model",
|
|
333
|
+
headerName: "Model",
|
|
334
|
+
sortable: !0,
|
|
335
|
+
filter: !0
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
field: "price",
|
|
339
|
+
headerName: "Price",
|
|
340
|
+
sortable: !0,
|
|
341
|
+
filter: "number",
|
|
342
|
+
valueFormatter: (e) => e.value == null ? "" : "$" + e.value.toLocaleString()
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
field: "electric",
|
|
346
|
+
headerName: "Electric",
|
|
347
|
+
sortable: !0,
|
|
348
|
+
filter: !0,
|
|
349
|
+
cellRenderer: (e) => e.value === !0 ? "⚡ Yes" : "No"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
pagination: !0,
|
|
353
|
+
paginationPageSize: 10,
|
|
354
|
+
theme: "quartz",
|
|
355
|
+
height: 500,
|
|
356
|
+
animateRows: !0,
|
|
357
|
+
domLayout: "normal"
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
var l = ({ schema: e }) => /* @__PURE__ */ (0, a.jsx)(n, {
|
|
361
|
+
fallback: /* @__PURE__ */ (0, a.jsx)(i, { className: "w-full h-[500px]" }),
|
|
362
|
+
children: /* @__PURE__ */ (0, a.jsx)(s, {
|
|
363
|
+
objectName: e.objectName,
|
|
364
|
+
dataSource: e.dataSource,
|
|
365
|
+
fields: e.fields,
|
|
366
|
+
fieldNames: e.fieldNames,
|
|
367
|
+
filters: e.filters,
|
|
368
|
+
sort: e.sort,
|
|
369
|
+
pageSize: e.pageSize,
|
|
370
|
+
pagination: e.pagination,
|
|
371
|
+
domLayout: e.domLayout,
|
|
372
|
+
animateRows: e.animateRows,
|
|
373
|
+
rowSelection: e.rowSelection,
|
|
374
|
+
theme: e.theme,
|
|
375
|
+
height: e.height,
|
|
376
|
+
className: e.className,
|
|
377
|
+
editable: e.editable,
|
|
378
|
+
editType: e.editType,
|
|
379
|
+
singleClickEdit: e.singleClickEdit,
|
|
380
|
+
stopEditingWhenCellsLoseFocus: e.stopEditingWhenCellsLoseFocus,
|
|
381
|
+
exportConfig: e.exportConfig,
|
|
382
|
+
statusBar: e.statusBar,
|
|
383
|
+
callbacks: e.callbacks,
|
|
384
|
+
columnConfig: e.columnConfig,
|
|
385
|
+
enableRangeSelection: e.enableRangeSelection,
|
|
386
|
+
enableCharts: e.enableCharts,
|
|
387
|
+
contextMenu: e.contextMenu
|
|
388
|
+
})
|
|
389
|
+
}), u = {
|
|
390
|
+
aggrid: c,
|
|
391
|
+
"object-aggrid": l
|
|
9
392
|
};
|
|
393
|
+
r.register("object-aggrid", l, {
|
|
394
|
+
namespace: "plugin-aggrid",
|
|
395
|
+
label: "Object AG Grid",
|
|
396
|
+
icon: "Table",
|
|
397
|
+
category: "view",
|
|
398
|
+
inputs: [
|
|
399
|
+
{
|
|
400
|
+
name: "objectName",
|
|
401
|
+
type: "string",
|
|
402
|
+
label: "Object Name",
|
|
403
|
+
description: "Name of the object to fetch metadata and data from",
|
|
404
|
+
required: !0
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: "dataSource",
|
|
408
|
+
type: "object",
|
|
409
|
+
label: "Data Source",
|
|
410
|
+
description: "ObjectStack data source adapter instance",
|
|
411
|
+
required: !0
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "fieldNames",
|
|
415
|
+
type: "array",
|
|
416
|
+
label: "Field Names",
|
|
417
|
+
description: "Optional: Specify which fields to show (defaults to all fields)"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
name: "filters",
|
|
421
|
+
type: "object",
|
|
422
|
+
label: "Filters",
|
|
423
|
+
description: "Query filters to apply to the data"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: "sort",
|
|
427
|
+
type: "object",
|
|
428
|
+
label: "Sort",
|
|
429
|
+
description: "Sorting configuration: { fieldName: \"asc\" | \"desc\" }"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: "pagination",
|
|
433
|
+
type: "boolean",
|
|
434
|
+
label: "Enable Pagination",
|
|
435
|
+
defaultValue: !0
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
name: "pageSize",
|
|
439
|
+
type: "number",
|
|
440
|
+
label: "Page Size",
|
|
441
|
+
defaultValue: 10,
|
|
442
|
+
description: "Number of rows per page"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
name: "theme",
|
|
446
|
+
type: "enum",
|
|
447
|
+
label: "Theme",
|
|
448
|
+
enum: [
|
|
449
|
+
{
|
|
450
|
+
label: "Quartz",
|
|
451
|
+
value: "quartz"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
label: "Alpine",
|
|
455
|
+
value: "alpine"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
label: "Balham",
|
|
459
|
+
value: "balham"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
label: "Material",
|
|
463
|
+
value: "material"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
defaultValue: "quartz"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: "height",
|
|
470
|
+
type: "number",
|
|
471
|
+
label: "Height (px)",
|
|
472
|
+
defaultValue: 500
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: "editable",
|
|
476
|
+
type: "boolean",
|
|
477
|
+
label: "Enable Editing",
|
|
478
|
+
defaultValue: !1,
|
|
479
|
+
description: "Allow cells to be edited inline",
|
|
480
|
+
advanced: !0
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: "exportConfig",
|
|
484
|
+
type: "code",
|
|
485
|
+
label: "Export Config (JSON)",
|
|
486
|
+
description: "Configure CSV export: { enabled: true, fileName: \"data.csv\" }",
|
|
487
|
+
advanced: !0
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
name: "columnConfig",
|
|
491
|
+
type: "code",
|
|
492
|
+
label: "Column Config (JSON)",
|
|
493
|
+
description: "Global column settings: { resizable: true, sortable: true, filterable: true }",
|
|
494
|
+
advanced: !0
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: "className",
|
|
498
|
+
type: "string",
|
|
499
|
+
label: "CSS Class"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
});
|
|
503
|
+
//#endregion
|
|
504
|
+
export { c as AgGridRenderer, l as ObjectAgGridRenderer, u as aggridComponents };
|