globuswebcomponents 2.6.19 → 2.6.21
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-action-panel_76.cjs.entry.js +103 -99
- package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-logo.cjs.entry.js +1 -1
- package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
- 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-prompt-modal.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-slider-control-handle.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +1 -1
- package/dist/cjs/gb-step-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-table-cell.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-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-date-picker/gb-date-picker.css +2796 -0
- package/dist/collection/components/gb-date-picker/gb-date-picker.js +45 -3
- package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
- package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-empty-state/gb-empty-state.js +1 -1
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +3 -3
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.css +8 -0
- package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
- package/dist/collection/components/gb-featured-icon/gb-featured-icon.js +1 -1
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +12 -12
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +6 -6
- 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 +1 -1
- 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-illustration/gb-illustration.js +8 -8
- 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-logo/gb-logo.js +1 -1
- package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
- package/dist/collection/components/gb-metric-card/gb-metric-card.js +1 -1
- package/dist/collection/components/gb-metric-featured-icon/gb-metric-featured-icon.js +1 -1
- package/dist/collection/components/gb-modal-header/gb-modal-header.js +2 -2
- package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +1 -1
- package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +1 -1
- 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-pattern/gb-pattern.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-prompt-modal/gb-prompt-modal.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-step-icon-base/gb-step-icon-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-icons-connected/gb-stepper-horizontal-icons-connected.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-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
- package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.css +1 -0
- 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 +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.css +4 -0
- package/dist/collection/components/gb-toast/gb-toast.js +49 -7
- package/dist/collection/components/gb-toast/gb-toast.js.map +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-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 +2 -2
- package/dist/components/gb-approval-modal.js +13 -13
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +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 +5 -5
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.js +2 -2
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +7 -7
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-empty-state.js +7 -7
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -1
- package/dist/components/gb-export-sub-dropdown-item.js +1 -1
- package/dist/components/gb-export-sub-dropdown.js +1 -1
- package/dist/components/gb-featured-icon.js +1 -1
- package/dist/components/gb-file-type-icon.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +17 -17
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +23 -23
- 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-illustration.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-logo.js +1 -1
- package/dist/components/gb-mega-input-field-base.js +1 -1
- package/dist/components/gb-metric-card.js +5 -5
- package/dist/components/gb-metric-featured-icon.js +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-modal-header.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +6 -6
- package/dist/components/gb-nav-bar.js +4 -4
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +19 -19
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-pattern.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-prompt-modal.js +3 -3
- 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-step-icon-base.js +1 -1
- package/dist/components/gb-stepper-horizontal-icons-centered.js +4 -4
- package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
- package/dist/components/gb-stepper-horizontal-line-with-text.js +4 -4
- package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
- package/dist/components/gb-stepper-vertical-icons-with-text.js +4 -4
- 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 +22 -22
- package/dist/components/gb-table-header.js.map +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +11 -7
- package/dist/components/gb-toast.js.map +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-DLaE9f-q.js → p--yTC9FTD.js} +4 -4
- package/dist/components/{p-DLaE9f-q.js.map → p--yTC9FTD.js.map} +1 -1
- package/dist/components/{p-BLdvjAVl.js → p-1J0M2Ki8.js} +10 -6
- package/dist/components/p-1J0M2Ki8.js.map +1 -0
- package/dist/components/{p-Dw57Tz8Z.js → p-2dfyGxAA.js} +3 -3
- package/dist/components/{p-Dw57Tz8Z.js.map → p-2dfyGxAA.js.map} +1 -1
- package/dist/components/{p-DX-w8E1m.js → p-4OOjC1er.js} +6 -6
- package/dist/components/{p-DX-w8E1m.js.map → p-4OOjC1er.js.map} +1 -1
- package/dist/components/{p-D3Gj7srV.js → p-B-cu_ylY.js} +5 -5
- package/dist/components/{p-D3Gj7srV.js.map → p-B-cu_ylY.js.map} +1 -1
- package/dist/components/{p-CSwzUEcO.js → p-B48huYbW.js} +3 -3
- package/dist/components/{p-CSwzUEcO.js.map → p-B48huYbW.js.map} +1 -1
- package/dist/components/{p-BATs8aj-.js → p-BIZJMi3r.js} +4 -4
- package/dist/components/{p-BATs8aj-.js.map → p-BIZJMi3r.js.map} +1 -1
- package/dist/components/{p-B8CVbkwo.js → p-BIoY-A87.js} +3 -3
- package/dist/components/{p-B8CVbkwo.js.map → p-BIoY-A87.js.map} +1 -1
- package/dist/components/{p-DANyKJ9z.js → p-BL3HoZ2Q.js} +25 -25
- package/dist/components/{p-DANyKJ9z.js.map → p-BL3HoZ2Q.js.map} +1 -1
- package/dist/components/{p-WIstuQ0T.js → p-BM7k30uX.js} +4 -4
- package/dist/components/{p-WIstuQ0T.js.map → p-BM7k30uX.js.map} +1 -1
- package/dist/components/{p-BczNUnOv.js → p-BMoJT72G.js} +3 -3
- package/dist/components/{p-BczNUnOv.js.map → p-BMoJT72G.js.map} +1 -1
- package/dist/components/{p-CuOGf-D0.js → p-BNsXNBjc.js} +6 -6
- package/dist/components/{p-CuOGf-D0.js.map → p-BNsXNBjc.js.map} +1 -1
- package/dist/components/{p-CiUrANbp.js → p-BVN8h0do.js} +4 -4
- package/dist/components/{p-CiUrANbp.js.map → p-BVN8h0do.js.map} +1 -1
- package/dist/components/{p-DRwZ6D51.js → p-BV_EroU_.js} +10 -10
- package/dist/components/{p-DRwZ6D51.js.map → p-BV_EroU_.js.map} +1 -1
- package/dist/components/{p-VDw3uj_f.js → p-BaTFuPA8.js} +3 -3
- package/dist/components/{p-VDw3uj_f.js.map → p-BaTFuPA8.js.map} +1 -1
- package/dist/components/{p-CQ-Kcv4C.js → p-BhZ9gO-e.js} +12 -12
- package/dist/components/{p-CQ-Kcv4C.js.map → p-BhZ9gO-e.js.map} +1 -1
- package/dist/components/{p-e8m5f8Oh.js → p-Bmg-QP0k.js} +17 -17
- package/dist/components/{p-e8m5f8Oh.js.map → p-Bmg-QP0k.js.map} +1 -1
- package/dist/components/{p-DQbLkq2k.js → p-BvZIc1VI.js} +3 -3
- package/dist/components/{p-DQbLkq2k.js.map → p-BvZIc1VI.js.map} +1 -1
- package/dist/components/{p-gNOPgyQN.js → p-BxOhNcI-.js} +4 -4
- package/dist/components/{p-gNOPgyQN.js.map → p-BxOhNcI-.js.map} +1 -1
- package/dist/components/{p-DiVNbkQJ.js → p-C1EY9mqf.js} +4 -4
- package/dist/components/{p-DiVNbkQJ.js.map → p-C1EY9mqf.js.map} +1 -1
- package/dist/components/{p-0jI2FVV8.js → p-C24jywPp.js} +4 -4
- package/dist/components/{p-0jI2FVV8.js.map → p-C24jywPp.js.map} +1 -1
- package/dist/components/{p-CsmhJpms.js → p-C4TLf1gY.js} +8 -8
- package/dist/components/{p-CsmhJpms.js.map → p-C4TLf1gY.js.map} +1 -1
- package/dist/components/{p-DYuNnFb2.js → p-C4ojnesh.js} +3 -3
- package/dist/components/{p-DYuNnFb2.js.map → p-C4ojnesh.js.map} +1 -1
- package/dist/components/{p-Dz3hZxTB.js → p-C50HILNj.js} +3 -3
- package/dist/components/{p-Dz3hZxTB.js.map → p-C50HILNj.js.map} +1 -1
- package/dist/components/{p-D0-7ewqg.js → p-C9fjGxBA.js} +3 -3
- package/dist/components/{p-D0-7ewqg.js.map → p-C9fjGxBA.js.map} +1 -1
- package/dist/components/{p-BYltVmXy.js → p-CG8DbGtu.js} +3 -3
- package/dist/components/{p-BYltVmXy.js.map → p-CG8DbGtu.js.map} +1 -1
- package/dist/components/{p-DMMflKMz.js → p-CNFJ_WcH.js} +3 -3
- package/dist/components/{p-DMMflKMz.js.map → p-CNFJ_WcH.js.map} +1 -1
- package/dist/components/{p-Di3w5jMH.js → p-CTj_6CFb.js} +3 -3
- package/dist/components/{p-Di3w5jMH.js.map → p-CTj_6CFb.js.map} +1 -1
- package/dist/components/{p-Doq2rc0z.js → p-CbvFmyN4.js} +3 -3
- package/dist/components/{p-Doq2rc0z.js.map → p-CbvFmyN4.js.map} +1 -1
- package/dist/components/{p-PJV1T9bW.js → p-Cl3VBzhu.js} +3 -3
- package/dist/components/{p-PJV1T9bW.js.map → p-Cl3VBzhu.js.map} +1 -1
- package/dist/components/{p-CD4OrDSu.js → p-ClXamGR5.js} +4 -4
- package/dist/components/{p-CD4OrDSu.js.map → p-ClXamGR5.js.map} +1 -1
- package/dist/components/{p-BcVzSqw7.js → p-CphytsDo.js} +5 -5
- package/dist/components/{p-BcVzSqw7.js.map → p-CphytsDo.js.map} +1 -1
- package/dist/components/{p-ikzYZrWU.js → p-CyxVWv20.js} +4 -4
- package/dist/components/{p-ikzYZrWU.js.map → p-CyxVWv20.js.map} +1 -1
- package/dist/components/{p-BeZ9oBa0.js → p-CzpMi2Ey.js} +7 -7
- package/dist/components/{p-BeZ9oBa0.js.map → p-CzpMi2Ey.js.map} +1 -1
- package/dist/components/{p-D4rmRDRu.js → p-D17r2sEx.js} +3 -3
- package/dist/components/{p-D4rmRDRu.js.map → p-D17r2sEx.js.map} +1 -1
- package/dist/components/{p-DzP_QUze.js → p-D2bypnF7.js} +3 -3
- package/dist/components/{p-DzP_QUze.js.map → p-D2bypnF7.js.map} +1 -1
- package/dist/components/{p-BJRl_Ka-.js → p-DEOwKVSS.js} +8 -8
- package/dist/components/{p-BJRl_Ka-.js.map → p-DEOwKVSS.js.map} +1 -1
- package/dist/components/{p-8R4DgjwC.js → p-DFF4ussj.js} +12 -12
- package/dist/components/{p-8R4DgjwC.js.map → p-DFF4ussj.js.map} +1 -1
- package/dist/components/{p-BKwRndyS.js → p-DFl_Vm-4.js} +4 -4
- package/dist/components/{p-BKwRndyS.js.map → p-DFl_Vm-4.js.map} +1 -1
- package/dist/components/{p-LHU2FeBm.js → p-DKu1Z_S9.js} +3 -3
- package/dist/components/{p-LHU2FeBm.js.map → p-DKu1Z_S9.js.map} +1 -1
- package/dist/components/{p-CEc1GpcO.js → p-DNZe5Vow.js} +7 -7
- package/dist/components/{p-CEc1GpcO.js.map → p-DNZe5Vow.js.map} +1 -1
- package/dist/components/{p-DHvzeuk7.js → p-DX4JVou1.js} +4 -4
- package/dist/components/{p-DHvzeuk7.js.map → p-DX4JVou1.js.map} +1 -1
- package/dist/components/{p-BLw88Say.js → p-DaLqa3xy.js} +4 -4
- package/dist/components/{p-BLw88Say.js.map → p-DaLqa3xy.js.map} +1 -1
- package/dist/components/{p-BJqX19tj.js → p-DhJsjuhy.js} +4 -4
- package/dist/components/{p-BJqX19tj.js.map → p-DhJsjuhy.js.map} +1 -1
- package/dist/components/{p-CKC2-r_V.js → p-Di0-lmQZ.js} +4 -4
- package/dist/components/{p-CKC2-r_V.js.map → p-Di0-lmQZ.js.map} +1 -1
- package/dist/components/{p-Dv-1bzYh.js → p-DzWMYldJ.js} +3 -3
- package/dist/components/{p-Dv-1bzYh.js.map → p-DzWMYldJ.js.map} +1 -1
- package/dist/components/{p-DaEt6OV9.js → p-IiVhqd54.js} +3 -3
- package/dist/components/{p-DaEt6OV9.js.map → p-IiVhqd54.js.map} +1 -1
- package/dist/components/{p-Bt4sgaSB.js → p-Js2rzLFz.js} +8 -8
- package/dist/components/{p-Bt4sgaSB.js.map → p-Js2rzLFz.js.map} +1 -1
- package/dist/components/{p-B3nnZMUe.js → p-QQMD9lyS.js} +3 -3
- package/dist/components/{p-B3nnZMUe.js.map → p-QQMD9lyS.js.map} +1 -1
- package/dist/components/{p-CIhB2fCC.js → p-SPkNWhMl.js} +3 -3
- package/dist/components/{p-CIhB2fCC.js.map → p-SPkNWhMl.js.map} +1 -1
- package/dist/components/{p-BSHzv5OV.js → p-UTnw0K3Z.js} +10 -10
- package/dist/components/{p-BSHzv5OV.js.map → p-UTnw0K3Z.js.map} +1 -1
- package/dist/components/{p-DuJgqcA2.js → p-_KWkgCZp.js} +3 -3
- package/dist/components/{p-DuJgqcA2.js.map → p-_KWkgCZp.js.map} +1 -1
- package/dist/components/{p-C6uNKIjw.js → p-cCTNzWg9.js} +8 -8
- package/dist/components/{p-C6uNKIjw.js.map → p-cCTNzWg9.js.map} +1 -1
- package/dist/components/{p-BVABu37q.js → p-mA17wW10.js} +3 -3
- package/dist/components/{p-BVABu37q.js.map → p-mA17wW10.js.map} +1 -1
- package/dist/components/{p-BQH3mtcw.js → p-qsnI1Qgx.js} +8 -8
- package/dist/components/{p-BQH3mtcw.js.map → p-qsnI1Qgx.js.map} +1 -1
- package/dist/components/{p-Bg776Pj2.js → p-sotltPnn.js} +5 -5
- package/dist/components/{p-Bg776Pj2.js.map → p-sotltPnn.js.map} +1 -1
- package/dist/components/{p-CNHKpPUh.js → p-ycvY3d5Z.js} +3 -3
- package/dist/components/{p-CNHKpPUh.js.map → p-ycvY3d5Z.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/docs.json +119 -3
- package/dist/esm/gb-action-panel_76.entry.js +103 -99
- package/dist/esm/gb-detail-cell.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +12 -12
- package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
- package/dist/esm/gb-logo.entry.js +1 -1
- package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
- 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-prompt-modal.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-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-step-base.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
- package/dist/esm/gb-table-cell.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-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/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/p-09b6e321.entry.js +2 -0
- package/dist/globuscomponents/{p-980f103b.entry.js → p-0a36da0b.entry.js} +2 -2
- package/dist/globuscomponents/{p-19440f9b.entry.js → p-0cd059d5.entry.js} +2 -2
- package/dist/globuscomponents/{p-57fa8bdf.entry.js → p-11f27065.entry.js} +2 -2
- package/dist/globuscomponents/{p-96396203.entry.js → p-14ee8307.entry.js} +2 -2
- package/dist/globuscomponents/p-1ba8a885.entry.js +2 -0
- package/dist/globuscomponents/{p-94ad87ff.entry.js → p-2185c841.entry.js} +2 -2
- package/dist/globuscomponents/{p-6d7af68b.entry.js → p-270e15b1.entry.js} +2 -2
- package/dist/globuscomponents/{p-6aaf58b7.entry.js → p-2c0e4236.entry.js} +2 -2
- package/dist/globuscomponents/{p-854feeb5.entry.js → p-2edad402.entry.js} +2 -2
- package/dist/globuscomponents/{p-b86467c3.entry.js → p-3d83784c.entry.js} +2 -2
- package/dist/globuscomponents/{p-50a87191.entry.js → p-440d82f8.entry.js} +2 -2
- package/dist/globuscomponents/{p-04374479.entry.js → p-5603ee7d.entry.js} +2 -2
- package/dist/globuscomponents/{p-2df0ce05.entry.js → p-6ad801ac.entry.js} +2 -2
- package/dist/globuscomponents/{p-92a34e84.entry.js → p-711c7c50.entry.js} +2 -2
- package/dist/globuscomponents/{p-72a2c945.entry.js → p-7f63f435.entry.js} +2 -2
- package/dist/globuscomponents/{p-4ae06252.entry.js → p-863e7132.entry.js} +2 -2
- package/dist/globuscomponents/{p-38d04d52.entry.js → p-871f3fdd.entry.js} +2 -2
- package/dist/globuscomponents/p-9a7a1346.entry.js +2 -0
- package/dist/globuscomponents/{p-44a2c501.entry.js → p-9ad95a7f.entry.js} +2 -2
- package/dist/globuscomponents/{p-e638fefd.entry.js → p-cbace1d8.entry.js} +2 -2
- package/dist/globuscomponents/{p-0bb03f74.entry.js → p-e7419d13.entry.js} +2 -2
- package/dist/globuscomponents/{p-c9768b49.entry.js → p-ed8c93a1.entry.js} +2 -2
- package/dist/globuscomponents/p-ed8c93a1.entry.js.map +1 -0
- package/dist/globuscomponents/{p-2022b858.entry.js → p-effe863f.entry.js} +2 -2
- package/dist/globuscomponents/{p-69adf551.entry.js → p-f05e0123.entry.js} +2 -2
- package/dist/globuscomponents/{p-371fb472.entry.js → p-f7d91fec.entry.js} +2 -2
- package/dist/types/components/gb-date-picker/gb-date-picker.d.ts +2 -0
- package/dist/types/components/gb-toast/gb-toast.d.ts +4 -2
- package/dist/types/components.d.ts +36 -4
- package/package.json +1 -1
- package/dist/components/p-BLdvjAVl.js.map +0 -1
- package/dist/globuscomponents/p-23a53695.entry.js +0 -2
- package/dist/globuscomponents/p-765e4586.entry.js +0 -2
- package/dist/globuscomponents/p-91be6976.entry.js +0 -2
- package/dist/globuscomponents/p-c9768b49.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-23a53695.entry.js.map → p-09b6e321.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-980f103b.entry.js.map → p-0a36da0b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-19440f9b.entry.js.map → p-0cd059d5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-57fa8bdf.entry.js.map → p-11f27065.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-96396203.entry.js.map → p-14ee8307.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-91be6976.entry.js.map → p-1ba8a885.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-94ad87ff.entry.js.map → p-2185c841.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6d7af68b.entry.js.map → p-270e15b1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6aaf58b7.entry.js.map → p-2c0e4236.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-854feeb5.entry.js.map → p-2edad402.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b86467c3.entry.js.map → p-3d83784c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-50a87191.entry.js.map → p-440d82f8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-04374479.entry.js.map → p-5603ee7d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2df0ce05.entry.js.map → p-6ad801ac.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-92a34e84.entry.js.map → p-711c7c50.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-72a2c945.entry.js.map → p-7f63f435.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4ae06252.entry.js.map → p-863e7132.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-38d04d52.entry.js.map → p-871f3fdd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-765e4586.entry.js.map → p-9a7a1346.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-44a2c501.entry.js.map → p-9ad95a7f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e638fefd.entry.js.map → p-cbace1d8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0bb03f74.entry.js.map → p-e7419d13.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2022b858.entry.js.map → p-effe863f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-69adf551.entry.js.map → p-f05e0123.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-371fb472.entry.js.map → p-f7d91fec.entry.js.map} +0 -0
|
@@ -190,21 +190,21 @@ export class GbFileUpload {
|
|
|
190
190
|
this.uploadStateChange.emit(this.fileStates);
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
|
-
return (h("div", { key: '
|
|
194
|
-
h("div", { key: '
|
|
195
|
-
h("gb-button", { key: '
|
|
193
|
+
return (h("div", { key: '4c45925c8dfcb8905c27b6fe27d7f8f30c1a0680', class: "file_upload_div" }, this.showLabel && h("p", { key: '577f7fd46037407c22084fa4568e047d39d35879', class: "upload_text text-sm-semi-bold" }, "File Upload"), this.type === 'single' && (h(Fragment, null, this.state === 'default' && !this.destructive && this.fileStates.length === 0 && (h("div", { key: '27073c142ca1763a9d81b110b615db7525c8b45d', class: `file_upload_item_base_container ${this.state} ${this.heightSize}` }, this.heightSize === 'md' && [
|
|
194
|
+
h("div", { key: 'd3fb24260b25c9076651529134ec4aefb66caa3a', class: `default ${this.heightSize}` }, h("div", { key: 'ca469363620eb238d12c04889a9eeb7eb753e2db', class: "file_upload_icon" }, h("svg", { key: '321ebb612d459bc69b2e5f3ef52de26707007007', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'dfb1bd4967677a038680ef0d7851ac5fc66050b7', 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", fill: "#4B5565" }))), h("div", { key: '0e14af98f92d806853a4fac98d04270110a0a83a', class: "default_content" }, h("p", { key: '0900de8a9b1783a22f6054af2d544d50c48fcda7', class: "upload_text text-sm-semi-bold" }, "Tap to upload"), h("p", { key: 'a04eb4f931e9fb838cfc1b7428dc6d34a18b8bb6', class: "file_type_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
195
|
+
h("gb-button", { key: 'c32973ce60f0a8cb7dc5c987b2b68028815b0398', size: "sm", hierarchy: "link_color", icon: "default", class: "upload_btn_md", "icon-leading": true, onClick: () => this.openFilePicker() }, h("p", { key: '251aedb2f24b1596c8cad4de021eb37f9bf28034' }, "Upload")),
|
|
196
196
|
], this.heightSize === 'lg' && [
|
|
197
|
-
h("div", { key: '
|
|
198
|
-
])), this.state === 'in_progress' && (h("gb-file-upload-item-base", { key: '
|
|
199
|
-
h("div", { key: '
|
|
200
|
-
h("gb-button", { key: '
|
|
197
|
+
h("div", { key: '954d882aff87edff7fcb445d16085467717b9ff3', class: `default ${this.heightSize}` }, h("div", { key: '75c8afcf5ab5699ad2c5e417060dca3a1eb45312', class: "file_upload_icon" }, h("svg", { key: 'e51d2a63239f0fc8ca14db23d8ad717fb3971641', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '143473f2e71b1e346664bf4cad040cacbda12180', 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", fill: "#4B5565" }))), h("div", { key: 'a4ea7a64fae574527eb1ca66aec09c012d15145c', class: "default_content" }, h("p", { key: 'a5c2ac430c0c39f855995392bc9378236e211c74', class: `upload_text text-sm-regular ${this.heightSize}` }, h("gb-button", { key: 'aa07c12fac9392b621c2d4fbe65d9ca9bd87baf7', size: "sm", hierarchy: "link_color", icon: "default", onClick: () => this.openFilePicker() }, h("p", { key: 'ded960fd1de24c6061fd893c19d60c7801a33e4c' }, "Click to upload")), "or drag and drop"), h("p", { key: '9598a130b8b189c4230761e74f6e6ab0c506e668', class: "file_type_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
198
|
+
])), this.state === 'in_progress' && (h("gb-file-upload-item-base", { key: '3ea31d9aff357c842371b29d771f9f804cd44f64', progress: this.progress, "file-type": this.fileType, icon: this.icon, "height-size": this.heightSize, state: "in_progress" })), this.state === 'complete' && (h("gb-file-upload-item-base", { key: '786f4d251376218899f07cd4a608a1449e388aa1', progress: this.progress, "file-type": this.fileType, icon: this.icon, "height-size": this.heightSize, state: "complete" })), this.state === 'disabled' && (h("div", { key: 'b916c79260022ea7eee4058e409285048d9f339b', class: `file_upload_item_base_container ${this.state} ${this.heightSize}` }, h("div", { key: 'f122abdb245df21dadb83ad60b48019937f686a0', class: `disabled ${this.state}` }, this.heightSize === 'md' && [
|
|
199
|
+
h("div", { key: 'aff4485b107a9ae6f396117f75e2bc3030039dad', class: `default ${this.heightSize}` }, h("div", { key: 'e28aec50a99e5ab7b0f15b9d5186a83e9617872a', class: "file_upload_icon" }, h("svg", { key: 'aa635a942672d74f6953654ff55ca94fdb63f53a', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '1b808c60f3e56df5516e417816e1760a1242b7cb', 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", fill: "#4B5565" }))), h("div", { key: 'fcb767173defb408c6137c57ffd1da41d821fb67', class: "default_content" }, h("p", { key: '959b29788abfafb13aaa6e876b5bcef7bb144185', class: "disabled_text text-sm-semi-bold" }, "Tap to upload"), h("p", { key: '9ce7e36779b93487ccdb9c82b3e461570be39dcb', class: "disabled_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
200
|
+
h("gb-button", { key: '2cc286a880bb458777bc9de3241e39094d8cd16c', size: "sm", hierarchy: "link_color", icon: "default", class: "upload_btn_md", state: "disabled" }, h("p", { key: 'bb9710d5463bb95557a7bf7145585dd6bd3d1ef4' }, "Upload")),
|
|
201
201
|
], this.heightSize === 'lg' && [
|
|
202
|
-
h("div", { key: '
|
|
203
|
-
]))), this.destructive && (h("gb-file-upload-item-base", { key: '
|
|
204
|
-
h("div", { key: '
|
|
205
|
-
h("gb-button", { key: '
|
|
202
|
+
h("div", { key: '1e157b86c4d295ad4da7fbf9efdbbe782d0c28a5', class: `default ${this.heightSize}` }, h("div", { key: '7b2a9cfac669805b74d8efce67909165b6e66483', class: "file_upload_icon" }, h("svg", { key: '2861194e8d72191148814623f3339798656a6b89', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '5e660ef1453de1245b9ecd5f40ad19855414eb77', 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", fill: "#4B5565" }))), h("div", { key: '6af529bc7d994db8ba296df7acbadf257a961fdd', class: "default_content" }, h("p", { key: 'a9c3de2e47202f6da36aa11699fbce3a9c2227e4', class: `disabled_text text-sm-regular ${this.heightSize}` }, h("gb-button", { key: '54f37b803b005afec5e1d687450890a2e6312657', size: "sm", hierarchy: "link_color", icon: "default", state: "disabled" }, h("p", { key: '8c95ee8ffcc0d0b57ad59c49c15db8806ffe3c20' }, "Click to upload")), "or drag and drop"), h("p", { key: '064441cfd4bcf0946185f85557b76a0570be5270', class: "disabled_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
203
|
+
]))), this.destructive && (h("gb-file-upload-item-base", { key: '7ac64baaf6b64d1b9134146a2d95fc640e509637', progress: this.progress, "file-type": this.fileType, icon: this.icon, state: "error", "height-size": this.heightSize })), this.fileStates.map(file => (h("gb-file-upload-item-base", { progress: file.progress, "file-type": file.extension, icon: this.icon, "height-size": this.heightSize, state: file.state }))))), this.type === 'multiple' && (h("div", { key: 'f9beb7cbd4019bf2f7edabc8270e67b78a01a95a', class: "multiple_upload_div" }, h("div", { key: '673b44d6d9a14753606b6162c3158da608a85bf7', class: `file_upload_item_base_container ${this.state} ${this.heightSize} ${this.isDragging ? 'hover' : ''}`, onDragOver: event => this.handleDragOver(event), onDragLeave: () => this.handleDragLeave(), onDrop: event => this.handleDrop(event) }, this.heightSize === 'md' && [
|
|
204
|
+
h("div", { key: '966bb2e5cda8d01d082dfac5a058d9c6bf6dfe37', class: `default ${this.heightSize}` }, h("div", { key: '19b2d9f39cd8f6c0aae5915209dd51b8b34cf4c8', class: "file_upload_icon" }, h("svg", { key: 'b8c9f029c360847255d8234d3fdddae547853693', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '241c0b6843f47afd69ad18b7de995d8a230e36db', 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", fill: "#4B5565" }))), h("div", { key: 'df1041c0ff025b8b48f2c0f1aca3c638b8afabb9', class: "default_content" }, h("p", { key: 'e3b68f18e24a255a0aa3daaf43f7a49a7ce280cc', class: "upload_text text-sm-semi-bold" }, "Tap to upload"), h("p", { key: 'e3641c897483a65bfa7d0edbbd5eaa27836a536d', class: "file_type_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
205
|
+
h("gb-button", { key: 'e3b9c407bb666e90e9acc2b31115b65a88aedd47', size: "sm", hierarchy: "link_color", icon: "default", class: "upload_btn_md", "icon-leading": true, onClick: () => this.openFilePicker() }, h("p", { key: 'a4693b1dd0a7c24e663c51ab627ad4a26eefe5dc' }, "Upload")),
|
|
206
206
|
], this.heightSize === 'lg' && [
|
|
207
|
-
h("div", { key: '
|
|
207
|
+
h("div", { key: '30cc2e271b5064357cc1e04a2a1dff2c15b87fce', class: `default ${this.heightSize}` }, h("div", { key: '14994ab27a7ad848cb2e87dc57256460ae6711f7', class: "file_upload_icon" }, h("svg", { key: '9aaa0f42678595a4ca40fbd8d804a3914a1b08b9', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'b903d4651a4dbc8e8ab0b0c740f50b454bbf6388', 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", fill: "#4B5565" }))), h("div", { key: 'd133a692c657f1efd162edc54d95ea50fe2259e8', class: "default_content" }, h("p", { key: '4cefde414132aebe19a4c7d044943bc0da2519d7', class: `upload_text text-sm-regular ${this.heightSize}` }, h("gb-button", { key: '3371fbc11b5def19a2cc8d630bd1a18fd1795587', size: "sm", hierarchy: "link_color", icon: "default", onClick: () => this.openFilePicker() }, h("p", { key: 'a4e977e5ad37b74711cde89781e7b81bcf8c6762' }, "Click to upload")), "or drag and drop"), h("p", { key: 'fa5c36e64df7a3a0fe8be0d5f1920d75009f9123', class: "file_type_text text-xs-regular" }, "SVG, PNG, JPG or GIF (max. 800x400px)"))),
|
|
208
208
|
]), this.fileStates.map((file, index) => (h("gb-file-upload-item-base", { progress: file.progress, "file-type": file.extension, icon: this.icon, "height-size": "md", state: file.state, "file-name": file.name, "file-size": (file.size / 1024).toFixed(2), onCancelUpload: () => this.handleCancelUpload(index), onDeleteFileUpload: () => this.handleDeleteFileUpload(index) })))))));
|
|
209
209
|
}
|
|
210
210
|
static get is() { return "gb-file-upload"; }
|
|
@@ -44,15 +44,15 @@ export class GbFileUploadItemBase {
|
|
|
44
44
|
return `${size} ${sizes[i]}`;
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h("div", { key: '
|
|
48
|
-
h("div", { key: '
|
|
49
|
-
h("gb-button", { key: '
|
|
47
|
+
return (h("div", { key: '3638f377b422f6feaaa2ff51c3d8be1e0e09c6a6', class: "overall_container" }, this.showLabel && (h(Fragment, null, this.formatLabel ? (h("p", { class: "label_text text-sm-semi-bold" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())) : (h("p", { class: "label_text text-sm-semi-bold" }, this.label)))), h("div", { key: 'ae9490095196f6aba7ea8e3c3f78f9daa099ce30', class: `file_upload_item_base_container ${this.state} ${this.heightSize}` }, this.state === 'default' && (h(Fragment, null, this.heightSize === 'md' && [
|
|
48
|
+
h("div", { key: '44dc1da8d13d6b70fc225685e38631e6e3db6e75', class: `default ${this.heightSize}` }, h("div", { key: '0cc9ff0b0e972f924eef1bef56e1499f4a11d4eb', class: "file_upload_icon" }, h("svg", { key: '14ad03f080dad4d1342374fcf155e82afdfd22f6', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'ee059ace03867a073e63faa62a925c4bba37661f', 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", fill: "var(--color-icon, #4B5565)" }))), h("div", { key: 'e5542f278a247881c3daa233fda8045e1edecf7e', class: "default_content" }, h("p", { key: '4ea33fd2cb28f80b957cda7decabfcc72fe8df17', class: "upload_text text-sm-semi-bold" }, "Tap to upload"), h("p", { key: '2faac177c6db292d64363cba4d4a9a61daaa76d9', class: "file_type_text text-xs-regular" }, this.allowedType))),
|
|
49
|
+
h("gb-button", { key: '569bea178c07a0c43ac3a113862a2ee306110ff3', size: "sm", hierarchy: "link_color", icon: "default", class: "upload_btn_md", "icon-leading": true, onClick: e => {
|
|
50
50
|
this.onUploadButtonClicked();
|
|
51
51
|
e.stopPropagation();
|
|
52
|
-
} }, h("p", { key: '
|
|
52
|
+
} }, h("p", { key: 'e24c76e97c615e28f4272e4f746f36e913802792' }, "Upload")),
|
|
53
53
|
], this.heightSize === 'lg' && [
|
|
54
|
-
h("div", { key: '
|
|
55
|
-
])), this.state === 'in_progress' && (h("div", { key: '
|
|
54
|
+
h("div", { key: '602fa974dff0762b7ac60218b7e1cbc360e17660', class: `default ${this.heightSize}` }, h("div", { key: '9c1e80641ce8703212f70c51e7a7ff65bc8782cb', class: "file_upload_icon" }, h("svg", { key: '669e7ff9ddf9d6decee96c3a0489e512d2f28b5f', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '30c03fc83a25ac61506497f25fa087b0c47a349e', 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", fill: "var(--color-icon, #4B5565)" }))), h("div", { key: '4f58496202b4faeae751a1514fab45ba1e28bd84', class: `default_content ${this.heightSize}` }, h("p", { key: '74a2c3576e33aec6a42741ef443ac559fd29de55', class: `upload_text text-sm-regular ${this.heightSize}` }, h("gb-button", { key: 'f8aa1143b29ebc6b2f61c7f2a803fe3d4b310954', size: "sm", hierarchy: "link_color", icon: "default", onClick: () => this.onUploadButtonClicked() }, h("p", { key: '55bb53f4e70f32f8e4b0bef31e041caab016afa3' }, "Click to upload")), "or drag and drop"), h("p", { key: '817fc1f0f5d4cd5d750f4bbfbdf060b086383c70', class: "file_type_text text-xs-regular" }, this.allowedType))),
|
|
55
|
+
])), this.state === 'in_progress' && (h("div", { key: '3d48ab441612d333b83b38a831a9cd66daef573f', class: `in_progress_div ${this.heightSize}` }, h("div", { key: '9112ade21087c2cd09f9afa98bc420375a89e1e3', class: "file_icon" }, h("gb-file-type-icon", { key: '48176ff8e87cff7ef051ee231e293bfeb0bddade', "file-style": this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null, "file-type": this.fileType })), h("div", { key: 'ecc128486050351521dc38c0c826108acbc0b5af', class: "in_progress_content" }, this.heightSize === 'md' && (h(Fragment, null, h("p", { key: '46d65f7f797672bb5f9f5fcf26957fca9cb08eed', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, ".", this.fileType), this.showFileSize && h("p", { key: '53dd526044a9f9cd4641577041023f2591299069', class: `file_size_text ${this.state} text-sm-regular` }, this.getReadableFileSize()), h("gb-progress-bar", { key: 'bbaef28143e0e1d9ecc91f8ad92e1e7409d894cb', progress: this.internalProgress, "show-label": true, "label-position": "right", class: "progress_bar" }), h("gb-button-close", { key: '391fe76c1ddcaaf26ad6f5a69355367a1369e0f9', size: "sm", color: "gray", class: "close_button", onClick: () => this.onCancelButtonClicked() }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: 'acc7566c10225eaadc8b26a74c0e25b78e806e69', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, this.fileType ? `.${this.fileType}` : ''), this.showFileSize && h("p", { key: '7285f8ffb479c51fd28619b2c2f77a595d914220', class: `file_size_text ${this.state} text-sm-regular` }, this.getReadableFileSize()), h("gb-progress-bar", { key: '27a47e6214dddab9967cadbee9aa745801fed4a8', progress: this.internalProgress, "show-label": true, "label-position": "right", class: "progress_bar" }), h("gb-button-close", { key: 'b4699aacb82e2d289594b93e7784a014b11a8d9f', size: "sm", color: "gray", class: "close_button", onClick: () => this.onCancelButtonClicked() })))))), this.state === 'complete' && (h("div", { key: 'cfb5403bf512b87d58e91cefc0b3a5eae74cb90a', class: `complete ${this.heightSize}` }, h("div", { key: 'bf34c6b66df4832334de530a4534deffa4b41cb7', class: "file_icon" }, h("gb-file-type-icon", { key: '9ff87f7ff1c302a78896804e87b653fb23ba49f9', "file-style": this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null, "file-type": this.fileType })), h("div", { key: 'f853ae04f6817d7f5b3ecd80b2cf08b5cf08a4f9', class: `complete_content ${this.heightSize}` }, this.heightSize === 'md' && (h(Fragment, null, h("p", { key: '6f142f9cc9be023dafa37a9307738f6ad48e73d1', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, ".", this.fileType), h("p", { key: '245e7aef5f066ef2f68ac67e13469a445656f572', class: `file_size_text ${this.state} text-sm-regular` }, `${this.getReadableFileSize()}`, " \u2013 ", `${this.internalProgress}`, "% uploaded"), h("gb-button", { key: '1abc86db7dcb5d5c41665d3ee12a254f44a23d11', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/delete-02.svg", class: "delete_button", onClick: () => this.onDeleteFileUploadClicked() }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: '1a6beac5ed914e0687a8ebf5953e01e4cba47b2b', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, ".", this.fileType), h("p", { key: '3281fe08f7b16ae43c80fb899b2481de023c8391', class: `file_size_text ${this.state} text-sm-regular` }, this.getReadableFileSize(), " \u2013 ", `${this.internalProgress}`, " % uploaded"), h("gb-button", { key: '2bd3204d0916accfa535e715f1cadd683a066ba7', size: "sm", hierarchy: "tertiary_gray", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/delete-02.svg", onClick: () => this.onDeleteFileUploadClicked() }, h("p", { key: '477049af6813272e5f4e073d26b08da5838dc379' }, "Clear"))))))), this.state === 'error' && (h("div", { key: '8248d9608b0a5165ab4ea445035baf4e065809b4', class: `error ${this.heightSize}` }, h("div", { key: '24d3a70c1584e40e395254fad5943a09ff8c551c', class: "file_icon" }, h("gb-file-type-icon", { key: 'ccfbdd5c43737b49534293b77463963c65422f81', "file-style": this.icon === 'outline' ? 'default' : this.icon === 'solid' ? 'solid' : null, "file-type": this.fileType })), h("div", { key: '14dd92b4020c73b828c7de27f22fe9e91b5758f2', class: "error_content" }, this.heightSize === 'md' && (h(Fragment, null, h("div", { key: '8a4ba2fe5caeccf5f5b9315ab68bcd4bfdc029f0', class: "error_content_text" }, h("p", { key: '76bd883f87a76560ec59e31b51551d0ee692a285', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, ".", this.fileType), h("p", { key: 'ae5f9661888714d88c84e3cff4999fa79e69f4ff', class: `file_size_text ${this.state} text-sm-regular` }, "Upload failed, please try again")), h("div", { key: 'db2f1151d3d81d6288404f0a44012c1857932418', class: "try_again_btn" }, h("gb-button", { key: '2ce4d7c2b5edf95fbe1d963ac2cc79cd118a2854', size: "sm", hierarchy: "link_color", icon: "default", destructive: true, onClick: () => this.onTryAgainClicked() }, h("p", { key: 'b9d5d279c13d101bef57dfa3863b70db8952e301' }, "Try again"))), h("gb-button", { key: 'e67b37ace677084821cec00596549fc0e775a252', size: "sm", hierarchy: "tertiary_gray", icon: "only", destructive: true, "icon-leading": true, "icon-leading-swap": "assets/delete-02.svg", class: "delete_button", onClick: () => this.onDeleteFileUploadClicked() }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: '3935e0210c3ae4d037df5cce20b741d2e5eab57d', class: `file_type_text ${this.state} text-sm-medium` }, this.fileName, ".", this.fileType), h("p", { key: '61f31efa164884300dfb2cedd4c80081d2e840a1', class: `file_size_text ${this.state} text-sm-regular` }, this.getReadableFileSize(), " \u2013 ", `${this.internalProgress}`, "% uploaded"), h("div", { key: '79e7374b936aa7459c0bc77074377d43ed706300', class: "btns" }, h("gb-button", { key: '6dc18eb66f10565f4b699fe3fc904316004eb600', size: "sm", hierarchy: "tertiary_gray", icon: "default", destructive: true, "icon-leading": true, "icon-leading-swap": "assets/delete-02.svg", onClick: () => this.onDeleteFileUploadClicked() }, h("p", { key: 'e1a4cd3c5badb72ac90cc0f6adc0c7f4d4bdb561' }, "Clear")), h("div", { key: 'efcec23e716201ffb049969a414b499bd348097a', class: "btn" }, h("gb-button", { key: '658685a56ebf88bc6a78a9b7b5afc574c5416fcb', size: "sm", hierarchy: "link_color", icon: StateEnum.Default, destructive: true, class: "btn", onClick: () => this.onTryAgainClicked() }, h("p", { key: '8554649b8d44a775e7030759d94d118bd2a47f48' }, "Try again"))))))))))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "gb-file-upload-item-base"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class GbFilterButton {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '72f38078a1574c7d71b6d9785d0d057f100bfca0', class: `filter_button_div` }, h("gb-button", { key: '86d8bd60ec33d18b061e342fd50bd2953ecec37c', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "secondary_gray", icon: this.iconOnly ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/filter-horizontal-stroke.svg" }, h("p", { key: '6d1b163c7d467f43209c852efb9f9d6cfdae511e' }, "Filter")), this.state === 'applied' && (h("gb-badge", { key: '412879c412620ae996bef7fc75e81c88422c2ece', size: "sm", type: "pill_color", color: "error", icon: "false", class: `badge ${this.state}` }, h("slot", { key: 'dd6ee0367258f370f2521172599cdee593e31b97', name: "filter_count" })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gb-filter-button"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,7 +169,7 @@ export class GbHeader {
|
|
|
169
169
|
render() {
|
|
170
170
|
const helpIconSrc = getAssetPath(`assets/help-circle.svg`);
|
|
171
171
|
const notificationIconSrc = getAssetPath(`assets/notification-03.svg`);
|
|
172
|
-
return (h("div", { key: '
|
|
172
|
+
return (h("div", { key: 'ebb1d34de9af8aa93943de0ea6b57198b14640ed', class: `header_div ${this.showBorder ? 'border' : ''}` }, h("div", { key: '307406c98731766fae9787fc0813d54094e0f9ef', class: "content" }, this.renderLogo(), h("div", { key: '7ea566889f1ae626a5b81491cf8340e72ce7e5b3', class: "inner_content" }, h("div", { key: 'ba63014a1cdcbc2c6328a2d8f39d7f5106a69914', class: `action` }, this.showSearch && (h("div", { key: 'e6528bce3e8a255f09327acda7f4f77e411d0502', class: "search" }, h("gb-input-field", { key: '85da58a905f3524cf67be6ee86db2e7687063e7f', size: "sm", state: "default", type: "icon_leading", "enable-cancel-button-function": true, placeholder: this.inputPlaceholder, "icon-swap": this.inputIcon, onInputValueChanged: this.onSearch.bind(this) }))), this.showHelp && (h("div", { key: '60275bf8cd019523307c6f580d989fa092db257a', class: "help" }, h("gb-header-icon", { key: '2e40087f9f5f40f4476efef300cab46b4feac214', state: StateEnum.Default, icon: helpIconSrc, onClick: () => (this.helpDropdownShown = !this.helpDropdownShown), class: "help_button" }), this.helpDropdownShown && (h("gb-help-dropdown", { key: '1b564679f5b3b40771476e3b2a1e8696d89e606c', class: "help_dropdown", "show-log-error": this.showLogError, onHelpItemClicked: this.helpDropdownItemClicked.bind(this) })))), this.showNotification && (h("div", { key: '7672a043100dc0a60a3ecddd5d2abfab76f73f06', class: "notification" }, h("gb-header-icon", { key: '2d547b0ac25c7deceac90863a07817c3237dc0dd', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => (this.notificationDropdownShown = !this.notificationDropdownShown) }), this.notificationDropdownShown && (h("gb-notification-pane", { key: 'c9d8e7346227d7fefcdc9062e591f4af4168fa8c', state: this.notificationState, class: "notification_dropdown", notifications: this.notifications }, h("p", { key: '1f41a88f764c6707bb40c07360c8c47663b47f17', slot: "label" }, "No notification"), h("p", { key: '1e65a379a56bec3ddf6df0922d6e3675361b7745', slot: "supporting_text" }, "Your notification inbox is empty at the moment. Rest assured, you'll be promptly notified of any new events")))))), h("gb-avatar", { key: 'd0564abb372b9ace4910b32d0a979755ecb5f35a', size: "md", text: this.text, placeholder: this.placeholder, color: this.color, "show-border": this.showBorder, onClick: () => (this.avatarDropdownShown = !this.avatarDropdownShown) }, this.text ? h("slot", { slot: "initials", name: "initials" }) : h("slot", { name: "image", slot: "image" })), this.avatarDropdownShown && (h("gb-avatar-dropdown", { key: '136a643f7d255559b9736b63b29f1c7954e672c0', ref: el => (this.avatarDropdown = el), class: "avatar_dropdown", type: this.avatarDropdownType, "show-theme-tab": this.showThemeTab, "show-profile": this.showProfile, "show-log-out": this.showLogOut, listGroupOne: this.listGroupOne, listGroupTwo: this.listGroupTwo, color: this.color, roles: this.roles, "show-roles": this.showRoles, "current-theme": this.currentTheme, onThemeTabClicked: this.onThemeTabClicked.bind(this), onItemClicked: this.onAvatarDropdownItemClicked.bind(this) }, h("slot", { key: '8e20b47ecb4657b61a00b1f2f39a5c68928d8384', slot: "name", name: "name" }), h("slot", { key: '8f2e1cbea25dd53a3f159cd77568131fb0b2af77', slot: "supporting_text", name: "supporting_text" }), h("h1", { key: '9923fb708ff05580dc6e9fe5f2e105d209ef8b68', slot: "initials", class: `text-md-semi-bold` }, this.initials)))))));
|
|
173
173
|
}
|
|
174
174
|
static get is() { return "gb-header"; }
|
|
175
175
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class GbHeaderIcon {
|
|
|
27
27
|
this.loadIcon(this.icon);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '792e24ae7ff9beaf5578ff7995a7559d50e78535', class: `background ${this.state}` }, h("div", { key: 'cfc90dc73c3ac4b8f480718748769c6a334556ab', class: `icon ${this.state === StateEnum.Default ? 'default' : this.state === StateEnum.Disabled ? 'disabled' : ''}`, innerHTML: this.leadingIconSvg }), h(Fragment, null, this.showIndicator && h("div", { key: '21b1b239090fa9afe10836a589e4ebf9ec404975', class: "red_dot" }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "gb-header-icon"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '65a3fc72d482a81e9167b67e09e36d079e60eb51', class: "dropdown-container" }, h("div", { key: 'b898e6cf0793aa64d0aa3e3482c0de765ec4827e', class: "user_guide" }, h("gb-dropdown-items-with-shortcut", { key: '205770ad04d2bcbc091620265b83a1015a200de6', icon: true, iconSrc: "assets/book_open.svg", label: "Download user guide", onClick: () => this.onHelpItemClicked('download_user_guide') })), h("div", { key: '79694e7377c414f5c358d164c447a922c7e68fd3', class: "bug" }, h("gb-dropdown-items-with-shortcut", { key: 'ede040cf26b091e58a352f86e81f929b9cae733f', icon: true, iconSrc: "assets/bug_02.svg", label: "Report a bug", onClick: () => this.onHelpItemClicked('report_a_bug') })), this.showLogError && (h("div", { key: 'afca77c61c49fb720e98138a6661735f4a511070', class: "log_error" }, h("gb-dropdown-items-with-shortcut", { key: 'df22f9e875f82faf73a9986ed029bb5975188e14', 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: '2f0943a06a929fd9bfcea6ed7da40145b6a5c76d', class: `help_tooltip` }, h("svg", { key: '89a81fd741f5bd89007af67afd5e17d41bfdc400', 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: '9c8b18bec2b96dba1996a6d00df603b6874bacee', 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: '5585a0108c64dc6c706c2e1471c04f7cd8a6f68a', "show-arrow": true, arrow: "bottom_right", "show-supporting-text": this.showSupportingText, class: "tooltip" }, h("slot", { key: '301c852bfe5981cf2fad786854b4c57d04809d2a', name: "label", slot: "label" }), h("slot", { key: '3c35868dd3d501c22c0937437bd7c95082386313', name: "supporting_text", slot: "supporting_text" })))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-help-tooltip"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -147,7 +147,7 @@ export class GbHorizontalTabs {
|
|
|
147
147
|
this.tabItemClicked.emit(index);
|
|
148
148
|
}
|
|
149
149
|
render() {
|
|
150
|
-
return (h("div", { key: '
|
|
150
|
+
return (h("div", { key: '5e49811e60310c5536afef24cfedcf289ea3cd23', class: "horizontal_tab_div_wrapper" }, this.showLeftButton && (h("div", { key: 'fe0a8438451f5373d8abd379d9721014045a004a', class: "scroll_button_div left" }, h("div", { key: '11c8fb40aeebee7c40df34c0d963418b44cf5a3b', class: "scroll_button", onClick: () => this.scrollLeft() }, h("svg", { key: '8d5c8fb3449d86ef6a5bd71e64175b6cc59ecf36', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'a6e39c30e8e2227e6c82def7f9b8d2f5a8e5b3b2', d: "M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18", stroke: "var(--color-icon, #4B5565)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("div", { key: '661eba1755d414349613bf7efa0d09a4a4ab57cd', class: "horizontal_tab_wrapper", ref: el => (this.tabContainer = el), onScroll: () => this.handleScroll() }, h("div", { key: '4d51cf96f456f7c82da15b81d28284e2184e3c36', class: `horizontal_tab_div ${this.type} ${this.fullWidth ? 'full_width' : ''}` }, this.internalTabs.map((tab, index) => (h("gb-tab-button-base", { 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(index), current: this.internalActiveIndex === index, "tab-name": tab.name, badge: this.badge, alignment: "horizontal" }, h("p", { slot: "count" }, tab.badgeCount)))))), this.showRightButton && (h("div", { key: 'e47547300f16a1b3705013b50e5b44ae3d20f7bf', class: "scroll_button_div right" }, h("div", { key: '75a0024921960c1b93697e102147c811cf2b89d7', class: "scroll_button", onClick: () => this.scrollRight() }, h("svg", { key: '675c14311c22f55e2a8b664bf37231f255a2814a', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '736d0b845249d0585cae01128e0a57d62f6d6a12', d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "var(--color-icon, #4B5565)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "gb-horizontal-tabs"; }
|
|
153
153
|
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: '2448e2862e361e06c2c1914b56b4d260a79ef1a6', class: "icon_button_base_container" }, this.showTooltip && (h("gb-tooltip", { key: '3b5d8ae6d4b91d9f5432dc06c3e0e899581fac4f', "show-arrow": true, arrow: "bottom_center", class: "tooltip" }, h("p", { key: 'db845405a23d774c2ccbc3fda73d459c60b412cd', slot: "label" }, this.label))), h("div", { key: 'dffec0fe11519dda65ecae53eda32448dc1c73cf', class: `icon_button_base_div ${this.current ? 'current' : ''}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'e332c345553359b6cc4c2e3750d75a37e7e3dc0a', 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"; }
|