@beeq/core 1.12.2-beta.0 → 1.12.3-beta.0
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/beeq/beeq.esm.js +1 -44
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +1 -69
- package/dist/beeq/p-026cfacc.entry.js +6 -0
- package/dist/beeq/p-026cfacc.entry.js.map +1 -0
- package/dist/beeq/p-061d53de.entry.js +6 -0
- package/dist/beeq/p-061d53de.entry.js.map +1 -0
- package/dist/beeq/{p-9a78587d.entry.js → p-08fef3d3.entry.js} +2 -134
- package/dist/beeq/p-08fef3d3.entry.js.map +1 -0
- package/dist/beeq/p-12d9420b.entry.js +6 -0
- package/dist/beeq/p-12d9420b.entry.js.map +1 -0
- package/dist/beeq/p-17454929.entry.js +6 -0
- package/dist/beeq/p-17454929.entry.js.map +1 -0
- package/dist/beeq/{p-ff327b98.entry.js → p-1bce390d.entry.js} +2 -116
- package/dist/beeq/p-1bce390d.entry.js.map +1 -0
- package/dist/beeq/p-1c09c7c0.entry.js +6 -0
- package/dist/beeq/p-1c09c7c0.entry.js.map +1 -0
- package/dist/beeq/p-1f819545.entry.js +6 -0
- package/dist/beeq/p-1f819545.entry.js.map +1 -0
- package/dist/beeq/p-292a8a40.entry.js +6 -0
- package/dist/beeq/p-292a8a40.entry.js.map +1 -0
- package/dist/beeq/p-2ec4fbf0.entry.js +6 -0
- package/dist/beeq/p-2ec4fbf0.entry.js.map +1 -0
- package/dist/beeq/p-34125078.entry.js +6 -0
- package/dist/beeq/p-34125078.entry.js.map +1 -0
- package/dist/beeq/{p-6b68123f.entry.js → p-36e8e717.entry.js} +2 -246
- package/dist/beeq/p-36e8e717.entry.js.map +1 -0
- package/dist/beeq/p-37f739f5.entry.js +6 -0
- package/dist/beeq/p-37f739f5.entry.js.map +1 -0
- package/dist/beeq/p-38a7015c.entry.js +6 -0
- package/dist/{components/p-CXLw0i9p.js.map → beeq/p-38a7015c.entry.js.map} +1 -1
- package/dist/beeq/p-4aa539d7.entry.js +6 -0
- package/dist/beeq/p-4aa539d7.entry.js.map +1 -0
- package/dist/beeq/p-51074699.entry.js +6 -0
- package/dist/beeq/p-51074699.entry.js.map +1 -0
- package/dist/beeq/p-64123cb2.entry.js +6 -0
- package/dist/beeq/p-64123cb2.entry.js.map +1 -0
- package/dist/beeq/{p-426fd908.entry.js → p-6a70511e.entry.js} +2 -211
- package/dist/beeq/p-6a70511e.entry.js.map +1 -0
- package/dist/beeq/{p-1011ae42.entry.js → p-7c9c6561.entry.js} +2 -89
- package/dist/beeq/p-7c9c6561.entry.js.map +1 -0
- package/dist/beeq/p-7e73ea84.entry.js +6 -0
- package/dist/beeq/p-7e73ea84.entry.js.map +1 -0
- package/dist/beeq/p-84db8789.entry.js +6 -0
- package/dist/beeq/p-84db8789.entry.js.map +1 -0
- package/dist/beeq/p-85af346a.entry.js +6 -0
- package/dist/beeq/p-85af346a.entry.js.map +1 -0
- package/dist/beeq/p-B4sM1t6Z.js +1 -8
- package/dist/beeq/p-BNvWMggA.js +1 -23
- package/dist/beeq/p-BRMw_HGf.js +1 -8
- package/dist/beeq/p-BRbYDZoo.js +1 -10
- package/dist/beeq/p-BcPwGxIn.js +1 -9
- package/dist/beeq/p-BsSDkLU5.js +1 -26
- package/dist/beeq/p-CCNjsDdb.js +1 -88
- package/dist/beeq/p-CVw85-WU.js +1 -64
- package/dist/beeq/p-Cau9SvT4.js +1 -12
- package/dist/beeq/p-CmKvDWiL.js +1 -1782
- package/dist/beeq/p-CpKQ7XUL.js +1 -284
- package/dist/beeq/p-D1A0LpG_.js +1 -10
- package/dist/beeq/p-DdvbF5yL.js +1 -119
- package/dist/beeq/p-DnkZCdMA.js +1 -8
- package/dist/beeq/p-Ds7rcaFH.js +1 -65
- package/dist/beeq/p-Dx-CEPSQ.js +1 -13
- package/dist/beeq/p-XbB3xSTR.js +7 -0
- package/dist/beeq/p-XbB3xSTR.js.map +1 -0
- package/dist/beeq/p-_RvVpeh2.js +1 -29
- package/dist/beeq/p-a4e6c238.entry.js +6 -0
- package/dist/beeq/p-a4e6c238.entry.js.map +1 -0
- package/dist/beeq/p-ab690c8e.entry.js +6 -0
- package/dist/beeq/p-ab690c8e.entry.js.map +1 -0
- package/dist/beeq/p-ad86b7ee.entry.js +6 -0
- package/dist/beeq/p-ad86b7ee.entry.js.map +1 -0
- package/dist/beeq/p-b31ab8df.entry.js +6 -0
- package/dist/beeq/p-b31ab8df.entry.js.map +1 -0
- package/dist/beeq/p-b4f1b67f.entry.js +6 -0
- package/dist/beeq/p-b4f1b67f.entry.js.map +1 -0
- package/dist/beeq/{p-8b5934a3.entry.js → p-bcd26036.entry.js} +2 -154
- package/dist/beeq/p-bcd26036.entry.js.map +1 -0
- package/dist/beeq/{p-11671252.entry.js → p-c08c4c7b.entry.js} +2 -124
- package/dist/beeq/p-c08c4c7b.entry.js.map +1 -0
- package/dist/{components/p-CXLw0i9p.js → beeq/p-c3013171.entry.js} +2 -291
- package/dist/beeq/p-c3013171.entry.js.map +1 -0
- package/dist/beeq/p-ce975008.entry.js +6 -0
- package/dist/beeq/p-ce975008.entry.js.map +1 -0
- package/dist/beeq/{p-db09cc1e.entry.js → p-cf843f3a.entry.js} +2 -83
- package/dist/beeq/p-cf843f3a.entry.js.map +1 -0
- package/dist/beeq/p-d1f4ce2e.entry.js +6 -0
- package/dist/beeq/p-d1f4ce2e.entry.js.map +1 -0
- package/dist/beeq/p-d6edf4cb.entry.js +6 -0
- package/dist/beeq/p-d6edf4cb.entry.js.map +1 -0
- package/dist/beeq/p-e38637a0.entry.js +6 -0
- package/dist/beeq/p-e38637a0.entry.js.map +1 -0
- package/dist/beeq/p-ec4c7f14.entry.js +6 -0
- package/dist/beeq/p-ec4c7f14.entry.js.map +1 -0
- package/dist/beeq/p-f3c8eda1.entry.js +6 -0
- package/dist/beeq/p-f3c8eda1.entry.js.map +1 -0
- package/dist/beeq/{p-1aba3eec.entry.js → p-f86bbd71.entry.js} +2 -146
- package/dist/beeq/p-f86bbd71.entry.js.map +1 -0
- package/dist/beeq/p-ff68b62f.entry.js +6 -0
- package/dist/beeq/p-ff68b62f.entry.js.map +1 -0
- package/dist/beeq/p-lysmVw2n.js +1 -12
- package/dist/beeq/p-uqkxeAeG.js +1 -88
- package/dist/beeq/p-zh4P02Kn.js +1 -21
- package/dist/beeq/scripts/esm-loader.js +24 -0
- package/dist/beeq/scripts/zeroheight-svg-loader.js +22 -0
- package/dist/beeq.html-custom-data.json +198 -198
- package/dist/cjs/beeq.cjs.js +2 -3
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -3
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +14 -15
- package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +14 -15
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +13 -14
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +9 -10
- package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -3
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +7 -8
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +19 -20
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +7 -8
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +5 -6
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +20 -21
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +15 -16
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +15 -16
- package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +19 -20
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +7 -8
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +26 -27
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +22 -23
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +12 -13
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +2 -3
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +11 -12
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +15 -16
- package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +11 -12
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +13 -14
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +2 -3
- package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +9 -10
- package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +31 -32
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +6 -7
- package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu.cjs.entry.js +4 -5
- package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +23 -24
- package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +10 -11
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +2 -3
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +17 -18
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +3 -4
- package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +10 -11
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +8 -9
- package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +5 -6
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +16 -17
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +2 -3
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +9 -10
- package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-BwvwUnfB.js → index-Bp6IQmE_.js} +68 -22
- package/dist/cjs/index-Bp6IQmE_.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/components/accordion/bq-accordion.js +14 -14
- package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
- package/dist/collection/components/accordion-group/bq-accordion-group.js +2 -2
- package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
- package/dist/collection/components/alert/bq-alert.js +14 -15
- package/dist/collection/components/alert/bq-alert.js.map +1 -1
- package/dist/collection/components/avatar/bq-avatar.js +13 -14
- package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
- package/dist/collection/components/badge/bq-badge.js +9 -10
- package/dist/collection/components/badge/bq-badge.js.map +1 -1
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js +6 -7
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/bq-button.js +18 -19
- package/dist/collection/components/button/bq-button.js.map +1 -1
- package/dist/collection/components/card/bq-card.js +7 -8
- package/dist/collection/components/card/bq-card.js.map +1 -1
- package/dist/collection/components/checkbox/bq-checkbox.js +5 -5
- package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
- package/dist/collection/components/date-picker/bq-date-picker.js +20 -20
- package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
- package/dist/collection/components/dialog/bq-dialog.js +15 -15
- package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
- package/dist/collection/components/divider/bq-divider.js +15 -16
- package/dist/collection/components/divider/bq-divider.js.map +1 -1
- package/dist/collection/components/drawer/bq-drawer.js +19 -20
- package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
- package/dist/collection/components/dropdown/bq-dropdown.js +2 -2
- package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
- package/dist/collection/components/empty-state/bq-empty-state.js +26 -26
- package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
- package/dist/collection/components/icon/bq-icon.js +2 -3
- package/dist/collection/components/icon/bq-icon.js.map +1 -1
- package/dist/collection/components/input/bq-input.js +22 -22
- package/dist/collection/components/input/bq-input.js.map +1 -1
- package/dist/collection/components/notification/bq-notification.js +12 -13
- package/dist/collection/components/notification/bq-notification.js.map +1 -1
- package/dist/collection/components/option/bq-option.js +15 -16
- package/dist/collection/components/option/bq-option.js.map +1 -1
- package/dist/collection/components/option-group/bq-option-group.js +2 -2
- package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
- package/dist/collection/components/option-list/bq-option-list.js +2 -2
- package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
- package/dist/collection/components/page-title/bq-page-title.js +11 -11
- package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
- package/dist/collection/components/panel/bq-panel.js +3 -3
- package/dist/collection/components/panel/bq-panel.js.map +1 -1
- package/dist/collection/components/progress/bq-progress.js +13 -14
- package/dist/collection/components/progress/bq-progress.js.map +1 -1
- package/dist/collection/components/radio/bq-radio.js +9 -10
- package/dist/collection/components/radio/bq-radio.js.map +1 -1
- package/dist/collection/components/radio-group/bq-radio-group.js +2 -3
- package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
- package/dist/collection/components/select/bq-select.js +27 -27
- package/dist/collection/components/select/bq-select.js.map +1 -1
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/side-menu/bq-side-menu.js +4 -4
- package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js +6 -6
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
- package/dist/collection/components/slider/bq-slider.js +23 -23
- package/dist/collection/components/slider/bq-slider.js.map +1 -1
- package/dist/collection/components/spinner/bq-spinner.js +10 -10
- package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
- package/dist/collection/components/status/bq-status.js +2 -2
- package/dist/collection/components/status/bq-status.js.map +1 -1
- package/dist/collection/components/step-item/bq-step-item.js +16 -16
- package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/steps/bq-steps.js +3 -3
- package/dist/collection/components/steps/bq-steps.js.map +1 -1
- package/dist/collection/components/switch/bq-switch.js +10 -11
- package/dist/collection/components/switch/bq-switch.js.map +1 -1
- package/dist/collection/components/tab/bq-tab.js +5 -5
- package/dist/collection/components/tab/bq-tab.js.map +1 -1
- package/dist/collection/components/tab-group/bq-tab-group.js +8 -9
- package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
- package/dist/collection/components/tag/bq-tag.js +10 -11
- package/dist/collection/components/tag/bq-tag.js.map +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/collection/components/textarea/bq-textarea.js +16 -16
- package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
- package/dist/collection/components/toast/bq-toast.js +2 -3
- package/dist/collection/components/toast/bq-toast.js.map +1 -1
- package/dist/collection/components/tooltip/bq-tooltip.js +8 -8
- package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
- package/dist/collection/global/scripts/esm-loader.js +23 -6
- package/dist/collection/scripts/esm-loader.js +24 -0
- package/dist/collection/scripts/zeroheight-svg-loader.js +22 -0
- package/dist/components/bq-accordion-group.js +1 -157
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +1 -444
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +1 -354
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +1 -206
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +1 -8
- package/dist/components/bq-breadcrumb-item.js +1 -129
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +1 -138
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +1 -8
- package/dist/components/bq-card.js +1 -118
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +1 -314
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1 -1113
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +1 -347
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +1 -8
- package/dist/components/bq-drawer.js +1 -356
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +1 -8
- package/dist/components/bq-empty-state.js +1 -192
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +1 -8
- package/dist/components/bq-input.js +1 -502
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +1 -381
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +1 -104
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +1 -8
- package/dist/components/bq-option.js +1 -200
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +1 -150
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +1 -8
- package/dist/components/bq-progress.js +1 -220
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +1 -457
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +1 -219
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +1 -794
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +1 -181
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +1 -200
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +1 -443
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +1 -248
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +1 -119
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +1 -236
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +1 -175
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +1 -330
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +1 -273
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +1 -248
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +1 -8
- package/dist/components/bq-textarea.js +1 -393
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +1 -281
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +1 -8
- package/dist/components/index.js +1 -149
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-4z5qnOaY.js +6 -0
- package/dist/components/p-4z5qnOaY.js.map +1 -0
- package/dist/components/p-8mobOXPw.js +6 -0
- package/dist/components/p-8mobOXPw.js.map +1 -0
- package/dist/components/p-B4sM1t6Z.js +1 -8
- package/dist/components/p-B4sM1t6Z.js.map +1 -1
- package/dist/components/p-BHxv_w2i.js +6 -0
- package/dist/components/p-BHxv_w2i.js.map +1 -0
- package/dist/components/p-BRMw_HGf.js +1 -8
- package/dist/components/p-BRMw_HGf.js.map +1 -1
- package/dist/components/p-BRbYDZoo.js +1 -10
- package/dist/components/p-BRbYDZoo.js.map +1 -1
- package/dist/components/p-BcPwGxIn.js +1 -9
- package/dist/components/p-BcPwGxIn.js.map +1 -1
- package/dist/components/{p-C8_OKNHL.js → p-Br5pwRAS.js} +2 -221
- package/dist/components/p-Br5pwRAS.js.map +1 -0
- package/dist/components/p-BsSDkLU5.js +1 -26
- package/dist/components/p-BsSDkLU5.js.map +1 -1
- package/dist/components/p-C4FuG35Q.js +6 -0
- package/dist/components/p-C4FuG35Q.js.map +1 -0
- package/dist/components/p-CVw85-WU.js +1 -64
- package/dist/components/p-CVw85-WU.js.map +1 -1
- package/dist/components/p-CmKvDWiL.js +1 -1782
- package/dist/components/p-CmKvDWiL.js.map +1 -1
- package/dist/components/p-D1A0LpG_.js +1 -10
- package/dist/components/p-D1A0LpG_.js.map +1 -1
- package/dist/components/p-D97CZ-cz.js +6 -0
- package/dist/components/p-D97CZ-cz.js.map +1 -0
- package/dist/components/p-DDVIIUm1.js +6 -0
- package/dist/components/p-DDVIIUm1.js.map +1 -0
- package/dist/components/p-DSdUt2Ay.js +6 -0
- package/dist/components/p-DSdUt2Ay.js.map +1 -0
- package/dist/components/p-DdvbF5yL.js +1 -119
- package/dist/components/p-DdvbF5yL.js.map +1 -1
- package/dist/components/p-Dla7kvqV.js +6 -0
- package/dist/components/p-Dla7kvqV.js.map +1 -0
- package/dist/components/p-DnkZCdMA.js +1 -8
- package/dist/components/p-DnkZCdMA.js.map +1 -1
- package/dist/components/{p-YyF6_fWE.js → p-DoX6g7vo.js} +2 -381
- package/dist/components/p-DoX6g7vo.js.map +1 -0
- package/dist/components/p-Dx-CEPSQ.js +1 -13
- package/dist/components/p-Dx-CEPSQ.js.map +1 -1
- package/dist/components/p-_RvVpeh2.js +1 -29
- package/dist/components/p-_RvVpeh2.js.map +1 -1
- package/dist/components/p-lysmVw2n.js +1 -12
- package/dist/components/p-lysmVw2n.js.map +1 -1
- package/dist/components/p-uqkxeAeG.js +1 -88
- package/dist/components/p-uqkxeAeG.js.map +1 -1
- package/dist/components/p-zh4P02Kn.js +1 -21
- package/dist/components/p-zh4P02Kn.js.map +1 -1
- package/dist/custom-elements.json +5184 -5184
- package/dist/esm/beeq.js +2 -3
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +2 -3
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +14 -15
- package/dist/esm/bq-accordion.entry.js.map +1 -1
- package/dist/esm/bq-alert.entry.js +14 -15
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +13 -14
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +9 -10
- package/dist/esm/bq-badge.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -3
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +7 -8
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +19 -20
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +7 -8
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +5 -6
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +20 -21
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +15 -16
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +15 -16
- package/dist/esm/bq-divider.entry.js.map +1 -1
- package/dist/esm/bq-drawer.entry.js +19 -20
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +5 -6
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +26 -27
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +22 -23
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +12 -13
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +2 -3
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +11 -12
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +15 -16
- package/dist/esm/bq-option.entry.js.map +1 -1
- package/dist/esm/bq-page-title.entry.js +11 -12
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +13 -14
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +2 -3
- package/dist/esm/bq-radio-group.entry.js.map +1 -1
- package/dist/esm/bq-radio.entry.js +9 -10
- package/dist/esm/bq-radio.entry.js.map +1 -1
- package/dist/esm/bq-select.entry.js +28 -29
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +6 -7
- package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
- package/dist/esm/bq-side-menu.entry.js +4 -5
- package/dist/esm/bq-side-menu.entry.js.map +1 -1
- package/dist/esm/bq-slider.entry.js +23 -24
- package/dist/esm/bq-slider.entry.js.map +1 -1
- package/dist/esm/bq-spinner.entry.js +10 -11
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +2 -3
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +17 -18
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +3 -4
- package/dist/esm/bq-steps.entry.js.map +1 -1
- package/dist/esm/bq-switch.entry.js +10 -11
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +8 -9
- package/dist/esm/bq-tab-group.entry.js.map +1 -1
- package/dist/esm/bq-tab.entry.js +5 -6
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +16 -17
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +2 -3
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +9 -10
- package/dist/esm/bq-tooltip.entry.js.map +1 -1
- package/dist/esm/{index-D0hQxkOP.js → index-XbB3xSTR.js} +67 -23
- package/dist/esm/index-XbB3xSTR.js.map +1 -0
- package/dist/esm/loader.js +2 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/hydrate/index.js +413 -417
- package/dist/hydrate/index.mjs +413 -417
- package/dist/stencil.config.js +1 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/accordion/bq-accordion.d.ts +1 -1
- package/dist/types/components/accordion-group/bq-accordion-group.d.ts +1 -1
- package/dist/types/components/alert/bq-alert.d.ts +1 -1
- package/dist/types/components/avatar/bq-avatar.d.ts +1 -1
- package/dist/types/components/badge/bq-badge.d.ts +1 -1
- package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -1
- package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +1 -1
- package/dist/types/components/button/bq-button.d.ts +1 -1
- package/dist/types/components/card/bq-card.d.ts +1 -1
- package/dist/types/components/checkbox/bq-checkbox.d.ts +1 -1
- package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -1
- package/dist/types/components/dialog/bq-dialog.d.ts +1 -1
- package/dist/types/components/divider/bq-divider.d.ts +1 -1
- package/dist/types/components/drawer/bq-drawer.d.ts +1 -1
- package/dist/types/components/dropdown/bq-dropdown.d.ts +1 -1
- package/dist/types/components/empty-state/bq-empty-state.d.ts +1 -1
- package/dist/types/components/icon/bq-icon.d.ts +1 -1
- package/dist/types/components/input/bq-input.d.ts +1 -1
- package/dist/types/components/notification/bq-notification.d.ts +1 -1
- package/dist/types/components/option/bq-option.d.ts +1 -1
- package/dist/types/components/option-group/bq-option-group.d.ts +1 -1
- package/dist/types/components/option-list/bq-option-list.d.ts +1 -1
- package/dist/types/components/page-title/bq-page-title.d.ts +1 -1
- package/dist/types/components/panel/bq-panel.d.ts +1 -1
- package/dist/types/components/progress/bq-progress.d.ts +1 -1
- package/dist/types/components/radio/bq-radio.d.ts +1 -1
- package/dist/types/components/radio-group/bq-radio-group.d.ts +1 -1
- package/dist/types/components/select/bq-select.d.ts +1 -1
- package/dist/types/components/side-menu/bq-side-menu.d.ts +1 -1
- package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +1 -1
- package/dist/types/components/slider/bq-slider.d.ts +1 -1
- package/dist/types/components/spinner/bq-spinner.d.ts +1 -1
- package/dist/types/components/status/bq-status.d.ts +1 -1
- package/dist/types/components/step-item/bq-step-item.d.ts +1 -1
- package/dist/types/components/steps/bq-steps.d.ts +1 -1
- package/dist/types/components/switch/bq-switch.d.ts +1 -1
- package/dist/types/components/tab/bq-tab.d.ts +1 -1
- package/dist/types/components/tab-group/bq-tab-group.d.ts +1 -1
- package/dist/types/components/tag/bq-tag.d.ts +1 -1
- package/dist/types/components/textarea/bq-textarea.d.ts +1 -1
- package/dist/types/components/toast/bq-toast.d.ts +1 -1
- package/dist/types/components/tooltip/bq-tooltip.d.ts +1 -1
- package/package.json +1 -1
- package/dist/beeq/p-1011ae42.entry.js.map +0 -1
- package/dist/beeq/p-110c262d.entry.js +0 -173
- package/dist/beeq/p-110c262d.entry.js.map +0 -1
- package/dist/beeq/p-11671252.entry.js.map +0 -1
- package/dist/beeq/p-11fcb99b.entry.js +0 -281
- package/dist/beeq/p-11fcb99b.entry.js.map +0 -1
- package/dist/beeq/p-1aba3eec.entry.js.map +0 -1
- package/dist/beeq/p-20162842.entry.js +0 -151
- package/dist/beeq/p-20162842.entry.js.map +0 -1
- package/dist/beeq/p-3a4c4de9.entry.js +0 -188
- package/dist/beeq/p-3a4c4de9.entry.js.map +0 -1
- package/dist/beeq/p-426fd908.entry.js.map +0 -1
- package/dist/beeq/p-47571092.entry.js +0 -289
- package/dist/beeq/p-47571092.entry.js.map +0 -1
- package/dist/beeq/p-49e90223.entry.js +0 -86
- package/dist/beeq/p-49e90223.entry.js.map +0 -1
- package/dist/beeq/p-4b00a155.entry.js +0 -747
- package/dist/beeq/p-4b00a155.entry.js.map +0 -1
- package/dist/beeq/p-54ddd09f.entry.js +0 -392
- package/dist/beeq/p-54ddd09f.entry.js.map +0 -1
- package/dist/beeq/p-6b68123f.entry.js.map +0 -1
- package/dist/beeq/p-6d708caf.entry.js +0 -339
- package/dist/beeq/p-6d708caf.entry.js.map +0 -1
- package/dist/beeq/p-70607940.entry.js +0 -174
- package/dist/beeq/p-70607940.entry.js.map +0 -1
- package/dist/beeq/p-72c376a9.entry.js +0 -165
- package/dist/beeq/p-72c376a9.entry.js.map +0 -1
- package/dist/beeq/p-78bbd845.entry.js +0 -109
- package/dist/beeq/p-78bbd845.entry.js.map +0 -1
- package/dist/beeq/p-8012f01d.entry.js +0 -556
- package/dist/beeq/p-8012f01d.entry.js.map +0 -1
- package/dist/beeq/p-8b5934a3.entry.js.map +0 -1
- package/dist/beeq/p-94c2081a.entry.js +0 -681
- package/dist/beeq/p-94c2081a.entry.js.map +0 -1
- package/dist/beeq/p-95979cb0.entry.js +0 -289
- package/dist/beeq/p-95979cb0.entry.js.map +0 -1
- package/dist/beeq/p-978b2249.entry.js +0 -196
- package/dist/beeq/p-978b2249.entry.js.map +0 -1
- package/dist/beeq/p-9a78587d.entry.js.map +0 -1
- package/dist/beeq/p-BtYhUEAn.js +0 -9
- package/dist/beeq/p-BtYhUEAn.js.map +0 -1
- package/dist/beeq/p-C33fRBEf.js +0 -156
- package/dist/beeq/p-C33fRBEf.js.map +0 -1
- package/dist/beeq/p-D0hQxkOP.js +0 -2816
- package/dist/beeq/p-D0hQxkOP.js.map +0 -1
- package/dist/beeq/p-ac7cd72b.entry.js +0 -322
- package/dist/beeq/p-ac7cd72b.entry.js.map +0 -1
- package/dist/beeq/p-ae85a23a.entry.js +0 -408
- package/dist/beeq/p-ae85a23a.entry.js.map +0 -1
- package/dist/beeq/p-b0f9a0cb.entry.js +0 -296
- package/dist/beeq/p-b0f9a0cb.entry.js.map +0 -1
- package/dist/beeq/p-b194e120.entry.js +0 -293
- package/dist/beeq/p-b194e120.entry.js.map +0 -1
- package/dist/beeq/p-b2858324.entry.js +0 -210
- package/dist/beeq/p-b2858324.entry.js.map +0 -1
- package/dist/beeq/p-c34fc2c7.entry.js +0 -351
- package/dist/beeq/p-c34fc2c7.entry.js.map +0 -1
- package/dist/beeq/p-c630a8b8.entry.js +0 -442
- package/dist/beeq/p-c630a8b8.entry.js.map +0 -1
- package/dist/beeq/p-cb9b1edc.entry.js +0 -232
- package/dist/beeq/p-cb9b1edc.entry.js.map +0 -1
- package/dist/beeq/p-cc6b349e.entry.js +0 -172
- package/dist/beeq/p-cc6b349e.entry.js.map +0 -1
- package/dist/beeq/p-d0edfaa5.entry.js +0 -388
- package/dist/beeq/p-d0edfaa5.entry.js.map +0 -1
- package/dist/beeq/p-db09cc1e.entry.js.map +0 -1
- package/dist/beeq/p-f6d82c39.entry.js +0 -206
- package/dist/beeq/p-f6d82c39.entry.js.map +0 -1
- package/dist/beeq/p-f83010e9.entry.js +0 -118
- package/dist/beeq/p-f83010e9.entry.js.map +0 -1
- package/dist/beeq/p-f97c679f.entry.js +0 -233
- package/dist/beeq/p-f97c679f.entry.js.map +0 -1
- package/dist/beeq/p-ff327b98.entry.js.map +0 -1
- package/dist/beeq/p-ff73f344.entry.js +0 -396
- package/dist/beeq/p-ff73f344.entry.js.map +0 -1
- package/dist/cjs/app-globals-BY_z0SzA.js +0 -12
- package/dist/cjs/app-globals-BY_z0SzA.js.map +0 -1
- package/dist/cjs/index-BwvwUnfB.js.map +0 -1
- package/dist/cjs/index-C09ZVaB4.js +0 -154
- package/dist/cjs/index-C09ZVaB4.js.map +0 -1
- package/dist/components/p-C8_OKNHL.js.map +0 -1
- package/dist/components/p-C97BzPa8.js +0 -177
- package/dist/components/p-C97BzPa8.js.map +0 -1
- package/dist/components/p-CMejKLsB.js +0 -248
- package/dist/components/p-CMejKLsB.js.map +0 -1
- package/dist/components/p-DBPU_cIr.js +0 -338
- package/dist/components/p-DBPU_cIr.js.map +0 -1
- package/dist/components/p-DDCN9O42.js +0 -2669
- package/dist/components/p-DDCN9O42.js.map +0 -1
- package/dist/components/p-DHhUeR-_.js +0 -377
- package/dist/components/p-DHhUeR-_.js.map +0 -1
- package/dist/components/p-DSqLegVR.js +0 -100
- package/dist/components/p-DSqLegVR.js.map +0 -1
- package/dist/components/p-YyF6_fWE.js.map +0 -1
- package/dist/components/p-qOL6hl5s.js +0 -298
- package/dist/components/p-qOL6hl5s.js.map +0 -1
- package/dist/esm/app-globals-BtYhUEAn.js +0 -10
- package/dist/esm/app-globals-BtYhUEAn.js.map +0 -1
- package/dist/esm/index-C33fRBEf.js +0 -151
- package/dist/esm/index-C33fRBEf.js.map +0 -1
- package/dist/esm/index-D0hQxkOP.js.map +0 -1
|
@@ -2,798 +2,5 @@
|
|
|
2
2
|
* Built by Endavans
|
|
3
3
|
* © https://beeq.design - Apache 2 License.
|
|
4
4
|
*/
|
|
5
|
-
import { p as e, H as r, c as a, d as t, j as b, t as n } from "./p-DDCN9O42.js";
|
|
6
|
-
|
|
7
|
-
import { d as i } from "./p-CVw85-WU.js";
|
|
8
|
-
|
|
9
|
-
import { i as s } from "./p-BRbYDZoo.js";
|
|
10
|
-
|
|
11
|
-
import { i as o } from "./p-D1A0LpG_.js";
|
|
12
|
-
|
|
13
|
-
import { i as l } from "./p-BcPwGxIn.js";
|
|
14
|
-
|
|
15
|
-
import { b as q } from "./p-uqkxeAeG.js";
|
|
16
|
-
|
|
17
|
-
import { i as c } from "./p-lysmVw2n.js";
|
|
18
|
-
|
|
19
|
-
import { d } from "./p-DBPU_cIr.js";
|
|
20
|
-
|
|
21
|
-
import { d as u } from "./p-C8_OKNHL.js";
|
|
22
|
-
|
|
23
|
-
import { d as v } from "./p-YyF6_fWE.js";
|
|
24
|
-
|
|
25
|
-
import { d as f } from "./p-DSqLegVR.js";
|
|
26
|
-
|
|
27
|
-
import { d as g } from "./p-qOL6hl5s.js";
|
|
28
|
-
|
|
29
|
-
import { d as h } from "./p-DHhUeR-_.js";
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Converts a string or array to an array.
|
|
33
|
-
*
|
|
34
|
-
* @param {string | string[]} value - The value to convert.
|
|
35
|
-
* @return {string[]} The converted array.
|
|
36
|
-
* @throws {Error} If the input string is not a valid JSON array
|
|
37
|
-
*/ const stringToArray = e => {
|
|
38
|
-
if (c(e) && s(e)) {
|
|
39
|
-
try {
|
|
40
|
-
return Array.from(JSON.parse(String(e)));
|
|
41
|
-
} catch (e) {
|
|
42
|
-
throw new Error(`Failed to parse string to array. Input must be a valid JSON array string. Details: ${e.message}`);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return Array.isArray(e) ? e : [];
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const bqSelectCss = () => `.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.m-0{margin:0}.me-\\[--bq-select--gap\\]{margin-inline-end:var(--bq-select--gap)}.me-xs2{margin-inline-end:var(--bq-spacing-xs2)}.ms-\\[--bq-select--gap\\]{margin-inline-start:var(--bq-select--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.cursor-inherit{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.gap-xs2{gap:var(--bq-spacing-xs2)}.text-nowrap{text-wrap:nowrap}.rounded-\\[--bq-select--border-radius\\]{border-radius:var(--bq-select--border-radius)}.border-\\[length\\:--bq-select--border-width\\]{border-width:var(--bq-select--border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-select--border-color-focus\\]{border-color:var(--bq-select--border-color-focus)}.border-\\[color\\:--bq-select--border-color\\]{border-color:var(--bq-select--border-color)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-inherit{background-color:inherit}.p-0{padding:0}.pe-\\[--bq-select--padding-end\\]{padding-inline-end:var(--bq-select--padding-end)}.ps-\\[--bq-select--padding-start\\]{padding-inline-start:var(--bq-select--padding-start)}.font-inherit{font-family:inherit}.text-\\[length\\:--bq-select--helper-text-size\\]{font-size:var(--bq-select--helper-text-size)}.text-\\[length\\:--bq-select--label-text-size\\]{font-size:var(--bq-select--label-text-size)}.text-\\[length\\:--bq-select--text-size\\]{font-size:var(--bq-select--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.leading-small{line-height:var(--bq-font-line-height--small)}.text-\\[color\\:--bq-select--helper-text-color\\]{color:var(--bq-select--helper-text-color)}.text-\\[color\\:--bq-select--label-text-color\\]{color:var(--bq-select--label-text-color)}.text-\\[color\\:--bq-select--text-color\\],.text-\\[color\\:var\\(--bq-select--text-color\\)\\]{color:var(--bq-select--text-color)}.text-danger{color:var(--bq-text--danger)}.text-success{color:var(--bq-text--success)}.text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.min-bs-\\[var\\(--bq-select--icon-size\\)\\]{min-block-size:var(--bq-select--icon-size)}.min-is-0{min-inline-size:0}.p-b-\\[var\\(--bq-select--paddingY\\)\\]{padding-block:var(--bq-select--paddingY)}.m-be-\\[--bq-select--label-margin-bottom\\]{margin-block-end:var(--bq-select--label-margin-bottom)}.m-bs-\\[--bq-select--helper-margin-top\\]{margin-block-start:var(--bq-select--helper-margin-top)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-select--background-color:var(--bq-ui--primary);--bq-select--border-color:var(--bq-stroke--tertiary);--bq-select--border-color-focus:var(--bq-stroke--brand);--bq-select--border-radius:var(--bq-radius--s);--bq-select--border-width:var(--bq-stroke-s);--bq-select--border-style:solid;--bq-select--gap:var(--bq-spacing-xs);--bq-select--helper-margin-top:var(--bq-spacing-xs);--bq-select--helper-text-size:var(--bq-font-size--s);--bq-select--helper-text-color:var(--bq-text--primary);--bq-select--icon-size:24px;--bq-select--label-margin-bottom:var(--bq-spacing-xs);--bq-select--label-text-size:var(--bq-font-size--s);--bq-select--label-text-color:var(--bq-text--primary);--bq-select--padding-start:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--padding-end:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--paddingY:calc(var(--bq-spacing-s) - var(--bq-select--border-width));--bq-select--text-color:var(--bq-text--primary);--bq-select--text-size:var(--bq-font-size--m);--bq-select--text-placeholder-color:var(--bq-text--secondary);display:block;width:100%}.bq-select__label{align-items:center;color:var(--bq-select--label-text-color);display:flex;font-size:var(--bq-select--label-text-size);margin-block-end:var(--bq-select--label-margin-bottom)}.bq-select__helper-text{color:var(--bq-select--helper-text-color);font-size:var(--bq-select--helper-text-size);margin-block-start:var(--bq-select--helper-margin-top)}.bq-select__helper-text.validation-error{color:var(--bq-text--danger)}.bq-select__helper-text.validation-success{color:var(--bq-text--success)}.bq-select__helper-text.validation-warning{color:var(--bq-text--warning)}.bq-select__dropdown:has(:focus-within,:focus-visible) .bq-select__control{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-select--border-color-focus);border-color:var(--bq-select--border-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-select__control{align-items:center;border-color:var(--bq-select--border-color);border-radius:var(--bq-select--border-radius);border-style:var(--bq-select--border-style);border-width:var(--bq-select--border-width);color:var(--bq-select--text-color);display:flex;font-size:var(--bq-select--text-size);inline-size:100%;padding-block:var(--bq-select--paddingY);padding-inline-end:var(--bq-select--padding-end);padding-inline-start:var(--bq-select--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-select__control::placeholder{color:var(--bq-select--text-placeholder-color)}.bq-select__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-select__control:not(.disabled):focus-within .bq-select__control--clear,.bq-select__control:not(.disabled):hover .bq-select__control--clear{display:inline-block}.bq-select__control.disabled{cursor:not-allowed;opacity:.6}.bq-select__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-select__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-select__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-select__control.validation-success{border-color:var(--bq-stroke--success)}.bq-select__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-select__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-select__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-select__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-select__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-select__control--input{appearance:none;background-color:inherit;border-style:none;-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0;min-block-size:var(--bq-select--icon-size);min-inline-size:0;padding:0;user-select:none}.bq-select__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-select__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-select__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial}.bq-select__control--prefix,.bq-select__control--suffix{align-items:center;color:var(--bq-select--text-color);display:flex;pointer-events:none}.bq-select__control--prefix{margin-inline-end:var(--bq-select--gap)}.bq-select__control--suffix{margin-inline-start:var(--bq-select--gap);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-select__tags{display:flex;flex:1 1 0%;gap:var(--bq-spacing-xs2);margin-inline-end:var(--bq-spacing-xs2)}.bq-select__tags ::slotted(bq-tag),.bq-select__tags bq-tag{display:inline-flex}.bq-select__tags bq-tag::part(text){text-wrap:nowrap;line-height:var(--bq-font-line-height--small)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-select--icon-size)!important}.placeholder\\:text-\\[color\\:--bq-select--text-placeholder-color\\]::placeholder{color:var(--bq-select--text-placeholder-color)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.rotate-0,.rotate-180{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.\\!hidden{display:none!important}.hidden{display:none}.flex-grow{flex-grow:1}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.overflow-x-auto{overflow-x:auto}.blur{--tw-blur:blur(8px)}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\[\\&\\:\\:part\\(button\\)\\]\\:border-none::part(button){border-style:none}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-0::part(button){padding:0}.relative{position:relative}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}`;
|
|
49
|
-
|
|
50
|
-
const p = e(class e extends r {
|
|
51
|
-
constructor(e) {
|
|
52
|
-
super();
|
|
53
|
-
if (e !== false) {
|
|
54
|
-
this.__registerHost();
|
|
55
|
-
}
|
|
56
|
-
this.__attachShadow();
|
|
57
|
-
this.bqBlur = a(this, "bqBlur");
|
|
58
|
-
this.bqClear = a(this, "bqClear");
|
|
59
|
-
this.bqFocus = a(this, "bqFocus");
|
|
60
|
-
this.bqSelect = a(this, "bqSelect");
|
|
61
|
-
this.bqInput = a(this, "bqInput");
|
|
62
|
-
this.internals = this.attachInternals();
|
|
63
|
-
}
|
|
64
|
-
// Own Properties
|
|
65
|
-
// ====================
|
|
66
|
-
helperTextElem;
|
|
67
|
-
inputElem;
|
|
68
|
-
labelElem;
|
|
69
|
-
prefixElem;
|
|
70
|
-
suffixElem;
|
|
71
|
-
debounceQuery;
|
|
72
|
-
debounceInput;
|
|
73
|
-
fallbackInputId="select";
|
|
74
|
-
get el() {
|
|
75
|
-
return this;
|
|
76
|
-
}
|
|
77
|
-
internals;
|
|
78
|
-
// State() variables
|
|
79
|
-
// Inlined decorator, alphabetical order
|
|
80
|
-
// =======================================
|
|
81
|
-
displayValue;
|
|
82
|
-
hasHelperText=false;
|
|
83
|
-
selectedOptions=[];
|
|
84
|
-
hasLabel=false;
|
|
85
|
-
hasPrefix=false;
|
|
86
|
-
hasSuffix=false;
|
|
87
|
-
hasValue=false;
|
|
88
|
-
// Public Property API
|
|
89
|
-
// ========================
|
|
90
|
-
/** If true, the Select input will be focused on component render */
|
|
91
|
-
autofocus;
|
|
92
|
-
/** The clear button aria label */
|
|
93
|
-
clearButtonLabel="Clear value";
|
|
94
|
-
/**
|
|
95
|
-
* The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes.
|
|
96
|
-
* A value of 0 means no debouncing will occur.
|
|
97
|
-
*/
|
|
98
|
-
debounceTime=0;
|
|
99
|
-
/** If true, the Select panel will not lock the page body scroll when open. */
|
|
100
|
-
disableScrollLock=false;
|
|
101
|
-
/**
|
|
102
|
-
* Indicates whether the Select input is disabled or not.
|
|
103
|
-
* If `true`, the Select is disabled and cannot be interacted with.
|
|
104
|
-
*/
|
|
105
|
-
disabled=false;
|
|
106
|
-
/** If true, the clear button won't be displayed */
|
|
107
|
-
disableClear=false;
|
|
108
|
-
/** Represents the distance (gutter or margin) between the Select panel and the input element. */
|
|
109
|
-
distance=8;
|
|
110
|
-
/** The ID of the form that the Select input belongs to. */
|
|
111
|
-
form;
|
|
112
|
-
/** If true, the Select panel will remain open after a selection is made. */
|
|
113
|
-
keepOpenOnSelect=false;
|
|
114
|
-
/** The Select input name. */
|
|
115
|
-
name;
|
|
116
|
-
/** The maximum number of tags to display when multiple selection is enabled */
|
|
117
|
-
maxTagsVisible=2;
|
|
118
|
-
/** If true, the Select input will allow multiple selections. */
|
|
119
|
-
multiple=false;
|
|
120
|
-
/** If true, the Select panel will be visible. */
|
|
121
|
-
open=false;
|
|
122
|
-
/** When set, it will override the height of the Select panel. */
|
|
123
|
-
panelHeight;
|
|
124
|
-
/** The Select input placeholder text value */
|
|
125
|
-
placeholder;
|
|
126
|
-
/** Position of the Select panel */
|
|
127
|
-
placement="bottom";
|
|
128
|
-
/** If true, the list of options cannot be filtered (searching won't be available) */
|
|
129
|
-
readonly;
|
|
130
|
-
/** Indicates whether or not the Select input is required to be filled out before submitting the form. */
|
|
131
|
-
required;
|
|
132
|
-
/** Whether the panel should have the Select same width as the input element */
|
|
133
|
-
sameWidth=true;
|
|
134
|
-
/** Represents the skidding between the Select panel and the input element. */
|
|
135
|
-
skidding=0;
|
|
136
|
-
/** Defines the strategy to position the Select panel */
|
|
137
|
-
strategy="fixed";
|
|
138
|
-
/**
|
|
139
|
-
* The validation status of the Select input.
|
|
140
|
-
*
|
|
141
|
-
* @remarks
|
|
142
|
-
* This property is used to indicate the validation status of the select input. It can be set to one of the following values:
|
|
143
|
-
* - `'none'`: No validation status is set.
|
|
144
|
-
* - `'error'`: The input has a validation error.
|
|
145
|
-
* - `'warning'`: The input has a validation warning.
|
|
146
|
-
* - `'success'`: The input has passed validation.
|
|
147
|
-
*/
|
|
148
|
-
validationStatus="none";
|
|
149
|
-
/** The select input value, it can be used to reset the field to a previous value */
|
|
150
|
-
value;
|
|
151
|
-
// Prop lifecycle events
|
|
152
|
-
// =======================
|
|
153
|
-
handleValueChange() {
|
|
154
|
-
// Early return for undefined/null values
|
|
155
|
-
if (l(this.value)) {
|
|
156
|
-
this.value = this.multiple ? [] : "";
|
|
157
|
-
this.internals.setFormValue(undefined);
|
|
158
|
-
this.syncItemsFromValue();
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
// Handle multiple selection mode
|
|
162
|
-
if (this.multiple) {
|
|
163
|
-
this.value = stringToArray(this.value);
|
|
164
|
-
this.internals.setFormValue(this.value.join(","));
|
|
165
|
-
this.syncItemsFromValue();
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
// Handle single selection mode
|
|
169
|
-
this.value = String(this.value);
|
|
170
|
-
this.internals.setFormValue(this.value);
|
|
171
|
-
this.syncItemsFromValue();
|
|
172
|
-
}
|
|
173
|
-
// Events section
|
|
174
|
-
// Requires JSDocs for public API documentation
|
|
175
|
-
// ==============================================
|
|
176
|
-
/** Callback handler emitted when the Select input loses focus */
|
|
177
|
-
bqBlur;
|
|
178
|
-
/** Callback handler emitted when the selected value has been cleared */
|
|
179
|
-
bqClear;
|
|
180
|
-
/** Callback handler emitted when the Select input has received focus */
|
|
181
|
-
bqFocus;
|
|
182
|
-
/** Callback handler emitted when the selected value has changed */
|
|
183
|
-
bqSelect;
|
|
184
|
-
/** Callback handler emitted when the Select input changes its value while typing */
|
|
185
|
-
bqInput;
|
|
186
|
-
// Component lifecycle events
|
|
187
|
-
// Ordered by their natural call order
|
|
188
|
-
// =====================================
|
|
189
|
-
connectedCallback() {
|
|
190
|
-
this.initMultipleValue();
|
|
191
|
-
}
|
|
192
|
-
componentWillLoad() {
|
|
193
|
-
this.initMultipleValue();
|
|
194
|
-
}
|
|
195
|
-
componentDidLoad() {
|
|
196
|
-
this.handleSlotChange();
|
|
197
|
-
if (this.multiple && Array.isArray(this.value)) {
|
|
198
|
-
this.selectedOptions = this.options.filter((e => this.value.includes(e.value)));
|
|
199
|
-
}
|
|
200
|
-
this.handleValueChange();
|
|
201
|
-
}
|
|
202
|
-
formAssociatedCallback() {
|
|
203
|
-
this.internals.role = "combobox";
|
|
204
|
-
this.internals.ariaExpanded = this.open ? "true" : "false";
|
|
205
|
-
}
|
|
206
|
-
async formResetCallback() {
|
|
207
|
-
if (l(this.value)) return;
|
|
208
|
-
this.internals.setValidity({});
|
|
209
|
-
this.clear();
|
|
210
|
-
}
|
|
211
|
-
// Listeners
|
|
212
|
-
// ==============
|
|
213
|
-
handleOpenChange(e) {
|
|
214
|
-
if (!e.composedPath().includes(this.el)) return;
|
|
215
|
-
this.open = e.detail.open;
|
|
216
|
-
}
|
|
217
|
-
stopOptionFocusBlurPropagation(e) {
|
|
218
|
-
// Stop propagation of focus and blur events coming from the `bq-option` elements
|
|
219
|
-
if (o(e.target, "bq-select")) return;
|
|
220
|
-
e.stopPropagation();
|
|
221
|
-
}
|
|
222
|
-
handleScrollEvent() {
|
|
223
|
-
if (!this.open || this.disableScrollLock) return;
|
|
224
|
-
// Close the panel when the scroll event is triggered.
|
|
225
|
-
// This is useful for those cases where the floating panel is inside a scrollable container.
|
|
226
|
-
// For example, a select inside a dialog, drawer, etc.
|
|
227
|
-
// ⚠️ Notice that document body scroll lock is handled via the `scrollLock` utility.
|
|
228
|
-
this.open = false;
|
|
229
|
-
}
|
|
230
|
-
// Public methods API
|
|
231
|
-
// These methods are exposed on the host element.
|
|
232
|
-
// Always use two lines.
|
|
233
|
-
// Public Methods must be async.
|
|
234
|
-
// Requires JSDocs for public API documentation.
|
|
235
|
-
// ===============================================
|
|
236
|
-
/**
|
|
237
|
-
* Clears the selected value.
|
|
238
|
-
*
|
|
239
|
-
* @return {Promise<void>}
|
|
240
|
-
* @memberof BqSelect
|
|
241
|
-
*/
|
|
242
|
-
async clear() {
|
|
243
|
-
if (this.disabled) return;
|
|
244
|
-
const {multiple: e, inputElem: r, bqClear: a, el: t} = this;
|
|
245
|
-
// Clear value and selected options
|
|
246
|
-
this.value = "";
|
|
247
|
-
this.selectedOptions = [];
|
|
248
|
-
// Clear display value and input element if not multiple
|
|
249
|
-
if (!e) {
|
|
250
|
-
this.displayValue = "";
|
|
251
|
-
r.value = "";
|
|
252
|
-
}
|
|
253
|
-
// Update form value and reset options visibility
|
|
254
|
-
this.resetOptionsVisibility();
|
|
255
|
-
// Emit clear event
|
|
256
|
-
a.emit(t);
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Resets the Select input to a previous value.
|
|
260
|
-
*
|
|
261
|
-
* @param {TSelectValue} value - The value to reset the Select input to.
|
|
262
|
-
* @return {Promise<void>}
|
|
263
|
-
* @memberof BqSelect
|
|
264
|
-
*/ async reset(e) {
|
|
265
|
-
if (l(e)) return;
|
|
266
|
-
this.value = e;
|
|
267
|
-
this.syncItemsFromValue();
|
|
268
|
-
}
|
|
269
|
-
// Local methods
|
|
270
|
-
// Internal business logic.
|
|
271
|
-
// These methods cannot be called from the host element.
|
|
272
|
-
// =======================================================
|
|
273
|
-
initMultipleValue=() => {
|
|
274
|
-
if (!this.multiple || !s(this.value)) return;
|
|
275
|
-
this.value = Array.isArray(this.value) ? this.value : Array.from(JSON.parse(String(this.value)));
|
|
276
|
-
};
|
|
277
|
-
handleBlur=() => {
|
|
278
|
-
if (this.disabled) return;
|
|
279
|
-
this.bqBlur.emit(this.el);
|
|
280
|
-
};
|
|
281
|
-
handleFocus=() => {
|
|
282
|
-
if (this.disabled) return;
|
|
283
|
-
this.bqFocus.emit(this.el);
|
|
284
|
-
};
|
|
285
|
-
handleSelect=e => {
|
|
286
|
-
if (this.disabled) return;
|
|
287
|
-
if (this.multiple) {
|
|
288
|
-
e.stopPropagation();
|
|
289
|
-
}
|
|
290
|
-
const {value: r, item: a} = e.detail;
|
|
291
|
-
if (this.multiple) {
|
|
292
|
-
this.handleMultipleSelection(a);
|
|
293
|
-
// Clear the input value after selecting an item
|
|
294
|
-
this.inputElem.value = "";
|
|
295
|
-
// If multiple selection is enabled, emit the selected items array instead of relying on
|
|
296
|
-
// the option list to emit the value of the selected item
|
|
297
|
-
this.bqSelect.emit({
|
|
298
|
-
value: this.value,
|
|
299
|
-
item: a
|
|
300
|
-
});
|
|
301
|
-
} else {
|
|
302
|
-
this.value = r;
|
|
303
|
-
}
|
|
304
|
-
this.resetOptionsVisibility();
|
|
305
|
-
this.inputElem.focus();
|
|
306
|
-
};
|
|
307
|
-
handleMultipleSelection=e => {
|
|
308
|
-
// Set has O(1) complexity for insertion, deletion, and search operations, compared to an Array's O(n)
|
|
309
|
-
const r = new Set(this.selectedOptions);
|
|
310
|
-
if (r.has(e)) {
|
|
311
|
-
r.delete(e);
|
|
312
|
-
} else {
|
|
313
|
-
r.add(e);
|
|
314
|
-
}
|
|
315
|
-
this.selectedOptions = Array.from(r);
|
|
316
|
-
this.value = this.selectedOptions.map((e => e.value));
|
|
317
|
-
};
|
|
318
|
-
handleSearchFilter=e => {
|
|
319
|
-
if (this.disabled) return;
|
|
320
|
-
this.debounceQuery?.cancel();
|
|
321
|
-
const r = e?.trim();
|
|
322
|
-
if (!s(r)) {
|
|
323
|
-
// For multi-select, just reset options visibility without clearing selections
|
|
324
|
-
// This prevents backspace from removing selected tags when only clearing search text
|
|
325
|
-
if (this.multiple) {
|
|
326
|
-
this.resetOptionsVisibility();
|
|
327
|
-
return;
|
|
328
|
-
}
|
|
329
|
-
this.clear();
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
this.debounceQuery = i((() => {
|
|
333
|
-
this.options.forEach((e => {
|
|
334
|
-
// We want to get the entire inner text of the option element
|
|
335
|
-
// to allow searching across the entire text, not just the first level
|
|
336
|
-
const a = e.innerText?.trim().toLowerCase();
|
|
337
|
-
const t = e.value?.toLowerCase();
|
|
338
|
-
// Show item if EITHER label OR value matches
|
|
339
|
-
const b = a.includes(r.toLowerCase()) || t.includes(r.toLowerCase());
|
|
340
|
-
e.hidden = !b;
|
|
341
|
-
}));
|
|
342
|
-
}), this.debounceTime);
|
|
343
|
-
this.debounceQuery();
|
|
344
|
-
// The panel will close once a selection is made
|
|
345
|
-
// so we need to make sure it's open when the user is typing and the query is not empty
|
|
346
|
-
this.open = true;
|
|
347
|
-
};
|
|
348
|
-
handleKeydown=e => {
|
|
349
|
-
if (this.disabled || e.key !== "Backspace" || !this.multiple) return;
|
|
350
|
-
// Only remove tags if input value is empty (no writing) and there are selected options
|
|
351
|
-
if (this.inputElem?.value === "" && this.selectedOptions.length > 0) {
|
|
352
|
-
e.preventDefault();
|
|
353
|
-
// Remove one selected option at a time starting from the last one
|
|
354
|
-
const r = this.selectedOptions[this.selectedOptions.length - 1];
|
|
355
|
-
this.handleTagRemove(r);
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
handleInput=e => {
|
|
359
|
-
if (this.disabled) return;
|
|
360
|
-
const {value: r} = e.target;
|
|
361
|
-
this.debounceInput?.cancel();
|
|
362
|
-
this.debounceInput = i((() => {
|
|
363
|
-
const e = this.bqInput.emit({
|
|
364
|
-
value: r
|
|
365
|
-
});
|
|
366
|
-
if (!e.defaultPrevented) {
|
|
367
|
-
// Continue with search filtering only if the event wasn't prevented
|
|
368
|
-
this.handleSearchFilter(r);
|
|
369
|
-
}
|
|
370
|
-
}), this.debounceTime);
|
|
371
|
-
this.debounceInput();
|
|
372
|
-
};
|
|
373
|
-
handleClearClick=e => {
|
|
374
|
-
(async () => {
|
|
375
|
-
await this.clear();
|
|
376
|
-
})();
|
|
377
|
-
this.inputElem.focus();
|
|
378
|
-
e.stopPropagation();
|
|
379
|
-
};
|
|
380
|
-
handleTagRemove=e => {
|
|
381
|
-
if (this.disabled) return;
|
|
382
|
-
this.handleMultipleSelection(e);
|
|
383
|
-
this.bqSelect.emit({
|
|
384
|
-
value: this.value,
|
|
385
|
-
item: e
|
|
386
|
-
});
|
|
387
|
-
};
|
|
388
|
-
handleSlotChange=() => {
|
|
389
|
-
this.hasLabel = q(this.labelElem);
|
|
390
|
-
this.hasPrefix = q(this.prefixElem);
|
|
391
|
-
this.hasSuffix = q(this.suffixElem);
|
|
392
|
-
this.hasHelperText = q(this.helperTextElem);
|
|
393
|
-
};
|
|
394
|
-
resetOptionsVisibility=() => {
|
|
395
|
-
this.options.forEach((e => {
|
|
396
|
-
e.hidden = false;
|
|
397
|
-
}));
|
|
398
|
-
};
|
|
399
|
-
syncItemsFromValue=() => {
|
|
400
|
-
const {internals: e, options: r, value: a} = this;
|
|
401
|
-
if (!r.length) return;
|
|
402
|
-
// Sync selected state of the BqOption elements
|
|
403
|
-
this.syncSelectedOptionsState();
|
|
404
|
-
if (this.multiple) {
|
|
405
|
-
// Sync selected options for multiple selection mode
|
|
406
|
-
this.selectedOptions = r.filter((e => this.value?.includes(e.value)));
|
|
407
|
-
}
|
|
408
|
-
// Always update display value and form value
|
|
409
|
-
this.updateDisplayLabel();
|
|
410
|
-
e.setFormValue(!l(a) ? `${a}` : undefined);
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* Syncs the selected state of the BqOption elements which value is included in the `value` property.
|
|
414
|
-
* Notice that value can be a string or an array of strings.
|
|
415
|
-
*
|
|
416
|
-
* @private
|
|
417
|
-
* @memberof BqSelect
|
|
418
|
-
*/
|
|
419
|
-
syncSelectedOptionsState=() => {
|
|
420
|
-
const {options: e, multiple: r, value: a} = this;
|
|
421
|
-
const t = String(a).toLowerCase();
|
|
422
|
-
e.forEach((e => {
|
|
423
|
-
if (r && Array.isArray(a)) {
|
|
424
|
-
e.selected = a.includes(e.value);
|
|
425
|
-
} else {
|
|
426
|
-
e.selected = e.value?.toLowerCase() === t;
|
|
427
|
-
}
|
|
428
|
-
}));
|
|
429
|
-
};
|
|
430
|
-
/**
|
|
431
|
-
* Updates the display value of the input element based on the selected option.
|
|
432
|
-
*
|
|
433
|
-
* @private
|
|
434
|
-
* @memberof BqSelect
|
|
435
|
-
*/
|
|
436
|
-
updateDisplayLabel=() => {
|
|
437
|
-
const {value: e, options: r, inputElem: a} = this;
|
|
438
|
-
const t = r.find((r => r.value === e));
|
|
439
|
-
const b = t ? this.getOptionLabel(t) : "";
|
|
440
|
-
this.displayValue = b;
|
|
441
|
-
if (a) {
|
|
442
|
-
a.value = b;
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
|
-
getOptionLabel=e => {
|
|
446
|
-
if (!e) return "";
|
|
447
|
-
if (e.displayValue) {
|
|
448
|
-
return e.displayValue.trim();
|
|
449
|
-
}
|
|
450
|
-
const r = e.shadowRoot?.querySelector("slot:not([name])");
|
|
451
|
-
if (!r) {
|
|
452
|
-
return e.innerText.trim();
|
|
453
|
-
}
|
|
454
|
-
const a = this.getItemTextContent(r);
|
|
455
|
-
if (a) return a;
|
|
456
|
-
// Fallback to innerText
|
|
457
|
-
return e.innerText.trim();
|
|
458
|
-
};
|
|
459
|
-
getItemTextContent=e => {
|
|
460
|
-
const r = e.assignedNodes({
|
|
461
|
-
flatten: true
|
|
462
|
-
});
|
|
463
|
-
for (const e of r) {
|
|
464
|
-
if (e.nodeType === Node.TEXT_NODE) {
|
|
465
|
-
const r = e.textContent?.trim();
|
|
466
|
-
if (r) return r;
|
|
467
|
-
}
|
|
468
|
-
// Element node - get first child text
|
|
469
|
-
if (e.nodeType === Node.ELEMENT_NODE) {
|
|
470
|
-
for (const r of Array.from(e.childNodes)) {
|
|
471
|
-
const e = r.textContent?.trim();
|
|
472
|
-
if (e) return e;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
return "";
|
|
477
|
-
};
|
|
478
|
-
get options() {
|
|
479
|
-
return Array.from(this.el.querySelectorAll("bq-option"));
|
|
480
|
-
}
|
|
481
|
-
get displayPlaceholder() {
|
|
482
|
-
// Hide the placeholder when multiple selection is enabled and there are selected items
|
|
483
|
-
return this.multiple && this.selectedOptions.length !== 0 ? undefined : this.placeholder;
|
|
484
|
-
}
|
|
485
|
-
get displayTags() {
|
|
486
|
-
return this.selectedOptions.map(((e, r) => {
|
|
487
|
-
if (r < this.maxTagsVisible || this.maxTagsVisible < 0) {
|
|
488
|
-
return t("bq-tag", {
|
|
489
|
-
exportparts: "wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",
|
|
490
|
-
// Prevent the tag from closing the panel when clicked
|
|
491
|
-
onBqClick: e => e.stopPropagation(),
|
|
492
|
-
onBqClose: r => {
|
|
493
|
-
// NOTE: prevents triggering bqClose on parent
|
|
494
|
-
r.stopPropagation();
|
|
495
|
-
this.handleTagRemove(e);
|
|
496
|
-
},
|
|
497
|
-
part: "tag",
|
|
498
|
-
removable: true,
|
|
499
|
-
size: "xsmall",
|
|
500
|
-
variant: "filled",
|
|
501
|
-
children: this.getOptionLabel(e)
|
|
502
|
-
}, e.value);
|
|
503
|
-
} else if (r === this.maxTagsVisible) {
|
|
504
|
-
return b("bq-tag", {
|
|
505
|
-
exportparts: "wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",
|
|
506
|
-
part: "tag",
|
|
507
|
-
size: "xsmall",
|
|
508
|
-
variant: "filled",
|
|
509
|
-
children: [ "+", this.selectedOptions.length - r ]
|
|
510
|
-
}, "more");
|
|
511
|
-
}
|
|
512
|
-
return null;
|
|
513
|
-
}));
|
|
514
|
-
}
|
|
515
|
-
get hasClearIcon() {
|
|
516
|
-
if (this.disableClear || this.disabled) {
|
|
517
|
-
return false;
|
|
518
|
-
}
|
|
519
|
-
if (this.multiple) {
|
|
520
|
-
return this.selectedOptions.length > 0;
|
|
521
|
-
}
|
|
522
|
-
return s(this.displayValue);
|
|
523
|
-
}
|
|
524
|
-
// render() function
|
|
525
|
-
// Always the last one in the class.
|
|
526
|
-
// ===================================
|
|
527
|
-
render() {
|
|
528
|
-
const e = `bq-select__label-${this.name || this.fallbackInputId}`;
|
|
529
|
-
return b("div", {
|
|
530
|
-
class: "bq-select",
|
|
531
|
-
part: "base",
|
|
532
|
-
children: [ t("label", {
|
|
533
|
-
"aria-label": this.name || this.fallbackInputId,
|
|
534
|
-
class: {
|
|
535
|
-
"bq-select__label": true,
|
|
536
|
-
"!hidden": !this.hasLabel
|
|
537
|
-
},
|
|
538
|
-
htmlFor: this.name || this.fallbackInputId,
|
|
539
|
-
id: e,
|
|
540
|
-
part: "label",
|
|
541
|
-
ref: e => {
|
|
542
|
-
this.labelElem = e;
|
|
543
|
-
},
|
|
544
|
-
children: t("slot", {
|
|
545
|
-
name: "label",
|
|
546
|
-
onSlotchange: this.handleSlotChange
|
|
547
|
-
}, "cbb6600c256b78932207cdac2fefa248017306cd")
|
|
548
|
-
}, "fe33deda54de613b1057e7e4f6dfa7358b53e5a2"), b("bq-dropdown", {
|
|
549
|
-
class: "bq-select__dropdown w-full",
|
|
550
|
-
disabled: this.disabled,
|
|
551
|
-
disableScrollLock: this.disableScrollLock,
|
|
552
|
-
distance: this.distance,
|
|
553
|
-
exportparts: "panel",
|
|
554
|
-
keepOpenOnSelect: this.keepOpenOnSelect,
|
|
555
|
-
open: this.open,
|
|
556
|
-
panelHeight: this.panelHeight,
|
|
557
|
-
placement: this.placement,
|
|
558
|
-
sameWidth: this.sameWidth,
|
|
559
|
-
skidding: this.skidding,
|
|
560
|
-
strategy: this.strategy,
|
|
561
|
-
children: [ b("div", {
|
|
562
|
-
class: {
|
|
563
|
-
"bq-select__control": true,
|
|
564
|
-
[`validation-${this.validationStatus}`]: true,
|
|
565
|
-
disabled: this.disabled
|
|
566
|
-
},
|
|
567
|
-
part: "control",
|
|
568
|
-
slot: "trigger",
|
|
569
|
-
children: [ t("span", {
|
|
570
|
-
class: {
|
|
571
|
-
"bq-select__control--prefix": true,
|
|
572
|
-
"!hidden": !this.hasPrefix
|
|
573
|
-
},
|
|
574
|
-
part: "prefix",
|
|
575
|
-
ref: e => {
|
|
576
|
-
this.prefixElem = e;
|
|
577
|
-
},
|
|
578
|
-
children: t("slot", {
|
|
579
|
-
name: "prefix",
|
|
580
|
-
onSlotchange: this.handleSlotChange
|
|
581
|
-
}, "af068af4e26ee67715634e86215fbff57dc8f8a0")
|
|
582
|
-
}, "432af038bd49a0c546c557ae991bff8aa62250ff"), b("div", {
|
|
583
|
-
class: "flex flex-1 overflow-x-auto",
|
|
584
|
-
part: "input-outline",
|
|
585
|
-
children: [ this.multiple && t("span", {
|
|
586
|
-
class: "bq-select__tags",
|
|
587
|
-
part: "tags",
|
|
588
|
-
children: t("slot", {
|
|
589
|
-
name: "tags",
|
|
590
|
-
children: this.displayTags
|
|
591
|
-
}, "8840571e341fd4384596813615d57f491554c706")
|
|
592
|
-
}, "6b2ad00874cc8f5f4b54d272a34adaeeadeef6cb"), t("input", {
|
|
593
|
-
"aria-controls": `bq-options-${this.name}`,
|
|
594
|
-
"aria-disabled": this.disabled ? "true" : "false",
|
|
595
|
-
"aria-expanded": this.open ? "true" : "false",
|
|
596
|
-
"aria-haspopup": "listbox",
|
|
597
|
-
autoCapitalize: "off",
|
|
598
|
-
autoComplete: "off",
|
|
599
|
-
class: "bq-select__control--input is-full flex-grow",
|
|
600
|
-
disabled: this.disabled,
|
|
601
|
-
form: this.form,
|
|
602
|
-
id: this.name || this.fallbackInputId,
|
|
603
|
-
name: this.name,
|
|
604
|
-
onBlur: this.handleBlur,
|
|
605
|
-
onFocus: this.handleFocus,
|
|
606
|
-
onInput: this.handleInput,
|
|
607
|
-
onKeyDown: this.handleKeydown,
|
|
608
|
-
part: "input",
|
|
609
|
-
placeholder: this.displayPlaceholder,
|
|
610
|
-
readOnly: this.readonly,
|
|
611
|
-
ref: e => {
|
|
612
|
-
this.inputElem = e;
|
|
613
|
-
},
|
|
614
|
-
required: this.required,
|
|
615
|
-
role: "combobox",
|
|
616
|
-
// Events
|
|
617
|
-
spellcheck: false,
|
|
618
|
-
type: "text",
|
|
619
|
-
value: this.displayValue
|
|
620
|
-
}, "398dd2d9c8ebab4a3de828384b8c53dd6fea3906") ]
|
|
621
|
-
}, "0b93414f97c360236160c1626273614c04340633"), this.hasClearIcon &&
|
|
622
|
-
// The clear button will be visible as long as the input has a value
|
|
623
|
-
// and the parent group is hovered or has focus-within
|
|
624
|
-
t("bq-button", {
|
|
625
|
-
appearance: "text",
|
|
626
|
-
border: "s",
|
|
627
|
-
class: "bq-select__control--clear ms-[--bq-select--gap] hidden [&::part(button)]:border-none [&::part(button)]:p-0",
|
|
628
|
-
exportparts: "button",
|
|
629
|
-
label: this.clearButtonLabel,
|
|
630
|
-
onBqClick: this.handleClearClick,
|
|
631
|
-
onlyIcon: true,
|
|
632
|
-
part: "clear-btn",
|
|
633
|
-
size: "small",
|
|
634
|
-
tabIndex: -1,
|
|
635
|
-
children: t("slot", {
|
|
636
|
-
name: "clear-icon",
|
|
637
|
-
children: t("bq-icon", {
|
|
638
|
-
"aria-hidden": "true",
|
|
639
|
-
class: "flex",
|
|
640
|
-
name: "x-circle"
|
|
641
|
-
}, "6748547e72e62cce50b9cb4aa2ddb96711e73b12")
|
|
642
|
-
}, "aa464ba4d09679a04babe7302dda93f53bcb7f31")
|
|
643
|
-
}, "a92dd9791ab83efbc31ae475632bcd3fa1cfe8f2"), t("span", {
|
|
644
|
-
class: {
|
|
645
|
-
"bq-select__control--suffix": true,
|
|
646
|
-
"rotate-180": this.open,
|
|
647
|
-
"rotate-0": !this.open
|
|
648
|
-
},
|
|
649
|
-
part: "suffix",
|
|
650
|
-
ref: e => {
|
|
651
|
-
this.suffixElem = e;
|
|
652
|
-
},
|
|
653
|
-
children: t("slot", {
|
|
654
|
-
name: "suffix",
|
|
655
|
-
onSlotchange: this.handleSlotChange,
|
|
656
|
-
children: t("bq-icon", {
|
|
657
|
-
class: "flex",
|
|
658
|
-
name: "caret-down"
|
|
659
|
-
}, "eefa23b0b3f19eff924c52e24987d9a5d4b67a39")
|
|
660
|
-
}, "b7c9f2bd3fb3a5919b8468d723ddcfee1624a2aa")
|
|
661
|
-
}, "a3a0dc8878245fe08d4c510e9fed4a4f61132a71") ]
|
|
662
|
-
}, "c8d4db97ea0e18084164f0353b6af6b71993787f"), t("bq-option-list", {
|
|
663
|
-
"aria-expanded": this.open ? "true" : "false",
|
|
664
|
-
exportparts: "base:option-list",
|
|
665
|
-
id: `bq-options-${this.name}`,
|
|
666
|
-
onBqSelect: this.handleSelect,
|
|
667
|
-
role: "listbox",
|
|
668
|
-
children: t("slot", {}, "14e1f476adef87a656c941ff2ec5176bcb63c10a")
|
|
669
|
-
}, "be367262ee14953e12c1297222da24a6a09edaef") ]
|
|
670
|
-
}, "68de90d6de17280c5aa4d92be7fb19348bbbaaba"), t("div", {
|
|
671
|
-
class: {
|
|
672
|
-
[`bq-select__helper-text validation-${this.validationStatus}`]: true,
|
|
673
|
-
"!hidden": !this.hasHelperText
|
|
674
|
-
},
|
|
675
|
-
part: "helper-text",
|
|
676
|
-
ref: e => {
|
|
677
|
-
this.helperTextElem = e;
|
|
678
|
-
},
|
|
679
|
-
children: t("slot", {
|
|
680
|
-
name: "helper-text",
|
|
681
|
-
onSlotchange: this.handleSlotChange
|
|
682
|
-
}, "97280416828f717e0677e875c757696b90ab7702")
|
|
683
|
-
}, "8d6bb8a48f4d0d2726e1c51356ec08968d685fe0") ]
|
|
684
|
-
}, "f9fbd44a525e1e1ad4976f62695c892cd5ca3258");
|
|
685
|
-
}
|
|
686
|
-
static get delegatesFocus() {
|
|
687
|
-
return true;
|
|
688
|
-
}
|
|
689
|
-
static get formAssociated() {
|
|
690
|
-
return true;
|
|
691
|
-
}
|
|
692
|
-
static get watchers() {
|
|
693
|
-
return {
|
|
694
|
-
value: [ {
|
|
695
|
-
handleValueChange: 0
|
|
696
|
-
} ]
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
static get style() {
|
|
700
|
-
return bqSelectCss();
|
|
701
|
-
}
|
|
702
|
-
}, [ 849, "bq-select", {
|
|
703
|
-
autofocus: [ 516 ],
|
|
704
|
-
clearButtonLabel: [ 513, "clear-button-label" ],
|
|
705
|
-
debounceTime: [ 1538, "debounce-time" ],
|
|
706
|
-
disableScrollLock: [ 516, "disable-scroll-lock" ],
|
|
707
|
-
disabled: [ 1028 ],
|
|
708
|
-
disableClear: [ 516, "disable-clear" ],
|
|
709
|
-
distance: [ 514 ],
|
|
710
|
-
form: [ 513 ],
|
|
711
|
-
keepOpenOnSelect: [ 516, "keep-open-on-select" ],
|
|
712
|
-
name: [ 513 ],
|
|
713
|
-
maxTagsVisible: [ 1026, "max-tags-visible" ],
|
|
714
|
-
multiple: [ 516 ],
|
|
715
|
-
open: [ 1540 ],
|
|
716
|
-
panelHeight: [ 513, "panel-height" ],
|
|
717
|
-
placeholder: [ 513 ],
|
|
718
|
-
placement: [ 513 ],
|
|
719
|
-
readonly: [ 516 ],
|
|
720
|
-
required: [ 516 ],
|
|
721
|
-
sameWidth: [ 516, "same-width" ],
|
|
722
|
-
skidding: [ 514 ],
|
|
723
|
-
strategy: [ 513 ],
|
|
724
|
-
validationStatus: [ 513, "validation-status" ],
|
|
725
|
-
value: [ 1537 ],
|
|
726
|
-
displayValue: [ 32 ],
|
|
727
|
-
hasHelperText: [ 32 ],
|
|
728
|
-
selectedOptions: [ 32 ],
|
|
729
|
-
hasLabel: [ 32 ],
|
|
730
|
-
hasPrefix: [ 32 ],
|
|
731
|
-
hasSuffix: [ 32 ],
|
|
732
|
-
hasValue: [ 32 ],
|
|
733
|
-
clear: [ 64 ],
|
|
734
|
-
reset: [ 64 ]
|
|
735
|
-
}, [ [ 2, "bqOpen", "handleOpenChange" ], [ 2, "bqFocus", "stopOptionFocusBlurPropagation" ], [ 2, "bqBlur", "stopOptionFocusBlurPropagation" ], [ 11, "scroll", "handleScrollEvent" ] ], {
|
|
736
|
-
value: [ {
|
|
737
|
-
handleValueChange: 0
|
|
738
|
-
} ]
|
|
739
|
-
} ]);
|
|
740
|
-
|
|
741
|
-
function defineCustomElement$1() {
|
|
742
|
-
if (typeof customElements === "undefined") {
|
|
743
|
-
return;
|
|
744
|
-
}
|
|
745
|
-
const e = [ "bq-select", "bq-button", "bq-dropdown", "bq-icon", "bq-option-list", "bq-panel", "bq-tag" ];
|
|
746
|
-
e.forEach((e => {
|
|
747
|
-
switch (e) {
|
|
748
|
-
case "bq-select":
|
|
749
|
-
if (!customElements.get(n(e))) {
|
|
750
|
-
customElements.define(n(e), p);
|
|
751
|
-
}
|
|
752
|
-
break;
|
|
753
|
-
|
|
754
|
-
case "bq-button":
|
|
755
|
-
if (!customElements.get(n(e))) {
|
|
756
|
-
d();
|
|
757
|
-
}
|
|
758
|
-
break;
|
|
759
|
-
|
|
760
|
-
case "bq-dropdown":
|
|
761
|
-
if (!customElements.get(n(e))) {
|
|
762
|
-
u();
|
|
763
|
-
}
|
|
764
|
-
break;
|
|
765
|
-
|
|
766
|
-
case "bq-icon":
|
|
767
|
-
if (!customElements.get(n(e))) {
|
|
768
|
-
v();
|
|
769
|
-
}
|
|
770
|
-
break;
|
|
771
|
-
|
|
772
|
-
case "bq-option-list":
|
|
773
|
-
if (!customElements.get(n(e))) {
|
|
774
|
-
f();
|
|
775
|
-
}
|
|
776
|
-
break;
|
|
777
|
-
|
|
778
|
-
case "bq-panel":
|
|
779
|
-
if (!customElements.get(n(e))) {
|
|
780
|
-
g();
|
|
781
|
-
}
|
|
782
|
-
break;
|
|
783
|
-
|
|
784
|
-
case "bq-tag":
|
|
785
|
-
if (!customElements.get(n(e))) {
|
|
786
|
-
h();
|
|
787
|
-
}
|
|
788
|
-
break;
|
|
789
|
-
}
|
|
790
|
-
}));
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
const m = p;
|
|
794
|
-
|
|
795
|
-
const x = defineCustomElement$1;
|
|
796
|
-
|
|
797
|
-
export { m as BqSelect, x as defineCustomElement, stringToArray as s };
|
|
798
|
-
//# sourceMappingURL=bq-select.js.map
|
|
5
|
+
import{p as e,H as r,c as a,h as t,t as b}from"./p-DDVIIUm1.js";import{d as n}from"./p-CVw85-WU.js";import{i}from"./p-BRbYDZoo.js";import{i as s}from"./p-D1A0LpG_.js";import{i as o}from"./p-BcPwGxIn.js";import{b as l}from"./p-uqkxeAeG.js";import{i as q}from"./p-lysmVw2n.js";import{d as c}from"./p-DSdUt2Ay.js";import{d}from"./p-D97CZ-cz.js";import{d as v}from"./p-BHxv_w2i.js";import{d as u}from"./p-Dla7kvqV.js";import{d as f}from"./p-8mobOXPw.js";import{d as g}from"./p-4z5qnOaY.js";const h=e=>{if(q(e)&&i(e)){try{return Array.from(JSON.parse(String(e)))}catch(e){throw new Error(`Failed to parse string to array. Input must be a valid JSON array string. Details: ${e.message}`)}}return Array.isArray(e)?e:[]};const p=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.m-0{margin:0}.me-\\[--bq-select--gap\\]{margin-inline-end:var(--bq-select--gap)}.me-xs2{margin-inline-end:var(--bq-spacing-xs2)}.ms-\\[--bq-select--gap\\]{margin-inline-start:var(--bq-select--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.cursor-inherit{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.gap-xs2{gap:var(--bq-spacing-xs2)}.text-nowrap{text-wrap:nowrap}.rounded-\\[--bq-select--border-radius\\]{border-radius:var(--bq-select--border-radius)}.border-\\[length\\:--bq-select--border-width\\]{border-width:var(--bq-select--border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-select--border-color-focus\\]{border-color:var(--bq-select--border-color-focus)}.border-\\[color\\:--bq-select--border-color\\]{border-color:var(--bq-select--border-color)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-inherit{background-color:inherit}.p-0{padding:0}.pe-\\[--bq-select--padding-end\\]{padding-inline-end:var(--bq-select--padding-end)}.ps-\\[--bq-select--padding-start\\]{padding-inline-start:var(--bq-select--padding-start)}.font-inherit{font-family:inherit}.text-\\[length\\:--bq-select--helper-text-size\\]{font-size:var(--bq-select--helper-text-size)}.text-\\[length\\:--bq-select--label-text-size\\]{font-size:var(--bq-select--label-text-size)}.text-\\[length\\:--bq-select--text-size\\]{font-size:var(--bq-select--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.leading-small{line-height:var(--bq-font-line-height--small)}.text-\\[color\\:--bq-select--helper-text-color\\]{color:var(--bq-select--helper-text-color)}.text-\\[color\\:--bq-select--label-text-color\\]{color:var(--bq-select--label-text-color)}.text-\\[color\\:--bq-select--text-color\\],.text-\\[color\\:var\\(--bq-select--text-color\\)\\]{color:var(--bq-select--text-color)}.text-danger{color:var(--bq-text--danger)}.text-success{color:var(--bq-text--success)}.text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.min-bs-\\[var\\(--bq-select--icon-size\\)\\]{min-block-size:var(--bq-select--icon-size)}.min-is-0{min-inline-size:0}.p-b-\\[var\\(--bq-select--paddingY\\)\\]{padding-block:var(--bq-select--paddingY)}.m-be-\\[--bq-select--label-margin-bottom\\]{margin-block-end:var(--bq-select--label-margin-bottom)}.m-bs-\\[--bq-select--helper-margin-top\\]{margin-block-start:var(--bq-select--helper-margin-top)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-select--background-color:var(--bq-ui--primary);--bq-select--border-color:var(--bq-stroke--tertiary);--bq-select--border-color-focus:var(--bq-stroke--brand);--bq-select--border-radius:var(--bq-radius--s);--bq-select--border-width:var(--bq-stroke-s);--bq-select--border-style:solid;--bq-select--gap:var(--bq-spacing-xs);--bq-select--helper-margin-top:var(--bq-spacing-xs);--bq-select--helper-text-size:var(--bq-font-size--s);--bq-select--helper-text-color:var(--bq-text--primary);--bq-select--icon-size:24px;--bq-select--label-margin-bottom:var(--bq-spacing-xs);--bq-select--label-text-size:var(--bq-font-size--s);--bq-select--label-text-color:var(--bq-text--primary);--bq-select--padding-start:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--padding-end:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--paddingY:calc(var(--bq-spacing-s) - var(--bq-select--border-width));--bq-select--text-color:var(--bq-text--primary);--bq-select--text-size:var(--bq-font-size--m);--bq-select--text-placeholder-color:var(--bq-text--secondary);display:block;width:100%}.bq-select__label{align-items:center;color:var(--bq-select--label-text-color);display:flex;font-size:var(--bq-select--label-text-size);margin-block-end:var(--bq-select--label-margin-bottom)}.bq-select__helper-text{color:var(--bq-select--helper-text-color);font-size:var(--bq-select--helper-text-size);margin-block-start:var(--bq-select--helper-margin-top)}.bq-select__helper-text.validation-error{color:var(--bq-text--danger)}.bq-select__helper-text.validation-success{color:var(--bq-text--success)}.bq-select__helper-text.validation-warning{color:var(--bq-text--warning)}.bq-select__dropdown:has(:focus-within,:focus-visible) .bq-select__control{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-select--border-color-focus);border-color:var(--bq-select--border-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-select__control{align-items:center;border-color:var(--bq-select--border-color);border-radius:var(--bq-select--border-radius);border-style:var(--bq-select--border-style);border-width:var(--bq-select--border-width);color:var(--bq-select--text-color);display:flex;font-size:var(--bq-select--text-size);inline-size:100%;padding-block:var(--bq-select--paddingY);padding-inline-end:var(--bq-select--padding-end);padding-inline-start:var(--bq-select--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-select__control::placeholder{color:var(--bq-select--text-placeholder-color)}.bq-select__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-select__control:not(.disabled):focus-within .bq-select__control--clear,.bq-select__control:not(.disabled):hover .bq-select__control--clear{display:inline-block}.bq-select__control.disabled{cursor:not-allowed;opacity:.6}.bq-select__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-select__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-select__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-select__control.validation-success{border-color:var(--bq-stroke--success)}.bq-select__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-select__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-select__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-select__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-select__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-select__control--input{appearance:none;background-color:inherit;border-style:none;-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0;min-block-size:var(--bq-select--icon-size);min-inline-size:0;padding:0;user-select:none}.bq-select__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-select__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-select__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial}.bq-select__control--prefix,.bq-select__control--suffix{align-items:center;color:var(--bq-select--text-color);display:flex;pointer-events:none}.bq-select__control--prefix{margin-inline-end:var(--bq-select--gap)}.bq-select__control--suffix{margin-inline-start:var(--bq-select--gap);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-select__tags{display:flex;flex:1 1 0%;gap:var(--bq-spacing-xs2);margin-inline-end:var(--bq-spacing-xs2)}.bq-select__tags ::slotted(bq-tag),.bq-select__tags bq-tag{display:inline-flex}.bq-select__tags bq-tag::part(text){text-wrap:nowrap;line-height:var(--bq-font-line-height--small)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-select--icon-size)!important}.placeholder\\:text-\\[color\\:--bq-select--text-placeholder-color\\]::placeholder{color:var(--bq-select--text-placeholder-color)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.rotate-0,.rotate-180{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.\\!hidden{display:none!important}.hidden{display:none}.flex-grow{flex-grow:1}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.overflow-x-auto{overflow-x:auto}.blur{--tw-blur:blur(8px)}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\[\\&\\:\\:part\\(button\\)\\]\\:border-none::part(button){border-style:none}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-0::part(button){padding:0}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}.relative{position:relative}`;const m=e(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.bqBlur=a(this,"bqBlur");this.bqClear=a(this,"bqClear");this.bqFocus=a(this,"bqFocus");this.bqSelect=a(this,"bqSelect");this.bqInput=a(this,"bqInput");this.internals=this.attachInternals()}helperTextElem;inputElem;labelElem;prefixElem;suffixElem;debounceQuery;debounceInput;fallbackInputId="select";get el(){return this}internals;displayValue;hasHelperText=false;selectedOptions=[];hasLabel=false;hasPrefix=false;hasSuffix=false;hasValue=false;autofocus;clearButtonLabel="Clear value";debounceTime=0;disableScrollLock=false;disabled=false;disableClear=false;distance=8;form;keepOpenOnSelect=false;name;maxTagsVisible=2;multiple=false;open=false;panelHeight;placeholder;placement="bottom";readonly;required;sameWidth=true;skidding=0;strategy="fixed";validationStatus="none";value;handleValueChange(){if(o(this.value)){this.value=this.multiple?[]:"";this.internals.setFormValue(undefined);this.syncItemsFromValue();return}if(this.multiple){this.value=h(this.value);this.internals.setFormValue(this.value.join(","));this.syncItemsFromValue();return}this.value=String(this.value);this.internals.setFormValue(this.value);this.syncItemsFromValue()}bqBlur;bqClear;bqFocus;bqSelect;bqInput;connectedCallback(){this.initMultipleValue()}componentWillLoad(){this.initMultipleValue()}componentDidLoad(){this.handleSlotChange();if(this.multiple&&Array.isArray(this.value)){this.selectedOptions=this.options.filter((e=>this.value.includes(e.value)))}this.handleValueChange()}formAssociatedCallback(){this.internals.role="combobox";this.internals.ariaExpanded=this.open?"true":"false"}async formResetCallback(){if(o(this.value))return;this.internals.setValidity({});this.clear()}handleOpenChange(e){if(!e.composedPath().includes(this.el))return;this.open=e.detail.open}stopOptionFocusBlurPropagation(e){if(s(e.target,"bq-select"))return;e.stopPropagation()}handleScrollEvent(){if(!this.open||this.disableScrollLock)return;this.open=false}async clear(){if(this.disabled)return;const{multiple:e,inputElem:r,bqClear:a,el:t}=this;this.value="";this.selectedOptions=[];if(!e){this.displayValue="";r.value=""}this.resetOptionsVisibility();a.emit(t)}async reset(e){if(o(e))return;this.value=e;this.syncItemsFromValue()}initMultipleValue=()=>{if(!this.multiple||!i(this.value))return;this.value=Array.isArray(this.value)?this.value:Array.from(JSON.parse(String(this.value)))};handleBlur=()=>{if(this.disabled)return;this.bqBlur.emit(this.el)};handleFocus=()=>{if(this.disabled)return;this.bqFocus.emit(this.el)};handleSelect=e=>{if(this.disabled)return;if(this.multiple){e.stopPropagation()}const{value:r,item:a}=e.detail;if(this.multiple){this.handleMultipleSelection(a);this.inputElem.value="";this.bqSelect.emit({value:this.value,item:a})}else{this.value=r}this.resetOptionsVisibility();this.inputElem.focus()};handleMultipleSelection=e=>{const r=new Set(this.selectedOptions);if(r.has(e)){r.delete(e)}else{r.add(e)}this.selectedOptions=Array.from(r);this.value=this.selectedOptions.map((e=>e.value))};handleSearchFilter=e=>{if(this.disabled)return;this.debounceQuery?.cancel();const r=e?.trim();if(!i(r)){if(this.multiple){this.resetOptionsVisibility();return}this.clear();return}this.debounceQuery=n((()=>{this.options.forEach((e=>{const a=e.innerText?.trim().toLowerCase();const t=e.value?.toLowerCase();const b=a.includes(r.toLowerCase())||t.includes(r.toLowerCase());e.hidden=!b}))}),this.debounceTime);this.debounceQuery();this.open=true};handleKeydown=e=>{if(this.disabled||e.key!=="Backspace"||!this.multiple)return;if(this.inputElem?.value===""&&this.selectedOptions.length>0){e.preventDefault();const r=this.selectedOptions[this.selectedOptions.length-1];this.handleTagRemove(r)}};handleInput=e=>{if(this.disabled)return;const{value:r}=e.target;this.debounceInput?.cancel();this.debounceInput=n((()=>{const e=this.bqInput.emit({value:r});if(!e.defaultPrevented){this.handleSearchFilter(r)}}),this.debounceTime);this.debounceInput()};handleClearClick=e=>{(async()=>{await this.clear()})();this.inputElem.focus();e.stopPropagation()};handleTagRemove=e=>{if(this.disabled)return;this.handleMultipleSelection(e);this.bqSelect.emit({value:this.value,item:e})};handleSlotChange=()=>{this.hasLabel=l(this.labelElem);this.hasPrefix=l(this.prefixElem);this.hasSuffix=l(this.suffixElem);this.hasHelperText=l(this.helperTextElem)};resetOptionsVisibility=()=>{this.options.forEach((e=>{e.hidden=false}))};syncItemsFromValue=()=>{const{internals:e,options:r,value:a}=this;if(!r.length)return;this.syncSelectedOptionsState();if(this.multiple){this.selectedOptions=r.filter((e=>this.value?.includes(e.value)))}this.updateDisplayLabel();e.setFormValue(!o(a)?`${a}`:undefined)};syncSelectedOptionsState=()=>{const{options:e,multiple:r,value:a}=this;const t=String(a).toLowerCase();e.forEach((e=>{if(r&&Array.isArray(a)){e.selected=a.includes(e.value)}else{e.selected=e.value?.toLowerCase()===t}}))};updateDisplayLabel=()=>{const{value:e,options:r,inputElem:a}=this;const t=r.find((r=>r.value===e));const b=t?this.getOptionLabel(t):"";this.displayValue=b;if(a){a.value=b}};getOptionLabel=e=>{if(!e)return"";if(e.displayValue){return e.displayValue.trim()}const r=e.shadowRoot?.querySelector("slot:not([name])");if(!r){return e.innerText.trim()}const a=this.getItemTextContent(r);if(a)return a;return e.innerText.trim()};getItemTextContent=e=>{const r=e.assignedNodes({flatten:true});for(const e of r){if(e.nodeType===Node.TEXT_NODE){const r=e.textContent?.trim();if(r)return r}if(e.nodeType===Node.ELEMENT_NODE){for(const r of Array.from(e.childNodes)){const e=r.textContent?.trim();if(e)return e}}}return""};get options(){return Array.from(this.el.querySelectorAll("bq-option"))}get displayPlaceholder(){return this.multiple&&this.selectedOptions.length!==0?undefined:this.placeholder}get displayTags(){return this.selectedOptions.map(((e,r)=>{if(r<this.maxTagsVisible||this.maxTagsVisible<0){return t("bq-tag",{exportparts:"wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",key:e.value,onBqClick:e=>e.stopPropagation(),onBqClose:r=>{r.stopPropagation();this.handleTagRemove(e)},part:"tag",removable:true,size:"xsmall",variant:"filled"},this.getOptionLabel(e))}else if(r===this.maxTagsVisible){return t("bq-tag",{exportparts:"wrapper:tag__base,prefix:tag__prefix,text:tag__text,btn-close:tag__btn-close",key:"more",part:"tag",size:"xsmall",variant:"filled"},"+",this.selectedOptions.length-r)}return null}))}get hasClearIcon(){if(this.disableClear||this.disabled){return false}if(this.multiple){return this.selectedOptions.length>0}return i(this.displayValue)}render(){const e=`bq-select__label-${this.name||this.fallbackInputId}`;return t("div",{key:"7fce1b5a16a7e5b25cce5624c60c09187f380f2c",class:"bq-select",part:"base"},t("label",{key:"5785e81858a0493c5cfc2e80ebcd19d96ff50d22","aria-label":this.name||this.fallbackInputId,class:{"bq-select__label":true,"!hidden":!this.hasLabel},htmlFor:this.name||this.fallbackInputId,id:e,part:"label",ref:e=>{this.labelElem=e}},t("slot",{key:"bb7730c735f53312411f9d873483cb876835da0f",name:"label",onSlotchange:this.handleSlotChange})),t("bq-dropdown",{key:"8064982e9df5815d0213d6129212bc1e7472fdf9",class:"bq-select__dropdown w-full",disabled:this.disabled,disableScrollLock:this.disableScrollLock,distance:this.distance,exportparts:"panel",keepOpenOnSelect:this.keepOpenOnSelect,open:this.open,panelHeight:this.panelHeight,placement:this.placement,sameWidth:this.sameWidth,skidding:this.skidding,strategy:this.strategy},t("div",{key:"014b00e22b0870ae1fc70fdd712e75890741212f",class:{"bq-select__control":true,[`validation-${this.validationStatus}`]:true,disabled:this.disabled},part:"control",slot:"trigger"},t("span",{key:"9258ab50855df0a94eaa470d55371cf5a3197ac9",class:{"bq-select__control--prefix":true,"!hidden":!this.hasPrefix},part:"prefix",ref:e=>{this.prefixElem=e}},t("slot",{key:"1cf1940473621784792bf8d0e77391233ec99aee",name:"prefix",onSlotchange:this.handleSlotChange})),t("div",{key:"a91471faea3a207758de88e98081e159848c573f",class:"flex flex-1 overflow-x-auto",part:"input-outline"},this.multiple&&t("span",{key:"db8bbcc8837bb9c3949130a8ca9a09a1377abf55",class:"bq-select__tags",part:"tags"},t("slot",{key:"6a9d99f481a7b0a7e3df77ff01bbc515135c0bfb",name:"tags"},this.displayTags)),t("input",{key:"bf4b0b97f3b5adf3f7116a04efcdf66701b72e0a","aria-controls":`bq-options-${this.name}`,"aria-disabled":this.disabled?"true":"false","aria-expanded":this.open?"true":"false","aria-haspopup":"listbox",autoCapitalize:"off",autoComplete:"off",class:"bq-select__control--input is-full flex-grow",disabled:this.disabled,form:this.form,id:this.name||this.fallbackInputId,name:this.name,onBlur:this.handleBlur,onFocus:this.handleFocus,onInput:this.handleInput,onKeyDown:this.handleKeydown,part:"input",placeholder:this.displayPlaceholder,readOnly:this.readonly,ref:e=>{this.inputElem=e},required:this.required,role:"combobox",spellcheck:false,type:"text",value:this.displayValue})),this.hasClearIcon&&t("bq-button",{key:"8a74e1c5d96622392a828ce6336152e84b2d427d",appearance:"text",border:"s",class:"bq-select__control--clear ms-[--bq-select--gap] hidden [&::part(button)]:border-none [&::part(button)]:p-0",exportparts:"button",label:this.clearButtonLabel,onBqClick:this.handleClearClick,onlyIcon:true,part:"clear-btn",size:"small",tabIndex:-1},t("slot",{key:"0d3b64bba90b0d28fbf1fd1ef3f91b07cce7c542",name:"clear-icon"},t("bq-icon",{key:"e081ee013781bed15d22d1d3c999314eb1fc76af","aria-hidden":"true",class:"flex",name:"x-circle"}))),t("span",{key:"d6ee0750683f57c4843b66c0f57fa4f8fe593233",class:{"bq-select__control--suffix":true,"rotate-180":this.open,"rotate-0":!this.open},part:"suffix",ref:e=>{this.suffixElem=e}},t("slot",{key:"60bbf927836994e487ec5615ac37b46309a7f0d2",name:"suffix",onSlotchange:this.handleSlotChange},t("bq-icon",{key:"f92b77a0d9833e0ad31d7a9adbd8b0ce76f069b7",class:"flex",name:"caret-down"})))),t("bq-option-list",{key:"0b4fa059ac5d9a296358bffb05cd61a08bbb41f6","aria-expanded":this.open?"true":"false",exportparts:"base:option-list",id:`bq-options-${this.name}`,onBqSelect:this.handleSelect,role:"listbox"},t("slot",{key:"9a42fd00864ff85ea0b9298b60d0f4cbdb9be43e"}))),t("div",{key:"f09628183dc0f4e35caae1551d3de266a96ccc64",class:{[`bq-select__helper-text validation-${this.validationStatus}`]:true,"!hidden":!this.hasHelperText},part:"helper-text",ref:e=>{this.helperTextElem=e}},t("slot",{key:"0ab5418216b6b41c64b7019a6ff4f6ab8bc751c4",name:"helper-text",onSlotchange:this.handleSlotChange})))}static get delegatesFocus(){return true}static get formAssociated(){return true}static get watchers(){return{value:[{handleValueChange:0}]}}static get style(){return p()}},[849,"bq-select",{autofocus:[516],clearButtonLabel:[513,"clear-button-label"],debounceTime:[1538,"debounce-time"],disableScrollLock:[516,"disable-scroll-lock"],disabled:[1028],disableClear:[516,"disable-clear"],distance:[514],form:[513],keepOpenOnSelect:[516,"keep-open-on-select"],name:[513],maxTagsVisible:[1026,"max-tags-visible"],multiple:[516],open:[1540],panelHeight:[513,"panel-height"],placeholder:[513],placement:[513],readonly:[516],required:[516],sameWidth:[516,"same-width"],skidding:[514],strategy:[513],validationStatus:[513,"validation-status"],value:[1537],displayValue:[32],hasHelperText:[32],selectedOptions:[32],hasLabel:[32],hasPrefix:[32],hasSuffix:[32],hasValue:[32],clear:[64],reset:[64]},[[2,"bqOpen","handleOpenChange"],[2,"bqFocus","stopOptionFocusBlurPropagation"],[2,"bqBlur","stopOptionFocusBlurPropagation"],[11,"scroll","handleScrollEvent"]],{value:[{handleValueChange:0}]}]);function x(){if(typeof customElements==="undefined"){return}const e=["bq-select","bq-button","bq-dropdown","bq-icon","bq-option-list","bq-panel","bq-tag"];e.forEach((e=>{switch(e){case"bq-select":if(!customElements.get(b(e))){customElements.define(b(e),m)}break;case"bq-button":if(!customElements.get(b(e))){c()}break;case"bq-dropdown":if(!customElements.get(b(e))){d()}break;case"bq-icon":if(!customElements.get(b(e))){v()}break;case"bq-option-list":if(!customElements.get(b(e))){u()}break;case"bq-panel":if(!customElements.get(b(e))){f()}break;case"bq-tag":if(!customElements.get(b(e))){g()}break}}))}const y=m;const w=x;export{y as BqSelect,w as defineCustomElement,h as s};
|
|
799
6
|
//# sourceMappingURL=bq-select.js.map
|