globuswebcomponents 2.16.7 → 2.17.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/dist/cjs/gb-accordion-card_80.cjs.entry.js +56 -34
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/cjs/test-wrapper.cjs.entry.js +16 -0
- package/dist/cjs/test-wrapper.entry.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-button/readme.md +102 -101
- package/dist/collection/components/gb-table/gb-table.js +92 -20
- package/dist/collection/components/gb-table/gb-table.js.map +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.js +1 -4
- package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -1
- package/dist/collection/components/gb-table-test/gb-table-test.js +12 -0
- package/dist/collection/components/gb-table-test/gb-table-test.js.map +1 -0
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-accordion-card.js +2 -2
- package/dist/components/gb-action-panel.js +2 -2
- package/dist/components/gb-approval-modal.js +8 -8
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +2 -2
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.js +2 -2
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +2 -2
- package/dist/components/gb-empty-state.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +4 -4
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-filter-modal.js +1 -1
- package/dist/components/gb-header.js +13 -13
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown-test.js +9 -9
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-modal.js +3 -3
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +1 -1
- package/dist/components/gb-nav-bar.js +2 -2
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination.js +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-prompt-modal.js +2 -2
- package/dist/components/gb-rich-text.js +12 -12
- package/dist/components/gb-sidebar.js +5 -5
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +2 -2
- package/dist/components/gb-table-header.js +1 -1
- package/dist/components/gb-table.js +1 -1502
- package/dist/components/gb-table.js.map +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +1 -1
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/{p-RYI-NXAf.js → p-4YZvp-qM.js} +3 -3
- package/dist/components/{p-RYI-NXAf.js.map → p-4YZvp-qM.js.map} +1 -1
- package/dist/components/{p-CNZgIErI.js → p-B-_n34Mq.js} +3 -3
- package/dist/components/{p-CNZgIErI.js.map → p-B-_n34Mq.js.map} +1 -1
- package/dist/components/{p-eocLyEbn.js → p-B0otylT9.js} +4 -4
- package/dist/components/{p-eocLyEbn.js.map → p-B0otylT9.js.map} +1 -1
- package/dist/components/{p-BPKh01-Y.js → p-B9y0gFWa.js} +3 -3
- package/dist/components/{p-BPKh01-Y.js.map → p-B9y0gFWa.js.map} +1 -1
- package/dist/components/{p-BBJx6t2D.js → p-BH_pWFmu.js} +10 -10
- package/dist/components/{p-BBJx6t2D.js.map → p-BH_pWFmu.js.map} +1 -1
- package/dist/components/{p-CZa3TqhR.js → p-BNAvzBZq.js} +3 -3
- package/dist/components/{p-CZa3TqhR.js.map → p-BNAvzBZq.js.map} +1 -1
- package/dist/components/{p-Dkns49uP.js → p-BQeqF_-6.js} +4 -4
- package/dist/components/{p-Dkns49uP.js.map → p-BQeqF_-6.js.map} +1 -1
- package/dist/components/{p-Bz0jFwYF.js → p-BX4Hw5Pp.js} +3 -3
- package/dist/components/{p-Bz0jFwYF.js.map → p-BX4Hw5Pp.js.map} +1 -1
- package/dist/components/{p-DIl8jQ_E.js → p-Bp0YR1uJ.js} +3 -3
- package/dist/components/{p-DIl8jQ_E.js.map → p-Bp0YR1uJ.js.map} +1 -1
- package/dist/components/{p-ruRtAV-Q.js → p-C-e3hNlH.js} +4 -4
- package/dist/components/{p-ruRtAV-Q.js.map → p-C-e3hNlH.js.map} +1 -1
- package/dist/components/{p-CYZqV7dd.js → p-C1BEL6jH.js} +12 -12
- package/dist/components/{p-CYZqV7dd.js.map → p-C1BEL6jH.js.map} +1 -1
- package/dist/components/{p-DZZ7BGdd.js → p-C2x5lNJ2.js} +3 -3
- package/dist/components/{p-DZZ7BGdd.js.map → p-C2x5lNJ2.js.map} +1 -1
- package/dist/components/{p-B3_8Yy_f.js → p-C5In_G7H.js} +3 -3
- package/dist/components/{p-B3_8Yy_f.js.map → p-C5In_G7H.js.map} +1 -1
- package/dist/components/{p-BmbAWgDy.js → p-CHKnEWqk.js} +4 -4
- package/dist/components/{p-BmbAWgDy.js.map → p-CHKnEWqk.js.map} +1 -1
- package/dist/components/{p-BmO34cKZ.js → p-CU5l35gn.js} +3 -3
- package/dist/components/{p-BmO34cKZ.js.map → p-CU5l35gn.js.map} +1 -1
- package/dist/components/{p-D2ggwGg4.js → p-CZkEMeZd.js} +4 -4
- package/dist/components/{p-D2ggwGg4.js.map → p-CZkEMeZd.js.map} +1 -1
- package/dist/components/{p-2sFOwXcZ.js → p-CcdQMEiN.js} +14 -14
- package/dist/components/{p-2sFOwXcZ.js.map → p-CcdQMEiN.js.map} +1 -1
- package/dist/components/{p-5Xq8t1Mq.js → p-Cf_GFf1d.js} +4 -4
- package/dist/components/{p-5Xq8t1Mq.js.map → p-Cf_GFf1d.js.map} +1 -1
- package/dist/components/{p-DRCUtDIM.js → p-ChGsSHyD.js} +3 -3
- package/dist/components/{p-DRCUtDIM.js.map → p-ChGsSHyD.js.map} +1 -1
- package/dist/components/{p-CjigXln7.js → p-Cp9sNYro.js} +3 -3
- package/dist/components/{p-CjigXln7.js.map → p-Cp9sNYro.js.map} +1 -1
- package/dist/components/{p-Djuz39na.js → p-Cx4oJFSt.js} +3 -3
- package/dist/components/{p-Djuz39na.js.map → p-Cx4oJFSt.js.map} +1 -1
- package/dist/components/{p-DPuTbMwA.js → p-CxgSqKYx.js} +3 -3
- package/dist/components/{p-DPuTbMwA.js.map → p-CxgSqKYx.js.map} +1 -1
- package/dist/components/{p-CeoQ2L1U.js → p-D2XNcd98.js} +11 -11
- package/dist/components/{p-CeoQ2L1U.js.map → p-D2XNcd98.js.map} +1 -1
- package/dist/components/p-DDeW0ybD.js +1534 -0
- package/dist/components/p-DDeW0ybD.js.map +1 -0
- package/dist/components/{p-BKpTpaGR.js → p-DTVnCJvY.js} +3 -3
- package/dist/components/{p-BKpTpaGR.js.map → p-DTVnCJvY.js.map} +1 -1
- package/dist/components/{p-DG0h2Btt.js → p-DX7NMlGY.js} +9 -9
- package/dist/components/{p-DG0h2Btt.js.map → p-DX7NMlGY.js.map} +1 -1
- package/dist/components/{p-BhAtkEeE.js → p-DclzsKE1.js} +3 -3
- package/dist/components/{p-BhAtkEeE.js.map → p-DclzsKE1.js.map} +1 -1
- package/dist/components/{p-DOIqRGL9.js → p-DeXQ5EJ5.js} +3 -3
- package/dist/components/{p-DOIqRGL9.js.map → p-DeXQ5EJ5.js.map} +1 -1
- package/dist/components/{p-B_4Sufqr.js → p-DgixiwuN.js} +14 -17
- package/dist/components/p-DgixiwuN.js.map +1 -0
- package/dist/components/{p-I-FsdhaJ.js → p-Dh9pNyX0.js} +4 -4
- package/dist/components/{p-I-FsdhaJ.js.map → p-Dh9pNyX0.js.map} +1 -1
- package/dist/components/{p-DxHosdd2.js → p-Dt60TTUE.js} +6 -6
- package/dist/components/{p-DxHosdd2.js.map → p-Dt60TTUE.js.map} +1 -1
- package/dist/components/{p-COetkeEu.js → p-GszQCyXb.js} +4 -4
- package/dist/components/{p-COetkeEu.js.map → p-GszQCyXb.js.map} +1 -1
- package/dist/components/{p-BDWjPR9l.js → p-QPpFI6Tl.js} +5 -5
- package/dist/components/{p-BDWjPR9l.js.map → p-QPpFI6Tl.js.map} +1 -1
- package/dist/components/{p-Bd2ZnVK1.js → p-TVd0-ncC.js} +5 -5
- package/dist/components/{p-Bd2ZnVK1.js.map → p-TVd0-ncC.js.map} +1 -1
- package/dist/components/{p-CHQxg5wT.js → p-XOEsdWXU.js} +4 -4
- package/dist/components/{p-CHQxg5wT.js.map → p-XOEsdWXU.js.map} +1 -1
- package/dist/components/{p-DeOS2_XS.js → p-b_TGMORd.js} +5 -5
- package/dist/components/{p-DeOS2_XS.js.map → p-b_TGMORd.js.map} +1 -1
- package/dist/components/p-cHn6O-Kf.js.map +1 -1
- package/dist/components/{p-B6qvek5r.js → p-dvsnNsWY.js} +5 -5
- package/dist/components/{p-B6qvek5r.js.map → p-dvsnNsWY.js.map} +1 -1
- package/dist/components/{p-BllD9Ljp.js → p-iWdssWCr.js} +3 -3
- package/dist/components/{p-BllD9Ljp.js.map → p-iWdssWCr.js.map} +1 -1
- package/dist/components/{p-B9JGeRlv.js → p-n4Lzg2Aw.js} +3 -3
- package/dist/components/{p-B9JGeRlv.js.map → p-n4Lzg2Aw.js.map} +1 -1
- package/dist/components/{p-CoJ4VSgF.js → p-wH0NPWp6.js} +6 -6
- package/dist/components/{p-CoJ4VSgF.js.map → p-wH0NPWp6.js.map} +1 -1
- package/dist/components/test-input-tag.js +6 -6
- package/dist/components/test-wrapper.d.ts +11 -0
- package/dist/components/test-wrapper.js +307 -0
- package/dist/components/test-wrapper.js.map +1 -0
- package/dist/docs.json +239 -12
- package/dist/esm/gb-accordion-card_80.entry.js +56 -34
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-vertical-tabs.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/esm/test-wrapper.entry.js +14 -0
- package/dist/esm/test-wrapper.entry.js.map +1 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/p-0bb96d33.entry.js +2 -0
- package/dist/globuscomponents/p-0bb96d33.entry.js.map +1 -0
- package/dist/globuscomponents/{p-56c49467.entry.js → p-1e5f04e2.entry.js} +2 -2
- package/dist/globuscomponents/{p-db354494.entry.js → p-3bf86ca5.entry.js} +2 -2
- package/dist/globuscomponents/p-3bf86ca5.entry.js.map +1 -0
- package/dist/globuscomponents/{p-7614551d.entry.js → p-42063daf.entry.js} +2 -2
- package/dist/globuscomponents/{p-8894dc1d.entry.js → p-528e9bbf.entry.js} +2 -2
- package/dist/globuscomponents/{p-7e0ff4ed.entry.js → p-53b415e8.entry.js} +2 -2
- package/dist/globuscomponents/{p-5782ab88.entry.js → p-9767bb82.entry.js} +2 -2
- package/dist/globuscomponents/{p-28feaec2.entry.js → p-b2bab8bd.entry.js} +2 -2
- package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
- package/dist/globuscomponents/readme.md +102 -101
- package/dist/globuscomponents/test-wrapper.entry.esm.js.map +1 -0
- package/dist/types/components/gb-table/gb-table.d.ts +2 -1
- package/dist/types/components/gb-table-test/gb-table-test.d.ts +4 -0
- package/dist/types/components.d.ts +28 -6
- package/dist/types/models/reusableModels.d.ts +2 -2
- package/package.json +1 -1
- package/dist/components/p-B_4Sufqr.js.map +0 -1
- package/dist/globuscomponents/p-db354494.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-56c49467.entry.js.map → p-1e5f04e2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7614551d.entry.js.map → p-42063daf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8894dc1d.entry.js.map → p-528e9bbf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7e0ff4ed.entry.js.map → p-53b415e8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5782ab88.entry.js.map → p-9767bb82.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-28feaec2.entry.js.map → p-b2bab8bd.entry.js.map} +0 -0
|
@@ -1,103 +1,104 @@
|
|
|
1
1
|
# test-button
|
|
2
2
|
|
|
3
|
-
<!-- Auto Generated Below -->
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
| Property | Attribute | Description | Type | Default |
|
|
9
|
-
| ------------------- | --------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------- |
|
|
10
|
-
| `arrow` | `arrow` | | `"bottom_center" \| "bottom_left" \| "bottom_right" \| "center" \| "left" \| "none" \| "right" \| "top_center"` | `'bottom_center'` |
|
|
11
|
-
| `destructive` | `destructive` | | `boolean` | `false` |
|
|
12
|
-
| `event` | `event` | | `boolean` | `false` |
|
|
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
|
-
- [gb-
|
|
49
|
-
- [gb-
|
|
50
|
-
- [gb-
|
|
51
|
-
- [gb-
|
|
52
|
-
- [gb-
|
|
53
|
-
- [gb-
|
|
54
|
-
- [gb-file-upload
|
|
55
|
-
- [gb-
|
|
56
|
-
- [gb-filter-
|
|
57
|
-
- [gb-
|
|
58
|
-
- [gb-input-dropdown
|
|
59
|
-
- [gb-input-
|
|
60
|
-
- [gb-
|
|
61
|
-
- [gb-
|
|
62
|
-
- [gb-
|
|
63
|
-
- [gb-
|
|
64
|
-
- [gb-
|
|
65
|
-
- [gb-
|
|
66
|
-
- [gb-table
|
|
67
|
-
- [gb-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
gb-
|
|
78
|
-
gb-
|
|
79
|
-
gb-
|
|
80
|
-
gb-
|
|
81
|
-
gb-
|
|
82
|
-
gb-
|
|
83
|
-
gb-
|
|
84
|
-
gb-file-upload
|
|
85
|
-
gb-
|
|
86
|
-
gb-filter-
|
|
87
|
-
gb-
|
|
88
|
-
gb-input-dropdown
|
|
89
|
-
gb-input-
|
|
90
|
-
gb-
|
|
91
|
-
gb-
|
|
92
|
-
gb-
|
|
93
|
-
gb-
|
|
94
|
-
gb-
|
|
95
|
-
gb-
|
|
96
|
-
gb-table
|
|
97
|
-
gb-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
3
|
+
<!-- Auto Generated Below -->
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
| Property | Attribute | Description | Type | Default |
|
|
9
|
+
| ------------------- | --------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------- |
|
|
10
|
+
| `arrow` | `arrow` | | `"bottom_center" \| "bottom_left" \| "bottom_right" \| "center" \| "left" \| "none" \| "right" \| "top_center"` | `'bottom_center'` |
|
|
11
|
+
| `destructive` | `destructive` | | `boolean` | `false` |
|
|
12
|
+
| `event` | `event` | | `boolean` | `false` |
|
|
13
|
+
| `fullWidth` | `full-width` | | `boolean` | `true` |
|
|
14
|
+
| `hierarchy` | `hierarchy` | | `"link_color" \| "link_gray" \| "primary" \| "secondary_color" \| "secondary_gray" \| "tertiary_color" \| "tertiary_gray"` | `'primary'` |
|
|
15
|
+
| `icon` | `icon` | | `"default" \| "only"` | `'default'` |
|
|
16
|
+
| `iconConfig` | -- | | `{ iconLeadingStyle: string; iconLeadingType: string; }` | `undefined` |
|
|
17
|
+
| `iconLeading` | `icon-leading` | | `boolean` | `false` |
|
|
18
|
+
| `iconLeadingStyle` | `icon-leading-style` | | `string` | `''` |
|
|
19
|
+
| `iconLeadingSwap` | `icon-leading-swap` | | `string` | `''` |
|
|
20
|
+
| `iconLeadingType` | `icon-leading-type` | | `string` | `''` |
|
|
21
|
+
| `iconTrailing` | `icon-trailing` | | `boolean` | `false` |
|
|
22
|
+
| `iconTrailingStyle` | `icon-trailing-style` | | `string` | `''` |
|
|
23
|
+
| `iconTrailingSwap` | `icon-trailing-swap` | | `string` | `''` |
|
|
24
|
+
| `iconTrailingType` | `icon-trailing-type` | | `string` | `''` |
|
|
25
|
+
| `rounded` | `rounded` | | `boolean` | `false` |
|
|
26
|
+
| `size` | `size` | | `"lg" \| "md" \| "profile_lg" \| "profile_md" \| "profile_sm" \| "sm" \| "xl" \| "xs" \| "xxl" \| "xxs" \| "xxxl" \| "xxxxl"` | `'xl'` |
|
|
27
|
+
| `state` | `state` | | `"applied" \| "default" \| "disabled" \| "loading" \| "open"` | `'default'` |
|
|
28
|
+
| `tooltipText` | `tooltip-text` | | `string` | `''` |
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Methods
|
|
32
|
+
|
|
33
|
+
### `getNativeButton() => Promise<HTMLButtonElement | null>`
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
Type: `Promise<HTMLButtonElement>`
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Dependencies
|
|
45
|
+
|
|
46
|
+
### Used by
|
|
47
|
+
|
|
48
|
+
- [gb-action-panel](../gb-action-panel)
|
|
49
|
+
- [gb-checkbox-group-item](../gb-checkbox-group-item)
|
|
50
|
+
- [gb-comment](../gb-comment)
|
|
51
|
+
- [gb-date-picker](../gb-date-picker)
|
|
52
|
+
- [gb-detail-cell](../gb-detail-cell)
|
|
53
|
+
- [gb-empty-state](../gb-empty-state)
|
|
54
|
+
- [gb-file-upload](../gb-file-upload)
|
|
55
|
+
- [gb-file-upload-item-base](../gb-file-upload-item-base)
|
|
56
|
+
- [gb-filter-button](../gb-filter-button)
|
|
57
|
+
- [gb-filter-modal](../gb-filter-modal)
|
|
58
|
+
- [gb-input-dropdown](../gb-input-dropdown)
|
|
59
|
+
- [gb-input-dropdown-test](../gb-input-dropdown copy)
|
|
60
|
+
- [gb-input-field](../gb-input-field)
|
|
61
|
+
- [gb-modal-action](../gb-modal-action)
|
|
62
|
+
- [gb-notification-pane](../gb-notification-pane)
|
|
63
|
+
- [gb-pagination](../gb-pagination)
|
|
64
|
+
- [gb-password-button](../gb-password-button)
|
|
65
|
+
- [gb-prompt-modal](../gb-prompt-modal)
|
|
66
|
+
- [gb-table](../gb-table)
|
|
67
|
+
- [gb-table-header](../gb-table-header)
|
|
68
|
+
- [gb-toast](../gb-toast)
|
|
69
|
+
|
|
70
|
+
### Depends on
|
|
71
|
+
|
|
72
|
+
- [gb-tooltip](../gb-tooltip)
|
|
73
|
+
|
|
74
|
+
### Graph
|
|
75
|
+
```mermaid
|
|
76
|
+
graph TD;
|
|
77
|
+
gb-button --> gb-tooltip
|
|
78
|
+
gb-action-panel --> gb-button
|
|
79
|
+
gb-checkbox-group-item --> gb-button
|
|
80
|
+
gb-comment --> gb-button
|
|
81
|
+
gb-date-picker --> gb-button
|
|
82
|
+
gb-detail-cell --> gb-button
|
|
83
|
+
gb-empty-state --> gb-button
|
|
84
|
+
gb-file-upload --> gb-button
|
|
85
|
+
gb-file-upload-item-base --> gb-button
|
|
86
|
+
gb-filter-button --> gb-button
|
|
87
|
+
gb-filter-modal --> gb-button
|
|
88
|
+
gb-input-dropdown --> gb-button
|
|
89
|
+
gb-input-dropdown-test --> gb-button
|
|
90
|
+
gb-input-field --> gb-button
|
|
91
|
+
gb-modal-action --> gb-button
|
|
92
|
+
gb-notification-pane --> gb-button
|
|
93
|
+
gb-pagination --> gb-button
|
|
94
|
+
gb-password-button --> gb-button
|
|
95
|
+
gb-prompt-modal --> gb-button
|
|
96
|
+
gb-table --> gb-button
|
|
97
|
+
gb-table-header --> gb-button
|
|
98
|
+
gb-toast --> gb-button
|
|
99
|
+
style gb-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
----------------------------------------------
|
|
103
|
+
|
|
104
|
+
*Built with [StencilJS](https://stenciljs.com/)*
|
|
@@ -29,14 +29,14 @@ export class GbTable {
|
|
|
29
29
|
// key: 'status',
|
|
30
30
|
// label: 'Status',
|
|
31
31
|
// cellComponent: 'gb-badge',
|
|
32
|
-
//
|
|
33
|
-
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
32
|
+
// cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),
|
|
33
|
+
// cellSlots: {
|
|
34
|
+
// default: {
|
|
35
|
+
// tag: 'p',
|
|
36
|
+
// content: row => row.status,
|
|
37
|
+
// },
|
|
37
38
|
// },
|
|
38
39
|
// },
|
|
39
|
-
// },
|
|
40
40
|
];
|
|
41
41
|
this.data = [
|
|
42
42
|
// {
|
|
@@ -414,6 +414,29 @@ export class GbTable {
|
|
|
414
414
|
// },
|
|
415
415
|
];
|
|
416
416
|
// = {
|
|
417
|
+
// name: { key: 'name' },
|
|
418
|
+
// badges: [
|
|
419
|
+
// { key: 'role', label: 'Role' },
|
|
420
|
+
// { key: 'amount', label: 'Amount' },
|
|
421
|
+
// ],
|
|
422
|
+
// button: { icon: 'assets/sent.svg', text: 'Send Money', action: 'send_money' },
|
|
423
|
+
// };
|
|
424
|
+
this.tableHeaderConfig = {
|
|
425
|
+
type: 'default',
|
|
426
|
+
tableHeading: false,
|
|
427
|
+
tableHeadingLabel: 'Suspicious outflows',
|
|
428
|
+
showDateFilter: true,
|
|
429
|
+
showFilter: true,
|
|
430
|
+
showColumnOptions: false,
|
|
431
|
+
showSearch: true,
|
|
432
|
+
showExport: true,
|
|
433
|
+
showRefreshButton: false,
|
|
434
|
+
showLayoutToggle: false,
|
|
435
|
+
datePickerMode: 'range',
|
|
436
|
+
inputPlaceholder: 'Transaction reference',
|
|
437
|
+
showEntireData: true,
|
|
438
|
+
};
|
|
439
|
+
// = {
|
|
417
440
|
// paginationMode: 'internal',
|
|
418
441
|
// entriesDropdownMenuPosition: 'top',
|
|
419
442
|
// currentPage: 1,
|
|
@@ -471,9 +494,10 @@ export class GbTable {
|
|
|
471
494
|
};
|
|
472
495
|
this.showActionsColumn = true;
|
|
473
496
|
this.rowActions = [
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
497
|
+
// { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },
|
|
498
|
+
// { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
|
|
499
|
+
// { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },
|
|
500
|
+
{ action: 'edit', type: 'custom' },
|
|
477
501
|
];
|
|
478
502
|
this.dropdownOptions = [
|
|
479
503
|
// { label: 'Download invalid', action: 'view', icon: 'assets/view.svg', disabled: false },
|
|
@@ -482,7 +506,7 @@ export class GbTable {
|
|
|
482
506
|
];
|
|
483
507
|
this.stickyFirstColumn = true;
|
|
484
508
|
this.stickyLastColumn = true;
|
|
485
|
-
this.showCheckbox =
|
|
509
|
+
this.showCheckbox = false;
|
|
486
510
|
this.tableHeadColor = 'gray';
|
|
487
511
|
this.rowKey = 'id';
|
|
488
512
|
this.tableHeaderType = 'default';
|
|
@@ -569,7 +593,8 @@ export class GbTable {
|
|
|
569
593
|
this.isScrollable = newScrollable; // only update if different
|
|
570
594
|
}
|
|
571
595
|
}
|
|
572
|
-
handleAction(action, row) {
|
|
596
|
+
async handleAction(action, row) {
|
|
597
|
+
console.log('Action clicked:', action, row);
|
|
573
598
|
this.rowActionClicked.emit({ action, row });
|
|
574
599
|
}
|
|
575
600
|
renderCell(col, row) {
|
|
@@ -876,7 +901,7 @@ export class GbTable {
|
|
|
876
901
|
.map((col, index) => (h(Fragment, null, h("td", { style: { textAlign: col.align || 'left' }, class: `table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}` }, this.renderCell(col, row))))), this.showActionsColumn && (h("td", { class: { table_detail: true, actions_cell: true, sticky_right: this.stickyLastColumn, has_border: this.isScrollable }, style: { width: '50px' } }, h(Fragment, null, h("div", { class: "action_buttons" }, this.rowActions.map(action => (h(Fragment, null, action.type === 'dropdown' ? (h("gb-button", { id: `gb-table-trigger-${rowIndex}`, ref: el => (this.actionButtonRefs[rowIndex] = el), class: "dropdown_button", hierarchy: "tertiary_gray", size: "md", icon: "only", iconLeading: true, iconLeadingSwap: "assets/more-horizontal.svg", onClick: e => {
|
|
877
902
|
e.stopPropagation();
|
|
878
903
|
this.toggleDropdown(rowIndex);
|
|
879
|
-
} })) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
|
|
904
|
+
} })) : action.type === 'custom' ? (this.renderCustomActions ? (this.renderCustomActions(row)) : null) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
|
|
880
905
|
e.stopPropagation();
|
|
881
906
|
this.handleAction(action.action, row);
|
|
882
907
|
} })))))), h(Fragment, null, this.openRowIndex === rowIndex && (h("gb-portal", { "anchor-id": `gb-table-trigger-${rowIndex}`, placement: this.dropdownPlacement, anchorEl: this.currentAnchorEl, boundaryEl: this.scrollContainer, dropdownHeight: requestAnimationFrame(() => this.dropdownRef.scrollHeight), open: true }, h("div", { class: "portal_dropdown_wrapper", ref: el => (this.dropdownRef = el) }, this.dropdownOptions.map(action => (h("gb-dropdown-items-with-shortcut", { icon: action.icon ? true : false, state: action.disabled ? StateEnum.Disabled : StateEnum.Default, label: action.label, "icon-src": action.icon, onClick: () => {
|
|
@@ -1097,16 +1122,16 @@ export class GbTable {
|
|
|
1097
1122
|
window.removeEventListener('resize', this.checkViewport);
|
|
1098
1123
|
}
|
|
1099
1124
|
render() {
|
|
1100
|
-
return (h("div", { key: '
|
|
1125
|
+
return (h("div", { key: 'ecbd96f75a578fe7c4729faa64e0981b4db76883', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: '27a90c6c234d6316b92126787b59cc30a4a861ee', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: 'f74e3eb05a230a35674708ee9319d6f3ead930c2', type: this.tableHeaderConfig.type, mode: this.tableHeaderConfig.datePickerMode, "table-heading": this.tableHeaderConfig.tableHeading, "table-heading-label": this.tableHeaderConfig.tableHeadingLabel, "show-search": this.tableHeaderConfig.showSearch, "show-date-filter": this.tableHeaderConfig.showDateFilter, "show-filter": this.tableHeaderConfig.showFilter, "show-export": this.tableHeaderConfig.showExport, "show-column-options": this.tableHeaderConfig.showColumnOptions, "show-refresh-button": this.tableHeaderConfig.showRefreshButton, "input-placeholder": this.tableHeaderConfig.inputPlaceholder, "date-picker-placeholder": this.tableHeaderConfig.datePickerPlaceholder, "show-entire-data": this.tableHeaderConfig.showEntireData, "show-layout-toggle": this.tableHeaderConfig.showLayoutToggle, "filter-state": Object.keys(this.appliedFilterValues).length > 0 ? 'applied' : 'default', "filter-count": Object.keys(this.appliedFilterValues).length, "export-button-state": this.tableHeaderConfig.exportButtonState, "pdf-state": this.tableHeaderConfig.pdfState, "csv-state": this.tableHeaderConfig.csvState, onInputValueChanged: this.emitSearchValue.bind(this), onDateChange: this.emitDateChange.bind(this), onColumnOptionsButtonClicked: this.columnOptionsButtonClicked(), onExportClicked: e => this.exportButtonClicked(e), onFilterButtonClicked: () => this.openFilterModal(), onRefreshButtonClicked: () => this.onRefreshButtonClicked(), onLayoutButtonClicked: e => this.switchTableLayout(e), onTableControlClicked: e => this.emitTableContolClickedEvent(e) }))), this.showColumnsPanel && this.columns.length > 0 && (h("div", { key: '03a69e03ed948c172825d60afd1b21aebed704d9', class: "dialog", style: {
|
|
1101
1126
|
transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,
|
|
1102
|
-
} }, h("div", { key: '
|
|
1127
|
+
} }, h("div", { key: 'e13f8d1e50ca0f943249d5ebb4827dd81a4c1218', class: "column-modal" }, h("div", { key: '448f4233a36435bbf34e4b839614e33072a4045d', class: "modal_header" }, h("div", { key: '69732e7e814d86476e678fb3143c150a9e4a72b3', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: 'e7ab5e157444fffccc412954ce36d8e13e28686b', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '8d91a7c96ae86b19274046bd1bbf8037a4b05461', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '78ee134fb4f9e5a0878effdbc5f51cde7f4782b0', class: "content_wrapper" }, h("div", { key: 'b78b3fbfa603be4b198aa469b69750761659a0c7', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
|
|
1103
1128
|
if (this.draggedIndex !== null && this.draggedIndex !== index) {
|
|
1104
1129
|
this.reorderColumns(this.draggedIndex, index);
|
|
1105
1130
|
}
|
|
1106
1131
|
this.draggedIndex = null;
|
|
1107
1132
|
} }, h("div", { class: "label_and_dragger" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { d: "M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16", stroke: "var(--color-icon, #4B5565)", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("p", { class: "label text-md-regular" }, col.label)), h("gb-toggle", { size: "sm", state: StateEnum.Default, position: "right", pressed: col.visible, text: false, onToggleClicked: e => {
|
|
1108
1133
|
this.toggleColumn(e, col.key);
|
|
1109
|
-
} })))), h("div", { key: '
|
|
1134
|
+
} })))), h("div", { key: '81bfd60a84ae3ce018800519a7e16425a44a990e', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: '4fcf8c485b7f9240f9fa9bdfdbc07cc925210038', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: 'c2432a18c99e29b18ca2a55ff9339d2356caee39', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
|
|
1110
1135
|
e.stopPropagation();
|
|
1111
1136
|
this.closeFilterModal();
|
|
1112
1137
|
}, onApplyFilters: e => this.onApplyFilters(e), onClearFilters: () => this.handleClearFilters() }))), this.internalLoading ? (
|
|
@@ -1153,7 +1178,7 @@ export class GbTable {
|
|
|
1153
1178
|
? this.renderDesktopView()
|
|
1154
1179
|
: this.currentTableLayout === 'grid'
|
|
1155
1180
|
? this.renderGridView()
|
|
1156
|
-
: null)), this.paginationConfig && (h("div", { key: '
|
|
1181
|
+
: null)), this.paginationConfig && (h("div", { key: 'dacef80f52cbcaecb101a6c1f20a1caddea54a96', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: 'f50686e161588aa3e9d7d564aee3131fb5ca335d', "entries-dropdown-menu-position": this.paginationConfig.entriesDropdownMenuPosition, "page-size": this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize, "current-page": this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage, "total-pages": this.totalPages, onPageItemSelected: this.handlePageChange.bind(this) }))), this.showToast && (h("gb-toast", { key: '9654af9af7f09183e29459f40e704955018d5c2b', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
|
|
1157
1182
|
}
|
|
1158
1183
|
static get is() { return "gb-table"; }
|
|
1159
1184
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1211,7 +1236,7 @@ export class GbTable {
|
|
|
1211
1236
|
},
|
|
1212
1237
|
"getter": false,
|
|
1213
1238
|
"setter": false,
|
|
1214
|
-
"defaultValue": "[\r\n // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },\r\n // {\r\n // key: 'name',\r\n // label: 'Name',\r\n // sortable: true,\r\n // sortType: 'string',\r\n // helpIcon: true,\r\n // searchable: true,\r\n // hasAvatar: true,\r\n // cellAvatar: {\r\n // // image: '',\r\n // slots: {\r\n // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)),\r\n // image: row => row.image,\r\n // },\r\n // },\r\n // mobile: { position: 'top_right' },\r\n // },\r\n // { key: 'role', label: 'Role', searchable: true },\r\n // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) },\r\n // {\r\n // key: 'status',\r\n // label: 'Status',\r\n // cellComponent: 'gb-badge',\r\n //
|
|
1239
|
+
"defaultValue": "[\r\n // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },\r\n // {\r\n // key: 'name',\r\n // label: 'Name',\r\n // sortable: true,\r\n // sortType: 'string',\r\n // helpIcon: true,\r\n // searchable: true,\r\n // hasAvatar: true,\r\n // cellAvatar: {\r\n // // image: '',\r\n // slots: {\r\n // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)),\r\n // image: row => row.image,\r\n // },\r\n // },\r\n // mobile: { position: 'top_right' },\r\n // },\r\n // { key: 'role', label: 'Role', searchable: true },\r\n // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) },\r\n // {\r\n // key: 'status',\r\n // label: 'Status',\r\n // cellComponent: 'gb-badge',\r\n // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]"
|
|
1215
1240
|
},
|
|
1216
1241
|
"data": {
|
|
1217
1242
|
"type": "unknown",
|
|
@@ -1263,7 +1288,8 @@ export class GbTable {
|
|
|
1263
1288
|
"text": ""
|
|
1264
1289
|
},
|
|
1265
1290
|
"getter": false,
|
|
1266
|
-
"setter": false
|
|
1291
|
+
"setter": false,
|
|
1292
|
+
"defaultValue": "{\r\n type: 'default',\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: false,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n showLayoutToggle: false,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n showEntireData: true,\r\n }"
|
|
1267
1293
|
},
|
|
1268
1294
|
"paginationConfig": {
|
|
1269
1295
|
"type": "unknown",
|
|
@@ -1402,7 +1428,7 @@ export class GbTable {
|
|
|
1402
1428
|
},
|
|
1403
1429
|
"getter": false,
|
|
1404
1430
|
"setter": false,
|
|
1405
|
-
"defaultValue": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n ]"
|
|
1431
|
+
"defaultValue": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n { action: 'edit', type: 'custom' },\r\n ]"
|
|
1406
1432
|
},
|
|
1407
1433
|
"dropdownOptions": {
|
|
1408
1434
|
"type": "unknown",
|
|
@@ -1486,7 +1512,7 @@ export class GbTable {
|
|
|
1486
1512
|
"setter": false,
|
|
1487
1513
|
"reflect": false,
|
|
1488
1514
|
"attribute": "show-checkbox",
|
|
1489
|
-
"defaultValue": "
|
|
1515
|
+
"defaultValue": "false"
|
|
1490
1516
|
},
|
|
1491
1517
|
"tableHeadColor": {
|
|
1492
1518
|
"type": "string",
|
|
@@ -1547,6 +1573,23 @@ export class GbTable {
|
|
|
1547
1573
|
"reflect": false,
|
|
1548
1574
|
"attribute": "table-header-type",
|
|
1549
1575
|
"defaultValue": "'default'"
|
|
1576
|
+
},
|
|
1577
|
+
"renderCustomActions": {
|
|
1578
|
+
"type": "unknown",
|
|
1579
|
+
"mutable": false,
|
|
1580
|
+
"complexType": {
|
|
1581
|
+
"original": "(row: any) => any",
|
|
1582
|
+
"resolved": "(row: any) => any",
|
|
1583
|
+
"references": {}
|
|
1584
|
+
},
|
|
1585
|
+
"required": false,
|
|
1586
|
+
"optional": true,
|
|
1587
|
+
"docs": {
|
|
1588
|
+
"tags": [],
|
|
1589
|
+
"text": ""
|
|
1590
|
+
},
|
|
1591
|
+
"getter": false,
|
|
1592
|
+
"setter": false
|
|
1550
1593
|
}
|
|
1551
1594
|
};
|
|
1552
1595
|
}
|
|
@@ -1763,6 +1806,35 @@ export class GbTable {
|
|
|
1763
1806
|
}
|
|
1764
1807
|
}];
|
|
1765
1808
|
}
|
|
1809
|
+
static get methods() {
|
|
1810
|
+
return {
|
|
1811
|
+
"handleAction": {
|
|
1812
|
+
"complexType": {
|
|
1813
|
+
"signature": "(action: string, row: any) => Promise<void>",
|
|
1814
|
+
"parameters": [{
|
|
1815
|
+
"name": "action",
|
|
1816
|
+
"type": "string",
|
|
1817
|
+
"docs": ""
|
|
1818
|
+
}, {
|
|
1819
|
+
"name": "row",
|
|
1820
|
+
"type": "any",
|
|
1821
|
+
"docs": ""
|
|
1822
|
+
}],
|
|
1823
|
+
"references": {
|
|
1824
|
+
"Promise": {
|
|
1825
|
+
"location": "global",
|
|
1826
|
+
"id": "global::Promise"
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
"return": "Promise<void>"
|
|
1830
|
+
},
|
|
1831
|
+
"docs": {
|
|
1832
|
+
"text": "",
|
|
1833
|
+
"tags": []
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1766
1838
|
static get watchers() {
|
|
1767
1839
|
return [{
|
|
1768
1840
|
"propName": "data",
|