globuswebcomponents 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{gb-avatar_38.cjs.entry.js → gb-avatar_40.cjs.entry.js} +180 -80
- package/dist/cjs/gb-avatar_40.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-export-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +1 -1
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +4 -4
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +13 -13
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +31 -31
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.css +10 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +2 -2
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.css +6 -0
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +19 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js.map +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +10 -13
- package/dist/collection/components/gb-slider/gb-slider.js.map +1 -1
- package/dist/collection/components/{gb-control-handle/gb-control-handle.css → gb-slider-control-handle/gb-slider-control-handle.css} +5 -41
- package/dist/collection/components/{gb-control-handle/gb-control-handle.js → gb-slider-control-handle/gb-slider-control-handle.js} +6 -6
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js.map +1 -0
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- 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-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/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +4 -4
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +4 -4
- 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-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +12 -12
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-help-dropdown.js +2 -2
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +5 -5
- 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 +23 -23
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +31 -31
- package/dist/components/gb-notification-pane.js.map +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -44
- package/dist/components/gb-pagination-button-group-base.js.map +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 +31 -25
- package/dist/components/gb-pagination.js.map +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.js +12 -12
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +7 -7
- package/dist/components/gb-slider-control-handle.d.ts +11 -0
- package/dist/components/gb-slider-control-handle.js +8 -0
- package/dist/components/gb-slider-control-handle.js.map +1 -0
- package/dist/components/gb-slider.js +19 -7
- package/dist/components/gb-slider.js.map +1 -1
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +2 -2
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +3 -3
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-ad23394f.js → p-15057414.js} +2 -2
- package/dist/components/{p-ad23394f.js.map → p-15057414.js.map} +1 -1
- package/dist/components/{p-33e637b4.js → p-18800371.js} +2 -2
- package/dist/components/{p-33e637b4.js.map → p-18800371.js.map} +1 -1
- package/dist/components/{p-8be88187.js → p-1c160fcd.js} +3 -3
- package/dist/components/{p-8be88187.js.map → p-1c160fcd.js.map} +1 -1
- package/dist/components/{p-12cba9c1.js → p-20bb0dc1.js} +3 -3
- package/dist/components/{p-12cba9c1.js.map → p-20bb0dc1.js.map} +1 -1
- package/dist/components/{p-8710e0f4.js → p-26d70a53.js} +2 -2
- package/dist/components/{p-8710e0f4.js.map → p-26d70a53.js.map} +1 -1
- package/dist/components/{p-298213a5.js → p-2dd93b0d.js} +2 -2
- package/dist/components/{p-298213a5.js.map → p-2dd93b0d.js.map} +1 -1
- package/dist/components/{p-93aa99b5.js → p-2e839805.js} +3 -3
- package/dist/components/{p-93aa99b5.js.map → p-2e839805.js.map} +1 -1
- package/dist/components/{p-db801532.js → p-3c6424be.js} +3 -3
- package/dist/components/{p-db801532.js.map → p-3c6424be.js.map} +1 -1
- package/dist/components/p-47052b60.js.map +1 -1
- package/dist/components/{p-010feb88.js → p-57ba561f.js} +5 -5
- package/dist/components/{p-010feb88.js.map → p-57ba561f.js.map} +1 -1
- package/dist/components/p-58c688ab.js +50 -0
- package/dist/components/p-58c688ab.js.map +1 -0
- package/dist/components/{p-b6b7d110.js → p-61c21fbd.js} +6 -6
- package/dist/components/{p-b6b7d110.js.map → p-61c21fbd.js.map} +1 -1
- package/dist/components/{p-5dbcc06e.js → p-6310896b.js} +2 -2
- package/dist/components/{p-5dbcc06e.js.map → p-6310896b.js.map} +1 -1
- package/dist/components/{p-89c70ab8.js → p-6c168218.js} +2 -2
- package/dist/components/{p-89c70ab8.js.map → p-6c168218.js.map} +1 -1
- package/dist/components/{p-5f678e32.js → p-73c46fd0.js} +2 -2
- package/dist/components/{p-5f678e32.js.map → p-73c46fd0.js.map} +1 -1
- package/dist/components/{p-696a1f4a.js → p-73c903c0.js} +2 -2
- package/dist/components/{p-696a1f4a.js.map → p-73c903c0.js.map} +1 -1
- package/dist/components/{p-513c1eee.js → p-7564bcf5.js} +3 -3
- package/dist/components/{p-513c1eee.js.map → p-7564bcf5.js.map} +1 -1
- package/dist/components/{p-6dfe1ebf.js → p-87282ea5.js} +3 -3
- package/dist/components/{p-6dfe1ebf.js.map → p-87282ea5.js.map} +1 -1
- package/dist/components/{p-ea4ef5f2.js → p-98cdb103.js} +3 -3
- package/dist/components/{p-ea4ef5f2.js.map → p-98cdb103.js.map} +1 -1
- package/dist/components/{p-56bcffa8.js → p-a603a20f.js} +2 -2
- package/dist/components/{p-56bcffa8.js.map → p-a603a20f.js.map} +1 -1
- package/dist/components/{p-3aafc7e4.js → p-aaff16c1.js} +2 -2
- package/dist/components/{p-3aafc7e4.js.map → p-aaff16c1.js.map} +1 -1
- package/dist/components/{p-8c105c41.js → p-af12bef4.js} +5 -5
- package/dist/components/{p-8c105c41.js.map → p-af12bef4.js.map} +1 -1
- package/dist/components/p-af43f85d.js +61 -0
- package/dist/components/p-af43f85d.js.map +1 -0
- package/dist/components/{p-64a56327.js → p-b48745ed.js} +4 -4
- package/dist/components/{p-64a56327.js.map → p-b48745ed.js.map} +1 -1
- package/dist/components/{p-9d5851d0.js → p-b7e0a1d7.js} +14 -14
- package/dist/components/{p-9d5851d0.js.map → p-b7e0a1d7.js.map} +1 -1
- package/dist/components/{p-1bd85bd9.js → p-c1f66b7a.js} +11 -11
- package/dist/components/{p-1bd85bd9.js.map → p-c1f66b7a.js.map} +1 -1
- package/dist/components/{p-f41d7ec5.js → p-c48515b7.js} +7 -7
- package/dist/components/{p-f41d7ec5.js.map → p-c48515b7.js.map} +1 -1
- package/dist/components/{p-346195bc.js → p-cb12d812.js} +3 -3
- package/dist/components/{p-346195bc.js.map → p-cb12d812.js.map} +1 -1
- package/dist/components/{p-d75d024a.js → p-d2684525.js} +7 -7
- package/dist/components/{p-d75d024a.js.map → p-d2684525.js.map} +1 -1
- package/dist/components/{p-82a3ab58.js → p-d723ded7.js} +2 -2
- package/dist/components/{p-82a3ab58.js.map → p-d723ded7.js.map} +1 -1
- package/dist/components/{p-9ef75780.js → p-d78cb735.js} +2 -2
- package/dist/components/{p-9ef75780.js.map → p-d78cb735.js.map} +1 -1
- package/dist/components/{p-beff7573.js → p-ef5f92ef.js} +2 -2
- package/dist/components/{p-beff7573.js.map → p-ef5f92ef.js.map} +1 -1
- package/dist/components/{p-7f44101b.js → p-ff5d7f71.js} +2 -2
- package/dist/components/{p-7f44101b.js.map → p-ff5d7f71.js.map} +1 -1
- package/dist/components/{p-96d8d9cd.js → p-ff7a3231.js} +2 -2
- package/dist/components/{p-96d8d9cd.js.map → p-ff7a3231.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/esm/{gb-avatar_38.entry.js → gb-avatar_40.entry.js} +179 -81
- package/dist/esm/gb-avatar_40.entry.js.map +1 -0
- package/dist/esm/gb-export-dropdown-item_2.entry.js +2 -2
- package/dist/esm/gb-export-dropdown.entry.js +1 -1
- package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +9 -9
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-megainput-field.entry.js +2 -2
- package/dist/esm/gb-progress-bar.entry.js +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +1 -1
- package/dist/esm/gb-verification-code-field.entry.js +2 -2
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-8496e911.js.map +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-35abdeb3.entry.js → p-009cb844.entry.js} +2 -2
- package/dist/globuscomponents/{p-31d21f36.entry.js → p-1c3276c5.entry.js} +2 -2
- package/dist/globuscomponents/{p-14d457ff.entry.js → p-1ecb225e.entry.js} +2 -2
- package/dist/globuscomponents/{p-89d90763.entry.js → p-20849c6b.entry.js} +2 -2
- package/dist/globuscomponents/p-20849c6b.entry.js.map +1 -0
- package/dist/globuscomponents/p-47052b60.js.map +1 -1
- package/dist/globuscomponents/{p-7d3ebcd8.entry.js → p-53918e60.entry.js} +2 -2
- package/dist/globuscomponents/{p-56c9c0bf.entry.js → p-5a356167.entry.js} +2 -2
- package/dist/globuscomponents/{p-19383348.entry.js → p-69ebaeef.entry.js} +2 -2
- package/dist/globuscomponents/{p-15215034.entry.js → p-6aa57d46.entry.js} +2 -2
- package/dist/globuscomponents/{p-939426f9.entry.js → p-6fb432e5.entry.js} +2 -2
- package/dist/globuscomponents/{p-5c7d1754.entry.js → p-7a3ef082.entry.js} +2 -2
- package/dist/globuscomponents/{p-77859fd7.entry.js → p-87e5abd9.entry.js} +2 -2
- package/dist/globuscomponents/{p-ab4ad2bd.entry.js → p-934ead06.entry.js} +2 -2
- package/dist/globuscomponents/{p-d2f4c654.entry.js → p-9e5a4011.entry.js} +2 -2
- package/dist/globuscomponents/p-a2ca69a8.entry.js +2 -0
- package/dist/globuscomponents/p-c0444702.entry.js +2 -0
- package/dist/globuscomponents/{p-854471d3.entry.js → p-f9e7b25c.entry.js} +2 -2
- package/dist/types/components/gb-pagination-button-group-base/gb-pagination-button-group-base.d.ts +1 -0
- package/dist/types/components/gb-slider/gb-slider.d.ts +1 -1
- package/dist/types/components/{gb-control-handle/gb-control-handle.d.ts → gb-slider-control-handle/gb-slider-control-handle.d.ts} +1 -1
- package/dist/types/components.d.ts +21 -19
- package/dist/types/models/reusableModels.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_38.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-control-handle.cjs.entry.js +0 -38
- package/dist/cjs/gb-control-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-slider.cjs.entry.js +0 -77
- package/dist/cjs/gb-slider.cjs.entry.js.map +0 -1
- package/dist/collection/components/gb-control-handle/gb-control-handle.js.map +0 -1
- package/dist/components/gb-control-handle.d.ts +0 -11
- package/dist/components/gb-control-handle.js +0 -64
- package/dist/components/gb-control-handle.js.map +0 -1
- package/dist/esm/gb-avatar_38.entry.js.map +0 -1
- package/dist/esm/gb-control-handle.entry.js +0 -34
- package/dist/esm/gb-control-handle.entry.js.map +0 -1
- package/dist/esm/gb-slider.entry.js +0 -73
- package/dist/esm/gb-slider.entry.js.map +0 -1
- package/dist/globuscomponents/p-557f65a4.entry.js +0 -2
- package/dist/globuscomponents/p-557f65a4.entry.js.map +0 -1
- package/dist/globuscomponents/p-6b9f4f24.entry.js +0 -2
- package/dist/globuscomponents/p-6b9f4f24.entry.js.map +0 -1
- package/dist/globuscomponents/p-7682d7e8.entry.js +0 -2
- package/dist/globuscomponents/p-89d90763.entry.js.map +0 -1
- package/dist/globuscomponents/p-d5ea1db7.entry.js +0 -2
- /package/dist/globuscomponents/{p-35abdeb3.entry.js.map → p-009cb844.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-31d21f36.entry.js.map → p-1c3276c5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-14d457ff.entry.js.map → p-1ecb225e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7d3ebcd8.entry.js.map → p-53918e60.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-56c9c0bf.entry.js.map → p-5a356167.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-19383348.entry.js.map → p-69ebaeef.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-15215034.entry.js.map → p-6aa57d46.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-939426f9.entry.js.map → p-6fb432e5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5c7d1754.entry.js.map → p-7a3ef082.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-77859fd7.entry.js.map → p-87e5abd9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ab4ad2bd.entry.js.map → p-934ead06.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d2f4c654.entry.js.map → p-9e5a4011.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d5ea1db7.entry.js.map → p-a2ca69a8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7682d7e8.entry.js.map → p-c0444702.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-854471d3.entry.js.map → p-f9e7b25c.entry.js.map} +0 -0
|
@@ -38,7 +38,7 @@ export class GbHorizontalTabs {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '70e0ebd29dbe4a13cedaeeeeec8c216cbdc5e54e', class: `horizontal_tab_div ${this.type} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: 'ac5bd565f22978f9c91c517ef9009091d9e0e106', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName }), h("gb-tab-button-base", { key: '390ea31ae708d63c39b92cb5bde1a8d50790f184', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName }), this.thirdTabName && (h("gb-tab-button-base", { key: 'd82f4bf2b39db36a8f0df4d254882cd3f7334d79', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName })), this.fourthTabName && (h("gb-tab-button-base", { key: 'de79610c8a97e40e76ef11df133b55b5c969d7d7', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName })), this.fifthTabName && (h("gb-tab-button-base", { key: 'c904923f8aaadf5a4454a0a26be888da4f187ddf', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName })), this.sixthTabName && (h("gb-tab-button-base", { key: 'e55d4ba3615ab2dd5497db4ab06a552ba818c14b', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName })), this.seventhTabName && (h("gb-tab-button-base", { key: 'd557ac872010173902acddefd56da6a6a9ec664c', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName })), this.eighthTabName && (h("gb-tab-button-base", { key: 'df2192e08f1a165c4f0e8da65a28ef15c8eb3ebf', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName })), this.ninthTabName && (h("gb-tab-button-base", { key: 'd4f62f833af5b58818084ee01f3e6f7a104cbb5e', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName })), this.tenthTabName && (h("gb-tab-button-base", { key: '0d3e8974f69d6a7504e7aae071c63d4d4482a1a2', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName })), this.eleventhTabName && (h("gb-tab-button-base", { key: '1fcf5544a8f629fe3f876591409660e86d58e1f8', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(10), current: this.activeIndex === 10, "tab-name": this.tenthTabName })), this.twelfthTabName && (h("gb-tab-button-base", { key: '6153aafcaa0e4d24e82812c15b9a03d6b6970c0c', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(11), current: this.activeIndex === 11, "tab-name": this.tenthTabName })), this.thirteenthTabName && (h("gb-tab-button-base", { key: '938e64009a0a53dfa615fb695faa0bb68cc6222f', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(12), current: this.activeIndex === 12, "tab-name": this.tenthTabName })), this.fourteenthTabName && (h("gb-tab-button-base", { key: 'b96aee33082e54a52b5750ad3db408bde21f5a81', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(13), current: this.activeIndex === 13, "tab-name": this.tenthTabName })), this.fifteenthTabName && (h("gb-tab-button-base", { key: '497efba2f60bb3ba6a784b411d93c9573071a3af', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(14), current: this.activeIndex === 14, "tab-name": this.tenthTabName })), this.sixteenthTabName && (h("gb-tab-button-base", { key: '04f56a410f30fc74dcf9ae3d369724183009915d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(15), current: this.activeIndex === 15, "tab-name": this.tenthTabName })), this.seventeenthTabName && (h("gb-tab-button-base", { key: 'e3b84b36de722c38d3d8656ede03195f8f4fae0a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(16), current: this.activeIndex === 16, "tab-name": this.tenthTabName })), this.eighteenthTabName && (h("gb-tab-button-base", { key: 'b99640b40589bbac45fa7574fa4a299531e746c2', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(17), current: this.activeIndex === 17, "tab-name": this.tenthTabName })), this.nineteenthTabName && (h("gb-tab-button-base", { key: 'ec1eed0077517ba855e77c56cd63b19ea031c83d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(18), current: this.activeIndex === 18, "tab-name": this.tenthTabName })), this.twentiethTabName && (h("gb-tab-button-base", { key: 'f4a62d6f7c9c05a44116e459902601a801032b05', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(19), current: this.activeIndex === 19, "tab-name": this.tenthTabName }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "gb-horizontal-tabs"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,13 +169,13 @@ export class GbInputDropdown {
|
|
|
169
169
|
render() {
|
|
170
170
|
var _a;
|
|
171
171
|
return [
|
|
172
|
-
h("div", { key: '
|
|
172
|
+
h("div", { key: '2d37140e0407611d5d2376ba8adc06611965e8ad', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, h("div", { key: '58cf5dcefc7c507f77a9f721d54d64edad4548ab', class: `input_with_label` }, this.showLabel && (h("p", { key: '30f8b2bf9333ffcae2b59ec1f66a30944eac430e', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())), h("div", { key: 'c73580a13c0144117e7e0fad82eb67f0c401a158', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: '92c71c29d4ebd11945c7ce9901a5b18a4fe9cc71', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e5b818b1277a0e6391fa47bf958fcc4720091db6', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '27dac77efe1fbbd0e6c3c8610442db715a55e556', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h(Fragment, null, this.state === 'default' && (h("svg", { key: '09ac2c3b28796ee4ba57de7a0640ca80fe36398b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b44cfdb753c3b3c25d0fe3d386be3abe6f209b08', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.66667" }), h("path", { key: '084475d379017217ace69f5a4e5b7f3c4199e8bb', d: "M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z", stroke: "#4B5565", "stroke-width": "1.66667" }))), this.state === 'filled' && (h("gb-avatar", { key: '0dd6b964c667cda5f19bde800e3abb8e6db4fb21', size: "xs", text: this.text, color: this.color, "show-border": this.showBorder }, h("h1", { key: '65c0aaef5ff1d3fc0b6e93d8cc1e93f003fec548', slot: "initials" }, this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())))))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '27eb96b0f329de38fb9b386f8939fc4ab4c32ba2', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: '72355bcff856a54b89486d6240fa75a3b583a31f', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: 'ca19aad052a72284cf0c607c1b0338b5963537a5', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: '1ee1d65e6152912744d794f1c026ae9aa813058b', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '6e32f9a377139d016ffc003c240ef6c65bc2c59a', class: `content` }, h("div", { key: '2fa4cd307e5394899ba33bf67451d48091dd6515', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags' ? (h(Fragment, null, this.selectedItems.map((item, index) => typeof item === 'object' ? (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name
|
|
173
173
|
.split(' ')
|
|
174
174
|
.map(part => part.charAt(0).toUpperCase())
|
|
175
|
-
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item))))))) : (((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.name) || this.selectedItem)), this.supportingText && (h("div", { key: '
|
|
175
|
+
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item))))))) : (((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.name) || this.selectedItem)), this.supportingText && (h("div", { key: 'fd1468797a17a908888966dd097c945c70f0a29b', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
|
|
176
176
|
? this.selectedItems.map(item => item.username).join(', ') // For multiple selections
|
|
177
|
-
: this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: '
|
|
178
|
-
h(Fragment, null, this.dropdownOpen && (h("div", { key: '
|
|
177
|
+
: this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: '97b297e9cb633c9ff1dd69fa6921d1b57d387522', class: `help_icon` }, h("gb-help-tooltip", { key: '2c1c2a8bb10bea5d4b88fbbc41c07fb0e54e02b1', "show-supporting-text": true }, h("slot", { key: 'b4676c8e8492b02bdbf854497ebdef09a39665f0', name: "tooltip_label", slot: "label" }), h("slot", { key: '31a865846e9e25ea3ea87b9786782eaff676289c', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '709901b2959a3d10a566e377b6ad27340589ca70', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'c9150d8e79d51ddd36018721a822e095ac322964', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '6ca3e8d6024f27f66c3aad9fa3d5213377fe6d65', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.showHintText && (h("p", { key: 'fb208059ca7dac86e9fec5a7da80989846f5bb66', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
|
|
178
|
+
h(Fragment, null, this.dropdownOpen && (h("div", { key: '4a7c410a72000a6e06d9eac965879cabd1320054', class: `dropdown_menu ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.type === 'tags' ? (h(Fragment, null, this.selectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: true, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username))) : (h("p", { slot: "name" }, item))))), this.unselectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: false, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username))) : (h("p", { slot: "name" }, item))))))) : (h(Fragment, null, this.items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), color: this.color, onClick: () => this.handleItemSelect(item) }, typeof item === 'object' ? (h(Fragment, null, h("p", { slot: "name" }, item.name), h("h1", { slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", { slot: "supporting_text" }, "@", item.username))) : (typeof item !== 'object' && h("p", { slot: "name" }, item)))))))))),
|
|
179
179
|
];
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "gb-input-dropdown"; }
|
package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js
CHANGED
|
@@ -28,13 +28,13 @@ export class GbInputDropdownMenuItem {
|
|
|
28
28
|
render() {
|
|
29
29
|
return (
|
|
30
30
|
// <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
|
|
31
|
-
h("div", { key: '
|
|
31
|
+
h("div", { key: '6f772b676cb2ce43fd7a400bb5cf19b8115a1488', class: "dropdown-container", onClick: () => this.handleClick() }, h("div", { key: '40ac5004be7ad135182f1648324aa6187d5725d1', class: {
|
|
32
32
|
'dropdown-item': true,
|
|
33
33
|
'selected': this.selected,
|
|
34
34
|
'disabled': this.state === 'disabled',
|
|
35
35
|
'checkbox': this.type === 'checkbox',
|
|
36
36
|
[this.type]: true,
|
|
37
|
-
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '
|
|
37
|
+
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: 'bc4e3ddb5bf21956a90ac671283ce05313254de7', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: 'f7dd7db47079ed27ba2cabd5432a9d3a225a2f16', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ed0cf01a99d08b9ca88fd3df424172ed7d584c5b', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '0529681355fedd1011f7a32e77d88059ed3f6e74', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '99a026683536c579050b307855ab54ef93d9da6e', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: 'b3723a2ec2bf0023da551a12982b79827dabdfac', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h(Fragment, null, this.state === 'default' ? (h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && h("gb-checkbox", { key: 'fb892c10fc5fe5c82deae70955fad89298c357e8', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: '0d2e58ccf4d25f0192253a50e53c28eb3926275e', name: "name" }), this.supportingText && (h("span", { key: '9ee0f6d171816babb5929146b03090f26bab5842' }, h("slot", { key: '6e8c4e27c019c4b15725a82b617b8880e26f5540', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '4d905a2d812197f056160a8ebb8118bb4d1aa749', class: `tick` }, this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "gb-input-dropdown-menu-item"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -173,7 +173,7 @@ export class GbInputField {
|
|
|
173
173
|
if (this.type === 'tags') {
|
|
174
174
|
document.addEventListener('click', this.handleClickOutside);
|
|
175
175
|
}
|
|
176
|
-
this.inputElement.addEventListener('input', this.handleTagInput.bind(this));
|
|
176
|
+
// this.inputElement.addEventListener('input', this.handleTagInput.bind(this));
|
|
177
177
|
this.updateInputWidth();
|
|
178
178
|
}
|
|
179
179
|
updateInputWidth() {
|
|
@@ -192,23 +192,23 @@ export class GbInputField {
|
|
|
192
192
|
this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h("div", { key: '
|
|
196
|
-
h("div", { key: '
|
|
195
|
+
return (h("div", { key: 'aacdefe0f0e76282a81f0c9bb06166d50fb0a953', class: `input_container` }, h("div", { key: '1e5e362f37215bef40e8c55e3a8cae94092b4b4d', class: `input_with_label` }, this.showLabel && h("p", { key: '5d6f843d220e4a720f1d3d08b2098cb08d27bf7c', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
|
|
196
|
+
h("div", { key: '4d4b44e86f841258c63566271ea5b0e39931db85', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '64a1ee683980eab72903aa41dcd298222e7233d9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: '8c6bcbf5edab999c8ec2960130bff844ca9bda88', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '3301659a6f12c8d89cf1508de25a8fbdd1c7cd2a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd8da6b43230a162bc487a179a60ecce3350475bd', 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" }))))))),
|
|
197
197
|
], this.type === 'icon_leading' && [
|
|
198
|
-
h("div", { key: '
|
|
198
|
+
h("div", { key: '7e70cad9ba5112d525479c0b9d081f1e0dae54ad', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a33338793e2ab967684328e8ed57ccbd23c1b4b4', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'c4a1938119f4a28f70ac6b86afe811c964e04d78', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '04c03e5d456b44ea9ccb050638dfb868f10d0f1f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '0efb24de8b2bbbab3ace562ad0e59e7b386e45cc', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '16f2c8cb859ec62033f71fc2a20070ce76386ee7', 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: 'f8ff89b1948ea1c4fe386fd4222948d4c61514a9', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput() })))),
|
|
199
199
|
], this.type === 'leading_dropdown' && [
|
|
200
|
-
h("div", { key: '
|
|
201
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
200
|
+
h("div", { key: 'c8209d606461e1a11120abf41f9de780249a9970', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0aae0876c038c4c1ffee6da68b5e1b581496231c', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '60fa265667cbbfd643afd3644eca24f6cc3f8098', class: `country_icon` }, h("img", { key: 'c939c4f2901e5c499e1de1e9f487a9fa94458dc1', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '098a53dcb2c609da1add48590d7f8dd408bf5b0f', class: `dropdown_text` }, h("p", { key: 'efc6d7f28c6e176576779f2d504852fdee6af046', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'ef665fcf02b4c07c5b217eda8ac0df6e87fcf075', class: `dropdown_arrow` }, h("svg", { key: '84a04195594cdc6d4a2a37fbe3592ab7630e5b86', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9ce1dfb73883a2908ebd1a32d982ab3d4cc53978', 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: '1f864adcdfddc56846dd1a76bacc76b20efd5d19', class: `leading_dropdown_text_input` }, h("input", { key: '5a62135ab80d3c3dfcab909b65262cca011d2676', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'a64d97673af2b04b844d6e35ce81332dea55ce5c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4fdc039cd08aba92cb9df72a9e0653e3b4e43f6e', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '566975aca997a9052f3d227ddaa6b6f81ea75032', 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" }))))))),
|
|
201
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: 'f21d31e0ea2051af1eb1e446f65c2c15d4308ae3', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
|
|
202
202
|
], this.type === 'trailing_dropdown' && [
|
|
203
|
-
h("div", { key: '
|
|
204
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
203
|
+
h("div", { key: 'bd5fd43faee91dfaacf471f9a87900c5d62f863d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '5eae7fcd91282dde7e02b0409dded65d61d9c8ca', class: `trailing_dropdown_content` }, h("p", { key: 'e5b9df9b5e32d5d4567664ac30dced58a8992c89', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '92351ae9b79c191bb28e7b242050b9a868a5d9a9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '76c328a0340df76a177b824699c28c61fe02ca79', 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: '2c167cdddf87bd4b3509f66b8e37dac9bd5b78b5', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '97386dd18df9b70670c6af27800a6c650db22de4', class: `dropdown_text` }, h("p", { key: '32964466c781d82dc8a1a86bcef31d59496ccbdd', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'f0e11695a91dc362d6177454f9de59bae3b971e3', class: `dropdown_arrow` }, h("svg", { key: 'bd9345e9fb68e1fdd8fc7707f0dbaa23d5d19e96', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '11dd740bd90582a22f791999a6151c9f3770b43e', 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" }))))),
|
|
204
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: 'e33b2ce09d42e7b479343de114d97cee3d7d39e0', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
|
|
205
205
|
], this.type === 'leading_text' && [
|
|
206
|
-
h("div", { key: '
|
|
207
|
-
], this.type === 'payment_input' && (h("div", { key: '63dcf091bc893d830d85e779007ccedb7f745aca', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'e349d16fa2a44725c5c51d329c2320c9e6b78eeb', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'aaed5074f184032bcfc224be431814b4a6d47097', "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: 'e78f6c838de51b85b058b90a79131dc735ba37e2', "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: '39511848181f5de937def67a12fceb362997af66', "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: 'bd819b3f7d1bcec547804792c7ba8549c3a49421', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '16299e01ea4ba72568545f8d93159fa19dd4a5dd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1e5d64d17a15e6cf668c5a44a79f7b9b5b53d4ac', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '658ccb00b24789d34c8d076c146e71e19efbf9d0', 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: 'a89e8fa2059c41f3c17bfc881f787e77cd0f0e76', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4a2b1947cfda420224bec626bd24654ebadaacf8', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '4f342b888be6e0eaa47ddaa4d75428adeed685d9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), this.showValidation && !this.destructive && (h("svg", { key: '86663617c93d0c13df05019547f729e2d1902343', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9767623874559a568bb47e4e51946acbd035d068', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '23fc815a82d36833e376ffaa53138a718931c97f', 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-button", { key: 'c631e4f79bfd9d25831caf6f24f39eeefe24f272', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '5e8171ee88002cb2e2bc31c2714bee0c35dbf5c7', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'dda03260513855865f57869f3465d56a3a804a89', class: `password_content` }, h("input", { key: 'bb99388bc35e68629759ad8d8eac0d5364f18ae2', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'ae1a9c5f144936de9a4ece0a2bfbda256bb2c553', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'dee2380e4bb144d803690c4fb88b1d7b3b4eeac4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'f318584aa6bb7d5fd724fa3db6e6c1215aa9d045', 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: '29ee5d3615b8ead554de93b2ce6f0d20bf9977f5', class: `dropdown` }, h("gb-password-button", { key: '7816e98582ed935b2496c77b00d1e626808e1146', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'ca95050a95debe3d9b10274bd6c94bde45a0d355', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '5fbaa91dc3c2db64f216a28c2f5dbb4de9680204', class: `password_icon_leading_content` }, h("svg", { key: 'a6c8d3987163da405a0586567df7c73844b99b26', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '26fa811214b5c9b157a58d151815e415d5b94598', 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: "#4B5565" })), h("input", { key: '9c0952b52a89cc12afcc469c50b054f0b35bb62e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'b2e36c0c20e6bc60fca8910b22ddcf5a17325c0d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9ba65dcd23fa28ef9e920fffd38d043a4c263ea9', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '79ee6fcc2748f97214dc14785476ba3777c1fe04', 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: '2382de2ed225ab7576ed104dc83ebec7cdf3a2cf', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
208
|
-
h("div", { key: '
|
|
209
|
-
], this.type === 'tags' && (h("div", { key: '
|
|
206
|
+
h("div", { key: '3978bc7a8b4e9991c9a5e8b92d8975e01a430c45', class: "leading_text_input" }, h("div", { key: 'e8d91c57adbcfcf454d65f85ab974628f20e9cbb', class: `add_on` }, h("p", { key: '52f908d07a1d954283fe460d10486dacf4b30b4c', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '2722eea151420592b1cd4b23a11e45b46cc421c5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '52677eebfe0a158373f33da59ab222dc9aeb0d5f', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '02da0a5a8b9799fd2aaa84b222f60d0ea2aa1b2b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd82ab6028d4ca706fbdc59b1ba3ebe99432caa3b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'c773c8a17f61f9d74961f176d4f2342775a11d78', 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" }))))))),
|
|
207
|
+
], this.type === 'payment_input' && (h("div", { key: '634d2a810f4cf27efe47e04ffbb87e8f64ee2221', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'a7d78d4324a9c4dbabd6898af3c518a6b099ee8a', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '5ad071c1527cb050587ffc803c44d06131e3faed', "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: '75115e942c70d1cbc76ebbf2a8cd9ad5cfcd2993', "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: '52f39e1df427693004619750512d20ef6bac228c', "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: '05bc10a24ff57a2a573710057e1eaff8d7201c8a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'cf3e9ef076695589f372f09b0a5a4b9416a09fbb', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '77b708c8c0f0f9a3d9c13c5940c500b16330c03c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '36a185d3c8abaf58a73f6fc39010a150395934b2', 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: 'bedfaf703c4b6a11a9d6b22b5fb417e9cdbda302', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9a43658c64a208b7096e41bb5f30b231a423eb06', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '8102b08fe891ea00827a9aa7bf1f0091a1977389', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), this.showValidation && !this.destructive && (h("svg", { key: '90489c4331b0d6756a494981434c05014c3fad9b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e89ce19b63ccf438ebf346ccf3e24a894cb6272e', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '7dfbd34d50d5958a4d8a858c41cf776d11b4c798', 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-button", { key: '906f0d4890c5c247814ebefbe39a12aa56a1d7d2', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: 'f5355dff92d44c3a2bd58a1867e429c12d4046f7', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9863a964797b1e711635cce182b7dfce307073b1', class: `password_content` }, h("input", { key: 'e428e925d80c7da8b1697d8a03be63a0440ac67e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '117a8be5376bd623e328a09b54a0fb6018a4e0fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e44e5ee8c0f4451ca8be5e9f417123e96b37e4bb', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '2d06ed5175ac5c8d32dd4f65d45d9216a4a40d03', 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: 'c8e40eae846b751316ad9fa999979aa3c54e9439', class: `dropdown` }, h("gb-password-button", { key: 'e7ccb2ae477c1c53119470326ae69c829db39323', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'a996fa5c97f50c34b5e9bb8171e5462c274ab3dd', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ba302c9528bb9dd524ca9dc78caf911d3c074d7a', class: `password_icon_leading_content` }, h("svg", { key: '4b5018803caad5cfe32fb65e5595391667aa8421', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f9bdb75cb2f024ff5e158d5931e40ba3b85a2a55', 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: "#4B5565" })), h("input", { key: 'e6252b6a290d6a6d71a73e27542d8aee676c5220', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'abb17a0318037eff021ce76414b966d7b3ef1ba6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5c8f560d0d6cf0d24388593699f44b6c2e23624b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '86651707b01313bf935c42aba3565c9344fda982', 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: 'd43eb33962014e743550c9b3be0347e6e7992289', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
208
|
+
h("div", { key: '76075e6dbba26c40ff023d52b07f41bce4162698', class: `count_input` }, h("div", { key: '392763245158d2bdcbd32dc0115da3e30310cf22', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '144f8e24fad131a971e18ff0e1a947230b4dbb4d', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '56f71c5005be46e1cb9dc0857d629004215e4341', 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: '4c110b372d6ea3f96f51ed3afcf7abaaae9a9438', class: `action ${this.state}` }, h("gb-button", { key: 'df67bf0c73248fcc026765110d344844cb799afe', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: '2f8bc6ece188d55d62f1bdb754400d8807653611' }), h("gb-button", { key: '8c4e6cb6e1bcc439935df43282d9207fbb57dd2f', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
|
|
209
|
+
], this.type === 'tags' && (h("div", { key: '719ea5467717e060f9d31852dcea58b15885c435', class: "input_group", ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'f51612c755570a3cc5ca2933db586e3b494ecf84', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '51a08a07604a719406aeff90bcba025cf2960268', class: `results_display`, ref: el => (this.resultsDisplayElement = el) }, 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.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("p", null, item)))))), h("span", { key: '3bdefabea52649324ef0fe01b8b780f0a3895ee6', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '4a305cebf8b256371759a795d2347afbe09be0ee', class: "input_field" }, h("input", { key: '8a6c1ed91c15ccf91ac9f90c02d35f80e1222caf', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
|
|
210
210
|
// placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
|
|
211
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '
|
|
211
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '76e0fa882fb8fe0016c6ee51dd3274b18a1c049d', 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.selectStaff(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
212
212
|
? [h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.email)]
|
|
213
213
|
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText)));
|
|
214
214
|
}
|