globuswebcomponents 0.9.6 → 0.9.8
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_44.cjs.entry.js → gb-avatar_45.cjs.entry.js} +268 -140
- package/dist/cjs/gb-avatar_45.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-export-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gb-export-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-pagination-dot-group.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/assets/empty-state-background.svg +60 -0
- package/dist/collection/assets/empty-state-no-data.svg +42 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +2 -2
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +27 -27
- package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +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.css +39 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +172 -74
- 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.css +0 -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.css +6 -0
- package/dist/collection/components/gb-input-field/gb-input-field.js +27 -19
- 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 +3 -3
- package/dist/collection/components/gb-pagination/gb-pagination.js +4 -3
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +2 -40
- 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-group/gb-pagination-dot-group.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-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 +7 -8
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +4 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +4 -4
- 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/gb-vertical-tabs/gb-vertical-tabs.css +6 -0
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +501 -0
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js.map +1 -0
- 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 +3 -3
- 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-export-dropdown.js +2 -2
- package/dist/components/gb-export-dropdown.js.map +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +30 -28
- package/dist/components/gb-file-upload.js.map +1 -1
- package/dist/components/gb-header.js +2 -2
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +4 -4
- 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 -396
- 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 +4 -4
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +48 -29
- 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 +46 -22
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +12 -13
- package/dist/components/gb-sidebar.js.map +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-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-vertical-tabs.d.ts +11 -0
- package/dist/components/gb-vertical-tabs.js +132 -0
- package/dist/components/gb-vertical-tabs.js.map +1 -0
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-af6c2dc5.js → p-0bde1b0e.js} +2 -2
- package/dist/components/{p-af6c2dc5.js.map → p-0bde1b0e.js.map} +1 -1
- package/dist/components/{p-5512321a.js → p-0c6b277d.js} +2 -2
- package/dist/components/{p-5512321a.js.map → p-0c6b277d.js.map} +1 -1
- package/dist/components/{p-e26f2275.js → p-12879e00.js} +2 -2
- package/dist/components/{p-e26f2275.js.map → p-12879e00.js.map} +1 -1
- package/dist/components/{p-b02e796f.js → p-1c1003b6.js} +2 -2
- package/dist/components/{p-b02e796f.js.map → p-1c1003b6.js.map} +1 -1
- package/dist/components/{p-4aa73a61.js → p-24625c69.js} +2 -2
- package/dist/components/{p-4aa73a61.js.map → p-24625c69.js.map} +1 -1
- package/dist/components/{p-da349f94.js → p-258cafb9.js} +2 -2
- package/dist/components/{p-da349f94.js.map → p-258cafb9.js.map} +1 -1
- package/dist/components/{p-e673b425.js → p-29ca4063.js} +7 -7
- package/dist/components/{p-e673b425.js.map → p-29ca4063.js.map} +1 -1
- package/dist/components/{p-60a8f11a.js → p-2e73f436.js} +2 -2
- package/dist/components/{p-60a8f11a.js.map → p-2e73f436.js.map} +1 -1
- package/dist/components/{p-18a465ff.js → p-3254d1d4.js} +3 -3
- package/dist/components/{p-18a465ff.js.map → p-3254d1d4.js.map} +1 -1
- package/dist/components/{p-787c9757.js → p-35406f07.js} +176 -75
- package/dist/components/p-35406f07.js.map +1 -0
- package/dist/components/p-47052b60.js.map +1 -1
- package/dist/components/{p-2ee8e211.js → p-472f11a3.js} +2 -2
- package/dist/components/{p-2ee8e211.js.map → p-472f11a3.js.map} +1 -1
- package/dist/components/{p-cfbe014d.js → p-4bd1630c.js} +3 -3
- package/dist/components/{p-cfbe014d.js.map → p-4bd1630c.js.map} +1 -1
- package/dist/components/{p-ebbbdd33.js → p-6557b598.js} +3 -3
- package/dist/components/{p-ebbbdd33.js.map → p-6557b598.js.map} +1 -1
- package/dist/components/{p-6e7c1b3f.js → p-855667d7.js} +6 -6
- package/dist/components/p-855667d7.js.map +1 -0
- package/dist/components/{p-75424aa6.js → p-88e8dfdb.js} +3 -3
- package/dist/components/{p-75424aa6.js.map → p-88e8dfdb.js.map} +1 -1
- package/dist/components/{p-26de186a.js → p-8a6370b2.js} +3 -3
- package/dist/components/{p-26de186a.js.map → p-8a6370b2.js.map} +1 -1
- package/dist/components/{p-a112004b.js → p-8a998306.js} +2 -2
- package/dist/components/{p-a112004b.js.map → p-8a998306.js.map} +1 -1
- package/dist/components/p-99ac6a1b.js +408 -0
- package/dist/components/p-99ac6a1b.js.map +1 -0
- package/dist/components/{p-5be3a868.js → p-ac14b3b7.js} +8 -8
- package/dist/components/p-ac14b3b7.js.map +1 -0
- package/dist/components/{p-c5391fb7.js → p-ad3a2c04.js} +2 -2
- package/dist/components/{p-c5391fb7.js.map → p-ad3a2c04.js.map} +1 -1
- package/dist/components/{p-c7c9cb57.js → p-b0acdded.js} +45 -21
- package/dist/components/p-b0acdded.js.map +1 -0
- package/dist/components/{p-70b439f9.js → p-c2efc577.js} +2 -2
- package/dist/components/{p-70b439f9.js.map → p-c2efc577.js.map} +1 -1
- package/dist/components/{p-47f3f4e8.js → p-c8f12e95.js} +2 -2
- package/dist/components/{p-47f3f4e8.js.map → p-c8f12e95.js.map} +1 -1
- package/dist/components/{p-9ae39411.js → p-cbe0d594.js} +2 -2
- package/dist/components/{p-9ae39411.js.map → p-cbe0d594.js.map} +1 -1
- package/dist/components/{p-6287f38c.js → p-d401040a.js} +3 -3
- package/dist/components/{p-6287f38c.js.map → p-d401040a.js.map} +1 -1
- package/dist/components/{p-14a5304b.js → p-db3b8bbc.js} +3 -9
- package/dist/components/p-db3b8bbc.js.map +1 -0
- package/dist/components/{p-ff58b603.js → p-e7fb3e27.js} +3 -3
- package/dist/components/{p-ff58b603.js.map → p-e7fb3e27.js.map} +1 -1
- package/dist/components/{p-8efbc7c0.js → p-ec43535d.js} +6 -6
- package/dist/components/{p-8efbc7c0.js.map → p-ec43535d.js.map} +1 -1
- package/dist/components/{p-7aa28b49.js → p-fdb2a202.js} +3 -3
- package/dist/components/{p-7aa28b49.js.map → p-fdb2a202.js.map} +1 -1
- package/dist/components/test-input-tag.js +9 -9
- package/dist/esm/{gb-avatar_44.entry.js → gb-avatar_45.entry.js} +268 -141
- package/dist/esm/gb-avatar_45.entry.js.map +1 -0
- package/dist/esm/gb-export-dropdown.entry.js +2 -2
- package/dist/esm/gb-export-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-megainput-field.entry.js +2 -2
- package/dist/esm/gb-pagination-dot-group.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/assets/empty-state-background.svg +60 -0
- package/dist/globuscomponents/assets/empty-state-no-data.svg +42 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/p-09f97c9b.entry.js +2 -0
- package/dist/globuscomponents/p-123789b1.entry.js +2 -0
- package/dist/globuscomponents/{p-641ddab7.entry.js → p-35a813fe.entry.js} +2 -2
- package/dist/globuscomponents/p-47052b60.js.map +1 -1
- package/dist/globuscomponents/{p-d1a92423.entry.js → p-69239722.entry.js} +2 -2
- package/dist/globuscomponents/p-a6568465.entry.js +2 -0
- package/dist/globuscomponents/{p-b22b0186.entry.js → p-a786f9fa.entry.js} +2 -2
- package/dist/globuscomponents/{p-d32c11d8.entry.js → p-b5d57e93.entry.js} +2 -2
- package/dist/globuscomponents/{p-a6d401af.entry.js → p-b65519f9.entry.js} +2 -2
- package/dist/globuscomponents/{p-bde2ee59.entry.js → p-ebe37817.entry.js} +2 -2
- package/dist/globuscomponents/p-ebe37817.entry.js.map +1 -0
- package/dist/globuscomponents/{p-cc42edb7.entry.js → p-f4d25885.entry.js} +2 -2
- package/dist/globuscomponents/p-f4d25885.entry.js.map +1 -0
- package/dist/globuscomponents/{p-aaa4b333.entry.js → p-f58cd21d.entry.js} +2 -2
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +11 -4
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +0 -1
- package/dist/types/components/gb-pagination-button-group-base/gb-pagination-button-group-base.d.ts +0 -3
- package/dist/types/components/gb-vertical-tabs/gb-vertical-tabs.d.ts +31 -0
- package/dist/types/components.d.ts +87 -12
- package/dist/types/models/reusableModels.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_44.cjs.entry.js.map +0 -1
- package/dist/components/p-14a5304b.js.map +0 -1
- package/dist/components/p-5be3a868.js.map +0 -1
- package/dist/components/p-6e7c1b3f.js.map +0 -1
- package/dist/components/p-787c9757.js.map +0 -1
- package/dist/components/p-c7c9cb57.js.map +0 -1
- package/dist/esm/gb-avatar_44.entry.js.map +0 -1
- package/dist/globuscomponents/p-7d1d376e.entry.js +0 -2
- package/dist/globuscomponents/p-bde2ee59.entry.js.map +0 -1
- package/dist/globuscomponents/p-cc42edb7.entry.js.map +0 -1
- package/dist/globuscomponents/p-d0045a1d.entry.js +0 -2
- package/dist/globuscomponents/p-eded0645.entry.js +0 -2
- /package/dist/globuscomponents/{p-d0045a1d.entry.js.map → p-09f97c9b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-eded0645.entry.js.map → p-123789b1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-641ddab7.entry.js.map → p-35a813fe.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d1a92423.entry.js.map → p-69239722.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7d1d376e.entry.js.map → p-a6568465.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b22b0186.entry.js.map → p-a786f9fa.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d32c11d8.entry.js.map → p-b5d57e93.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a6d401af.entry.js.map → p-b65519f9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-aaa4b333.entry.js.map → p-f58cd21d.entry.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["gbExportDropdownCss","GbExportDropdownStyle0","GbExportDropdown","onExportClicked","exportType","dataType","console","log","render","h","Fragment","key","class","type","state","StateEnum","Default","onMouseOver","this","showFirstSubDropdown","onMouseOut","showSecondSubDropdown","slot","onClick"],"sources":["src/components/gb-export-dropdown/gb-export-dropdown.css?tag=gb-export-dropdown&encapsulation=shadow","src/components/gb-export-dropdown/gb-export-dropdown.tsx"],"sourcesContent":["@import './../../global/global.css';\r\n\r\n.export_dropdown{\r\n display: flex;\r\n width: fit-content;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n gap: var(--spacing-none);\r\n border-radius: var(--rounded-sm);\r\n border: 1px solid var(--color-border-subtler, #E3E8EF);\r\n background: var(--color-surface, #FFFFFF);\r\n box-shadow: var(--shadow-sm);\r\n position: relative;\r\n}\r\n\r\n.first_dropdown{\r\n position: absolute;\r\n top: 6rem;\r\n left: -9.8rem;\r\n}\r\n\r\n.second_dropdown{\r\n position: absolute;\r\n top: 9rem;\r\n left: -9.8rem;\r\n}","import { Component, Event, EventEmitter, h, Prop, State, Fragment, Element } from \"@stencil/core\";\r\nimport { StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-export-dropdown',\r\n styleUrl: 'gb-export-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbExportDropdown {\r\n @Prop() state: StateEnum;\r\n @State() showFirstSubDropdown: boolean = false;\r\n @State() showSecondSubDropdown: boolean = false;\r\n @Event() exportClicked: EventEmitter<{exportType: string, dataType: string}>;\r\n @Element() el: HTMLElement;\r\n\r\n async onExportClicked(exportType: string, dataType: string) {\r\n // this.exportClicked.emit({exportType, dataType});\r\n console.log({ exportType, dataType });\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n <div class={`export_dropdown`}>\r\n <gb-export-dropdown-item\r\n type=\"pdf\"\r\n state={StateEnum.Default}\r\n onMouseOver={() => (this.showFirstSubDropdown = true)}\r\n onMouseOut={() => (this.showFirstSubDropdown = false)}\r\n ></gb-export-dropdown-item>\r\n <gb-export-dropdown-item\r\n type=\"csv\"\r\n state={StateEnum.Default}\r\n onMouseOver={() => (this.showSecondSubDropdown = true)}\r\n onMouseOut={() => (this.showSecondSubDropdown = false)}\r\n ></gb-export-dropdown-item>\r\n </div>\r\n {this.showFirstSubDropdown && (\r\n <gb-export-sub-dropdown class={`first_dropdown`} onMouseOver={() => (this.showFirstSubDropdown = true)} onMouseOut={() => (this.showFirstSubDropdown = false)}>\r\n <p slot=\"label_one\" onClick={() => this.onExportClicked('pdf', 'entire_data')}>\r\n Entire Data\r\n </p>\r\n <p slot=\"label_two\" onClick={() => this.onExportClicked('pdf', 'data_on_view')}>\r\n Data on view\r\n </p>\r\n <p slot=\"label_three\" onClick={() => this.onExportClicked('pdf', 'filtered_data')}>\r\n Filtered Data\r\n </p>\r\n </gb-export-sub-dropdown>\r\n )}\r\n {this.showSecondSubDropdown && (\r\n <gb-export-sub-dropdown class={`second_dropdown`} onMouseOver={() => (this.showSecondSubDropdown = true)} onMouseOut={() => (this.showSecondSubDropdown = false)}>\r\n <p slot=\"label_one\" onClick={() => this.onExportClicked('csv', 'entire_data')}>\r\n Entire Data\r\n </p>\r\n <p slot=\"label_two\" onClick={() => this.onExportClicked('csv', 'data_on_view')}>\r\n Data on view\r\n </p>\r\n <p slot=\"label_three\" onClick={() => this.onExportClicked('csv', 'filtered_data')}>\r\n Filtered Data\r\n </p>\r\n </gb-export-sub-dropdown>\r\n )}\r\n </>\r\n );\r\n }\r\n}"],"mappings":"+FAAA,MAAMA,EAAsB,y8oEAC5B,MAAAC,EAAeD,E,MCOFE,EAAgB,M,qHAEc,M,2BACC,K,CAI1C,qBAAMC,CAAgBC,EAAoBC,GAExCC,QAAQC,IAAI,CAAEH,aAAYC,Y,CAG5B,MAAAG,GACE,OACEC,EAAAC,EAAA,KACED,EAAA,OAAAE,IAAA,2CAAKC,MAAO,mBACVH,EAAA,2BAAAE,IAAA,2CACEE,KAAK,MACLC,MAAOC,EAAUC,QACjBC,YAAa,IAAOC,KAAKC,qBAAuB,KAChDC,WAAY,IAAOF,KAAKC,qBAAuB,QAEjDV,EAAA,2BAAAE,IAAA,2CACEE,KAAK,MACLC,MAAOC,EAAUC,QACjBC,YAAa,IAAOC,KAAKG,sBAAwB,KACjDD,WAAY,IAAOF,KAAKG,sBAAwB,SAGnDH,KAAKC,sBACJV,EAAA,0BAAAE,IAAA,2CAAwBC,MAAO,iBAAkBK,YAAa,IAAOC,KAAKC,qBAAuB,KAAOC,WAAY,IAAOF,KAAKC,qBAAuB,OACrJV,EAAA,KAAAE,IAAA,2CAAGW,KAAK,YAAYC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,gBAAc,eAG7EM,EAAA,KAAAE,IAAA,2CAAGW,KAAK,YAAYC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,iBAAe,gBAG9EM,EAAA,KAAAE,IAAA,2CAAGW,KAAK,cAAcC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,kBAAgB,kBAKpFe,KAAKG,uBACJZ,EAAA,0BAAAE,IAAA,2CAAwBC,MAAO,kBAAmBK,YAAa,IAAOC,KAAKG,sBAAwB,KAAOD,WAAY,IAAOF,KAAKG,sBAAwB,OACxJZ,EAAA,KAAAE,IAAA,2CAAGW,KAAK,YAAYC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,gBAAc,eAG7EM,EAAA,KAAAE,IAAA,2CAAGW,KAAK,YAAYC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,iBAAe,gBAG9EM,EAAA,KAAAE,IAAA,2CAAGW,KAAK,cAAcC,QAAS,IAAML,KAAKf,gBAAgB,MAAO,kBAAgB,kB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as i}from"./p-bf92be61.js";import{S as s}from"./p-47052b60.js";const a=".input_group{--height:auto;--inputheight:4.5rem;--weight:100%;display:flex;position:relative}.input_like_parent{width:100%;border:1px solid var(--color-border-input, #CDD5DF);border-radius:var(--rounded-sm);padding:0.625rem 0.875rem 0.625rem var(--spacing-3)}.input_like{width:100%;overflow-y:scroll;transition:height 50ms ease-in-out}.results_display{display:flex;flex-wrap:wrap;gap:0.5rem;background-color:var(--color-surface, #FFFFFF);display:none;margin-top:0.5rem}.results_display.show_results{display:block}.tags{padding-top:1rem}.dropdown_list.show{display:block}.dropdown_menu{display:flex;width:100%;max-height:15rem;padding:var(--spacing-none);flex-direction:column;align-items:stretch;border-radius:var(--rounded-sm);border:1px solid var(--color-border-subtler, #E3E8EF);background:var(--color-surface, #FFFFFF);box-shadow:var(--shadow-sm);position:absolute;top:100%;z-index:10;gap:var(--spacing-none);transition:1s ease-in-out}";const o=a;const r=class{constructor(i){e(this,i);this.exportValue=t(this,"exportValue",7);this.idOfInput=undefined;this.type=undefined;this.labelText=undefined;this.isReadOnly=false;this.placeholderText="Search for staff...";this.show=false;this.showSpinner=false;this.staffInfo=[];this.selectedStaff=[];this.paddingLeft="1rem";this.paddingTop="0rem";this.inputValue="";this.dropdownOpen=false}componentDidLoad(){this.inputElement.addEventListener("input",this.handleTagInput.bind(this))}disconnectedCallback(){this.inputElement.removeEventListener("input",this.handleTagInput.bind(this))}handleTagInput(e){const t=e.target;const i=t.value;this.inputValue=i;if(i.trim()===""){this.show=false;this.staffInfo=[];return}this.showSpinner=true;setTimeout((()=>{this.staffInfo=this.mockStaffSearch(i);this.show=this.staffInfo.length>0;this.showSpinner=false}),1e3)}mockStaffSearch(e){const t=[{fullname:"John Doe",email:"john.doe@example.com"},{fullname:"Jane Smith",email:"jane.smith@example.com"},{fullname:"Alice Johnson",email:"alice.johnson@example.com"},{fullname:"Emmanuel Kadiri",email:"kadiri2047@gmail.com"},{fullname:"Gideon Ogunkola",email:"gideon@example.com"}];return t.filter((t=>t.fullname.toLowerCase().includes(e.toLowerCase())))}selectStaff(e){this.selectedStaff=[...this.selectedStaff,e];this.inputValue="";this.staffInfo=[];this.show=false;this.updateStyles()}removeStaff(e){this.selectedStaff=[...this.selectedStaff.slice(0,e),...this.selectedStaff.slice(e+1)];this.updateStyles()}updateStyles(){setTimeout((()=>{if(this.resultsDisplayElement){const e=this.resultsDisplayElement.offsetWidth;this.paddingLeft=this.selectedStaff.length===0?"1rem":`${e+10}px`;this.paddingTop=this.selectedStaff.length>2?"1rem":"0rem"}}))}exportSelectedStaff(){this.exportValue.emit(this.selectedStaff)}render(){return i("div",{key:"bde62a4e2059ed1df74e30d3b732efd051c9c9d8",class:"input_group",ref:e=>this.inputGroupElement=e},i("label",{key:"4a76f76a9437aebb1c3057a1267c9e47788ac994",htmlFor:this.idOfInput},this.labelText),i("div",{key:"197705f10177f57705ceaf4ae86abd5fd2f00998",class:"input_like_parent",onClick:()=>this.dropdownOpen=!this.dropdownOpen},i("input",{key:"1a0637033e501909fe2473e0eeee23a089651ec6",id:this.idOfInput,class:"input_like",type:"text",placeholder:this.placeholderText,value:this.inputValue,readOnly:this.isReadOnly,ref:e=>this.inputElement=e,onBlur:()=>this.exportSelectedStaff()}),i("div",{key:"b5b3bb593f27d5983c87b1196c2d1ccd456f5b9a",class:`results_display ${this.selectedStaff.length>=1?"show_results":""}`,ref:e=>this.resultsDisplayElement=e},this.selectedStaff.map(((e,t)=>i("gb-tag",{size:"sm",action:"X_close",icon:"avatar",onClick:()=>this.removeStaff(t)},i("h1",{slot:"initials"},e.fullname.split(" ").map((e=>e.charAt(0).toUpperCase()))),i("p",null,e.fullname.split(" ")[0])))))),this.show&&i("div",{key:"20c9da7c07abcab7b527c5690772732106132da2",class:`dropdown_menu ${this.show?"show":""}`},this.staffInfo.map((e=>i("gb-input-dropdown-menu-item",{type:"checkbox","supporting-text":true,state:s.Default,onClick:()=>this.selectStaff(e)},i("p",{slot:"name"},e.fullname),i("p",{slot:"supporting_text"},e.email))))))}};r.style=o;export{r as test_input_tag};
|
|
2
|
-
//# sourceMappingURL=p-d0045a1d.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as d,h as e}from"./p-bf92be61.js";const s="";const t=s;const i=class{constructor(e){d(this,e);this.size=undefined;this.type=undefined;this.color="gray_light_bg";this.framed=false}render(){return e("div",{key:"07ec77d53f8dd3cf495f5ba9ae75434677fd9400",class:"dot_group_div"},e("div",{key:"53c550aa31df4fdedb450bb725e75ced8ed07dca"}))}};i.style=t;export{i as gb_pagination_dot_group};
|
|
2
|
-
//# sourceMappingURL=p-eded0645.entry.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|