@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
|
@@ -1,388 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by Endavans
|
|
3
|
-
* © https://beeq.design - Apache 2 License.
|
|
4
|
-
*/
|
|
5
|
-
import { r, c as a, g as e } from "./p-D0hQxkOP.js";
|
|
6
|
-
|
|
7
|
-
import { a as b, j as t } from "./p-C33fRBEf.js";
|
|
8
|
-
|
|
9
|
-
import { c as n } from "./p-Cau9SvT4.js";
|
|
10
|
-
|
|
11
|
-
import { d as i } from "./p-CVw85-WU.js";
|
|
12
|
-
|
|
13
|
-
import { i as s } from "./p-BcPwGxIn.js";
|
|
14
|
-
|
|
15
|
-
import { i as o } from "./p-lysmVw2n.js";
|
|
16
|
-
|
|
17
|
-
const bqSliderCss = () => `.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-auto{pointer-events:auto}.box-content{box-sizing:content-box}.block{display:block}.size-\\[--bq-slider--thumb-size\\]{height:var(--bq-slider--thumb-size);width:var(--bq-slider--thumb-size)}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.rounded-full{border-radius:var(--bq-radius--full)}.border-m{border-width:var(--bq-stroke-m)}.border-solid{border-style:solid}.border-brand{border-color:var(--bq-stroke--brand)}.transition-\\[background-color\\2c border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.bg-active-ui-brand{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%)}.border-active-brand{border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-active) 20%)}.border-hover-brand{border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.is-full{inline-size:100%}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.thumb{appearance:none;background-color:var(--bq-ui--primary);border-color:var(--bq-stroke--brand);border-radius:var(--bq-radius--full);border-style:solid;border-width:var(--bq-stroke-m);box-sizing:content-box;cursor:pointer;height:var(--bq-slider--thumb-size);pointer-events:auto;transition-duration:.3s;transition-property:background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--bq-slider--thumb-size)}.thumb-focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.thumb-hover{border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.thumb-active{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%);border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-active) 20%);cursor:grabbing}@-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-slider--size:4px;--bq-slider--border-radius:var(--bq-radius--xs);--bq-slider--thumb-size:13px;--bq-slider--progress-color:var(--bq-ui--brand);--bq-slider--trackarea-color:var(--bq-ui--secondary);display:block;inline-size:100%}input[type=range]::-webkit-slider-thumb{appearance:none;background-color:var(--bq-ui--primary);border-color:var(--bq-stroke--brand);border-radius:var(--bq-radius--full);border-style:solid;border-width:var(--bq-stroke-m);box-sizing:content-box;cursor:pointer;height:var(--bq-slider--thumb-size);pointer-events:auto;transition-duration:.3s;transition-property:background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--bq-slider--thumb-size)}input[type=range]::-webkit-slider-runnable-track{transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,1,1)}input[type=range]:focus-visible::-webkit-slider-thumb{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}input[type=range]:hover::-webkit-slider-thumb{border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}input[type=range]:active::-webkit-slider-thumb{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%);border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-active) 20%);cursor:grabbing}input[type=range][disabled]::-webkit-slider-thumb{cursor:not-allowed}input[type=range]::-moz-range-thumb{appearance:none;background-color:var(--bq-ui--primary);border-color:var(--bq-stroke--brand);border-radius:var(--bq-radius--full);border-style:solid;border-width:var(--bq-stroke-m);box-sizing:content-box;cursor:pointer;height:var(--bq-slider--thumb-size);pointer-events:auto;transition-duration:.3s;transition-property:background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--bq-slider--thumb-size)}input[type=range]::-moz-range-track{transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,1,1)}input[type=range]:focus-visible::-moz-range-thumb{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}input[type=range]:hover::-moz-range-thumb{border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}input[type=range]:active::-moz-range-thumb{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%);border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-active) 20%);cursor:grabbing}input[type=range][disabled]::-moz-range-thumb{cursor:not-allowed}.-translate-y-1\\/2{--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;--tw-translate-y:-50%;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))}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.start-0{inset-inline-start:0}.me-xs{margin-inline-end:var(--bq-spacing-xs)}.ms-xs{margin-inline-start:var(--bq-spacing-xs)}.flex{display:flex}.hidden{display:none}.rounded-xs{border-radius:var(--bq-radius--xs)}.bg-\\[--bq-slider--progress-color\\]{background-color:var(--bq-slider--progress-color)}.bg-\\[--bq-slider--trackarea-color\\]{background-color:var(--bq-slider--trackarea-color)}.bg-transparent{background-color:transparent}.text-start{text-align:start}.text-end{text-align:end}.text-s{font-size:var(--bq-font-size--s)}.font-medium{font-weight:var(--bq-font-weight--medium)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-60{opacity:.6}.outline-none{outline:2px solid transparent;outline-offset:2px}.bs-1{block-size:.25rem}.is-1{inline-size:.25rem}.is-\\[50\\%\\]{inline-size:50%}.is-fit{inline-size:fit-content}.min-is-8{min-inline-size:2rem}.inset-bs-\\[50\\%\\]{inset-block-start:50%}.\\[font-variant\\:tabular-nums\\]{font-variant:tabular-nums}.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}}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.\\[\\&\\:\\:part\\(panel\\)\\]\\:absolute::part(panel){position:absolute}.visible{visibility:visible}.fixed{position:fixed}`;
|
|
18
|
-
|
|
19
|
-
const q = class {
|
|
20
|
-
constructor(e) {
|
|
21
|
-
r(this, e);
|
|
22
|
-
this.bqChange = a(this, "bqChange");
|
|
23
|
-
this.bqBlur = a(this, "bqBlur");
|
|
24
|
-
this.bqFocus = a(this, "bqFocus");
|
|
25
|
-
if (e.$hostElement$["s-ei"]) {
|
|
26
|
-
this.internals = e.$hostElement$["s-ei"];
|
|
27
|
-
} else {
|
|
28
|
-
this.internals = e.$hostElement$.attachInternals();
|
|
29
|
-
e.$hostElement$["s-ei"] = this.internals;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
// Own Properties
|
|
33
|
-
// ====================
|
|
34
|
-
inputMinElem;
|
|
35
|
-
inputMaxElem;
|
|
36
|
-
minTooltipElem;
|
|
37
|
-
maxTooltipElem;
|
|
38
|
-
progressElem;
|
|
39
|
-
trackElem;
|
|
40
|
-
debounceBqChange;
|
|
41
|
-
// Reference to host HTML element
|
|
42
|
-
// ===================================
|
|
43
|
-
internals;
|
|
44
|
-
get el() {
|
|
45
|
-
return e(this);
|
|
46
|
-
}
|
|
47
|
-
// State() variables
|
|
48
|
-
// Inlined decorator, alphabetical order
|
|
49
|
-
// =======================================
|
|
50
|
-
/**
|
|
51
|
-
* The `minValue` state is the only value when the slider type is `single`
|
|
52
|
-
* and the minimum value when the slider type is `range`.
|
|
53
|
-
*/
|
|
54
|
-
minValue;
|
|
55
|
-
/** The `maxValue` state is only used when the slider type is `range`. */
|
|
56
|
-
maxValue;
|
|
57
|
-
/** It hold the left position of the Thumb for the value or the minimum value (if the slider type is `range`) */
|
|
58
|
-
minThumbPosition;
|
|
59
|
-
/** It hold the left position of the Thumb for the maximum value (if the slider type is `range`) */
|
|
60
|
-
maxThumbPosition;
|
|
61
|
-
// Public Property API
|
|
62
|
-
// ========================
|
|
63
|
-
/** The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change. */
|
|
64
|
-
debounceTime=0;
|
|
65
|
-
/** If `true` the slider is disabled. */
|
|
66
|
-
disabled=false;
|
|
67
|
-
/** If `true` it will show the value label on a side of the slider track area */
|
|
68
|
-
enableValueIndicator=false;
|
|
69
|
-
/** A number representing the amount to remain between the minimum and maximum values (only for range type). */
|
|
70
|
-
gap=0;
|
|
71
|
-
/** A number representing the max value of the slider. */
|
|
72
|
-
max=100;
|
|
73
|
-
/** A number representing the min value of the slider. */
|
|
74
|
-
min=0;
|
|
75
|
-
/** Name of the form control. Submitted with the form as part of a name/value pair */
|
|
76
|
-
name;
|
|
77
|
-
/**
|
|
78
|
-
* A number representing the step of the slider.
|
|
79
|
-
* ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.
|
|
80
|
-
*/
|
|
81
|
-
step=1;
|
|
82
|
-
/** It defines the type of slider to display */
|
|
83
|
-
type="single";
|
|
84
|
-
/**
|
|
85
|
-
* The value of the slider.
|
|
86
|
-
* - If the slider type is `single`, the value is a number.
|
|
87
|
-
* - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).
|
|
88
|
-
*/
|
|
89
|
-
value;
|
|
90
|
-
/** If `true`, a tooltip will be shown displaying the progress value */
|
|
91
|
-
enableTooltip=false;
|
|
92
|
-
/**
|
|
93
|
-
* If `true`, a tooltip will always display the progress value.
|
|
94
|
-
* It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.
|
|
95
|
-
*/
|
|
96
|
-
tooltipAlwaysVisible=false;
|
|
97
|
-
// Prop lifecycle events
|
|
98
|
-
// =======================
|
|
99
|
-
handleValuePropChange(r) {
|
|
100
|
-
this.setState(r);
|
|
101
|
-
this.emitBqChange();
|
|
102
|
-
}
|
|
103
|
-
handleStepPropChange() {
|
|
104
|
-
this.minValue = Math.round(this.minValue / this.step) * this.step;
|
|
105
|
-
this.maxValue = Math.round(this.maxValue / this.step) * this.step;
|
|
106
|
-
}
|
|
107
|
-
handleGapChange(r) {
|
|
108
|
-
if (!this.isRangeType) return;
|
|
109
|
-
// Use the this.value prop value when the component is initialized
|
|
110
|
-
// Otherwise, use the current this.min and this.max state values
|
|
111
|
-
const a = !s(this.min) && !s(this.max) ? [ this.min, this.max ] : this.stringToObject(this.value);
|
|
112
|
-
// If the gap is less than the min or greater than the max, set it to 0
|
|
113
|
-
this.gap = r < a[0] || r > a[1] ? 0 : r;
|
|
114
|
-
}
|
|
115
|
-
// Events section
|
|
116
|
-
// Requires JSDocs for public API documentation
|
|
117
|
-
// ==============================================
|
|
118
|
-
/** Handler to be called when change the value on range inputs */
|
|
119
|
-
bqChange;
|
|
120
|
-
/** Handler to be called when the slider loses focus */
|
|
121
|
-
bqBlur;
|
|
122
|
-
/** Handler to be called when the slider gets focused */
|
|
123
|
-
bqFocus;
|
|
124
|
-
// Component lifecycle events
|
|
125
|
-
// Ordered by their natural call order
|
|
126
|
-
// =====================================
|
|
127
|
-
componentWillLoad() {
|
|
128
|
-
this.init();
|
|
129
|
-
}
|
|
130
|
-
componentDidLoad() {
|
|
131
|
-
this.runUpdates();
|
|
132
|
-
}
|
|
133
|
-
componentDidUpdate() {
|
|
134
|
-
this.runUpdates();
|
|
135
|
-
}
|
|
136
|
-
formAssociatedCallback() {
|
|
137
|
-
this.internals?.setFormValue(`${this.value}`);
|
|
138
|
-
}
|
|
139
|
-
// Listeners
|
|
140
|
-
// ==============
|
|
141
|
-
// Public methods API
|
|
142
|
-
// These methods are exposed on the host element.
|
|
143
|
-
// Always use two lines.
|
|
144
|
-
// Public Methods must be async.
|
|
145
|
-
// Requires JSDocs for public API documentation.
|
|
146
|
-
// ===============================================
|
|
147
|
-
// Local methods
|
|
148
|
-
// Internal business logic.
|
|
149
|
-
// These methods cannot be called from the host element.
|
|
150
|
-
// =======================================================
|
|
151
|
-
init=() => {
|
|
152
|
-
this.handleGapChange(this.gap);
|
|
153
|
-
this.setState(this.value);
|
|
154
|
-
this.handleStepPropChange();
|
|
155
|
-
};
|
|
156
|
-
runUpdates=() => {
|
|
157
|
-
this.updateProgressTrack();
|
|
158
|
-
this.syncInputsValue();
|
|
159
|
-
this.setThumbPosition();
|
|
160
|
-
};
|
|
161
|
-
setState=r => {
|
|
162
|
-
const a = this.isRangeType;
|
|
163
|
-
const e = this.stringToObject(r);
|
|
164
|
-
this.minValue = a ? n(e[0], this.min, this.max - this.gap) : e;
|
|
165
|
-
this.maxValue = a ? n(e[1], this.minValue + this.gap, this.max) : this.minValue;
|
|
166
|
-
};
|
|
167
|
-
setThumbPosition=() => {
|
|
168
|
-
if (!this.enableTooltip) return;
|
|
169
|
-
// Destructure the returned object from this.thumbPosition() and assign the properties to this.minThumbPosition and this.maxThumbPosition
|
|
170
|
-
({minThumbPosition: this.minThumbPosition, maxThumbPosition: this.maxThumbPosition} = this.thumbPosition());
|
|
171
|
-
};
|
|
172
|
-
syncInputsValue=() => {
|
|
173
|
-
this.inputMinElem?.setAttribute("value", this.minValue.toString());
|
|
174
|
-
this.inputMaxElem?.setAttribute("value", this.maxValue.toString());
|
|
175
|
-
};
|
|
176
|
-
stringToObject=r => o(r) ? JSON.parse(r) : r;
|
|
177
|
-
handleInputChange=(r, a) => {
|
|
178
|
-
const e = a.target;
|
|
179
|
-
const b = parseFloat(e.value);
|
|
180
|
-
if (r === "min") {
|
|
181
|
-
this.minValue = this.isRangeType ? Math.min(b, this.maxValue - this.gap) : b;
|
|
182
|
-
} else if (r === "max") {
|
|
183
|
-
this.maxValue = this.isRangeType ? Math.max(b, this.minValue + this.gap) : b;
|
|
184
|
-
}
|
|
185
|
-
// Update the input value to reflect the clamped value
|
|
186
|
-
const t = (r === "min" ? this.minValue : this.maxValue).toString();
|
|
187
|
-
e.value = t;
|
|
188
|
-
e.setAttribute("value", t);
|
|
189
|
-
// Sync the prop value.
|
|
190
|
-
// This will trigger the `@Watch('value')` method and emit the `bqChange` event.
|
|
191
|
-
const {internals: n, isRangeType: i, maxValue: s, minValue: o} = this;
|
|
192
|
-
this.value = i ? [ o, s ] : o;
|
|
193
|
-
n?.setFormValue(i ? JSON.stringify(this.value) : this.value.toString());
|
|
194
|
-
if (i) this.el.setAttribute("value", JSON.stringify(this.value));
|
|
195
|
-
};
|
|
196
|
-
calculatePercent=r => {
|
|
197
|
-
const a = Number(this.max) - Number(this.min);
|
|
198
|
-
return (r - this.min) / a * 100;
|
|
199
|
-
};
|
|
200
|
-
updateProgressTrack=() => {
|
|
201
|
-
if (!this.progressElem) return;
|
|
202
|
-
// For range type, left starts from the `min` value and width is the difference between `max` and `min`.
|
|
203
|
-
// For non-range type, left starts from 0 and width is the `min` value.
|
|
204
|
-
const r = this.isRangeType ? this.calculatePercent(this.minValue) : 0;
|
|
205
|
-
const a = this.isRangeType ? this.calculatePercent(Number(this.maxValue) - Number(this.minValue) + this.min) : this.calculatePercent(this.minValue);
|
|
206
|
-
this.progressElem.style.insetInlineStart = `${r}%`;
|
|
207
|
-
this.progressElem.style.inlineSize = `${a}%`;
|
|
208
|
-
};
|
|
209
|
-
calculateThumbPosition=r => {
|
|
210
|
-
if (!this.progressElem) return 0;
|
|
211
|
-
// Get the width of the track area and the size of the input range thumb
|
|
212
|
-
const a = this.trackElem.getBoundingClientRect().width;
|
|
213
|
-
// We need to also add 4px to the thumb size,
|
|
214
|
-
// this is because the thumb is 2px border (`border-m`)
|
|
215
|
-
const e = parseInt(getComputedStyle(this.el).getPropertyValue("--bq-slider--thumb-size"), 10) + 4;
|
|
216
|
-
const b = a - e;
|
|
217
|
-
return (r - this.min) / (this.max - this.min) * b + e / 2;
|
|
218
|
-
};
|
|
219
|
-
thumbPosition=() => {
|
|
220
|
-
const r = this.calculateThumbPosition(this.minValue);
|
|
221
|
-
const a = this.isRangeType ? this.calculateThumbPosition(this.maxValue) : undefined;
|
|
222
|
-
return {
|
|
223
|
-
minThumbPosition: r,
|
|
224
|
-
maxThumbPosition: a
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
emitBqChange=() => {
|
|
228
|
-
this.debounceBqChange?.cancel();
|
|
229
|
-
const r = this.isRangeType ? [ this.minValue, this.maxValue ] : this.minValue;
|
|
230
|
-
this.debounceBqChange = i((() => this.bqChange.emit({
|
|
231
|
-
value: r,
|
|
232
|
-
el: this.el
|
|
233
|
-
})), this.debounceTime);
|
|
234
|
-
this.debounceBqChange();
|
|
235
|
-
};
|
|
236
|
-
handleBlur=() => {
|
|
237
|
-
this.bqBlur.emit(this.el);
|
|
238
|
-
};
|
|
239
|
-
handleFocus=() => {
|
|
240
|
-
this.bqFocus.emit(this.el);
|
|
241
|
-
};
|
|
242
|
-
handleMouseDown=r => {
|
|
243
|
-
this.handleTooltipVisibility(r, "remove");
|
|
244
|
-
};
|
|
245
|
-
handleMouseUp=r => {
|
|
246
|
-
this.handleTooltipVisibility(r, "add");
|
|
247
|
-
};
|
|
248
|
-
handleTooltipVisibility=(r, a) => {
|
|
249
|
-
if (!this.enableTooltip || this.tooltipAlwaysVisible) return;
|
|
250
|
-
const e = r.target;
|
|
251
|
-
const b = e === this.inputMinElem ? this.minTooltipElem : this.maxTooltipElem;
|
|
252
|
-
b.classList[a]("hidden");
|
|
253
|
-
};
|
|
254
|
-
get decimalCount() {
|
|
255
|
-
// Return the length of the decimal part of the step value.
|
|
256
|
-
return (this.step % 1).toFixed(10).split(".")[1].replace(/0+$/, "").length;
|
|
257
|
-
}
|
|
258
|
-
get isRangeType() {
|
|
259
|
-
return this.type === "range";
|
|
260
|
-
}
|
|
261
|
-
get isTooltipAlwaysVisible() {
|
|
262
|
-
return this.tooltipAlwaysVisible && this.enableTooltip;
|
|
263
|
-
}
|
|
264
|
-
renderLabel=(r, a, e) => b("span", {
|
|
265
|
-
class: {
|
|
266
|
-
[`${e} is-fit min-is-8 box-content block font-medium text-primary text-s leading-regular [font-variant:tabular-nums]`]: true,
|
|
267
|
-
hidden: a === "start" ? !this.enableValueIndicator : !this.enableValueIndicator || !this.isRangeType
|
|
268
|
-
},
|
|
269
|
-
part: `label-${a}`,
|
|
270
|
-
children: r.toFixed(this.decimalCount)
|
|
271
|
-
});
|
|
272
|
-
renderInput=(r, a, e) => {
|
|
273
|
-
// Determine the zIndex value based on the type and the current min and max values.
|
|
274
|
-
const zIndexValue = r => {
|
|
275
|
-
const a = {
|
|
276
|
-
min: this.minValue === this.min && this.maxValue === this.minValue,
|
|
277
|
-
max: this.maxValue === this.max && this.minValue === this.maxValue
|
|
278
|
-
};
|
|
279
|
-
// If the value of both thumbs is the same as the min or max value, set the zIndex to -1
|
|
280
|
-
return a[r] ? "-1" : "0";
|
|
281
|
-
};
|
|
282
|
-
return b("input", {
|
|
283
|
-
class: {
|
|
284
|
-
"is-full absolute inset-bs-[50%] start-0 -translate-y-1/2 cursor-pointer appearance-none bg-transparent outline-none disabled:cursor-not-allowed": true,
|
|
285
|
-
"pointer-events-none": this.isRangeType
|
|
286
|
-
},
|
|
287
|
-
disabled: this.disabled,
|
|
288
|
-
max: this.max,
|
|
289
|
-
min: this.min,
|
|
290
|
-
name: this.name,
|
|
291
|
-
onBlur: this.handleBlur,
|
|
292
|
-
onFocus: this.handleFocus,
|
|
293
|
-
onInput: a => this.handleInputChange(r, a),
|
|
294
|
-
onMouseDown: this.handleMouseDown,
|
|
295
|
-
onMouseUp: this.handleMouseUp,
|
|
296
|
-
part: `input-${r}`,
|
|
297
|
-
ref: e,
|
|
298
|
-
step: this.step,
|
|
299
|
-
style: this.isRangeType ? {
|
|
300
|
-
zIndex: zIndexValue(r)
|
|
301
|
-
} : undefined,
|
|
302
|
-
type: "range",
|
|
303
|
-
value: a
|
|
304
|
-
});
|
|
305
|
-
};
|
|
306
|
-
renderTooltip=(r, a, e) => t("bq-tooltip", {
|
|
307
|
-
alwaysVisible: true,
|
|
308
|
-
class: {
|
|
309
|
-
"absolute [&::part(panel)]:absolute": true,
|
|
310
|
-
hidden: !this.isTooltipAlwaysVisible
|
|
311
|
-
},
|
|
312
|
-
distance: this.enableValueIndicator ? 6 : 16,
|
|
313
|
-
exportparts: "base,trigger,panel",
|
|
314
|
-
ref: e,
|
|
315
|
-
style: {
|
|
316
|
-
insetInlineStart: `${a}px`,
|
|
317
|
-
fontVariant: "tabular-nums"
|
|
318
|
-
},
|
|
319
|
-
children: [ b("div", {
|
|
320
|
-
class: "bs-1 is-1 absolute",
|
|
321
|
-
slot: "trigger"
|
|
322
|
-
}), r.toFixed(this.decimalCount) ]
|
|
323
|
-
})
|
|
324
|
-
// render() function
|
|
325
|
-
// Always the last one in the class.
|
|
326
|
-
// ===================================
|
|
327
|
-
;
|
|
328
|
-
render() {
|
|
329
|
-
return t("div", {
|
|
330
|
-
"aria-disabled": this.disabled ? "true" : "false",
|
|
331
|
-
class: {
|
|
332
|
-
"is-full flex": true,
|
|
333
|
-
"cursor-not-allowed opacity-60": this.disabled
|
|
334
|
-
},
|
|
335
|
-
part: "base",
|
|
336
|
-
children: [ this.renderLabel(this.minValue, "start", "me-xs text-end"), t("div", {
|
|
337
|
-
class: "is-full relative",
|
|
338
|
-
part: "container",
|
|
339
|
-
children: [ b("span", {
|
|
340
|
-
class: "bs-1 is-full absolute inset-bs-[50%] start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color]",
|
|
341
|
-
part: "track-area",
|
|
342
|
-
ref: r => {
|
|
343
|
-
this.trackElem = r;
|
|
344
|
-
}
|
|
345
|
-
}, "68f0633c86e33e1f8b9c873f57766c8aea608dec"), b("span", {
|
|
346
|
-
class: "bs-1 is-[50%] absolute inset-bs-[50%] -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color]",
|
|
347
|
-
part: "progress-area",
|
|
348
|
-
ref: r => {
|
|
349
|
-
this.progressElem = r;
|
|
350
|
-
}
|
|
351
|
-
}, "f1512b7792f304aca4a75300d7265ec9b1b5796c"), this.enableTooltip && this.renderTooltip(this.minValue, this.minThumbPosition, (r => {
|
|
352
|
-
this.minTooltipElem = r;
|
|
353
|
-
})), this.renderInput("min", this.minValue, (r => {
|
|
354
|
-
this.inputMinElem = r;
|
|
355
|
-
})), this.enableTooltip && this.isRangeType && this.renderTooltip(this.maxValue, this.maxThumbPosition, (r => {
|
|
356
|
-
this.maxTooltipElem = r;
|
|
357
|
-
})), this.isRangeType && this.renderInput("max", this.maxValue, (r => {
|
|
358
|
-
this.inputMaxElem = r;
|
|
359
|
-
})) ]
|
|
360
|
-
}, "52acb2b43a7681220bc2b1c2dc40a82a83627618"), this.renderLabel(this.maxValue, "end", "ms-xs text-start") ]
|
|
361
|
-
}, "1616e127d413f2b40cee4b7048e488b3e77a689c");
|
|
362
|
-
}
|
|
363
|
-
static get delegatesFocus() {
|
|
364
|
-
return true;
|
|
365
|
-
}
|
|
366
|
-
static get formAssociated() {
|
|
367
|
-
return true;
|
|
368
|
-
}
|
|
369
|
-
static get watchers() {
|
|
370
|
-
return {
|
|
371
|
-
value: [ {
|
|
372
|
-
handleValuePropChange: 0
|
|
373
|
-
} ],
|
|
374
|
-
step: [ {
|
|
375
|
-
handleStepPropChange: 0
|
|
376
|
-
} ],
|
|
377
|
-
gap: [ {
|
|
378
|
-
handleGapChange: 0
|
|
379
|
-
} ]
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
q.style = bqSliderCss();
|
|
385
|
-
|
|
386
|
-
export { q as bq_slider };
|
|
387
|
-
//# sourceMappingURL=bq-slider.entry.esm.js.map
|
|
388
|
-
//# sourceMappingURL=p-d0edfaa5.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["bqSliderCss","BqSlider","inputMinElem","inputMaxElem","minTooltipElem","maxTooltipElem","progressElem","trackElem","debounceBqChange","internals","minValue","maxValue","minThumbPosition","maxThumbPosition","debounceTime","disabled","enableValueIndicator","gap","max","min","name","step","type","value","enableTooltip","tooltipAlwaysVisible","handleValuePropChange","newValue","this","setState","emitBqChange","handleStepPropChange","Math","round","handleGapChange","isRangeType","isNil","stringToObject","bqChange","bqBlur","bqFocus","componentWillLoad","init","componentDidLoad","runUpdates","componentDidUpdate","formAssociatedCallback","setFormValue","updateProgressTrack","syncInputsValue","setThumbPosition","clamp","thumbPosition","setAttribute","toString","isString","JSON","parse","handleInputChange","event","target","parseFloat","reflectedValue","stringify","el","calculatePercent","totalRange","Number","left","width","style","insetInlineStart","inlineSize","calculateThumbPosition","trackAreaWidth","getBoundingClientRect","inputThumbSize","parseInt","getComputedStyle","getPropertyValue","totalWidth","undefined","cancel","debounce","emit","handleBlur","handleFocus","handleMouseDown","handleTooltipVisibility","handleMouseUp","action","tooltipElem","classList","decimalCount","toFixed","split","replace","length","isTooltipAlwaysVisible","renderLabel","position","css","_jsx","class","hidden","part","children","renderInput","refCallback","zIndexValue","zIndex","onBlur","onFocus","onInput","ev","onMouseDown","onMouseUp","ref","renderTooltip","_jsxs","alwaysVisible","distance","exportparts","fontVariant","slot","render","elem","input"],"sources":["../../packages/beeq/src/components/slider/scss/bq-slider.scss?tag=bq-slider&encapsulation=shadow","../../packages/beeq/src/components/slider/bq-slider.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Slider styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-slider.variables';\n\n@layer components {\n .thumb {\n @apply pointer-events-auto box-content size-[--bq-slider--thumb-size] cursor-pointer appearance-none rounded-full border-m border-solid border-brand bg-ui-primary;\n @apply transition-[background-color,border-color,box-shadow] duration-300;\n }\n\n .thumb-focus {\n @apply focus;\n }\n\n .thumb-hover {\n @apply border-hover-brand;\n }\n\n .thumb-active {\n @apply cursor-grabbing bg-active-ui-brand border-active-brand;\n }\n}\n\n:host {\n @apply block is-full;\n}\n\n/* ---------------------- Webkit (Chrome, Safari, Edge) --------------------- */\n\ninput[type='range']::-webkit-slider-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-webkit-slider-runnable-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-webkit-slider-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-webkit-slider-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-webkit-slider-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-webkit-slider-thumb {\n @apply cursor-not-allowed;\n}\n\n/* ---------------------------- Mozilla (Firefox) --------------------------- */\n\ninput[type='range']::-moz-range-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-moz-range-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-moz-range-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-moz-range-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-moz-range-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-moz-range-thumb {\n @apply cursor-not-allowed;\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { AttachInternals, Component, Element, Event, Prop, State, Watch } from '@stencil/core';\nimport type { JSX } from '@stencil/core/internal';\n\nimport { clamp, debounce, isNil, isString, type TDebounce } from '../../shared/utils';\nimport type { TSliderType, TSliderValue } from './bq-slider.types';\n\n/**\n * Sliders provide a visual representation of adjustable content, enabling users to change values by dragging a handle along a horizontal track.\n *\n * @example How to use it\n * ```html\n * <bq-slider max=\"100\" value=\"30\"></bq-slider>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/509cbc-slider/b/09d7b1\n * @status stable\n *\n * @dependency bq-tooltip\n *\n * @attr {number} debounce-time - The amount of time, in milliseconds, to wait to trigger the bqChange event after each value change.\n * @attr {boolean} disabled - If `true` the slider is disabled.\n * @attr {boolean} enable-tooltip - If `true`, a tooltip will be shown displaying the progress value.\n * @attr {boolean} enable-value-indicator - If `true` it will show the value label on the side of the slider track area.\n * @attr {number} gap - A number representing the amount to remain between the minimum and maximum values (only for range type).\n * @attr {number} max - A number representing the max value of the slider.\n * @attr {number} min - A number representing the min value of the slider.\n * @attr {number} step - A number represents the step of the slider. ⚠️ Please notice that the value (or list of values if the slider type is range) will be rounded to the nearest multiple of step.\n * @attr {boolean} tooltip-always-visible - If `true`, a tooltip will always display the progress value. It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.\n * @attr {\"range\" | \"single\"} type - It defines the type of slider to display.\n * @attr {\"[number, number]\" | \"number\" | \"string\"} value - The value of the slider. If the slider type is single, the value is a number.\n * If the slider type is range, the value is an array of two numbers (the first number represents the min value and the second number represents the max value).\n *\n * @event bqBlur - Handler to be called when the slider loses focus.\n * @event bqChange - Handler to be called when changing the value on range inputs.\n * @event bqFocus - Handler to be called when the slider gets focused.\n *\n * @part base - The component's base wrapper.\n * @part container - The container of the slider.\n * @part track-area - The track area of the slider.\n * @part progress-area - The progress area of the slider.\n * @part input-min - The input element for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part input-max - The input element for the maximum value.\n * @part label-start - The label for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part label-end - The label for maximum value when the slider type is `range`.\n *\n * @cssprop --bq-slider--size - The height of the slider track/progress area\n * @cssprop --bq-slider--border-radius - Slider border radius\n * @cssprop --bq-slider--thumb-size - Slider hover thumb size\n * @cssprop --bq-slider--progress-color - Slider progress background color\n * @cssprop --bq-slider--trackarea-color - Slider track background color\n */\n@Component({\n tag: 'bq-slider',\n styleUrl: './scss/bq-slider.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSlider {\n // Own Properties\n // ====================\n\n private inputMinElem: HTMLInputElement;\n private inputMaxElem: HTMLInputElement;\n private minTooltipElem: HTMLBqTooltipElement;\n private maxTooltipElem: HTMLBqTooltipElement;\n private progressElem: HTMLSpanElement;\n private trackElem: HTMLSpanElement;\n private debounceBqChange: TDebounce<void>;\n\n // Reference to host HTML element\n // ===================================\n\n @AttachInternals() internals!: ElementInternals;\n @Element() el!: HTMLBqSliderElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n /**\n * The `minValue` state is the only value when the slider type is `single`\n * and the minimum value when the slider type is `range`.\n */\n @State() minValue: number;\n /** The `maxValue` state is only used when the slider type is `range`. */\n @State() maxValue: number;\n /** It hold the left position of the Thumb for the value or the minimum value (if the slider type is `range`) */\n @State() minThumbPosition: number;\n /** It hold the left position of the Thumb for the maximum value (if the slider type is `range`) */\n @State() maxThumbPosition: number;\n\n // Public Property API\n // ========================\n\n /** The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change. */\n @Prop({ reflect: true }) debounceTime = 0;\n\n /** If `true` the slider is disabled. */\n @Prop({ reflect: true }) disabled? = false;\n\n /** If `true` it will show the value label on a side of the slider track area */\n @Prop({ reflect: true }) enableValueIndicator? = false;\n\n /** A number representing the amount to remain between the minimum and maximum values (only for range type). */\n @Prop({ reflect: true, mutable: true }) gap = 0;\n\n /** A number representing the max value of the slider. */\n @Prop({ reflect: true }) max = 100;\n\n /** A number representing the min value of the slider. */\n @Prop({ reflect: true }) min = 0;\n\n /** Name of the form control. Submitted with the form as part of a name/value pair */\n @Prop({ reflect: true }) name: string;\n\n /**\n * A number representing the step of the slider.\n * ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.\n */\n @Prop({ reflect: true }) step = 1;\n\n /** It defines the type of slider to display */\n @Prop({ reflect: true }) type: TSliderType = 'single';\n\n /**\n * The value of the slider.\n * - If the slider type is `single`, the value is a number.\n * - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).\n */\n @Prop({ reflect: true, mutable: true }) value: TSliderValue;\n\n /** If `true`, a tooltip will be shown displaying the progress value */\n @Prop({ reflect: true }) enableTooltip: boolean = false;\n\n /**\n * If `true`, a tooltip will always display the progress value.\n * It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.\n */\n @Prop({ reflect: true }) tooltipAlwaysVisible: boolean = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValuePropChange(newValue: TSliderValue) {\n this.setState(newValue);\n this.emitBqChange();\n }\n\n @Watch('step')\n handleStepPropChange() {\n this.minValue = Math.round(this.minValue / this.step) * this.step;\n this.maxValue = Math.round(this.maxValue / this.step) * this.step;\n }\n\n @Watch('gap')\n handleGapChange(newValue: number) {\n if (!this.isRangeType) return;\n // Use the this.value prop value when the component is initialized\n // Otherwise, use the current this.min and this.max state values\n const value = !isNil(this.min) && !isNil(this.max) ? [this.min, this.max] : this.stringToObject(this.value);\n // If the gap is less than the min or greater than the max, set it to 0\n this.gap = newValue < value[0] || newValue > value[1] ? 0 : newValue;\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when change the value on range inputs */\n @Event() bqChange: EventEmitter<{ value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement }>;\n\n /** Handler to be called when the slider loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSliderElement>;\n\n /** Handler to be called when the slider gets focused */\n @Event() bqFocus: EventEmitter<HTMLBqSliderElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.init();\n }\n\n componentDidLoad() {\n this.runUpdates();\n }\n\n componentDidUpdate() {\n this.runUpdates();\n }\n\n formAssociatedCallback() {\n this.internals?.setFormValue(`${this.value}`);\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private init = () => {\n this.handleGapChange(this.gap);\n this.setState(this.value);\n this.handleStepPropChange();\n };\n\n private runUpdates = () => {\n this.updateProgressTrack();\n this.syncInputsValue();\n this.setThumbPosition();\n };\n\n private setState = (newValue: TSliderValue) => {\n const isRangeType = this.isRangeType;\n const value = this.stringToObject(newValue);\n\n this.minValue = isRangeType ? clamp(value[0], this.min, this.max - this.gap) : value;\n this.maxValue = isRangeType ? clamp(value[1], this.minValue + this.gap, this.max) : this.minValue;\n };\n\n private setThumbPosition = () => {\n if (!this.enableTooltip) return;\n\n // Destructure the returned object from this.thumbPosition() and assign the properties to this.minThumbPosition and this.maxThumbPosition\n ({ minThumbPosition: this.minThumbPosition, maxThumbPosition: this.maxThumbPosition } = this.thumbPosition());\n };\n\n private syncInputsValue = () => {\n this.inputMinElem?.setAttribute('value', this.minValue.toString());\n this.inputMaxElem?.setAttribute('value', this.maxValue.toString());\n };\n\n private stringToObject = (value: TSliderValue) => (isString(value) ? JSON.parse(value) : value);\n\n private handleInputChange = (type: 'min' | 'max', event: InputEvent) => {\n const target = event.target as HTMLInputElement;\n const value = parseFloat(target.value);\n\n if (type === 'min') {\n this.minValue = this.isRangeType ? Math.min(value, this.maxValue - this.gap) : value;\n } else if (type === 'max') {\n this.maxValue = this.isRangeType ? Math.max(value, this.minValue + this.gap) : value;\n }\n\n // Update the input value to reflect the clamped value\n const reflectedValue = (type === 'min' ? this.minValue : this.maxValue).toString();\n target.value = reflectedValue;\n target.setAttribute('value', reflectedValue);\n\n // Sync the prop value.\n // This will trigger the `@Watch('value')` method and emit the `bqChange` event.\n const { internals, isRangeType, maxValue, minValue } = this;\n this.value = isRangeType ? [minValue, maxValue] : minValue;\n internals?.setFormValue(isRangeType ? JSON.stringify(this.value) : this.value.toString());\n if (isRangeType) this.el.setAttribute('value', JSON.stringify(this.value));\n };\n\n private calculatePercent = (value: number) => {\n const totalRange = Number(this.max) - Number(this.min);\n return ((value - this.min) / totalRange) * 100;\n };\n\n private updateProgressTrack = () => {\n if (!this.progressElem) return;\n\n // For range type, left starts from the `min` value and width is the difference between `max` and `min`.\n // For non-range type, left starts from 0 and width is the `min` value.\n const left = this.isRangeType ? this.calculatePercent(this.minValue) : 0;\n const width = this.isRangeType\n ? this.calculatePercent(Number(this.maxValue) - Number(this.minValue) + this.min)\n : this.calculatePercent(this.minValue);\n\n this.progressElem.style.insetInlineStart = `${left}%`;\n this.progressElem.style.inlineSize = `${width}%`;\n };\n\n private calculateThumbPosition = (value: number): number => {\n if (!this.progressElem) return 0;\n\n // Get the width of the track area and the size of the input range thumb\n const trackAreaWidth = this.trackElem.getBoundingClientRect().width;\n // We need to also add 4px to the thumb size,\n // this is because the thumb is 2px border (`border-m`)\n const inputThumbSize = parseInt(getComputedStyle(this.el).getPropertyValue('--bq-slider--thumb-size'), 10) + 4;\n const totalWidth = trackAreaWidth - inputThumbSize;\n\n return ((value - this.min) / (this.max - this.min)) * totalWidth + inputThumbSize / 2;\n };\n\n private thumbPosition = (): { minThumbPosition: number; maxThumbPosition?: number } => {\n const minThumbPosition = this.calculateThumbPosition(this.minValue);\n const maxThumbPosition = this.isRangeType ? this.calculateThumbPosition(this.maxValue) : undefined;\n\n return { minThumbPosition, maxThumbPosition };\n };\n\n private emitBqChange = () => {\n this.debounceBqChange?.cancel();\n\n const value: Exclude<TSliderValue, string> = this.isRangeType ? [this.minValue, this.maxValue] : this.minValue;\n this.debounceBqChange = debounce(() => this.bqChange.emit({ value, el: this.el }), this.debounceTime);\n\n this.debounceBqChange();\n };\n\n private handleBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'remove');\n };\n\n private handleMouseUp = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'add');\n };\n\n private handleTooltipVisibility = (event: MouseEvent, action: 'add' | 'remove') => {\n if (!this.enableTooltip || this.tooltipAlwaysVisible) return;\n\n const target = event.target as HTMLElement;\n const tooltipElem = target === this.inputMinElem ? this.minTooltipElem : this.maxTooltipElem;\n tooltipElem.classList[action]('hidden');\n };\n\n private get decimalCount(): number {\n // Return the length of the decimal part of the step value.\n return (this.step % 1).toFixed(10).split('.')[1].replace(/0+$/, '').length;\n }\n\n private get isRangeType() {\n return this.type === 'range';\n }\n\n private get isTooltipAlwaysVisible(): boolean {\n return this.tooltipAlwaysVisible && this.enableTooltip;\n }\n\n private renderLabel = (value: number, position: 'start' | 'end', css?: string) => {\n return (\n <span\n class={{\n [`${css} is-fit min-is-8 box-content block font-medium text-primary text-s leading-regular [font-variant:tabular-nums]`]: true,\n hidden: position === 'start' ? !this.enableValueIndicator : !this.enableValueIndicator || !this.isRangeType,\n }}\n part={`label-${position}`}\n >\n {value.toFixed(this.decimalCount)}\n </span>\n );\n };\n\n private renderInput = (type: 'max' | 'min', value: number, refCallback: (input: HTMLInputElement) => void) => {\n // Determine the zIndex value based on the type and the current min and max values.\n const zIndexValue = (type: 'min' | 'max'): string => {\n const zIndex = {\n min: this.minValue === this.min && this.maxValue === this.minValue,\n max: this.maxValue === this.max && this.minValue === this.maxValue,\n };\n\n // If the value of both thumbs is the same as the min or max value, set the zIndex to -1\n return zIndex[type] ? '-1' : '0';\n };\n\n return (\n <input\n class={{\n 'is-full absolute inset-bs-[50%] start-0 -translate-y-1/2 cursor-pointer appearance-none bg-transparent outline-none disabled:cursor-not-allowed': true,\n 'pointer-events-none': this.isRangeType,\n }}\n disabled={this.disabled}\n max={this.max}\n min={this.min}\n name={this.name}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onInput={(ev) => this.handleInputChange(type, ev)}\n onMouseDown={this.handleMouseDown}\n onMouseUp={this.handleMouseUp}\n part={`input-${type}`}\n ref={refCallback}\n step={this.step}\n style={this.isRangeType ? { zIndex: zIndexValue(type) } : undefined}\n type=\"range\"\n value={value}\n />\n );\n };\n\n private renderTooltip = (\n value: number,\n thumbPosition: number,\n refCallback: (elem: HTMLBqTooltipElement) => void,\n ): JSX.Element => (\n <bq-tooltip\n alwaysVisible={true}\n class={{\n 'absolute [&::part(panel)]:absolute': true,\n hidden: !this.isTooltipAlwaysVisible,\n }}\n distance={this.enableValueIndicator ? 6 : 16}\n exportparts=\"base,trigger,panel\"\n ref={refCallback}\n style={{ insetInlineStart: `${thumbPosition}px`, fontVariant: 'tabular-nums' }}\n >\n <div class=\"bs-1 is-1 absolute\" slot=\"trigger\" />\n {value.toFixed(this.decimalCount)}\n </bq-tooltip>\n );\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n aria-disabled={this.disabled ? 'true' : 'false'}\n class={{ 'is-full flex': true, 'cursor-not-allowed opacity-60': this.disabled }}\n part=\"base\"\n >\n {/* LABEL (start) */}\n {this.renderLabel(this.minValue, 'start', 'me-xs text-end')}\n {/* SLIDER */}\n <div class=\"is-full relative\" part=\"container\">\n {/* TRACK AREA */}\n <span\n class=\"bs-1 is-full absolute inset-bs-[50%] start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color]\"\n part=\"track-area\"\n ref={(elem) => {\n this.trackElem = elem;\n }}\n />\n {/* PROGRESS AREA */}\n <span\n class=\"bs-1 is-[50%] absolute inset-bs-[50%] -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color]\"\n part=\"progress-area\"\n ref={(elem) => {\n this.progressElem = elem;\n }}\n />\n {/* TOOLTIP on top of the value or min value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.renderTooltip(this.minValue, this.minThumbPosition, (elem) => {\n this.minTooltipElem = elem;\n })}\n {/* INPUT (Min), used on single type */}\n {this.renderInput('min', this.minValue, (input) => {\n this.inputMinElem = input;\n })}\n {/* TOOLTIP on top of the max value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.isRangeType &&\n this.renderTooltip(this.maxValue, this.maxThumbPosition, (elem) => {\n this.maxTooltipElem = elem;\n })}\n {/* INPUT (Max) */}\n {this.isRangeType &&\n this.renderInput('max', this.maxValue, (input) => {\n this.inputMaxElem = input;\n })}\n </div>\n {/* LABEL (end) */}\n {this.renderLabel(this.maxValue, 'end', 'ms-xs text-start')}\n </div>\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAMA,cAAc,MAAM;;MC4DbC,IAAQ;;;;;;;;;;;;;;;EAIXC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;;;EAKWC;;;;;;;;;;;EAWVC;;EAEAC;;EAEAC;;EAEAC;;;;EAMgBC,aAAe;;EAGfC,SAAY;;EAGZC,qBAAwB;;EAGTC,IAAM;;EAGrBC,IAAM;;EAGNC,IAAM;;EAGNC;;;;;EAMAC,KAAO;;EAGPC,KAAoB;;;;;;EAOLC;;EAGfC,cAAyB;;;;;EAMzBC,qBAAgC;;;EAMzD,qBAAAC,CAAsBC;IACpBC,KAAKC,SAASF;IACdC,KAAKE;;EAIP,oBAAAC;IACEH,KAAKlB,WAAWsB,KAAKC,MAAML,KAAKlB,WAAWkB,KAAKP,QAAQO,KAAKP;IAC7DO,KAAKjB,WAAWqB,KAAKC,MAAML,KAAKjB,WAAWiB,KAAKP,QAAQO,KAAKP;;EAI/D,eAAAa,CAAgBP;IACd,KAAKC,KAAKO,aAAa;;;QAGvB,MAAMZ,KAASa,EAAMR,KAAKT,SAASiB,EAAMR,KAAKV,OAAO,EAACU,KAAKT,KAAKS,KAAKV,QAAOU,KAAKS,eAAeT,KAAKL;;QAErGK,KAAKX,MAAMU,IAAWJ,EAAM,MAAMI,IAAWJ,EAAM,KAAK,IAAII;;;;;;EAQrDW;;EAGAC;;EAGAC;;;;EAMT,iBAAAC;IACEb,KAAKc;;EAGP,gBAAAC;IACEf,KAAKgB;;EAGP,kBAAAC;IACEjB,KAAKgB;;EAGP,sBAAAE;IACElB,KAAKnB,WAAWsC,aAAa,GAAGnB,KAAKL;;;;;;;;;;;;;;EAkB/BmB,KAAO;IACbd,KAAKM,gBAAgBN,KAAKX;IAC1BW,KAAKC,SAASD,KAAKL;IACnBK,KAAKG;AAAsB;EAGrBa,WAAa;IACnBhB,KAAKoB;IACLpB,KAAKqB;IACLrB,KAAKsB;AAAkB;EAGjBrB,SAAYF;IAClB,MAAMQ,IAAcP,KAAKO;IACzB,MAAMZ,IAAQK,KAAKS,eAAeV;IAElCC,KAAKlB,WAAWyB,IAAcgB,EAAM5B,EAAM,IAAIK,KAAKT,KAAKS,KAAKV,MAAMU,KAAKX,OAAOM;IAC/EK,KAAKjB,WAAWwB,IAAcgB,EAAM5B,EAAM,IAAIK,KAAKlB,WAAWkB,KAAKX,KAAKW,KAAKV,OAAOU,KAAKlB;AAAQ;EAG3FwC,iBAAmB;IACzB,KAAKtB,KAAKJ,eAAe;;UAGtBZ,kBAAkBgB,KAAKhB,kBAAkBC,kBAAkBe,KAAKf,oBAAqBe,KAAKwB;AAAe;EAGtGH,gBAAkB;IACxBrB,KAAK1B,cAAcmD,aAAa,SAASzB,KAAKlB,SAAS4C;IACvD1B,KAAKzB,cAAckD,aAAa,SAASzB,KAAKjB,SAAS2C;AAAW;EAG5DjB,eAAkBd,KAAyBgC,EAAShC,KAASiC,KAAKC,MAAMlC,KAASA;EAEjFmC,kBAAoB,CAACpC,GAAqBqC;IAChD,MAAMC,IAASD,EAAMC;IACrB,MAAMrC,IAAQsC,WAAWD,EAAOrC;IAEhC,IAAID,MAAS,OAAO;MAClBM,KAAKlB,WAAWkB,KAAKO,cAAcH,KAAKb,IAAII,GAAOK,KAAKjB,WAAWiB,KAAKX,OAAOM;WAC1E,IAAID,MAAS,OAAO;MACzBM,KAAKjB,WAAWiB,KAAKO,cAAcH,KAAKd,IAAIK,GAAOK,KAAKlB,WAAWkB,KAAKX,OAAOM;;;QAIjF,MAAMuC,KAAkBxC,MAAS,QAAQM,KAAKlB,WAAWkB,KAAKjB,UAAU2C;IACxEM,EAAOrC,QAAQuC;IACfF,EAAOP,aAAa,SAASS;;;QAI7B,OAAMrD,WAAEA,GAAS0B,aAAEA,GAAWxB,UAAEA,GAAQD,UAAEA,KAAakB;IACvDA,KAAKL,QAAQY,IAAc,EAACzB,GAAUC,MAAYD;IAClDD,GAAWsC,aAAaZ,IAAcqB,KAAKO,UAAUnC,KAAKL,SAASK,KAAKL,MAAM+B;IAC9E,IAAInB,GAAaP,KAAKoC,GAAGX,aAAa,SAASG,KAAKO,UAAUnC,KAAKL;AAAO;EAGpE0C,iBAAoB1C;IAC1B,MAAM2C,IAAaC,OAAOvC,KAAKV,OAAOiD,OAAOvC,KAAKT;IAClD,QAASI,IAAQK,KAAKT,OAAO+C,IAAc;AAAG;EAGxClB,oBAAsB;IAC5B,KAAKpB,KAAKtB,cAAc;;;QAIxB,MAAM8D,IAAOxC,KAAKO,cAAcP,KAAKqC,iBAAiBrC,KAAKlB,YAAY;IACvE,MAAM2D,IAAQzC,KAAKO,cACfP,KAAKqC,iBAAiBE,OAAOvC,KAAKjB,YAAYwD,OAAOvC,KAAKlB,YAAYkB,KAAKT,OAC3ES,KAAKqC,iBAAiBrC,KAAKlB;IAE/BkB,KAAKtB,aAAagE,MAAMC,mBAAmB,GAAGH;IAC9CxC,KAAKtB,aAAagE,MAAME,aAAa,GAAGH;AAAQ;EAG1CI,uBAA0BlD;IAChC,KAAKK,KAAKtB,cAAc,OAAO;;QAG/B,MAAMoE,IAAiB9C,KAAKrB,UAAUoE,wBAAwBN;;;QAG9D,MAAMO,IAAiBC,SAASC,iBAAiBlD,KAAKoC,IAAIe,iBAAiB,4BAA4B,MAAM;IAC7G,MAAMC,IAAaN,IAAiBE;IAEpC,QAASrD,IAAQK,KAAKT,QAAQS,KAAKV,MAAMU,KAAKT,OAAQ6D,IAAaJ,IAAiB;AAAC;EAG/ExB,cAAgB;IACtB,MAAMxC,IAAmBgB,KAAK6C,uBAAuB7C,KAAKlB;IAC1D,MAAMG,IAAmBe,KAAKO,cAAcP,KAAK6C,uBAAuB7C,KAAKjB,YAAYsE;IAEzF,OAAO;MAAErE;MAAkBC;;AAAkB;EAGvCiB,aAAe;IACrBF,KAAKpB,kBAAkB0E;IAEvB,MAAM3D,IAAuCK,KAAKO,cAAc,EAACP,KAAKlB,UAAUkB,KAAKjB,aAAYiB,KAAKlB;IACtGkB,KAAKpB,mBAAmB2E,GAAS,MAAMvD,KAAKU,SAAS8C,KAAK;MAAE7D;MAAOyC,IAAIpC,KAAKoC;SAAOpC,KAAKd;IAExFc,KAAKpB;AAAkB;EAGjB6E,WAAa;IACnBzD,KAAKW,OAAO6C,KAAKxD,KAAKoC;AAAG;EAGnBsB,YAAc;IACpB1D,KAAKY,QAAQ4C,KAAKxD,KAAKoC;AAAG;EAGpBuB,gBAAmB5B;IACzB/B,KAAK4D,wBAAwB7B,GAAO;AAAS;EAGvC8B,cAAiB9B;IACvB/B,KAAK4D,wBAAwB7B,GAAO;AAAM;EAGpC6B,wBAA0B,CAAC7B,GAAmB+B;IACpD,KAAK9D,KAAKJ,iBAAiBI,KAAKH,sBAAsB;IAEtD,MAAMmC,IAASD,EAAMC;IACrB,MAAM+B,IAAc/B,MAAWhC,KAAK1B,eAAe0B,KAAKxB,iBAAiBwB,KAAKvB;IAC9EsF,EAAYC,UAAUF,GAAQ;AAAS;EAGzC,gBAAYG;;IAEV,QAAQjE,KAAKP,OAAO,GAAGyE,QAAQ,IAAIC,MAAM,KAAK,GAAGC,QAAQ,OAAO,IAAIC;;EAGtE,eAAY9D;IACV,OAAOP,KAAKN,SAAS;;EAGvB,0BAAY4E;IACV,OAAOtE,KAAKH,wBAAwBG,KAAKJ;;EAGnC2E,YAAc,CAAC5E,GAAe6E,GAA2BC,MAE7DC,EACE;IAAAC,OAAO;MACL,CAAC,GAAGF,oHAAsH;MAC1HG,QAAQJ,MAAa,WAAWxE,KAAKZ,wBAAwBY,KAAKZ,yBAAyBY,KAAKO;;IAElGsE,MAAM,SAASL;IAAUM,UAExBnF,EAAMuE,QAAQlE,KAAKiE;;EAKlBc,YAAc,CAACrF,GAAqBC,GAAeqF;;IAEzD,MAAMC,cAAevF;MACnB,MAAMwF,IAAS;QACb3F,KAAKS,KAAKlB,aAAakB,KAAKT,OAAOS,KAAKjB,aAAaiB,KAAKlB;QAC1DQ,KAAKU,KAAKjB,aAAaiB,KAAKV,OAAOU,KAAKlB,aAAakB,KAAKjB;;;YAI5D,OAAOmG,EAAOxF,KAAQ,OAAO;AAAG;IAGlC,OACEgF,EACE;MAAAC,OAAO;QACL,mJAAmJ;QACnJ,uBAAuB3E,KAAKO;;MAE9BpB,UAAUa,KAAKb;MACfG,KAAKU,KAAKV;MACVC,KAAKS,KAAKT;MACVC,MAAMQ,KAAKR;MACX2F,QAAQnF,KAAKyD;MACb2B,SAASpF,KAAK0D;MACd2B,SAAUC,KAAOtF,KAAK8B,kBAAkBpC,GAAM4F;MAC9CC,aAAavF,KAAK2D;MAClB6B,WAAWxF,KAAK6D;MAChBgB,MAAM,SAASnF;MACf+F,KAAKT;MACLvF,MAAMO,KAAKP;MACXiD,OAAO1C,KAAKO,cAAc;QAAE2E,QAAQD,YAAYvF;UAAU2D;MAC1D3D,MAAK;MACLC,OAAOA;;AACP;EAIE+F,cAAgB,CACtB/F,GACA6B,GACAwD,MAEAW,EACE;IAAAC,eAAe;IACfjB,OAAO;MACL,sCAAsC;MACtCC,SAAS5E,KAAKsE;;IAEhBuB,UAAU7F,KAAKZ,uBAAuB,IAAI;IAC1C0G,aAAY;IACZL,KAAKT;IACLtC,OAAO;MAAEC,kBAAkB,GAAGnB;MAAmBuE,aAAa;;IAE9DjB,UAAA,EAAAJ,EAAA;MAAKC,OAAM;MAAqBqB,MAAK;QACpCrG,EAAMuE,QAAQlE,KAAKiE;;;;;;EAQxB,MAAAgC;IACE,OACEN,EAAA;MAAA,iBACiB3F,KAAKb,WAAW,SAAS;MACxCwF,OAAO;QAAE,gBAAgB;QAAM,iCAAiC3E,KAAKb;;MACrE0F,MAAK;MAAMC,UAAA,EAGV9E,KAAKuE,YAAYvE,KAAKlB,UAAU,SAAS,mBAE1C6G,EAAK;QAAAhB,OAAM;QAAmBE,MAAK;QAAWC,UAAA,EAE5CJ,EACE;UAAAC,OAAM;UACNE,MAAK;UACLY,KAAMS;YACJlG,KAAKrB,YAAYuH;AAAI;WACtB,6CAGHxB,EAAA;UACEC,OAAM;UACNE,MAAK;UACLY,KAAMS;YACJlG,KAAKtB,eAAewH;AAAI;WAE1B,6CAEDlG,KAAKJ,iBACJI,KAAK0F,cAAc1F,KAAKlB,UAAUkB,KAAKhB,mBAAmBkH;UACxDlG,KAAKxB,iBAAiB0H;AAAI,aAG7BlG,KAAK+E,YAAY,OAAO/E,KAAKlB,WAAWqH;UACvCnG,KAAK1B,eAAe6H;AAAK,aAG1BnG,KAAKJ,iBACJI,KAAKO,eACLP,KAAK0F,cAAc1F,KAAKjB,UAAUiB,KAAKf,mBAAmBiH;UACxDlG,KAAKvB,iBAAiByH;AAAI,aAG7BlG,KAAKO,eACJP,KAAK+E,YAAY,OAAO/E,KAAKjB,WAAWoH;UACtCnG,KAAKzB,eAAe4H;AAAK;SAEzB,6CAELnG,KAAKuE,YAAYvE,KAAKjB,UAAU,OAAO;OAAmB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["STATUS_TYPE","bqStatusCss","BqStatus","type","checkPropValues","validatePropValue","this","el","componentWillLoad","render","_jsxs","class","part","role","children","_jsx","size"],"sources":["../../packages/beeq/src/components/status/bq-status.types.ts","../../packages/beeq/src/components/status/scss/bq-status.scss?tag=bq-status&encapsulation=shadow","../../packages/beeq/src/components/status/bq-status.tsx"],"sourcesContent":["export const STATUS_TYPE = ['alert', 'danger', 'info', 'neutral', 'success'] as const;\nexport type TStatusType = (typeof STATUS_TYPE)[number];\n","@import './bq-status.variables';\n\n.bq-status__circle {\n &::part(base) {\n --bq-badge--size-medium: var(--bq-status-circle--size);\n }\n\n &.success::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.success);\n }\n\n &.danger::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.danger);\n }\n\n &.neutral::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.secondary);\n }\n\n &.alert::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.warning);\n }\n\n &.info::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.brand);\n }\n}\n\n.bq-status__text ::slotted(*) {\n @apply text-s font-medium leading-regular text-primary p-b-0 p-i-0 m-b-0 m-i-0;\n}\n","import { Component, Element, Prop, Watch } from '@stencil/core';\n\nimport { validatePropValue } from '../../shared/utils';\nimport type { TStatusType } from './bq-status.types';\nimport { STATUS_TYPE } from './bq-status.types';\n\n/**\n * The Status Component is a UI element that represents the current state or condition of an item, task, or process.\n *\n * @example How to use it\n * ```html\n * <bq-status type=\"alert\">Alert status</bq-status>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/46c8d5-status/b/09d7b1\n * @status stable\n *\n * @dependency bq-badge\n *\n * @attr {\"alert\" | \"danger\" | \"info\" | \"neutral\" | \"success\"} type - It defines the type of status to display.\n *\n * @slot The content of the status component.\n *\n * @part base - The component's internal wrapper of the status component.\n * @part circle - The colored circle that marks the status type.\n * @part text - The `<div>` container that holds the text label of the status component.\n *\n * @cssprop --bq-status-circ - Status circle size.\n */\n@Component({\n tag: 'bq-status',\n styleUrl: './scss/bq-status.scss',\n shadow: true,\n})\nexport class BqStatus {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqStatusElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** It defines the type of status to display */\n @Prop({ reflect: true }) type: TStatusType = 'neutral';\n\n // Prop lifecycle events\n // =======================\n @Watch('type')\n checkPropValues() {\n validatePropValue(STATUS_TYPE, 'neutral', this.el, 'type');\n }\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n }\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n // render() function\n // Always the last one in the class.\n // ===================================\n render() {\n return (\n <div class=\"bq-status inline-flex items-center gap-xs\" part=\"base\" role=\"status\">\n <bq-badge class={`bq-status__circle rounded-full ${this.type}`} part=\"circle\" size=\"medium\" />\n <div\n class=\"bq-status__text max-bs-[20px] m-b-0 m-i-0 p-b-0 p-i-0 font-medium text-primary text-s leading-regular\"\n part=\"text\"\n >\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;;;;;;;AAAO,MAAMA,IAAc,EAAC,SAAS,UAAU,QAAQ,WAAW;;ACAlE,MAAMC,cAAc,MAAM;;MCkCbC,IAAQ;;;;;;;;;;;;;EAgBMC,KAAoB;;;EAK7C,eAAAC;IACEC,EAAkBL,GAAa,WAAWM,KAAKC,IAAI;;;;;;;;EAUrD,iBAAAC;IACEF,KAAKF;;;;;;;;;;;;;;;;;EAoBP,MAAAK;IACE,OACEC;MAAKC,OAAM;MAA4CC,MAAK;MAAOC,MAAK;MAAQC,UAAA,EAC9EC,EAAU;QAAAJ,OAAO,kCAAkCL,KAAKH;QAAQS,MAAK;QAASI,MAAK;SAAQ,6CAC3FD,EACE;QAAAJ,OAAM;QACNC,MAAK;QAAME,UAEXC,EAAQ;SAAA;OAEN","ignoreList":[]}
|