globuswebcomponents 1.9.2 → 1.9.3
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-label-group_2.cjs.entry.js +1 -1
- package/dist/cjs/{gb-avatar_24.cjs.entry.js → gb-avatar_28.cjs.entry.js} +101 -37
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js +4 -4
- package/dist/cjs/gb-header.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-icon-button-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +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-tab-button-base.cjs.entry.js +3 -3
- package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-table-header.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/components/gb-button/gb-button.css +2 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +8 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +36 -47
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js.map +1 -1
- package/dist/collection/components/gb-filter-button/gb-filter-button.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +3 -3
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +12 -12
- package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
- package/dist/collection/components/gb-pagination/gb-pagination.js +4 -4
- 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 +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.js +1 -1
- 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 +2 -2
- package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js.map +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.js +1 -1
- 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 +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-action-panel.js +1 -1
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +7 -7
- 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-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +4 -4
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.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 +5 -5
- 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-header-icon.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-help-dropdown.js +1 -1
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +5 -5
- 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-mega-input-field-base.js +1 -1
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +5 -5
- 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 +19 -19
- 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 +9 -9
- 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 +3 -3
- package/dist/components/gb-stepper-vertical-icons-with-text.js.map +1 -1
- 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.js +15 -15
- 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 +3 -3
- 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 +2 -2
- package/dist/components/gb-token-field-compressed.js +3 -3
- 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-BV08fIq9.js → p-0z-Ii_bD.js} +4 -4
- package/dist/components/{p-BV08fIq9.js.map → p-0z-Ii_bD.js.map} +1 -1
- package/dist/components/{p-CGArB7Dl.js → p-81eH6VIc.js} +4 -4
- package/dist/components/{p-CGArB7Dl.js.map → p-81eH6VIc.js.map} +1 -1
- package/dist/components/{p-Ckvl-ljn.js → p-B2OUWVZ_.js} +6 -6
- package/dist/components/{p-Ckvl-ljn.js.map → p-B2OUWVZ_.js.map} +1 -1
- package/dist/components/{p-DcbuYddf.js → p-BgihZ2WC.js} +3 -3
- package/dist/components/{p-DcbuYddf.js.map → p-BgihZ2WC.js.map} +1 -1
- package/dist/components/{p-CSLTGZjM.js → p-BhCoeneG.js} +4 -4
- package/dist/components/{p-CSLTGZjM.js.map → p-BhCoeneG.js.map} +1 -1
- package/dist/components/{p-CeQ_Rsq1.js → p-Bpczbky_.js} +5 -5
- package/dist/components/{p-CeQ_Rsq1.js.map → p-Bpczbky_.js.map} +1 -1
- package/dist/components/{p-DqahRJXl.js → p-C-NL8IFL.js} +3 -3
- package/dist/components/{p-DqahRJXl.js.map → p-C-NL8IFL.js.map} +1 -1
- package/dist/components/{p-DYHvA9s4.js → p-C-ocGE59.js} +3 -3
- package/dist/components/{p-DYHvA9s4.js.map → p-C-ocGE59.js.map} +1 -1
- package/dist/components/{p-FuGWRoer.js → p-CEeMUMDR.js} +5 -5
- package/dist/components/{p-FuGWRoer.js.map → p-CEeMUMDR.js.map} +1 -1
- package/dist/components/{p-DeBriAnB.js → p-CKDxIvCN.js} +3 -3
- package/dist/components/{p-DeBriAnB.js.map → p-CKDxIvCN.js.map} +1 -1
- package/dist/components/{p-B5OTx5lN.js → p-CMzvyg7A.js} +3 -3
- package/dist/components/{p-B5OTx5lN.js.map → p-CMzvyg7A.js.map} +1 -1
- package/dist/components/{p-s5rCN-h6.js → p-CVRfInIs.js} +3 -3
- package/dist/components/{p-s5rCN-h6.js.map → p-CVRfInIs.js.map} +1 -1
- package/dist/components/{p-CbKSy-VL.js → p-Cb-tBq59.js} +7 -7
- package/dist/components/{p-CbKSy-VL.js.map → p-Cb-tBq59.js.map} +1 -1
- package/dist/components/{p-BoroGYho.js → p-CfULZPQu.js} +3 -3
- package/dist/components/{p-BoroGYho.js.map → p-CfULZPQu.js.map} +1 -1
- package/dist/components/{p-BrYyk7ia.js → p-CwQVtwRh.js} +3 -3
- package/dist/components/{p-BrYyk7ia.js.map → p-CwQVtwRh.js.map} +1 -1
- package/dist/components/{p-vtXEng2T.js → p-DCG3i0LZ.js} +3 -3
- package/dist/components/{p-vtXEng2T.js.map → p-DCG3i0LZ.js.map} +1 -1
- package/dist/components/{p-D9oGYaxi.js → p-DIXFsYjF.js} +7 -7
- package/dist/components/{p-D9oGYaxi.js.map → p-DIXFsYjF.js.map} +1 -1
- package/dist/components/{p-D3yFmIT2.js → p-DOE3ST3h.js} +3 -3
- package/dist/components/{p-D3yFmIT2.js.map → p-DOE3ST3h.js.map} +1 -1
- package/dist/components/{p-C7KkOpHK.js → p-DOwfvMvC.js} +4 -4
- package/dist/components/{p-C7KkOpHK.js.map → p-DOwfvMvC.js.map} +1 -1
- package/dist/components/{p-DusEwCgj.js → p-DYrINDIt.js} +3 -3
- package/dist/components/{p-DusEwCgj.js.map → p-DYrINDIt.js.map} +1 -1
- package/dist/components/{p-DNVipIEI.js → p-DZ0ngrE4.js} +3 -3
- package/dist/components/p-DZ0ngrE4.js.map +1 -0
- package/dist/components/{p-Bb6DZwkT.js → p-DZpe7WjU.js} +3 -3
- package/dist/components/{p-Bb6DZwkT.js.map → p-DZpe7WjU.js.map} +1 -1
- package/dist/components/{p-C0eGaqog.js → p-DbZN12Es.js} +3 -3
- package/dist/components/{p-C0eGaqog.js.map → p-DbZN12Es.js.map} +1 -1
- package/dist/components/{p-Dx2gmcFF.js → p-Dn37brLE.js} +4 -4
- package/dist/components/{p-Dx2gmcFF.js.map → p-Dn37brLE.js.map} +1 -1
- package/dist/components/{p-DV74m5Co.js → p-DqLkwgjp.js} +8 -8
- package/dist/components/{p-DV74m5Co.js.map → p-DqLkwgjp.js.map} +1 -1
- package/dist/components/{p-BzZZMQQ7.js → p-JTFLU9el.js} +14 -10
- package/dist/components/p-JTFLU9el.js.map +1 -0
- package/dist/components/{p-Dx4lHnka.js → p-KQFebKUi.js} +3 -3
- package/dist/components/{p-Dx4lHnka.js.map → p-KQFebKUi.js.map} +1 -1
- package/dist/components/{p-C2RLPamg.js → p-OSUxN4ko.js} +4 -4
- package/dist/components/{p-C2RLPamg.js.map → p-OSUxN4ko.js.map} +1 -1
- package/dist/components/{p-C_Tapp1O.js → p-QTMzCBtx.js} +3 -3
- package/dist/components/{p-C_Tapp1O.js.map → p-QTMzCBtx.js.map} +1 -1
- package/dist/components/{p-BA-QUue9.js → p-S2Fn2uZ7.js} +25 -25
- package/dist/components/{p-BA-QUue9.js.map → p-S2Fn2uZ7.js.map} +1 -1
- package/dist/components/{p-BnuyRYKO.js → p-XxxsRdkv.js} +8 -8
- package/dist/components/{p-BnuyRYKO.js.map → p-XxxsRdkv.js.map} +1 -1
- package/dist/components/{p-CVNPQFHp.js → p-_lQQMKXl.js} +4 -4
- package/dist/components/{p-CVNPQFHp.js.map → p-_lQQMKXl.js.map} +1 -1
- package/dist/components/{p-BuACBwBa.js → p-fTmhdKp0.js} +6 -6
- package/dist/components/{p-BuACBwBa.js.map → p-fTmhdKp0.js.map} +1 -1
- package/dist/components/{p-Mu5E0ief.js → p-gA10RsUl.js} +4 -4
- package/dist/components/{p-Mu5E0ief.js.map → p-gA10RsUl.js.map} +1 -1
- package/dist/components/{p-Bv7er-mf.js → p-hUgl7eJZ.js} +3 -3
- package/dist/components/{p-Bv7er-mf.js.map → p-hUgl7eJZ.js.map} +1 -1
- package/dist/components/{p-MVShD5fJ.js → p-kOZqYDp0.js} +17 -17
- package/dist/components/{p-MVShD5fJ.js.map → p-kOZqYDp0.js.map} +1 -1
- package/dist/components/{p-DFrgWCgh.js → p-qMu0ix2z.js} +4 -4
- package/dist/components/{p-DFrgWCgh.js.map → p-qMu0ix2z.js.map} +1 -1
- package/dist/components/{p-BErGETuo.js → p-rp9QOdK1.js} +7 -7
- package/dist/components/{p-BErGETuo.js.map → p-rp9QOdK1.js.map} +1 -1
- package/dist/components/{p-BUTqRUeS.js → p-t4dIl8kI.js} +4 -4
- package/dist/components/{p-BUTqRUeS.js.map → p-t4dIl8kI.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/docs.json +35 -63
- package/dist/esm/gb-avatar-label-group_2.entry.js +1 -1
- package/dist/esm/{gb-avatar_24.entry.js → gb-avatar_28.entry.js} +98 -38
- package/dist/esm/gb-avatar_28.entry.js.map +1 -0
- package/dist/esm/gb-collapse-button_4.entry.js +1 -1
- package/dist/esm/gb-export-dropdown_2.entry.js +1 -1
- package/dist/esm/gb-header-icon.entry.js +4 -4
- package/dist/esm/gb-header.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
- package/dist/esm/gb-icon-button-base.entry.js +1 -1
- package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js +1 -1
- package/dist/esm/gb-notification-pane.entry.js +3 -3
- 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 +1 -1
- 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 +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-tab-button-base.entry.js +3 -3
- package/dist/esm/gb-table-cell.entry.js +1 -1
- package/dist/esm/gb-table-header.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/gb-button.css +2 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-27f7db8f.entry.js → p-0019e8c5.entry.js} +2 -2
- package/dist/globuscomponents/p-0dcf6fdb.entry.js +2 -0
- package/dist/globuscomponents/{p-8ea379ce.entry.js → p-188b4e81.entry.js} +2 -2
- package/dist/globuscomponents/{p-3762f17f.entry.js → p-27ecc3ac.entry.js} +2 -2
- package/dist/globuscomponents/{p-2df35014.entry.js → p-32d11ef6.entry.js} +2 -2
- package/dist/globuscomponents/{p-5c40b98a.entry.js → p-37530662.entry.js} +2 -2
- package/dist/globuscomponents/{p-7934a554.entry.js → p-3b938a8e.entry.js} +2 -2
- package/dist/globuscomponents/{p-d96a836a.entry.js → p-3d693d76.entry.js} +2 -2
- package/dist/globuscomponents/{p-02088466.entry.js → p-43224e61.entry.js} +2 -2
- package/dist/globuscomponents/p-44f71ea5.entry.js +2 -0
- package/dist/globuscomponents/p-44f71ea5.entry.js.map +1 -0
- package/dist/globuscomponents/{p-a390c2b3.entry.js → p-5332a01d.entry.js} +2 -2
- package/dist/globuscomponents/{p-dc549111.entry.js → p-54ad878b.entry.js} +2 -2
- package/dist/globuscomponents/p-54bf96fa.entry.js +2 -0
- package/dist/globuscomponents/{p-0032a0eb.entry.js → p-590ab02c.entry.js} +2 -2
- package/dist/globuscomponents/{p-2627c42d.entry.js → p-5edc31e2.entry.js} +2 -2
- package/dist/globuscomponents/{p-146958c2.entry.js → p-66d120ec.entry.js} +2 -2
- package/dist/globuscomponents/{p-d7328c40.entry.js → p-6a2778c1.entry.js} +2 -2
- package/dist/globuscomponents/{p-c7c7ce12.entry.js → p-6ed52606.entry.js} +2 -2
- package/dist/globuscomponents/{p-9cb18747.entry.js → p-7cc3e0db.entry.js} +2 -2
- package/dist/globuscomponents/{p-2a21eb7b.entry.js → p-8326641c.entry.js} +2 -2
- package/dist/globuscomponents/{p-705b5c14.entry.js → p-8cb765b3.entry.js} +2 -2
- package/dist/globuscomponents/{p-8ecbae72.entry.js → p-ab4fed44.entry.js} +2 -2
- package/dist/globuscomponents/{p-120a40ff.entry.js → p-b0bef3c4.entry.js} +2 -2
- package/dist/globuscomponents/{p-8f15525a.entry.js → p-b1ac61f8.entry.js} +2 -2
- package/dist/globuscomponents/{p-1e8100d7.entry.js → p-b9fa4a6a.entry.js} +2 -2
- package/dist/globuscomponents/{p-5e541142.entry.js → p-bf4aa815.entry.js} +2 -2
- package/dist/globuscomponents/{p-f3018a7e.entry.js → p-c113115f.entry.js} +2 -2
- package/dist/globuscomponents/{p-02c897ed.entry.js → p-c5e7ff16.entry.js} +2 -2
- package/dist/globuscomponents/{p-e91aa93b.entry.js → p-c658e221.entry.js} +2 -2
- package/dist/globuscomponents/{p-acd3e297.entry.js → p-c6991bdd.entry.js} +2 -2
- package/dist/globuscomponents/{p-3ac302ce.entry.js → p-c6f00968.entry.js} +2 -2
- package/dist/globuscomponents/{p-77d56d49.entry.js → p-cfa63fc9.entry.js} +2 -2
- package/dist/globuscomponents/{p-769c122f.entry.js → p-dea7f5cb.entry.js} +2 -2
- package/dist/globuscomponents/{p-8aafa688.entry.js → p-e0330208.entry.js} +2 -2
- package/dist/globuscomponents/{p-7d1fc7af.entry.js → p-e20719f9.entry.js} +2 -2
- package/dist/globuscomponents/{p-b14a2747.entry.js → p-e2c85cfd.entry.js} +2 -2
- package/dist/globuscomponents/{p-34b42b72.entry.js → p-ed2e19f6.entry.js} +2 -2
- package/dist/globuscomponents/p-f118ff55.entry.js +2 -0
- package/dist/globuscomponents/{p-a335c974.entry.js.map → p-f118ff55.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-b7c64337.entry.js → p-fa92a77f.entry.js} +2 -2
- package/dist/globuscomponents/{p-844c182c.entry.js → p-fccfa5b0.entry.js} +2 -2
- package/dist/types/components/gb-file-upload-item-base/gb-file-upload-item-base.d.ts +3 -3
- package/dist/types/components.d.ts +4 -4
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_24.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-button-close.cjs.entry.js +0 -20
- package/dist/cjs/gb-button-close.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-button-close.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-file-type-icon.gb-progress-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +0 -35
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +0 -25
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload-item-base.entry.cjs.js.map +0 -1
- package/dist/components/p-BzZZMQQ7.js.map +0 -1
- package/dist/components/p-DNVipIEI.js.map +0 -1
- package/dist/esm/gb-avatar_24.entry.js.map +0 -1
- package/dist/esm/gb-button-close.entry.js +0 -18
- package/dist/esm/gb-button-close.entry.js.map +0 -1
- package/dist/esm/gb-file-type-icon.gb-progress-bar.entry.js.map +0 -1
- package/dist/esm/gb-file-type-icon_2.entry.js +0 -32
- package/dist/esm/gb-file-type-icon_2.entry.js.map +0 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +0 -23
- package/dist/esm/gb-file-upload-item-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-button-close.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-file-type-icon.gb-progress-bar.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-file-upload-item-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-77853834.entry.js +0 -2
- package/dist/globuscomponents/p-78b197e8.entry.js +0 -2
- package/dist/globuscomponents/p-78b197e8.entry.js.map +0 -1
- package/dist/globuscomponents/p-a30bbf32.entry.js +0 -2
- package/dist/globuscomponents/p-a30bbf32.entry.js.map +0 -1
- package/dist/globuscomponents/p-a335c974.entry.js +0 -2
- package/dist/globuscomponents/p-d9f9ff6c.entry.js +0 -2
- package/dist/globuscomponents/p-dd81e164.entry.js +0 -2
- package/dist/globuscomponents/p-dd81e164.entry.js.map +0 -1
- package/dist/globuscomponents/p-f46743c7.entry.js +0 -2
- package/dist/globuscomponents/p-f46743c7.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-27f7db8f.entry.js.map → p-0019e8c5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-77853834.entry.js.map → p-0dcf6fdb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8ea379ce.entry.js.map → p-188b4e81.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3762f17f.entry.js.map → p-27ecc3ac.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2df35014.entry.js.map → p-32d11ef6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5c40b98a.entry.js.map → p-37530662.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7934a554.entry.js.map → p-3b938a8e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d96a836a.entry.js.map → p-3d693d76.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-02088466.entry.js.map → p-43224e61.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a390c2b3.entry.js.map → p-5332a01d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-dc549111.entry.js.map → p-54ad878b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d9f9ff6c.entry.js.map → p-54bf96fa.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0032a0eb.entry.js.map → p-590ab02c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2627c42d.entry.js.map → p-5edc31e2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-146958c2.entry.js.map → p-66d120ec.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d7328c40.entry.js.map → p-6a2778c1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c7c7ce12.entry.js.map → p-6ed52606.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9cb18747.entry.js.map → p-7cc3e0db.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2a21eb7b.entry.js.map → p-8326641c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-705b5c14.entry.js.map → p-8cb765b3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8ecbae72.entry.js.map → p-ab4fed44.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-120a40ff.entry.js.map → p-b0bef3c4.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8f15525a.entry.js.map → p-b1ac61f8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1e8100d7.entry.js.map → p-b9fa4a6a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5e541142.entry.js.map → p-bf4aa815.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f3018a7e.entry.js.map → p-c113115f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-02c897ed.entry.js.map → p-c5e7ff16.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e91aa93b.entry.js.map → p-c658e221.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-acd3e297.entry.js.map → p-c6991bdd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3ac302ce.entry.js.map → p-c6f00968.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-77d56d49.entry.js.map → p-cfa63fc9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-769c122f.entry.js.map → p-dea7f5cb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8aafa688.entry.js.map → p-e0330208.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7d1fc7af.entry.js.map → p-e20719f9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b14a2747.entry.js.map → p-e2c85cfd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-34b42b72.entry.js.map → p-ed2e19f6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b7c64337.entry.js.map → p-fa92a77f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-844c182c.entry.js.map → p-fccfa5b0.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-file-upload-item-base.js","sourceRoot":"","sources":["../../../src/components/gb-file-upload-item-base/gb-file-upload-item-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAClF,OAAO,EAAqE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAO3H,MAAM,OAAO,oBAAoB;IALjC;QAQU,eAAU,GAAiB,IAAI,CAAC;QAEhC,gBAAW,GAAc,SAAS,CAAC,OAAO,CAAC;KAkHpD;IA1GC,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAE,mCAAmC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,EAAE;YAC3E,IAAI,CAAC,KAAK,KAAK,aAAa,IAAI,CAC/B,4DAAK,KAAK,EAAE,mBAAmB,IAAI,CAAC,UAAU,EAAE;gBAC9C,4DAAK,KAAK,EAAC,WAAW;oBACpB,wFAA+B,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,eAAa,IAAI,CAAC,QAAQ,GAAsB,CACvJ;gBACN,4DAAK,KAAK,EAAC,qBAAqB;oBAC7B,IAAI,CAAC,UAAU,KAAK,IAAI,IAAI,CAC3B;wBACE,0DAAG,KAAK,EAAE,kBAAkB,IAAI,CAAC,KAAK,iBAAiB;4BAAG,IAAI,CAA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,0DAAG,KAAK,EAAE,kBAAkB,IAAI,CAAC,KAAK,kBAAkB;4BAAG,IAAI,CAAC,QAAQ;;4BAAO,GAAG,IAAI,CAAC,QAAQ,EAAE;yCAAe;wBAChH,4DAAK,KAAK,EAAC,MAAM;4BACf,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAE,IAAI,kBAAgB,IAAI,uBAAoB,sBAAsB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE;gCACvL,oEAAY,CACF;4BACZ,4DAAK,KAAK,EAAC,KAAK;gCACd,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,YAAY,EAAC,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAC,KAAK;oCACjG,wEAAgB,CACN,CACR,CACF,CACL,CACJ,CACG,CACF,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Fragment, Event, EventEmitter } from '@stencil/core';\r\nimport { FileIconTypes, FileUploadIconType, FileUploadStates, GeneralSizes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-file-upload-item-base',\r\n styleUrl: 'gb-file-upload-item-base.css',\r\n shadow: true,\r\n})\r\nexport class GbFileUploadItemBase {\r\n @Prop() icon: FileUploadIconType;\r\n @Prop() state: FileUploadStates;\r\n @Prop() heightSize: GeneralSizes = 'md';\r\n @Prop() fileType: FileIconTypes;\r\n @Prop() buttonState: StateEnum = StateEnum.Default;\r\n @Prop() progress: number;\r\n @Prop() size: number;\r\n @Prop() fileSize: number;\r\n @Prop() fileName: string;\r\n @Event() cancelUpload: EventEmitter<void>;\r\n @Event() deleteFileUpload: EventEmitter<void>;\r\n\r\n render() {\r\n return (\r\n <div class={`file_upload_item_base_container ${this.state} ${this.heightSize}`}>\r\n {this.state === 'in_progress' && (\r\n <div class={`in_progress_div ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class=\"in_progress_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}KB</p>\r\n <gb-progress-bar progress={this.progress} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\" onClick={() => this.cancelUpload.emit()}></gb-button-close>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}KB</p>\r\n <gb-progress-bar progress={this.progress} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\" onClick={() => this.cancelUpload.emit()}></gb-button-close>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'complete' && (\r\n <div class={`complete ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class={`complete_content ${this.heightSize}`}>\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>\r\n {`${this.fileSize}`}KB – {`${this.progress}`}% uploaded\r\n </p>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"only\" icon-leading={true} icon-leading-swap=\"assets/delete-02.svg\" class=\"delete_button\" onClick={() => this.deleteFileUpload.emit()}></gb-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}KB – {`${this.progress}`} % uploaded</p>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" icon-leading={true} icon-leading-swap=\"assets/delete-02.svg\" onClick={() => this.deleteFileUpload.emit()}>\r\n <p>Clear</p>\r\n </gb-button>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'error' && (\r\n <div class={`error ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class=\"error_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <div class=\"error_content_text\">\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>Upload failed, please try again</p>\r\n </div>\r\n <div class=\"try_again_btn\">\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" destructive={true}>\r\n <p>Try again</p>\r\n </gb-button>\r\n </div>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n destructive={true}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/delete-02.svg\"\r\n class=\"delete_button\"\r\n onClick={() => this.deleteFileUpload.emit()}\r\n ></gb-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>{this.fileName}.{this.fileType}</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}KB – {`${this.progress}`}% uploaded</p>\r\n <div class=\"btns\">\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" destructive={true} icon-leading={true} icon-leading-swap=\"assets/delete-02.svg\" onClick={() => this.deleteFileUpload.emit()}>\r\n <p>Clear</p>\r\n </gb-button>\r\n <div class=\"btn\">\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon={StateEnum.Default} destructive={true} class=\"btn\">\r\n <p>Try again</p>\r\n </gb-button>\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"gb-file-upload-item-base.js","sourceRoot":"","sources":["../../../src/components/gb-file-upload-item-base/gb-file-upload-item-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAClF,OAAO,EAAqE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAO3H,MAAM,OAAO,oBAAoB;IALjC;QAQU,eAAU,GAAiB,IAAI,CAAC;KAyMzC;IA7LC,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAE,mCAAmC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,EAAE;YAC3E,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,CAC3B;gBACG,IAAI,CAAC,UAAU,KAAK,IAAI,IAAI;oBAC3B,4DAAK,KAAK,EA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AC,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE;oCAC5I,wEAAgB,CACN,CACR,CACF,CACL,CACJ,CACG,CACF,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Fragment, Event, EventEmitter } from '@stencil/core';\r\nimport { FileIconTypes, FileUploadIconType, FileUploadStates, GeneralSizes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-file-upload-item-base',\r\n styleUrl: 'gb-file-upload-item-base.css',\r\n shadow: true,\r\n})\r\nexport class GbFileUploadItemBase {\r\n @Prop() icon: FileUploadIconType;\r\n @Prop() state: FileUploadStates;\r\n @Prop() heightSize: GeneralSizes = 'md';\r\n @Prop() fileType: FileIconTypes;\r\n // @Prop() buttonState: StateEnum = StateEnum.Default;\r\n @Prop() progress: number;\r\n // @Prop() size: number;\r\n @Prop() fileSize: number;\r\n @Prop() fileName: string;\r\n @Event() uploadButtonClicked: EventEmitter<void>;\r\n @Event() cancelUpload: EventEmitter<void>;\r\n @Event() deleteFileUpload: EventEmitter<void>;\r\n @Event() tryAgainClicked: EventEmitter<void>;\r\n\r\n render() {\r\n return (\r\n <div class={`file_upload_item_base_container ${this.state} ${this.heightSize}`}>\r\n {this.state === 'default' && (\r\n <>\r\n {this.heightSize === 'md' && [\r\n <div class={`default ${this.heightSize}`}>\r\n <div class=\"file_upload_icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\r\n <path\r\n d=\"M17.5 9.01101V8.261L17.4981 8.26101L17.5 9.01101ZM9.54945 9.61023C9.8804 9.85933 10.3506 9.79298 10.5997 9.46204C10.8488 9.1311 10.7825 8.66088 10.4515 8.41178L9.54945 9.61023ZM15.6641 11.5394C15.4006 11.8591 15.4462 12.3317 15.7658 12.5952C16.0854 12.8587 16.5581 12.8132 16.8216 12.4936L15.6641 11.5394ZM17.9174 17.2546C17.5057 17.3002 17.209 17.6709 17.2546 18.0826C17.3002 18.4943 17.6709 18.791 18.0826 18.7454L17.9174 17.2546ZM5.85054 18.6623C6.25644 18.7448 6.65241 18.4827 6.73496 18.0768C6.8175 17.6709 6.55537 17.2749 6.14946 17.1924L5.85054 18.6623ZM12 13V12.25V13ZM11.25 21C11.25 21.4142 11.5858 21.75 12 21.75C12.4142 21.75 12.75 21.4142 12.75 21H11.25ZM8.96219 14.9773C8.67349 15.2743 8.68023 15.7491 8.97726 16.0378C9.27428 16.3265 9.74911 16.3198 10.0378 16.0227L8.96219 14.9773ZM13.9622 16.0227C14.2509 16.3198 14.7257 16.3265 15.0227 16.0378C15.3198 15.7491 15.3265 15.2743 15.0378 14.9773L13.9622 16.0227ZM12 3.75C14.6221 3.75 16.75 5.87987 16.75 8.51009H18.25C18.25 5.05403 15.4531 2.25 12 2.25V3.75ZM17.5 9.76101C19.5698 9.76101 21.25 11.4423 21.25 13.5193H22.75C22.75 10.6165 20.4008 8.26101 17.5 8.26101V9.76101ZM17.4794 9.76106L17.5019 9.761L17.4981 8.26101L17.4757 8.26106L17.4794 9.76106ZM16.75 8.51009C16.75 8.6565 16.7434 8.80117 16.7306 8.94386L18.2246 9.07826C18.2414 8.89095 18.25 8.70143 18.25 8.51009H16.75ZM2.75 13.0183C2.75 10.8031 4.43748 8.98389 6.5916 8.77853L6.44924 7.2853C3.53048 7.56356 1.25 10.0247 1.25 13.0183H2.75ZM6.5916 8.77853C6.72581 8.76574 6.86203 8.75917 7 8.75917V7.25917C6.81443 7.25917 6.6307 7.268 6.44924 7.2853L6.5916 8.77853ZM7.26768 8.09603C7.47668 5.66023 9.51709 3.75 12 3.75V2.25C8.72939 2.25 6.04797 4.76511 5.77317 7.9678L7.26768 8.09603ZM7 8.75917C7.95746 8.75917 8.83914 9.07557 9.54945 9.61023L10.4515 8.41178C9.49035 7.68831 8.29419 7.25917 7 7.25917V8.75917ZM16.7306 8.94386C16.6423 9.92517 16.2569 10.8203 15.6641 11.5394L16.8216 12.4936C17.6003 11.5489 18.1084 10.37 18.2246 9.07826L16.7306 8.94386ZM21.25 13.5193C21.25 15.4544 19.7906 17.0471 17.9174 17.2546L18.0826 18.7454C20.7093 18.4545 22.75 16.2252 22.75 13.5193H21.25ZM6.14946 17.1924C4.21067 16.7981 2.75 15.079 2.75 13.0183H1.25C1.25 15.8044 3.22485 18.1283 5.85054 18.6623L6.14946 17.1924ZM11.25 13V21H12.75V13H11.25ZM12 12.25C11.7417 12.25 11.5193 12.339 11.3578 12.4254C11.1904 12.515 11.0348 12.631 10.8968 12.7485C10.6213 12.9832 10.3457 13.285 10.0995 13.5755C9.85056 13.8693 9.60952 14.1784 9.40971 14.4328C9.19651 14.7042 9.05089 14.886 8.96219 14.9773L10.0378 16.0227C10.1949 15.8612 10.3971 15.604 10.5893 15.3593C10.7949 15.0975 11.0169 14.8132 11.2439 14.5452C11.4738 14.274 11.6873 14.0456 11.8694 13.8905C11.9601 13.8132 12.0255 13.7694 12.0656 13.7479C12.1116 13.7233 12.0832 13.75 12 13.75V12.25ZM15.0378 14.9773C14.9491 14.886 14.8035 14.7042 14.5903 14.4328C14.3905 14.1784 14.1494 13.8693 13.9005 13.5755C13.6543 13.285 13.3787 12.9832 13.1032 12.7485C12.9652 12.631 12.8096 12.515 12.6422 12.4254C12.4807 12.339 12.2583 12.25 12 12.25V13.75C11.9168 13.75 11.8884 13.7233 11.9344 13.7479C11.9745 13.7694 12.0399 13.8132 12.1306 13.8905C12.3127 14.0456 12.5262 14.274 12.7561 14.5452C12.9831 14.8132 13.2051 15.0975 13.4107 15.3593C13.6029 15.604 13.8051 15.8612 13.9622 16.0227L15.0378 14.9773Z\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n </div>\r\n <div class=\"default_content\">\r\n <p class=\"upload_text text-sm-semi-bold\">Tap to upload</p>\r\n <p class=\"file_type_text text-xs-regular\">SVG, PNG, JPG or GIF (max. 800x400px)</p>\r\n </div>\r\n </div>,\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" class=\"upload_btn_md\" icon-leading={true} onClick={() => this.uploadButtonClicked.emit()}>\r\n <p>Upload</p>\r\n </gb-button>,\r\n ]}\r\n {this.heightSize === 'lg' && [\r\n <div class={`default ${this.heightSize}`}>\r\n <div class=\"file_upload_icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\r\n <path\r\n d=\"M17.5 9.01101V8.261L17.4981 8.26101L17.5 9.01101ZM9.54945 9.61023C9.8804 9.85933 10.3506 9.79298 10.5997 9.46204C10.8488 9.1311 10.7825 8.66088 10.4515 8.41178L9.54945 9.61023ZM15.6641 11.5394C15.4006 11.8591 15.4462 12.3317 15.7658 12.5952C16.0854 12.8587 16.5581 12.8132 16.8216 12.4936L15.6641 11.5394ZM17.9174 17.2546C17.5057 17.3002 17.209 17.6709 17.2546 18.0826C17.3002 18.4943 17.6709 18.791 18.0826 18.7454L17.9174 17.2546ZM5.85054 18.6623C6.25644 18.7448 6.65241 18.4827 6.73496 18.0768C6.8175 17.6709 6.55537 17.2749 6.14946 17.1924L5.85054 18.6623ZM12 13V12.25V13ZM11.25 21C11.25 21.4142 11.5858 21.75 12 21.75C12.4142 21.75 12.75 21.4142 12.75 21H11.25ZM8.96219 14.9773C8.67349 15.2743 8.68023 15.7491 8.97726 16.0378C9.27428 16.3265 9.74911 16.3198 10.0378 16.0227L8.96219 14.9773ZM13.9622 16.0227C14.2509 16.3198 14.7257 16.3265 15.0227 16.0378C15.3198 15.7491 15.3265 15.2743 15.0378 14.9773L13.9622 16.0227ZM12 3.75C14.6221 3.75 16.75 5.87987 16.75 8.51009H18.25C18.25 5.05403 15.4531 2.25 12 2.25V3.75ZM17.5 9.76101C19.5698 9.76101 21.25 11.4423 21.25 13.5193H22.75C22.75 10.6165 20.4008 8.26101 17.5 8.26101V9.76101ZM17.4794 9.76106L17.5019 9.761L17.4981 8.26101L17.4757 8.26106L17.4794 9.76106ZM16.75 8.51009C16.75 8.6565 16.7434 8.80117 16.7306 8.94386L18.2246 9.07826C18.2414 8.89095 18.25 8.70143 18.25 8.51009H16.75ZM2.75 13.0183C2.75 10.8031 4.43748 8.98389 6.5916 8.77853L6.44924 7.2853C3.53048 7.56356 1.25 10.0247 1.25 13.0183H2.75ZM6.5916 8.77853C6.72581 8.76574 6.86203 8.75917 7 8.75917V7.25917C6.81443 7.25917 6.6307 7.268 6.44924 7.2853L6.5916 8.77853ZM7.26768 8.09603C7.47668 5.66023 9.51709 3.75 12 3.75V2.25C8.72939 2.25 6.04797 4.76511 5.77317 7.9678L7.26768 8.09603ZM7 8.75917C7.95746 8.75917 8.83914 9.07557 9.54945 9.61023L10.4515 8.41178C9.49035 7.68831 8.29419 7.25917 7 7.25917V8.75917ZM16.7306 8.94386C16.6423 9.92517 16.2569 10.8203 15.6641 11.5394L16.8216 12.4936C17.6003 11.5489 18.1084 10.37 18.2246 9.07826L16.7306 8.94386ZM21.25 13.5193C21.25 15.4544 19.7906 17.0471 17.9174 17.2546L18.0826 18.7454C20.7093 18.4545 22.75 16.2252 22.75 13.5193H21.25ZM6.14946 17.1924C4.21067 16.7981 2.75 15.079 2.75 13.0183H1.25C1.25 15.8044 3.22485 18.1283 5.85054 18.6623L6.14946 17.1924ZM11.25 13V21H12.75V13H11.25ZM12 12.25C11.7417 12.25 11.5193 12.339 11.3578 12.4254C11.1904 12.515 11.0348 12.631 10.8968 12.7485C10.6213 12.9832 10.3457 13.285 10.0995 13.5755C9.85056 13.8693 9.60952 14.1784 9.40971 14.4328C9.19651 14.7042 9.05089 14.886 8.96219 14.9773L10.0378 16.0227C10.1949 15.8612 10.3971 15.604 10.5893 15.3593C10.7949 15.0975 11.0169 14.8132 11.2439 14.5452C11.4738 14.274 11.6873 14.0456 11.8694 13.8905C11.9601 13.8132 12.0255 13.7694 12.0656 13.7479C12.1116 13.7233 12.0832 13.75 12 13.75V12.25ZM15.0378 14.9773C14.9491 14.886 14.8035 14.7042 14.5903 14.4328C14.3905 14.1784 14.1494 13.8693 13.9005 13.5755C13.6543 13.285 13.3787 12.9832 13.1032 12.7485C12.9652 12.631 12.8096 12.515 12.6422 12.4254C12.4807 12.339 12.2583 12.25 12 12.25V13.75C11.9168 13.75 11.8884 13.7233 11.9344 13.7479C11.9745 13.7694 12.0399 13.8132 12.1306 13.8905C12.3127 14.0456 12.5262 14.274 12.7561 14.5452C12.9831 14.8132 13.2051 15.0975 13.4107 15.3593C13.6029 15.604 13.8051 15.8612 13.9622 16.0227L15.0378 14.9773Z\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n </div>\r\n <div class=\"default_content\">\r\n <p class={`upload_text text-sm-regular ${this.heightSize}`}>\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" onClick={() => this.uploadButtonClicked.emit()}>\r\n <p>Click to upload</p>\r\n </gb-button>\r\n or drag and drop\r\n </p>\r\n <p class=\"file_type_text text-xs-regular\">SVG, PNG, JPG or GIF (max. 800x400px)</p>\r\n </div>\r\n </div>,\r\n ]}\r\n </>\r\n )}\r\n {this.state === 'in_progress' && (\r\n <div class={`in_progress_div ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class=\"in_progress_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}</p>\r\n <gb-progress-bar progress={this.progress} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\" onClick={() => this.cancelUpload.emit()}></gb-button-close>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>{this.fileSize}</p>\r\n <gb-progress-bar progress={this.progress} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\" onClick={() => this.cancelUpload.emit()}></gb-button-close>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'complete' && (\r\n <div class={`complete ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class={`complete_content ${this.heightSize}`}>\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>\r\n {`${this.fileSize}`} – {`${this.progress}`}% uploaded\r\n </p>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/delete-02.svg\"\r\n class=\"delete_button\"\r\n onClick={() => this.deleteFileUpload.emit()}\r\n ></gb-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>\r\n {this.fileSize} – {`${this.progress}`} % uploaded\r\n </p>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/delete-02.svg\"\r\n onClick={() => this.deleteFileUpload.emit()}\r\n >\r\n <p>Clear</p>\r\n </gb-button>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'error' && (\r\n <div class={`error ${this.heightSize}`}>\r\n <div class=\"file_icon\">\r\n <gb-file-type-icon file-style={this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null} file-type={this.fileType}></gb-file-type-icon>\r\n </div>\r\n <div class=\"error_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <div class=\"error_content_text\">\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>Upload failed, please try again</p>\r\n </div>\r\n <div class=\"try_again_btn\">\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" destructive={true} onClick={() => this.tryAgainClicked.emit()}>\r\n <p>Try again</p>\r\n </gb-button>\r\n </div>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n destructive={true}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/delete-02.svg\"\r\n class=\"delete_button\"\r\n onClick={() => this.deleteFileUpload.emit()}\r\n ></gb-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>\r\n {this.fileName}.{this.fileType}\r\n </p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>\r\n {this.fileSize} – {`${this.progress}`}% uploaded\r\n </p>\r\n <div class=\"btns\">\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"default\"\r\n destructive={true}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/delete-02.svg\"\r\n onClick={() => this.deleteFileUpload.emit()}\r\n >\r\n <p>Clear</p>\r\n </gb-button>\r\n <div class=\"btn\">\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon={StateEnum.Default} destructive={true} class=\"btn\" onClick={() => this.tryAgainClicked.emit()}>\r\n <p>Try again</p>\r\n </gb-button>\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -10,7 +10,7 @@ export class GbFilterButton {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '833ac00d47f07fd7d987af564a636725eb2948cb', class: `filter_button_div` }, h("gb-button", { key: 'ca98cafb9db7fbb5bc35233dd16f3d755819a3e9', size: "md", state: "default", hierarchy: "secondary_gray", icon: this.iconOnly ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/filter-horizontal-stroke.svg" }, h("p", { key: '3d928110b33a5dfa7e2db5b0627b188d6fbe34cd' }, "Filter")), this.state === 'applied' && (h("gb-badge", { key: '05b300278c32cb78d1aa7c066a39007953b88152', size: "sm", type: "pill_color", color: "error", icon: "false", class: `badge ${this.state}` }, h("slot", { key: 'dfdc451173a3e6aec045caa6f64e76e4639271bf', name: "filter_count" })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gb-filter-button"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class GbHeader {
|
|
|
48
48
|
const notificationIconSrc = getAssetPath(`assets/notification-03.svg`);
|
|
49
49
|
const logo = getAssetPath(`assets/globus_bank_logo_blue.svg`);
|
|
50
50
|
const iconLogo = getAssetPath(`assets/globus_bank_logo_white.svg`);
|
|
51
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: 'a6857c591e0e27b733ea30b8895aba0ca08f3b99', class: `header_div` }, h("div", { key: 'ac7ee20a148d437f820d1587423a943e28e9f78b', class: "content" }, this.showLogo && (h(Fragment, null, h("div", { key: 'b1792255a27df730398a5c9eeb2afffc2423d508', class: "logo", onClick: () => this.onNavBarItemClicked('logo') }, h("img", { key: '430601c5e9c29674eca7d6db2efc42a03aae3ba1', src: logo, alt: "" })), h("div", { key: '817af15270a52f20a8ac176513db0ca28a7b8c7c', class: "icon_logo", onClick: () => this.onNavBarItemClicked('logo') }, h("img", { key: '5567c7cf01d64c1b9f9b3d673af0e36d4155693b', src: iconLogo, alt: "" })))), h("div", { key: 'da8343435d5cedeb9a4962bc4f098853a7e3da3a', class: "inner_content" }, h("div", { key: '071f16a7bea8c532d96a7ad7ac6303dd097176f8', class: `action` }, this.showHelp && h("gb-header-icon", { key: '572865a5e03f88bee5afb03133778494e2a97837', state: StateEnum.Default, icon: helpIconSrc, onClick: () => this.onNavBarItemClicked('help') }), this.showNotification && (h("gb-header-icon", { key: '4205539fa2661cddae6953a3cf1b5b0f1296b25c', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => this.onNavBarItemClicked('notification') }))), h("gb-avatar", { key: '1a73c35d68e2fcb5d56731d97a4e17c1ff362fe3', size: "md", text: this.text, placeholder: this.placeholder, color: this.color, "show-border": this.showBorder, onClick: () => this.onNavBarItemClicked('avatar') }, this.text ? h("slot", { slot: "initials", name: "initials" }) : h("slot", { name: "image", slot: "image" }))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "gb-header"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,13 +7,13 @@ export class GbHeaderIcon {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
return [
|
|
10
|
-
h("div", { key: '
|
|
10
|
+
h("div", { key: '778b39fedef5fc9a088c965f840db994299e15ab', class: `background ${this.state}` }, this.state === StateEnum.Default && [
|
|
11
11
|
// <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
12
12
|
// <path d="M3.72919 7.73286L4.47919 7.73293V7.73286H3.72919ZM16.2706 7.73286H15.5206V7.73293L16.2706 7.73286ZM16.3065 14.2952L16.5863 14.9911L16.3065 14.2952ZM3.6933 14.2952L3.97308 13.5994L3.97308 13.5994L3.6933 14.2952ZM16.8452 10.1617L16.2307 10.5916L16.2332 10.5951L16.8452 10.1617ZM17.8916 11.9951L17.1507 12.1115L17.1507 12.1115L17.8916 11.9951ZM3.15459 10.1617L3.76669 10.5951L3.76915 10.5916L3.15459 10.1617ZM2.10819 11.9951L1.36728 11.8786H1.36728L2.10819 11.9951ZM7.9616 16.909C7.63517 16.654 7.16384 16.7119 6.90886 17.0383C6.65388 17.3648 6.7118 17.8361 7.03824 18.0911L7.9616 16.909ZM12.9616 18.0911C13.288 17.8361 13.346 17.3648 13.091 17.0383C12.836 16.7119 12.3647 16.654 12.0382 16.909L12.9616 18.0911ZM16.0268 13.5994C12.4873 15.0225 7.51251 15.0225 3.97308 13.5994L3.41351 14.9911C7.31201 16.5586 12.6878 16.5586 16.5863 14.9911L16.0268 13.5994ZM17.0206 7.73286C17.0206 3.94514 13.8537 0.916687 9.99992 0.916687V2.41669C13.0726 2.41669 15.5206 4.82007 15.5206 7.73286H17.0206ZM4.47919 7.73286C4.47919 4.82007 6.92727 2.41669 9.99992 2.41669V0.916687C6.14612 0.916687 2.97919 3.94514 2.97919 7.73286H4.47919ZM3.97308 13.5994C3.14627 13.2669 2.75147 12.7326 2.84909 12.1115L1.36728 11.8786C1.11048 13.5125 2.30023 14.5434 3.41351 14.9911L3.97308 13.5994ZM16.5863 14.9911C17.6996 14.5434 18.8894 13.5125 18.6326 11.8786L17.1507 12.1115C17.2484 12.7326 16.8536 13.2669 16.0268 13.5994L16.5863 14.9911ZM17.4598 9.73179C17.0815 9.19099 17.0207 8.58744 17.0206 7.7328L15.5206 7.73293C15.5207 8.61212 15.5638 9.63826 16.2307 10.5916L17.4598 9.73179ZM3.76915 10.5916C4.43604 9.63825 4.47911 8.61212 4.47919 7.73293L2.97919 7.7328C2.97911 8.58744 2.91834 9.19099 2.54003 9.73179L3.76915 10.5916ZM2.54251 9.72827C2.45079 9.8578 2.35253 9.98608 2.23845 10.1379C2.12877 10.2839 2.00871 10.4463 1.89595 10.6178C1.67289 10.957 1.44576 11.3793 1.36728 11.8786L2.84909 12.1115C2.87952 11.9179 2.97611 11.7052 3.14928 11.4419C3.23464 11.3121 3.33082 11.1812 3.43773 11.0389C3.54024 10.9024 3.65891 10.7473 3.76668 10.5951L2.54251 9.72827ZM16.2332 10.5951C16.3409 10.7473 16.4596 10.9024 16.5621 11.0389C16.669 11.1812 16.7652 11.3121 16.8506 11.4419C17.0237 11.7052 17.1203 11.9179 17.1507 12.1115L18.6326 11.8786C18.5541 11.3793 18.327 10.957 18.1039 10.6178C17.9911 10.4463 17.8711 10.2839 17.7614 10.1379C17.6473 9.98608 17.5491 9.8578 17.4573 9.72827L16.2332 10.5951ZM9.99992 17.5834C9.20289 17.5834 8.49015 17.3218 7.9616 16.909L7.03824 18.0911C7.83658 18.7147 8.87606 19.0834 9.99992 19.0834V17.5834ZM12.0382 16.909C11.5097 17.3218 10.7969 17.5834 9.99992 17.5834V19.0834C11.1238 19.0834 12.1633 18.7147 12.9616 18.0911L12.0382 16.909Z" fill="#4B5565"/>
|
|
13
13
|
// </svg>,
|
|
14
|
-
h("img", { key: '
|
|
15
|
-
h(Fragment, null, this.showIndicator && (h("div", { key: '
|
|
16
|
-
], this.state === StateEnum.Disabled && (h("svg", { key: '
|
|
14
|
+
h("img", { key: '9ff70be346108f0f732849d54395fa4a6f34420c', src: this.icon, alt: "", class: "icon" }),
|
|
15
|
+
h(Fragment, null, this.showIndicator && (h("div", { key: '955cbdd195cc579f716f302677722f07dfbccddb', class: "red_dot" })))
|
|
16
|
+
], this.state === StateEnum.Disabled && (h("svg", { key: '3936ebe032ee899b3c4580b8d1aefd61889dae40', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '74467626a4f3e76597816bb66348fe1710ea31a3', d: "M3.72919 7.73286L4.47919 7.73293V7.73286H3.72919ZM16.2706 7.73286H15.5206V7.73293L16.2706 7.73286ZM16.3065 14.2952L16.5863 14.9911L16.3065 14.2952ZM3.6933 14.2952L3.97308 13.5994L3.97308 13.5994L3.6933 14.2952ZM16.8452 10.1617L16.2307 10.5916L16.2332 10.5951L16.8452 10.1617ZM17.8916 11.9951L17.1507 12.1115L17.1507 12.1115L17.8916 11.9951ZM3.15459 10.1617L3.76669 10.5951L3.76915 10.5916L3.15459 10.1617ZM2.10819 11.9951L1.36728 11.8786H1.36728L2.10819 11.9951ZM7.9616 16.909C7.63517 16.654 7.16384 16.7119 6.90886 17.0383C6.65388 17.3648 6.7118 17.8361 7.03824 18.0911L7.9616 16.909ZM12.9616 18.0911C13.288 17.8361 13.346 17.3648 13.091 17.0383C12.836 16.7119 12.3647 16.654 12.0382 16.909L12.9616 18.0911ZM16.0268 13.5994C12.4873 15.0225 7.51251 15.0225 3.97308 13.5994L3.41351 14.9911C7.31201 16.5586 12.6878 16.5586 16.5863 14.9911L16.0268 13.5994ZM17.0206 7.73286C17.0206 3.94514 13.8537 0.916687 9.99992 0.916687V2.41669C13.0726 2.41669 15.5206 4.82007 15.5206 7.73286H17.0206ZM4.47919 7.73286C4.47919 4.82007 6.92727 2.41669 9.99992 2.41669V0.916687C6.14612 0.916687 2.97919 3.94514 2.97919 7.73286H4.47919ZM3.97308 13.5994C3.14627 13.2669 2.75147 12.7326 2.84909 12.1115L1.36728 11.8786C1.11048 13.5125 2.30023 14.5434 3.41351 14.9911L3.97308 13.5994ZM16.5863 14.9911C17.6996 14.5434 18.8894 13.5125 18.6326 11.8786L17.1507 12.1115C17.2484 12.7326 16.8536 13.2669 16.0268 13.5994L16.5863 14.9911ZM17.4598 9.73179C17.0815 9.19099 17.0207 8.58744 17.0206 7.7328L15.5206 7.73293C15.5207 8.61212 15.5638 9.63826 16.2307 10.5916L17.4598 9.73179ZM3.76915 10.5916C4.43604 9.63825 4.47911 8.61212 4.47919 7.73293L2.97919 7.7328C2.97911 8.58744 2.91834 9.19099 2.54003 9.73179L3.76915 10.5916ZM2.54251 9.72827C2.45079 9.8578 2.35253 9.98608 2.23845 10.1379C2.12877 10.2839 2.00871 10.4463 1.89595 10.6178C1.67289 10.957 1.44576 11.3793 1.36728 11.8786L2.84909 12.1115C2.87952 11.9179 2.97611 11.7052 3.14928 11.4419C3.23464 11.3121 3.33082 11.1812 3.43773 11.0389C3.54024 10.9024 3.65891 10.7473 3.76668 10.5951L2.54251 9.72827ZM16.2332 10.5951C16.3409 10.7473 16.4596 10.9024 16.5621 11.0389C16.669 11.1812 16.7652 11.3121 16.8506 11.4419C17.0237 11.7052 17.1203 11.9179 17.1507 12.1115L18.6326 11.8786C18.5541 11.3793 18.327 10.957 18.1039 10.6178C17.9911 10.4463 17.8711 10.2839 17.7614 10.1379C17.6473 9.98608 17.5491 9.8578 17.4573 9.72827L16.2332 10.5951ZM9.99992 17.5834C9.20289 17.5834 8.49015 17.3218 7.9616 16.909L7.03824 18.0911C7.83658 18.7147 8.87606 19.0834 9.99992 19.0834V17.5834ZM12.0382 16.909C11.5097 17.3218 10.7969 17.5834 9.99992 17.5834V19.0834C11.1238 19.0834 12.1633 18.7147 12.9616 18.0911L12.0382 16.909Z", fill: "#CDD5DF" }))))
|
|
17
17
|
];
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "gb-header-icon"; }
|
|
@@ -4,7 +4,7 @@ export class GbHelpDropdown {
|
|
|
4
4
|
this.helpItemClicked.emit(item);
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '164389ea9986138dddb167a7026b52941591c089', class: "dropdown-container" }, h("div", { key: '4536ab5d27df811e4c008dbe1993990ff399c63e', class: "user_guide" }, h("gb-dropdown-items-with-shortcut", { key: 'f542b3dd71476c037a19bb9b2a5e0525b952be9b', icon: true, iconSrc: "assets/book_open.svg", label: "Download user guide", onClick: () => this.onHelpItemClicked('download_user_guide') })), h("div", { key: '50d26cd0ad02e1e23f0deb772d501a1e88246f1a', class: "bug" }, h("gb-dropdown-items-with-shortcut", { key: '0bf5e7651e0c9f5bb37e0545cf2ce63eab1c07fb', icon: true, iconSrc: "assets/bug_02.svg", label: "Report a bug", onClick: () => this.onHelpItemClicked('report_a_bug') })), this.showLogError && (h("div", { key: '6dd952d61ec83280e4b27e8316b6995527ff0c73', class: "log_error" }, h("gb-dropdown-items-with-shortcut", { key: 'f0c0a8db4868395bc3c9dd83d096750b9729f6d1', icon: true, iconSrc: "assets/alert_02.svg", label: "Log a profile error", onClick: () => this.onHelpItemClicked('log_a_profile_error') })))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-help-dropdown"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class GbHelpTooltip {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'f0e7c10131ec815d84fc283213b229484bea429a', class: `help_tooltip` }, h("svg", { key: '2be8b2e3fe662ae97aaf16b99fb903124f1757b1', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", onMouseEnter: () => (this.showHelpTooltip = true), onMouseLeave: () => (this.showHelpTooltip = false), class: "help_circle" }, h("path", { key: '5197d0d866c106d5dc658b10f015a479629e5dab', d: "M6.66659 6C6.66659 5.26362 7.26354 4.66666 7.99992 4.66666C8.7363 4.66666 9.33325 5.26362 9.33325 6C9.33325 6.26543 9.25569 6.51275 9.12199 6.72052C8.72352 7.33978 7.99992 7.93028 7.99992 8.66666V9M7.99458 11.3333H8.00057M14.6666 8C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8C1.33325 4.3181 4.31802 1.33333 7.99992 1.33333C11.6818 1.33333 14.6666 4.3181 14.6666 8Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), this.showHelpTooltip && (h("gb-tooltip", { key: '97cb9349ce76ee8029960629b46589da51fbb086', "show-arrow": true, arrow: "bottom_right", "show-supporting-text": this.showSupportingText, class: "tooltip" }, h("slot", { key: 'b4f80dae8338f94c4aa622847158f46bc1e51ea1', name: "label", slot: "label" }), h("slot", { key: '226eef5e7160f941eb7654293955beca189dab9d', name: "supporting_text", slot: "supporting_text" })))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-help-tooltip"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class GbHorizontalTabs {
|
|
|
29
29
|
this.tabItemClicked.emit(index);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: 'ef59a58bcae6540dceed629133bf2a8d178d8984', class: `horizontal_tab_div ${this.type} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: '25418d44b4c0dde58875ea3dc7c660331ed654bd', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'b78bf4b940704b49c8d2a69200d81a5322b9ba05', slot: "count", name: "first_tab_count" })), h("gb-tab-button-base", { key: 'd672b4940c9768808972b4fb63a5e501c4043082', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '103a19c104795b4b8a14d8ab5b649319427a0eba', slot: "count", name: "second_tab_count" })), this.thirdTabName && (h("gb-tab-button-base", { key: 'e1bbae8d050cd394cdb46fd0fc20fc8943948adf', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'f527320814def047865f9bc533b98b7d9fbf259e', slot: "count", name: "third_tab_count" }))), this.fourthTabName && (h("gb-tab-button-base", { key: 'c00a7f2b68d1804fdde6c266dcf62ceed47a3d32', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '74708c49709d327c830c8a250163406de6b633bc', slot: "count", name: "fourth_tab_count" }))), this.fifthTabName && (h("gb-tab-button-base", { key: 'c1ee8e05528772d02a033e21b0ac4ef0124eb475', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '7c9502968afac2584ae196bbbd9b99e80fb4c092', slot: "count", name: "fifth_tab_count" }))), this.sixthTabName && (h("gb-tab-button-base", { key: 'bb55b2a6dea114659ed4600c9950a4554a5abd4b', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '5a768b8d416577e1b25f5e91032a490c05df5f68', slot: "count", name: "sixth_tab_count" }))), this.seventhTabName && (h("gb-tab-button-base", { key: '7d8fd0b4c216824501460aced9ff9dff71ad701d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'a4b6eb41eda302e2dcefbb16e1f86169e5c53e61', slot: "count", name: "seventh_tab_count" }))), this.eighthTabName && (h("gb-tab-button-base", { key: '8378505e6b2711c6a4f2cae2f0dad13d23de7702', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'bd3c5c701a2dfb342e72cdd716b45a3733c4915e', slot: "count", name: "eighth_tab_count" }))), this.ninthTabName && (h("gb-tab-button-base", { key: '92190b4ce8e36a9fe1f6669463a1b92770c1498f', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '74b2f98fea6f21f058749a5dc2c73c8a23650c32', slot: "count", name: "ninth_tab_count" }))), this.tenthTabName && (h("gb-tab-button-base", { key: '47baabe71e08a821ca14dba74829ee51e45e4dcc', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '2b0fb077ac8f51e8eb645884dd0b5c0c3b8d418a', slot: "count", name: "tenth_tab_count" }))), this.eleventhTabName && (h("gb-tab-button-base", { key: '241041a6658294ae51ae77bd35cf407ce12bf653', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(10), current: this.activeIndex === 10, "tab-name": this.eleventhTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'b7d8f21e33ff83d5a19c04e95cd99a9bfd77ae60', slot: "count", name: "eleventh_tab_count" }))), this.twelfthTabName && (h("gb-tab-button-base", { key: 'c084c3ca06fe2f37016e0a16231d62fcbb6a4717', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(11), current: this.activeIndex === 11, "tab-name": this.twelfthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'd82c6cf1dfd891fb5864270f7cea3b4d928cef44', slot: "count", name: "twelfth_tab_count" }))), this.thirteenthTabName && (h("gb-tab-button-base", { key: '4a61f3a1a2764598c54b6e9cb7fd395174687358', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(12), current: this.activeIndex === 12, "tab-name": this.thirteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'd6afbe607cd993ce795f7ffe41c4e6fd2dd99218', slot: "count", name: "thirteenth_tab_count" }))), this.fourteenthTabName && (h("gb-tab-button-base", { key: 'e66db8ec7f868e90ed4bcdb3681cab23ae122a42', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(13), current: this.activeIndex === 13, "tab-name": this.fourteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '56bb674248574ca28a4a3b79dd277c3b10ed1a08', slot: "count", name: "fourteenth_tab_count" }))), this.fifteenthTabName && (h("gb-tab-button-base", { key: '29d06061aa3043d77c9841a000773a89a746b0bd', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(14), current: this.activeIndex === 14, "tab-name": this.fifteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'e39e66928fa8b42b092157890fbc5e56510b4839', slot: "count", name: "fifteenth_tab_count" }))), this.sixteenthTabName && (h("gb-tab-button-base", { key: '4504ee0f3303385fb2885e7f4e63abb6b787bd61', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(15), current: this.activeIndex === 15, "tab-name": this.sixteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '72a6c1a2bd2282b234a9cd6e4bd2cd82e6e97cea', slot: "count", name: "sixteenth_tab_count" }))), this.seventeenthTabName && (h("gb-tab-button-base", { key: '2c8dda1e693ae5f7febbc46ee8e23501108e4086', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(16), current: this.activeIndex === 16, "tab-name": this.seventeenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'ab9b093309414230ac8890f0bbc41a710c4b02b7', slot: "count", name: "seventeenth_tab_count" }))), this.eighteenthTabName && (h("gb-tab-button-base", { key: '17cc3ea9df723555d5d898eceee10442c6abf08c', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(17), current: this.activeIndex === 17, "tab-name": this.eighteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '1b1a0fb42ddb029e239498bb8b4e814c92037f7e', slot: "count", name: "eighteenth_tab_count" }))), this.nineteenthTabName && (h("gb-tab-button-base", { key: 'cceacf06cbc73c309cfd5bedc3b10eefe6810a3d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(18), current: this.activeIndex === 18, "tab-name": this.nineteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '61bbfd6c8d0bdf926f8b734db4f10f2fa15c15f8', slot: "count", name: "nineteenth_tab_count" }))), this.twentiethTabName && (h("gb-tab-button-base", { key: '436a2d9ca618362a8770a64fbf4ebdf0be802406', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(19), current: this.activeIndex === 19, "tab-name": this.twentiethTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '1d4da3577f6c42e98712857ae34f64f165c91666', slot: "count", name: "twentieth_tab_count" })))));
|
|
32
|
+
return (h("div", { key: '611ed713ada33e603c2fe841712da730b50b99ac', class: `horizontal_tab_div ${this.type} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: 'd8d2fcc435c05647a10de1649313d6136d62a669', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '5b55e9eb0776f7bbe46f7a66d3992367f6af066e', slot: "count", name: "first_tab_count" })), h("gb-tab-button-base", { key: '63149d35ce1bba3e9e8216823a409a3642f0b10a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'dad1588224a5560dade49e6efb1170203469aefd', slot: "count", name: "second_tab_count" })), this.thirdTabName && (h("gb-tab-button-base", { key: 'a07209fec36eb5f6336341cff13d889eee885d51', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'f499f5c6fe2639f83af5c3cbc5c4f27426c7943b', slot: "count", name: "third_tab_count" }))), this.fourthTabName && (h("gb-tab-button-base", { key: '586e55001e57f00213e8b75298f56b1c827b47a0', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '6e5409920361bb55610547a1edc591e40d5d1108', slot: "count", name: "fourth_tab_count" }))), this.fifthTabName && (h("gb-tab-button-base", { key: '447fb01b99f1fe322744cd57cf186d70033d6fd3', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'e6b5a996e2b3698bf2904be0114b3827650960a9', slot: "count", name: "fifth_tab_count" }))), this.sixthTabName && (h("gb-tab-button-base", { key: '85bfe96646694c0570dcc0f8ec2a3ad95c259d2c', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'e56207141e99cebe7aa632f50537e252dbeb8260', slot: "count", name: "sixth_tab_count" }))), this.seventhTabName && (h("gb-tab-button-base", { key: '6def9dcef0cacb0398c8963e77806f07037cdf4a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'e9067c5e2eacad70dda770edc4d0c336f0d14403', slot: "count", name: "seventh_tab_count" }))), this.eighthTabName && (h("gb-tab-button-base", { key: 'db9ca65ff873677d4f1aebf23fbfe2e7e4b608d5', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '72580995b88c9a31159bdeaba60b07ac50983e20', slot: "count", name: "eighth_tab_count" }))), this.ninthTabName && (h("gb-tab-button-base", { key: '46fe3b77a9494f2d907ece2e28ede8c0e9af6b78', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '9939510f1dfd7df59c0d9f16dc759d45603140b6', slot: "count", name: "ninth_tab_count" }))), this.tenthTabName && (h("gb-tab-button-base", { key: 'c3c603fb3f81e349b55787f80362422932a52768', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '1abf51893afd91df1ce03db17b72b27b36682e31', slot: "count", name: "tenth_tab_count" }))), this.eleventhTabName && (h("gb-tab-button-base", { key: 'b5fc516071cc09be1b0c10502248cf6ce277fe07', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(10), current: this.activeIndex === 10, "tab-name": this.eleventhTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '95c204446dfd9dca7f660ffd4ef07d6da9037d24', slot: "count", name: "eleventh_tab_count" }))), this.twelfthTabName && (h("gb-tab-button-base", { key: '1fb79111928868624fc65a212c77f540112b0dc9', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(11), current: this.activeIndex === 11, "tab-name": this.twelfthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '891b06c1b7fc724d12346269914ccf28121a9f6b', slot: "count", name: "twelfth_tab_count" }))), this.thirteenthTabName && (h("gb-tab-button-base", { key: '369586dbc431aec3a90894f12c319e124fd88832', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(12), current: this.activeIndex === 12, "tab-name": this.thirteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '7e38e5d5652cac134121222ea9693bd6d272a25a', slot: "count", name: "thirteenth_tab_count" }))), this.fourteenthTabName && (h("gb-tab-button-base", { key: '2b60dd100d467e7f84b03e7c78c327e79658b5f5', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(13), current: this.activeIndex === 13, "tab-name": this.fourteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '030e36b2b938c6b5d9cbae8fc79d2a941e76b8b7', slot: "count", name: "fourteenth_tab_count" }))), this.fifteenthTabName && (h("gb-tab-button-base", { key: '7d887fc2c98fdd0d00f818ea1362289c502b0f14', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(14), current: this.activeIndex === 14, "tab-name": this.fifteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'ec6437f19e6ff071077adbc88b72ef4627651162', slot: "count", name: "fifteenth_tab_count" }))), this.sixteenthTabName && (h("gb-tab-button-base", { key: 'c870cda127a5b061ceef3c8b7bf0a5f527b10189', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(15), current: this.activeIndex === 15, "tab-name": this.sixteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'fd1c27d30219b16966362a480a8f5525a0e26963', slot: "count", name: "sixteenth_tab_count" }))), this.seventeenthTabName && (h("gb-tab-button-base", { key: '038af1380756fd44496675a99a26e44cd683658d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(16), current: this.activeIndex === 16, "tab-name": this.seventeenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '2f8f3a899b195f408d9657918289ca3fc23689c9', slot: "count", name: "seventeenth_tab_count" }))), this.eighteenthTabName && (h("gb-tab-button-base", { key: '55796a9db7abb5ba74827dbfa9db76df40b7d6cc', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(17), current: this.activeIndex === 17, "tab-name": this.eighteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'ef90b0eea8e000886635787dca89b4e8a542621f', slot: "count", name: "eighteenth_tab_count" }))), this.nineteenthTabName && (h("gb-tab-button-base", { key: '4c1eb835c209bf8858840d709b20d35b681ef8ec', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(18), current: this.activeIndex === 18, "tab-name": this.nineteenthTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: '5390e3448c3044dbf3e5aa2f796aee788f46019d', slot: "count", name: "nineteenth_tab_count" }))), this.twentiethTabName && (h("gb-tab-button-base", { key: '969a4c5edc3bcf583c0f5ccc5181876cdb73d9c7', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(19), current: this.activeIndex === 19, "tab-name": this.twentiethTabName, badge: this.badge, alignment: "horizontal" }, h("slot", { key: 'bd95929184ad46cf23cac76c5305b1897d6d917a', slot: "count", name: "twentieth_tab_count" })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "gb-horizontal-tabs"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class GbIconButtonBase {
|
|
|
17
17
|
this.loadIcon(this.icon);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: 'c744f103625f1bc42fa84abe7e66feb991be3eb1', class: "icon_button_base_container" }, this.showTooltip && (h("gb-tooltip", { key: 'ab9cbe95e03fc40c218f9feb9337fa71b2cee1bd', "show-arrow": true, arrow: "bottom_center", class: "tooltip" }, h("p", { key: 'f751e830db382d4b1e4f90736f55362566a67033', slot: "label" }, this.label))), h("div", { key: 'a41136f9e5291c4d9aad3e57254c8618416db2f3', class: `icon_button_base_div ${this.current ? 'current' : ''}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'e8534ae6d9b6dc130d49d6229f41cfa3045f5362', class: `icon ${this.current ? 'current' : ''}`, innerHTML: this.leadingIconSvg }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "gb-icon-button-base"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,16 +294,16 @@ export class GbInputDropdown {
|
|
|
294
294
|
const emptyStateBackground = getAssetPath('assets/empty-state-background.svg');
|
|
295
295
|
const illustration = getAssetPath('assets/empty-state-no-data.svg');
|
|
296
296
|
return [
|
|
297
|
-
h("div", { key: '
|
|
297
|
+
h("div", { key: 'e5cf2711c2cc456a353675f433507e90005f697a', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}` }, h("div", { key: '425d4cddd54dbd572b3a68ec1bf89a514a883f80', class: `input_with_label` }, this.showLabel && (h("p", { key: '3c431ce10a556cbf1d2b9913373561273e0de1dc', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())), h("div", { key: '5434093c4e258cc2a00455632d9ac2326e1209f2', class: `input_dropdown_div ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''} ${this.type === 'tags' ? 'tag' : ''} ${this.dropdownOpen ? 'focused' : ''}`, onClick: e => this.toggleDropdown(e) }, this.type === 'icon_leading' && (h("svg", { key: 'df85d0ea16186b1b667b85619c92946fd11c6583', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3206aa932ae84915f6daa3736432117b85c551c6', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '8e91d5a910827ec89b94dbec316be7990fb4b18f', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h(Fragment, null, this.state === 'default' && (h("svg", { key: 'fc09327e12186300e918489c9629f5bd1cdd66bd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6302efe97b5c175e050201dff83cd6d1829d8bbb', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.66667" }), h("path", { key: '9db2ab6ae34d074af78e27d2cd31801d61b023a3', d: "M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z", stroke: "#4B5565", "stroke-width": "1.66667" }))), this.state === 'filled' && (h("gb-avatar", { key: '625e26c1e8c419d84230926fcc48aa8504e42ccf', size: "xs", text: this.text, color: this.color, "show-border": this.showBorder }, this.selectedItems.map(item => (h(Fragment, null, typeof item === 'object' ? (h("h1", { slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase()))) : (h("h1", { slot: "initials" }, item.split(' ').map(part => part.charAt(0).toUpperCase())))))))))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '43e49962186c85ce824e971cdf840f805f534b9c', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: '7cd78681bfe43226a38e56b72f4c8688bb20caa6', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("div", { key: '4f508a9b433f22b35e9ac133669c04a2e06ca49c', class: "placeholder" }, h("p", { key: '663e1fb4b56bc5dc9cf1e6859862468bab8ddbc7', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder))))), this.state === 'filled' && (h(Fragment, null, h("div", { key: 'c83d4d22e21dbb6294d7319f963eb922a9dab873', class: `content` }, h("div", { key: '82e61f97b22221782099ed9c81de12f5068e20da', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags' ? (h(Fragment, null, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => 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(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name
|
|
298
298
|
.split(' ')
|
|
299
299
|
.map(part => part.charAt(0).toUpperCase())
|
|
300
300
|
.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(item) }, h("p", { class: "text-xs-medium" }, item))))))) : (h(Fragment, null, this.value.map((item, index) => 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(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name
|
|
301
301
|
.split(' ')
|
|
302
302
|
.map(part => part.charAt(0).toUpperCase())
|
|
303
|
-
.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(item) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h("p", { class: "selected_text" }, this.value.length === 0 ? ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.name) || this.selectedItem : h(Fragment, null, this.value.map(item => (typeof item === 'object' ? item.name : item)))))), this.supportingText && (h("div", { key: '
|
|
303
|
+
.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(item) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h("p", { class: "selected_text" }, this.value.length === 0 ? ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.name) || this.selectedItem : h(Fragment, null, this.value.map(item => (typeof item === 'object' ? item.name : item)))))), this.supportingText && (h("div", { key: 'a83f60ebe1eab72a42751e656a66cc5990dc1850', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type !== 'tags' && (h(Fragment, null, this.value.length === 0 ? h(Fragment, null, this.selectedItem.username) : h(Fragment, null, this.value.map(item => typeof item === 'object' && item.username))))))))), this.state === 'disabled' && (h(Fragment, null, h("div", { key: '09b17d9619c472168e969d86e904e7a161aad387', class: `content` }, h("div", { key: 'c3fea91ad2d0ca1166f3fb251b1ea29276652f2f', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags' ? (h(Fragment, null, this.value.map((item, index) => typeof item === 'object' ? (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close" }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name
|
|
304
304
|
.split(' ')
|
|
305
305
|
.map(part => part.charAt(0).toUpperCase())
|
|
306
|
-
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close" }, h("p", { class: "text-xs-medium" }, item))))))) : (h(Fragment, null, h(Fragment, null, this.value.map(item => (typeof item === 'object' ? item.name : item)))))), this.supportingText && (h("div", { key: '
|
|
306
|
+
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close" }, h("p", { class: "text-xs-medium" }, item))))))) : (h(Fragment, null, h(Fragment, null, this.value.map(item => (typeof item === 'object' ? item.name : item)))))), this.supportingText && (h("div", { key: 'ad9f710beff1d16d224f6a152593a105a21a4946', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type !== 'tags' && (h(Fragment, null, this.value.length === 0 ? h(Fragment, null, this.selectedItem.username) : h(Fragment, null, this.value.map(item => typeof item === 'object' && h(Fragment, null, item.username))))))))))), this.showHelpIcon && (h("div", { key: 'aaad512c77af737d7822498d83c593104eb95c7b', class: `help_icon` }, h("gb-help-tooltip", { key: '770118fcfa66d91366cfda8c1df6a9bb00985aad', "show-supporting-text": true }, h("slot", { key: 'f1c61cf2c695e15b38a0a66d178e5cda0f771240', name: "tooltip_label", slot: "label" }), h("slot", { key: '326ca4ad7d08aa30a09bd09bdfe9add06069041b', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '74dd3aa557e4e4193223f37838e043e8a67b96ad', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'd0e9b51285b1f0d99e5f047823b1c0a67e819377', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '1a414ee9a14b83214d753bc3ef65d73ea9a989f8', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h(Fragment, null, this.dropdownOpen && (h("div", { key: 'fdc6913d1b9450791dfff5226bfe66c495380eae', class: `dropdown_menu ${this.menuPosition}`, ref: el => (this.dropdownRef = el), onClick: e => e.stopPropagation() }, this.showSearchInput && (h("div", { key: '9ee28658af3321d2ea3e51158de463420d8eeb27', class: "dropdown_search_field" }, h("gb-input-field", { key: '5a20f5eabaffda391970d20a04a4d71191b82550', size: "sm", value: this.inputValue, "show-close-button": this.inputValue ? true : false, "icon-swap": "assets/search-01.svg", placeholder: "Search banks", type: "icon_leading", labelText: "label", idOfInput: "3", onInputValueChanged: this.searchItems.bind(this) }))), this.searchItem ? (h(Fragment, null, this.searchItem !== '' && this.searchResults.length > 0 ? (h(Fragment, null, this.searchResults.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.username))) : (h("p", { slot: "name" }, item))))))) : this.searchItem !== '' && this.searchResults.length === 0 ? (
|
|
307
307
|
//Empty state for when there are no search results
|
|
308
308
|
h("div", { class: "empty_state" }, h("img", { src: emptyStateBackground, class: "background", alt: "" }), h("div", { class: "message_background" }, h("img", { src: illustration, alt: "", class: "illustration" }), h("p", { class: "message text-md-semi-bold" }, "No results available")))) : null)) : (h(Fragment, null, this.type === 'tags' ? (h(Fragment, null, this.selectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: true, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.username), h("h1", { slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())))) : (h(Fragment, null, h("p", { slot: "name" }, item), h("h1", { slot: "initials" }, item.split(' ').map(part => part.charAt(0).toUpperCase()))))))), this.unselectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: false, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.username))) : (h("p", { slot: "name" }, item))))))) : (h(Fragment, null, this.items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), color: this.color, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("h1", { slot: "initials" }, item.name
|
|
309
309
|
.split(' ')
|
package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js
CHANGED
|
@@ -25,13 +25,13 @@ export class GbInputDropdownMenuItem {
|
|
|
25
25
|
render() {
|
|
26
26
|
return (
|
|
27
27
|
// <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
|
|
28
|
-
h("div", { key: '
|
|
28
|
+
h("div", { key: 'c6abeb0aac657db4665f5c565a2e49db404b7173', class: "dropdown-container", onClick: () => this.handleClick() }, h("div", { key: 'ea7e5596e4995dc2c504f47ae5968449565939cf', class: {
|
|
29
29
|
'dropdown-item': true,
|
|
30
30
|
'selected': this.selected,
|
|
31
31
|
'disabled': this.state === 'disabled',
|
|
32
32
|
'checkbox': this.type === 'checkbox',
|
|
33
33
|
[this.type]: true,
|
|
34
|
-
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '
|
|
34
|
+
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '3833b4011dd76f22c8b20aa9e2f3d84a3e287e7f', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: '4709302787c32f8c9d723aaa23d3111388e5f3d6', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3d552369aaef067856c05716f364509d02d37190', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '059beee7d1dd7706c75a8f6990d7d52eded815d2', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '58a2bd0e3bd1667d23c2486d0aee09e2bab4ada8', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: '52e94d037dfc706e3b26324f714639346e898be3', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h(Fragment, null, this.state === 'default' ? (h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && h("gb-checkbox", { key: 'a9591084d9f31f9b8a2981fe77e448cd1281e707', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: '2e82aa3768f62441e8f61dce2873580a3de3bd47', name: "name" }), this.supportingText && (h("span", { key: '9b48f92c4bd56b609f9ba2dab2f90564aa3c8a6b' }, h("slot", { key: 'a570e135f7c2a074304f09339c41965751b7764a', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '960916a38e128c49fcb050e2bca72727143dfccb', class: `tick` }, this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "gb-input-dropdown-menu-item"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|