@primereact/mcp 11.1.0 → 11.2.0
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/data/llms/headless/components/accordion/api.json +9 -9
- package/data/llms/headless/components/animateonscroll/api.json +2 -2
- package/data/llms/headless/components/autocomplete/api.json +33 -33
- package/data/llms/headless/components/avatar/api.json +1 -1
- package/data/llms/headless/components/carousel/api.json +15 -15
- package/data/llms/headless/components/checkbox/api.json +18 -18
- package/data/llms/headless/components/collapsible/api.json +14 -14
- package/data/llms/headless/components/compare/api.json +3 -3
- package/data/llms/headless/components/contextmenu/api.json +2 -2
- package/data/llms/headless/components/datatable/api.json +19 -19
- package/data/llms/headless/components/dataview/api.json +3 -3
- package/data/llms/headless/components/datepicker/api.json +43 -43
- package/data/llms/headless/components/dialog/api.json +19 -19
- package/data/llms/headless/components/divider/api.json +3 -3
- package/data/llms/headless/components/drawer/api.json +13 -13
- package/data/llms/headless/components/fieldset/api.json +9 -9
- package/data/llms/headless/components/fileupload/api.json +5 -5
- package/data/llms/headless/components/focustrap/api.json +4 -4
- package/data/llms/headless/components/gallery/api.json +23 -23
- package/data/llms/headless/components/inplace/api.json +3 -3
- package/data/llms/headless/components/inputcolor/api.json +6 -6
- package/data/llms/headless/components/inputcolor.md +0 -1
- package/data/llms/headless/components/inputnumber/api.json +8 -8
- package/data/llms/headless/components/inputotp/api.json +7 -7
- package/data/llms/headless/components/inputpassword/api.json +4 -4
- package/data/llms/headless/components/inputpassword.md +3 -3
- package/data/llms/headless/components/inputtags/api.json +8 -8
- package/data/llms/headless/components/inputtext/api.json +1 -1
- package/data/llms/headless/components/knob/api.json +18 -18
- package/data/llms/headless/components/listbox/api.json +27 -27
- package/data/llms/headless/components/menu/api.json +10 -10
- package/data/llms/headless/components/message/api.json +1 -1
- package/data/llms/headless/components/metergroup/api.json +3 -3
- package/data/llms/headless/components/motion/api.json +1 -1
- package/data/llms/headless/components/navigationmenu/api.json +5 -5
- package/data/llms/headless/components/orderlist/api.json +5 -5
- package/data/llms/headless/components/organizationchart/api.json +6 -6
- package/data/llms/headless/components/paginator/api.json +5 -5
- package/data/llms/headless/components/panel/api.json +9 -9
- package/data/llms/headless/components/picklist/api.json +5 -5
- package/data/llms/headless/components/popover/api.json +16 -16
- package/data/llms/headless/components/positioner/api.json +7 -7
- package/data/llms/headless/components/progressbar/api.json +3 -3
- package/data/llms/headless/components/progressspinner/api.json +3 -3
- package/data/llms/headless/components/radiobutton/api.json +16 -16
- package/data/llms/headless/components/rating/api.json +5 -5
- package/data/llms/headless/components/scrollarea/api.json +6 -6
- package/data/llms/headless/components/select/api.json +34 -34
- package/data/llms/headless/components/sidebar/api.json +60 -60
- package/data/llms/headless/components/sidebar.md +4 -2
- package/data/llms/headless/components/slider/api.json +3 -3
- package/data/llms/headless/components/speeddial/api.json +4 -4
- package/data/llms/headless/components/splitter/api.json +5 -5
- package/data/llms/headless/components/stepper/api.json +13 -13
- package/data/llms/headless/components/styleclass/api.json +1 -1
- package/data/llms/headless/components/tabs/api.json +17 -17
- package/data/llms/headless/components/terminal/api.json +1 -1
- package/data/llms/headless/components/toast/api.json +4 -4
- package/data/llms/headless/components/togglebutton/api.json +27 -3
- package/data/llms/headless/components/toggleswitch/api.json +3 -3
- package/data/llms/headless/components/tooltip/api.json +17 -17
- package/data/llms/headless/components/tree/api.json +20 -20
- package/data/llms/headless/components/tree.md +1 -0
- package/data/llms/headless/components/treetable/api.json +19 -19
- package/data/llms/hooks/use-filter.md +2 -2
- package/data/llms/hooks/use-tree-filter.md +3 -1
- package/data/llms/llms-full.txt +485 -229
- package/data/llms/primitive/components/accordion/api.json +39 -39
- package/data/llms/primitive/components/animateonscroll/api.json +5 -5
- package/data/llms/primitive/components/autocomplete/api.json +105 -105
- package/data/llms/primitive/components/avatar/api.json +14 -14
- package/data/llms/primitive/components/badge/api.json +6 -6
- package/data/llms/primitive/components/breadcrumb/api.json +27 -27
- package/data/llms/primitive/components/button/api.json +8 -8
- package/data/llms/primitive/components/buttongroup/api.json +3 -3
- package/data/llms/primitive/components/card/api.json +24 -24
- package/data/llms/primitive/components/carousel/api.json +28 -28
- package/data/llms/primitive/components/checkbox/api.json +14 -14
- package/data/llms/primitive/components/checkboxgroup/api.json +5 -5
- package/data/llms/primitive/components/chip/api.json +19 -19
- package/data/llms/primitive/components/collapsible/api.json +18 -18
- package/data/llms/primitive/components/compare/api.json +18 -18
- package/data/llms/primitive/components/contextmenu/api.json +150 -1141
- package/data/llms/primitive/components/datatable/api.json +215 -164
- package/data/llms/primitive/components/dataview/api.json +17 -17
- package/data/llms/primitive/components/datepicker/api.json +230 -230
- package/data/llms/primitive/components/dialog/api.json +63 -63
- package/data/llms/primitive/components/divider/api.json +3 -3
- package/data/llms/primitive/components/drawer/api.json +47 -47
- package/data/llms/primitive/components/fieldset/api.json +31 -31
- package/data/llms/primitive/components/fileupload/api.json +53 -53
- package/data/llms/primitive/components/floatlabel/api.json +3 -3
- package/data/llms/primitive/components/focustrap/api.json +7 -7
- package/data/llms/primitive/components/gallery/api.json +91 -91
- package/data/llms/primitive/components/iconfield/api.json +7 -7
- package/data/llms/primitive/components/iftalabel/api.json +3 -3
- package/data/llms/primitive/components/inplace/api.json +18 -18
- package/data/llms/primitive/components/inputcolor/api.json +51 -51
- package/data/llms/primitive/components/inputnumber/api.json +10 -10
- package/data/llms/primitive/components/inputotp/api.json +12 -12
- package/data/llms/primitive/components/inputpassword/api.json +7 -7
- package/data/llms/primitive/components/inputtags/api.json +6 -6
- package/data/llms/primitive/components/inputtext/api.json +4 -4
- package/data/llms/primitive/components/knob/api.json +19 -19
- package/data/llms/primitive/components/label/api.json +3 -3
- package/data/llms/primitive/components/listbox/api.json +57 -57
- package/data/llms/primitive/components/menu/api.json +87 -279
- package/data/llms/primitive/components/message/api.json +22 -22
- package/data/llms/primitive/components/metergroup/api.json +27 -27
- package/data/llms/primitive/components/navigationmenu/api.json +8 -8
- package/data/llms/primitive/components/paginator/api.json +43 -43
- package/data/llms/primitive/components/panel/api.json +34 -34
- package/data/llms/primitive/components/popover/api.json +67 -67
- package/data/llms/primitive/components/portal/api.json +4 -4
- package/data/llms/primitive/components/progressbar/api.json +22 -22
- package/data/llms/primitive/components/progressspinner/api.json +18 -18
- package/data/llms/primitive/components/radiobutton/api.json +16 -16
- package/data/llms/primitive/components/rating/api.json +20 -20
- package/data/llms/primitive/components/scrollarea/api.json +23 -23
- package/data/llms/primitive/components/select/api.json +95 -95
- package/data/llms/primitive/components/sidebar/api.json +88 -88
- package/data/llms/primitive/components/sidebar.md +2 -1
- package/data/llms/primitive/components/skeleton/api.json +3 -3
- package/data/llms/primitive/components/slider/api.json +22 -22
- package/data/llms/primitive/components/speeddial/api.json +22 -22
- package/data/llms/primitive/components/splitter/api.json +18 -18
- package/data/llms/primitive/components/stepper/api.json +64 -64
- package/data/llms/primitive/components/tabs/api.json +51 -51
- package/data/llms/primitive/components/tag/api.json +3 -3
- package/data/llms/primitive/components/terminal/api.json +44 -44
- package/data/llms/primitive/components/textarea/api.json +4 -4
- package/data/llms/primitive/components/timeline/api.json +27 -27
- package/data/llms/primitive/components/toast/api.json +48 -48
- package/data/llms/primitive/components/togglebutton/api.json +10 -10
- package/data/llms/primitive/components/togglebuttongroup/api.json +5 -5
- package/data/llms/primitive/components/toggleswitch/api.json +12 -12
- package/data/llms/primitive/components/toolbar/api.json +15 -15
- package/data/llms/primitive/components/tooltip/api.json +52 -52
- package/data/llms/primitive/components/tree/api.json +73 -73
- package/data/llms/primitive/components/visuallyhidden/api.json +3 -3
- package/data/llms/primitive/guides/migration/updating-to-v11.md +2 -2
- package/data/llms/styled/add-ons/designer/ci.md +7 -7
- package/data/llms/styled/add-ons/uikit/guide/v3.md +1 -0
- package/data/llms/styled/components/button/api.json +8 -8
- package/data/llms/styled/components/carousel.md +65 -0
- package/data/llms/styled/components/datatable.md +94 -84
- package/data/llms/styled/components/floatlabel/api.json +3 -3
- package/data/llms/styled/components/fluid/api.json +3 -3
- package/data/llms/styled/components/iconfield/api.json +7 -7
- package/data/llms/styled/components/iftalabel/api.json +3 -3
- package/data/llms/styled/components/inputcolor.md +3 -0
- package/data/llms/styled/components/inputgroup/api.json +7 -7
- package/data/llms/styled/components/label/api.json +3 -3
- package/data/llms/styled/components/organizationchart/api.json +33 -33
- package/data/llms/styled/components/rating/api.json +11 -11
- package/data/llms/styled/components/select.md +6 -0
- package/data/llms/styled/components/sidebar.md +12 -8
- package/data/llms/styled/components/tree.md +5 -0
- package/data/llms/styled/components/treetable.md +171 -62
- package/data/llms/styled/guides/configuration.md +25 -0
- package/data/llms/styled/guides/migration/updating-to-v11.md +2 -2
- package/data/llms/styled/guides/theming/tailwind.md +25 -0
- package/data/llms/tailwind/components/button/api.json +8 -8
- package/data/llms/tailwind/components/datatable.md +33 -42
- package/data/llms/tailwind/components/inputgroup.md +0 -1
- package/data/llms/tailwind/components/select.md +3 -0
- package/data/llms/tailwind/components/sidebar.md +16 -11
- package/data/manifest.json +773 -778
- package/data/mcp-data.json +5 -29
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/package.json +9 -8
- package/data/llms/headless/guides/misc/locale.md +0 -280
- package/data/llms/primitive/guides/misc/locale.md +0 -280
- package/data/llms/styled/guides/installation/configuration.md +0 -135
- package/data/llms/styled/guides/misc/locale.md +0 -280
- package/data/llms/tailwind/guides/misc/locale.md +0 -280
- package/data/llms/tailwind/guides/theming/guide.md +0 -179
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "style",
|
|
40
|
-
"type": "CSSProperties | ((instance?: DataTableCellInstance) => CSSProperties)",
|
|
40
|
+
"type": "CSSProperties | ((instance?: DataTableCellInstance) => undefined | CSSProperties)",
|
|
41
41
|
"default": "",
|
|
42
42
|
"description": "The style to apply to the component."
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "className",
|
|
46
|
-
"type": "string | ((instance?: DataTableCellInstance) => string)",
|
|
46
|
+
"type": "string | ((instance?: DataTableCellInstance) => undefined | string)",
|
|
47
47
|
"default": "",
|
|
48
48
|
"description": "The class name to apply to the component."
|
|
49
49
|
},
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"props": [
|
|
148
148
|
{
|
|
149
149
|
"name": "frozen",
|
|
150
|
-
"type": "boolean",
|
|
150
|
+
"type": "undefined | boolean",
|
|
151
151
|
"default": "",
|
|
152
152
|
"description": "Whether the column is frozen."
|
|
153
153
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"props": [
|
|
161
161
|
{
|
|
162
162
|
"name": "datatable",
|
|
163
|
-
"type": "DataTableRootInstance",
|
|
163
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
164
164
|
"default": "",
|
|
165
165
|
"description": "The DataTable component instance."
|
|
166
166
|
}
|
|
@@ -219,13 +219,13 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"name": "style",
|
|
222
|
-
"type": "CSSProperties | ((instance?: DataTableCellEditorInstance) => CSSProperties)",
|
|
222
|
+
"type": "CSSProperties | ((instance?: DataTableCellEditorInstance) => undefined | CSSProperties)",
|
|
223
223
|
"default": "",
|
|
224
224
|
"description": "The style to apply to the component."
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
"name": "className",
|
|
228
|
-
"type": "string | ((instance?: DataTableCellEditorInstance) => string)",
|
|
228
|
+
"type": "string | ((instance?: DataTableCellEditorInstance) => undefined | string)",
|
|
229
229
|
"default": "",
|
|
230
230
|
"description": "The class name to apply to the component."
|
|
231
231
|
},
|
|
@@ -286,18 +286,18 @@
|
|
|
286
286
|
{
|
|
287
287
|
"name": "field",
|
|
288
288
|
"type": "string",
|
|
289
|
-
"default": "",
|
|
289
|
+
"default": "''",
|
|
290
290
|
"description": "Field name associated with this cell."
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"name": "rowIndex",
|
|
294
294
|
"type": "number",
|
|
295
|
-
"default": "",
|
|
295
|
+
"default": "0",
|
|
296
296
|
"description": "Row index of this cell."
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"name": "rowData",
|
|
300
|
-
"type": "
|
|
300
|
+
"type": "T",
|
|
301
301
|
"default": "",
|
|
302
302
|
"description": "Row data associated with this cell."
|
|
303
303
|
},
|
|
@@ -336,12 +336,29 @@
|
|
|
336
336
|
"props": [
|
|
337
337
|
{
|
|
338
338
|
"name": "datatable",
|
|
339
|
-
"type": "DataTableRootInstance",
|
|
339
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
340
340
|
"default": "",
|
|
341
341
|
"description": "The DataTable component instance."
|
|
342
342
|
}
|
|
343
343
|
],
|
|
344
344
|
"methods": []
|
|
345
|
+
},
|
|
346
|
+
"DataTableCellEditorComponent": {
|
|
347
|
+
"description": "The DataTableCellEditor component.\n\n `T` is the row shape and is inferred from the `rowData` prop, so the editor stays tied to the\nconsumer's domain type instead of widening it to an open record. The signature is declared here\nbecause the component factory produces a value, and a value's type cannot carry an unbound type\nparameter.",
|
|
348
|
+
"relatedProp": "",
|
|
349
|
+
"props": [
|
|
350
|
+
{
|
|
351
|
+
"name": "displayName",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"default": ""
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "[props: DataTableCellEditorProps<T>]",
|
|
357
|
+
"type": "null | ReactElement<unknown, string | JSXElementConstructor<any>>",
|
|
358
|
+
"description": ""
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"methods": []
|
|
345
362
|
}
|
|
346
363
|
},
|
|
347
364
|
"types": {
|
|
@@ -394,13 +411,13 @@
|
|
|
394
411
|
},
|
|
395
412
|
{
|
|
396
413
|
"name": "style",
|
|
397
|
-
"type": "CSSProperties | ((instance?: DataTableCellEditorContentInstance) => CSSProperties)",
|
|
414
|
+
"type": "CSSProperties | ((instance?: DataTableCellEditorContentInstance) => undefined | CSSProperties)",
|
|
398
415
|
"default": "",
|
|
399
416
|
"description": "The style to apply to the component."
|
|
400
417
|
},
|
|
401
418
|
{
|
|
402
419
|
"name": "className",
|
|
403
|
-
"type": "string | ((instance?: DataTableCellEditorContentInstance) => string)",
|
|
420
|
+
"type": "string | ((instance?: DataTableCellEditorContentInstance) => undefined | string)",
|
|
404
421
|
"default": "",
|
|
405
422
|
"description": "The class name to apply to the component."
|
|
406
423
|
},
|
|
@@ -486,7 +503,7 @@
|
|
|
486
503
|
"props": [
|
|
487
504
|
{
|
|
488
505
|
"name": "datatable",
|
|
489
|
-
"type": "DataTableRootInstance",
|
|
506
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
490
507
|
"default": ""
|
|
491
508
|
}
|
|
492
509
|
],
|
|
@@ -543,13 +560,13 @@
|
|
|
543
560
|
},
|
|
544
561
|
{
|
|
545
562
|
"name": "style",
|
|
546
|
-
"type": "CSSProperties | ((instance?: DataTableCellEditorDisplayInstance) => CSSProperties)",
|
|
563
|
+
"type": "CSSProperties | ((instance?: DataTableCellEditorDisplayInstance) => undefined | CSSProperties)",
|
|
547
564
|
"default": "",
|
|
548
565
|
"description": "The style to apply to the component."
|
|
549
566
|
},
|
|
550
567
|
{
|
|
551
568
|
"name": "className",
|
|
552
|
-
"type": "string | ((instance?: DataTableCellEditorDisplayInstance) => string)",
|
|
569
|
+
"type": "string | ((instance?: DataTableCellEditorDisplayInstance) => undefined | string)",
|
|
553
570
|
"default": "",
|
|
554
571
|
"description": "The class name to apply to the component."
|
|
555
572
|
},
|
|
@@ -635,7 +652,7 @@
|
|
|
635
652
|
"props": [
|
|
636
653
|
{
|
|
637
654
|
"name": "datatable",
|
|
638
|
-
"type": "DataTableRootInstance",
|
|
655
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
639
656
|
"default": ""
|
|
640
657
|
}
|
|
641
658
|
],
|
|
@@ -693,13 +710,13 @@
|
|
|
693
710
|
},
|
|
694
711
|
{
|
|
695
712
|
"name": "style",
|
|
696
|
-
"type": "CSSProperties | ((instance?: DataTableColumnReorderInstance) => CSSProperties)",
|
|
713
|
+
"type": "CSSProperties | ((instance?: DataTableColumnReorderInstance) => undefined | CSSProperties)",
|
|
697
714
|
"default": "",
|
|
698
715
|
"description": "The style to apply to the component."
|
|
699
716
|
},
|
|
700
717
|
{
|
|
701
718
|
"name": "className",
|
|
702
|
-
"type": "string | ((instance?: DataTableColumnReorderInstance) => string)",
|
|
719
|
+
"type": "string | ((instance?: DataTableColumnReorderInstance) => undefined | string)",
|
|
703
720
|
"default": "",
|
|
704
721
|
"description": "The class name to apply to the component."
|
|
705
722
|
},
|
|
@@ -766,7 +783,7 @@
|
|
|
766
783
|
{
|
|
767
784
|
"name": "columnIndex",
|
|
768
785
|
"type": "number",
|
|
769
|
-
"default": "",
|
|
786
|
+
"default": "0",
|
|
770
787
|
"description": "Index of the column for reordering. Not required — the surrounding `<th>` is the actual\ndrag source and drop target; this handle only hints draggability visually.\nKept for backward compatibility and potential fine-grained control."
|
|
771
788
|
},
|
|
772
789
|
{
|
|
@@ -791,7 +808,7 @@
|
|
|
791
808
|
"props": [
|
|
792
809
|
{
|
|
793
810
|
"name": "datatable",
|
|
794
|
-
"type": "DataTableRootInstance",
|
|
811
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
795
812
|
"default": "",
|
|
796
813
|
"description": "The DataTable component instance."
|
|
797
814
|
}
|
|
@@ -868,7 +885,7 @@
|
|
|
868
885
|
},
|
|
869
886
|
{
|
|
870
887
|
"name": "side",
|
|
871
|
-
"type": "\"start\" | \"end\"",
|
|
888
|
+
"type": "null | \"start\" | \"end\"",
|
|
872
889
|
"default": "",
|
|
873
890
|
"description": "Which side of this target the drop would land on; `null` when inactive."
|
|
874
891
|
}
|
|
@@ -894,13 +911,13 @@
|
|
|
894
911
|
},
|
|
895
912
|
{
|
|
896
913
|
"name": "style",
|
|
897
|
-
"type": "CSSProperties | ((instance?: DataTableColumnReorderTargetInstance) => CSSProperties)",
|
|
914
|
+
"type": "CSSProperties | ((instance?: DataTableColumnReorderTargetInstance) => undefined | CSSProperties)",
|
|
898
915
|
"default": "",
|
|
899
916
|
"description": "The style to apply to the component."
|
|
900
917
|
},
|
|
901
918
|
{
|
|
902
919
|
"name": "className",
|
|
903
|
-
"type": "string | ((instance?: DataTableColumnReorderTargetInstance) => string)",
|
|
920
|
+
"type": "string | ((instance?: DataTableColumnReorderTargetInstance) => undefined | string)",
|
|
904
921
|
"default": "",
|
|
905
922
|
"description": "The class name to apply to the component."
|
|
906
923
|
},
|
|
@@ -991,7 +1008,7 @@
|
|
|
991
1008
|
},
|
|
992
1009
|
{
|
|
993
1010
|
"name": "side",
|
|
994
|
-
"type": "\"start\" | \"end\"",
|
|
1011
|
+
"type": "null | \"start\" | \"end\"",
|
|
995
1012
|
"default": ""
|
|
996
1013
|
}
|
|
997
1014
|
],
|
|
@@ -1003,7 +1020,7 @@
|
|
|
1003
1020
|
"props": [
|
|
1004
1021
|
{
|
|
1005
1022
|
"name": "datatable",
|
|
1006
|
-
"type": "DataTableRootInstance",
|
|
1023
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1007
1024
|
"default": ""
|
|
1008
1025
|
}
|
|
1009
1026
|
],
|
|
@@ -1061,13 +1078,13 @@
|
|
|
1061
1078
|
},
|
|
1062
1079
|
{
|
|
1063
1080
|
"name": "style",
|
|
1064
|
-
"type": "CSSProperties | ((instance?: DataTableColumnResizeIndicatorInstance) => CSSProperties)",
|
|
1081
|
+
"type": "CSSProperties | ((instance?: DataTableColumnResizeIndicatorInstance) => undefined | CSSProperties)",
|
|
1065
1082
|
"default": "",
|
|
1066
1083
|
"description": "The style to apply to the component."
|
|
1067
1084
|
},
|
|
1068
1085
|
{
|
|
1069
1086
|
"name": "className",
|
|
1070
|
-
"type": "string | ((instance?: DataTableColumnResizeIndicatorInstance) => string)",
|
|
1087
|
+
"type": "string | ((instance?: DataTableColumnResizeIndicatorInstance) => undefined | string)",
|
|
1071
1088
|
"default": "",
|
|
1072
1089
|
"description": "The class name to apply to the component."
|
|
1073
1090
|
},
|
|
@@ -1153,7 +1170,7 @@
|
|
|
1153
1170
|
"props": [
|
|
1154
1171
|
{
|
|
1155
1172
|
"name": "datatable",
|
|
1156
|
-
"type": "DataTableRootInstance",
|
|
1173
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1157
1174
|
"default": "",
|
|
1158
1175
|
"description": "The DataTable component instance."
|
|
1159
1176
|
}
|
|
@@ -1212,13 +1229,13 @@
|
|
|
1212
1229
|
},
|
|
1213
1230
|
{
|
|
1214
1231
|
"name": "style",
|
|
1215
|
-
"type": "CSSProperties | ((instance?: DataTableColumnResizerInstance) => CSSProperties)",
|
|
1232
|
+
"type": "CSSProperties | ((instance?: DataTableColumnResizerInstance) => undefined | CSSProperties)",
|
|
1216
1233
|
"default": "",
|
|
1217
1234
|
"description": "The style to apply to the component."
|
|
1218
1235
|
},
|
|
1219
1236
|
{
|
|
1220
1237
|
"name": "className",
|
|
1221
|
-
"type": "string | ((instance?: DataTableColumnResizerInstance) => string)",
|
|
1238
|
+
"type": "string | ((instance?: DataTableColumnResizerInstance) => undefined | string)",
|
|
1222
1239
|
"default": "",
|
|
1223
1240
|
"description": "The class name to apply to the component."
|
|
1224
1241
|
},
|
|
@@ -1310,7 +1327,7 @@
|
|
|
1310
1327
|
"props": [
|
|
1311
1328
|
{
|
|
1312
1329
|
"name": "datatable",
|
|
1313
|
-
"type": "DataTableRootInstance",
|
|
1330
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1314
1331
|
"default": "",
|
|
1315
1332
|
"description": "The DataTable component instance."
|
|
1316
1333
|
}
|
|
@@ -1385,13 +1402,13 @@
|
|
|
1385
1402
|
},
|
|
1386
1403
|
{
|
|
1387
1404
|
"name": "style",
|
|
1388
|
-
"type": "CSSProperties | ((instance?: DataTableColumnToggleInstance) => CSSProperties)",
|
|
1405
|
+
"type": "CSSProperties | ((instance?: DataTableColumnToggleInstance) => undefined | CSSProperties)",
|
|
1389
1406
|
"default": "",
|
|
1390
1407
|
"description": "The style to apply to the component."
|
|
1391
1408
|
},
|
|
1392
1409
|
{
|
|
1393
1410
|
"name": "className",
|
|
1394
|
-
"type": "string | ((instance?: DataTableColumnToggleInstance) => string)",
|
|
1411
|
+
"type": "string | ((instance?: DataTableColumnToggleInstance) => undefined | string)",
|
|
1395
1412
|
"default": "",
|
|
1396
1413
|
"description": "The class name to apply to the component."
|
|
1397
1414
|
},
|
|
@@ -1458,7 +1475,7 @@
|
|
|
1458
1475
|
{
|
|
1459
1476
|
"name": "columns",
|
|
1460
1477
|
"type": "DataTableColumnToggleColumn[]",
|
|
1461
|
-
"default": "",
|
|
1478
|
+
"default": "[]",
|
|
1462
1479
|
"description": "Available columns that can be toggled."
|
|
1463
1480
|
},
|
|
1464
1481
|
{
|
|
@@ -1501,7 +1518,7 @@
|
|
|
1501
1518
|
"props": [
|
|
1502
1519
|
{
|
|
1503
1520
|
"name": "datatable",
|
|
1504
|
-
"type": "DataTableRootInstance",
|
|
1521
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1505
1522
|
"default": ""
|
|
1506
1523
|
},
|
|
1507
1524
|
{
|
|
@@ -1595,13 +1612,13 @@
|
|
|
1595
1612
|
},
|
|
1596
1613
|
{
|
|
1597
1614
|
"name": "style",
|
|
1598
|
-
"type": "CSSProperties | ((instance?: DataTableEmptyTBodyInstance) => CSSProperties)",
|
|
1615
|
+
"type": "CSSProperties | ((instance?: DataTableEmptyTBodyInstance) => undefined | CSSProperties)",
|
|
1599
1616
|
"default": "",
|
|
1600
1617
|
"description": "The style to apply to the component."
|
|
1601
1618
|
},
|
|
1602
1619
|
{
|
|
1603
1620
|
"name": "className",
|
|
1604
|
-
"type": "string | ((instance?: DataTableEmptyTBodyInstance) => string)",
|
|
1621
|
+
"type": "string | ((instance?: DataTableEmptyTBodyInstance) => undefined | string)",
|
|
1605
1622
|
"default": "",
|
|
1606
1623
|
"description": "The class name to apply to the component."
|
|
1607
1624
|
},
|
|
@@ -1687,7 +1704,7 @@
|
|
|
1687
1704
|
"props": [
|
|
1688
1705
|
{
|
|
1689
1706
|
"name": "datatable",
|
|
1690
|
-
"type": "DataTableRootInstance",
|
|
1707
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1691
1708
|
"default": "",
|
|
1692
1709
|
"description": "The DataTable component instance."
|
|
1693
1710
|
}
|
|
@@ -1745,19 +1762,19 @@
|
|
|
1745
1762
|
},
|
|
1746
1763
|
{
|
|
1747
1764
|
"name": "style",
|
|
1748
|
-
"type": "CSSProperties | ((instance?: DataTableExportInstance) => CSSProperties)",
|
|
1765
|
+
"type": "CSSProperties | ((instance?: DataTableExportInstance) => undefined | CSSProperties)",
|
|
1749
1766
|
"default": "",
|
|
1750
1767
|
"description": "The style to apply to the component."
|
|
1751
1768
|
},
|
|
1752
1769
|
{
|
|
1753
1770
|
"name": "className",
|
|
1754
|
-
"type": "string | ((instance?: DataTableExportInstance) => string)",
|
|
1771
|
+
"type": "string | ((instance?: DataTableExportInstance) => undefined | string)",
|
|
1755
1772
|
"default": "",
|
|
1756
1773
|
"description": "The class name to apply to the component."
|
|
1757
1774
|
},
|
|
1758
1775
|
{
|
|
1759
1776
|
"name": "as",
|
|
1760
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
1777
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
1761
1778
|
"default": "",
|
|
1762
1779
|
"description": "The component type to render."
|
|
1763
1780
|
},
|
|
@@ -1872,7 +1889,7 @@
|
|
|
1872
1889
|
"props": [
|
|
1873
1890
|
{
|
|
1874
1891
|
"name": "datatable",
|
|
1875
|
-
"type": "DataTableRootInstance",
|
|
1892
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
1876
1893
|
"default": ""
|
|
1877
1894
|
}
|
|
1878
1895
|
],
|
|
@@ -1929,13 +1946,13 @@
|
|
|
1929
1946
|
},
|
|
1930
1947
|
{
|
|
1931
1948
|
"name": "style",
|
|
1932
|
-
"type": "CSSProperties | ((instance?: DataTableFilterInstance) => CSSProperties)",
|
|
1949
|
+
"type": "CSSProperties | ((instance?: DataTableFilterInstance) => undefined | CSSProperties)",
|
|
1933
1950
|
"default": "",
|
|
1934
1951
|
"description": "The style to apply to the component."
|
|
1935
1952
|
},
|
|
1936
1953
|
{
|
|
1937
1954
|
"name": "className",
|
|
1938
|
-
"type": "string | ((instance?: DataTableFilterInstance) => string)",
|
|
1955
|
+
"type": "string | ((instance?: DataTableFilterInstance) => undefined | string)",
|
|
1939
1956
|
"default": "",
|
|
1940
1957
|
"description": "The class name to apply to the component."
|
|
1941
1958
|
},
|
|
@@ -2002,7 +2019,7 @@
|
|
|
2002
2019
|
{
|
|
2003
2020
|
"name": "field",
|
|
2004
2021
|
"type": "string",
|
|
2005
|
-
"default": "",
|
|
2022
|
+
"default": "''",
|
|
2006
2023
|
"description": "The field name to filter."
|
|
2007
2024
|
},
|
|
2008
2025
|
{
|
|
@@ -2098,7 +2115,7 @@
|
|
|
2098
2115
|
"props": [
|
|
2099
2116
|
{
|
|
2100
2117
|
"name": "datatable",
|
|
2101
|
-
"type": "DataTableRootInstance",
|
|
2118
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
2102
2119
|
"default": "",
|
|
2103
2120
|
"description": "The DataTable root instance."
|
|
2104
2121
|
},
|
|
@@ -2311,19 +2328,19 @@
|
|
|
2311
2328
|
},
|
|
2312
2329
|
{
|
|
2313
2330
|
"name": "style",
|
|
2314
|
-
"type": "CSSProperties | ((instance?: DataTableFooterInstance) => CSSProperties)",
|
|
2331
|
+
"type": "CSSProperties | ((instance?: DataTableFooterInstance) => undefined | CSSProperties)",
|
|
2315
2332
|
"default": "",
|
|
2316
2333
|
"description": "The style to apply to the component."
|
|
2317
2334
|
},
|
|
2318
2335
|
{
|
|
2319
2336
|
"name": "className",
|
|
2320
|
-
"type": "string | ((instance?: DataTableFooterInstance) => string)",
|
|
2337
|
+
"type": "string | ((instance?: DataTableFooterInstance) => undefined | string)",
|
|
2321
2338
|
"default": "",
|
|
2322
2339
|
"description": "The class name to apply to the component."
|
|
2323
2340
|
},
|
|
2324
2341
|
{
|
|
2325
2342
|
"name": "as",
|
|
2326
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2343
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2327
2344
|
"default": "",
|
|
2328
2345
|
"description": "The component type to render."
|
|
2329
2346
|
},
|
|
@@ -2408,7 +2425,7 @@
|
|
|
2408
2425
|
"props": [
|
|
2409
2426
|
{
|
|
2410
2427
|
"name": "datatable",
|
|
2411
|
-
"type": "DataTableRootInstance",
|
|
2428
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
2412
2429
|
"default": "",
|
|
2413
2430
|
"description": "The DataTable component instance."
|
|
2414
2431
|
}
|
|
@@ -2467,13 +2484,13 @@
|
|
|
2467
2484
|
},
|
|
2468
2485
|
{
|
|
2469
2486
|
"name": "style",
|
|
2470
|
-
"type": "CSSProperties | ((instance?: DataTableFrozenTBodyInstance) => CSSProperties)",
|
|
2487
|
+
"type": "CSSProperties | ((instance?: DataTableFrozenTBodyInstance) => undefined | CSSProperties)",
|
|
2471
2488
|
"default": "",
|
|
2472
2489
|
"description": "The style to apply to the component."
|
|
2473
2490
|
},
|
|
2474
2491
|
{
|
|
2475
2492
|
"name": "className",
|
|
2476
|
-
"type": "string | ((instance?: DataTableFrozenTBodyInstance) => string)",
|
|
2493
|
+
"type": "string | ((instance?: DataTableFrozenTBodyInstance) => undefined | string)",
|
|
2477
2494
|
"default": "",
|
|
2478
2495
|
"description": "The class name to apply to the component."
|
|
2479
2496
|
},
|
|
@@ -2559,7 +2576,7 @@
|
|
|
2559
2576
|
"props": [
|
|
2560
2577
|
{
|
|
2561
2578
|
"name": "datatable",
|
|
2562
|
-
"type": "DataTableRootInstance",
|
|
2579
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
2563
2580
|
"default": "",
|
|
2564
2581
|
"description": "The DataTable component instance."
|
|
2565
2582
|
}
|
|
@@ -2618,19 +2635,19 @@
|
|
|
2618
2635
|
},
|
|
2619
2636
|
{
|
|
2620
2637
|
"name": "style",
|
|
2621
|
-
"type": "CSSProperties | ((instance?: DataTableHeaderInstance) => CSSProperties)",
|
|
2638
|
+
"type": "CSSProperties | ((instance?: DataTableHeaderInstance) => undefined | CSSProperties)",
|
|
2622
2639
|
"default": "",
|
|
2623
2640
|
"description": "The style to apply to the component."
|
|
2624
2641
|
},
|
|
2625
2642
|
{
|
|
2626
2643
|
"name": "className",
|
|
2627
|
-
"type": "string | ((instance?: DataTableHeaderInstance) => string)",
|
|
2644
|
+
"type": "string | ((instance?: DataTableHeaderInstance) => undefined | string)",
|
|
2628
2645
|
"default": "",
|
|
2629
2646
|
"description": "The class name to apply to the component."
|
|
2630
2647
|
},
|
|
2631
2648
|
{
|
|
2632
2649
|
"name": "as",
|
|
2633
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2650
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2634
2651
|
"default": "",
|
|
2635
2652
|
"description": "The component type to render."
|
|
2636
2653
|
},
|
|
@@ -2715,7 +2732,7 @@
|
|
|
2715
2732
|
"props": [
|
|
2716
2733
|
{
|
|
2717
2734
|
"name": "datatable",
|
|
2718
|
-
"type": "DataTableRootInstance",
|
|
2735
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
2719
2736
|
"default": "",
|
|
2720
2737
|
"description": "The DataTable component instance."
|
|
2721
2738
|
}
|
|
@@ -2774,19 +2791,19 @@
|
|
|
2774
2791
|
},
|
|
2775
2792
|
{
|
|
2776
2793
|
"name": "style",
|
|
2777
|
-
"type": "CSSProperties | ((instance?: DataTableLoadingInstance) => CSSProperties)",
|
|
2794
|
+
"type": "CSSProperties | ((instance?: DataTableLoadingInstance) => undefined | CSSProperties)",
|
|
2778
2795
|
"default": "",
|
|
2779
2796
|
"description": "The style to apply to the component."
|
|
2780
2797
|
},
|
|
2781
2798
|
{
|
|
2782
2799
|
"name": "className",
|
|
2783
|
-
"type": "string | ((instance?: DataTableLoadingInstance) => string)",
|
|
2800
|
+
"type": "string | ((instance?: DataTableLoadingInstance) => undefined | string)",
|
|
2784
2801
|
"default": "",
|
|
2785
2802
|
"description": "The class name to apply to the component."
|
|
2786
2803
|
},
|
|
2787
2804
|
{
|
|
2788
2805
|
"name": "as",
|
|
2789
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2806
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2790
2807
|
"default": "",
|
|
2791
2808
|
"description": "The component type to render."
|
|
2792
2809
|
},
|
|
@@ -2871,7 +2888,7 @@
|
|
|
2871
2888
|
"props": [
|
|
2872
2889
|
{
|
|
2873
2890
|
"name": "datatable",
|
|
2874
|
-
"type": "DataTableRootInstance",
|
|
2891
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
2875
2892
|
"default": "",
|
|
2876
2893
|
"description": "The DataTable component instance."
|
|
2877
2894
|
}
|
|
@@ -2930,19 +2947,19 @@
|
|
|
2930
2947
|
},
|
|
2931
2948
|
{
|
|
2932
2949
|
"name": "style",
|
|
2933
|
-
"type": "CSSProperties | ((instance?: DataTablePaginationInstance) => CSSProperties)",
|
|
2950
|
+
"type": "CSSProperties | ((instance?: DataTablePaginationInstance) => undefined | CSSProperties)",
|
|
2934
2951
|
"default": "",
|
|
2935
2952
|
"description": "The style to apply to the component."
|
|
2936
2953
|
},
|
|
2937
2954
|
{
|
|
2938
2955
|
"name": "className",
|
|
2939
|
-
"type": "string | ((instance?: DataTablePaginationInstance) => string)",
|
|
2956
|
+
"type": "string | ((instance?: DataTablePaginationInstance) => undefined | string)",
|
|
2940
2957
|
"default": "",
|
|
2941
2958
|
"description": "The class name to apply to the component."
|
|
2942
2959
|
},
|
|
2943
2960
|
{
|
|
2944
2961
|
"name": "as",
|
|
2945
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2962
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2946
2963
|
"default": "",
|
|
2947
2964
|
"description": "The component type to render."
|
|
2948
2965
|
},
|
|
@@ -3027,7 +3044,7 @@
|
|
|
3027
3044
|
"props": [
|
|
3028
3045
|
{
|
|
3029
3046
|
"name": "datatable",
|
|
3030
|
-
"type": "DataTableRootInstance",
|
|
3047
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
3031
3048
|
"default": "",
|
|
3032
3049
|
"description": "The DataTable component instance."
|
|
3033
3050
|
},
|
|
@@ -3356,19 +3373,19 @@
|
|
|
3356
3373
|
},
|
|
3357
3374
|
{
|
|
3358
3375
|
"name": "style",
|
|
3359
|
-
"type": "CSSProperties | ((instance?: DataTableRootInstance) => CSSProperties)",
|
|
3376
|
+
"type": "CSSProperties | ((instance?: DataTableRootInstance) => undefined | CSSProperties)",
|
|
3360
3377
|
"default": "",
|
|
3361
3378
|
"description": "The style to apply to the component."
|
|
3362
3379
|
},
|
|
3363
3380
|
{
|
|
3364
3381
|
"name": "className",
|
|
3365
|
-
"type": "string | ((instance?: DataTableRootInstance) => string)",
|
|
3382
|
+
"type": "string | ((instance?: DataTableRootInstance) => undefined | string)",
|
|
3366
3383
|
"default": "",
|
|
3367
3384
|
"description": "The class name to apply to the component."
|
|
3368
3385
|
},
|
|
3369
3386
|
{
|
|
3370
3387
|
"name": "as",
|
|
3371
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
3388
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
3372
3389
|
"default": "",
|
|
3373
3390
|
"description": "The component type to render."
|
|
3374
3391
|
},
|
|
@@ -3428,25 +3445,25 @@
|
|
|
3428
3445
|
},
|
|
3429
3446
|
{
|
|
3430
3447
|
"name": "data",
|
|
3431
|
-
"type": "Record<string, unknown>[] | object[]",
|
|
3448
|
+
"type": "null | Record<string, unknown>[] | object[]",
|
|
3432
3449
|
"default": "null",
|
|
3433
3450
|
"description": "An array of objects to display."
|
|
3434
3451
|
},
|
|
3435
3452
|
{
|
|
3436
3453
|
"name": "defaultValue",
|
|
3437
|
-
"type": "string",
|
|
3454
|
+
"type": "null | string",
|
|
3438
3455
|
"default": "null",
|
|
3439
3456
|
"description": "Default sort value for uncontrolled mode."
|
|
3440
3457
|
},
|
|
3441
3458
|
{
|
|
3442
3459
|
"name": "value",
|
|
3443
|
-
"type": "string",
|
|
3460
|
+
"type": "null | string",
|
|
3444
3461
|
"default": "null",
|
|
3445
3462
|
"description": "Sort field value for controlled mode."
|
|
3446
3463
|
},
|
|
3447
3464
|
{
|
|
3448
3465
|
"name": "dataKey",
|
|
3449
|
-
"type": "string",
|
|
3466
|
+
"type": "null | string",
|
|
3450
3467
|
"default": "null",
|
|
3451
3468
|
"description": "A property to uniquely identify each row in the data."
|
|
3452
3469
|
},
|
|
@@ -3476,7 +3493,7 @@
|
|
|
3476
3493
|
},
|
|
3477
3494
|
{
|
|
3478
3495
|
"name": "scrollHeight",
|
|
3479
|
-
"type": "string",
|
|
3496
|
+
"type": "null | string",
|
|
3480
3497
|
"default": "null",
|
|
3481
3498
|
"description": "Height of the scroll viewport in fixed pixels or the \"flex\" keyword for a dynamic size."
|
|
3482
3499
|
},
|
|
@@ -3536,7 +3553,7 @@
|
|
|
3536
3553
|
},
|
|
3537
3554
|
{
|
|
3538
3555
|
"name": "selectionMode",
|
|
3539
|
-
"type": "\"multiple\" | \"single\"",
|
|
3556
|
+
"type": "null | \"multiple\" | \"single\"",
|
|
3540
3557
|
"default": "null",
|
|
3541
3558
|
"description": "Defines the selection mode. 'single' allows one row, 'multiple' allows many."
|
|
3542
3559
|
},
|
|
@@ -3748,7 +3765,7 @@
|
|
|
3748
3765
|
},
|
|
3749
3766
|
{
|
|
3750
3767
|
"name": "globalFilter",
|
|
3751
|
-
"type": "string",
|
|
3768
|
+
"type": "null | string",
|
|
3752
3769
|
"default": "null",
|
|
3753
3770
|
"description": "Global filter value applied across globalFilterFields."
|
|
3754
3771
|
},
|
|
@@ -3784,7 +3801,7 @@
|
|
|
3784
3801
|
},
|
|
3785
3802
|
{
|
|
3786
3803
|
"name": "rowClassName",
|
|
3787
|
-
"type": "(data: Record<string, unknown>, options: { index: number; props: UseDataTableProps }) => string",
|
|
3804
|
+
"type": "(data: Record<string, unknown>, options: { index: number; props: UseDataTableProps }) => undefined | string",
|
|
3788
3805
|
"default": "",
|
|
3789
3806
|
"description": "A function that returns a className for a given row."
|
|
3790
3807
|
},
|
|
@@ -3960,7 +3977,7 @@
|
|
|
3960
3977
|
},
|
|
3961
3978
|
{
|
|
3962
3979
|
"name": "editingCell",
|
|
3963
|
-
"type": "{ rowIndex: number; field: string; rowKey?: string | number }",
|
|
3980
|
+
"type": "null | { rowIndex: number; field: string; rowKey?: string | number }",
|
|
3964
3981
|
"default": "",
|
|
3965
3982
|
"description": "The currently editing cell, if any."
|
|
3966
3983
|
},
|
|
@@ -3972,7 +3989,7 @@
|
|
|
3972
3989
|
},
|
|
3973
3990
|
{
|
|
3974
3991
|
"name": "globalFilter",
|
|
3975
|
-
"type": "string",
|
|
3992
|
+
"type": "null | string",
|
|
3976
3993
|
"default": "",
|
|
3977
3994
|
"description": "The current global filter value."
|
|
3978
3995
|
}
|
|
@@ -4076,7 +4093,7 @@
|
|
|
4076
4093
|
},
|
|
4077
4094
|
{
|
|
4078
4095
|
"name": "keyboard",
|
|
4079
|
-
"type": "{ getRowTabIndex: (index: number) => number; onRowKeyDown: (event: KeyboardEvent<HTMLTableRowElement>, index: number) => void; focusRow: (tbody: HTMLElement, index: number) => void }",
|
|
4096
|
+
"type": "{ getRowTabIndex: (index: number) => number; onRowKeyDown: (event: KeyboardEvent<HTMLTableRowElement>, index: number) => void; focusRow: (tbody: null | HTMLElement, index: number) => void }",
|
|
4080
4097
|
"default": "",
|
|
4081
4098
|
"description": "Keyboard navigation methods."
|
|
4082
4099
|
}
|
|
@@ -4135,13 +4152,13 @@
|
|
|
4135
4152
|
},
|
|
4136
4153
|
{
|
|
4137
4154
|
"name": "style",
|
|
4138
|
-
"type": "CSSProperties | ((instance?: DataTableRowInstance) => CSSProperties)",
|
|
4155
|
+
"type": "CSSProperties | ((instance?: DataTableRowInstance) => undefined | CSSProperties)",
|
|
4139
4156
|
"default": "",
|
|
4140
4157
|
"description": "The style to apply to the component."
|
|
4141
4158
|
},
|
|
4142
4159
|
{
|
|
4143
4160
|
"name": "className",
|
|
4144
|
-
"type": "string | ((instance?: DataTableRowInstance) => string)",
|
|
4161
|
+
"type": "string | ((instance?: DataTableRowInstance) => undefined | string)",
|
|
4145
4162
|
"default": "",
|
|
4146
4163
|
"description": "The class name to apply to the component."
|
|
4147
4164
|
},
|
|
@@ -4233,7 +4250,7 @@
|
|
|
4233
4250
|
"props": [
|
|
4234
4251
|
{
|
|
4235
4252
|
"name": "datatable",
|
|
4236
|
-
"type": "DataTableRootInstance",
|
|
4253
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
4237
4254
|
"default": "",
|
|
4238
4255
|
"description": "The DataTable component instance."
|
|
4239
4256
|
}
|
|
@@ -4318,13 +4335,13 @@
|
|
|
4318
4335
|
},
|
|
4319
4336
|
{
|
|
4320
4337
|
"name": "style",
|
|
4321
|
-
"type": "CSSProperties | ((instance?: DataTableRowEditorInstance) => CSSProperties)",
|
|
4338
|
+
"type": "CSSProperties | ((instance?: DataTableRowEditorInstance) => undefined | CSSProperties)",
|
|
4322
4339
|
"default": "",
|
|
4323
4340
|
"description": "The style to apply to the component."
|
|
4324
4341
|
},
|
|
4325
4342
|
{
|
|
4326
4343
|
"name": "className",
|
|
4327
|
-
"type": "string | ((instance?: DataTableRowEditorInstance) => string)",
|
|
4344
|
+
"type": "string | ((instance?: DataTableRowEditorInstance) => undefined | string)",
|
|
4328
4345
|
"default": "",
|
|
4329
4346
|
"description": "The class name to apply to the component."
|
|
4330
4347
|
},
|
|
@@ -4391,12 +4408,12 @@
|
|
|
4391
4408
|
{
|
|
4392
4409
|
"name": "rowKey",
|
|
4393
4410
|
"type": "string | number",
|
|
4394
|
-
"default": "",
|
|
4411
|
+
"default": "''",
|
|
4395
4412
|
"description": "Row key used for editing state tracking."
|
|
4396
4413
|
},
|
|
4397
4414
|
{
|
|
4398
4415
|
"name": "rowData",
|
|
4399
|
-
"type": "
|
|
4416
|
+
"type": "T",
|
|
4400
4417
|
"default": "",
|
|
4401
4418
|
"description": "The row data — forwarded to `onRowEditInit` / `onRowEditSave` / `onRowEditCancel` events so\nthe handler can identify the affected row without a separate lookup."
|
|
4402
4419
|
},
|
|
@@ -4435,7 +4452,7 @@
|
|
|
4435
4452
|
"props": [
|
|
4436
4453
|
{
|
|
4437
4454
|
"name": "datatable",
|
|
4438
|
-
"type": "DataTableRootInstance",
|
|
4455
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
4439
4456
|
"default": "",
|
|
4440
4457
|
"description": "The DataTable component instance."
|
|
4441
4458
|
},
|
|
@@ -4466,13 +4483,13 @@
|
|
|
4466
4483
|
},
|
|
4467
4484
|
{
|
|
4468
4485
|
"name": "initRef",
|
|
4469
|
-
"type": "MutableRefObject<HTMLElement>",
|
|
4486
|
+
"type": "MutableRefObject<null | HTMLElement>",
|
|
4470
4487
|
"default": "",
|
|
4471
4488
|
"description": "Ref slot the Init button registers its DOM node with. RowEditor uses it to restore focus\nwhen the row leaves edit mode."
|
|
4472
4489
|
},
|
|
4473
4490
|
{
|
|
4474
4491
|
"name": "saveRef",
|
|
4475
|
-
"type": "MutableRefObject<HTMLElement>",
|
|
4492
|
+
"type": "MutableRefObject<null | HTMLElement>",
|
|
4476
4493
|
"default": "",
|
|
4477
4494
|
"description": "Ref slot the Save button registers its DOM node with. RowEditor uses it to move focus\nwhen the row enters edit mode."
|
|
4478
4495
|
},
|
|
@@ -4496,6 +4513,23 @@
|
|
|
4496
4513
|
}
|
|
4497
4514
|
],
|
|
4498
4515
|
"methods": []
|
|
4516
|
+
},
|
|
4517
|
+
"DataTableRowEditorComponent": {
|
|
4518
|
+
"description": "The DataTableRowEditor component.\n\n `T` is the row shape and is inferred from the `rowData` prop, so the editor stays tied to the\nconsumer's domain type instead of widening it to an open record. The signature is declared here\nbecause the component factory produces a value, and a value's type cannot carry an unbound type\nparameter.",
|
|
4519
|
+
"relatedProp": "",
|
|
4520
|
+
"props": [
|
|
4521
|
+
{
|
|
4522
|
+
"name": "displayName",
|
|
4523
|
+
"type": "string",
|
|
4524
|
+
"default": ""
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
"name": "[props: DataTableRowEditorProps<T>]",
|
|
4528
|
+
"type": "null | ReactElement<unknown, string | JSXElementConstructor<any>>",
|
|
4529
|
+
"description": ""
|
|
4530
|
+
}
|
|
4531
|
+
],
|
|
4532
|
+
"methods": []
|
|
4499
4533
|
}
|
|
4500
4534
|
},
|
|
4501
4535
|
"types": {
|
|
@@ -4548,19 +4582,19 @@
|
|
|
4548
4582
|
},
|
|
4549
4583
|
{
|
|
4550
4584
|
"name": "style",
|
|
4551
|
-
"type": "CSSProperties | ((instance?: DataTableRowEditorCancelInstance) => CSSProperties)",
|
|
4585
|
+
"type": "CSSProperties | ((instance?: DataTableRowEditorCancelInstance) => undefined | CSSProperties)",
|
|
4552
4586
|
"default": "",
|
|
4553
4587
|
"description": "The style to apply to the component."
|
|
4554
4588
|
},
|
|
4555
4589
|
{
|
|
4556
4590
|
"name": "className",
|
|
4557
|
-
"type": "string | ((instance?: DataTableRowEditorCancelInstance) => string)",
|
|
4591
|
+
"type": "string | ((instance?: DataTableRowEditorCancelInstance) => undefined | string)",
|
|
4558
4592
|
"default": "",
|
|
4559
4593
|
"description": "The class name to apply to the component."
|
|
4560
4594
|
},
|
|
4561
4595
|
{
|
|
4562
4596
|
"name": "as",
|
|
4563
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4597
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4564
4598
|
"default": "",
|
|
4565
4599
|
"description": "The component type to render."
|
|
4566
4600
|
},
|
|
@@ -4645,7 +4679,7 @@
|
|
|
4645
4679
|
"props": [
|
|
4646
4680
|
{
|
|
4647
4681
|
"name": "datatable",
|
|
4648
|
-
"type": "DataTableRootInstance",
|
|
4682
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
4649
4683
|
"default": ""
|
|
4650
4684
|
}
|
|
4651
4685
|
],
|
|
@@ -4702,19 +4736,19 @@
|
|
|
4702
4736
|
},
|
|
4703
4737
|
{
|
|
4704
4738
|
"name": "style",
|
|
4705
|
-
"type": "CSSProperties | ((instance?: DataTableRowEditorInitInstance) => CSSProperties)",
|
|
4739
|
+
"type": "CSSProperties | ((instance?: DataTableRowEditorInitInstance) => undefined | CSSProperties)",
|
|
4706
4740
|
"default": "",
|
|
4707
4741
|
"description": "The style to apply to the component."
|
|
4708
4742
|
},
|
|
4709
4743
|
{
|
|
4710
4744
|
"name": "className",
|
|
4711
|
-
"type": "string | ((instance?: DataTableRowEditorInitInstance) => string)",
|
|
4745
|
+
"type": "string | ((instance?: DataTableRowEditorInitInstance) => undefined | string)",
|
|
4712
4746
|
"default": "",
|
|
4713
4747
|
"description": "The class name to apply to the component."
|
|
4714
4748
|
},
|
|
4715
4749
|
{
|
|
4716
4750
|
"name": "as",
|
|
4717
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4751
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4718
4752
|
"default": "",
|
|
4719
4753
|
"description": "The component type to render."
|
|
4720
4754
|
},
|
|
@@ -4799,7 +4833,7 @@
|
|
|
4799
4833
|
"props": [
|
|
4800
4834
|
{
|
|
4801
4835
|
"name": "datatable",
|
|
4802
|
-
"type": "DataTableRootInstance",
|
|
4836
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
4803
4837
|
"default": ""
|
|
4804
4838
|
}
|
|
4805
4839
|
],
|
|
@@ -4856,19 +4890,19 @@
|
|
|
4856
4890
|
},
|
|
4857
4891
|
{
|
|
4858
4892
|
"name": "style",
|
|
4859
|
-
"type": "CSSProperties | ((instance?: DataTableRowEditorSaveInstance) => CSSProperties)",
|
|
4893
|
+
"type": "CSSProperties | ((instance?: DataTableRowEditorSaveInstance) => undefined | CSSProperties)",
|
|
4860
4894
|
"default": "",
|
|
4861
4895
|
"description": "The style to apply to the component."
|
|
4862
4896
|
},
|
|
4863
4897
|
{
|
|
4864
4898
|
"name": "className",
|
|
4865
|
-
"type": "string | ((instance?: DataTableRowEditorSaveInstance) => string)",
|
|
4899
|
+
"type": "string | ((instance?: DataTableRowEditorSaveInstance) => undefined | string)",
|
|
4866
4900
|
"default": "",
|
|
4867
4901
|
"description": "The class name to apply to the component."
|
|
4868
4902
|
},
|
|
4869
4903
|
{
|
|
4870
4904
|
"name": "as",
|
|
4871
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4905
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
4872
4906
|
"default": "",
|
|
4873
4907
|
"description": "The component type to render."
|
|
4874
4908
|
},
|
|
@@ -4953,7 +4987,7 @@
|
|
|
4953
4987
|
"props": [
|
|
4954
4988
|
{
|
|
4955
4989
|
"name": "datatable",
|
|
4956
|
-
"type": "DataTableRootInstance",
|
|
4990
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
4957
4991
|
"default": ""
|
|
4958
4992
|
}
|
|
4959
4993
|
],
|
|
@@ -5011,13 +5045,13 @@
|
|
|
5011
5045
|
},
|
|
5012
5046
|
{
|
|
5013
5047
|
"name": "style",
|
|
5014
|
-
"type": "CSSProperties | ((instance?: DataTableRowExpansionInstance) => CSSProperties)",
|
|
5048
|
+
"type": "CSSProperties | ((instance?: DataTableRowExpansionInstance) => undefined | CSSProperties)",
|
|
5015
5049
|
"default": "",
|
|
5016
5050
|
"description": "The style to apply to the component."
|
|
5017
5051
|
},
|
|
5018
5052
|
{
|
|
5019
5053
|
"name": "className",
|
|
5020
|
-
"type": "string | ((instance?: DataTableRowExpansionInstance) => string)",
|
|
5054
|
+
"type": "string | ((instance?: DataTableRowExpansionInstance) => undefined | string)",
|
|
5021
5055
|
"default": "",
|
|
5022
5056
|
"description": "The class name to apply to the component."
|
|
5023
5057
|
},
|
|
@@ -5103,13 +5137,13 @@
|
|
|
5103
5137
|
"props": [
|
|
5104
5138
|
{
|
|
5105
5139
|
"name": "datatable",
|
|
5106
|
-
"type": "DataTableRootInstance",
|
|
5140
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
5107
5141
|
"default": "",
|
|
5108
5142
|
"description": "The DataTable component instance."
|
|
5109
5143
|
},
|
|
5110
5144
|
{
|
|
5111
5145
|
"name": "row",
|
|
5112
|
-
"type": "DataTableRowInstance",
|
|
5146
|
+
"type": "undefined | null | DataTableRowInstance",
|
|
5113
5147
|
"default": "",
|
|
5114
5148
|
"description": "The DataTableRow component instance."
|
|
5115
5149
|
}
|
|
@@ -5167,13 +5201,13 @@
|
|
|
5167
5201
|
},
|
|
5168
5202
|
{
|
|
5169
5203
|
"name": "style",
|
|
5170
|
-
"type": "CSSProperties | ((instance?: DataTableRowReorderInstance) => CSSProperties)",
|
|
5204
|
+
"type": "CSSProperties | ((instance?: DataTableRowReorderInstance) => undefined | CSSProperties)",
|
|
5171
5205
|
"default": "",
|
|
5172
5206
|
"description": "The style to apply to the component."
|
|
5173
5207
|
},
|
|
5174
5208
|
{
|
|
5175
5209
|
"name": "className",
|
|
5176
|
-
"type": "string | ((instance?: DataTableRowReorderInstance) => string)",
|
|
5210
|
+
"type": "string | ((instance?: DataTableRowReorderInstance) => undefined | string)",
|
|
5177
5211
|
"default": "",
|
|
5178
5212
|
"description": "The class name to apply to the component."
|
|
5179
5213
|
},
|
|
@@ -5240,7 +5274,7 @@
|
|
|
5240
5274
|
{
|
|
5241
5275
|
"name": "rowIndex",
|
|
5242
5276
|
"type": "number",
|
|
5243
|
-
"default": "",
|
|
5277
|
+
"default": "0",
|
|
5244
5278
|
"description": "Index of the row for reordering."
|
|
5245
5279
|
},
|
|
5246
5280
|
{
|
|
@@ -5265,7 +5299,7 @@
|
|
|
5265
5299
|
"props": [
|
|
5266
5300
|
{
|
|
5267
5301
|
"name": "datatable",
|
|
5268
|
-
"type": "DataTableRootInstance",
|
|
5302
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
5269
5303
|
"default": ""
|
|
5270
5304
|
}
|
|
5271
5305
|
],
|
|
@@ -5355,19 +5389,19 @@
|
|
|
5355
5389
|
},
|
|
5356
5390
|
{
|
|
5357
5391
|
"name": "style",
|
|
5358
|
-
"type": "CSSProperties | ((instance?: DataTableRowToggleInstance) => CSSProperties)",
|
|
5392
|
+
"type": "CSSProperties | ((instance?: DataTableRowToggleInstance) => undefined | CSSProperties)",
|
|
5359
5393
|
"default": "",
|
|
5360
5394
|
"description": "The style to apply to the component."
|
|
5361
5395
|
},
|
|
5362
5396
|
{
|
|
5363
5397
|
"name": "className",
|
|
5364
|
-
"type": "string | ((instance?: DataTableRowToggleInstance) => string)",
|
|
5398
|
+
"type": "string | ((instance?: DataTableRowToggleInstance) => undefined | string)",
|
|
5365
5399
|
"default": "",
|
|
5366
5400
|
"description": "The class name to apply to the component."
|
|
5367
5401
|
},
|
|
5368
5402
|
{
|
|
5369
5403
|
"name": "as",
|
|
5370
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5404
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5371
5405
|
"default": "",
|
|
5372
5406
|
"description": "The component type to render."
|
|
5373
5407
|
},
|
|
@@ -5452,13 +5486,13 @@
|
|
|
5452
5486
|
"props": [
|
|
5453
5487
|
{
|
|
5454
5488
|
"name": "datatable",
|
|
5455
|
-
"type": "DataTableRootInstance",
|
|
5489
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
5456
5490
|
"default": "",
|
|
5457
5491
|
"description": "The DataTable component instance."
|
|
5458
5492
|
},
|
|
5459
5493
|
{
|
|
5460
5494
|
"name": "row",
|
|
5461
|
-
"type": "DataTableRowInstance",
|
|
5495
|
+
"type": "undefined | null | DataTableRowInstance",
|
|
5462
5496
|
"default": "",
|
|
5463
5497
|
"description": "The DataTableRow component instance."
|
|
5464
5498
|
}
|
|
@@ -5517,13 +5551,13 @@
|
|
|
5517
5551
|
},
|
|
5518
5552
|
{
|
|
5519
5553
|
"name": "style",
|
|
5520
|
-
"type": "CSSProperties | ((instance?: DataTableRowToggleIndicatorInstance) => CSSProperties)",
|
|
5554
|
+
"type": "CSSProperties | ((instance?: DataTableRowToggleIndicatorInstance) => undefined | CSSProperties)",
|
|
5521
5555
|
"default": "",
|
|
5522
5556
|
"description": "The style to apply to the component."
|
|
5523
5557
|
},
|
|
5524
5558
|
{
|
|
5525
5559
|
"name": "className",
|
|
5526
|
-
"type": "string | ((instance?: DataTableRowToggleIndicatorInstance) => string)",
|
|
5560
|
+
"type": "string | ((instance?: DataTableRowToggleIndicatorInstance) => undefined | string)",
|
|
5527
5561
|
"default": "",
|
|
5528
5562
|
"description": "The class name to apply to the component."
|
|
5529
5563
|
},
|
|
@@ -5590,7 +5624,7 @@
|
|
|
5590
5624
|
{
|
|
5591
5625
|
"name": "match",
|
|
5592
5626
|
"type": "\"always\" | \"expanded\" | \"collapsed\"",
|
|
5593
|
-
"default": "",
|
|
5627
|
+
"default": "'always'",
|
|
5594
5628
|
"description": "Determines the visibility of the indicator based on the toggle state.\n- \"expanded\": Visible when the row is expanded.\n- \"collapsed\": Visible when the row is collapsed.\n- \"always\": Indicator is always visible."
|
|
5595
5629
|
},
|
|
5596
5630
|
{
|
|
@@ -5615,7 +5649,7 @@
|
|
|
5615
5649
|
"props": [
|
|
5616
5650
|
{
|
|
5617
5651
|
"name": "datatable",
|
|
5618
|
-
"type": "DataTableRootInstance",
|
|
5652
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
5619
5653
|
"default": "",
|
|
5620
5654
|
"description": "The DataTable component instance."
|
|
5621
5655
|
}
|
|
@@ -5674,19 +5708,19 @@
|
|
|
5674
5708
|
},
|
|
5675
5709
|
{
|
|
5676
5710
|
"name": "style",
|
|
5677
|
-
"type": "CSSProperties | ((instance?: DataTableSelectionInstance) => CSSProperties)",
|
|
5711
|
+
"type": "CSSProperties | ((instance?: DataTableSelectionInstance) => undefined | CSSProperties)",
|
|
5678
5712
|
"default": "",
|
|
5679
5713
|
"description": "The style to apply to the component."
|
|
5680
5714
|
},
|
|
5681
5715
|
{
|
|
5682
5716
|
"name": "className",
|
|
5683
|
-
"type": "string | ((instance?: DataTableSelectionInstance) => string)",
|
|
5717
|
+
"type": "string | ((instance?: DataTableSelectionInstance) => undefined | string)",
|
|
5684
5718
|
"default": "",
|
|
5685
5719
|
"description": "The class name to apply to the component."
|
|
5686
5720
|
},
|
|
5687
5721
|
{
|
|
5688
5722
|
"name": "as",
|
|
5689
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5723
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5690
5724
|
"default": "",
|
|
5691
5725
|
"description": "The component type to render."
|
|
5692
5726
|
},
|
|
@@ -5777,7 +5811,7 @@
|
|
|
5777
5811
|
"props": [
|
|
5778
5812
|
{
|
|
5779
5813
|
"name": "datatable",
|
|
5780
|
-
"type": "DataTableRootInstance",
|
|
5814
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
5781
5815
|
"default": "",
|
|
5782
5816
|
"description": "The DataTable component instance."
|
|
5783
5817
|
},
|
|
@@ -5904,19 +5938,19 @@
|
|
|
5904
5938
|
},
|
|
5905
5939
|
{
|
|
5906
5940
|
"name": "style",
|
|
5907
|
-
"type": "CSSProperties | ((instance?: DataTableSortInstance) => CSSProperties)",
|
|
5941
|
+
"type": "CSSProperties | ((instance?: DataTableSortInstance) => undefined | CSSProperties)",
|
|
5908
5942
|
"default": "",
|
|
5909
5943
|
"description": "The style to apply to the component."
|
|
5910
5944
|
},
|
|
5911
5945
|
{
|
|
5912
5946
|
"name": "className",
|
|
5913
|
-
"type": "string | ((instance?: DataTableSortInstance) => string)",
|
|
5947
|
+
"type": "string | ((instance?: DataTableSortInstance) => undefined | string)",
|
|
5914
5948
|
"default": "",
|
|
5915
5949
|
"description": "The class name to apply to the component."
|
|
5916
5950
|
},
|
|
5917
5951
|
{
|
|
5918
5952
|
"name": "as",
|
|
5919
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5953
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
5920
5954
|
"default": "",
|
|
5921
5955
|
"description": "The component type to render."
|
|
5922
5956
|
},
|
|
@@ -6020,7 +6054,7 @@
|
|
|
6020
6054
|
"props": [
|
|
6021
6055
|
{
|
|
6022
6056
|
"name": "datatable",
|
|
6023
|
-
"type": "DataTableRootInstance",
|
|
6057
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6024
6058
|
"default": "",
|
|
6025
6059
|
"description": "The DataTable component instance."
|
|
6026
6060
|
}
|
|
@@ -6111,13 +6145,13 @@
|
|
|
6111
6145
|
},
|
|
6112
6146
|
{
|
|
6113
6147
|
"name": "style",
|
|
6114
|
-
"type": "CSSProperties | ((instance?: DataTableSortIndicatorInstance) => CSSProperties)",
|
|
6148
|
+
"type": "CSSProperties | ((instance?: DataTableSortIndicatorInstance) => undefined | CSSProperties)",
|
|
6115
6149
|
"default": "",
|
|
6116
6150
|
"description": "The style to apply to the component."
|
|
6117
6151
|
},
|
|
6118
6152
|
{
|
|
6119
6153
|
"name": "className",
|
|
6120
|
-
"type": "string | ((instance?: DataTableSortIndicatorInstance) => string)",
|
|
6154
|
+
"type": "string | ((instance?: DataTableSortIndicatorInstance) => undefined | string)",
|
|
6121
6155
|
"default": "",
|
|
6122
6156
|
"description": "The class name to apply to the component."
|
|
6123
6157
|
},
|
|
@@ -6184,7 +6218,7 @@
|
|
|
6184
6218
|
{
|
|
6185
6219
|
"name": "match",
|
|
6186
6220
|
"type": "\"desc\" | \"always\" | \"asc\" | \"unsorted\"",
|
|
6187
|
-
"default": "",
|
|
6221
|
+
"default": "'always'",
|
|
6188
6222
|
"description": "Determines the visibility of the indicator based on the sort state.\n- \"asc\": Visible when sorted ascending.\n- \"desc\": Visible when sorted descending.\n- \"unsorted\": Visible when not sorted (useful with removableSort).\n- \"always\": Indicator is always visible."
|
|
6189
6223
|
},
|
|
6190
6224
|
{
|
|
@@ -6209,7 +6243,7 @@
|
|
|
6209
6243
|
"props": [
|
|
6210
6244
|
{
|
|
6211
6245
|
"name": "datatable",
|
|
6212
|
-
"type": "DataTableRootInstance",
|
|
6246
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6213
6247
|
"default": "",
|
|
6214
6248
|
"description": "The DataTable component instance."
|
|
6215
6249
|
}
|
|
@@ -6267,13 +6301,13 @@
|
|
|
6267
6301
|
},
|
|
6268
6302
|
{
|
|
6269
6303
|
"name": "style",
|
|
6270
|
-
"type": "CSSProperties | ((instance?: DataTableSortOrderInstance) => CSSProperties)",
|
|
6304
|
+
"type": "CSSProperties | ((instance?: DataTableSortOrderInstance) => undefined | CSSProperties)",
|
|
6271
6305
|
"default": "",
|
|
6272
6306
|
"description": "The style to apply to the component."
|
|
6273
6307
|
},
|
|
6274
6308
|
{
|
|
6275
6309
|
"name": "className",
|
|
6276
|
-
"type": "string | ((instance?: DataTableSortOrderInstance) => string)",
|
|
6310
|
+
"type": "string | ((instance?: DataTableSortOrderInstance) => undefined | string)",
|
|
6277
6311
|
"default": "",
|
|
6278
6312
|
"description": "The class name to apply to the component."
|
|
6279
6313
|
},
|
|
@@ -6359,7 +6393,7 @@
|
|
|
6359
6393
|
"props": [
|
|
6360
6394
|
{
|
|
6361
6395
|
"name": "datatable",
|
|
6362
|
-
"type": "DataTableRootInstance",
|
|
6396
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6363
6397
|
"default": ""
|
|
6364
6398
|
},
|
|
6365
6399
|
{
|
|
@@ -6403,7 +6437,7 @@
|
|
|
6403
6437
|
"props": [
|
|
6404
6438
|
{
|
|
6405
6439
|
"name": "item",
|
|
6406
|
-
"type": "
|
|
6440
|
+
"type": "T",
|
|
6407
6441
|
"default": "",
|
|
6408
6442
|
"description": "The data object for the current row."
|
|
6409
6443
|
},
|
|
@@ -6454,13 +6488,13 @@
|
|
|
6454
6488
|
},
|
|
6455
6489
|
{
|
|
6456
6490
|
"name": "style",
|
|
6457
|
-
"type": "CSSProperties | ((instance?: DataTableTBodyInstance) => CSSProperties)",
|
|
6491
|
+
"type": "CSSProperties | ((instance?: DataTableTBodyInstance) => undefined | CSSProperties)",
|
|
6458
6492
|
"default": "",
|
|
6459
6493
|
"description": "The style to apply to the component."
|
|
6460
6494
|
},
|
|
6461
6495
|
{
|
|
6462
6496
|
"name": "className",
|
|
6463
|
-
"type": "string | ((instance?: DataTableTBodyInstance) => string)",
|
|
6497
|
+
"type": "string | ((instance?: DataTableTBodyInstance) => undefined | string)",
|
|
6464
6498
|
"default": "",
|
|
6465
6499
|
"description": "The class name to apply to the component."
|
|
6466
6500
|
},
|
|
@@ -6520,7 +6554,7 @@
|
|
|
6520
6554
|
},
|
|
6521
6555
|
{
|
|
6522
6556
|
"name": "children",
|
|
6523
|
-
"type": "ReactNode | ((instance: BaseInstance<SafeRecord<DataTableTBodyProps
|
|
6557
|
+
"type": "ReactNode | ((instance: BaseInstance<SafeRecord<DataTableTBodyProps<Record<string, unknown>>>, unknown, HTMLElement> & { props: SafeRecord<SafeRecord<DataTableTBodyProps<Record<string, unknown>>>>; attrs: Omit<SafeRecord<SafeRecord<DataTableTBodyProps<Record<string, unknown>>>>, string | number | symbol> & Record<PropertyKey, unknown> } & { state: SafeRecord; $computedSetup: SafeRecord } & DataTableTBodyExposes & Record<PropertyKey, unknown> & useComponentPTReturnType & useComponentStyleReturnType & DataTableTBodyItemOptions<T>) => ReactNode)",
|
|
6524
6558
|
"default": "",
|
|
6525
6559
|
"description": "Render function called for each item in the data array.\nReceives the component instance enriched with item, index, and groupMeta."
|
|
6526
6560
|
},
|
|
@@ -6546,12 +6580,29 @@
|
|
|
6546
6580
|
"props": [
|
|
6547
6581
|
{
|
|
6548
6582
|
"name": "datatable",
|
|
6549
|
-
"type": "DataTableRootInstance",
|
|
6583
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6550
6584
|
"default": "",
|
|
6551
6585
|
"description": "The DataTable component instance."
|
|
6552
6586
|
}
|
|
6553
6587
|
],
|
|
6554
6588
|
"methods": []
|
|
6589
|
+
},
|
|
6590
|
+
"DataTableTBodyComponent": {
|
|
6591
|
+
"description": "The DataTableTBody component.\n\nThe row shape is owned by the consumer, so it is a type parameter: `T` is inferred from an\nannotated render prop parameter ( `{({ item }: { item: Product }) => ...}` ) and can also be\nsupplied explicitly ( `<DataTable.TBody<Product>>` ). The signature is declared here because the\ncomponent factory produces a value, and a value's type cannot carry an unbound type parameter.",
|
|
6592
|
+
"relatedProp": "",
|
|
6593
|
+
"props": [
|
|
6594
|
+
{
|
|
6595
|
+
"name": "displayName",
|
|
6596
|
+
"type": "string",
|
|
6597
|
+
"default": ""
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
"name": "[props: DataTableTBodyProps<T>]",
|
|
6601
|
+
"type": "null | ReactElement<unknown, string | JSXElementConstructor<any>>",
|
|
6602
|
+
"description": ""
|
|
6603
|
+
}
|
|
6604
|
+
],
|
|
6605
|
+
"methods": []
|
|
6555
6606
|
}
|
|
6556
6607
|
},
|
|
6557
6608
|
"types": {
|
|
@@ -6605,13 +6656,13 @@
|
|
|
6605
6656
|
},
|
|
6606
6657
|
{
|
|
6607
6658
|
"name": "style",
|
|
6608
|
-
"type": "CSSProperties | ((instance?: DataTableTFootInstance) => CSSProperties)",
|
|
6659
|
+
"type": "CSSProperties | ((instance?: DataTableTFootInstance) => undefined | CSSProperties)",
|
|
6609
6660
|
"default": "",
|
|
6610
6661
|
"description": "The style to apply to the component."
|
|
6611
6662
|
},
|
|
6612
6663
|
{
|
|
6613
6664
|
"name": "className",
|
|
6614
|
-
"type": "string | ((instance?: DataTableTFootInstance) => string)",
|
|
6665
|
+
"type": "string | ((instance?: DataTableTFootInstance) => undefined | string)",
|
|
6615
6666
|
"default": "",
|
|
6616
6667
|
"description": "The class name to apply to the component."
|
|
6617
6668
|
},
|
|
@@ -6697,7 +6748,7 @@
|
|
|
6697
6748
|
"props": [
|
|
6698
6749
|
{
|
|
6699
6750
|
"name": "datatable",
|
|
6700
|
-
"type": "DataTableRootInstance",
|
|
6751
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6701
6752
|
"default": "",
|
|
6702
6753
|
"description": "The DataTable component instance."
|
|
6703
6754
|
}
|
|
@@ -6756,13 +6807,13 @@
|
|
|
6756
6807
|
},
|
|
6757
6808
|
{
|
|
6758
6809
|
"name": "style",
|
|
6759
|
-
"type": "CSSProperties | ((instance?: DataTableTFootCellInstance) => CSSProperties)",
|
|
6810
|
+
"type": "CSSProperties | ((instance?: DataTableTFootCellInstance) => undefined | CSSProperties)",
|
|
6760
6811
|
"default": "",
|
|
6761
6812
|
"description": "The style to apply to the component."
|
|
6762
6813
|
},
|
|
6763
6814
|
{
|
|
6764
6815
|
"name": "className",
|
|
6765
|
-
"type": "string | ((instance?: DataTableTFootCellInstance) => string)",
|
|
6816
|
+
"type": "string | ((instance?: DataTableTFootCellInstance) => undefined | string)",
|
|
6766
6817
|
"default": "",
|
|
6767
6818
|
"description": "The class name to apply to the component."
|
|
6768
6819
|
},
|
|
@@ -6854,7 +6905,7 @@
|
|
|
6854
6905
|
"props": [
|
|
6855
6906
|
{
|
|
6856
6907
|
"name": "datatable",
|
|
6857
|
-
"type": "DataTableRootInstance",
|
|
6908
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
6858
6909
|
"default": "",
|
|
6859
6910
|
"description": "The DataTable component instance."
|
|
6860
6911
|
}
|
|
@@ -6913,13 +6964,13 @@
|
|
|
6913
6964
|
},
|
|
6914
6965
|
{
|
|
6915
6966
|
"name": "style",
|
|
6916
|
-
"type": "CSSProperties | ((instance?: DataTableTFootRowInstance) => CSSProperties)",
|
|
6967
|
+
"type": "CSSProperties | ((instance?: DataTableTFootRowInstance) => undefined | CSSProperties)",
|
|
6917
6968
|
"default": "",
|
|
6918
6969
|
"description": "The style to apply to the component."
|
|
6919
6970
|
},
|
|
6920
6971
|
{
|
|
6921
6972
|
"name": "className",
|
|
6922
|
-
"type": "string | ((instance?: DataTableTFootRowInstance) => string)",
|
|
6973
|
+
"type": "string | ((instance?: DataTableTFootRowInstance) => undefined | string)",
|
|
6923
6974
|
"default": "",
|
|
6924
6975
|
"description": "The class name to apply to the component."
|
|
6925
6976
|
},
|
|
@@ -7005,7 +7056,7 @@
|
|
|
7005
7056
|
"props": [
|
|
7006
7057
|
{
|
|
7007
7058
|
"name": "datatable",
|
|
7008
|
-
"type": "DataTableRootInstance",
|
|
7059
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7009
7060
|
"default": "",
|
|
7010
7061
|
"description": "The DataTable component instance."
|
|
7011
7062
|
}
|
|
@@ -7064,13 +7115,13 @@
|
|
|
7064
7115
|
},
|
|
7065
7116
|
{
|
|
7066
7117
|
"name": "style",
|
|
7067
|
-
"type": "CSSProperties | ((instance?: DataTableTHeadInstance) => CSSProperties)",
|
|
7118
|
+
"type": "CSSProperties | ((instance?: DataTableTHeadInstance) => undefined | CSSProperties)",
|
|
7068
7119
|
"default": "",
|
|
7069
7120
|
"description": "The style to apply to the component."
|
|
7070
7121
|
},
|
|
7071
7122
|
{
|
|
7072
7123
|
"name": "className",
|
|
7073
|
-
"type": "string | ((instance?: DataTableTHeadInstance) => string)",
|
|
7124
|
+
"type": "string | ((instance?: DataTableTHeadInstance) => undefined | string)",
|
|
7074
7125
|
"default": "",
|
|
7075
7126
|
"description": "The class name to apply to the component."
|
|
7076
7127
|
},
|
|
@@ -7156,7 +7207,7 @@
|
|
|
7156
7207
|
"props": [
|
|
7157
7208
|
{
|
|
7158
7209
|
"name": "datatable",
|
|
7159
|
-
"type": "DataTableRootInstance",
|
|
7210
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7160
7211
|
"default": "",
|
|
7161
7212
|
"description": "The DataTable component instance."
|
|
7162
7213
|
}
|
|
@@ -7215,13 +7266,13 @@
|
|
|
7215
7266
|
},
|
|
7216
7267
|
{
|
|
7217
7268
|
"name": "style",
|
|
7218
|
-
"type": "CSSProperties | ((instance?: DataTableTHeadCellInstance) => CSSProperties)",
|
|
7269
|
+
"type": "CSSProperties | ((instance?: DataTableTHeadCellInstance) => undefined | CSSProperties)",
|
|
7219
7270
|
"default": "",
|
|
7220
7271
|
"description": "The style to apply to the component."
|
|
7221
7272
|
},
|
|
7222
7273
|
{
|
|
7223
7274
|
"name": "className",
|
|
7224
|
-
"type": "string | ((instance?: DataTableTHeadCellInstance) => string)",
|
|
7275
|
+
"type": "string | ((instance?: DataTableTHeadCellInstance) => undefined | string)",
|
|
7225
7276
|
"default": "",
|
|
7226
7277
|
"description": "The class name to apply to the component."
|
|
7227
7278
|
},
|
|
@@ -7331,7 +7382,7 @@
|
|
|
7331
7382
|
"props": [
|
|
7332
7383
|
{
|
|
7333
7384
|
"name": "frozen",
|
|
7334
|
-
"type": "boolean",
|
|
7385
|
+
"type": "undefined | boolean",
|
|
7335
7386
|
"default": "",
|
|
7336
7387
|
"description": "Whether the column is frozen."
|
|
7337
7388
|
},
|
|
@@ -7350,7 +7401,7 @@
|
|
|
7350
7401
|
"props": [
|
|
7351
7402
|
{
|
|
7352
7403
|
"name": "datatable",
|
|
7353
|
-
"type": "DataTableRootInstance",
|
|
7404
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7354
7405
|
"default": "",
|
|
7355
7406
|
"description": "The DataTable component instance."
|
|
7356
7407
|
}
|
|
@@ -7409,13 +7460,13 @@
|
|
|
7409
7460
|
},
|
|
7410
7461
|
{
|
|
7411
7462
|
"name": "style",
|
|
7412
|
-
"type": "CSSProperties | ((instance?: DataTableTHeadRowInstance) => CSSProperties)",
|
|
7463
|
+
"type": "CSSProperties | ((instance?: DataTableTHeadRowInstance) => undefined | CSSProperties)",
|
|
7413
7464
|
"default": "",
|
|
7414
7465
|
"description": "The style to apply to the component."
|
|
7415
7466
|
},
|
|
7416
7467
|
{
|
|
7417
7468
|
"name": "className",
|
|
7418
|
-
"type": "string | ((instance?: DataTableTHeadRowInstance) => string)",
|
|
7469
|
+
"type": "string | ((instance?: DataTableTHeadRowInstance) => undefined | string)",
|
|
7419
7470
|
"default": "",
|
|
7420
7471
|
"description": "The class name to apply to the component."
|
|
7421
7472
|
},
|
|
@@ -7501,7 +7552,7 @@
|
|
|
7501
7552
|
"props": [
|
|
7502
7553
|
{
|
|
7503
7554
|
"name": "datatable",
|
|
7504
|
-
"type": "DataTableRootInstance",
|
|
7555
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7505
7556
|
"default": "",
|
|
7506
7557
|
"description": "The DataTable component instance."
|
|
7507
7558
|
}
|
|
@@ -7560,13 +7611,13 @@
|
|
|
7560
7611
|
},
|
|
7561
7612
|
{
|
|
7562
7613
|
"name": "style",
|
|
7563
|
-
"type": "CSSProperties | ((instance?: DataTableTableInstance) => CSSProperties)",
|
|
7614
|
+
"type": "CSSProperties | ((instance?: DataTableTableInstance) => undefined | CSSProperties)",
|
|
7564
7615
|
"default": "",
|
|
7565
7616
|
"description": "The style to apply to the component."
|
|
7566
7617
|
},
|
|
7567
7618
|
{
|
|
7568
7619
|
"name": "className",
|
|
7569
|
-
"type": "string | ((instance?: DataTableTableInstance) => string)",
|
|
7620
|
+
"type": "string | ((instance?: DataTableTableInstance) => undefined | string)",
|
|
7570
7621
|
"default": "",
|
|
7571
7622
|
"description": "The class name to apply to the component."
|
|
7572
7623
|
},
|
|
@@ -7652,7 +7703,7 @@
|
|
|
7652
7703
|
"props": [
|
|
7653
7704
|
{
|
|
7654
7705
|
"name": "datatable",
|
|
7655
|
-
"type": "DataTableRootInstance",
|
|
7706
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7656
7707
|
"default": "",
|
|
7657
7708
|
"description": "The DataTable component instance."
|
|
7658
7709
|
}
|
|
@@ -7711,19 +7762,19 @@
|
|
|
7711
7762
|
},
|
|
7712
7763
|
{
|
|
7713
7764
|
"name": "style",
|
|
7714
|
-
"type": "CSSProperties | ((instance?: DataTableTableContainerInstance) => CSSProperties)",
|
|
7765
|
+
"type": "CSSProperties | ((instance?: DataTableTableContainerInstance) => undefined | CSSProperties)",
|
|
7715
7766
|
"default": "",
|
|
7716
7767
|
"description": "The style to apply to the component."
|
|
7717
7768
|
},
|
|
7718
7769
|
{
|
|
7719
7770
|
"name": "className",
|
|
7720
|
-
"type": "string | ((instance?: DataTableTableContainerInstance) => string)",
|
|
7771
|
+
"type": "string | ((instance?: DataTableTableContainerInstance) => undefined | string)",
|
|
7721
7772
|
"default": "",
|
|
7722
7773
|
"description": "The class name to apply to the component."
|
|
7723
7774
|
},
|
|
7724
7775
|
{
|
|
7725
7776
|
"name": "as",
|
|
7726
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
7777
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
7727
7778
|
"default": "",
|
|
7728
7779
|
"description": "The component type to render."
|
|
7729
7780
|
},
|
|
@@ -7808,7 +7859,7 @@
|
|
|
7808
7859
|
"props": [
|
|
7809
7860
|
{
|
|
7810
7861
|
"name": "datatable",
|
|
7811
|
-
"type": "DataTableRootInstance",
|
|
7862
|
+
"type": "undefined | null | DataTableRootInstance",
|
|
7812
7863
|
"default": "",
|
|
7813
7864
|
"description": "The DataTable component instance."
|
|
7814
7865
|
}
|