globuswebcomponents 1.8.4 → 1.8.6
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-avatar-dropdown.cjs.entry.js +88 -0
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group.gb-theme-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js +128 -0
- package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{gb-avatar_30.cjs.entry.js → gb-avatar_28.cjs.entry.js} +555 -458
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group-base.cjs.entry.js +33 -0
- package/dist/cjs/gb-button-group-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group-base.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-button-group.cjs.entry.js +51 -0
- package/dist/cjs/gb-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-card-icon.cjs.entry.js +31 -0
- package/dist/cjs/gb-card-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-card-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.cjs.js.map +1 -0
- package/dist/cjs/{gb-collapse-button_3.cjs.entry.js → gb-collapse-button_4.cjs.entry.js} +43 -3
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +38 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-featured-icon_2.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +1 -1
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +47 -0
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-horizontal-tabs.entry.cjs.js.map +1 -0
- package/dist/cjs/{gb-export-dropdown.cjs.entry.js → gb-icon-button-base.cjs.entry.js} +20 -15
- package/dist/cjs/gb-icon-button-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-icon-button-base.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-quick-action-card.cjs.entry.js +22 -0
- package/dist/cjs/gb-quick-action-card.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-quick-action-card.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +6 -3
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-sidebar.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-tab-button-base.cjs.entry.js +72 -0
- package/dist/cjs/gb-tab-button-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-tab-button-base.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +4 -4
- package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- 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-top-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar-sidemenu.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar.cjs.entry.js +1 -1
- 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-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/arrow-down-01.svg +3 -0
- package/dist/collection/assets/file-export.svg +3 -0
- package/dist/collection/assets/laptop_gray.svg +4 -0
- package/dist/collection/assets/refresh.svg +3 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +1 -1
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +28 -3
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
- package/dist/collection/components/gb-button/readme.md +2 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +1 -1
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.css +5 -5
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +2 -2
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.css +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +1 -2
- package/dist/collection/components/gb-pagination/gb-pagination.js +16 -2
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +10 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js.map +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-quick-action-card/gb-quick-action-card.js +1 -1
- package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +3 -3
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +5 -2
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.css +9 -9
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
- package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.css +2731 -0
- package/dist/collection/components/gb-table-header/gb-table-header.js +317 -0
- package/dist/collection/components/gb-table-header/gb-table-header.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 +4 -4
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +21 -6
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js.map +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-top-bar/gb-top-bar.js +1 -1
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +1 -1
- package/dist/collection/components/gb-top-bar-sidemenu/gb-top-bar-sidemenu.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-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +13 -12
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.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-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-detail-cell.js +4 -4
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -60
- package/dist/components/gb-export-dropdown.js.map +1 -1
- package/dist/components/gb-export-sub-dropdown.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +3 -3
- package/dist/components/gb-filter-button.js +1 -76
- package/dist/components/gb-filter-button.js.map +1 -1
- package/dist/components/gb-header.js +2 -2
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +4 -4
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +30 -16
- package/dist/components/gb-pagination.js.map +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-quick-action-card.js +1 -1
- package/dist/components/gb-quick-action-icon.js +1 -1
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-sidebar.js +14 -11
- package/dist/components/gb-sidebar.js.map +1 -1
- 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 +3 -3
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-step-base.js +1 -1
- package/dist/components/gb-stepper-horizontal-icons-centered.js +2 -2
- package/dist/components/gb-stepper-horizontal-line-with-text.js +2 -2
- package/dist/components/gb-stepper-vertical-icons-with-text.js +2 -2
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-table-cell.js +1 -1
- package/dist/components/gb-table-header.d.ts +11 -0
- package/dist/components/gb-table-header.js +229 -0
- package/dist/components/gb-table-header.js.map +1 -0
- 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 +11 -11
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +2 -2
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- 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-top-bar-item.js +1 -1
- package/dist/components/gb-top-bar-sidemenu.js +6 -6
- package/dist/components/gb-top-bar.js +3 -3
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-Di2Q1JQ0.js → p-174-nFyY.js} +4 -4
- package/dist/components/{p-Di2Q1JQ0.js.map → p-174-nFyY.js.map} +1 -1
- package/dist/components/{p-Dbe9sjzG.js → p-1I0B_p6v.js} +3 -3
- package/dist/components/{p-Dbe9sjzG.js.map → p-1I0B_p6v.js.map} +1 -1
- package/dist/components/{p-BD5tvfA8.js → p-4uaILzaK.js} +14 -14
- package/dist/{globuscomponents/p-3efd5c15.entry.js.map → components/p-4uaILzaK.js.map} +1 -1
- package/dist/components/{p-BO22nWS0.js → p-B3h_qGUd.js} +12 -12
- package/dist/components/{p-BO22nWS0.js.map → p-B3h_qGUd.js.map} +1 -1
- package/dist/components/{p-CkOI-5kd.js → p-B6gScQp0.js} +3 -3
- package/dist/components/p-B6gScQp0.js.map +1 -0
- package/dist/components/{p-DbSC-PKN.js → p-BF2lryxL.js} +3 -3
- package/dist/components/{p-DbSC-PKN.js.map → p-BF2lryxL.js.map} +1 -1
- package/dist/components/{p-B-JPWgmI.js → p-BKPMZgXQ.js} +3 -3
- package/dist/components/{p-B-JPWgmI.js.map → p-BKPMZgXQ.js.map} +1 -1
- package/dist/components/{p-DD2bKMam.js → p-Bbmhg5GU.js} +3 -3
- package/dist/components/{p-DD2bKMam.js.map → p-Bbmhg5GU.js.map} +1 -1
- package/dist/components/{p-Ce05BLPG.js → p-Bcq-iPNK.js} +4 -4
- package/dist/components/{p-Ce05BLPG.js.map → p-Bcq-iPNK.js.map} +1 -1
- package/dist/components/{p-qfYLR2nA.js → p-BiJ45ahX.js} +8 -8
- package/dist/components/p-BiJ45ahX.js.map +1 -0
- package/dist/components/{p-DXEjI2iT.js → p-Bs97bSa5.js} +4 -4
- package/dist/components/{p-DXEjI2iT.js.map → p-Bs97bSa5.js.map} +1 -1
- package/dist/components/{p-nGv2LMRe.js → p-Bswh0z3A.js} +4 -4
- package/dist/components/{p-nGv2LMRe.js.map → p-Bswh0z3A.js.map} +1 -1
- package/dist/components/{p-CpT9mhkB.js → p-BtqJnhzw.js} +3 -3
- package/dist/components/{p-CpT9mhkB.js.map → p-BtqJnhzw.js.map} +1 -1
- package/dist/components/{p-CIrDkfXz.js → p-BuA2roqi.js} +3 -3
- package/dist/components/{p-CIrDkfXz.js.map → p-BuA2roqi.js.map} +1 -1
- package/dist/components/{p-BIrwac_S.js → p-C-shE7bQ.js} +4 -4
- package/dist/components/{p-BIrwac_S.js.map → p-C-shE7bQ.js.map} +1 -1
- package/dist/components/{p-BsmmyyVA.js → p-C8S-HrUn.js} +4 -4
- package/dist/components/{p-BsmmyyVA.js.map → p-C8S-HrUn.js.map} +1 -1
- package/dist/components/{p-BZ0ETjZ_.js → p-CKYaIaMW.js} +3 -3
- package/dist/components/{p-BZ0ETjZ_.js.map → p-CKYaIaMW.js.map} +1 -1
- package/dist/components/{p-BK2fLoR1.js → p-CUZjZ2-4.js} +7 -7
- package/dist/components/{p-BK2fLoR1.js.map → p-CUZjZ2-4.js.map} +1 -1
- package/dist/components/{p-CL3REaU6.js → p-CWoCdqkT.js} +3 -3
- package/dist/components/{p-CL3REaU6.js.map → p-CWoCdqkT.js.map} +1 -1
- package/dist/components/{p-DTSpaLhm.js → p-CdP1Z8uk.js} +3 -3
- package/dist/components/{p-DTSpaLhm.js.map → p-CdP1Z8uk.js.map} +1 -1
- package/dist/components/{p-DjXzxs-G.js → p-Clr70mrb.js} +11 -3
- package/dist/components/p-Clr70mrb.js.map +1 -0
- package/dist/components/{p-Dn3qpC4k.js → p-Cq845Oia.js} +6 -6
- package/dist/components/p-Cq845Oia.js.map +1 -0
- package/dist/components/p-D-s15XVU.js +65 -0
- package/dist/components/p-D-s15XVU.js.map +1 -0
- package/dist/{esm/gb-filter-button.entry.js → components/p-D0lEjlMs.js} +65 -10
- package/dist/components/p-D0lEjlMs.js.map +1 -0
- package/dist/components/{p-BDjUXSe6.js → p-D5-W0kkN.js} +3 -3
- package/dist/components/{p-BDjUXSe6.js.map → p-D5-W0kkN.js.map} +1 -1
- package/dist/components/{p-e3GirOiY.js → p-DGvGQrCn.js} +3 -3
- package/dist/components/{p-e3GirOiY.js.map → p-DGvGQrCn.js.map} +1 -1
- package/dist/components/{p-rvs_81wL.js → p-DV06uZ9m.js} +4 -4
- package/dist/components/{p-rvs_81wL.js.map → p-DV06uZ9m.js.map} +1 -1
- package/dist/components/{p-BBSL694I.js → p-DVZ4JdmP.js} +3 -3
- package/dist/components/{p-BBSL694I.js.map → p-DVZ4JdmP.js.map} +1 -1
- package/dist/components/{p-uOeci2os.js → p-DqZLEacS.js} +4 -4
- package/dist/components/p-DqZLEacS.js.map +1 -0
- package/dist/components/{p-BF08oPhK.js → p-Dqgom5e9.js} +8 -8
- package/dist/components/{p-BF08oPhK.js.map → p-Dqgom5e9.js.map} +1 -1
- package/dist/components/{p-BxVBZl-X.js → p-Dtuz6SlR.js} +8 -8
- package/dist/components/{p-BxVBZl-X.js.map → p-Dtuz6SlR.js.map} +1 -1
- package/dist/components/{p-D8I9rF8S.js → p-KhShaHQL.js} +3 -3
- package/dist/components/{p-D8I9rF8S.js.map → p-KhShaHQL.js.map} +1 -1
- package/dist/components/{p-BbKP3Ziz.js → p-N_ltr0Qr.js} +4 -4
- package/dist/components/{p-BbKP3Ziz.js.map → p-N_ltr0Qr.js.map} +1 -1
- package/dist/components/{p-CQGTfRDL.js → p-Ugo9JARM.js} +3 -3
- package/dist/components/{p-CQGTfRDL.js.map → p-Ugo9JARM.js.map} +1 -1
- package/dist/components/{p-Dv5zBYdK.js → p-aD123sBw.js} +4 -4
- package/dist/components/{p-Dv5zBYdK.js.map → p-aD123sBw.js.map} +1 -1
- package/dist/components/{p-G5IaOkYA.js → p-dF-bmDhQ.js} +3 -3
- package/dist/components/{p-G5IaOkYA.js.map → p-dF-bmDhQ.js.map} +1 -1
- package/dist/components/{p-Bw5WoPIS.js → p-pNTKXEWo.js} +3 -3
- package/dist/components/{p-Bw5WoPIS.js.map → p-pNTKXEWo.js.map} +1 -1
- package/dist/components/{p-58s1T6zX.js → p-xWT4dQY_.js} +3 -3
- package/dist/components/{p-58s1T6zX.js.map → p-xWT4dQY_.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/docs.json +454 -9
- package/dist/esm/gb-avatar-dropdown.entry.js +86 -0
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -0
- package/dist/esm/gb-avatar-label-group.gb-theme-tab.entry.js.map +1 -0
- package/dist/esm/gb-avatar-label-group_2.entry.js +125 -0
- package/dist/esm/gb-avatar-label-group_2.entry.js.map +1 -0
- package/dist/esm/{gb-avatar_30.entry.js → gb-avatar_28.entry.js} +547 -448
- package/dist/esm/gb-avatar_28.entry.js.map +1 -0
- package/dist/esm/gb-button-group-base.entry.js +31 -0
- package/dist/esm/gb-button-group-base.entry.js.map +1 -0
- package/dist/esm/gb-button-group.entry.js +49 -0
- package/dist/esm/gb-button-group.entry.js.map +1 -0
- package/dist/esm/gb-card-icon.entry.js +29 -0
- package/dist/esm/gb-card-icon.entry.js.map +1 -0
- package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.js.map +1 -0
- package/dist/esm/{gb-collapse-button_3.entry.js → gb-collapse-button_4.entry.js} +44 -5
- package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +36 -0
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -0
- package/dist/esm/gb-featured-icon_2.entry.js +1 -1
- package/dist/esm/gb-file-type-icon_2.entry.js +1 -1
- package/dist/esm/gb-horizontal-tabs.entry.js +45 -0
- package/dist/esm/gb-horizontal-tabs.entry.js.map +1 -0
- package/dist/esm/{gb-export-dropdown.entry.js → gb-icon-button-base.entry.js} +21 -16
- package/dist/esm/gb-icon-button-base.entry.js.map +1 -0
- package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-quick-action-card.entry.js +20 -0
- package/dist/esm/gb-quick-action-card.entry.js.map +1 -0
- package/dist/esm/gb-quick-action-icon.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-sidebar.entry.js +6 -3
- package/dist/esm/gb-sidebar.entry.js.map +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
- package/dist/esm/gb-tab-button-base.entry.js +70 -0
- package/dist/esm/gb-tab-button-base.entry.js.map +1 -0
- package/dist/esm/gb-table-cell.entry.js +1 -1
- package/dist/esm/gb-textarea-input-field.entry.js +4 -4
- package/dist/esm/gb-toast-button.entry.js +1 -1
- package/dist/esm/gb-toast.entry.js +1 -1
- package/dist/esm/gb-toggle-base.entry.js +2 -2
- package/dist/esm/gb-toggle.entry.js +1 -1
- 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-top-bar-item.entry.js +1 -1
- package/dist/esm/gb-top-bar-sidemenu.entry.js +1 -1
- package/dist/esm/gb-top-bar.entry.js +1 -1
- 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-tooltip.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/arrow-down-01.svg +3 -0
- package/dist/globuscomponents/assets/file-export.svg +3 -0
- package/dist/globuscomponents/assets/laptop_gray.svg +4 -0
- package/dist/globuscomponents/assets/refresh.svg +3 -0
- package/dist/globuscomponents/gb-avatar-dropdown.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-avatar-label-group.gb-theme-tab.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button-group-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button-group.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-card-icon.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-horizontal-tabs.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-icon-button-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-quick-action-card.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-sidebar.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-tab-button-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-3e11f91c.entry.js → p-13295bc1.entry.js} +2 -2
- package/dist/globuscomponents/{p-d42708b8.entry.js → p-1753259c.entry.js} +2 -2
- package/dist/globuscomponents/p-1753259c.entry.js.map +1 -0
- package/dist/globuscomponents/{p-4526743e.entry.js → p-18535735.entry.js} +2 -2
- package/dist/globuscomponents/{p-43e0f83c.entry.js → p-187c5fdf.entry.js} +2 -2
- package/dist/globuscomponents/{p-13992547.entry.js → p-18941d67.entry.js} +2 -2
- package/dist/globuscomponents/p-35e264ab.entry.js +2 -0
- package/dist/globuscomponents/{p-51a14523.entry.js → p-404c6fb8.entry.js} +2 -2
- package/dist/globuscomponents/{p-fe09927f.entry.js → p-4c83f905.entry.js} +2 -2
- package/dist/globuscomponents/{p-3a434973.entry.js → p-4fbc6a87.entry.js} +2 -2
- package/dist/globuscomponents/{p-cb49cd8a.entry.js → p-5ac00fbc.entry.js} +2 -2
- package/dist/globuscomponents/{p-a5640646.entry.js → p-5c04c06a.entry.js} +2 -2
- package/dist/globuscomponents/{p-7a3d7ceb.entry.js → p-6424171c.entry.js} +2 -2
- package/dist/globuscomponents/{p-5e2fa657.entry.js → p-6869d01e.entry.js} +2 -2
- package/dist/globuscomponents/p-6e7d5997.entry.js +2 -0
- package/dist/globuscomponents/p-6e7d5997.entry.js.map +1 -0
- package/dist/globuscomponents/p-7153d340.entry.js +2 -0
- package/dist/globuscomponents/p-7153d340.entry.js.map +1 -0
- package/dist/globuscomponents/{p-ed96270a.entry.js → p-71824ef8.entry.js} +2 -2
- package/dist/globuscomponents/p-74501de9.entry.js +2 -0
- package/dist/globuscomponents/p-74501de9.entry.js.map +1 -0
- package/dist/globuscomponents/{p-1b5359cc.entry.js → p-76d20289.entry.js} +2 -2
- package/dist/globuscomponents/p-78000807.entry.js +2 -0
- package/dist/globuscomponents/{p-f23244d8.entry.js → p-78c98392.entry.js} +2 -2
- package/dist/globuscomponents/p-78c98392.entry.js.map +1 -0
- package/dist/globuscomponents/{p-4743780a.entry.js → p-7db54094.entry.js} +2 -2
- package/dist/globuscomponents/p-7db54094.entry.js.map +1 -0
- package/dist/globuscomponents/{p-1cbbac32.entry.js → p-8eb046c4.entry.js} +2 -2
- package/dist/globuscomponents/p-9ed89197.entry.js +2 -0
- package/dist/globuscomponents/p-9ed89197.entry.js.map +1 -0
- package/dist/globuscomponents/{p-9f62534b.entry.js → p-a0ed0ec7.entry.js} +2 -2
- package/dist/globuscomponents/{p-cd354568.entry.js → p-a0ee3d9a.entry.js} +2 -2
- package/dist/globuscomponents/{p-8dc78860.entry.js → p-ad93eaea.entry.js} +2 -2
- package/dist/globuscomponents/{p-d20ba3e5.entry.js → p-ae946db6.entry.js} +2 -2
- package/dist/globuscomponents/p-b23cd5f0.entry.js +2 -0
- package/dist/globuscomponents/p-b23cd5f0.entry.js.map +1 -0
- package/dist/globuscomponents/{p-504dd800.entry.js → p-bf8b3b00.entry.js} +2 -2
- package/dist/globuscomponents/p-d9debe92.entry.js +2 -0
- package/dist/globuscomponents/p-d9debe92.entry.js.map +1 -0
- package/dist/globuscomponents/p-db716d96.entry.js +2 -0
- package/dist/globuscomponents/p-db716d96.entry.js.map +1 -0
- package/dist/globuscomponents/{p-32a3899f.entry.js → p-e80627b7.entry.js} +2 -2
- package/dist/globuscomponents/p-e9fa6b2e.entry.js +2 -0
- package/dist/globuscomponents/p-e9fa6b2e.entry.js.map +1 -0
- package/dist/globuscomponents/p-ee6d6009.entry.js +2 -0
- package/dist/globuscomponents/{p-7229e160.entry.js → p-f29cbe1a.entry.js} +2 -2
- package/dist/globuscomponents/{p-1da61bd0.entry.js → p-f48acadb.entry.js} +2 -2
- package/dist/globuscomponents/{p-96e405f7.entry.js → p-f76d4c54.entry.js} +2 -2
- package/dist/globuscomponents/{p-7e5612e3.entry.js → p-f78c4e43.entry.js} +2 -2
- package/dist/globuscomponents/p-f78c4e43.entry.js.map +1 -0
- package/dist/globuscomponents/{p-158fddde.entry.js → p-faff9abd.entry.js} +2 -2
- package/dist/globuscomponents/p-faff9abd.entry.js.map +1 -0
- package/dist/globuscomponents/{p-e58c84cb.entry.js → p-ff9ffa46.entry.js} +2 -2
- package/dist/globuscomponents/readme.md +2 -0
- package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +2 -1
- package/dist/types/components/gb-pagination/gb-pagination.d.ts +2 -0
- package/dist/types/components/gb-pagination-number-base/gb-pagination-number-base.d.ts +1 -0
- package/dist/types/components/gb-table-header/gb-table-header.d.ts +29 -0
- package/dist/types/components.d.ts +57 -0
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_30.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-collapse-button_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-export-dropdown-item.gb-export-sub-dropdown.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +0 -46
- package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-export-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-export-dropdown.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +0 -39
- package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-export-sub-dropdown-item.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-filter-button.cjs.entry.js +0 -28
- package/dist/cjs/gb-filter-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-filter-button.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-input-dropdown_3.cjs.entry.js +0 -391
- package/dist/cjs/gb-input-dropdown_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-pagination.cjs.entry.js +0 -47
- package/dist/cjs/gb-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-pagination.entry.cjs.js.map +0 -1
- package/dist/components/p-BD5tvfA8.js.map +0 -1
- package/dist/components/p-CkOI-5kd.js.map +0 -1
- package/dist/components/p-DjXzxs-G.js.map +0 -1
- package/dist/components/p-Dn3qpC4k.js.map +0 -1
- package/dist/components/p-qfYLR2nA.js.map +0 -1
- package/dist/components/p-uOeci2os.js.map +0 -1
- package/dist/esm/gb-avatar_30.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button_3.entry.js.map +0 -1
- package/dist/esm/gb-export-dropdown-item.gb-export-sub-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-export-dropdown-item_2.entry.js +0 -43
- package/dist/esm/gb-export-dropdown-item_2.entry.js.map +0 -1
- package/dist/esm/gb-export-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-export-sub-dropdown-item.entry.js +0 -37
- package/dist/esm/gb-export-sub-dropdown-item.entry.js.map +0 -1
- package/dist/esm/gb-filter-button.entry.js.map +0 -1
- package/dist/esm/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.js.map +0 -1
- package/dist/esm/gb-input-dropdown_3.entry.js +0 -387
- package/dist/esm/gb-input-dropdown_3.entry.js.map +0 -1
- package/dist/esm/gb-pagination.entry.js +0 -45
- package/dist/esm/gb-pagination.entry.js.map +0 -1
- package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-export-dropdown-item.gb-export-sub-dropdown.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-export-dropdown.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-export-sub-dropdown-item.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-filter-button.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-pagination.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-004818f6.entry.js +0 -2
- package/dist/globuscomponents/p-03df5ac6.entry.js +0 -2
- package/dist/globuscomponents/p-03df5ac6.entry.js.map +0 -1
- package/dist/globuscomponents/p-158fddde.entry.js.map +0 -1
- package/dist/globuscomponents/p-3b29514b.entry.js +0 -2
- package/dist/globuscomponents/p-3efd5c15.entry.js +0 -2
- package/dist/globuscomponents/p-4743780a.entry.js.map +0 -1
- package/dist/globuscomponents/p-591e675a.entry.js +0 -2
- package/dist/globuscomponents/p-591e675a.entry.js.map +0 -1
- package/dist/globuscomponents/p-620e9101.entry.js +0 -2
- package/dist/globuscomponents/p-7e5612e3.entry.js.map +0 -1
- package/dist/globuscomponents/p-d12c4a62.entry.js +0 -2
- package/dist/globuscomponents/p-d12c4a62.entry.js.map +0 -1
- package/dist/globuscomponents/p-d42708b8.entry.js.map +0 -1
- package/dist/globuscomponents/p-f23244d8.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-3e11f91c.entry.js.map → p-13295bc1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4526743e.entry.js.map → p-18535735.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-43e0f83c.entry.js.map → p-187c5fdf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-13992547.entry.js.map → p-18941d67.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3b29514b.entry.js.map → p-35e264ab.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-51a14523.entry.js.map → p-404c6fb8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-fe09927f.entry.js.map → p-4c83f905.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3a434973.entry.js.map → p-4fbc6a87.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cb49cd8a.entry.js.map → p-5ac00fbc.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a5640646.entry.js.map → p-5c04c06a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7a3d7ceb.entry.js.map → p-6424171c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5e2fa657.entry.js.map → p-6869d01e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ed96270a.entry.js.map → p-71824ef8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1b5359cc.entry.js.map → p-76d20289.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-620e9101.entry.js.map → p-78000807.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1cbbac32.entry.js.map → p-8eb046c4.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9f62534b.entry.js.map → p-a0ed0ec7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cd354568.entry.js.map → p-a0ee3d9a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8dc78860.entry.js.map → p-ad93eaea.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d20ba3e5.entry.js.map → p-ae946db6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-504dd800.entry.js.map → p-bf8b3b00.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-32a3899f.entry.js.map → p-e80627b7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-004818f6.entry.js.map → p-ee6d6009.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7229e160.entry.js.map → p-f29cbe1a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1da61bd0.entry.js.map → p-f48acadb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-96e405f7.entry.js.map → p-f76d4c54.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e58c84cb.entry.js.map → p-ff9ffa46.entry.js.map} +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class GbTableHeader {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.showFilter = false;
|
|
5
|
+
this.showColumnOptions = false;
|
|
6
|
+
this.tableHeading = false;
|
|
7
|
+
this.showSearch = false;
|
|
8
|
+
this.showExport = false;
|
|
9
|
+
this.showRefreshButton = false;
|
|
10
|
+
this.tableHeadingLabel = '';
|
|
11
|
+
this.filterCount = '';
|
|
12
|
+
this.width = window.innerWidth;
|
|
13
|
+
this.showExportDropdown = false;
|
|
14
|
+
this.handleResize = () => {
|
|
15
|
+
this.width = window.innerWidth;
|
|
16
|
+
this.updateButtonIcon();
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.updateButtonIcon(); // Set initial variant
|
|
21
|
+
window.addEventListener('resize', this.handleResize);
|
|
22
|
+
}
|
|
23
|
+
toggleDropdown() {
|
|
24
|
+
this.showExportDropdown = !this.showExportDropdown;
|
|
25
|
+
}
|
|
26
|
+
updateButtonIcon() {
|
|
27
|
+
this.buttonIcon = this.width < 1007 ? 'only' : 'default';
|
|
28
|
+
}
|
|
29
|
+
emitValue(inputValue) {
|
|
30
|
+
console.log(inputValue.detail);
|
|
31
|
+
}
|
|
32
|
+
onFilterButtonClicked() {
|
|
33
|
+
this.filterButtonClicked.emit();
|
|
34
|
+
}
|
|
35
|
+
emitSelection(selection) {
|
|
36
|
+
console.log(selection);
|
|
37
|
+
this.exportClicked.emit(selection);
|
|
38
|
+
}
|
|
39
|
+
onRefreshButtonClicked() {
|
|
40
|
+
this.refreshButtonClicked.emit();
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h("div", { key: 'cb2b02bd222e513709edf356f0e9b6a388903b9e', class: "table_header_div" }, h("div", { key: 'c1413b889c832bc076a9e350ea0faa2f2bfee44a', class: "table_header_content" }, this.tableHeading && h("p", { key: '03a41a450a34917b3adf4d6569415c42499ce4db', class: "text-lg-semi-bold" }, this.tableHeadingLabel), h("div", { key: '9322fdd6f8d8c05097b1d6ea128134296e41f5db', class: "actions" }, this.showSearch && (h("div", { key: 'c3e774b9ebbd32f4c2c5ae39818999a61ce99594', class: "input_field" }, h("gb-input-field", { key: 'fc57853bf81f3120a131f5184e3279b283a0fc7f', size: "sm", type: "icon_leading", "icon-swap": "assets/search-01.svg", placeholder: "Search", onInputValueChanged: this.emitValue.bind(this) }))), h("div", { key: '5dc774c3046fcd0429b10e9aa21a683084da3c4d', class: "action" }, this.showColumnOptions && (h("gb-button", { key: 'c2d29ff42cee4afda7ab2c24bcae4a65854fee8b', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/column-insert.svg" }, h("p", { key: '06fc57b4bf3f7998656895c45360e9492fd485f7' }, "Columns"))), this.showFilter && (h("gb-filter-button", { key: '7b6f2ad3fff274fd6cabc5e1a9f35d70adced5d3', state: this.filterState, "icon-only": this.width <= 1007 ? true : false, onClick: () => this.onFilterButtonClicked() }, h("p", { key: '5ac26fd7d9ff3e6dc124efb656096a6b4feefd96', slot: "filter_count" }, this.filterCount))), this.showExport && (h("div", { key: '0b03c3d4d779db3cb931146910ef387b6571ba46', class: "export" }, h("gb-button", { key: 'dbd4be35c92722d882285caa2b7291e6b725f92b', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/file-export.svg", "icon-trailing": this.width <= 1007 ? false : true, "icon-trailing-swap": "assets/arrow-down-01.svg", onClick: () => this.toggleDropdown() }, h("p", { key: 'acff8052a2a13b0dbc5a78ed8683f49623c1a51d' }, "Export")), this.showExportDropdown && h("gb-export-dropdown", { key: '689e46b5571d49c7b06f4e62d5a609c93e7475f5', onExportClicked: () => this.emitSelection.bind(this), class: "dropdown" }))), this.showRefreshButton && (h("div", { key: '8fd4d15e17c4d9977f1ad1bd49cc27ff43521b37', class: "refresh_button" }, h("gb-button", { key: 'a0d16d9b7b06a812808559ea7dc8efd39aa5b4de', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/refresh.svg", onClick: () => this.onRefreshButtonClicked() }))))))));
|
|
44
|
+
}
|
|
45
|
+
static get is() { return "gb-table-header"; }
|
|
46
|
+
static get encapsulation() { return "shadow"; }
|
|
47
|
+
static get originalStyleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["gb-table-header.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get styleUrls() {
|
|
53
|
+
return {
|
|
54
|
+
"$": ["gb-table-header.css"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
static get properties() {
|
|
58
|
+
return {
|
|
59
|
+
"showFilter": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "boolean",
|
|
64
|
+
"resolved": "boolean",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"getter": false,
|
|
74
|
+
"setter": false,
|
|
75
|
+
"attribute": "show-filter",
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"defaultValue": "false"
|
|
78
|
+
},
|
|
79
|
+
"showColumnOptions": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"mutable": false,
|
|
82
|
+
"complexType": {
|
|
83
|
+
"original": "boolean",
|
|
84
|
+
"resolved": "boolean",
|
|
85
|
+
"references": {}
|
|
86
|
+
},
|
|
87
|
+
"required": false,
|
|
88
|
+
"optional": false,
|
|
89
|
+
"docs": {
|
|
90
|
+
"tags": [],
|
|
91
|
+
"text": ""
|
|
92
|
+
},
|
|
93
|
+
"getter": false,
|
|
94
|
+
"setter": false,
|
|
95
|
+
"attribute": "show-column-options",
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"defaultValue": "false"
|
|
98
|
+
},
|
|
99
|
+
"tableHeading": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"mutable": false,
|
|
102
|
+
"complexType": {
|
|
103
|
+
"original": "boolean",
|
|
104
|
+
"resolved": "boolean",
|
|
105
|
+
"references": {}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": ""
|
|
112
|
+
},
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
115
|
+
"attribute": "table-heading",
|
|
116
|
+
"reflect": false,
|
|
117
|
+
"defaultValue": "false"
|
|
118
|
+
},
|
|
119
|
+
"showSearch": {
|
|
120
|
+
"type": "boolean",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "boolean",
|
|
124
|
+
"resolved": "boolean",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": ""
|
|
132
|
+
},
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
135
|
+
"attribute": "show-search",
|
|
136
|
+
"reflect": false,
|
|
137
|
+
"defaultValue": "false"
|
|
138
|
+
},
|
|
139
|
+
"showExport": {
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "boolean",
|
|
144
|
+
"resolved": "boolean",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": ""
|
|
152
|
+
},
|
|
153
|
+
"getter": false,
|
|
154
|
+
"setter": false,
|
|
155
|
+
"attribute": "show-export",
|
|
156
|
+
"reflect": false,
|
|
157
|
+
"defaultValue": "false"
|
|
158
|
+
},
|
|
159
|
+
"showRefreshButton": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": ""
|
|
172
|
+
},
|
|
173
|
+
"getter": false,
|
|
174
|
+
"setter": false,
|
|
175
|
+
"attribute": "show-refresh-button",
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"defaultValue": "false"
|
|
178
|
+
},
|
|
179
|
+
"tableHeadingLabel": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"mutable": false,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "string",
|
|
184
|
+
"resolved": "string",
|
|
185
|
+
"references": {}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": ""
|
|
192
|
+
},
|
|
193
|
+
"getter": false,
|
|
194
|
+
"setter": false,
|
|
195
|
+
"attribute": "table-heading-label",
|
|
196
|
+
"reflect": false,
|
|
197
|
+
"defaultValue": "''"
|
|
198
|
+
},
|
|
199
|
+
"filterCount": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "string",
|
|
204
|
+
"resolved": "string",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"getter": false,
|
|
214
|
+
"setter": false,
|
|
215
|
+
"attribute": "filter-count",
|
|
216
|
+
"reflect": false,
|
|
217
|
+
"defaultValue": "''"
|
|
218
|
+
},
|
|
219
|
+
"filterState": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"mutable": false,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "StateType",
|
|
224
|
+
"resolved": "\"applied\" | \"default\" | \"disabled\"",
|
|
225
|
+
"references": {
|
|
226
|
+
"StateType": {
|
|
227
|
+
"location": "import",
|
|
228
|
+
"path": "../../models/reusableModels",
|
|
229
|
+
"id": "src/models/reusableModels.ts::StateType"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": ""
|
|
238
|
+
},
|
|
239
|
+
"getter": false,
|
|
240
|
+
"setter": false,
|
|
241
|
+
"attribute": "filter-state",
|
|
242
|
+
"reflect": false
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
static get states() {
|
|
247
|
+
return {
|
|
248
|
+
"width": {},
|
|
249
|
+
"buttonIcon": {},
|
|
250
|
+
"showExportDropdown": {}
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
static get events() {
|
|
254
|
+
return [{
|
|
255
|
+
"method": "inputValueChanged",
|
|
256
|
+
"name": "inputValueChanged",
|
|
257
|
+
"bubbles": true,
|
|
258
|
+
"cancelable": true,
|
|
259
|
+
"composed": true,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [],
|
|
262
|
+
"text": ""
|
|
263
|
+
},
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "void",
|
|
266
|
+
"resolved": "void",
|
|
267
|
+
"references": {}
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
"method": "filterButtonClicked",
|
|
271
|
+
"name": "filterButtonClicked",
|
|
272
|
+
"bubbles": true,
|
|
273
|
+
"cancelable": true,
|
|
274
|
+
"composed": true,
|
|
275
|
+
"docs": {
|
|
276
|
+
"tags": [],
|
|
277
|
+
"text": ""
|
|
278
|
+
},
|
|
279
|
+
"complexType": {
|
|
280
|
+
"original": "void",
|
|
281
|
+
"resolved": "void",
|
|
282
|
+
"references": {}
|
|
283
|
+
}
|
|
284
|
+
}, {
|
|
285
|
+
"method": "exportClicked",
|
|
286
|
+
"name": "exportClicked",
|
|
287
|
+
"bubbles": true,
|
|
288
|
+
"cancelable": true,
|
|
289
|
+
"composed": true,
|
|
290
|
+
"docs": {
|
|
291
|
+
"tags": [],
|
|
292
|
+
"text": ""
|
|
293
|
+
},
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "void",
|
|
296
|
+
"resolved": "void",
|
|
297
|
+
"references": {}
|
|
298
|
+
}
|
|
299
|
+
}, {
|
|
300
|
+
"method": "refreshButtonClicked",
|
|
301
|
+
"name": "refreshButtonClicked",
|
|
302
|
+
"bubbles": true,
|
|
303
|
+
"cancelable": true,
|
|
304
|
+
"composed": true,
|
|
305
|
+
"docs": {
|
|
306
|
+
"tags": [],
|
|
307
|
+
"text": ""
|
|
308
|
+
},
|
|
309
|
+
"complexType": {
|
|
310
|
+
"original": "void",
|
|
311
|
+
"resolved": "void",
|
|
312
|
+
"references": {}
|
|
313
|
+
}
|
|
314
|
+
}];
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
//# sourceMappingURL=gb-table-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-table-header.js","sourceRoot":"","sources":["../../../src/components/gb-table-header/gb-table-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQ/E,MAAM,OAAO,aAAa;IAL1B;QAMU,eAAU,GAAY,KAAK,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,iBAAY,GAAY,KAAK,CAAC;QAC9B,eAAU,GAAY,KAAK,CAAC;QAC5B,eAAU,GAAY,KAAK,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,sBAAiB,GAAW,EAAE,CAAC;QAC/B,gBAAW,GAAW,EAAE,CAAC;QAExB,UAAK,GAAW,MAAM,CAAC,UAAU,CAAC;QAElC,uBAAkB,GAAY,KAAK,CAAC;QAerC,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC;YAC/B,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC;KAsFH;IAlGC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,sBAAsB;QAC/C,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACvD,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,kBAAkB,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC;IACrD,CAAC;IAOO,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;IAC3D,CAAC;IAED,SAAS,CAAC,UAAU;QAClB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,qBAAqB;QACnB,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;IAClC,CAAC;IAED,aAAa,CAAC,SAAS;QACrB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;IAED,sBAAsB;QACpB,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;IACnC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,kBAAkB;YAC3B,4DAAK,KAAK,EAAC,sBAAsB;gBAC9B,IAAI,CAAC,YAAY,IAAI,0DAAG,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,iBAAiB,CAAK;gBAC/E,4DAAK,KAAK,EAAC,SAAS;oBACjB,IAAI,CAAC,UAAU,IAAI,CAClB,4DAAK,KAAK,EAAC,aAAa;wBACtB,uEACE,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,cAAc,eACT,sBAAsB,EAChC,WAAW,EAAC,QAAQ,EACpB,mBAAmB,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAC9B,CACd,CACP;oBACD,4DAAK,KAAK,EAAC,QAAQ;wBAChB,IAAI,CAAC,iBAAiB,IAAI,CACzB,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAAgB,IAAI,uBAAoB,0BAA0B;4BAC7J,sEAAc,CACJ,CACb;wBACA,IAAI,CAAC,UAAU,IAAI,CAClB,yEAAkB,KAAK,EAAE,IAAI,CAAC,WAAW,eAAa,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE;4BAClI,0DAAG,IAAI,EAAC,cAAc,IAAE,IAAI,CAAC,WAAW,CAAK,CAC5B,CACpB;wBACA,IAAI,CAAC,UAAU,IAAI,CAClB,4DAAK,KAAK,EAAC,QAAQ;4BACjB,kEACE,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAC/B,IAAI,uBACA,wBAAwB,mBAC3B,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,wBAC7B,0BAA0B,EAC7C,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE;gCAEpC,qEAAa,CACH;4BACX,IAAI,CAAC,kBAAkB,IAAI,2EAAoB,eAAe,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAC,UAAU,GAAsB,CACxI,CACP;wBACA,IAAI,CAAC,iBAAiB,IAAI,CACzB,4DAAK,KAAK,EAAC,gBAAgB;4BACzB,kEACE,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAC/B,IAAI,uBACA,oBAAoB,EACtC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GACjC,CACT,CACP,CACG,CACF,CACF,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, State, h } from '@stencil/core';\r\nimport { StateType } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-table-header',\r\n styleUrl: 'gb-table-header.css',\r\n shadow: true,\r\n})\r\nexport class GbTableHeader {\r\n @Prop() showFilter: boolean = false;\r\n @Prop() showColumnOptions: boolean = false;\r\n @Prop() tableHeading: boolean = false;\r\n @Prop() showSearch: boolean = false;\r\n @Prop() showExport: boolean = false;\r\n @Prop() showRefreshButton: boolean = false;\r\n @Prop() tableHeadingLabel: string = '';\r\n @Prop() filterCount: string = '';\r\n @Prop() filterState: StateType;\r\n @State() width: number = window.innerWidth;\r\n @State() buttonIcon: 'default' | 'only';\r\n @State() showExportDropdown: boolean = false;\r\n @Event() inputValueChanged: EventEmitter<void>;\r\n @Event() filterButtonClicked: EventEmitter<void>;\r\n @Event() exportClicked: EventEmitter<void>;\r\n @Event() refreshButtonClicked: EventEmitter<void>;\r\n\r\n componentWillLoad() {\r\n this.updateButtonIcon(); // Set initial variant\r\n window.addEventListener('resize', this.handleResize);\r\n }\r\n\r\n toggleDropdown() {\r\n this.showExportDropdown = !this.showExportDropdown;\r\n }\r\n\r\n private handleResize = () => {\r\n this.width = window.innerWidth;\r\n this.updateButtonIcon();\r\n };\r\n\r\n private updateButtonIcon() {\r\n this.buttonIcon = this.width < 1007 ? 'only' : 'default';\r\n }\r\n\r\n emitValue(inputValue) {\r\n console.log(inputValue.detail);\r\n }\r\n\r\n onFilterButtonClicked() {\r\n this.filterButtonClicked.emit();\r\n }\r\n\r\n emitSelection(selection) {\r\n console.log(selection);\r\n this.exportClicked.emit(selection);\r\n }\r\n\r\n onRefreshButtonClicked() {\r\n this.refreshButtonClicked.emit();\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"table_header_div\">\r\n <div class=\"table_header_content\">\r\n {this.tableHeading && <p class=\"text-lg-semi-bold\">{this.tableHeadingLabel}</p>}\r\n <div class=\"actions\">\r\n {this.showSearch && (\r\n <div class=\"input_field\">\r\n <gb-input-field\r\n size=\"sm\"\r\n type=\"icon_leading\"\r\n icon-swap=\"assets/search-01.svg\"\r\n placeholder=\"Search\"\r\n onInputValueChanged={this.emitValue.bind(this)}\r\n ></gb-input-field>\r\n </div>\r\n )}\r\n <div class=\"action\">\r\n {this.showColumnOptions && (\r\n <gb-button size=\"md\" hierarchy=\"secondary_gray\" icon={this.width <= 1007 ? 'only' : 'default'} icon-leading={true} icon-leading-swap=\"assets/column-insert.svg\">\r\n <p>Columns</p>\r\n </gb-button>\r\n )}\r\n {this.showFilter && (\r\n <gb-filter-button state={this.filterState} icon-only={this.width <= 1007 ? true : false} onClick={() => this.onFilterButtonClicked()}>\r\n <p slot=\"filter_count\">{this.filterCount}</p>\r\n </gb-filter-button>\r\n )}\r\n {this.showExport && (\r\n <div class=\"export\">\r\n <gb-button\r\n size=\"md\"\r\n hierarchy=\"secondary_gray\"\r\n icon={this.width <= 1007 ? 'only' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/file-export.svg\"\r\n icon-trailing={this.width <= 1007 ? false : true}\r\n icon-trailing-swap=\"assets/arrow-down-01.svg\"\r\n onClick={() => this.toggleDropdown()}\r\n >\r\n <p>Export</p>\r\n </gb-button>\r\n {this.showExportDropdown && <gb-export-dropdown onExportClicked={() => this.emitSelection.bind(this)} class=\"dropdown\"></gb-export-dropdown>}\r\n </div>\r\n )}\r\n {this.showRefreshButton && (\r\n <div class=\"refresh_button\">\r\n <gb-button\r\n size=\"md\"\r\n hierarchy=\"secondary_gray\"\r\n icon={this.width <= 1007 ? 'only' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/refresh.svg\"\r\n onClick={() => this.onRefreshButtonClicked()}\r\n ></gb-button>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -22,7 +22,7 @@ export class GbTag {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const flagSwap = getAssetPath(`${this.flagSwap}`);
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'a858a9db7a65514002c509d735dbfb7f8005b124', class: `container ${this.size}` }, h("div", { key: 'dd859b8dc8a7dbed4d1fbbb57de05d9d77cfc630', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: '735233f58e8068b98cfcbc01aaf368dacf2d1092', size: this.size }), this.icon === 'false' && h(Fragment, null), this.icon === 'country' && (h("div", { key: '8227d70722c35305daf00bcf4c4d45b9491743b2', class: "icon left-icon" }, h("img", { key: '9b9a3db8e06b1175fc430296d95f03d77ab8a700', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'ddb14389685588e211421d28b63cc88b907bfde3', class: "avatar-icon", size: "xxs", "status-icon": "false", text: true, color: "gray" }, h("slot", { key: '5c719f3446c625258dda3862a5b779a154a12c51', name: "initials", slot: "initials" }))), this.icon === 'dot' && (h("svg", { key: '6194cc9c4b3809ffa5665f7a30e65e32e6bf9545', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: 'a6627440afc5837eaff0f241f1a553df2c6e7290', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("div", { key: '640b4ab697a51471ed0baf636c7949a9b75c519c', class: "label" }, h("slot", { key: 'f40db1b614f12ed23ec6da06136cc5967d35e478' })), this.action === 'count' && (h("gb-tag-count", { key: '216cfa5c7847edd0e19a7a3e8551e7462fb50a40', size: this.size }, h("slot", { key: 'dcc8507e26ed69eab281dcd03cb207280bd54e97', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: 'a158c8fbb080e24b9ce3cb34ececf22efb8c6bb8', size: this.size, onClick: () => this.onTagClose() })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "gb-tag"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
|
|
|
6
6
|
this.disabled = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("label", { key: '
|
|
9
|
+
return (h("label", { key: '63bb54df7ddabd54eb908e32cad39fd7af869e82', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '9861fc12f57bab24fd7e0822289a40c083254dc9', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '6568e97ee96f1c0ab4b38b312e98efe55210ff36', class: `custom-checkbox ${this.size}` }, h("svg", { key: '5c9a63bc45d599d578229e498bdaacc2f26f53ee', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'd1b597d8e4d7d1f92634055c4c0ce6bcb40faf5e', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gb-tag-checkbox"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbTagClose {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'c32bd8d7d0d1323dae466cab0d22869f5b95cff6', class: this.size }, h("svg", { key: '4696f104154bffb4c88ad66c641e49b8ad8c16ce', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '48903eb298bb1b2f28437d5613c905ae312a18cd', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-tag-close"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbTagCount {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'f287986e2a975b4bf8875c6e371115fccfb0eadb', class: this.size }, h("slot", { key: '058d6601fc06a6305d51f71bd0b9022b48313fbb', name: "count" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-tag-count"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,14 +184,14 @@ export class GbTextareaInputField {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return (h("div", { key: '
|
|
187
|
+
return (h("div", { key: 'e07efcf4fb25b5997606f28cce55e0058e739a00', class: "textarea_container" }, h("div", { key: 'daf81f5e8795daffec19ccf1eb15c344acefa31a', class: "input_with_label" }, this.showLabel && h("p", { key: 'd8ec363fc5c9f4e2e0ab4dde85cdbdf7b1e1125c', class: `label text-sm-medium` }, this.label), this.type === 'default' && (h("textarea", { key: 'b95056339da758bc7fdc84284f1bb5131023ba5d', ref: el => (this.textarea = el), onInput: () => this.handleInput(), class: `textarea default_textarea ${this.state} ${this.destructive ? 'destructive' : ''}`, placeholder: this.placeholderText, value: this.inputValue })), this.type === 'tags' && (h("div", { key: 'f9707204097dcaa0e41fa7ebd56494a63c266281', class: "textarea_tags" }, h("div", { key: '88e2db55fac09b27b927c822e1b4d56f6c4f9139', class: `textarea ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => this.handleWrapperClick() }, h("div", { key: 'd226bebcdd727ce3a8fcd938675559bb9bf159db', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item.objectName.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.objectName
|
|
188
188
|
.split(' ')
|
|
189
189
|
.map(part => part.charAt(0).toUpperCase())
|
|
190
|
-
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: '
|
|
190
|
+
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: 'b0823bbe1032fe4e7c25de54ebbe8554bcbc3547', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '3c6b860f79927897b0ab83977e44e3972a70b5f9', class: "input_field" }, h("input", { key: 'a95432d685913c4dc38c46958859c2a739d0ba7a', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
|
|
191
191
|
// placeholder={this.placeholderText}
|
|
192
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: '
|
|
192
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: '37a73a541043dda2742520b8b114687e240861f4', class: "help_icon" }, h("svg", { key: '4137a7e6dcf4dcb797a51e933df8edf72ee0bd60', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '046d357baef6349a5b42dced6024a74d78fa022c', d: "M7.9947 10H8.00069M8.00004 8.00004V5.33337M14.6667 8.00004C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00004C1.33337 4.31814 4.31814 1.33337 8.00004 1.33337C11.6819 1.33337 14.6667 4.31814 14.6667 8.00004Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.show && (h("div", { key: 'c63d3c7b42026eb038676e5d8ff952fcb26de9c1', class: `dropdown_menu` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
193
193
|
? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
|
|
194
|
-
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h("p", { key: '
|
|
194
|
+
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h("p", { key: '1c6091b23850104b1c69dd4aebd29c70566b6d5b', class: `hint_text text-sm-regular ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
|
|
195
195
|
}
|
|
196
196
|
static get is() { return "gb-textarea-input-field"; }
|
|
197
197
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class GbThemeTab {
|
|
|
16
16
|
const systemIconSrc = getAssetPath(`assets/laptop.svg`);
|
|
17
17
|
const sunSrc = getAssetPath(`assets/sun-02.svg`);
|
|
18
18
|
const moonSrc = getAssetPath(`assets/moon-02.svg`);
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'b28506c4c482a87b4328ca8b2b42fb0714ebc4ab', class: `theme_tab_div` }, h("div", { key: '01223dba3d9f1b0035c63c7ba285b073a25c1588', class: "tab" }, h("gb-icon-button-base", { key: 'd9e77751a004530ec5f8a4907bf74c4a9934dc47', current: this.currentActiveTab === 'system' ? true : false, icon: systemIconSrc, label: "System", onClick: () => this.tabClicked('system') })), h("div", { key: '21b83bc3a9f345329ea05d2db866ee1c2b714457', class: "tab" }, h("gb-icon-button-base", { key: '0209c0d455fd7ed369c1d4fb9c9c8278bbd79ee3', current: this.currentActiveTab === 'light' ? true : false, icon: sunSrc, label: "Light", onClick: () => this.tabClicked('light') })), h("div", { key: '62652eb88fbea6b18b57cab49dc72c986f78a5cd', class: "tab" }, h("gb-icon-button-base", { key: 'f8aba02a0d3aae05c0bff0689d04593531483367', current: this.currentActiveTab === 'dark' ? true : false, icon: moonSrc, label: "Dark", onClick: () => this.tabClicked('dark') }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-theme-tab"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,14 +56,29 @@ export class GbThemeTab {
|
|
|
56
56
|
"setter": false,
|
|
57
57
|
"attribute": "theme",
|
|
58
58
|
"reflect": false
|
|
59
|
+
},
|
|
60
|
+
"currentActiveTab": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": true,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "string",
|
|
65
|
+
"resolved": "string",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
76
|
+
"attribute": "current-active-tab",
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"defaultValue": "'system'"
|
|
59
79
|
}
|
|
60
80
|
};
|
|
61
81
|
}
|
|
62
|
-
static get states() {
|
|
63
|
-
return {
|
|
64
|
-
"currentActiveTab": {}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
82
|
static get events() {
|
|
68
83
|
return [{
|
|
69
84
|
"method": "themeTabClicked",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-theme-tab.js","sourceRoot":"","sources":["../../../src/components/gb-theme-tab/gb-theme-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"gb-theme-tab.js","sourceRoot":"","sources":["../../../src/components/gb-theme-tab/gb-theme-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQ/F,MAAM,OAAO,UAAU;IALvB;QAQ2B,qBAAgB,GAAW,QAAQ,CAAC;KA4C9D;IAzCC,UAAU,CAAC,KAAa;QACtB,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,oCAAoC;QACpC,IAAI,CAAC,EAAE,CAAC,aAAa,CACnB,IAAI,WAAW,CAAC,aAAa,EAAE;YAC7B,MAAM,EAAE,EAAE,KAAK,EAAE;YACjB,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI,EAAE,cAAc;SAC/B,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,MAAM,aAAa,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACxD,MAAM,MAAM,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,YAAY,CAAC,oBAAoB,CAAC,CAAC;QAEnD,OAAO,CACL,4DAAK,KAAK,EAAE,eAAe;YACzB,4DAAK,KAAK,EAAC,KAAK;gBACd,4EACE,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAC1D,IAAI,EAAE,aAAa,EACnB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GACnB,CACnB;YACN,4DAAK,KAAK,EAAC,KAAK;gBACd,4EACE,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EACzD,IAAI,EAAE,MAAM,EACZ,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAClB,CACnB;YACN,4DAAK,KAAK,EAAC,KAAK;gBACd,4EAAqB,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC,MAAM,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,GAAwB,CACrK,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, getAssetPath, h } from '@stencil/core';\r\nimport { ThemeTypes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-theme-tab',\r\n styleUrl: 'gb-theme-tab.css',\r\n shadow: true,\r\n})\r\nexport class GbThemeTab {\r\n @Prop({ mutable: true }) theme: ThemeTypes;\r\n @Event() themeTabClicked: EventEmitter<string>;\r\n @Prop({ mutable: true }) currentActiveTab: string = 'system';\r\n @Element() el: HTMLElement;\r\n\r\n tabClicked(theme: string) {\r\n this.currentActiveTab = theme;\r\n // this.themeTabClicked.emit(theme);\r\n this.el.dispatchEvent(\r\n new CustomEvent('themeChange', {\r\n detail: { theme },\r\n bubbles: true,\r\n composed: true, // This is key\r\n }),\r\n ); \r\n }\r\n\r\n render() {\r\n const systemIconSrc = getAssetPath(`assets/laptop.svg`);\r\n const sunSrc = getAssetPath(`assets/sun-02.svg`);\r\n const moonSrc = getAssetPath(`assets/moon-02.svg`);\r\n\r\n return (\r\n <div class={`theme_tab_div`}>\r\n <div class=\"tab\">\r\n <gb-icon-button-base\r\n current={this.currentActiveTab === 'system' ? true : false}\r\n icon={systemIconSrc}\r\n label=\"System\"\r\n onClick={() => this.tabClicked('system')}\r\n ></gb-icon-button-base>\r\n </div>\r\n <div class=\"tab\">\r\n <gb-icon-button-base\r\n current={this.currentActiveTab === 'light' ? true : false}\r\n icon={sunSrc}\r\n label=\"Light\"\r\n onClick={() => this.tabClicked('light')}\r\n ></gb-icon-button-base>\r\n </div>\r\n <div class=\"tab\">\r\n <gb-icon-button-base current={this.currentActiveTab === 'dark' ? true : false} icon={moonSrc} label=\"Dark\" onClick={() => this.tabClicked('dark')}></gb-icon-button-base>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -54,7 +54,7 @@ export class GbToast {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: 'ec29a186c6b565acd11c238e6e835696b34579f8', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '136fe98eff1a693d0e55887b5510e5c7afa8d896', class: `icon_container` }, h("svg", { key: '1863f6e7d0c1229ccc095c91a46830836424300b', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: 'cd8a5daceb17539dc3666614020c7d552d777822', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: 'a4f811ff57479f700b5ea2eb18fac5e34c83169f', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: 'f7c585fa3ee2f0f3bfe4cad029508d84e77581da', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '5610b1f420ee3009103d3e68001d4407aadd8f8c', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '5d08eb0926990eaed27402bb7f9af6e7837cf204', class: `text ${this.size}` }, h("slot", { key: '14d697799c2a596c5909444c6586b4698c2bb60c', name: "main_text" }), this.showSupportingText && h("slot", { key: '8396465942fc5993203dbbe84f27149ba52acff6', name: "supporting_text" })), this.actions && (h("div", { key: '7abc819d3b24d5c99bda2f9a26400d30d745b79f', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes"))))))), h("gb-button-close", { key: 'cf550c3b5113a9a41d1fbbf42084d2a431211661', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.size}` }))), this.size === 'full_width' && (h("div", { key: 'b6eb18257f7a5a557e3db8ec5339c3dc66d1db2f', class: `container ${this.breakpoint}` }, h("div", { key: 'ac06cc10dda64769690af5cf852ee75c19b31916', class: `full_width_content ${this.breakpoint}` }, h("div", { key: 'e8b17168812504819198b3a2ffa0673d7d8d52de', class: `inner_content ${this.breakpoint}` }, h("div", { key: '3396f4f204e70f1ee94fe7680755d1ffd83dc89c', class: `icon_container` }, h("svg", { key: 'd10297b86d6bbd54ba802ff88329bf4666232feb', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: '512e86740e50348e4038f07acdbe92da8afae4b1', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '77e243a67431f3c1d284579a25ba0335c39dc064', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: '0593ea25bea9125caa96b4661b1f0399043285bc', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: 'd6b0573150716c470b7fecd4daac008cf25924f2', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: '111641b6e72aa73ed9fa37746e9476b766d2766c', name: "main_text" }), this.showSupportingText && h("slot", { key: 'cd05460fcfd1392a7eae43ca7376cac03049ac9d', name: "supporting_text" }))), this.actions && (h("div", { key: 'e0373212c336ed60896a5face063d82a1fb1b5ef', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes")))))), h("gb-button-close", { key: '3ea421fbbd1e8d30c68dedad13e6b1fb7ab80341', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}`, onClick: () => this.closeToast() }))))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "gb-toast"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class GbToastButton {
|
|
|
5
5
|
slottedContent.classList.add('text-sm-semi-bold');
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '51c6daf175acc052f831f0837df2298d3d379c18', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: 'a2e44255abc6ffcbb97fa40620795d66b708dbe4' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-toast-button"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class GbToggle {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '5c43da6422d049becc4a82841a57846e68be6051', class: `toggle_div ${this.size}` }, h("div", { key: '8483ba25446ea40d3c8c70fab4a9c85e36e2aaf0', class: "toggle_base" }, h("gb-toggle-base", { key: '6468dd403542b9140afc1fe6e884f90caa817004', size: this.size, state: this.state, pressed: this.pressed })), this.text && (h("div", { key: 'b0ca9ce5d2fd4d74e67ced7df75ef9307950f977', class: "text" }, h("slot", { key: 'a03a4418b0e995411597aa1254f072a6530b1719', name: "main_text" }), this.supportingText && (h("slot", { key: '6f6d705cef3647e171dc83ac420754fda5ed9343', name: "supporting_text" }))))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "gb-toggle"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,8 +11,8 @@ export class GbToggleBase {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return [
|
|
14
|
-
h("input", { key: '
|
|
15
|
-
h("label", { key: '
|
|
14
|
+
h("input", { key: '6a8914cfc174442552106e42d2f52edb09451dcd', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
|
|
15
|
+
h("label", { key: 'c62738da346a376f21d7212328894a5a8b721919', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#075DB2", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#E3E8EF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
|
|
16
16
|
];
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "gb-toggle-base"; }
|
|
@@ -5,7 +5,7 @@ export class GbTokenFieldCompact {
|
|
|
5
5
|
this.supportingText = '';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'a43cc70c0877d75b568d737a046862357bda83a0', class: this.size }, h("div", { key: '162a4727406ca05e62ada3024a158b79cb26cf0e', class: "input-with-label" }, this.showLabel && (h("label", { key: 'd78df7809d2cd913322626a37d72223b7ded7153' }, this.label)), this.digits === 4 && (h("div", { key: '00ff8dfa393fb96dd1818c03eafc32bac3ef4bf5', class: "input-wrapper" }, h("gb-mega-input-field-base", { key: 'f8f4307d8057e5e6fe2aec3e1b0bf39b4007552f', size: this.size }), h("gb-mega-input-field-base", { key: '67d9498aa5c3688196b23dd3342ad0318265d602', size: this.size }), h("gb-mega-input-field-base", { key: '07c35e5bfbaa342be99f568bc5a76a4baa7f5997', size: this.size }), h("gb-mega-input-field-base", { key: 'dd3737b31acce1444a559c8903601ca588e67524', size: this.size }))), this.digits === 6 && (h("div", { key: '07dd37fd1d1d1d9860deedd8ee6b33b238c98286', class: "input-wrapper" }, h("div", { key: '971633a4640b8a618318091d29b94217d1537d06', class: "first=section" }, h("gb-mega-input-field-base", { key: 'b6006f47ce5e31b9a168fa4abd1fcc572f127a77', size: this.size }), h("gb-mega-input-field-base", { key: '18d0acf835c1a2f23f82d88233548b09367f58eb', size: this.size }), h("gb-mega-input-field-base", { key: '5d1f3636b549b9b693640ba5d878d0837860fc2b', size: this.size })), h("div", { key: 'bb0e44bdf3d9aec45e7f902e5472e89977e93d50', class: "second=section" }, h("gb-mega-input-field-base", { key: 'c31c6d91f7ab777e979197cbe220a053cba304a3', size: this.size }), h("gb-mega-input-field-base", { key: '63880fd22b6119621df8f34df04521ba34727b4d', size: this.size }), h("gb-mega-input-field-base", { key: 'c09ff241c930fde566461d368d9fef885749a715', size: this.size })))), this.digits === 8 && (h("div", { key: '3073684458be60a556ab5c40adda80dd18e10e37', class: "input-wrapper" }, h("div", { key: 'bf37664a2837c2bc82e82729049a16475889b6a9', class: "first=section" }, h("gb-mega-input-field-base", { key: 'de1aebfd9b92ecc0b3f80adfea7a6cb29a19755a', size: this.size }), h("gb-mega-input-field-base", { key: '457b7aeeda5d8815826c9e8cbbb1a9a18c5aeb51', size: this.size }), h("gb-mega-input-field-base", { key: '9c752bc051a16157b1e69ce9cfc033d0476d8d21', size: this.size }), h("gb-mega-input-field-base", { key: 'd832dec249f517307d0d21e645a318300dcf24eb', size: this.size })), h("div", { key: '501fdde0a1ef042f3886466cc720bec73d198088', class: "second=section" }, h("gb-mega-input-field-base", { key: '0635915cce3d0d56f7d5340ca0beedf0ceb0a9dc', size: this.size }), h("gb-mega-input-field-base", { key: '80a8e59179ebc1834c595855ad2086ab9094c098', size: this.size }), h("gb-mega-input-field-base", { key: 'ddaad5ffdd81526e132feb2e9ac9e40053ec446e', size: this.size }), h("gb-mega-input-field-base", { key: '87cfdc3821e39300d822f028bd6ed0b2163feabf', size: this.size }))))), h("p", { key: '77de1a9092c884ba44f511328c4f30f97e19ddc8' }, this.supportingText)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-token-field-compact"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|