globuswebcomponents 2.8.0 → 2.8.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-approval-modal_64.cjs.entry.js +189 -137
- package/dist/cjs/gb-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-carousel-arrow.cjs.entry.js +1 -1
- package/dist/cjs/gb-category-card.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-comment-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-comment.cjs.entry.js +1 -1
- package/dist/cjs/gb-complex-primary-side-bar-item_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-logo.cjs.entry.js +1 -1
- package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-nav-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js +1 -1
- package/dist/cjs/gb-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-prompt-modal.cjs.entry.js +1 -1
- package/dist/cjs/gb-quick-action-card.cjs.entry.js +1 -1
- package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-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-step-base_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/components/gb-btn/gb-btn.css +67 -42
- package/dist/collection/components/gb-btn/gb-btn.js +68 -12
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.js +1 -1
- package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
- package/dist/collection/components/gb-button-group/gb-button-group.js +1 -1
- package/dist/collection/components/gb-button-group-base/gb-button-group-base.js +1 -1
- package/dist/collection/components/gb-card-icon/gb-card-icon.js +1 -1
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
- package/dist/collection/components/gb-category-card/gb-category-card.js +1 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +2 -2
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +1 -1
- package/dist/collection/components/gb-comment/gb-comment.js +1 -1
- package/dist/collection/components/gb-comment-item/gb-comment-item.js +1 -1
- package/dist/collection/components/gb-complex-primary-side-bar-item/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/collection/components/gb-date-picker/gb-date-picker.js +2 -2
- package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-empty-state/gb-empty-state.js +1 -1
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +3 -3
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
- package/dist/collection/components/gb-featured-icon/gb-featured-icon.js +1 -1
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +12 -12
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +6 -6
- package/dist/collection/components/gb-filter-button/gb-filter-button.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js.map +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +1 -1
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
- package/dist/collection/components/gb-illustration/gb-illustration.js +8 -8
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +58 -22
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- 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.css +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +44 -26
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-logo/gb-logo.js +1 -1
- package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
- package/dist/collection/components/gb-metric-card/gb-metric-card.js +1 -1
- package/dist/collection/components/gb-metric-featured-icon/gb-metric-featured-icon.js +1 -1
- package/dist/collection/components/gb-modal-header/gb-modal-header.js +2 -2
- package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +1 -1
- package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +1 -1
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
- package/dist/collection/components/gb-pagination/gb-pagination.js +4 -4
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -1
- package/dist/collection/components/gb-pattern/gb-pattern.js +6 -21
- package/dist/collection/components/gb-pattern/gb-pattern.js.map +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-prompt-modal/gb-prompt-modal.js +1 -1
- package/dist/collection/components/gb-quick-action-card/gb-quick-action-card.js +1 -1
- package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
- 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.css +3 -3
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
- package/dist/collection/components/gb-step-icon-base/gb-step-icon-base.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
- package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.js +1 -1
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-action-panel.js +5 -5
- package/dist/components/gb-approval-modal.js +16 -16
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button-group-base.js +1 -1
- package/dist/components/gb-button-group.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-card-icon.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-category-card.js +1 -1
- package/dist/components/gb-checkbox-base.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +8 -8
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment-item.js +1 -1
- package/dist/components/gb-comment.js +4 -4
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +7 -7
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-empty-state.js +7 -7
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -1
- package/dist/components/gb-export-sub-dropdown-item.js +1 -1
- package/dist/components/gb-export-sub-dropdown.js +1 -1
- package/dist/components/gb-featured-icon.js +1 -1
- package/dist/components/gb-file-type-icon.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +18 -18
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +26 -26
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +1 -1
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +5 -5
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-illustration.js +1 -1
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-logo.js +1 -1
- package/dist/components/gb-mega-input-field-base.js +1 -1
- package/dist/components/gb-metric-card.js +5 -5
- package/dist/components/gb-metric-featured-icon.js +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-modal-header.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +6 -6
- package/dist/components/gb-nav-bar.js +6 -6
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +22 -22
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-pattern.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-prompt-modal.js +6 -6
- package/dist/components/gb-quick-action-card.js +2 -2
- package/dist/components/gb-quick-action-icon.js +2 -2
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-sidebar.js +9 -9
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +3 -3
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-step-base.js +1 -1
- package/dist/components/gb-step-icon-base.js +1 -1
- package/dist/components/gb-stepper-horizontal-icons-centered.js +4 -4
- package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
- package/dist/components/gb-stepper-horizontal-line-with-text.js +4 -4
- package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
- package/dist/components/gb-stepper-vertical-icons-with-text.js +4 -4
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-table-cell.js +1 -1
- package/dist/components/gb-table-header.js +26 -26
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +5 -5
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/{p-rDDbjmUk.js → p-2pZTNei2.js} +4 -4
- package/dist/components/{p-rDDbjmUk.js.map → p-2pZTNei2.js.map} +1 -1
- package/dist/components/{p-BvNyJaf6.js → p-9FvHspeE.js} +8 -8
- package/dist/components/{p-BvNyJaf6.js.map → p-9FvHspeE.js.map} +1 -1
- package/dist/components/{p-Cty4HNJA.js → p-AjEGQ2qL.js} +4 -4
- package/dist/components/{p-Cty4HNJA.js.map → p-AjEGQ2qL.js.map} +1 -1
- package/dist/components/{p-C4Cpc_Qf.js → p-B22NNlLP.js} +4 -4
- package/dist/components/{p-C4Cpc_Qf.js.map → p-B22NNlLP.js.map} +1 -1
- package/dist/components/{p-BCEphI-G.js → p-B53E_gSW.js} +3 -3
- package/dist/components/{p-BCEphI-G.js.map → p-B53E_gSW.js.map} +1 -1
- package/dist/components/{p-BfrEegoP.js → p-BBa4Fn7D.js} +4 -4
- package/dist/components/{p-BfrEegoP.js.map → p-BBa4Fn7D.js.map} +1 -1
- package/dist/components/{p-B_hfnklG.js → p-BHLaov0_.js} +5 -5
- package/dist/components/{p-B_hfnklG.js.map → p-BHLaov0_.js.map} +1 -1
- package/dist/components/{p-Dis2gesX.js → p-BIHVkNE4.js} +4 -4
- package/dist/components/{p-Dis2gesX.js.map → p-BIHVkNE4.js.map} +1 -1
- package/dist/components/{p-BdkzcEYp.js → p-BMkAeK5Z.js} +5 -5
- package/dist/components/{p-BdkzcEYp.js.map → p-BMkAeK5Z.js.map} +1 -1
- package/dist/components/{p-BVxdO5bi.js → p-BQduwH1K.js} +12 -12
- package/dist/components/{p-BVxdO5bi.js.map → p-BQduwH1K.js.map} +1 -1
- package/dist/components/{p-D7Goq_Jj.js → p-BQeaURIB.js} +27 -12
- package/dist/components/p-BQeaURIB.js.map +1 -0
- package/dist/components/{p-D3ZfP7Bl.js → p-BaWXQ__r.js} +4 -4
- package/dist/components/{p-D3ZfP7Bl.js.map → p-BaWXQ__r.js.map} +1 -1
- package/dist/components/{p-DJwuWK3S.js → p-BcuKykSc.js} +3 -3
- package/dist/components/{p-DJwuWK3S.js.map → p-BcuKykSc.js.map} +1 -1
- package/dist/components/{p-BUo31bD8.js → p-BeATbKS7.js} +4 -4
- package/dist/components/p-BeATbKS7.js.map +1 -0
- package/dist/components/{p-K_KbMA_t.js → p-Bjw2gC89.js} +4 -4
- package/dist/components/{p-K_KbMA_t.js.map → p-Bjw2gC89.js.map} +1 -1
- package/dist/components/{p-RvoV_nZA.js → p-BnXOyD9E.js} +5 -5
- package/dist/components/{p-RvoV_nZA.js.map → p-BnXOyD9E.js.map} +1 -1
- package/dist/components/{p-DEONqII4.js → p-BnyM5qjj.js} +8 -8
- package/dist/components/{p-DEONqII4.js.map → p-BnyM5qjj.js.map} +1 -1
- package/dist/components/{p-MvgIuDtb.js → p-C-jvyrl1.js} +7 -7
- package/dist/components/{p-MvgIuDtb.js.map → p-C-jvyrl1.js.map} +1 -1
- package/dist/components/{p-DMGIfEmr.js → p-C5ya7ETC.js} +3 -3
- package/dist/components/{p-DMGIfEmr.js.map → p-C5ya7ETC.js.map} +1 -1
- package/dist/components/{p-7b8NVGi5.js → p-C6bmJSrL.js} +6 -6
- package/dist/components/p-C6bmJSrL.js.map +1 -0
- package/dist/components/{p-BoD3uP8t.js → p-C6mRhuUf.js} +3 -3
- package/dist/components/{p-BoD3uP8t.js.map → p-C6mRhuUf.js.map} +1 -1
- package/dist/components/{p-CkUxkbfV.js → p-C7UZjyWa.js} +6 -6
- package/dist/components/{p-CkUxkbfV.js.map → p-C7UZjyWa.js.map} +1 -1
- package/dist/components/{p-B0iHx5Zd.js → p-CBLQlDC-.js} +3 -3
- package/dist/components/{p-B0iHx5Zd.js.map → p-CBLQlDC-.js.map} +1 -1
- package/dist/components/{p-Df2QCCfM.js → p-CNNymMFJ.js} +14 -14
- package/dist/components/{p-Df2QCCfM.js.map → p-CNNymMFJ.js.map} +1 -1
- package/dist/components/{p-BDzhIFzI.js → p-CRosXE9B.js} +74 -42
- package/dist/components/p-CRosXE9B.js.map +1 -0
- package/dist/components/{p-BtPAU7BK.js → p-CT6fjdgY.js} +3 -3
- package/dist/components/{p-BtPAU7BK.js.map → p-CT6fjdgY.js.map} +1 -1
- package/dist/components/{p-BP4CkbOn.js → p-CTupKoNZ.js} +3 -3
- package/dist/components/{p-BP4CkbOn.js.map → p-CTupKoNZ.js.map} +1 -1
- package/dist/components/{p-F7syaoGH.js → p-CV6g9soz.js} +8 -8
- package/dist/components/{p-F7syaoGH.js.map → p-CV6g9soz.js.map} +1 -1
- package/dist/components/{p-Dpxu4w8g.js → p-CVc4qPGI.js} +4 -4
- package/dist/components/{p-Dpxu4w8g.js.map → p-CVc4qPGI.js.map} +1 -1
- package/dist/components/{p-Y55sgqoa.js → p-CYpMSzqG.js} +3 -3
- package/dist/components/{p-Y55sgqoa.js.map → p-CYpMSzqG.js.map} +1 -1
- package/dist/components/{p-B8cUepOB.js → p-Ca4eFkIg.js} +3 -3
- package/dist/components/{p-B8cUepOB.js.map → p-Ca4eFkIg.js.map} +1 -1
- package/dist/components/{p-BFhVkLZH.js → p-CbQeOmOy.js} +5 -5
- package/dist/components/{p-BFhVkLZH.js.map → p-CbQeOmOy.js.map} +1 -1
- package/dist/components/{p-8nTG8ZBW.js → p-CbzrQ01V.js} +4 -4
- package/dist/components/{p-8nTG8ZBW.js.map → p-CbzrQ01V.js.map} +1 -1
- package/dist/components/{p-DhFAcOPC.js → p-ClWO8gQx.js} +6 -6
- package/dist/components/{p-DhFAcOPC.js.map → p-ClWO8gQx.js.map} +1 -1
- package/dist/components/{p-BdBKoSIj.js → p-CouV5zM8.js} +8 -8
- package/dist/components/{p-BdBKoSIj.js.map → p-CouV5zM8.js.map} +1 -1
- package/dist/components/{p-BmqiU49c.js → p-CwBrH_Gy.js} +6 -6
- package/dist/components/{p-BmqiU49c.js.map → p-CwBrH_Gy.js.map} +1 -1
- package/dist/components/{p--dU-wJt0.js → p-CwQUW5_4.js} +4 -4
- package/dist/components/{p--dU-wJt0.js.map → p-CwQUW5_4.js.map} +1 -1
- package/dist/components/{p-CtSUSXFx.js → p-Cwxr0uHc.js} +3 -3
- package/dist/components/{p-CtSUSXFx.js.map → p-Cwxr0uHc.js.map} +1 -1
- package/dist/components/{p-y6vSOYFd.js → p-CxkzPuqu.js} +3 -3
- package/dist/components/{p-y6vSOYFd.js.map → p-CxkzPuqu.js.map} +1 -1
- package/dist/components/{p-CekePqMs.js → p-Cz5H-pJQ.js} +13 -13
- package/dist/components/{p-CekePqMs.js.map → p-Cz5H-pJQ.js.map} +1 -1
- package/dist/components/{p-Cmi3VtOr.js → p-D2gq0J26.js} +4 -4
- package/dist/components/{p-Cmi3VtOr.js.map → p-D2gq0J26.js.map} +1 -1
- package/dist/components/{p-BBL4HSa6.js → p-D5KQeC85.js} +3 -3
- package/dist/components/{p-BBL4HSa6.js.map → p-D5KQeC85.js.map} +1 -1
- package/dist/components/{p-BvHr8QZ_.js → p-D5VakMaB.js} +6 -6
- package/dist/components/{p-BvHr8QZ_.js.map → p-D5VakMaB.js.map} +1 -1
- package/dist/components/{p-C_EwzcsK.js → p-DC9eRciK.js} +8 -8
- package/dist/components/{p-C_EwzcsK.js.map → p-DC9eRciK.js.map} +1 -1
- package/dist/components/{p-BjAXEyGM.js → p-DCJdoNK6.js} +4 -4
- package/dist/components/{p-BjAXEyGM.js.map → p-DCJdoNK6.js.map} +1 -1
- package/dist/components/{p-M0fu6r6F.js → p-DI5VmfPJ.js} +10 -10
- package/dist/components/{p-M0fu6r6F.js.map → p-DI5VmfPJ.js.map} +1 -1
- package/dist/components/{p-Bx5Gf4JG.js → p-DLYIM3pP.js} +4 -4
- package/dist/components/p-DLYIM3pP.js.map +1 -0
- package/dist/components/{p-DEhgJgpf.js → p-DW4pKXr4.js} +3 -3
- package/dist/components/{p-DEhgJgpf.js.map → p-DW4pKXr4.js.map} +1 -1
- package/dist/components/{p-CoP-6_dB.js → p-DYUluAx6.js} +3 -3
- package/dist/components/{p-CoP-6_dB.js.map → p-DYUluAx6.js.map} +1 -1
- package/dist/components/{p-cn314k4t.js → p-DZnKLe8d.js} +3 -3
- package/dist/components/{p-cn314k4t.js.map → p-DZnKLe8d.js.map} +1 -1
- package/dist/components/{p-B0w7aWaS.js → p-Db-mzjAD.js} +8 -8
- package/dist/components/{p-B0w7aWaS.js.map → p-Db-mzjAD.js.map} +1 -1
- package/dist/components/{p-D9VfqUoF.js → p-Db9T6018.js} +10 -10
- package/dist/components/{p-D9VfqUoF.js.map → p-Db9T6018.js.map} +1 -1
- package/dist/components/{p-Bm4cCBH-.js → p-DfQWKCbs.js} +3 -3
- package/dist/components/{p-Bm4cCBH-.js.map → p-DfQWKCbs.js.map} +1 -1
- package/dist/components/{p-DqF4Su5n.js → p-Q19MNh6U.js} +4 -4
- package/dist/components/{p-DqF4Su5n.js.map → p-Q19MNh6U.js.map} +1 -1
- package/dist/components/{p-CREl9pSE.js → p-R_kUzXjS.js} +3 -3
- package/dist/components/{p-CREl9pSE.js.map → p-R_kUzXjS.js.map} +1 -1
- package/dist/components/{p-CpWoXsw_.js → p-TWikQ7cn.js} +3 -3
- package/dist/components/{p-CpWoXsw_.js.map → p-TWikQ7cn.js.map} +1 -1
- package/dist/components/{p-XPVJW4T3.js → p-WIRPmweM.js} +4 -4
- package/dist/components/{p-XPVJW4T3.js.map → p-WIRPmweM.js.map} +1 -1
- package/dist/components/{p-D42OLbE-.js → p-XX_ozutB.js} +5 -5
- package/dist/components/{p-D42OLbE-.js.map → p-XX_ozutB.js.map} +1 -1
- package/dist/components/{p-Dw8FSBWT.js → p-ZcCwFehb.js} +3 -3
- package/dist/components/{p-Dw8FSBWT.js.map → p-ZcCwFehb.js.map} +1 -1
- package/dist/components/{p-Bjujd4PK.js → p-ZqHAkmEL.js} +8 -8
- package/dist/components/{p-Bjujd4PK.js.map → p-ZqHAkmEL.js.map} +1 -1
- package/dist/components/{p-BzvNRMz5.js → p-aeAn9gEA.js} +3 -3
- package/dist/components/{p-BzvNRMz5.js.map → p-aeAn9gEA.js.map} +1 -1
- package/dist/components/{p-DbF4gg5m.js → p-brGtAur-.js} +58 -40
- package/dist/components/p-brGtAur-.js.map +1 -0
- package/dist/components/{p-2s5kIkzc.js → p-fM3XegFU.js} +3 -3
- package/dist/components/{p-2s5kIkzc.js.map → p-fM3XegFU.js.map} +1 -1
- package/dist/components/{p-wA_HGXx_.js → p-t9X9zw0V.js} +3 -3
- package/dist/components/{p-wA_HGXx_.js.map → p-t9X9zw0V.js.map} +1 -1
- package/dist/components/{p-DdtrEGlS.js → p-uyKTZeg_.js} +4 -4
- package/dist/components/{p-DdtrEGlS.js.map → p-uyKTZeg_.js.map} +1 -1
- package/dist/components/test-input-tag.js +11 -11
- package/dist/docs.json +152 -43
- package/dist/esm/gb-approval-modal_64.entry.js +189 -137
- package/dist/esm/gb-card-icon.entry.js +1 -1
- package/dist/esm/gb-carousel-arrow.entry.js +1 -1
- package/dist/esm/gb-category-card.entry.js +1 -1
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-comment-item.entry.js +1 -1
- package/dist/esm/gb-comment.entry.js +1 -1
- package/dist/esm/gb-complex-primary-side-bar-item_2.entry.js +2 -2
- package/dist/esm/gb-detail-cell.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +12 -12
- package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
- package/dist/esm/gb-logo.entry.js +1 -1
- package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
- package/dist/esm/gb-nav-bar-item.entry.js +1 -1
- package/dist/esm/gb-nav-bar-sidemenu.entry.js +1 -1
- package/dist/esm/gb-nav-bar.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-prompt-modal.entry.js +1 -1
- package/dist/esm/gb-quick-action-card.entry.js +1 -1
- package/dist/esm/gb-quick-action-icon.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-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-step-base_2.entry.js +2 -2
- package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
- package/dist/esm/gb-table-cell.entry.js +1 -1
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-vertical-tabs.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-60c6bc59.entry.js → p-0aca01aa.entry.js} +2 -2
- package/dist/globuscomponents/p-0fa4e90b.entry.js +2 -0
- package/dist/globuscomponents/{p-6ba2c48a.entry.js → p-14a14cf7.entry.js} +2 -2
- package/dist/globuscomponents/{p-420be4c2.entry.js → p-1703f77f.entry.js} +2 -2
- package/dist/globuscomponents/{p-836996b2.entry.js → p-20fff5d8.entry.js} +2 -2
- package/dist/globuscomponents/p-2d348616.entry.js +2 -0
- package/dist/globuscomponents/{p-0b17c398.entry.js → p-3665eb5a.entry.js} +2 -2
- package/dist/globuscomponents/{p-229c256a.entry.js → p-372d8c17.entry.js} +2 -2
- package/dist/globuscomponents/{p-7ab8a012.entry.js → p-3b9e055e.entry.js} +2 -2
- package/dist/globuscomponents/{p-a69fbf27.entry.js → p-450e1ee6.entry.js} +2 -2
- package/dist/globuscomponents/{p-dc7cd869.entry.js → p-47a16997.entry.js} +2 -2
- package/dist/globuscomponents/{p-e8ce7bbf.entry.js → p-4f4c1805.entry.js} +2 -2
- package/dist/globuscomponents/{p-cf6384d9.entry.js → p-51cd3859.entry.js} +2 -2
- package/dist/globuscomponents/{p-24129640.entry.js → p-54c68582.entry.js} +2 -2
- package/dist/globuscomponents/{p-f9d1e9c6.entry.js → p-57a403e7.entry.js} +2 -2
- package/dist/globuscomponents/p-5a96576d.entry.js +2 -0
- package/dist/globuscomponents/{p-75771ebb.entry.js → p-5e62edcf.entry.js} +2 -2
- package/dist/globuscomponents/{p-ecb5671d.entry.js → p-5ed1035a.entry.js} +2 -2
- package/dist/globuscomponents/{p-ccda9df1.entry.js → p-787066a5.entry.js} +2 -2
- package/dist/globuscomponents/{p-73fa574e.entry.js → p-7899b855.entry.js} +2 -2
- package/dist/globuscomponents/p-7adb464b.entry.js +2 -0
- package/dist/globuscomponents/{p-945c0345.entry.js → p-85d1d2d5.entry.js} +2 -2
- package/dist/globuscomponents/{p-3bed13ce.entry.js → p-9aca53ca.entry.js} +2 -2
- package/dist/globuscomponents/{p-8862f86d.entry.js → p-a0c00b44.entry.js} +2 -2
- package/dist/globuscomponents/{p-2de33a89.entry.js → p-a3fe950e.entry.js} +2 -2
- package/dist/globuscomponents/{p-0ace4a5a.entry.js → p-aac97719.entry.js} +2 -2
- package/dist/globuscomponents/{p-1a9395bc.entry.js → p-ac3fd31f.entry.js} +2 -2
- package/dist/globuscomponents/{p-69088311.entry.js → p-b125590d.entry.js} +2 -2
- package/dist/globuscomponents/{p-6d558e90.entry.js → p-b68c5922.entry.js} +2 -2
- package/dist/globuscomponents/{p-08b864ad.entry.js → p-b6acb1cb.entry.js} +2 -2
- package/dist/globuscomponents/{p-bb449f8c.entry.js → p-b91dac9e.entry.js} +2 -2
- package/dist/globuscomponents/{p-4a1b0fff.entry.js → p-baa375e0.entry.js} +2 -2
- package/dist/globuscomponents/{p-7cf6ad93.entry.js → p-bbe2e087.entry.js} +2 -2
- package/dist/globuscomponents/p-bbe2e087.entry.js.map +1 -0
- package/dist/globuscomponents/{p-88c62216.entry.js → p-ca85617a.entry.js} +2 -2
- package/dist/globuscomponents/{p-7142782b.entry.js → p-cc2e644f.entry.js} +2 -2
- package/dist/globuscomponents/{p-854af29b.entry.js → p-cedaf7eb.entry.js} +2 -2
- package/dist/globuscomponents/{p-9ccb1848.entry.js → p-e7fd0d37.entry.js} +2 -2
- package/dist/globuscomponents/{p-cda2eed2.entry.js → p-fc84ed29.entry.js} +2 -2
- package/dist/types/components/gb-btn/gb-btn.d.ts +7 -2
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +1 -0
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +2 -2
- package/dist/types/components.d.ts +41 -15
- package/package.json +2 -2
- package/dist/components/p-7b8NVGi5.js.map +0 -1
- package/dist/components/p-BDzhIFzI.js.map +0 -1
- package/dist/components/p-BUo31bD8.js.map +0 -1
- package/dist/components/p-Bx5Gf4JG.js.map +0 -1
- package/dist/components/p-D7Goq_Jj.js.map +0 -1
- package/dist/components/p-DbF4gg5m.js.map +0 -1
- package/dist/globuscomponents/p-0912d7b9.entry.js +0 -2
- package/dist/globuscomponents/p-16fb165c.entry.js +0 -2
- package/dist/globuscomponents/p-2df226f5.entry.js +0 -2
- package/dist/globuscomponents/p-71023a8e.entry.js +0 -2
- package/dist/globuscomponents/p-7cf6ad93.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-60c6bc59.entry.js.map → p-0aca01aa.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-71023a8e.entry.js.map → p-0fa4e90b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6ba2c48a.entry.js.map → p-14a14cf7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-420be4c2.entry.js.map → p-1703f77f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-836996b2.entry.js.map → p-20fff5d8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0912d7b9.entry.js.map → p-2d348616.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0b17c398.entry.js.map → p-3665eb5a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-229c256a.entry.js.map → p-372d8c17.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7ab8a012.entry.js.map → p-3b9e055e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a69fbf27.entry.js.map → p-450e1ee6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-dc7cd869.entry.js.map → p-47a16997.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e8ce7bbf.entry.js.map → p-4f4c1805.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cf6384d9.entry.js.map → p-51cd3859.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-24129640.entry.js.map → p-54c68582.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f9d1e9c6.entry.js.map → p-57a403e7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-16fb165c.entry.js.map → p-5a96576d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-75771ebb.entry.js.map → p-5e62edcf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ecb5671d.entry.js.map → p-5ed1035a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ccda9df1.entry.js.map → p-787066a5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-73fa574e.entry.js.map → p-7899b855.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2df226f5.entry.js.map → p-7adb464b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-945c0345.entry.js.map → p-85d1d2d5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3bed13ce.entry.js.map → p-9aca53ca.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8862f86d.entry.js.map → p-a0c00b44.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2de33a89.entry.js.map → p-a3fe950e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0ace4a5a.entry.js.map → p-aac97719.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1a9395bc.entry.js.map → p-ac3fd31f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-69088311.entry.js.map → p-b125590d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6d558e90.entry.js.map → p-b68c5922.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-08b864ad.entry.js.map → p-b6acb1cb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-bb449f8c.entry.js.map → p-b91dac9e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4a1b0fff.entry.js.map → p-baa375e0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-88c62216.entry.js.map → p-ca85617a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7142782b.entry.js.map → p-cc2e644f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-854af29b.entry.js.map → p-cedaf7eb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9ccb1848.entry.js.map → p-e7fd0d37.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cda2eed2.entry.js.map → p-fc84ed29.entry.js.map} +0 -0
|
@@ -16,7 +16,14 @@ export class GbInputField {
|
|
|
16
16
|
this.showCountryIcon = false;
|
|
17
17
|
this.enableCancelButtonFunction = false;
|
|
18
18
|
this.options = [
|
|
19
|
-
// '+
|
|
19
|
+
// { objectName: '+296', objectValue: 'john.doe@example.com' },
|
|
20
|
+
// { objectName: '+297', objectValue: 'john.doe@example.com' },
|
|
21
|
+
// { objectName: '+298', objectValue: 'john.doe@example.com' },
|
|
22
|
+
// { objectName: '+299', objectValue: 'john.doe@example.com' },
|
|
23
|
+
// '+234',
|
|
24
|
+
// '+124',
|
|
25
|
+
// 57,
|
|
26
|
+
// 43,
|
|
20
27
|
];
|
|
21
28
|
this.isReadOnly = false;
|
|
22
29
|
this.results = [
|
|
@@ -64,10 +71,7 @@ export class GbInputField {
|
|
|
64
71
|
return;
|
|
65
72
|
const key = e.key;
|
|
66
73
|
// Allow navigation, editing and common shortcuts
|
|
67
|
-
const allowed = [
|
|
68
|
-
'Backspace', 'Tab', 'Enter', 'Escape', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown',
|
|
69
|
-
'Delete', 'Home', 'End'
|
|
70
|
-
];
|
|
74
|
+
const allowed = ['Backspace', 'Tab', 'Enter', 'Escape', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Delete', 'Home', 'End'];
|
|
71
75
|
if (allowed.includes(key) || e.ctrlKey || e.metaKey)
|
|
72
76
|
return;
|
|
73
77
|
// Allow digits and a single dot (.) for decimals
|
|
@@ -311,9 +315,18 @@ export class GbInputField {
|
|
|
311
315
|
this.isPasswordVisible = !this.isPasswordVisible;
|
|
312
316
|
}
|
|
313
317
|
optionsChanged(newOptions) {
|
|
318
|
+
if (!newOptions || newOptions.length === 0)
|
|
319
|
+
return;
|
|
320
|
+
if (this.selectedItem)
|
|
321
|
+
return;
|
|
314
322
|
// Update selectedItem when options are loaded or changed
|
|
315
323
|
if (newOptions.length > 0 && !this.selectedItem) {
|
|
316
|
-
|
|
324
|
+
if (typeof newOptions[0] === 'object') {
|
|
325
|
+
this.selectedItem = newOptions[0].objectName;
|
|
326
|
+
}
|
|
327
|
+
else {
|
|
328
|
+
this.selectedItem = newOptions[0];
|
|
329
|
+
}
|
|
317
330
|
}
|
|
318
331
|
}
|
|
319
332
|
onLoadingChanged(newLoading) {
|
|
@@ -353,7 +366,6 @@ export class GbInputField {
|
|
|
353
366
|
// setTimeout(() => {
|
|
354
367
|
// this.loading = true;
|
|
355
368
|
// }, 3000);
|
|
356
|
-
this.selectedItem = this.options[0];
|
|
357
369
|
this.loadIcon(this.iconSwap);
|
|
358
370
|
if (this.type !== 'tags') {
|
|
359
371
|
this.selectedItem = null; // For single selection types
|
|
@@ -364,12 +376,18 @@ export class GbInputField {
|
|
|
364
376
|
this.updateSelectedItems(this.value);
|
|
365
377
|
// console.log('Selected Items:', this.selectedItems);
|
|
366
378
|
// console.log('Unselected Items:', this.unselectedItems);
|
|
367
|
-
}
|
|
368
|
-
componentDidLoad() {
|
|
369
379
|
if (this.options && this.options.length > 0) {
|
|
370
|
-
|
|
371
|
-
|
|
380
|
+
if (typeof this.options[0] === 'object') {
|
|
381
|
+
this.selectedItem = this.options[0].objectName;
|
|
382
|
+
this.optionChanged.emit(this.selectedItem);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
this.selectedItem = this.options[0];
|
|
386
|
+
this.optionChanged.emit(this.selectedItem);
|
|
387
|
+
}
|
|
372
388
|
}
|
|
389
|
+
}
|
|
390
|
+
componentDidLoad() {
|
|
373
391
|
const mainTextSlot = this.el.querySelector('[slot="tooltip_label"]');
|
|
374
392
|
const supportingTextSlot = this.el.querySelector('[slot="tooltip_supporting_text"]');
|
|
375
393
|
const textSlot = this.el.querySelector('[slot="text"]');
|
|
@@ -408,23 +426,23 @@ export class GbInputField {
|
|
|
408
426
|
// this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
|
|
409
427
|
// }
|
|
410
428
|
render() {
|
|
411
|
-
return (h("div", { key: '
|
|
412
|
-
h("div", { key: '
|
|
429
|
+
return (h("div", { key: '13eb14fe1bd555d186332c5d45c5090555c8565b', class: `input_container` }, h("div", { key: 'd19ec537711fa5f97c6e8a9b8594829d2d6221e1', class: `input_with_label` }, this.showLabel && (h(Fragment, null, this.formatLabel ? (h("p", { class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())) : (h("p", { class: "label text-sm-medium" }, this.label)))), this.type === 'default' && [
|
|
430
|
+
h("div", { key: 'c559d11c3ed06991a98705efa7ac8331ddb85bb9', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '07a3f069283742298b2d424f0e69ba9a4514153d', class: `content text-md-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e), value: this.value }), h(Fragment, null, this.loading && h("div", { key: '095c9e9a574d0d967a2e6599fb2cb751df31b1b4', class: "loader" }), this.showValidation && (h("svg", { key: 'f5efdb0d9faec162c3fb12605c043ceca3b5944f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ebc2a45c6c99315031696fafe9578bd29378da79', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '2cd67eb1bbecc3440cd8097d8bc02db880390f28', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
413
431
|
], this.type === 'icon_leading' && [
|
|
414
|
-
h("div", { key: '
|
|
432
|
+
h("div", { key: '84d879e93fa75ef5689aca29aad43a067011b038', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '64b8002f1da4fbd0c470bbda870c9751add26e95', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '799e4058aae101275d77dadbe607011ab9518bca', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el), onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), h(Fragment, null, this.loading && h("div", { key: '30c401afc328279a8d3e411c6ef78b1f48b6fc58', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '1b212a9591f2f46f516f826d76fb59927cd7e191', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7bbaa508c533f213b4f799da0282951245448340', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'b2c7f0a6899da4404ccdd87c7a3ceb7cae671ea8', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: 'cd77c267d7e13eb94cc8d382bb342443961dd13f', size: this.size, hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput(), class: `input_close_button ${this.size}` })))),
|
|
415
433
|
], this.type === 'leading_dropdown' && [
|
|
416
|
-
h("div", { key: '
|
|
417
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
434
|
+
h("div", { key: 'fc87d17b0593e0d52968e38037f44603c929bfe0', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a3296dbc8ec2b9d3d1f1049fa0cdf8dcd39c9e9e', class: `leading_dropdown_dropdown ${this.state}`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: '37c49106b91e22465981a095aaeb9ed2781f54f4', class: `country_icon` }, h("img", { key: '32841955e18f4f4603c31576168fcd7d9902a9ee', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '772aaaf034c3de7fa5e1abe599998cc0b4ffdef8', class: `dropdown_text` }, h("p", { key: '2231897dc26fb6cf6129a68ed8e2e4074506f90b', class: `text-${this.size}-regular`, style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'a40079698ee0c569d8797a7a2a8781aeddbf4ec0', class: `dropdown_arrow` }, h("svg", { key: '15b6e68cd3d95d93d9cba2f5a15ae5eac93d0e56', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd01a9c52e1ad324fa9df2681d100d8ce2ba0a808', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '536f2dccd421ad30a86ef7879eff14e081235994', class: `leading_dropdown_text_input` }, h("input", { key: '544497e0ec6c42dece4f3b26ee2834d9864a423e', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: 'df8f6877c7bdf02bffd569f905fe024e45ed5095', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '944aa3f0e43d5f29f0a57077ac4334ad3042a2a1', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '07803c0ac19e2e2234b483b4c56b3c3c8ec1d8bd', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '85ece7a3d7054b6c735e75c6ecfd47cfa2178e28', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
435
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: '6f818311dfac99b22cabf300fe1f0db18c583c34', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h(Fragment, null, typeof option === 'object' ? (h("gb-input-dropdown-menu-item", { type: "default", state: this.options.length === 1 ? StateEnum.Disabled : StateEnum.Default, selected: this.isItemSelected(option.objectName), onClick: () => this.handleItemSelect(option.objectName) }, h("p", { slot: "name" }, option.objectName))) : (h("gb-input-dropdown-menu-item", { type: "default", state: this.options.length === 1 ? StateEnum.Disabled : StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))))),
|
|
418
436
|
], this.type === 'trailing_dropdown' && [
|
|
419
|
-
h("div", { key: '
|
|
420
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
437
|
+
h("div", { key: 'ad8345a8044330b6ac8f155ec4990d8da59844ed', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6521dd57a72a965a1a313d6eb1394c1d9d09ea71', class: `trailing_dropdown_content` }, h("div", { key: '3cbaccd005dce6c6d1c222728478acea9e135456', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '717d9408dffc5a95fb492ff74ec8a4a2e6b4b87b', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: '2a4754e0b9e9e07cf71589083a997346ac707935', class: "loader" }), this.showHelpIcon && (h("div", { key: 'deb2c4f5878805a7a6a58ca72d6706d25f8e7105', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '5a93e3d73c2479f3583e2bda0be961089e901e93', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '305f674ab814dd4f8483d5ed617564f5da8440e8', class: `dropdown_text` }, h("p", { key: 'a23d171f3a9aa10fd75b83145cfd2c99b0e43d70', class: `text-${this.size}-regular`, style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '040300d7303d0850dc5064f4ac1f3cbf14b4a795', class: `dropdown_arrow` }, h("svg", { key: '55616f4197bd7a9268098e4e990d0346ed47e7fa', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ab7ddeeb0c229aafb68e6613bbf46377a97c1347', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
|
|
438
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: '6155f03e1072cfedfdd5384db13af5b2ccd5e790', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h(Fragment, null, typeof option === 'object' ? (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option.objectName), onClick: () => this.handleItemSelect(option.objectName) }, h("p", { slot: "name" }, option.objectName))) : (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))))),
|
|
421
439
|
], this.type === 'leading_text' && [
|
|
422
|
-
h("div", { key: '
|
|
423
|
-
], this.type === 'payment_input' && (h("div", { key: '167f50182387862dd233035499b526504872d752', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'c4e034c6719978c6a4bd8f741275fa232c7aa46d', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'f4ac2d2aabcafa0e762e8d55f05c4e943eb63eb4', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'dbcb97714fcca1146dd8f1538290632dc4ce60ad', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '5c32aa44370540fc2d16661241f512b0087c7c38', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '0b0e14a69d45536c1472139268e97aca84cacf99', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), h(Fragment, null, this.loading && h("div", { key: 'b9bc4d45ad37f466ad4012a76a955ea53bad7947', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: 'c2450eaf890177f615fae53c33e48a1749741376', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f84977aacb20acb240dab734fc4131dd90146fdf', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'c195d0d1179878d00b0798b886cecc81d4bb52d4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '28c7a43ad699f718a39967faa4e62395508ee7cc', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8bb14e30589b62cf5dd8996266e597b67f81e326', class: `trailing_button_text_input ${this.size}` }, h("input", { key: 'e0193a2e72791ebaa88c9070b2b45dc62aaad2bf', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: 'd3121c28b0432ac1e15efdacf9e2112ab9e4eda0', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: 'f2ffd6424c50a498a80daf48d8467419d4d5175e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '605f686d813689229f2771b69077d5b96c86a19a', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'b7397140ea9c922f8f56aa9734606ce5cd636c82', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.loading && h("div", { key: '9bc325a018d00b22f0d59b5932c9280c63d2c026', class: "loader" }), h("gb-button", { key: '2f51ca34cc9cc00d14287c95cfcb4b2babd3457a', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": this.iconSwap, onClick: () => this.onButtonClicked() }))), this.type === 'password' && (h("div", { key: 'd7eadc4f0a4d5bdbd3ca27c2f32b8b3d41667594', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ec54bc7f3d89f81bb736f170033ddc2743440811', class: `password_content` }, h("input", { key: 'ad2e40be2ca6beb35da996779b23a97b892dfc6f', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), onFocus: () => this.handleInputFocus() }), this.loading && h("div", { key: 'f82326c95c239bd333b314e374d4228f706e4280', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '1176ee1547e495d54a348f4815810b3cf2c59c3c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f25dddf2050fefddec7c804c0fa2968020e3c752', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'e3fd8f41ec0bb6d21b223cc0e378f2b583f6cc13', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'fa74ff146bd3e84575464c989d8f3c8a42b97013', class: `dropdown` }, h("gb-password-button", { key: '671048be9d5dde49d8b33df0a06a03c5b9584e65', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '9bb6e7eddc7abe2f80c581e47613ec4bd5f9f748', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e12ae91afd4461b6fb6acd916c1bd63989e4a78a', class: `password_icon_leading_content` }, h("svg", { key: 'fb253798019040a77f9fcdc176c02bb77fb8217f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ebb2ab6d231e299b291f1e4b24d58988c9a95c1a', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "var(--color-icon, #4B5565)" })), h("input", { key: '3cfe0c0076f6658eb658e59750fd3e15e42537b7', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.loading && h("div", { key: 'f389209d16577fa1fcb0d320e25776cff118d253', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: 'de398728b184c95d99683781cc00d16f3eabe60c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f1931f528c89f28f99cdb534bc9fe25018f43b8b', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '56de3ac3cd9b8971493ec0f22b433106efcd06b1', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '009fcbdfa67e9b1c5485066f1a2b6072c3cf4f6d', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
424
|
-
h("div", { key: '
|
|
425
|
-
], this.type === 'tags' && (h("div", { key: '
|
|
440
|
+
h("div", { key: '07d0786ca32487b491e7cd2f57063842fb648c12', class: "leading_text_input" }, h("div", { key: 'a299847d44c4fe39a81f3998ff47b7ea03274556', class: `add_on` }, h("slot", { key: 'e6899addc230a2e9e163d88afe3353bc7bbd5da3', name: "text" })), h("div", { key: 'ea4b1e98ca425d8eac986a59b871c20ccd58c671', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '3f956c335227818c75887ac54a8848b96e1cbab1', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: '85dc8aae13c41aeaa5da56315078a275ba449c8f', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '854bf4131a99179eb373e9cb9be792ac420be05e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f5295959053d51f4e4e8360daa9bd152f5153658', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '8c2acfddb8ff9062d4a09b1b4a100e5b7ae9349c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
441
|
+
], this.type === 'payment_input' && (h("div", { key: 'a4755e6d5681b5931fef4027582f7f07605b6c1a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '3208a7fdc0214b51d5e1f5fa8f708cbc219d9f96', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '6b48d7b503572f49a1c836fc5bce687b09260aee', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '62c524a743bcb45a73233a4a767192d86f899f8d', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '7d21f3fa831075c75c6002d1853bb504e72e96ac', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '87ddedbdffdf2bf362b24de9cb00d22c15033ad8', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), h(Fragment, null, this.loading && h("div", { key: '8a12e2482f9db02f9a26352f669dbd0008f06672', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: 'abac6b551484d924e3eae1d76707adeb6163e846', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8699f203bed5d075e22499b075712faff890ca1a', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'cac5fcf2c81199ab4cea8d81d1aa07665727a457', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '7b3ec6d9d4ce0a0291fd8a7ea8d64c24bdbb319c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bcce90b9d06cc50f0fb30b239b6f9a48a97fd291', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '7aa80e9f0cb2ca753dffc91593b97b6b410cc414', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: '93173e39f09926d085961ac22a9f41ad6e0058bd', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: 'd0a9b58d4a4260089c45c4fff7c09db74aa5995f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1f79bb0cbcbce5768a46162c900797fa3c24a3c5', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '0cf098852998b2d70b8e8f63bf1be2ccd86a14b0', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.loading && h("div", { key: '7f38790662bcb329ff02f1f67607b7a4ca7b1716', class: "loader" }), h("gb-button", { key: 'dd75e7403cbe7c9644e7193fd8026b1dcaf479b8', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": this.iconSwap, onClick: () => this.onButtonClicked() }))), this.type === 'password' && (h("div", { key: 'bd91f3c00125c8b09aa0fcdbdc3733504af95883', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'cb204936e9cf6f08174324be92c8896bcc97ca95', class: `password_content` }, h("input", { key: '5979907622ee2f453f37fd433f53b560fd40aa5d', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), onFocus: () => this.handleInputFocus() }), this.loading && h("div", { key: '87d55b9bd8eb937b90ed70103d6cd206488d277d', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '5044a9a33cc74c67ad640ac98e953577a55d73d0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '80a73fe1ec7649f8d750eae5952d5eb6997e9803', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: 'e8a06927c8f6219fc5d5b565b71f4af91857ae5c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'd3d2269d6ea152b1b7897832e77466c94b916359', class: `dropdown` }, h("gb-password-button", { key: '472cf5111a57186fd77c8f846dd245ebdcea8b63', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '4c9b4bd42a43608e09cce62715404788e0ffea84', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'edb9df45edf51d7851b56f7a454be55b460e7b5c', class: `password_icon_leading_content` }, h("svg", { key: 'f80d737998af597f8765f5d0ed2b379961b6c154', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7aa9e1c33abebb500d29ed070d947eb865baa9e3', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "var(--color-icon, #4B5565)" })), h("input", { key: 'baec2005894b9b28390efc3a79b432c8fcc4f461', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.loading && h("div", { key: '6b0f1cd7084de3270c106ba34f4a6f78983a8f49', class: "loader" }), this.showValidation && !this.destructive && (h("svg", { key: '8da65adeaf9c45637c405c8e9b9b0be7b737c8e7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f29fb005ea85259bec2155d2f1775f06f822fa38', d: "M7.03831 9.9735C6.6785 9.76829 6.22047 9.89362 6.01526 10.2534C5.81005 10.6132 5.93538 11.0713 6.29518 11.2765L7.03831 9.9735ZM8.66675 12.5L8.0231 12.885C8.16612 13.1241 8.42989 13.2642 8.70808 13.2489C8.98627 13.2335 9.23302 13.0652 9.34885 12.8118L8.66675 12.5ZM13.6933 7.32469C14.0567 7.12594 14.1902 6.67022 13.9914 6.3068C13.7927 5.94338 13.337 5.80988 12.9736 6.00863L13.6933 7.32469ZM19.0834 9.99999C19.0834 4.9834 15.0167 0.916656 10.0001 0.916656V2.41666C14.1882 2.41666 17.5834 5.81183 17.5834 9.99999H19.0834ZM10.0001 0.916656C4.98349 0.916656 0.916748 4.9834 0.916748 9.99999H2.41675C2.41675 5.81183 5.81192 2.41666 10.0001 2.41666V0.916656ZM0.916748 9.99999C0.916748 15.0166 4.98349 19.0833 10.0001 19.0833V17.5833C5.81192 17.5833 2.41675 14.1881 2.41675 9.99999H0.916748ZM10.0001 19.0833C15.0167 19.0833 19.0834 15.0166 19.0834 9.99999H17.5834C17.5834 14.1881 14.1882 17.5833 10.0001 17.5833V19.0833ZM6.66675 10.625C6.29518 11.2765 6.29506 11.2764 6.29494 11.2763C6.2949 11.2763 6.29478 11.2763 6.29472 11.2762C6.29458 11.2761 6.29446 11.2761 6.29437 11.276C6.29417 11.2759 6.29406 11.2758 6.29402 11.2758C6.29394 11.2758 6.29418 11.2759 6.29472 11.2762C6.2958 11.2768 6.2981 11.2782 6.30155 11.2802C6.30845 11.2843 6.31994 11.2911 6.33556 11.3006C6.36683 11.3196 6.41441 11.3492 6.47453 11.3886C6.59518 11.4676 6.76402 11.5846 6.9516 11.7329C7.33643 12.0371 7.75673 12.4397 8.0231 12.885L9.31039 12.115C8.9101 11.4458 8.3304 10.9108 7.8819 10.5562C7.65281 10.3751 7.44665 10.2322 7.29647 10.1338C7.22117 10.0845 7.15938 10.046 7.11512 10.0191C7.09298 10.0056 7.07518 9.99502 7.06222 9.98739C7.05574 9.98358 7.05047 9.98051 7.04646 9.97819C7.04446 9.97703 7.04278 9.97606 7.04142 9.97528C7.04073 9.97489 7.04013 9.97454 7.03962 9.97425C7.03936 9.9741 7.03912 9.97396 7.0389 9.97384C7.03879 9.97377 7.03865 9.97369 7.03859 9.97366C7.03845 9.97358 7.03831 9.9735 6.66675 10.625ZM8.66675 12.5C9.34885 12.8118 9.3488 12.8119 9.34876 12.812C9.34876 12.812 9.34872 12.8121 9.34871 12.8121C9.3487 12.8122 9.34871 12.8121 9.34876 12.812C9.34884 12.8118 9.34905 12.8114 9.34938 12.8107C9.35003 12.8092 9.35117 12.8068 9.35277 12.8033C9.35599 12.7964 9.36109 12.7855 9.36805 12.7708C9.38196 12.7413 9.40327 12.6967 9.43164 12.6386C9.48841 12.5226 9.57333 12.3531 9.68378 12.1445C9.90507 11.7264 10.2268 11.1546 10.628 10.5403C11.4489 9.28341 12.5314 7.96007 13.6933 7.32469L12.9736 6.00863C11.4687 6.83158 10.218 8.4249 9.37213 9.72011C8.93998 10.3818 8.59509 10.9949 8.35805 11.4427C8.23933 11.667 8.14717 11.8508 8.08415 11.9797C8.05262 12.0441 8.02836 12.0949 8.01167 12.1303C8.00333 12.1479 7.99688 12.1617 7.99236 12.1715C7.9901 12.1763 7.98833 12.1802 7.98704 12.183C7.98639 12.1844 7.98587 12.1855 7.98547 12.1864C7.98527 12.1868 7.9851 12.1872 7.98496 12.1875C7.9849 12.1876 7.98482 12.1878 7.98478 12.1879C7.98471 12.188 7.98464 12.1882 8.66675 12.5Z", fill: "#079455" }))), this.showHelpIcon && (h("div", { key: '18f93455fa42030fdfbba23f58cc9f411855cfc4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '636f93f855c15a807a765ba23039a3322a503e38', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
442
|
+
h("div", { key: '8974096290d4b7375967479833d7177070632e52', class: `count_input` }, h("div", { key: '1f60b7bbb42f464f6b7ea1ab153e0342d721a9ab', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '9f4cff7cf528186b891645f407ba80298d27609d', class: `content text-${this.size}-regular ${this.type} ${this.state}`, type: this.inputType === 'number' ? 'text' : this.inputType, inputMode: this.inputType === 'number' ? 'numeric' : undefined, pattern: this.inputType === 'number' ? '[0-9]*' : undefined, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, onFocus: () => this.handleInputFocus(), onKeyDown: e => this.handleNumericKeyDown(e), onPaste: e => this.handleNumericPaste(e) }), this.loading && h("div", { key: '1f12094cbfd2d61ddd25991ce4c1b39acbf68965', class: "loader" }), this.showHelpIcon && (h("div", { key: 'cc7b4f12b152c8703c527a8c149a88e998e2307b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '00012a2f454f38622c962a4658512d68a8805e6f', class: `action ${this.state}` }, h("gb-button", { key: 'a89019f30929d7f87849918ee3d4b28e5cadfdc6', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg", onClick: () => this.onMinusButtonClicked() }), h("div", { key: 'b645eb2b72c9ce4e490b35f5ecea065617df5a66', class: "vertical_line" }), h("gb-button", { key: '21fba18d76121f123a5dd778ff0f03a7b6f8dbb6', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg", onClick: () => this.onPlusButtonClicked() }))),
|
|
443
|
+
], this.type === 'tags' && (h("div", { key: '6bdd615fc478d3ca59d5165f2bf17fdd1b412853', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '48d38a9277dce343e7ee91550f134b2fa77c9468', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: 'd8831b7f0260e3757f48e0c8dc58d6336a52c38f', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, val)))))))), h("span", { key: '26b1481aa908cd0340283b71f56aa3962704305e', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'f90089fbf27d1cf6088fc4a7ef07e66003770397', class: "input_field" }, h("input", { key: 'da195071fb5c92600842583db07f1f897073b016', id: this.idOfInput, class: `input_like text-${this.size}-regular ${this.state}`, type: "text",
|
|
426
444
|
// placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
|
|
427
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event), onFocus: () => this.handleInputFocus() })))), this.showDropdown && (h("div", { key: '
|
|
445
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event), onFocus: () => this.handleInputFocus() })))), this.showDropdown && (h("div", { key: '4d16383322b4222f8b5ac95463b87fa64e3a31d5', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
428
446
|
? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
|
|
429
447
|
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h(Fragment, null, !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText))));
|
|
430
448
|
}
|
|
@@ -833,8 +851,8 @@ export class GbInputField {
|
|
|
833
851
|
"type": "unknown",
|
|
834
852
|
"mutable": true,
|
|
835
853
|
"complexType": {
|
|
836
|
-
"original": "
|
|
837
|
-
"resolved": "
|
|
854
|
+
"original": "any[]",
|
|
855
|
+
"resolved": "any[]",
|
|
838
856
|
"references": {}
|
|
839
857
|
},
|
|
840
858
|
"required": false,
|
|
@@ -845,7 +863,7 @@ export class GbInputField {
|
|
|
845
863
|
},
|
|
846
864
|
"getter": false,
|
|
847
865
|
"setter": false,
|
|
848
|
-
"defaultValue": "[\r\n // '+
|
|
866
|
+
"defaultValue": "[\r\n // { objectName: '+296', objectValue: 'john.doe@example.com' },\r\n // { objectName: '+297', objectValue: 'john.doe@example.com' },\r\n // { objectName: '+298', objectValue: 'john.doe@example.com' },\r\n // { objectName: '+299', objectValue: 'john.doe@example.com' },\r\n // '+234',\r\n // '+124',\r\n // 57,\r\n // 43,\r\n ]"
|
|
849
867
|
},
|
|
850
868
|
"idOfInput": {
|
|
851
869
|
"type": "string",
|