/
package.json
1727 lines (1727 loc) · 63.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "@bootstrap-vue/table",
"version": "1.0.0",
"meta": {
"title": "Table",
"description": "For displaying tabular data. <b-table> supports pagination, filtering, sorting, custom rendering, events, and asynchronous data. For simple display of tabular data without all the fancy features, BootstrapVue also provides lightweight alternative components <b-table-lite> and <b-table-simple>",
"plugins": [
"TableLitePlugin",
"TableSimplePlugin"
],
"components": [
{
"component": "BTable",
"props": [
{
"prop": "striped",
"description": "Applies striping to the tbody rows"
},
{
"prop": "bordered",
"description": "Adds borders to all the cells and headers"
},
{
"prop": "borderless",
"description": "Removes all borders from cells"
},
{
"prop": "outlined",
"description": "Adds an outline border to the table element"
},
{
"prop": "dark",
"description": "Places the table in dark mode"
},
{
"prop": "hover",
"description": "Enables hover styling on rows"
},
{
"prop": "small",
"description": "Renders the table with smaller cell padding"
},
{
"prop": "fixed",
"description": "Makes all columns equal width (fixed layout table). Will speed up rendering for large tables. Column widths can be set via CSS or colgroup"
},
{
"prop": "responsive",
"description": "Makes the table responsive in width, adding a horizontal scrollbar. Set to true for always responsive or set to one of the breakpoints to switch from responsive to normal: 'sm', 'md', 'lg', 'xl'"
},
{
"prop": "stickyHeader",
"description": "Makes the table header sticky. Set to true for a maximum height 300px tall table, or set to any valid CSS hight (including units)"
},
{
"prop": "noBorderCollapse",
"version": "2.0.0",
"description": "Disable's the collapsing of table borders. Useful when table has sticky headers or columns"
},
{
"prop": "captionTop",
"description": "Visually place the table caption above the table. Default is below."
},
{
"prop": "tableVariant",
"description": "Apply a Bootstrap theme color variant to the entire table"
},
{
"prop": "tableClass",
"description": "CSS class (or classes) to apply to the table element"
},
{
"prop": "stacked",
"description": "Place the table in stacked mode. Set to true for always stacked, or set to one of the breakpoints to switch from stacked to normal: 'sm', 'md', 'lg', 'xl'"
},
{
"prop": "headVariant",
"description": "Header variant: 'light' or 'dark', or unset. May take precedence over head-row-variant"
},
{
"prop": "headRowVariant",
"version": "2.1.0",
"description": "Apply a Bootstrap theme color variant to the tr element in the thead"
},
{
"prop": "footVariant",
"description": "Footer variant: 'light' or 'dark', or unset. May take precedence over foot-row-variant"
},
{
"prop": "footRowVariant",
"version": "2.1.0",
"description": "Apply a Bootstrap theme color variant to the tr element in the tfoot. Falls back to head-row-variant"
},
{
"prop": "tbodyTransitionProps",
"description": "Vue 'transition-group' properties. When provided will make the tbody a Vue 'transition-group' component"
},
{
"prop": "tbodyTransitionHandlers",
"description": "Vue 'transition-group' event handlers. When provided will make the tbody a Vue 'transition-group' component"
},
{
"prop": "caption",
"description": "Text string to place in the caption element"
},
{
"prop": "captionHtml",
"description": "HTML string to place in the caption element. Use with caution"
},
{
"prop": "theadClass",
"description": "CSS class (or classes) to apply to the thead element"
},
{
"prop": "theadTrClass",
"description": "CSS class (or classes) to apply to the tr element in the thead"
},
{
"prop": "footClone",
"description": "Enable to the footer of the table, and clone the header content by default"
},
{
"prop": "tfootClass",
"description": "CSS class (or classes) to apply to the tfoot element"
},
{
"prop": "tfootTrClass",
"description": "CSS class (or classes) to apply to the tr element in the tfoot"
},
{
"prop": "tbodyClass",
"description": "CSS class (or classes) to apply to the tbody element"
},
{
"prop": "tbodyTrClass",
"description": "CSS class (or classes) to apply to the tr element in the tbody. Can be a function that returns a class (see docs for details)"
},
{
"prop": "tbodyTrAttr",
"version": "2.2.0",
"description": "Attributes to be added to each tr in the tbody, or a function returning such attributes (see docs for details)"
},
{
"prop": "detailsTdClass",
"version": "2.1.0",
"description": "CSS class (or classes) to apply to the td element in the details row"
},
{
"prop": "value",
"description": "Currently displayed row data. Read-only. Do not set a value on this prop"
},
{
"prop": "fields",
"description": "Array of field names or array of field definition objects"
},
{
"prop": "items",
"description": "Array of items to display, or an items provider function reference. Refer to the docs for details"
},
{
"prop": "primaryKey",
"description": "Name of a table field that contains a guaranteed unique value per row. Needed for tbody transition support, and also speeds up table rendering"
},
{
"prop": "busy",
"description": "When set, forces the table into the busy state.Automatically set when an items provider function is being called"
},
{
"prop": "noProviderPaging",
"description": "When set, uses internal paging to pagination the data. Otherwise the items provider is expected to perform the paging"
},
{
"prop": "noProviderSorting",
"description": "When set, uses internal sorting to sort the data. Otherwise the items provider is expected to perform the sorting"
},
{
"prop": "noProviderFiltering",
"description": "When set, uses internal filtering to pagination the data. Otherwise the provider is expected to perform the filtering"
},
{
"prop": "apiUrl",
"description": "Pass through prop. Passed as part of the context object sent to the items provider function"
},
{
"prop": "perPage",
"description": "Number of rows to show per page. Set to 0 to disable pagination"
},
{
"prop": "currentPage",
"description": "The current page number to display when the table is paginated. Starting from 1 and up"
},
{
"prop": "noLocalSorting",
"description": "Disabled the internal sorting routine, and expects the user to provde the items sorted. Sorting controls will still be available"
},
{
"prop": "noFooterSorting",
"description": "When the build in formatter is used, setting this prop will disable the sorting ability in the footer"
},
{
"prop": "sortIconLeft",
"description": "Positions the sort control to the left of the header text. Default is on the right of the header text"
},
{
"prop": "noSortReset",
"description": "When a table is sortable, clicking on any non-sortable column heading will clear the current sort values. Set this prop to disable this feature"
},
{
"prop": "sortNullLast",
"description": "When sorting, null and undefined values will be sorted first (or last, depending on 'sort-desc'). Set this prop to sort null values last. Only applicable to internal sorting"
},
{
"prop": "sortBy",
"description": "Field name that is currently being sorted. Set to null to clear sorting. Syncable with the .sync prop modifier"
},
{
"prop": "sortDesc",
"description": "Set to true to sort the column in descending order. Syncable with the .sync prop modifier"
},
{
"prop": "sortDirection",
"description": "The initial sorting direction to sort an unsorted column by: 'asc', 'desc', or 'last' (to use the previous sort direction)"
},
{
"prop": "sortCompare",
"description": "A reference to a function for sort-comparing tow rows of data. Defaults to the internal sort compare routine. See docs for details"
},
{
"prop": "sortCompareOptions",
"description": "An object containing sort configuration for the 'String.prototype.sortLocale' method. See docs for details"
},
{
"prop": "sortCompareLocale",
"description": "The locale string (or array of locale string) that specified the language when sorting. See docs for details"
},
{
"prop": "labelSortAsc",
"description": "String to place in the header cell's 'aria-label' when clicking the cell will change the sort direction to ascending"
},
{
"prop": "labelSortDesc",
"description": "String to place in the header cell's 'aria-label' when clicking the cell will change the sort direction to descending"
},
{
"prop": "labelSortClear",
"description": "String to place in the header cell's 'aria-label' when clicking the cell will clear the current sorting direction"
},
{
"prop": "selectable",
"description": "When set, places the table body rows in selectable mode"
},
{
"prop": "selectMode",
"description": "The selectable mode for the table when 'selectable' is set. Possible values: 'single', 'multi' or 'range'"
},
{
"prop": "selectedVariant",
"description": "Bootstrap color theme variant to set selected rows to. Use any of the standard Bootstrap theme color variants, or the special table row variant 'active' (default). Set to an empty string to not use a variant"
},
{
"prop": "noSelectOnClick",
"version": "2.1.0",
"description": "Disables row selection via click events. Row selection will be only available programmatically"
},
{
"prop": "showEmpty",
"description": "When enabled, and there are no item records to show, shows a message that there are no rows to show"
},
{
"prop": "emptyText",
"description": "Text string to show when the table has no items to show"
},
{
"prop": "emptyHtml",
"description": "HTML string to show when the table has no items to show. Usw with caution"
},
{
"prop": "emptyFilteredText",
"description": "Text string to show when the table has no items to show due to filtering"
},
{
"prop": "emptyFilteredHtml",
"description": "HTML string to show when the table has no items to show due to filtering. Use with caution"
},
{
"prop": "filter",
"description": "Criteria for filtering. Internal filtering supports only string or RegExpr criteria."
},
{
"prop": "filterFunction",
"description": "Reference to a function to use instead of the internal filtering function. Refer to the docs for details"
},
{
"prop": "filterIgnoredFields",
"description": "Array of top level fields to ignore when filtering the item data"
},
{
"prop": "filterIncludedFields",
"description": "Array of fields to include when filtering. Overrides filter-ignore-fields"
},
{
"prop": "filterDebounce",
"version": "2.0.0",
"description": "Time in milliseconds to debounce changes to the filter criteria before filtering the records"
}
],
"events": [
{
"event": "row-clicked",
"description": "Emitted when a row is clicked.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being clicked."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being clicked."
},
{
"arg": "event",
"type": [
"MouseEvent",
"KeyboardEvent"
],
"description": "Native event object."
}
]
},
{
"event": "row-dblclicked",
"description": "Emitted when a row is double clicked.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being double clicked."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being double clicked."
},
{
"arg": "event",
"type": "MouseEvent",
"description": "Native event object."
}
]
},
{
"event": "row-middle-clicked",
"description": "Emitted when a row is middle clicked.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being middle clicked."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being middle clicked."
},
{
"arg": "event",
"type": "MouseEvent",
"description": "Native event object."
}
]
},
{
"event": "row-contextmenu",
"description": "Emitted when a row is right clicked.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being right clicked."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being right clicked."
},
{
"arg": "event",
"type": "MouseEvent",
"description": "Native event object."
}
]
},
{
"event": "row-hovered",
"description": "Emitted when a row is hovered.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being hovered."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being hovered."
},
{
"arg": "event",
"type": "MouseEvent",
"description": "Native event object."
}
]
},
{
"event": "row-unhovered",
"description": "Emitted when a row is unhovered.",
"args": [
{
"arg": "item",
"type": "Object",
"description": "Item data of the row being unhovered."
},
{
"arg": "index",
"type": "Number",
"description": "Index of the row being unhovered."
},
{
"arg": "event",
"type": "MouseEvent",
"description": "Native event object."
}
]
},
{
"event": "row-selected",
"description": "Emitted when a row or rows have been selected or unselected.",
"args": [
{
"arg": "rows",
"type": "Array",
"description": "Array of the row items that are selected."
}
]
},
{
"event": "head-clicked",
"description": "Emitted when a header or footer cell is clicked. Not applicable for 'custom-foot' slot.",
"args": [
{
"arg": "key",
"type": "String",
"description": "Column key clicked (field name)."
},
{
"arg": "field",
"type": "Object",
"description": "Field definition object."
},
{
"arg": "event",
"type": [
"MouseEvent",
"KeyboardEvent"
],
"description": "Native event object."
},
{
"arg": "isFooter",
"type": "Boolean",
"description": "'True' if this event originated from clicking on the footer cell"
}
]
},
{
"event": "sort-changed",
"description": "Emitted when the sorting on the table has changed",
"args": [
{
"arg": "ctx",
"type": "Object",
"description": "Table state context object. See docs."
}
]
},
{
"event": "context-changed",
"description": "Emitted whenever the table state context has changed",
"args": [
{
"arg": "ctx",
"type": "Object",
"description": "Table state context object. See docs."
}
]
},
{
"event": "filtered",
"description": "Emitted when local filtering causes a change in the number of items.",
"args": [
{
"arg": "filteredItems",
"type": "Array",
"description": "Array of items after filtering (before local pagination occurs)."
}
]
},
{
"event": "refreshed",
"description": "Emitted when the items provider function has returned data."
}
],
"rootEventListeners": [
{
"event": "bv::refresh::table",
"description": "Refresh data of a specific table when this event is emitted on $root",
"args": [
{
"arg": "id",
"type": "String",
"description": "table id to refresh data"
}
]
}
],
"slots": [
{
"name": "cell({key})",
"pattern": "cell\\([a-zA-Z0-9$_.\\-]+\\)",
"description": "Scoped slot for custom data rendering of field data. '{key}' is the field's key name. See docs for scoped data",
"scope": [
{
"prop": "index",
"type": "Number",
"description": "The row's index (zero-based) with respect to the displayed rows"
},
{
"prop": "item",
"type": "Object",
"description": "The row's item data object"
},
{
"prop": "value",
"description": "The value for this key in the record (null or undefined if a virtual column), or the output of the field's formatter function"
},
{
"prop": "unformatted",
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "detailsShowing",
"type": "Boolean",
"description": "Will be true if the row's row-details scoped slot is visible"
},
{
"prop": "toggleDetails",
"type": "Function",
"description": "Can be called to toggle the visibility of the rows row-details scoped slot"
},
{
"prop": "rowSelected",
"type": "Boolean",
"description": "Will be true if the row has been selected. Only applicable when table is in selectable mode"
},
{
"prop": "selectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to select the current row. Only applicable when table is in selectable mode"
},
{
"prop": "unselectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to unselect the current row. Only applicable when table is in selectable mode"
}
]
},
{
"name": "cell()",
"description": "Default scoped slot for custom data rendering of field data. See docs for scoped data",
"scope": [
{
"prop": "index",
"type": "Number",
"description": "The row's index (zero-based) with respect to the displayed rows"
},
{
"prop": "item",
"type": "Object",
"description": "The row's item data object"
},
{
"prop": "value",
"description": "The value for this key in the record (null or undefined if a virtual column), or the output of the field's formatter function"
},
{
"prop": "unformatted",
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "detailsShowing",
"type": "Boolean",
"description": "Will be true if the row's row-details scoped slot is visible"
},
{
"prop": "toggleDetails",
"type": "Function",
"description": "Can be called to toggle the visibility of the rows row-details scoped slot"
},
{
"prop": "rowSelected",
"type": "Boolean",
"description": "Will be true if the row has been selected. Only applicable when table is in selectable mode"
},
{
"prop": "selectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to select the current row. Only applicable when table is in selectable mode"
},
{
"prop": "unselectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to unselect the current row. Only applicable when table is in selectable mode"
}
]
},
{
"name": "head({key})",
"pattern": "head\\([a-zA-Z0-9$_.\\-]+\\)",
"description": "Scoped slot for custom rendering of field header. '{key}' is the field's key name. See docs for scoped header",
"scope": [
{
"prop": "column",
"type": "String",
"description": "The field's key value"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "label",
"type": "String",
"description": "The field's label value"
},
{
"prop": "selectAllRows",
"type": "Function",
"description": "Select all rows (applicable if the table is in selectable mode)"
},
{
"prop": "clearSelected",
"type": "Function",
"description": "Unselect all rows (applicable if the table is in selectable mode)"
},
{
"prop": "isFoot",
"type": "Boolean",
"description": "Will be true if the slot is being rendered in the table footer"
}
]
},
{
"name": "head()",
"description": "Default scoped slot for custom rendering of field header. See docs for scoped header",
"scope": [
{
"prop": "column",
"type": "String",
"description": "The field's key value"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "label",
"type": "String",
"description": "The field's label value"
},
{
"prop": "selectAllRows",
"type": "Function",
"description": "Select all rows (applicable if the table is in selectable mode)"
},
{
"prop": "clearSelected",
"type": "Function",
"description": "Unselect all rows (applicable if the table is in selectable mode)"
},
{
"prop": "isFoot",
"type": "Boolean",
"description": "Will be true if the slot is being rendered in the table footer"
}
]
},
{
"name": "foot({key})",
"pattern": "foot\\([a-zA-Z0-9$_.\\-]+\\)",
"description": "Scoped slot for custom rendering of field footer. '{key}' is the field's key name. See docs for scoped footer",
"scope": [
{
"prop": "column",
"type": "String",
"description": "The field's key value"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "label",
"type": "String",
"description": "The field's label value"
},
{
"prop": "selectAllRows",
"type": "Function",
"description": "Select all rows (applicable if the table is in selectable mode)"
},
{
"prop": "clearSelected",
"type": "Function",
"description": "Unselect all rows (applicable if the table is in selectable mode)"
}
]
},
{
"name": "foot()",
"description": "Default scoped slot for custom rendering of field footer. See docs for scoped footer",
"scope": [
{
"prop": "column",
"type": "String",
"description": "The field's key value"
},
{
"prop": "field",
"type": "Object",
"description": "The field's normalized definition object (from the fields prop)"
},
{
"prop": "label",
"type": "String",
"description": "The field's label value"
},
{
"prop": "selectAllRows",
"type": "Function",
"description": "Select all rows (applicable if the table is in selectable mode)"
},
{
"prop": "clearSelected",
"type": "Function",
"description": "Unselect all rows (applicable if the table is in selectable mode)"
}
]
},
{
"name": "table-caption",
"description": "Content to display in the table's caption element"
},
{
"name": "table-colgroup",
"description": "Slot to place custom colgroup and col elements. Optionally scoped",
"scope": [
{
"prop": "columns",
"type": "Number",
"description": "The number of columns in the table"
},
{
"prop": "fields",
"type": "Array",
"description": "Array of field definition objects"
}
]
},
{
"name": "table-busy",
"description": "Optional slot to place loading message when table is in the busy state"
},
{
"name": "row-details",
"description": "Scoped slot for optional rendering additional record details. See docs for Row details support",
"scope": [
{
"prop": "item",
"type": "Object",
"description": "The entire row's record data object"
},
{
"prop": "index",
"type": "Number",
"description": "The item's row index number (with respect to the displayed item rows)"
},
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
},
{
"prop": "toggleDetails",
"type": "Function",
"description": "Function to toggle visibility of the row's details slot"
},
{
"prop": "rowSelected",
"type": "Boolean",
"version": "2.1.0",
"description": "Will be true if the row has been selected. Only applicable when table is in selectable mode"
},
{
"prop": "selectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to select the current row. Only applicable when table is in selectable mode"
},
{
"prop": "unselectRow",
"type": "Function",
"version": "2.1.0",
"description": "Can be called to unselect the current row. Only applicable when table is in selectable mode"
}
]
},
{
"name": "empty",
"description": "Content to display when no items are present in the `items` array. Optionally scoped",
"scope": [
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
},
{
"prop": "items",
"type": "Array",
"description": "The items array. Exposed here to check null vs []"
},
{
"prop": "emptyText",
"type": "String",
"description": "The value of the empty-text prop"
},
{
"prop": "emptyHtml",
"type": "String",
"description": "The value of the empty-html prop"
},
{
"prop": "emptyFilteredText",
"type": "String",
"description": "The value of the empty-filtered-text prop"
},
{
"prop": "emptyFilteredHtml",
"type": "String",
"description": "The value of the empty-filtered-html prop"
}
]
},
{
"name": "emptyfiltered",
"description": "Content to display when no items are present in the filtered `items` array. Optionally scoped",
"scope": [
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
},
{
"prop": "items",
"type": "Array",
"description": "The items array. Exposed here to check null vs []"
},
{
"prop": "emptyText",
"type": "String",
"description": "The value of the empty-text prop"
},
{
"prop": "emptyHtml",
"type": "String",
"description": "The value of the empty-html prop"
},
{
"prop": "emptyFilteredText",
"type": "String",
"description": "The value of the empty-filtered-text prop"
},
{
"prop": "emptyFilteredHtml",
"type": "String",
"description": "The value of the empty-filtered-html prop"
}
]
},
{
"name": "thead-top",
"description": "Slot above the column headers in the `thead` element for user-supplied B-TR's with B-TH/B-TD. Optionally scoped.",
"scope": [
{
"prop": "columns",
"type": "Number",
"description": "The number of columns in the table"
},
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
},
{
"prop": "selectAllRows",
"type": "Function",
"description": "Select all rows (applicable if the table is in selectable mode)"
},
{
"prop": "clearSelected",
"type": "Function",
"description": "Unselect all rows (applicable if the table is in selectable mode)"
}
]
},
{
"name": "top-row",
"description": "Fixed top row slot for user supplied B-TD cells. Optionally scoped",
"scope": [
{
"prop": "columns",
"type": "Number",
"description": "The number of columns in the table"
},
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
}
]
},
{
"name": "bottom-row",
"description": "Fixed bottom row slot for user supplied B-TD cells. Optionally Scoped",
"scope": [
{
"prop": "columns",
"type": "Number",
"description": "The number of columns in the table"
},
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
}
]
},
{
"name": "custom-foot",
"description": "Custom footer content slot for user supplied B-TR, B-TH, B-TD. Optionally Scoped",
"scope": [
{
"prop": "columns",
"type": "Number",
"description": "The number of columns in the table"
},
{
"prop": "fields",
"type": "Array",
"description": "The normalized fields definition array (in the array of objects format)"
},
{
"prop": "items",
"type": "Array",
"description": "Array of items that are currently being displayed"
}
]
}
]
},
{
"component": "BTableLite",