globuswebcomponents 1.9.0 → 1.9.2
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_20.cjs.entry.js → gb-avatar_24.cjs.entry.js} +178 -39
- package/dist/cjs/gb-avatar_24.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-dropdown-item_3.cjs.entry.js +3 -3
- package/dist/cjs/gb-export-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- 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/reusableModels-_LRAKnsh.js.map +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/Illustration2.svg +34 -0
- package/dist/collection/assets/Illustration3.svg +45 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-button/readme.md +2 -0
- package/dist/collection/components/gb-empty-state/gb-empty-state.css +2715 -0
- package/dist/collection/components/gb-empty-state/gb-empty-state.js +181 -0
- package/dist/collection/components/gb-empty-state/gb-empty-state.js.map +1 -0
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +1 -1
- 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.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 +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 +13 -11
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +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 +26 -814
- 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/collection/models/reusableModels.js.map +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-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-detail-cell.js +5 -5
- package/dist/components/gb-empty-state.d.ts +11 -0
- package/dist/components/gb-empty-state.js +79 -0
- package/dist/components/gb-empty-state.js.map +1 -0
- 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 +16 -16
- 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 +4 -4
- 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 +25 -24
- package/dist/components/gb-pagination.js.map +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-quick-action-card.js +1 -1
- package/dist/components/gb-quick-action-icon.js +1 -1
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-sidebar.js +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 +3 -3
- package/dist/components/gb-stepper-horizontal-line-with-text.js +3 -3
- package/dist/components/gb-stepper-vertical-icons-with-text.js +22 -117
- 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 +18 -18
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +11 -11
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +2 -2
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +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-Ojetq1e-.js → p-B5OTx5lN.js} +3 -3
- package/dist/components/{p-Ojetq1e-.js.map → p-B5OTx5lN.js.map} +1 -1
- package/dist/components/{p-Cu8UdTdC.js → p-BA-QUue9.js} +24 -24
- package/dist/components/{p-Cu8UdTdC.js.map → p-BA-QUue9.js.map} +1 -1
- package/dist/components/{p-rgAdQepP.js → p-BErGETuo.js} +6 -6
- package/dist/components/{p-rgAdQepP.js.map → p-BErGETuo.js.map} +1 -1
- package/dist/components/{p-BjChGGmi.js → p-BUTqRUeS.js} +4 -4
- package/dist/components/{p-BjChGGmi.js.map → p-BUTqRUeS.js.map} +1 -1
- package/dist/components/{p-B3hMEJtE.js → p-BV08fIq9.js} +4 -4
- package/dist/components/{p-B3hMEJtE.js.map → p-BV08fIq9.js.map} +1 -1
- package/dist/components/{p-C_9NKqcz.js → p-Bb6DZwkT.js} +3 -3
- package/dist/components/{p-C_9NKqcz.js.map → p-Bb6DZwkT.js.map} +1 -1
- package/dist/components/{p-B1Gpz2Hg.js → p-BnuyRYKO.js} +8 -8
- package/dist/components/{p-B1Gpz2Hg.js.map → p-BnuyRYKO.js.map} +1 -1
- package/dist/components/{p-aOOa0jjW.js → p-BoroGYho.js} +3 -3
- package/dist/components/{p-aOOa0jjW.js.map → p-BoroGYho.js.map} +1 -1
- package/dist/components/{p-58UiDivr.js → p-BrYyk7ia.js} +3 -3
- package/dist/components/{p-58UiDivr.js.map → p-BrYyk7ia.js.map} +1 -1
- package/dist/components/{p-DsOYSSWx.js → p-BuACBwBa.js} +6 -6
- package/dist/components/{p-DsOYSSWx.js.map → p-BuACBwBa.js.map} +1 -1
- package/dist/components/{p-C_B54e6d.js → p-Bv7er-mf.js} +3 -3
- package/dist/components/{p-C_B54e6d.js.map → p-Bv7er-mf.js.map} +1 -1
- package/dist/components/{p-BsSEJMYm.js → p-BzZZMQQ7.js} +6 -6
- package/dist/components/{p-BsSEJMYm.js.map → p-BzZZMQQ7.js.map} +1 -1
- package/dist/components/{p-DzM2JdvP.js → p-C0eGaqog.js} +3 -3
- package/dist/components/{p-DzM2JdvP.js.map → p-C0eGaqog.js.map} +1 -1
- package/dist/components/{p-zwb0BIVh.js → p-C2RLPamg.js} +4 -4
- package/dist/components/{p-zwb0BIVh.js.map → p-C2RLPamg.js.map} +1 -1
- package/dist/components/{p-C2mSJNvy.js → p-C7KkOpHK.js} +4 -4
- package/dist/components/{p-C2mSJNvy.js.map → p-C7KkOpHK.js.map} +1 -1
- package/dist/components/{p-C5jd6KvY.js → p-CGArB7Dl.js} +3 -3
- package/dist/components/{p-C5jd6KvY.js.map → p-CGArB7Dl.js.map} +1 -1
- package/dist/components/{p-EopuEZPq.js → p-CH1hYv1q.js} +3 -3
- package/dist/components/{p-EopuEZPq.js.map → p-CH1hYv1q.js.map} +1 -1
- package/dist/components/{p-hFwZL-B0.js → p-CRG5nvry.js} +6 -6
- package/dist/components/{p-hFwZL-B0.js.map → p-CRG5nvry.js.map} +1 -1
- package/dist/components/{p-5ME1JTfb.js → p-CSLTGZjM.js} +4 -4
- package/dist/components/{p-5ME1JTfb.js.map → p-CSLTGZjM.js.map} +1 -1
- package/dist/components/{p-9fm4GEEL.js → p-CVNPQFHp.js} +4 -4
- package/dist/components/{p-9fm4GEEL.js.map → p-CVNPQFHp.js.map} +1 -1
- package/dist/components/{p-BJcj_w4X.js → p-C_Tapp1O.js} +4 -4
- package/dist/components/{p-BJcj_w4X.js.map → p-C_Tapp1O.js.map} +1 -1
- package/dist/components/{p-BQya-qi4.js → p-CbKSy-VL.js} +7 -7
- package/dist/components/{p-BQya-qi4.js.map → p-CbKSy-VL.js.map} +1 -1
- package/dist/components/{p-siavcGxZ.js → p-CdHYLeQL.js} +4 -4
- package/dist/components/{p-siavcGxZ.js.map → p-CdHYLeQL.js.map} +1 -1
- package/dist/components/{p-CQHYa5En.js → p-CeQ_Rsq1.js} +5 -5
- package/dist/components/{p-CQHYa5En.js.map → p-CeQ_Rsq1.js.map} +1 -1
- package/dist/components/{p-BHyyCkJC.js → p-Ckvl-ljn.js} +6 -6
- package/dist/components/{p-BHyyCkJC.js.map → p-Ckvl-ljn.js.map} +1 -1
- package/dist/components/{p-CfIZrAdJ.js → p-D3yFmIT2.js} +3 -3
- package/dist/components/{p-CfIZrAdJ.js.map → p-D3yFmIT2.js.map} +1 -1
- package/dist/components/{p-DmcrLQ86.js → p-D9oGYaxi.js} +7 -7
- package/dist/components/{p-DmcrLQ86.js.map → p-D9oGYaxi.js.map} +1 -1
- package/dist/components/{p-BA4DuEdW.js → p-DFrgWCgh.js} +4 -4
- package/dist/components/{p-BA4DuEdW.js.map → p-DFrgWCgh.js.map} +1 -1
- package/dist/components/{p-BXXRUyNx.js → p-DV74m5Co.js} +8 -8
- package/dist/components/{p-BXXRUyNx.js.map → p-DV74m5Co.js.map} +1 -1
- package/dist/components/{p-B6gScQp0.js → p-DWO5i1Se.js} +3 -3
- package/dist/components/{p-B6gScQp0.js.map → p-DWO5i1Se.js.map} +1 -1
- package/dist/components/{p-DbioORza.js → p-DWX-AAX8.js} +3 -3
- package/dist/components/{p-DbioORza.js.map → p-DWX-AAX8.js.map} +1 -1
- package/dist/components/{p-D7G3AQr_.js → p-DYHvA9s4.js} +3 -3
- package/dist/components/{p-D7G3AQr_.js.map → p-DYHvA9s4.js.map} +1 -1
- package/dist/components/{p-Clu7XYjR.js → p-DcbuYddf.js} +3 -3
- package/dist/components/{p-Clu7XYjR.js.map → p-DcbuYddf.js.map} +1 -1
- package/dist/components/{p-Cy2MNqqE.js → p-DeBriAnB.js} +3 -3
- package/dist/components/{p-Cy2MNqqE.js.map → p-DeBriAnB.js.map} +1 -1
- package/dist/components/{p-DwL0dy3A.js → p-DqahRJXl.js} +3 -3
- package/dist/components/{p-DwL0dy3A.js.map → p-DqahRJXl.js.map} +1 -1
- package/dist/components/{p-Dl5eyCH0.js → p-DusEwCgj.js} +3 -3
- package/dist/components/{p-Dl5eyCH0.js.map → p-DusEwCgj.js.map} +1 -1
- package/dist/components/{p-BhJTClCR.js → p-Dx2gmcFF.js} +4 -4
- package/dist/components/{p-BhJTClCR.js.map → p-Dx2gmcFF.js.map} +1 -1
- package/dist/components/{p-y5SGEyvZ.js → p-Dx4lHnka.js} +3 -3
- package/dist/components/{p-y5SGEyvZ.js.map → p-Dx4lHnka.js.map} +1 -1
- package/dist/components/{p-COj-hm3v.js → p-FuGWRoer.js} +4 -4
- package/dist/components/{p-COj-hm3v.js.map → p-FuGWRoer.js.map} +1 -1
- package/dist/components/{p-CAEiCMBr.js → p-MVShD5fJ.js} +16 -16
- package/dist/components/{p-CAEiCMBr.js.map → p-MVShD5fJ.js.map} +1 -1
- package/dist/components/{p-D26EgCl4.js → p-Mu5E0ief.js} +4 -4
- package/dist/components/{p-D26EgCl4.js.map → p-Mu5E0ief.js.map} +1 -1
- package/dist/components/{p-CrPI1oek.js → p-XLYPaRCU.js} +3 -3
- package/dist/components/{p-CrPI1oek.js.map → p-XLYPaRCU.js.map} +1 -1
- package/dist/components/p-cHn6O-Kf.js.map +1 -1
- package/dist/components/{p-DSW9AXlQ.js → p-s5rCN-h6.js} +3 -3
- package/dist/components/{p-DSW9AXlQ.js.map → p-s5rCN-h6.js.map} +1 -1
- package/dist/components/{p-ZXPuz8st.js → p-vtXEng2T.js} +3 -3
- package/dist/components/{p-ZXPuz8st.js.map → p-vtXEng2T.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/docs.json +239 -973
- package/dist/esm/gb-avatar-label-group_2.entry.js +1 -1
- package/dist/esm/{gb-avatar_20.entry.js → gb-avatar_24.entry.js} +175 -40
- package/dist/esm/gb-avatar_24.entry.js.map +1 -0
- package/dist/esm/gb-collapse-button_4.entry.js +1 -1
- package/dist/esm/gb-export-dropdown-item_3.entry.js +3 -3
- package/dist/esm/gb-export-dropdown_2.entry.js +2 -2
- package/dist/esm/gb-file-type-icon_2.entry.js +2 -2
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +12 -12
- 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/reusableModels-cHn6O-Kf.js.map +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/Illustration2.svg +34 -0
- package/dist/globuscomponents/assets/Illustration3.svg +45 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-45a97699.entry.js → p-0032a0eb.entry.js} +2 -2
- package/dist/globuscomponents/{p-dd60fb1f.entry.js → p-02088466.entry.js} +2 -2
- package/dist/globuscomponents/{p-e856eaff.entry.js → p-02c897ed.entry.js} +2 -2
- package/dist/globuscomponents/{p-e37fce34.entry.js → p-120a40ff.entry.js} +2 -2
- package/dist/globuscomponents/{p-ab768c04.entry.js → p-146958c2.entry.js} +2 -2
- package/dist/globuscomponents/{p-3e868e97.entry.js → p-1e8100d7.entry.js} +2 -2
- package/dist/globuscomponents/{p-9b010005.entry.js → p-2627c42d.entry.js} +2 -2
- package/dist/globuscomponents/{p-b8b92a06.entry.js → p-27f7db8f.entry.js} +2 -2
- package/dist/globuscomponents/{p-4bcd33fa.entry.js → p-2a21eb7b.entry.js} +2 -2
- package/dist/globuscomponents/{p-a7038f90.entry.js → p-2df35014.entry.js} +2 -2
- package/dist/globuscomponents/{p-a89edc56.entry.js → p-34b42b72.entry.js} +2 -2
- package/dist/globuscomponents/{p-aea695a6.entry.js → p-3762f17f.entry.js} +2 -2
- package/dist/globuscomponents/{p-4b919893.entry.js → p-3ac302ce.entry.js} +2 -2
- package/dist/globuscomponents/{p-68354e91.entry.js → p-5c40b98a.entry.js} +2 -2
- package/dist/globuscomponents/{p-0616b374.entry.js → p-5e541142.entry.js} +2 -2
- package/dist/globuscomponents/{p-d3203d6f.entry.js → p-705b5c14.entry.js} +2 -2
- package/dist/globuscomponents/{p-2f92fe3f.entry.js → p-769c122f.entry.js} +2 -2
- package/dist/globuscomponents/p-77853834.entry.js +2 -0
- package/dist/globuscomponents/{p-69b133eb.entry.js → p-77d56d49.entry.js} +2 -2
- package/dist/globuscomponents/{p-52e14bdf.entry.js → p-78b197e8.entry.js} +2 -2
- package/dist/globuscomponents/p-78b197e8.entry.js.map +1 -0
- package/dist/globuscomponents/{p-f0936ffa.entry.js → p-7934a554.entry.js} +2 -2
- package/dist/globuscomponents/{p-03728680.entry.js → p-7d1fc7af.entry.js} +2 -2
- package/dist/globuscomponents/{p-9022b49e.entry.js → p-844c182c.entry.js} +2 -2
- package/dist/globuscomponents/{p-208aa9b7.entry.js → p-8aafa688.entry.js} +2 -2
- package/dist/globuscomponents/{p-d2c362ef.entry.js → p-8ea379ce.entry.js} +2 -2
- package/dist/globuscomponents/{p-9d0e5f0d.entry.js → p-8ecbae72.entry.js} +2 -2
- package/dist/globuscomponents/{p-6d274070.entry.js → p-8f15525a.entry.js} +2 -2
- package/dist/globuscomponents/{p-b3cddf74.entry.js → p-9cb18747.entry.js} +2 -2
- package/dist/globuscomponents/{p-5da11132.entry.js → p-a30bbf32.entry.js} +2 -2
- package/dist/globuscomponents/p-a335c974.entry.js +2 -0
- package/dist/globuscomponents/{p-b941dab9.entry.js.map → p-a335c974.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-f5b964fb.entry.js → p-a390c2b3.entry.js} +2 -2
- package/dist/globuscomponents/{p-47c82835.entry.js → p-acd3e297.entry.js} +2 -2
- package/dist/globuscomponents/{p-525f582b.entry.js → p-b14a2747.entry.js} +2 -2
- package/dist/globuscomponents/{p-4bec8593.entry.js → p-b7c64337.entry.js} +2 -2
- package/dist/globuscomponents/{p-030d477b.entry.js → p-bad5afbe.entry.js} +2 -2
- package/dist/globuscomponents/{p-83f40a99.entry.js → p-bd3f0ff0.entry.js} +2 -2
- package/dist/globuscomponents/{p-52e6d32e.entry.js → p-c7c7ce12.entry.js} +2 -2
- package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
- package/dist/globuscomponents/{p-b7b6192a.entry.js → p-d7328c40.entry.js} +2 -2
- package/dist/globuscomponents/{p-409bfa1f.entry.js → p-d96a836a.entry.js} +2 -2
- package/dist/globuscomponents/p-d9f9ff6c.entry.js +2 -0
- package/dist/globuscomponents/{p-479cf307.entry.js → p-dc549111.entry.js} +2 -2
- package/dist/globuscomponents/{p-5f2a5190.entry.js → p-e91aa93b.entry.js} +2 -2
- package/dist/globuscomponents/{p-3e9ea422.entry.js → p-f3018a7e.entry.js} +2 -2
- package/dist/globuscomponents/{p-f716d74e.entry.js → p-f46743c7.entry.js} +2 -2
- package/dist/globuscomponents/readme.md +2 -0
- package/dist/types/components/gb-empty-state/gb-empty-state.d.ts +16 -0
- package/dist/types/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.d.ts +3 -35
- package/dist/types/components.d.ts +43 -70
- package/dist/types/models/reusableModels.d.ts +6 -0
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_20.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-featured-icon.gb-step-base.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-featured-icon_2.cjs.entry.js +0 -70
- package/dist/cjs/gb-featured-icon_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +0 -102
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.entry.cjs.js.map +0 -1
- package/dist/esm/gb-avatar_20.entry.js.map +0 -1
- package/dist/esm/gb-featured-icon.gb-step-base.entry.js.map +0 -1
- package/dist/esm/gb-featured-icon_2.entry.js +0 -67
- package/dist/esm/gb-featured-icon_2.entry.js.map +0 -1
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +0 -100
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js.map +0 -1
- package/dist/globuscomponents/gb-featured-icon.gb-step-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-stepper-vertical-icons-with-text.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-2dcd0634.entry.js +0 -2
- package/dist/globuscomponents/p-400f316d.entry.js +0 -2
- package/dist/globuscomponents/p-400f316d.entry.js.map +0 -1
- package/dist/globuscomponents/p-52e14bdf.entry.js.map +0 -1
- package/dist/globuscomponents/p-b3a2b871.entry.js +0 -2
- package/dist/globuscomponents/p-b3a2b871.entry.js.map +0 -1
- package/dist/globuscomponents/p-b941dab9.entry.js +0 -2
- package/dist/globuscomponents/p-d2fda02a.entry.js +0 -2
- /package/dist/globuscomponents/{p-45a97699.entry.js.map → p-0032a0eb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-dd60fb1f.entry.js.map → p-02088466.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e856eaff.entry.js.map → p-02c897ed.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e37fce34.entry.js.map → p-120a40ff.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ab768c04.entry.js.map → p-146958c2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3e868e97.entry.js.map → p-1e8100d7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9b010005.entry.js.map → p-2627c42d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b8b92a06.entry.js.map → p-27f7db8f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4bcd33fa.entry.js.map → p-2a21eb7b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a7038f90.entry.js.map → p-2df35014.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a89edc56.entry.js.map → p-34b42b72.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-aea695a6.entry.js.map → p-3762f17f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4b919893.entry.js.map → p-3ac302ce.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-68354e91.entry.js.map → p-5c40b98a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0616b374.entry.js.map → p-5e541142.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d3203d6f.entry.js.map → p-705b5c14.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2f92fe3f.entry.js.map → p-769c122f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2dcd0634.entry.js.map → p-77853834.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-69b133eb.entry.js.map → p-77d56d49.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f0936ffa.entry.js.map → p-7934a554.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-03728680.entry.js.map → p-7d1fc7af.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9022b49e.entry.js.map → p-844c182c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-208aa9b7.entry.js.map → p-8aafa688.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d2c362ef.entry.js.map → p-8ea379ce.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9d0e5f0d.entry.js.map → p-8ecbae72.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6d274070.entry.js.map → p-8f15525a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b3cddf74.entry.js.map → p-9cb18747.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5da11132.entry.js.map → p-a30bbf32.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f5b964fb.entry.js.map → p-a390c2b3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-47c82835.entry.js.map → p-acd3e297.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-525f582b.entry.js.map → p-b14a2747.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4bec8593.entry.js.map → p-b7c64337.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-030d477b.entry.js.map → p-bad5afbe.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-83f40a99.entry.js.map → p-bd3f0ff0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-52e6d32e.entry.js.map → p-c7c7ce12.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b7b6192a.entry.js.map → p-d7328c40.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-409bfa1f.entry.js.map → p-d96a836a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d2fda02a.entry.js.map → p-d9f9ff6c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-479cf307.entry.js.map → p-dc549111.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5f2a5190.entry.js.map → p-e91aa93b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3e9ea422.entry.js.map → p-f3018a7e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f716d74e.entry.js.map → p-f46743c7.entry.js.map} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Fragment } from "@stencil/core";
|
|
2
2
|
export class GbPagination {
|
|
3
3
|
constructor() {
|
|
4
|
+
this.currentPage = 1;
|
|
4
5
|
this.entries = [10, 20, 50, 80, 100];
|
|
5
6
|
this.selectedPageSize = 10;
|
|
6
7
|
this.pages = [];
|
|
@@ -15,8 +16,8 @@ export class GbPagination {
|
|
|
15
16
|
this.breakpoint = this.width < 730 ? 'mobile' : 'desktop';
|
|
16
17
|
}
|
|
17
18
|
onPreviousButtonClicked() {
|
|
18
|
-
if (this.
|
|
19
|
-
if (this.currentPage === this.
|
|
19
|
+
if (this.internalTotalPages > 1) {
|
|
20
|
+
if (this.currentPage === this.internalTotalPages || this.currentPage > 1) {
|
|
20
21
|
this.currentPage = this.currentPage - 1;
|
|
21
22
|
console.log(this.currentPage);
|
|
22
23
|
}
|
|
@@ -24,8 +25,8 @@ export class GbPagination {
|
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
onNextButtonClicked() {
|
|
27
|
-
if (this.
|
|
28
|
-
if (this.currentPage === 1 || this.currentPage <= this.
|
|
28
|
+
if (this.internalTotalPages > 1) {
|
|
29
|
+
if (this.currentPage === 1 || this.currentPage <= this.internalTotalPages - 1) {
|
|
29
30
|
this.currentPage = this.currentPage + 1;
|
|
30
31
|
console.log(this.currentPage);
|
|
31
32
|
}
|
|
@@ -37,12 +38,12 @@ export class GbPagination {
|
|
|
37
38
|
// Show all pages if internalTotalPages <= 5
|
|
38
39
|
for (let i = 1; i <= this.internalTotalPages; i++) {
|
|
39
40
|
this.pages.push(i);
|
|
40
|
-
console.log(this.pages);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
this.updatePaginationSize(); // Set initial variant
|
|
44
44
|
window.addEventListener('resize', this.handleResize);
|
|
45
45
|
this.defaultSelected = [this.selectedPageSize];
|
|
46
|
+
// console.log(this.currentPage)
|
|
46
47
|
this.pageItemSelected.emit({ pageSize: this.selectedPageSize, pageNumber: this.currentPage });
|
|
47
48
|
}
|
|
48
49
|
generatePages() {
|
|
@@ -59,12 +60,12 @@ export class GbPagination {
|
|
|
59
60
|
}
|
|
60
61
|
componentWillRender() {
|
|
61
62
|
this.internalTotalPages = this.totalPages;
|
|
63
|
+
// setTimeout(() => {this.totalPages = 5}, 2000)
|
|
62
64
|
}
|
|
63
65
|
onTotalPagesChange(newValue, oldValue) {
|
|
64
66
|
console.log('totalPages changed from', oldValue, 'to', newValue);
|
|
65
67
|
this.internalTotalPages = newValue;
|
|
66
68
|
this.generatePages();
|
|
67
|
-
// console.log(this.internalTotalPages);
|
|
68
69
|
}
|
|
69
70
|
handlePageSizeSelect(item) {
|
|
70
71
|
this.selectedPageSize = item.detail;
|
|
@@ -75,10 +76,10 @@ export class GbPagination {
|
|
|
75
76
|
this.pageItemSelected.emit({ pageSize: this.selectedPageSize, pageNumber: this.currentPage });
|
|
76
77
|
}
|
|
77
78
|
render() {
|
|
78
|
-
return (h("div", { key: '
|
|
79
|
-
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page))))
|
|
80
|
-
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page)))))), this.
|
|
81
|
-
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page)))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-number-base", { key: '3d9a2a6ea63d554d5b3231adb130aa4574c7a9bd', shape: this.shape, state: this.currentPage === 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(1) }, h("p", { key: 'a448cd904e230f88be83f7807d789cbf0e9a1c1d', slot: "page_number" }, "1")), h("gb-pagination-number-base", { key: '64d511855092718b21820193f0811a4851b881e5', shape: this.shape, state: this.currentPage === 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(2) }, h("p", { key: 'a805fddfaa8dab1f730b18d994713fdb1b496019', slot: "page_number" }, "2")), h("gb-pagination-number-base", { key: 'b5bbc038d5f895e6ae3579b3d4b3bdcdbcccfe86', shape: this.shape, state: this.currentPage === 3 ? 'active' : 'default', onClick: () => this.setCurrentPage(3) }, h("p", { key: 'b3b742612b9ff06b3cace31abe2781cec84b26cd', slot: "page_number" }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: '74357295c4b59fa2af5cfc9439e8ffb76d9d05e4', shape: this.shape, state: "default" }, h("p", { key: 'fafb8a76d16fde6d62ad676622deabaf7cd24918', slot: "page_number" }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: 'd478e04d6dcc92f8948203c264aa930e8f5ca96b', shape: this.shape, state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.totalPages - 2) }, h("p", { key: 'd4e8bf25babd001e246ec0ae9a159060bd54ed25', slot: "page_number" }, this.totalPages - 2)), h("gb-pagination-number-base", { key: '084239f80a5ba6bc788d915685df5f8cd5f7567e', shape: this.shape, state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.totalPages - 1) }, h("p", { key: '3d2d5be90e631dfb45ed92980ef96a2de6450f0c', slot: "page_number" }, this.totalPages - 1)), h("gb-pagination-number-base", { key: '8b9c77ff995ca2aa93a6d879456151aa328e9175', shape: this.shape, state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => this.setCurrentPage(this.totalPages) }, h("p", { key: '0700ccea7ec6d50763ec9744eea1236a2c787369', slot: "page_number" }, this.totalPages))))), h("div", { key: '1dd73b258579d585c9177149c89fe4604a4deee8', class: "pagination_btns" }, h("gb-button", { key: '7c767c78821c8710ac34b7f1dcae2dbe2789b97c', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("gb-button", { key: '53d1dddadde6b1ad45fa2b60c889053d22144405', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() })))), this.type === 'card_minimal_right_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'c3ab689dceacef7bc3a32b01e449943d1885fb78', class: "pagination_entries" }, h("div", { key: 'cf9e0b70ebc97cab146b22767cca304c70c4d5a1', class: "entries_text" }, h("p", { key: 'e9acacdb97c0dc442d06aa306614a1f3ac074264', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '63f9cd83e396bc5bd22a62e95e41e1e1a784e77f', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '070f0d8629179edb6c78e15e37754acca68d46da', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))), h("div", { key: 'c594d48ff555ffb187a3b3c915b1c1a0984e266c', class: "page_number_text" }, h("p", { key: '673cbde3f9fe43f05adcbef82105deea81a6d948', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("div", { key: '1b346cba5787fb9ad457c8a70546e4e5056b4b1e', class: "pagination_btns" }, h("gb-button", { key: '50c481bb1714a4f74976bc0ee95050989136cc73', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'b79a9ed4badd061b3d783a1a9cd2263077f3b633' }, "Previous")), h("gb-button", { key: '9e8c00a4ec002fbcf9ec8af0996ef7f66ea11aa2', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: 'ea9873932046c84c6371a0fa619e44cad8d69c9b' }, "Next"))))), this.type === 'card_minimal_left_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '2981ae48a1924478bf7544ba8dd5251d83e7d1e1', class: "pagination_btns" }, h("gb-button", { key: '5b409624e3f62b5cdc6b336afe14403ae7e3e0bb', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '8f967a8dfe1fddb0b15170f73f90c96c677cf11f' }, "Previous")), h("gb-button", { key: '57e99105e29b1066de9be327d82e81bb6fc0fc01', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: '87c902583311f3d6b02f4f68dfb65cb52efe8942' }, "Next"))), h("div", { key: '25c1f55662449d47608fdc2d51b126aff03839eb', class: "page_number_text" }, h("p", { key: '389b0b93839d2ad7cb55ef41ba4091966278941a', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("div", { key: '0aebfeeab7c84c680fec43d8f22cbe18336a7a28', class: "pagination_entries" }, h("div", { key: 'c76ffd63e9ea8a097dc0f8a982a66ea572b61823', class: "entries_text" }, h("p", { key: 'e795a079fde12c6a33df4ccd15a8a149d31dd78a', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '36540c6aff0c10c9151e665f3eebf0c363a305b2', class: `entries_dropdown` }, h("gb-input-dropdown", { key: 'eb3c66fa5802c6e0cc474fe015943eab2a9de709', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))))), this.type === 'card_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '67ec1bcc166f500e3eff748d10d1af1bdfa43359', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '8ec71bf916394ab0690cb125394ba67ae45ab4ec' }, "Previous")), h("div", { key: '1dac8e7b8e3ec1fa57d1a937e5a597b21807b70e', class: "page_number_text" }, h("p", { key: '726669a16f726874100717a7c0f5f9cf4cbfbdb8', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '44f52ac2acff092118dd73e74cc0ff71f52e079e', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: 'a2f9d255c96035c9ccf1be1f2dae7611a4213ea1' }, "Next")))), this.type === 'card_button_group_right_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'd19f3832640f55b9b13ef375ad10612725c1f103', class: "pagination_entries" }, h("div", { key: '0e10f5c97a874c7f5d194610610db127ad231d9c', class: "entries_text" }, h("p", { key: '9ccb162e3c94972350f530a5253f16a6b8457c70', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '928bcdf9fcf0dbb26bf504ea88f43da80d27bfea', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '6cb6fe9c8519bf4c263ca840cfb914bc04e54395', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))), h("div", { key: '2fce82a20d15e15d302886fac10d56318ef42b65', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '635e8caf21b9d9ffc2363c79922b33cc0c4c1084', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '7370c3a067f1983a65555e70bcc39f8be26c6491' }, "Previous")), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '475fb6e8eed032e3e517f255c90a323988d7609a', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '293907b69d068d36128ac3a936791f693a364b4b' }, "1")), h("gb-pagination-button-group-base", { key: '7bdf618d174c49df429cb1de1ec600e7eddc7b46', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '312b77e8498a51f62d04f06bf7cc067b0d0c9b16' }, "2")), h("gb-pagination-button-group-base", { key: '55e67329e36755e34fec4ede0e40b0b4c1aac680', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: 'a471507eacf58804dd1c6a3544d8c5af3508a807' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'f5fb053aad4733389124e277aac007370a600318', icon: "false" }, h("p", { key: '3db2cc57736f9b441450da06cee8d9ac2dc3030d' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '3f5de210a07d3a416f8184456dd442a7d674c36e', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: '6e2533f46cc0841d1a87bc5d98c7ddced4a27c67' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: 'b64b3ca712b00c5273e816961c93aec9215fa1a9', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '06235a40a420bdabfcf3adad53a119c791453d7b' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: '4d88791dd3ec4609268e8b00ee7fb524acbb630d', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: '59d6711a231378a1d7f731a4d5138542523cfa46' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: '9f14b62ea33684a7d302ce3eb9446646bd63ded6', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: '52ee540ea22e99a07722f54f3846a088af1cb7d9' }, "Next"))))), this.type === 'card_button_group_left_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '63c71b8caba5660ddb3f3bf38ccacba847c828b5', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '0d6fb9788a05ae355891f732a3e679935b186749', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '50a5758e4552b82eced1707be8a3a08b011fc314' }, "Previous")), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '720625e41981a93968e5f0f5e627211e144bf257', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '9585ed74ed0e70b3fb406c3d6c36a12b6602ac3c' }, "1")), h("gb-pagination-button-group-base", { key: 'a99d3cd84b7a5b342af088b499e19277643f3ad1', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '05256259f13d0cd895e5895b4e35c773f150dd39' }, "2")), h("gb-pagination-button-group-base", { key: 'de689626d8579fff56ada8dcc786f6d156b9325f', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '4a87ee7ddf28d5e10061e323974a66ca6ea9186d' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'ee56e17cacffde6cc1daada2b0ac5b8dba955afd', icon: "false" }, h("p", { key: '55f333a5307b6b02c083a4b4df6e20deacf630c6' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'b12268773f2d20eb8cdca45e5acd8044bba12366', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: 'c370975a2525c1bf9ee5639f33122a9af74a2922' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: 'cd21543f1ecae68abb14f79d0a61627ef21a2ca6', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '73e8f6b2f71a7bd7ca8180ddc816cfff6a47f3d3' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: 'c359a24da6fb338ce00d2635f87e9489080dcd69', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: '64ecb807a94843cbde88febf8c19d7deee7867a2' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: '27dfb0197791443e26e5dbd4ade0e85a519951fd', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: '6c3c55bacbdde72516d4aa695cab127ef77c0d8a' }, "Next"))), h("div", { key: '03d9ad645a36f1d79e1d693069e636f6d9297f6d', class: "pagination_entries" }, h("div", { key: '168f6dc106c75cb25054622f8531e10f85dbb68c', class: "entries_text" }, h("p", { key: '7141d9a1c05731013ff2a7ec583d5839e3a30064', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: 'c1d5e83509abd974c85571a84a46f82736caf714', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '9db04d4fcaab202c209e71536b118ca52e08c134', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))))), this.type === 'card_button_group_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'a42a7cf8a68da9d492d7703c40ead23c98db05bd', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '675a7fbf70fa4b271cbea769895af771929df9d9', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '3a9af32f79ea121d588c06fa7351b0332ae7fbd4' }, "Previous")), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: 'f9ec4ea2cd885be96bef415ea14c86a28e3a6c5b', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '8e9a9f3efd16666a9989bfeffee2c2afbf8efb91' }, "1")), h("gb-pagination-button-group-base", { key: '7ec5b84cf3f30a6f1295fcd0148e867f1cf9a721', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '53c1070c3a93ce2df23928eed1708b4396a8f899' }, "2")), h("gb-pagination-button-group-base", { key: '5ae57556e66784f45378744d12e557b9a68f679f', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '96fe04fbe93ffc577ab2c224321f255ea29e6402' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '95ebd260cb3a0e7a614976e763563b49fecb2b95', icon: "false" }, h("p", { key: 'e0a84f0de647463db519094f21e4e68d4382146b' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '2af48c5612ec4562200b08d42596b1413b4570be', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: 'eb6d1e90346444371eacbbe1a5b2f9fd1e67db73' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: '69d41f95cdc4b864cd0f8dc16cdf061f7e7d461a', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '091ceaf3ff3f015054a83094c0eb57041d87cec8' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: 'c244d740fc365edb50c644afdbede4ff953fe5b4', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: '8cbae6cf0f6ccb3b6caf6ac434fe9ef1b462ffd4' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: 'ed057df532927c5b8009c6616442da8275476f44', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: 'edfd456a0abc7b9c7b90f0f87a1676a345152491' }, "Next"))))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: 'cb6be7c73a8c494b62334db9afe41f85eeb36e92', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '8231f912b6c4f4b4b326aa69a24a7fb56f6060f4', class: "page_number_text" }, h("p", { key: '5bc2f61543387c43c7f3b343ba85cc6ca7e129b5', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '6f05465421342a2059156d02180138bcc1e6a648', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '663d5f0168e5556b0746c0b90776325453a555e7', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'bf80ec323a954187b09df864b1dfaf8874d05a4e', class: "page_number_text" }, h("p", { key: 'c171db6debf770d81a859cadb3ac6dacc7b73ab3', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '9f21d5fab5db7e87c1bcc0a0c987ec4b7a796055', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '6aa5f8030daa8aa08ba0709771b992ad7423ee75', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'c5ec8af554f5c50d7f13cbc7bb6aae97a6328161', class: "page_number_text" }, h("p", { key: '2aa4a42b7e2275679838f2d08efda898ba5fac9a', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: 'ec8d1409870786587e0776c24ddc463d4b4d9594', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_right_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '6b8ad23acfc4b861f3f9cf75ad19df1250fa0fb1', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'f9012a270418b2347846f26c7aac81d39d809c0a', class: "page_number_text" }, h("p", { key: 'd3045425320a7ef4fede2d3812b6e78ad1197c45', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '36cad310e96add08c48a1fc6cef7cc2fc9ebc20e', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_left_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: 'd74be8460e76f0dcc75226cbfe166bb6e2c86197', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '013c1752a748f983cce6005732779bacdb24baa2', class: "page_number_text" }, h("p", { key: 'bb30a1c46cebe0714ec2a2ff8542b4cdbd212896', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '10890055e3395c1427af911977c2c97a54681e15', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_center_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: 'b8d7a469b2448a0da69d8a70fb82062edb49955d', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '49186a1c823e7353d505c72c99015b3dc115de2d', class: "page_number_text" }, h("p", { key: '31fe15935661218975e87822884576217c7e9cdc', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '94f1597dc6080d398eadf0a59e38eb0b5c23cbee', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_right_aligned' && this.breakpoint === 'mobile' && (h("div", { key: 'b75920209079b2e6baf1d1c9ba6fe12b9b4b1434', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: 'c65f895771db627eba4755db97ec3b34007fc362', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '276ac1643043251f5db4764985649a95e57d3fe6', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '7b5fe1a8430e626a6ee4ead66a93294961fafdc1' }, "1")), h("gb-pagination-button-group-base", { key: 'f40f75dd63d9e8a576883b6777cc84c60bd8147a', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'f7339dccb72bdd95e879d9b46c6be85e483011f3' }, "2")), h("gb-pagination-button-group-base", { key: '9406820ceaad7b3fe8f17e336f2c012615e60a4c', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: 'e23a96ca314f6fbae69f665187b9f5ce3c23ae30' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '520ac023165b35b6dd02cfc7014669911c48fcdb', icon: "false" }, h("p", { key: '0b51891344f7fe83dad730e21a1302d6c1bbc776' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '855c8568e09e7e79a65bef1541439b2e3c6ba5db', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: 'e99e6fd202b749d0dcf56374ceb33848657c777f' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: '38a4c9fd16ae2ed0d76f1eaa57b5a213093a3d1e', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '736c4a6e7929c7f4e6abdad0e764e2658318a836' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: '265a17c2d103584396c043c4e27cd79b09ec897f', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: 'e7c91066abff6c641a4967d1aeea5c166cf4c68f' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: '62d6ecfa92ba70ff3a313845b764db743d3aa758', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_left_aligned' && this.breakpoint === 'mobile' && (h("div", { key: 'bd44f87d800587ff3293e1292e73f4d888c5062b', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '597455312bffa16ee778b91a07154b086163bb1a', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: 'dde6e17f02b2a8df1427505a569085d47120be9a', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: 'aa20cb8714db2bcfc7b7ff67c509fb53c27d0152' }, "1")), h("gb-pagination-button-group-base", { key: 'ff5ffc1d829258a2c469823ae9b9178529d272ef', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '6cce48b0ba98e9232946beac65f53a4fa551b6b9' }, "2")), h("gb-pagination-button-group-base", { key: '51e9ce431d3352111fd869287940f8f5587de997', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '664e2bc2de987ee048b6c8801d9d89983d89ed7f' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '140e65ef489636a858792f19465cfc39bd55a93d', icon: "false" }, h("p", { key: '5690850b3687d18d722f866df40ce8c0d43f4ab4' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'b026a9212718b88120ae836fd459b864e1c8dd8f', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: '373dfe5844d6bc00d0d68a8148b0dcc1a59f16b9' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: '3a3465426cdc6f3079df3ea8e9464033909b0abf', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '3c3d7977290a3126950f1e576034618cac9674af' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: 'b65e475658456b83dcf473ff6de81601028dd780', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: '437ccaf5ae3aac05c0361b067d0a78a26de5ed9c' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: '226c8eaf25d4d92391853b0dbacea97e47a5928e', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_center_aligned' && this.breakpoint === 'mobile' && (h("div", { key: '3f6e3e295068f35b5c5f51de27436b1c7e286780', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: 'cd70aa077005ca9beecf655175b29ff1f8fef911', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.totalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.totalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '984257c1ac58cbcefa136dddd7a6940f913da1ee', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '055ab7dd3f960444dd28d77c67e357dbe7640726' }, "1")), h("gb-pagination-button-group-base", { key: '5287a9f69a8028ed7385f92afd5c8190f80a9807', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'c20c6c1d3d8b81865a69f1e141a43886591b9701' }, "2")), h("gb-pagination-button-group-base", { key: 'db33637e7af817220cdadf55945ea57413a1d3dd', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '94264304c87e6dfc6b02f51fabffb9d097750538' }, "3")), this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '7b2801e0e8cda2aaeac2d70cfa113ffd518e6f6a', icon: "false" }, h("p", { key: '7eb98c589638f9cb9ee9a3dbb469842b9ded5085' }, "...")), this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'ab21b8edd41090857bf9ebad8c3d9741b7fdef6e', icon: "false", state: this.currentPage === this.totalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 2) }, h("p", { key: 'e366c3b9bb629253c60fe5e45673f9335fa3695a' }, this.totalPages - 2)), h("gb-pagination-button-group-base", { key: 'df6ff3f109e0014f92856a00b08dca41c60f8f75', icon: "false", state: this.currentPage === this.totalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages - 1) }, h("p", { key: '47fffdf76dfda2afa9a83038eaec05ff59a81785' }, this.totalPages - 1)), h("gb-pagination-button-group-base", { key: '2b4b0a527aec3dd1c593c3a8a456da2d5cfa12fd', icon: "false", state: this.currentPage === this.totalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.totalPages) }, h("p", { key: 'ce8365f15406fd976fb7ab54db4b1a28ecbfaa1f' }, this.totalPages)))), h("gb-pagination-button-group-base", { key: '326c26da00a4ff09ac2ecf322a63977b9ac688bf', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() })))));
|
|
79
|
+
return (h("div", { key: '4f33049640e3cd60201f9fee45657e6162cd9921', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'd3eae484bce93414ced4a1affb04a107f5cbeca8', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'e0fcdc9a039f71fef653c9f41c9f0170a872a240' }, "Previous")), h("div", { key: '304d6a9d45284c2cf048ea4d5b7afaf09a80d481', class: "pagination_numbers" }, this.internalTotalPages <= 5 &&
|
|
80
|
+
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page)))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-number-base", { key: '8077cdb2908845b9a9bdd7e14bc82c59fa195ef6', shape: this.shape, state: this.currentPage === 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(1) }, h("p", { key: '0caa17502083f931b398a41ff3ff2a1fe03154bd', slot: "page_number" }, "1")), h("gb-pagination-number-base", { key: 'c17913ac72e67749bb1d50649f622cddc9a85018', shape: this.shape, state: this.currentPage === 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(2) }, h("p", { key: '2c612b62964fffd4df1ab0520e56233483be063e', slot: "page_number" }, "2")), h("gb-pagination-number-base", { key: '5ae831acca909476cc1aed7287d47378d166187a', shape: this.shape, state: this.currentPage === 3 ? 'active' : 'default', onClick: () => this.setCurrentPage(3) }, h("p", { key: '08f69119af8c06f62551875bb47d695f5873cc46', slot: "page_number" }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: '4125b0020ba0585d4f77599e14bf6c9aef3bd4c3', shape: this.shape }, h("p", { key: 'c718cbd6a4126706083c2f05787217c02937da4c', slot: "page_number" }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: '4305d2ae33f5fbee7dec8ed73f36cdcc00d06de9', shape: this.shape, state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 2) }, h("p", { key: '2095d40b50358a07ce460b6fcbfcb84b8ada6a7a', slot: "page_number" }, this.internalTotalPages - 2)), h("gb-pagination-number-base", { key: 'b674b3b5561d22aa3199f7d17a8444cec5e04291', shape: this.shape, state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 1) }, h("p", { key: '043d24cc25a644a2565a87f59ddeb38c8e481251', slot: "page_number" }, this.internalTotalPages - 1)), h("gb-pagination-number-base", { key: '12e70d241b5f201876058070c9fcc1a6e78d35ec', shape: this.shape, state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages) }, h("p", { key: 'acf3bd5d4dcee320b64e29f5e760ec97e8bee953', slot: "page_number" }, this.internalTotalPages))))), h("gb-button", { key: '1fa27a569fe597ea2fc44fa7c611147424778796', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }, h("p", { key: '60ff8ff77c7a010555b0e27c59905d81d0211d51' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'd3c4df2a072c8dabbe76d39d7ef4bcdb00ae854f', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'f84f26aeec1d6844c5a9cc854a3e26ff2430beea' }, "Previous")), h("div", { key: 'e809b61d65c8b16d5371088ba8a6cbf7c2592893', class: "pagination_numbers" }, this.internalTotalPages <= 5 && (h(Fragment, null, this.internalTotalPages <= 5 &&
|
|
81
|
+
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-number-base", { key: '70492cdba72d98fe4842101dfeecc6fa98ea4c2d', shape: this.shape, state: this.currentPage === 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(1) }, h("p", { key: 'c615a194f23d350f6f5b7d4121f33f18bcbce68a', slot: "page_number" }, "1")), h("gb-pagination-number-base", { key: '242b21ac843eb8ebe7e8f2a464d625750559f470', shape: this.shape, state: this.currentPage === 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(2) }, h("p", { key: 'ccd17debb9eadcb1f6596fb2ac636590e9ede7bd', slot: "page_number" }, "2")), h("gb-pagination-number-base", { key: '990970627ae0eefcf7e12c0a6d7bf647c0a2da3f', shape: this.shape, state: this.currentPage === 3 ? 'active' : 'default', onClick: () => this.setCurrentPage(3) }, h("p", { key: 'b2323dd8c9c01ae4305bc21ab22d5bc60ea40ed5', slot: "page_number" }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: 'ceb0ee1ec18af8b4a749b6e45a5856694622d4d0', shape: this.shape }, h("p", { key: '2fa3328fbfe4f44e448754de2d308d745d0c2553', slot: "page_number" }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: '63e9b2a46aa8deac7c07ee2c1a936e29e8ff8e49', shape: this.shape, state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 2) }, h("p", { key: 'fb537c7ebae964e5d9ad373a305d516827d2f6b6', slot: "page_number" }, this.internalTotalPages - 2)), h("gb-pagination-number-base", { key: '7b7a33d5b14bba6626b50e1ba5e1b4317829b7c8', shape: this.shape, state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 1) }, h("p", { key: '598cd5164a691a1d870451afe9ef9ff4a99e4361', slot: "page_number" }, this.internalTotalPages - 1)), h("gb-pagination-number-base", { key: '926e67c00422e8bb61aabfbb42624961bd980e0a', shape: this.shape, state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages) }, h("p", { key: '0177651100bce3b882221629b0604b16a7075bb4', slot: "page_number" }, this.internalTotalPages))))), h("gb-button", { key: 'f352b28b3e279499a8bb39024be5bc4c877d889b', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }, h("p", { key: '1a72ae39ff4467b4723c39b2b069737f216339c6' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'f5d38cec3ea9868ed824d229a2a08bce7a12f976', class: "pagination_entries" }, h("div", { key: '0c4a8cb02cde503e760468086e95f593cb63221b', class: "entries_text" }, h("p", { key: 'ae38ac7e45867710dd2749d72c99150dfaf5f56f', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: 'ef651c6c504809ff1e248deedcbb570273a470b1', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '2cdb00c321cdc1e237d01f02bf63a9a3c2d38311', type: "default", state: "default", size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-help-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))), h("div", { key: '6b1ebc3e8f831400be8583a7eded0b5fbfea118c', class: "pagination_numbers" }, this.internalTotalPages <= 5 &&
|
|
82
|
+
this.pages.map(page => (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage === page ? 'active' : 'default', onClick: () => this.setCurrentPage(page) }, h("p", { slot: "page_number" }, page)))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-number-base", { key: '8748d0238adb0afec1f255dfa1a13201b67a50b0', shape: this.shape, state: this.currentPage === 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(1) }, h("p", { key: '10309a3ed6ef4452a7181025ce069d243c6eb98e', slot: "page_number" }, "1")), h("gb-pagination-number-base", { key: '7fcee45fa3bf72c00b3f15a88364c32a86a18da1', shape: this.shape, state: this.currentPage === 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(2) }, h("p", { key: '1641fc1b0f1fdb1e98e955483eabce52f899a2e7', slot: "page_number" }, "2")), h("gb-pagination-number-base", { key: 'edca56efff9ce757d55096885441c2cc6fcf88d7', shape: this.shape, state: this.currentPage === 3 ? 'active' : 'default', onClick: () => this.setCurrentPage(3) }, h("p", { key: 'dfad0c4a95ed8ad5aa8448d17dbbdc5bbe7768ae', slot: "page_number" }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: 'e3d05ae1f248b3de0e76691cacb757f3d340ad14', shape: this.shape, state: "default" }, h("p", { key: '4ac9511158327339e4ab41e40e90b2f550a5bdb4', slot: "page_number" }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-number-base", { shape: this.shape, state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", { slot: "page_number" }, this.currentPage))) : null, h("gb-pagination-number-base", { key: 'af3c3c00e28d6d0f6b0edd4d61b0c84e35d4c30a', shape: this.shape, state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 2) }, h("p", { key: 'b0fded5630bba4079db8e63623bad753ea943094', slot: "page_number" }, this.internalTotalPages - 2)), h("gb-pagination-number-base", { key: '7bef7dfafb1e70528db4d83123a82952dc2fd3b2', shape: this.shape, state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages - 1) }, h("p", { key: 'ed58bca2b12e23c82b27d973409362a74fad9121', slot: "page_number" }, this.internalTotalPages - 1)), h("gb-pagination-number-base", { key: '07fa5b15852963c20f6475056c057c61881949ec', shape: this.shape, state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => this.setCurrentPage(this.internalTotalPages) }, h("p", { key: '03d7f85571469440bc988b7af8aec4fe51c939d4', slot: "page_number" }, this.internalTotalPages))))), h("div", { key: '9a2e4d64a98c0941144040d0b7672c43a2c9464b', class: "pagination_btns" }, h("gb-button", { key: 'd5face310421f62c7daa1ee427d561a9b75cb8f8', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("gb-button", { key: '40081ccb19257353e9cb908be5134e8b8875e403', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() })))), this.type === 'card_minimal_right_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'cde2bfddbb7a129b16c75809f0b466001279b2d3', class: "pagination_entries" }, h("div", { key: 'a2e28e06b3c9ecf515710f08da196b7c852ff708', class: "entries_text" }, h("p", { key: '6e20eb1a37b1f87d43dbb63321de83287e56de72', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '98dd1bc578b2f8d9f544ded4acc4c5e011ce65fd', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '5b558ba707bdfaaa2e676a277f96c2d1e8a01342', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))), h("div", { key: 'c99a3d676def87c96603809e972b386a71246c3b', class: "page_number_text" }, h("p", { key: '18e174671320a677b3e2a88ca8b4eda7ec6504ae', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("div", { key: '9ef5f2ff472534e0f429023e04bac39b163fc6ad', class: "pagination_btns" }, h("gb-button", { key: '3675ee172a16f170775d3e662c3097be5186d43e', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'a8c39ac1bda61f8886fba6bc4431b0f69cda9f67' }, "Previous")), h("gb-button", { key: '454cc35716df8dd9c796d2f39ab2d59e25ae2ee6', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: '31c19ade29df9fe33e404d407e506b24c3b1c589' }, "Next"))))), this.type === 'card_minimal_left_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '481896687d014980445b772b3998e91b49d239ef', class: "pagination_btns" }, h("gb-button", { key: '85a0b7cc9d4c5f02b233c6a41c470f62e486bf41', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '99623ce21ac8ae022f706948ef04aacc3a5d669e' }, "Previous")), h("gb-button", { key: '188a987303def6e19b0fd4083f66c656ff747c2b', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: 'db0a4f6cf322e37ab7d01e4d4e0cad1450349676' }, "Next"))), h("div", { key: '6c33da2264eec837b85efec7a36cee236939f8d2', class: "page_number_text" }, h("p", { key: '0ef25b73eaddf2cd047bb28630b6ffade90724db', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("div", { key: 'af08d156c650b056fce8a3d41af2e30638ffd4b4', class: "pagination_entries" }, h("div", { key: 'b3aff31cd4a8484d95068322dcb5955aaf9f026c', class: "entries_text" }, h("p", { key: '563b0bd86133cb2a949982cbfad73da42efb3055', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '6af52283e80360aeef737501114984c27dab4c3d', class: `entries_dropdown` }, h("gb-input-dropdown", { key: '50b5668aec32baa8040108f6c976739b7d4bf36f', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))))), this.type === 'card_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'd29325fccbc9d21d18da5543cde433450015a864', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '6143f9c89a29591e4cfecf1e9d8bc8ffc62f37a5' }, "Previous")), h("div", { key: 'b33f73fdae979070ad6d5046bb06aba575f92e1a', class: "page_number_text" }, h("p", { key: '3fb6cc6e602cff71538d2fbf49c84d809c2d4abd', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: '264402bcad7ea107860a883dcdcb195be2c90e55', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", onClick: () => this.onNextButtonClicked() }, h("p", { key: '87178c622a06d59efcef56fe160016fa12bb9845' }, "Next")))), this.type === 'card_button_group_right_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '3760579caaa73e71af0ad8cb83fdcffb04c23d42', class: "pagination_entries" }, h("div", { key: 'bcbde168598f2391fa3cec75f982afbbd97395db', class: "entries_text" }, h("p", { key: '0ef99e65c866704f6e385361b89840b7a8b71a56', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '39a28c1c204f219908f572cb266a49599dc4345b', class: `entries_dropdown` }, h("gb-input-dropdown", { key: 'aa7ef859fddd98688a697bb34c15110df7afecc7', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))), h("div", { key: 'cb659464eadcf9cb2ff718967c3a6f246c13f951', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '3087ba97645fdaffd28fed5bd99ef4e40ee6fefa', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'ecd35a53f7a0df00d9bce39cf6820eeed64cfd10' }, "Previous")), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: 'fb1a288b874c4529599b97bf415befcc51fa011c', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '27c5b145a571b791849fa11d1bc2fc9145d70d02' }, "1")), h("gb-pagination-button-group-base", { key: '566d67561fd101659f8a3e3df34c540b68edee46', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'c1594e894cf17a99e764819f78e31a28eb94a48d' }, "2")), h("gb-pagination-button-group-base", { key: 'fcf893d7eec4337e81237e9f1da281a47ab5cca7', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '99b9b68b3644d27057bb8f4b591677fc3aeff407' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '0bef35a51515aed5e0f93b7828d6cde7fd9180a0', icon: "false" }, h("p", { key: '42867c93534499857ad4a59700a0df7cc3b310ad' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '54d656b45688df87c5de60f00475c208da0da526', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: '54a79fff9c3cc18c31c24d1f6a8987865740cfe1' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '42a37f7e991b0b0fbf30d157d125738935e2aa3b', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: 'd9fc279a23ea97b33a6f82057e6d1b606b593d4a' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: '4f2c4bb76c50d7b1beb96d450e803d1e7fc7e643', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: 'a289e05abf75f9ff4949b4ecb3ceea50ce7e9143' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: '2598b1fd9c881ae8d3ae8a2394394e2cf5320422', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: '30c07dbd3a402f5db4119aede22127a4b9e0cbc6' }, "Next"))))), this.type === 'card_button_group_left_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'a2bad0f7961cbde73dac0b40846ee8612236500f', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '4b41358060fd3bd317350cd8f24987e2cb4e83c7', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: '16c92314f5151e8400a504fe7d71ff6a6588c98b' }, "Previous")), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '80087365eb5ae37906dff910ab1cad78a5a8bb93', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '2f8320a1905f2e82fa174c31745ed480da46b850' }, "1")), h("gb-pagination-button-group-base", { key: 'b173f17ae8c5040d9a8b34237d5a6a18da98f947', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'd0eb1d24630d052f7badf0a2d20917bac007fced' }, "2")), h("gb-pagination-button-group-base", { key: '5b7778baae364340309e02988c1b7690986fd0e4', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '8fcdc3b5fdfb5d97a9a4babdfdfb1fce3bd54353' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'c8e3c9a3c3df6581529b32d7c5ecbe88be1de253', icon: "false" }, h("p", { key: '1dd647790359f4c315b309f0aca6587bc3311c83' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '19ec180bd28074bc474ea65e3cbc19f7e8e3e662', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: '427466bca6406177bbfb7ebbef054ba92937eb0a' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '60cbef142514c73fc5721dcaf3862899844bd3be', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: '0df604b290438dfe7f63f1214ae759a688284241' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: '249f556835c3c3d1887ea0ad41899ea680df3b14', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: 'aa8fc88782ad2ca40469c6866822444e724aeb57' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: '007463547a83605d1804ba517cb0effc72416650', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: '940874af2593cada94f2436f01748d1b47a7cc13' }, "Next"))), h("div", { key: '6aa659f5da5e9bab02b8f9976fbe113fdfc23310', class: "pagination_entries" }, h("div", { key: '8fc7b39696d73511e15c0340588c286ec3dab1b0', class: "entries_text" }, h("p", { key: '4ac0df78465592b43cc6dc46888912fb5a1d8565', class: `text-sm-medium`, style: { color: 'var(--color-text, #4B5565)' } }, "Entries")), h("div", { key: '743dc374114cf2fb09742b1ac4733f9e5e6c53f3', class: `entries_dropdown` }, h("gb-input-dropdown", { key: 'f4eb67d06c712b979a5f2b51a301ede5c7f50dc2', type: "default", state: 'default', size: "sm", "show-label": false, "show-hint-text": false, "show-supporting-text": false, "show-hep-icon": false, items: this.entries, "menu-position": "top", onDropdownItemSelected: this.handlePageSizeSelect.bind(this), value: this.defaultSelected }))))), this.type === 'card_button_group_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '11a5a330133dded45c01f17c65bd52be5a2f08f5', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: 'fa2a2ff9fc6a7ab4a839e948af068558f1e2a58f', icon: "leading", onClick: () => this.onPreviousButtonClicked() }, h("p", { key: 'f623f40151ca058f0ed0ab955936cef3206e9e9d' }, "Previous")), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: 'c00b0982dc362df663d7a488f23b640389f97649', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '019cd94e87b451ca0cd2c44c8ad8a94cd0c48931' }, "1")), h("gb-pagination-button-group-base", { key: '52771cdaf7c73f25d4b956830a3308e166470057', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '91def1c877f2598e19e79b856089f163bd041c39' }, "2")), h("gb-pagination-button-group-base", { key: '26bcdf5a384569c4378962d8a85f2f17f5fdc8e3', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '02fdb9c2bef206af338a8903700414f4e6b13480' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '7dde579eebb508be8f195ab11b76bf1e8a8a2d90', icon: "false" }, h("p", { key: '6610601b61fb74795fd64d6a1f71c214663e2eed' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'ca07f3c91fb89f3ffbd0583642b60ea45e162701', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: '2961f4f163d28898e41706324485f6640cca1ccc' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '140aab4627d2615c380d7caa0f75ed5760fb26f9', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: '49c615e3f472b790d590ba5d663738880afb0452' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: 'f874754a6c9fd106d7c7ac76171bb467a2d856dd', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: '4d00e91c848f47bd898ec85d594b650095956bb8' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: 'ccc299d1a58700ab6453a06ee1e89d201b47c376', icon: "trailing", onClick: () => this.onNextButtonClicked() }, h("p", { key: 'f5547ffdbd490030e75211383c9df4f56236c55e' }, "Next"))))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '6f91c973f67522757913ce3af2b3646ed6a2f930', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '38c165a911322a1c28b948506fd87b47d80d4dd2', class: "page_number_text" }, h("p", { key: 'ba6106d7cbf86a3d8bae4ebc7ccc310ad83c4287', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: '8f5e3579821dcf3689b9f5005a53b3c086b1b610', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: 'f6cef7c2f762db53637b9e9c3e792ab906b80824', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '0c83c764b215b8435a47e72eb8b3f1ecd1cbb3ce', class: "page_number_text" }, h("p", { key: '459226f9afd02167ac566457fd460f798a3e89aa', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: 'da31b79d71cea333526fcd8ad88b0745f33303ab', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '52b9b9acc3bc1f7740752c91c2696b6a7b0707ba', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: '2951c71e512e06d39368c82b0f938776dc226fc5', class: "page_number_text" }, h("p", { key: 'c6dbd146e421b4cbddb82b34bfb35056b1f04ec2', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: 'e5ea7fa88b1e10ca5965a11104bbe39d4c230864', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_right_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '850e20d4cab2850b6f52819f67300081ca9d1c55', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'b34a391a6d252f573c36bd3309cd79d9c9c51061', class: "page_number_text" }, h("p", { key: 'a1adfb2e4a6eda46bbc91a6cba6201a5df317d70', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: '739d6ac873c85f84cd3903fc40253769c42cadf2', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_left_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '65284372264cf7a2f9d6ffc1832cb12c4a7088bd', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'fbcfe8abc2c3f6144cef4b76f8d4821277f5a0e6', class: "page_number_text" }, h("p", { key: 'ea70f4f670e3b0336875e34e16cb35aeaa5f5445', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: 'd558fecc304eb4c09a8b4003eaffc98a78da5d76', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_minimal_center_aligned' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '3d8e84b57fd70e425cbe1fa060a623355da4b78c', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), h("div", { key: 'da70acc6e79a90ed410385be8bf20594aa512cfe', class: "page_number_text" }, h("p", { key: '94094d8f105dc8e775add35b845f4dec58415776', class: "page_numbers text-sm-medium" }, "Page ", this.currentPage, " of ", this.internalTotalPages)), h("gb-button", { key: '9d2fe6c170fa4b694afcbec619cf0a85473e4df6', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_right_aligned' && this.breakpoint === 'mobile' && (h("div", { key: 'df36c2aa1fcd70dfa520530a17860c3eabe2950f', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '97e1b21d4439966f8744a09e148684b9ee293072', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '014466b1d6eeb237494e2a2f159c7e62ec51272d', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: 'a70e58c9ffff6e7cac522902cd187ff35ea7caac' }, "1")), h("gb-pagination-button-group-base", { key: 'f680c1d97e8b7bca0a47920a5c00184b98d87e1e', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'b40d8ccd3e4a8f086583b9cb885f8ac5bac0cb97' }, "2")), h("gb-pagination-button-group-base", { key: 'fcb1fd437ae43d917fb8a09224c2622065c2cbe4', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '07a3bdda808bbaf10616d82ab45dce3a2e739d04' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: 'e3d30b231a4d2e8ce28f3d2801b1df189670ac9d', icon: "false" }, h("p", { key: 'aecbdb75d06f19bc67e71169013eea5260dc0a26' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '85ca03e779cca12831c6a15d35425112ff22fd3f', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: 'a31060e23f11a8ee0c4b2618ad2601fb89e080e2' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '56ba7076fee545137d92e96f780074e0db4f8f8a', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: '46c73ffb41a96d17cebb173d7cb3f8fb4043ae5b' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: '491979e83ad80a6f28ba79bd8e9fb0d591047708', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: '4098849799361bc29cb98cca0bbc06c592c753f6' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: '11f2e8161a4744a0be7438f75dfa1061145c33d1', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_left_aligned' && this.breakpoint === 'mobile' && (h("div", { key: 'fd292c944755e253fca714511866f823485727c7', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '6dd1f05f3b71a0b1f3312af20c9c7c52c13db157', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: 'a91a18aa3ec9b4d30b7499d3185fbc5c0e80b8c5', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: '9391b0375eda9d9c95a4e8e9431a4ebf73ffdbaf' }, "1")), h("gb-pagination-button-group-base", { key: '4ebc6453f960a20bf65b22399b438bb3a60b4f48', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: '18a32ab6b1320b212fe937a89c5f79d5f9a43ac6' }, "2")), h("gb-pagination-button-group-base", { key: '03d5aeca419e6f99e9d9a3f48793da87caf17ea3', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: 'b70ee4b4f8c72a2203f9b0c6a0dafd117695dcbf' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '57d39e373e19c1862302e49442f4614852538dd9', icon: "false" }, h("p", { key: '5e2baeb546b2bb635e0b05a0819d2d536cbd2ebb' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '8f67a6da1cbf210ab14ad4e634632845a0ea919e', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: '846f3836ede77c709fc7b1d3d48d985e361cd31e' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '69cf0c743aa590eb882d345d71a709ecc028e217', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: '1aa6192529200074131a31a58c937541950d035d' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: '0a607871b12fa5547232213bd881e399e3642341', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: 'cb80ef88f930dec6e20d40e14d3c0233ff5168d7' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: 'b9db865a86cd79162aca661166fe7254306d0aa4', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() }))), this.type === 'card_button_group_center_aligned' && this.breakpoint === 'mobile' && (h("div", { key: '654f048bd8a3d4287f169698f9f957d9b4cc4a27', class: "pagination_button_group" }, h("gb-pagination-button-group-base", { key: '23b470aacee93058918d2561f5a01c83b32dd197', icon: "only", "icon-src": "assets/arrow-left-02.svg", onClick: () => this.onPreviousButtonClicked() }), this.internalTotalPages <= 5 && (h(Fragment, null, this.pages.map(page => (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage === page ? 'active' : 'default', onClick: () => (this.currentPage = page) }, h("p", null, page)))))), this.internalTotalPages >= 6 && (h(Fragment, null, h("gb-pagination-button-group-base", { key: '804585e2c2b78b065106248d9c733ff4b3bdfe77', icon: "false", state: this.currentPage === 1 ? 'active' : 'default', onClick: () => (this.currentPage = 1) }, h("p", { key: 'a54701ab5c6357b5db5146567ff3e400ba700e90' }, "1")), h("gb-pagination-button-group-base", { key: '4e19a15a28c287c2ce8977447f57a34b7c575774', icon: "false", state: this.currentPage === 2 ? 'active' : 'default', onClick: () => (this.currentPage = 2) }, h("p", { key: 'b7717d2bca0106a680e2a08c5afe2f1822ea203c' }, "2")), h("gb-pagination-button-group-base", { key: '2916db49c1ba5bb41f7a9ee29b0ece27c636b9b9', icon: "false", state: this.currentPage === 3 ? 'active' : 'default', onClick: () => (this.currentPage = 3) }, h("p", { key: '3ca59b42734a7d9d8f1c6917ad4e251b6f50b132' }, "3")), this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > 3 && this.currentPage <= this.internalTotalPages / 2 ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '329fff81013076d75b9eac906a3e65d38f68ef35', icon: "false" }, h("p", { key: '63c8f9adaca95c1ba68f86c1921e8157aa2665aa' }, "...")), this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages - 2 ? (h("gb-pagination-button-group-base", { icon: "false", state: this.currentPage > this.internalTotalPages / 2 && this.currentPage < this.internalTotalPages ? 'active' : 'default' }, h("p", null, this.currentPage))) : null, h("gb-pagination-button-group-base", { key: '32e507cf9884174c1065aa68d896bec6aa0d3cbe', icon: "false", state: this.currentPage === this.internalTotalPages - 2 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 2) }, h("p", { key: 'fa30d0fe19d4a737f6370e36d790b2021f76c842' }, this.internalTotalPages - 2)), h("gb-pagination-button-group-base", { key: '0b525a414c7081d16acf4e2af1b35151fe6d015d', icon: "false", state: this.currentPage === this.internalTotalPages - 1 ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages - 1) }, h("p", { key: '712fe9e57e4b6f863c8d36daadeb71419557e402' }, this.internalTotalPages - 1)), h("gb-pagination-button-group-base", { key: '2a037e41730152bc27e12021e7942879bc6c1e50', icon: "false", state: this.currentPage === this.internalTotalPages ? 'active' : 'default', onClick: () => (this.currentPage = this.internalTotalPages) }, h("p", { key: '45314af5399062d92492a2bd834704271f2fb11d' }, this.internalTotalPages)))), h("gb-pagination-button-group-base", { key: '42f5c6d8518b6b7fcb5a41f6bf5cda112104246a', icon: "only", "icon-src": "assets/arrow-right-02.svg", onClick: () => this.onNextButtonClicked() })))));
|
|
82
83
|
}
|
|
83
84
|
static get is() { return "gb-pagination"; }
|
|
84
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -186,7 +187,8 @@ export class GbPagination {
|
|
|
186
187
|
"getter": false,
|
|
187
188
|
"setter": false,
|
|
188
189
|
"attribute": "current-page",
|
|
189
|
-
"reflect": false
|
|
190
|
+
"reflect": false,
|
|
191
|
+
"defaultValue": "1"
|
|
190
192
|
},
|
|
191
193
|
"totalPages": {
|
|
192
194
|
"type": "number",
|