@spectrum-web-components/table 0.35.0 → 0.35.1-rc.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/custom-elements.json +0 -1135
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/table",
3
- "version": "0.35.0",
3
+ "version": "0.35.1-rc.24+e3649e123",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -117,10 +117,10 @@
117
117
  "dependencies": {
118
118
  "@lit-labs/observers": "^2.0.0",
119
119
  "@lit-labs/virtualizer": "^2.0.2",
120
- "@spectrum-web-components/base": "^0.35.0",
121
- "@spectrum-web-components/checkbox": "^0.35.0",
122
- "@spectrum-web-components/icon": "^0.35.0",
123
- "@spectrum-web-components/icons-ui": "^0.35.0"
120
+ "@spectrum-web-components/base": "^0.35.1-rc.24+e3649e123",
121
+ "@spectrum-web-components/checkbox": "^0.35.1-rc.24+e3649e123",
122
+ "@spectrum-web-components/icon": "^0.35.1-rc.24+e3649e123",
123
+ "@spectrum-web-components/icons-ui": "^0.35.1-rc.24+e3649e123"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@spectrum-css/table": "^4.0.61"
@@ -132,5 +132,5 @@
132
132
  "./elements.js",
133
133
  "./**/*.dev.js"
134
134
  ],
135
- "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
135
+ "gitHead": "e3649e1230ed727048988a452969c38ced5467ac"
136
136
  }
@@ -1,1135 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-table-body.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-table-body",
13
- "declaration": {
14
- "name": "TableBody",
15
- "module": "/src/TableBody.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "sp-table-cell.js",
23
- "declarations": [],
24
- "exports": [
25
- {
26
- "kind": "custom-element-definition",
27
- "name": "sp-table-cell",
28
- "declaration": {
29
- "name": "TableCell",
30
- "module": "/src/TableCell.js"
31
- }
32
- }
33
- ]
34
- },
35
- {
36
- "kind": "javascript-module",
37
- "path": "sp-table-checkbox-cell.js",
38
- "declarations": [],
39
- "exports": [
40
- {
41
- "kind": "custom-element-definition",
42
- "name": "sp-table-checkbox-cell",
43
- "declaration": {
44
- "name": "TableCheckboxCell",
45
- "module": "/src/TableCheckboxCell.js"
46
- }
47
- }
48
- ]
49
- },
50
- {
51
- "kind": "javascript-module",
52
- "path": "sp-table-head-cell.js",
53
- "declarations": [],
54
- "exports": [
55
- {
56
- "kind": "custom-element-definition",
57
- "name": "sp-table-head-cell",
58
- "declaration": {
59
- "name": "TableHeadCell",
60
- "module": "/src/TableHeadCell.js"
61
- }
62
- }
63
- ]
64
- },
65
- {
66
- "kind": "javascript-module",
67
- "path": "sp-table-head.js",
68
- "declarations": [],
69
- "exports": [
70
- {
71
- "kind": "custom-element-definition",
72
- "name": "sp-table-head",
73
- "declaration": {
74
- "name": "TableHead",
75
- "module": "/src/TableHead.js"
76
- }
77
- }
78
- ]
79
- },
80
- {
81
- "kind": "javascript-module",
82
- "path": "sp-table-row.js",
83
- "declarations": [],
84
- "exports": [
85
- {
86
- "kind": "custom-element-definition",
87
- "name": "sp-table-row",
88
- "declaration": {
89
- "name": "TableRow",
90
- "module": "/src/TableRow.js"
91
- }
92
- }
93
- ]
94
- },
95
- {
96
- "kind": "javascript-module",
97
- "path": "sp-table.js",
98
- "declarations": [],
99
- "exports": [
100
- {
101
- "kind": "custom-element-definition",
102
- "name": "sp-table",
103
- "declaration": {
104
- "name": "Table",
105
- "module": "/src/Table.js"
106
- }
107
- }
108
- ]
109
- },
110
- {
111
- "kind": "javascript-module",
112
- "path": "src/Table.js",
113
- "declarations": [
114
- {
115
- "kind": "class",
116
- "description": "",
117
- "name": "Table",
118
- "members": [
119
- {
120
- "kind": "field",
121
- "name": "renderItem",
122
- "type": {
123
- "text": "(\n item: Record<string, unknown>,\n index: number\n ) => TemplateResult"
124
- }
125
- },
126
- {
127
- "kind": "field",
128
- "name": "_renderItem",
129
- "type": {
130
- "text": "(\n item: Record<string, unknown>,\n index: number\n ) => TemplateResult"
131
- },
132
- "privacy": "private"
133
- },
134
- {
135
- "kind": "field",
136
- "name": "role",
137
- "type": {
138
- "text": "string"
139
- },
140
- "privacy": "public",
141
- "default": "'grid'",
142
- "attribute": "role",
143
- "reflects": true
144
- },
145
- {
146
- "kind": "field",
147
- "name": "selects",
148
- "type": {
149
- "text": "undefined | 'single' | 'multiple'"
150
- },
151
- "privacy": "public",
152
- "description": "Whether the Table allows users to select a row or rows, and thus controls whether or not the Table also renders checkboxes.",
153
- "attribute": "selects",
154
- "reflects": true
155
- },
156
- {
157
- "kind": "field",
158
- "name": "selected",
159
- "type": {
160
- "text": "string[]"
161
- },
162
- "privacy": "public",
163
- "default": "[]",
164
- "description": "An array of <sp-row> values that have been selected.",
165
- "attribute": "selected"
166
- },
167
- {
168
- "kind": "field",
169
- "name": "selectedSet",
170
- "privacy": "private",
171
- "default": "new Set<string>()"
172
- },
173
- {
174
- "kind": "field",
175
- "name": "items",
176
- "type": {
177
- "text": "Record<string, unknown>[]"
178
- },
179
- "privacy": "public",
180
- "default": "[]",
181
- "description": "The content of the rows rendered by the virtualized table. The key is the value of the sp-table-row, and the value is the sp-table-row's content (not the row itself).",
182
- "attribute": "items"
183
- },
184
- {
185
- "kind": "field",
186
- "name": "itemValue",
187
- "privacy": "public",
188
- "description": "The value of an item. By default, it is set to the index of the sp-table-row.",
189
- "attribute": "itemValue"
190
- },
191
- {
192
- "kind": "field",
193
- "name": "scroller",
194
- "type": {
195
- "text": "boolean"
196
- },
197
- "privacy": "public",
198
- "default": "false",
199
- "description": "Whether or not the virtualized table has a scroll bar. If this is set to true, make sure to specify a height in the sp-table's inline styles.",
200
- "attribute": "scroller",
201
- "reflects": true
202
- },
203
- {
204
- "kind": "field",
205
- "name": "tableBody",
206
- "type": {
207
- "text": "TableBody | undefined"
208
- },
209
- "privacy": "private"
210
- },
211
- {
212
- "kind": "field",
213
- "name": "tableHeadCheckboxCell",
214
- "type": {
215
- "text": "TableCheckboxCell | undefined"
216
- },
217
- "privacy": "private"
218
- },
219
- {
220
- "kind": "field",
221
- "name": "tableHead",
222
- "type": {
223
- "text": "TableHead"
224
- },
225
- "privacy": "private",
226
- "readonly": true
227
- },
228
- {
229
- "kind": "field",
230
- "name": "tableRows",
231
- "type": {
232
- "text": "TableRow[]"
233
- },
234
- "privacy": "private",
235
- "readonly": true
236
- },
237
- {
238
- "kind": "field",
239
- "name": "isVirtualized",
240
- "type": {
241
- "text": "boolean"
242
- },
243
- "privacy": "private",
244
- "readonly": true
245
- },
246
- {
247
- "kind": "method",
248
- "name": "focus",
249
- "privacy": "public",
250
- "return": {
251
- "type": {
252
- "text": "void"
253
- }
254
- }
255
- },
256
- {
257
- "kind": "method",
258
- "name": "selectAllRows",
259
- "privacy": "private",
260
- "return": {
261
- "type": {
262
- "text": "void"
263
- }
264
- }
265
- },
266
- {
267
- "kind": "method",
268
- "name": "deselectAllRows",
269
- "privacy": "private",
270
- "return": {
271
- "type": {
272
- "text": "void"
273
- }
274
- }
275
- },
276
- {
277
- "kind": "method",
278
- "name": "manageSelects",
279
- "privacy": "protected",
280
- "return": {
281
- "type": {
282
- "text": "void"
283
- }
284
- }
285
- },
286
- {
287
- "kind": "method",
288
- "name": "validateSelected",
289
- "privacy": "protected",
290
- "return": {
291
- "type": {
292
- "text": "void"
293
- }
294
- }
295
- },
296
- {
297
- "kind": "method",
298
- "name": "manageSelected",
299
- "privacy": "protected",
300
- "return": {
301
- "type": {
302
- "text": "void"
303
- }
304
- }
305
- },
306
- {
307
- "kind": "method",
308
- "name": "manageCheckboxes",
309
- "privacy": "protected",
310
- "return": {
311
- "type": {
312
- "text": "void"
313
- }
314
- }
315
- },
316
- {
317
- "kind": "method",
318
- "name": "manageHeadCheckbox",
319
- "privacy": "protected",
320
- "return": {
321
- "type": {
322
- "text": "void"
323
- }
324
- },
325
- "parameters": [
326
- {
327
- "name": "allSelected",
328
- "type": {
329
- "text": "boolean"
330
- }
331
- }
332
- ]
333
- },
334
- {
335
- "kind": "method",
336
- "name": "handleChange",
337
- "privacy": "protected",
338
- "return": {
339
- "type": {
340
- "text": "void"
341
- }
342
- },
343
- "parameters": [
344
- {
345
- "name": "event",
346
- "type": {
347
- "text": "Event"
348
- }
349
- }
350
- ]
351
- },
352
- {
353
- "kind": "method",
354
- "name": "scrollToIndex",
355
- "privacy": "public",
356
- "return": {
357
- "type": {
358
- "text": "void"
359
- }
360
- },
361
- "parameters": [
362
- {
363
- "name": "index",
364
- "optional": true,
365
- "type": {
366
- "text": "number"
367
- }
368
- }
369
- ]
370
- },
371
- {
372
- "kind": "method",
373
- "name": "renderVirtualizedItems",
374
- "privacy": "protected",
375
- "return": {
376
- "type": {
377
- "text": "void"
378
- }
379
- }
380
- }
381
- ],
382
- "events": [
383
- {
384
- "name": "change",
385
- "type": {
386
- "text": "Event"
387
- },
388
- "description": "Announces a change in the `selected` property of a table row"
389
- },
390
- {
391
- "type": {
392
- "text": "RangeChangedEvent"
393
- }
394
- },
395
- {
396
- "description": "Announces a change in the range of visible cells on the table body",
397
- "name": "rangeChanged"
398
- }
399
- ],
400
- "attributes": [
401
- {
402
- "name": "role",
403
- "type": {
404
- "text": "string"
405
- },
406
- "default": "'grid'",
407
- "fieldName": "role"
408
- },
409
- {
410
- "name": "selects",
411
- "type": {
412
- "text": "undefined | 'single' | 'multiple'"
413
- },
414
- "description": "Whether the Table allows users to select a row or rows, and thus controls whether or not the Table also renders checkboxes.",
415
- "fieldName": "selects"
416
- },
417
- {
418
- "name": "selected",
419
- "type": {
420
- "text": "string[]"
421
- },
422
- "default": "[]",
423
- "description": "An array of <sp-row> values that have been selected.",
424
- "fieldName": "selected"
425
- },
426
- {
427
- "name": "items",
428
- "type": {
429
- "text": "Record<string, unknown>[]"
430
- },
431
- "default": "[]",
432
- "description": "The content of the rows rendered by the virtualized table. The key is the value of the sp-table-row, and the value is the sp-table-row's content (not the row itself).",
433
- "fieldName": "items"
434
- },
435
- {
436
- "name": "itemValue",
437
- "description": "The value of an item. By default, it is set to the index of the sp-table-row.",
438
- "fieldName": "itemValue"
439
- },
440
- {
441
- "name": "scroller",
442
- "type": {
443
- "text": "boolean"
444
- },
445
- "default": "false",
446
- "description": "Whether or not the virtualized table has a scroll bar. If this is set to true, make sure to specify a height in the sp-table's inline styles.",
447
- "fieldName": "scroller"
448
- }
449
- ],
450
- "mixins": [
451
- {
452
- "name": "SizedMixin",
453
- "package": "@spectrum-web-components/base"
454
- }
455
- ],
456
- "superclass": {
457
- "name": "SpectrumElement",
458
- "package": "@spectrum-web-components/base"
459
- },
460
- "tagName": "sp-table",
461
- "customElement": true
462
- }
463
- ],
464
- "exports": [
465
- {
466
- "kind": "js",
467
- "name": "Table",
468
- "declaration": {
469
- "name": "Table",
470
- "module": "src/Table.js"
471
- }
472
- }
473
- ]
474
- },
475
- {
476
- "kind": "javascript-module",
477
- "path": "src/TableBody.js",
478
- "declarations": [
479
- {
480
- "kind": "class",
481
- "description": "",
482
- "name": "TableBody",
483
- "members": [
484
- {
485
- "kind": "method",
486
- "name": "shouldHaveTabIndex",
487
- "privacy": "protected",
488
- "return": {
489
- "type": {
490
- "text": "void"
491
- }
492
- }
493
- },
494
- {
495
- "kind": "field",
496
- "name": "role",
497
- "type": {
498
- "text": "string"
499
- },
500
- "privacy": "public",
501
- "default": "'rowgroup'",
502
- "attribute": "role",
503
- "reflects": true
504
- }
505
- ],
506
- "attributes": [
507
- {
508
- "name": "role",
509
- "type": {
510
- "text": "string"
511
- },
512
- "default": "'rowgroup'",
513
- "fieldName": "role"
514
- }
515
- ],
516
- "superclass": {
517
- "name": "SpectrumElement",
518
- "package": "@spectrum-web-components/base"
519
- },
520
- "tagName": "sp-table-body",
521
- "customElement": true
522
- }
523
- ],
524
- "exports": [
525
- {
526
- "kind": "js",
527
- "name": "TableBody",
528
- "declaration": {
529
- "name": "TableBody",
530
- "module": "src/TableBody.js"
531
- }
532
- }
533
- ]
534
- },
535
- {
536
- "kind": "javascript-module",
537
- "path": "src/TableCell.js",
538
- "declarations": [
539
- {
540
- "kind": "class",
541
- "description": "",
542
- "name": "TableCell",
543
- "members": [
544
- {
545
- "kind": "field",
546
- "name": "role",
547
- "type": {
548
- "text": "string"
549
- },
550
- "privacy": "public",
551
- "default": "'gridcell'",
552
- "attribute": "role",
553
- "reflects": true
554
- }
555
- ],
556
- "attributes": [
557
- {
558
- "name": "role",
559
- "type": {
560
- "text": "string"
561
- },
562
- "default": "'gridcell'",
563
- "fieldName": "role"
564
- }
565
- ],
566
- "superclass": {
567
- "name": "SpectrumElement",
568
- "package": "@spectrum-web-components/base"
569
- },
570
- "tagName": "sp-table-cell",
571
- "customElement": true
572
- }
573
- ],
574
- "exports": [
575
- {
576
- "kind": "js",
577
- "name": "TableCell",
578
- "declaration": {
579
- "name": "TableCell",
580
- "module": "src/TableCell.js"
581
- }
582
- }
583
- ]
584
- },
585
- {
586
- "kind": "javascript-module",
587
- "path": "src/TableCheckboxCell.js",
588
- "declarations": [
589
- {
590
- "kind": "class",
591
- "description": "",
592
- "name": "TableCheckboxCell",
593
- "members": [
594
- {
595
- "kind": "field",
596
- "name": "role",
597
- "type": {
598
- "text": "string"
599
- },
600
- "privacy": "public",
601
- "default": "'gridcell'",
602
- "attribute": "role",
603
- "reflects": true
604
- },
605
- {
606
- "kind": "field",
607
- "name": "checkbox",
608
- "type": {
609
- "text": "Checkbox"
610
- },
611
- "privacy": "public"
612
- },
613
- {
614
- "kind": "field",
615
- "name": "indeterminate",
616
- "type": {
617
- "text": "boolean"
618
- },
619
- "privacy": "public",
620
- "default": "false",
621
- "attribute": "indeterminate"
622
- },
623
- {
624
- "kind": "field",
625
- "name": "checked",
626
- "type": {
627
- "text": "boolean"
628
- },
629
- "privacy": "public",
630
- "default": "false",
631
- "attribute": "checked"
632
- },
633
- {
634
- "kind": "field",
635
- "name": "disabled",
636
- "type": {
637
- "text": "boolean"
638
- },
639
- "privacy": "public",
640
- "default": "false",
641
- "attribute": "disabled"
642
- },
643
- {
644
- "kind": "field",
645
- "name": "selectsSingle",
646
- "type": {
647
- "text": "boolean"
648
- },
649
- "privacy": "public",
650
- "default": "false",
651
- "attribute": "selects-single",
652
- "reflects": true
653
- },
654
- {
655
- "kind": "method",
656
- "name": "click",
657
- "privacy": "public",
658
- "return": {
659
- "type": {
660
- "text": "void"
661
- }
662
- }
663
- }
664
- ],
665
- "attributes": [
666
- {
667
- "name": "role",
668
- "type": {
669
- "text": "string"
670
- },
671
- "default": "'gridcell'",
672
- "fieldName": "role"
673
- },
674
- {
675
- "name": "indeterminate",
676
- "type": {
677
- "text": "boolean"
678
- },
679
- "default": "false",
680
- "fieldName": "indeterminate"
681
- },
682
- {
683
- "name": "checked",
684
- "type": {
685
- "text": "boolean"
686
- },
687
- "default": "false",
688
- "fieldName": "checked"
689
- },
690
- {
691
- "name": "disabled",
692
- "type": {
693
- "text": "boolean"
694
- },
695
- "default": "false",
696
- "fieldName": "disabled"
697
- },
698
- {
699
- "name": "selects-single",
700
- "type": {
701
- "text": "boolean"
702
- },
703
- "default": "false",
704
- "fieldName": "selectsSingle"
705
- }
706
- ],
707
- "superclass": {
708
- "name": "SpectrumElement",
709
- "package": "@spectrum-web-components/base"
710
- },
711
- "tagName": "sp-table-checkbox-cell",
712
- "customElement": true
713
- }
714
- ],
715
- "exports": [
716
- {
717
- "kind": "js",
718
- "name": "TableCheckboxCell",
719
- "declaration": {
720
- "name": "TableCheckboxCell",
721
- "module": "src/TableCheckboxCell.js"
722
- }
723
- }
724
- ]
725
- },
726
- {
727
- "kind": "javascript-module",
728
- "path": "src/TableHead.js",
729
- "declarations": [
730
- {
731
- "kind": "class",
732
- "description": "",
733
- "name": "TableHead",
734
- "members": [
735
- {
736
- "kind": "field",
737
- "name": "role",
738
- "type": {
739
- "text": "string"
740
- },
741
- "privacy": "public",
742
- "default": "'row'",
743
- "attribute": "role",
744
- "reflects": true
745
- },
746
- {
747
- "kind": "field",
748
- "name": "selected",
749
- "type": {
750
- "text": "boolean | undefined"
751
- },
752
- "privacy": "public",
753
- "attribute": "selected",
754
- "reflects": true
755
- },
756
- {
757
- "kind": "method",
758
- "name": "handleSorted",
759
- "privacy": "private",
760
- "return": {
761
- "type": {
762
- "text": "void"
763
- }
764
- },
765
- "parameters": [
766
- {
767
- "name": "{ target }",
768
- "type": {
769
- "text": "Event"
770
- }
771
- }
772
- ]
773
- },
774
- {
775
- "kind": "method",
776
- "name": "handleChange",
777
- "privacy": "protected",
778
- "return": {
779
- "type": {
780
- "text": "void"
781
- }
782
- },
783
- "parameters": [
784
- {
785
- "name": "{\n target: checkboxCell,\n }",
786
- "type": {
787
- "text": "Event & { target: TableCheckboxCell }"
788
- }
789
- }
790
- ]
791
- }
792
- ],
793
- "attributes": [
794
- {
795
- "name": "role",
796
- "type": {
797
- "text": "string"
798
- },
799
- "default": "'row'",
800
- "fieldName": "role"
801
- },
802
- {
803
- "name": "selected",
804
- "type": {
805
- "text": "boolean | undefined"
806
- },
807
- "fieldName": "selected"
808
- }
809
- ],
810
- "superclass": {
811
- "name": "SpectrumElement",
812
- "package": "@spectrum-web-components/base"
813
- },
814
- "tagName": "sp-table-head",
815
- "customElement": true
816
- }
817
- ],
818
- "exports": [
819
- {
820
- "kind": "js",
821
- "name": "TableHead",
822
- "declaration": {
823
- "name": "TableHead",
824
- "module": "src/TableHead.js"
825
- }
826
- }
827
- ]
828
- },
829
- {
830
- "kind": "javascript-module",
831
- "path": "src/TableHeadCell.js",
832
- "declarations": [
833
- {
834
- "kind": "class",
835
- "description": "",
836
- "name": "TableHeadCell",
837
- "members": [
838
- {
839
- "kind": "field",
840
- "name": "role",
841
- "type": {
842
- "text": "string"
843
- },
844
- "privacy": "public",
845
- "default": "'columnheader'",
846
- "attribute": "role",
847
- "reflects": true
848
- },
849
- {
850
- "kind": "field",
851
- "name": "sortable",
852
- "type": {
853
- "text": "boolean"
854
- },
855
- "privacy": "public",
856
- "default": "false",
857
- "attribute": "sortable",
858
- "reflects": true
859
- },
860
- {
861
- "kind": "field",
862
- "name": "sortDirection",
863
- "type": {
864
- "text": "'asc' | 'desc' | undefined"
865
- },
866
- "privacy": "public",
867
- "attribute": "sort-direction",
868
- "reflects": true
869
- },
870
- {
871
- "kind": "field",
872
- "name": "sortKey",
873
- "type": {
874
- "text": "string"
875
- },
876
- "privacy": "public",
877
- "default": "''",
878
- "attribute": "sort-key"
879
- },
880
- {
881
- "kind": "method",
882
- "name": "handleClick",
883
- "privacy": "protected",
884
- "return": {
885
- "type": {
886
- "text": "void"
887
- }
888
- }
889
- }
890
- ],
891
- "events": [
892
- {
893
- "name": "sorted",
894
- "type": {
895
- "text": "CustomEvent"
896
- },
897
- "description": "Announces that the table head has been sorted and handles the sorted event"
898
- }
899
- ],
900
- "attributes": [
901
- {
902
- "name": "role",
903
- "type": {
904
- "text": "string"
905
- },
906
- "default": "'columnheader'",
907
- "fieldName": "role"
908
- },
909
- {
910
- "name": "sortable",
911
- "type": {
912
- "text": "boolean"
913
- },
914
- "default": "false",
915
- "fieldName": "sortable"
916
- },
917
- {
918
- "name": "sort-direction",
919
- "type": {
920
- "text": "'asc' | 'desc' | undefined"
921
- },
922
- "fieldName": "sortDirection"
923
- },
924
- {
925
- "name": "sort-key",
926
- "type": {
927
- "text": "string"
928
- },
929
- "default": "''",
930
- "fieldName": "sortKey"
931
- }
932
- ],
933
- "superclass": {
934
- "name": "SpectrumElement",
935
- "package": "@spectrum-web-components/base"
936
- },
937
- "tagName": "sp-table-head-cell",
938
- "customElement": true
939
- }
940
- ],
941
- "exports": [
942
- {
943
- "kind": "js",
944
- "name": "TableHeadCell",
945
- "declaration": {
946
- "name": "TableHeadCell",
947
- "module": "src/TableHeadCell.js"
948
- }
949
- }
950
- ]
951
- },
952
- {
953
- "kind": "javascript-module",
954
- "path": "src/TableRow.js",
955
- "declarations": [
956
- {
957
- "kind": "class",
958
- "description": "",
959
- "name": "TableRow",
960
- "members": [
961
- {
962
- "kind": "field",
963
- "name": "checkboxCells",
964
- "type": {
965
- "text": "TableCheckboxCell[]"
966
- }
967
- },
968
- {
969
- "kind": "field",
970
- "name": "role",
971
- "type": {
972
- "text": "string"
973
- },
974
- "privacy": "public",
975
- "default": "'row'",
976
- "attribute": "role",
977
- "reflects": true
978
- },
979
- {
980
- "kind": "field",
981
- "name": "selectable",
982
- "type": {
983
- "text": "boolean"
984
- },
985
- "privacy": "public",
986
- "default": "false",
987
- "attribute": "selectable"
988
- },
989
- {
990
- "kind": "field",
991
- "name": "selected",
992
- "type": {
993
- "text": "boolean"
994
- },
995
- "privacy": "public",
996
- "default": "false",
997
- "attribute": "selected",
998
- "reflects": true
999
- },
1000
- {
1001
- "kind": "field",
1002
- "name": "value",
1003
- "type": {
1004
- "text": "string"
1005
- },
1006
- "privacy": "public",
1007
- "default": "''",
1008
- "attribute": "value"
1009
- },
1010
- {
1011
- "kind": "method",
1012
- "name": "handleChange",
1013
- "privacy": "protected",
1014
- "return": {
1015
- "type": {
1016
- "text": "Promise<void>"
1017
- }
1018
- },
1019
- "parameters": [
1020
- {
1021
- "name": "event",
1022
- "type": {
1023
- "text": "Event & { target: TableCheckboxCell }"
1024
- }
1025
- }
1026
- ]
1027
- },
1028
- {
1029
- "kind": "method",
1030
- "name": "handleSlotchange",
1031
- "privacy": "protected",
1032
- "return": {
1033
- "type": {
1034
- "text": "void"
1035
- }
1036
- },
1037
- "parameters": [
1038
- {
1039
- "name": "{\n target,\n }",
1040
- "type": {
1041
- "text": "Event & { target: HTMLSlotElement }"
1042
- }
1043
- }
1044
- ]
1045
- },
1046
- {
1047
- "kind": "method",
1048
- "name": "manageSelected",
1049
- "privacy": "protected",
1050
- "return": {
1051
- "type": {
1052
- "text": "Promise<void>"
1053
- }
1054
- }
1055
- },
1056
- {
1057
- "kind": "method",
1058
- "name": "handleClick",
1059
- "privacy": "protected",
1060
- "return": {
1061
- "type": {
1062
- "text": "void"
1063
- }
1064
- },
1065
- "parameters": [
1066
- {
1067
- "name": "event",
1068
- "type": {
1069
- "text": "Event"
1070
- }
1071
- }
1072
- ]
1073
- }
1074
- ],
1075
- "events": [
1076
- {
1077
- "description": "Announces that `selected` of the table row has changed",
1078
- "name": "sorted"
1079
- }
1080
- ],
1081
- "attributes": [
1082
- {
1083
- "name": "role",
1084
- "type": {
1085
- "text": "string"
1086
- },
1087
- "default": "'row'",
1088
- "fieldName": "role"
1089
- },
1090
- {
1091
- "name": "selectable",
1092
- "type": {
1093
- "text": "boolean"
1094
- },
1095
- "default": "false",
1096
- "fieldName": "selectable"
1097
- },
1098
- {
1099
- "name": "selected",
1100
- "type": {
1101
- "text": "boolean"
1102
- },
1103
- "default": "false",
1104
- "fieldName": "selected"
1105
- },
1106
- {
1107
- "name": "value",
1108
- "type": {
1109
- "text": "string"
1110
- },
1111
- "default": "''",
1112
- "fieldName": "value"
1113
- }
1114
- ],
1115
- "superclass": {
1116
- "name": "SpectrumElement",
1117
- "package": "@spectrum-web-components/base"
1118
- },
1119
- "tagName": "sp-table-row",
1120
- "customElement": true
1121
- }
1122
- ],
1123
- "exports": [
1124
- {
1125
- "kind": "js",
1126
- "name": "TableRow",
1127
- "declaration": {
1128
- "name": "TableRow",
1129
- "module": "src/TableRow.js"
1130
- }
1131
- }
1132
- ]
1133
- }
1134
- ]
1135
- }