@beeq/core 1.8.3 → 1.8.4
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 -1
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +1 -1
- package/dist/beeq/{p-b69f347d.entry.js → p-0338b2f9.entry.js} +2 -2
- package/dist/beeq/p-0338b2f9.entry.js.map +1 -0
- package/dist/beeq/{p-3806d9e3.entry.js → p-0b0a2c8a.entry.js} +2 -2
- package/dist/beeq/{p-803269b3.entry.js → p-0ee91951.entry.js} +2 -2
- package/dist/beeq/{p-3f654a12.entry.js → p-11f54320.entry.js} +2 -2
- package/dist/beeq/{p-66b6d69a.entry.js → p-1694f242.entry.js} +2 -2
- package/dist/beeq/{p-9a7af424.entry.js → p-21ef028f.entry.js} +2 -2
- package/dist/beeq/{p-7585f825.entry.js → p-226f3647.entry.js} +2 -2
- package/dist/beeq/{p-d7ce7165.js → p-260d4ca0.js} +2 -2
- package/dist/beeq/{p-d7ce7165.js.map → p-260d4ca0.js.map} +1 -1
- package/dist/beeq/{p-c42f9ac5.entry.js → p-2f55e11f.entry.js} +2 -2
- package/dist/beeq/{p-ee1ecb6e.entry.js → p-3ac6d599.entry.js} +2 -2
- package/dist/beeq/{p-a4e11bbc.entry.js → p-402449b6.entry.js} +2 -2
- package/dist/beeq/p-402449b6.entry.js.map +1 -0
- package/dist/beeq/{p-dbac0368.entry.js → p-4757fa1e.entry.js} +2 -2
- package/dist/beeq/p-4757fa1e.entry.js.map +1 -0
- package/dist/beeq/{p-3fe626f1.entry.js → p-49b40ec5.entry.js} +2 -2
- package/dist/beeq/p-49b40ec5.entry.js.map +1 -0
- package/dist/beeq/{p-a8075be3.entry.js → p-4fc0cf41.entry.js} +2 -2
- package/dist/beeq/{p-19f5a833.entry.js → p-5837a0ea.entry.js} +2 -2
- package/dist/beeq/p-5837a0ea.entry.js.map +1 -0
- package/dist/beeq/{p-dafa4162.entry.js → p-5e4edb8a.entry.js} +2 -2
- package/dist/beeq/{p-dafa4162.entry.js.map → p-5e4edb8a.entry.js.map} +1 -1
- package/dist/beeq/{p-7efff703.entry.js → p-5fe65f50.entry.js} +2 -2
- package/dist/beeq/{p-e8f147c2.entry.js → p-68944624.entry.js} +2 -2
- package/dist/beeq/p-68944624.entry.js.map +1 -0
- package/dist/beeq/{p-cb9fa154.entry.js → p-6aaa20c9.entry.js} +2 -2
- package/dist/beeq/p-6aaa20c9.entry.js.map +1 -0
- package/dist/beeq/{p-59a1b546.entry.js → p-6bc7c1e5.entry.js} +2 -2
- package/dist/beeq/p-6bc7c1e5.entry.js.map +1 -0
- package/dist/beeq/{p-bbaad491.entry.js → p-730ed434.entry.js} +2 -2
- package/dist/beeq/{p-4d21a49d.entry.js → p-7af08445.entry.js} +2 -2
- package/dist/beeq/{p-15bf8ffd.entry.js → p-7cfca18b.entry.js} +2 -2
- package/dist/beeq/p-7cfca18b.entry.js.map +1 -0
- package/dist/beeq/{p-ba1f9637.entry.js → p-7d161e60.entry.js} +2 -2
- package/dist/beeq/p-7d161e60.entry.js.map +1 -0
- package/dist/beeq/{p-19ea2c90.entry.js → p-7dda6cb9.entry.js} +2 -2
- package/dist/beeq/p-7dda6cb9.entry.js.map +1 -0
- package/dist/beeq/{p-5546f242.entry.js → p-85d7bc6c.entry.js} +2 -2
- package/dist/beeq/{p-4500ffe5.entry.js → p-93a3bcb5.entry.js} +2 -2
- package/dist/beeq/{p-90165aef.entry.js → p-96684c94.entry.js} +2 -2
- package/dist/beeq/{p-90165aef.entry.js.map → p-96684c94.entry.js.map} +1 -1
- package/dist/beeq/p-9ecdbeec.js +6 -0
- package/dist/beeq/p-a035d288.js +6 -0
- package/dist/beeq/{p-b129db1a.entry.js → p-a0b2db0b.entry.js} +2 -2
- package/dist/beeq/p-a52f0ff0.entry.js +6 -0
- package/dist/beeq/p-a52f0ff0.entry.js.map +1 -0
- package/dist/beeq/{p-f4e8ebd3.entry.js → p-a902a347.entry.js} +2 -2
- package/dist/beeq/{p-70310ac8.entry.js → p-aeb28fb3.entry.js} +2 -2
- package/dist/beeq/p-aeb28fb3.entry.js.map +1 -0
- package/dist/beeq/{p-b0d168c8.entry.js → p-af9c9769.entry.js} +2 -2
- package/dist/beeq/p-af9c9769.entry.js.map +1 -0
- package/dist/beeq/{p-b7b3f7c6.entry.js → p-b4ae4315.entry.js} +2 -2
- package/dist/beeq/p-c05c50bf.js +7 -0
- package/dist/beeq/p-c05c50bf.js.map +1 -0
- package/dist/beeq/{p-e655938a.entry.js → p-d04883ab.entry.js} +2 -2
- package/dist/beeq/{p-a8d64d1b.entry.js → p-d4676bbd.entry.js} +2 -2
- package/dist/beeq/{p-39a80765.entry.js → p-e29c46f5.entry.js} +2 -2
- package/dist/beeq/p-e29c46f5.entry.js.map +1 -0
- package/dist/beeq/{p-8ed41b69.entry.js → p-e827f88d.entry.js} +2 -2
- package/dist/beeq/{p-65d67b85.entry.js → p-f7e3eff3.entry.js} +2 -2
- package/dist/beeq/p-f7e3eff3.entry.js.map +1 -0
- package/dist/beeq/{p-ed569a61.entry.js → p-f85f1705.entry.js} +2 -2
- package/dist/beeq.html-custom-data.json +59 -59
- package/dist/cjs/{assetsPath-32c4030b.js → assetsPath-bff6e1f9.js} +2 -2
- package/dist/cjs/{assetsPath-32c4030b.js.map → assetsPath-bff6e1f9.js.map} +1 -1
- package/dist/cjs/beeq.cjs.js +3 -3
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +7 -8
- package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +8 -9
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +8 -5
- package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +5 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +9 -6
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +97 -17
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +8 -9
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +2 -2
- package/dist/cjs/bq-drawer.cjs.entry.js +10 -7
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +10 -9
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +11 -14
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +8 -7
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +8 -5
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +10 -9
- package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +7 -4
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +10 -15
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +8 -6
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +2 -2
- package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +7 -4
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +7 -8
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{index-0c8d249a.js → index-6fcc2c3c.js} +56 -20
- package/dist/cjs/index-6fcc2c3c.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{isDefined-5e8aae9d.js → isDefined-237b1214.js} +2 -2
- package/dist/cjs/{isDefined-5e8aae9d.js.map → isDefined-237b1214.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{slot-2fee189a.js → slot-c3eeb29f.js} +3 -1
- package/dist/cjs/slot-c3eeb29f.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/bq-accordion.js +5 -6
- package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
- package/dist/collection/components/alert/bq-alert.js +6 -7
- package/dist/collection/components/alert/bq-alert.js.map +1 -1
- package/dist/collection/components/badge/bq-badge.js +6 -3
- package/dist/collection/components/badge/bq-badge.js.map +1 -1
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
- package/dist/collection/components/button/bq-button.js +5 -2
- package/dist/collection/components/button/bq-button.js.map +1 -1
- package/dist/collection/components/date-picker/bq-date-picker.js +27 -14
- package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -1
- package/dist/collection/components/date-picker/helper/callyLibrary.js +73 -0
- package/dist/collection/components/date-picker/helper/callyLibrary.js.map +1 -0
- package/dist/collection/components/dialog/bq-dialog.js +6 -7
- package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
- package/dist/collection/components/drawer/bq-drawer.js +7 -4
- package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
- package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
- package/dist/collection/components/empty-state/bq-empty-state.js +8 -7
- package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
- package/dist/collection/components/input/bq-input.js +8 -11
- package/dist/collection/components/input/bq-input.js.map +1 -1
- package/dist/collection/components/notification/bq-notification.js +6 -5
- package/dist/collection/components/notification/bq-notification.js.map +1 -1
- package/dist/collection/components/option/bq-option.js +8 -7
- package/dist/collection/components/option/bq-option.js.map +1 -1
- package/dist/collection/components/page-title/bq-page-title.js +5 -2
- package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
- package/dist/collection/components/select/bq-select.js +6 -11
- 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/spinner/bq-spinner.js +6 -4
- package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
- package/dist/collection/components/tab/bq-tab.js +5 -2
- package/dist/collection/components/tab/bq-tab.js.map +1 -1
- package/dist/collection/components/tag/bq-tag.js +6 -3
- package/dist/collection/components/tag/bq-tag.js.map +1 -1
- package/dist/collection/components/textarea/bq-textarea.js +5 -6
- package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
- package/dist/collection/shared/utils/slot.js +2 -0
- package/dist/collection/shared/utils/slot.js.map +1 -1
- package/dist/components/bq-accordion-group.js +1 -1
- package/dist/components/bq-accordion.js +1 -1
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +1 -1
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +1 -1
- package/dist/components/bq-badge.js +1 -1
- package/dist/components/bq-breadcrumb-item.js +1 -1
- package/dist/components/bq-breadcrumb.js +1 -1
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +1 -1
- package/dist/components/bq-card.js +1 -1
- package/dist/components/bq-checkbox.js +1 -1
- package/dist/components/bq-date-picker.js +1 -1
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +1 -1
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +1 -1
- package/dist/components/bq-drawer.js +1 -1
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +1 -1
- package/dist/components/bq-empty-state.js +1 -1
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +1 -1
- package/dist/components/bq-input.js +1 -1
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +1 -1
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +1 -1
- package/dist/components/bq-option-list.js +1 -1
- package/dist/components/bq-option.js +1 -1
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +1 -1
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +1 -1
- package/dist/components/bq-progress.js +1 -1
- package/dist/components/bq-radio-group.js +1 -1
- package/dist/components/bq-radio.js +1 -1
- package/dist/components/bq-select.js +1 -1
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +1 -1
- package/dist/components/bq-side-menu.js +1 -1
- package/dist/components/bq-slider.js +1 -1
- package/dist/components/bq-spinner.js +1 -1
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +1 -1
- package/dist/components/bq-step-item.js +1 -1
- package/dist/components/bq-steps.js +1 -1
- package/dist/components/bq-switch.js +1 -1
- package/dist/components/bq-tab-group.js +1 -1
- package/dist/components/bq-tab.js +1 -1
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +1 -1
- package/dist/components/bq-textarea.js +1 -1
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +1 -1
- package/dist/components/bq-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-c58e0d87.js → p-1629a472.js} +2 -2
- package/dist/components/{p-ac26ffcd.js → p-242345e1.js} +2 -2
- package/dist/components/{p-d7ce7165.js → p-260d4ca0.js} +2 -2
- package/dist/components/{p-d7ce7165.js.map → p-260d4ca0.js.map} +1 -1
- package/dist/components/{p-a02c6b73.js → p-2aab0744.js} +2 -2
- package/dist/components/p-2aab0744.js.map +1 -0
- package/dist/components/p-39d794c1.js +6 -0
- package/dist/components/{p-5b34bd04.js → p-51027528.js} +2 -2
- package/dist/components/p-66fcce92.js +6 -0
- package/dist/components/p-66fcce92.js.map +1 -0
- package/dist/components/{p-8d8eeb62.js → p-afef286d.js} +2 -2
- package/dist/components/{p-f5588ccd.js → p-b5306ce3.js} +2 -2
- package/dist/components/p-b5306ce3.js.map +1 -0
- package/dist/components/{p-b50adb19.js → p-dfb2cbb5.js} +2 -2
- package/dist/components/p-f0fcfdea.js +6 -0
- package/dist/components/p-f0fcfdea.js.map +1 -0
- package/dist/components/{p-9a115ee5.js → p-fd965589.js} +2 -2
- package/dist/custom-elements.json +724 -791
- package/dist/esm/{assetsPath-57848212.js → assetsPath-14f18f9a.js} +2 -2
- package/dist/esm/{assetsPath-57848212.js.map → assetsPath-14f18f9a.js.map} +1 -1
- package/dist/esm/beeq.js +4 -4
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +1 -1
- package/dist/esm/bq-accordion.entry.js +7 -8
- package/dist/esm/bq-accordion.entry.js.map +1 -1
- package/dist/esm/bq-alert.entry.js +8 -9
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +1 -1
- package/dist/esm/bq-badge.entry.js +8 -5
- package/dist/esm/bq-badge.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
- package/dist/esm/bq-breadcrumb.entry.js +5 -2
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +9 -6
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +1 -1
- package/dist/esm/bq-checkbox.entry.js +1 -1
- package/dist/esm/bq-date-picker.entry.js +97 -17
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +8 -9
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +2 -2
- package/dist/esm/bq-drawer.entry.js +10 -7
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +1 -1
- package/dist/esm/bq-empty-state.entry.js +10 -9
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +11 -14
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +8 -7
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +1 -1
- package/dist/esm/bq-option-list_2.entry.js +8 -5
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +10 -9
- package/dist/esm/bq-option.entry.js.map +1 -1
- package/dist/esm/bq-page-title.entry.js +7 -4
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +1 -1
- package/dist/esm/bq-radio-group.entry.js +1 -1
- package/dist/esm/bq-radio.entry.js +1 -1
- package/dist/esm/bq-select.entry.js +10 -15
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +2 -2
- package/dist/esm/bq-side-menu.entry.js +1 -1
- package/dist/esm/bq-slider.entry.js +1 -1
- package/dist/esm/bq-spinner.entry.js +8 -6
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +1 -1
- package/dist/esm/bq-step-item.entry.js +1 -1
- package/dist/esm/bq-steps.entry.js +1 -1
- package/dist/esm/bq-switch.entry.js +2 -2
- package/dist/esm/bq-tab-group.entry.js +1 -1
- package/dist/esm/bq-tab.entry.js +7 -4
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +7 -8
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +1 -1
- package/dist/esm/bq-tooltip.entry.js +1 -1
- package/dist/esm/{index-59610291.js → index-4e4c39e8.js} +56 -20
- package/dist/esm/index-4e4c39e8.js.map +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/{isDefined-30b8b652.js → isDefined-7a919d19.js} +2 -2
- package/dist/esm/{isDefined-30b8b652.js.map → isDefined-7a919d19.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{slot-58bfedb5.js → slot-be230a01.js} +3 -1
- package/dist/esm/slot-be230a01.js.map +1 -0
- package/dist/hydrate/index.d.ts +22 -5
- package/dist/hydrate/index.js +674 -1297
- package/dist/hydrate/index.mjs +674 -1297
- package/dist/stencil.config.js +20 -17
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/accordion/bq-accordion.d.ts +1 -2
- package/dist/types/components/alert/bq-alert.d.ts +1 -2
- package/dist/types/components/badge/bq-badge.d.ts +2 -1
- package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -0
- package/dist/types/components/button/bq-button.d.ts +1 -0
- package/dist/types/components/date-picker/bq-date-picker.d.ts +3 -4
- package/dist/types/components/date-picker/bq-date-picker.types.d.ts +16 -0
- package/dist/types/components/date-picker/helper/callyLibrary.d.ts +11 -0
- package/dist/types/components/dialog/bq-dialog.d.ts +1 -2
- package/dist/types/components/drawer/bq-drawer.d.ts +1 -0
- package/dist/types/components/empty-state/bq-empty-state.d.ts +2 -2
- package/dist/types/components/input/bq-input.d.ts +2 -4
- package/dist/types/components/notification/bq-notification.d.ts +2 -2
- package/dist/types/components/option/bq-option.d.ts +2 -2
- package/dist/types/components/page-title/bq-page-title.d.ts +1 -0
- package/dist/types/components/select/bq-select.d.ts +1 -4
- package/dist/types/components/tab/bq-tab.d.ts +1 -0
- package/dist/types/components/tag/bq-tag.d.ts +1 -0
- package/dist/types/components/textarea/bq-textarea.d.ts +1 -2
- package/dist/types/global.d.ts +0 -10
- package/package.json +2 -3
- package/dist/beeq/p-15bf8ffd.entry.js.map +0 -1
- package/dist/beeq/p-19ea2c90.entry.js.map +0 -1
- package/dist/beeq/p-19f5a833.entry.js.map +0 -1
- package/dist/beeq/p-34611c2f.js +0 -6
- package/dist/beeq/p-34611c2f.js.map +0 -1
- package/dist/beeq/p-39a80765.entry.js.map +0 -1
- package/dist/beeq/p-3fe626f1.entry.js.map +0 -1
- package/dist/beeq/p-4a3784e1.js +0 -7
- package/dist/beeq/p-4a3784e1.js.map +0 -1
- package/dist/beeq/p-59a1b546.entry.js.map +0 -1
- package/dist/beeq/p-65d67b85.entry.js.map +0 -1
- package/dist/beeq/p-6bea33f4.entry.js +0 -6
- package/dist/beeq/p-6bea33f4.entry.js.map +0 -1
- package/dist/beeq/p-70310ac8.entry.js.map +0 -1
- package/dist/beeq/p-a4e11bbc.entry.js.map +0 -1
- package/dist/beeq/p-b0d168c8.entry.js.map +0 -1
- package/dist/beeq/p-b69f347d.entry.js.map +0 -1
- package/dist/beeq/p-ba1f9637.entry.js.map +0 -1
- package/dist/beeq/p-cb9fa154.entry.js.map +0 -1
- package/dist/beeq/p-cf923c68.js +0 -6
- package/dist/beeq/p-dbac0368.entry.js.map +0 -1
- package/dist/beeq/p-e4dd6ff4.js +0 -6
- package/dist/beeq/p-e8f147c2.entry.js.map +0 -1
- package/dist/cjs/cally-1bde2e82.js +0 -1162
- package/dist/cjs/cally-1bde2e82.js.map +0 -1
- package/dist/cjs/index-0c8d249a.js.map +0 -1
- package/dist/cjs/slot-2fee189a.js.map +0 -1
- package/dist/components/p-34611c2f.js +0 -6
- package/dist/components/p-34611c2f.js.map +0 -1
- package/dist/components/p-37483f1c.js +0 -6
- package/dist/components/p-37483f1c.js.map +0 -1
- package/dist/components/p-6e0c7ab4.js +0 -6
- package/dist/components/p-a02c6b73.js.map +0 -1
- package/dist/components/p-d16482dc.js +0 -6
- package/dist/components/p-d16482dc.js.map +0 -1
- package/dist/components/p-f5588ccd.js.map +0 -1
- package/dist/esm/cally-49a83be1.js +0 -1157
- package/dist/esm/cally-49a83be1.js.map +0 -1
- package/dist/esm/index-59610291.js.map +0 -1
- package/dist/esm/slot-58bfedb5.js.map +0 -1
- /package/dist/beeq/{p-3806d9e3.entry.js.map → p-0b0a2c8a.entry.js.map} +0 -0
- /package/dist/beeq/{p-803269b3.entry.js.map → p-0ee91951.entry.js.map} +0 -0
- /package/dist/beeq/{p-3f654a12.entry.js.map → p-11f54320.entry.js.map} +0 -0
- /package/dist/beeq/{p-66b6d69a.entry.js.map → p-1694f242.entry.js.map} +0 -0
- /package/dist/beeq/{p-9a7af424.entry.js.map → p-21ef028f.entry.js.map} +0 -0
- /package/dist/beeq/{p-7585f825.entry.js.map → p-226f3647.entry.js.map} +0 -0
- /package/dist/beeq/{p-c42f9ac5.entry.js.map → p-2f55e11f.entry.js.map} +0 -0
- /package/dist/beeq/{p-ee1ecb6e.entry.js.map → p-3ac6d599.entry.js.map} +0 -0
- /package/dist/beeq/{p-a8075be3.entry.js.map → p-4fc0cf41.entry.js.map} +0 -0
- /package/dist/beeq/{p-7efff703.entry.js.map → p-5fe65f50.entry.js.map} +0 -0
- /package/dist/beeq/{p-bbaad491.entry.js.map → p-730ed434.entry.js.map} +0 -0
- /package/dist/beeq/{p-4d21a49d.entry.js.map → p-7af08445.entry.js.map} +0 -0
- /package/dist/beeq/{p-5546f242.entry.js.map → p-85d7bc6c.entry.js.map} +0 -0
- /package/dist/beeq/{p-4500ffe5.entry.js.map → p-93a3bcb5.entry.js.map} +0 -0
- /package/dist/beeq/{p-e4dd6ff4.js.map → p-9ecdbeec.js.map} +0 -0
- /package/dist/beeq/{p-cf923c68.js.map → p-a035d288.js.map} +0 -0
- /package/dist/beeq/{p-b129db1a.entry.js.map → p-a0b2db0b.entry.js.map} +0 -0
- /package/dist/beeq/{p-f4e8ebd3.entry.js.map → p-a902a347.entry.js.map} +0 -0
- /package/dist/beeq/{p-b7b3f7c6.entry.js.map → p-b4ae4315.entry.js.map} +0 -0
- /package/dist/beeq/{p-e655938a.entry.js.map → p-d04883ab.entry.js.map} +0 -0
- /package/dist/beeq/{p-a8d64d1b.entry.js.map → p-d4676bbd.entry.js.map} +0 -0
- /package/dist/beeq/{p-8ed41b69.entry.js.map → p-e827f88d.entry.js.map} +0 -0
- /package/dist/beeq/{p-ed569a61.entry.js.map → p-f85f1705.entry.js.map} +0 -0
- /package/dist/components/{p-c58e0d87.js.map → p-1629a472.js.map} +0 -0
- /package/dist/components/{p-ac26ffcd.js.map → p-242345e1.js.map} +0 -0
- /package/dist/components/{p-6e0c7ab4.js.map → p-39d794c1.js.map} +0 -0
- /package/dist/components/{p-5b34bd04.js.map → p-51027528.js.map} +0 -0
- /package/dist/components/{p-8d8eeb62.js.map → p-afef286d.js.map} +0 -0
- /package/dist/components/{p-b50adb19.js.map → p-dfb2cbb5.js.map} +0 -0
- /package/dist/components/{p-9a115ee5.js.map → p-fd965589.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -131,7 +131,7 @@ const NAMESPACE = 'beeq';
|
|
|
131
131
|
const BUILD = /* beeq */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
132
132
|
|
|
133
133
|
/*
|
|
134
|
-
Stencil Hydrate Platform v4.
|
|
134
|
+
Stencil Hydrate Platform v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
135
135
|
*/
|
|
136
136
|
var __defProp = Object.defineProperty;
|
|
137
137
|
var __export = (target, all) => {
|
|
@@ -177,6 +177,11 @@ function queryNonceMetaTagContent(doc2) {
|
|
|
177
177
|
return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
// src/utils/regular-expression.ts
|
|
181
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
182
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
183
|
+
};
|
|
184
|
+
|
|
180
185
|
// src/utils/result.ts
|
|
181
186
|
var result_exports = {};
|
|
182
187
|
__export(result_exports, {
|
|
@@ -476,7 +481,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
476
481
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
477
482
|
const vnode = newVNode(tagName, null);
|
|
478
483
|
vnode.$elm$ = hostElm;
|
|
479
|
-
if (!plt.$orgLocNodes$) {
|
|
484
|
+
if (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size) {
|
|
480
485
|
initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
481
486
|
}
|
|
482
487
|
hostElm[HYDRATE_ID] = hostId;
|
|
@@ -506,6 +511,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
506
511
|
}
|
|
507
512
|
}
|
|
508
513
|
if (childRenderNode.$tag$ === "slot") {
|
|
514
|
+
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
509
515
|
if (childRenderNode.$children$) {
|
|
510
516
|
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
511
517
|
if (!childRenderNode.$elm$.childNodes.length) {
|
|
@@ -561,18 +567,25 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
561
567
|
}
|
|
562
568
|
}
|
|
563
569
|
}
|
|
564
|
-
if (shadowRoot) {
|
|
570
|
+
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
565
571
|
let rnIdex = 0;
|
|
566
572
|
const rnLen = shadowRootNodes.length;
|
|
567
|
-
|
|
568
|
-
|
|
573
|
+
if (rnLen) {
|
|
574
|
+
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
575
|
+
shadowRoot.appendChild(shadowRootNodes[rnIdex]);
|
|
576
|
+
}
|
|
577
|
+
Array.from(hostElm.childNodes).forEach((node) => {
|
|
578
|
+
if (typeof node["s-sn"] !== "string") {
|
|
579
|
+
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
580
|
+
node.removeAttribute("hidden");
|
|
581
|
+
} else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
582
|
+
node.parentNode.removeChild(node);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
});
|
|
569
586
|
}
|
|
570
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
|
571
|
-
if (node.nodeType === 8 /* CommentNode */ && typeof node["s-sn"] !== "string") {
|
|
572
|
-
node.parentNode.removeChild(node);
|
|
573
|
-
}
|
|
574
|
-
});
|
|
575
587
|
}
|
|
588
|
+
plt.$orgLocNodes$.delete(hostElm["s-id"]);
|
|
576
589
|
hostRef.$hostElement$ = hostElm;
|
|
577
590
|
endHydrate();
|
|
578
591
|
};
|
|
@@ -675,7 +688,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
675
688
|
$text$: null
|
|
676
689
|
});
|
|
677
690
|
if (childNodeType === TEXT_NODE_ID) {
|
|
678
|
-
childVNode.$elm$ = node
|
|
691
|
+
childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
|
|
679
692
|
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
680
693
|
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
681
694
|
childRenderNodes.push(childVNode);
|
|
@@ -691,7 +704,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
691
704
|
}
|
|
692
705
|
}
|
|
693
706
|
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
694
|
-
childVNode.$elm$ = node
|
|
707
|
+
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
695
708
|
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
|
696
709
|
childRenderNodes.push(childVNode);
|
|
697
710
|
node.remove();
|
|
@@ -725,6 +738,10 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
725
738
|
vnode.$elm$ = node;
|
|
726
739
|
vnode.$index$ = "0";
|
|
727
740
|
parentVNode.$children$ = [vnode];
|
|
741
|
+
} else {
|
|
742
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
743
|
+
node.remove();
|
|
744
|
+
}
|
|
728
745
|
}
|
|
729
746
|
return parentVNode;
|
|
730
747
|
};
|
|
@@ -814,6 +831,363 @@ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) =>
|
|
|
814
831
|
slottedNode = slottedNode.nextSibling;
|
|
815
832
|
}
|
|
816
833
|
};
|
|
834
|
+
var findCorrespondingNode = (node, type) => {
|
|
835
|
+
let sibling = node;
|
|
836
|
+
do {
|
|
837
|
+
sibling = sibling.nextSibling;
|
|
838
|
+
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
|
839
|
+
return sibling;
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
// src/utils/shadow-css.ts
|
|
843
|
+
/**
|
|
844
|
+
* @license
|
|
845
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
846
|
+
*
|
|
847
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
848
|
+
* found in the LICENSE file at https://angular.io/license
|
|
849
|
+
*
|
|
850
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
851
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
852
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
853
|
+
*/
|
|
854
|
+
var safeSelector = (selector) => {
|
|
855
|
+
const placeholders = [];
|
|
856
|
+
let index = 0;
|
|
857
|
+
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
858
|
+
const replaceBy = `__ph-${index}__`;
|
|
859
|
+
placeholders.push(keep);
|
|
860
|
+
index++;
|
|
861
|
+
return replaceBy;
|
|
862
|
+
});
|
|
863
|
+
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
864
|
+
const replaceBy = `__ph-${index}__`;
|
|
865
|
+
placeholders.push(exp);
|
|
866
|
+
index++;
|
|
867
|
+
return pseudo + replaceBy;
|
|
868
|
+
});
|
|
869
|
+
const ss = {
|
|
870
|
+
content,
|
|
871
|
+
placeholders
|
|
872
|
+
};
|
|
873
|
+
return ss;
|
|
874
|
+
};
|
|
875
|
+
var restoreSafeSelector = (placeholders, content) => {
|
|
876
|
+
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
877
|
+
};
|
|
878
|
+
var _polyfillHost = "-shadowcsshost";
|
|
879
|
+
var _polyfillSlotted = "-shadowcssslotted";
|
|
880
|
+
var _polyfillHostContext = "-shadowcsscontext";
|
|
881
|
+
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
882
|
+
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
883
|
+
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
884
|
+
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
885
|
+
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
886
|
+
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
887
|
+
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
888
|
+
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
889
|
+
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
890
|
+
var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
|
|
891
|
+
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
892
|
+
var _colonHostRe = createSupportsRuleRe(":host");
|
|
893
|
+
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
894
|
+
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
895
|
+
var stripComments = (input) => {
|
|
896
|
+
return input.replace(_commentRe, "");
|
|
897
|
+
};
|
|
898
|
+
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
899
|
+
var extractCommentsWithHash = (input) => {
|
|
900
|
+
return input.match(_commentWithHashRe) || [];
|
|
901
|
+
};
|
|
902
|
+
var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
903
|
+
var _curlyRe = /([{}])/g;
|
|
904
|
+
var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
905
|
+
var OPEN_CURLY = "{";
|
|
906
|
+
var CLOSE_CURLY = "}";
|
|
907
|
+
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
908
|
+
var processRules = (input, ruleCallback) => {
|
|
909
|
+
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
910
|
+
let nextBlockIndex = 0;
|
|
911
|
+
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
912
|
+
const selector = m[2];
|
|
913
|
+
let content = "";
|
|
914
|
+
let suffix = m[4];
|
|
915
|
+
let contentPrefix = "";
|
|
916
|
+
if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
|
|
917
|
+
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
918
|
+
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
919
|
+
contentPrefix = "{";
|
|
920
|
+
}
|
|
921
|
+
const cssRule = {
|
|
922
|
+
selector,
|
|
923
|
+
content
|
|
924
|
+
};
|
|
925
|
+
const rule = ruleCallback(cssRule);
|
|
926
|
+
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
927
|
+
});
|
|
928
|
+
};
|
|
929
|
+
var escapeBlocks = (input) => {
|
|
930
|
+
const inputParts = input.split(_curlyRe);
|
|
931
|
+
const resultParts = [];
|
|
932
|
+
const escapedBlocks = [];
|
|
933
|
+
let bracketCount = 0;
|
|
934
|
+
let currentBlockParts = [];
|
|
935
|
+
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
936
|
+
const part = inputParts[partIndex];
|
|
937
|
+
if (part === CLOSE_CURLY) {
|
|
938
|
+
bracketCount--;
|
|
939
|
+
}
|
|
940
|
+
if (bracketCount > 0) {
|
|
941
|
+
currentBlockParts.push(part);
|
|
942
|
+
} else {
|
|
943
|
+
if (currentBlockParts.length > 0) {
|
|
944
|
+
escapedBlocks.push(currentBlockParts.join(""));
|
|
945
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
946
|
+
currentBlockParts = [];
|
|
947
|
+
}
|
|
948
|
+
resultParts.push(part);
|
|
949
|
+
}
|
|
950
|
+
if (part === OPEN_CURLY) {
|
|
951
|
+
bracketCount++;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
if (currentBlockParts.length > 0) {
|
|
955
|
+
escapedBlocks.push(currentBlockParts.join(""));
|
|
956
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
957
|
+
}
|
|
958
|
+
const strEscapedBlocks = {
|
|
959
|
+
escapedString: resultParts.join(""),
|
|
960
|
+
blocks: escapedBlocks
|
|
961
|
+
};
|
|
962
|
+
return strEscapedBlocks;
|
|
963
|
+
};
|
|
964
|
+
var insertPolyfillHostInCssText = (cssText) => {
|
|
965
|
+
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
966
|
+
return cssText;
|
|
967
|
+
};
|
|
968
|
+
var convertColonRule = (cssText, regExp, partReplacer) => {
|
|
969
|
+
return cssText.replace(regExp, (...m) => {
|
|
970
|
+
if (m[2]) {
|
|
971
|
+
const parts = m[2].split(",");
|
|
972
|
+
const r = [];
|
|
973
|
+
for (let i2 = 0; i2 < parts.length; i2++) {
|
|
974
|
+
const p = parts[i2].trim();
|
|
975
|
+
if (!p) break;
|
|
976
|
+
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
977
|
+
}
|
|
978
|
+
return r.join(",");
|
|
979
|
+
} else {
|
|
980
|
+
return _polyfillHostNoCombinator + m[3];
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
};
|
|
984
|
+
var colonHostPartReplacer = (host, part, suffix) => {
|
|
985
|
+
return host + part.replace(_polyfillHost, "") + suffix;
|
|
986
|
+
};
|
|
987
|
+
var convertColonHost = (cssText) => {
|
|
988
|
+
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
989
|
+
};
|
|
990
|
+
var colonHostContextPartReplacer = (host, part, suffix) => {
|
|
991
|
+
if (part.indexOf(_polyfillHost) > -1) {
|
|
992
|
+
return colonHostPartReplacer(host, part, suffix);
|
|
993
|
+
} else {
|
|
994
|
+
return host + part + suffix + ", " + part + " " + host + suffix;
|
|
995
|
+
}
|
|
996
|
+
};
|
|
997
|
+
var convertColonSlotted = (cssText, slotScopeId) => {
|
|
998
|
+
const slotClass = "." + slotScopeId + " > ";
|
|
999
|
+
const selectors = [];
|
|
1000
|
+
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
1001
|
+
if (m[2]) {
|
|
1002
|
+
const compound = m[2].trim();
|
|
1003
|
+
const suffix = m[3];
|
|
1004
|
+
const slottedSelector = slotClass + compound + suffix;
|
|
1005
|
+
let prefixSelector = "";
|
|
1006
|
+
for (let i2 = m[4] - 1; i2 >= 0; i2--) {
|
|
1007
|
+
const char = m[5][i2];
|
|
1008
|
+
if (char === "}" || char === ",") {
|
|
1009
|
+
break;
|
|
1010
|
+
}
|
|
1011
|
+
prefixSelector = char + prefixSelector;
|
|
1012
|
+
}
|
|
1013
|
+
const orgSelector = (prefixSelector + slottedSelector).trim();
|
|
1014
|
+
const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
|
|
1015
|
+
if (orgSelector !== addedSelector) {
|
|
1016
|
+
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
1017
|
+
selectors.push({
|
|
1018
|
+
orgSelector,
|
|
1019
|
+
updatedSelector
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
return slottedSelector;
|
|
1023
|
+
} else {
|
|
1024
|
+
return _polyfillHostNoCombinator + m[3];
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
return {
|
|
1028
|
+
selectors,
|
|
1029
|
+
cssText
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
var convertColonHostContext = (cssText) => {
|
|
1033
|
+
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
1034
|
+
};
|
|
1035
|
+
var convertShadowDOMSelectors = (cssText) => {
|
|
1036
|
+
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
1037
|
+
};
|
|
1038
|
+
var makeScopeMatcher = (scopeSelector2) => {
|
|
1039
|
+
const lre = /\[/g;
|
|
1040
|
+
const rre = /\]/g;
|
|
1041
|
+
scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
|
|
1042
|
+
return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
|
|
1043
|
+
};
|
|
1044
|
+
var selectorNeedsScoping = (selector, scopeSelector2) => {
|
|
1045
|
+
const re = makeScopeMatcher(scopeSelector2);
|
|
1046
|
+
return !re.test(selector);
|
|
1047
|
+
};
|
|
1048
|
+
var injectScopingSelector = (selector, scopingSelector) => {
|
|
1049
|
+
return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
|
|
1050
|
+
return before + scopingSelector + colon + after;
|
|
1051
|
+
});
|
|
1052
|
+
};
|
|
1053
|
+
var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1054
|
+
_polyfillHostRe.lastIndex = 0;
|
|
1055
|
+
if (_polyfillHostRe.test(selector)) {
|
|
1056
|
+
const replaceBy = `.${hostSelector}`;
|
|
1057
|
+
return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
|
|
1058
|
+
}
|
|
1059
|
+
return scopeSelector2 + " " + selector;
|
|
1060
|
+
};
|
|
1061
|
+
var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1062
|
+
const isRe = /\[is=([^\]]*)\]/g;
|
|
1063
|
+
scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
|
|
1064
|
+
const className = "." + scopeSelector2;
|
|
1065
|
+
const _scopeSelectorPart = (p) => {
|
|
1066
|
+
let scopedP = p.trim();
|
|
1067
|
+
if (!scopedP) {
|
|
1068
|
+
return "";
|
|
1069
|
+
}
|
|
1070
|
+
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
1071
|
+
scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
|
|
1072
|
+
} else {
|
|
1073
|
+
const t = p.replace(_polyfillHostRe, "");
|
|
1074
|
+
if (t.length > 0) {
|
|
1075
|
+
scopedP = injectScopingSelector(t, className);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
return scopedP;
|
|
1079
|
+
};
|
|
1080
|
+
const safeContent = safeSelector(selector);
|
|
1081
|
+
selector = safeContent.content;
|
|
1082
|
+
let scopedSelector = "";
|
|
1083
|
+
let startIndex = 0;
|
|
1084
|
+
let res;
|
|
1085
|
+
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
1086
|
+
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1087
|
+
let shouldScope = !hasHost;
|
|
1088
|
+
while ((res = sep.exec(selector)) !== null) {
|
|
1089
|
+
const separator = res[1];
|
|
1090
|
+
const part2 = selector.slice(startIndex, res.index).trim();
|
|
1091
|
+
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1092
|
+
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
1093
|
+
scopedSelector += `${scopedPart} ${separator} `;
|
|
1094
|
+
startIndex = sep.lastIndex;
|
|
1095
|
+
}
|
|
1096
|
+
const part = selector.substring(startIndex);
|
|
1097
|
+
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1098
|
+
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1099
|
+
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1100
|
+
};
|
|
1101
|
+
var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
1102
|
+
return selector.split(",").map((shallowPart) => {
|
|
1103
|
+
if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
|
|
1104
|
+
return shallowPart.trim();
|
|
1105
|
+
}
|
|
1106
|
+
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
1107
|
+
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
1108
|
+
} else {
|
|
1109
|
+
return shallowPart.trim();
|
|
1110
|
+
}
|
|
1111
|
+
}).join(", ");
|
|
1112
|
+
};
|
|
1113
|
+
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
1114
|
+
return processRules(cssText, (rule) => {
|
|
1115
|
+
let selector = rule.selector;
|
|
1116
|
+
let content = rule.content;
|
|
1117
|
+
if (rule.selector[0] !== "@") {
|
|
1118
|
+
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
1119
|
+
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1120
|
+
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
1121
|
+
}
|
|
1122
|
+
const cssRule = {
|
|
1123
|
+
selector: selector.replace(/\s{2,}/g, " ").trim(),
|
|
1124
|
+
content
|
|
1125
|
+
};
|
|
1126
|
+
return cssRule;
|
|
1127
|
+
});
|
|
1128
|
+
};
|
|
1129
|
+
var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
1130
|
+
cssText = insertPolyfillHostInCssText(cssText);
|
|
1131
|
+
cssText = convertColonHost(cssText);
|
|
1132
|
+
cssText = convertColonHostContext(cssText);
|
|
1133
|
+
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
1134
|
+
cssText = slotted.cssText;
|
|
1135
|
+
cssText = convertShadowDOMSelectors(cssText);
|
|
1136
|
+
if (scopeId2) {
|
|
1137
|
+
cssText = scopeSelectors(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1138
|
+
}
|
|
1139
|
+
cssText = replaceShadowCssHost(cssText, hostScopeId);
|
|
1140
|
+
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
|
|
1141
|
+
return {
|
|
1142
|
+
cssText: cssText.trim(),
|
|
1143
|
+
// We need to replace the shadow CSS host string in each of these selectors since we created
|
|
1144
|
+
// them prior to the replacement happening in the components CSS text.
|
|
1145
|
+
slottedSelectors: slotted.selectors.map((ref) => ({
|
|
1146
|
+
orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
|
|
1147
|
+
updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
|
|
1148
|
+
}))
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1152
|
+
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1153
|
+
};
|
|
1154
|
+
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1155
|
+
const hostScopeId = scopeId2 + "-h";
|
|
1156
|
+
const slotScopeId = scopeId2 + "-s";
|
|
1157
|
+
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
1158
|
+
cssText = stripComments(cssText);
|
|
1159
|
+
const orgSelectors = [];
|
|
1160
|
+
if (commentOriginalSelector) {
|
|
1161
|
+
const processCommentedSelector = (rule) => {
|
|
1162
|
+
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
1163
|
+
const comment = `/*!@${rule.selector}*/`;
|
|
1164
|
+
orgSelectors.push({ placeholder, comment });
|
|
1165
|
+
rule.selector = placeholder + rule.selector;
|
|
1166
|
+
return rule;
|
|
1167
|
+
};
|
|
1168
|
+
cssText = processRules(cssText, (rule) => {
|
|
1169
|
+
if (rule.selector[0] !== "@") {
|
|
1170
|
+
return processCommentedSelector(rule);
|
|
1171
|
+
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1172
|
+
rule.content = processRules(rule.content, processCommentedSelector);
|
|
1173
|
+
return rule;
|
|
1174
|
+
}
|
|
1175
|
+
return rule;
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1179
|
+
cssText = [scoped.cssText, ...commentsWithHash].join("\n");
|
|
1180
|
+
if (commentOriginalSelector) {
|
|
1181
|
+
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
1182
|
+
cssText = cssText.replace(placeholder, comment);
|
|
1183
|
+
});
|
|
1184
|
+
}
|
|
1185
|
+
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
1186
|
+
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), "g");
|
|
1187
|
+
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1188
|
+
});
|
|
1189
|
+
return cssText;
|
|
1190
|
+
};
|
|
817
1191
|
var parsePropertyValue = (propValue, propType) => {
|
|
818
1192
|
if (propValue != null && !isComplexType(propValue)) {
|
|
819
1193
|
if (propType & 4 /* Boolean */) {
|
|
@@ -881,7 +1255,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
881
1255
|
if (nonce != null) {
|
|
882
1256
|
styleElm.setAttribute("nonce", nonce);
|
|
883
1257
|
}
|
|
884
|
-
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
1258
|
+
if ((cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
885
1259
|
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
886
1260
|
}
|
|
887
1261
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
@@ -905,7 +1279,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
905
1279
|
styleContainerNode.append(styleElm);
|
|
906
1280
|
}
|
|
907
1281
|
}
|
|
908
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
1282
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
909
1283
|
styleContainerNode.insertBefore(styleElm, null);
|
|
910
1284
|
}
|
|
911
1285
|
}
|
|
@@ -928,7 +1302,7 @@ var attachStyles = (hostRef) => {
|
|
|
928
1302
|
const scopeId2 = addStyle(
|
|
929
1303
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
930
1304
|
cmpMeta);
|
|
931
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
1305
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
932
1306
|
elm["s-sc"] = scopeId2;
|
|
933
1307
|
elm.classList.add(scopeId2 + "-h");
|
|
934
1308
|
}
|
|
@@ -1468,7 +1842,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1468
1842
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1469
1843
|
hostRef.$vnode$ = rootVnode;
|
|
1470
1844
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
1471
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
1845
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1472
1846
|
{
|
|
1473
1847
|
contentRef = hostElm["s-cr"];
|
|
1474
1848
|
checkSlotFallbackVisibility = false;
|
|
@@ -1693,9 +2067,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1693
2067
|
}
|
|
1694
2068
|
};
|
|
1695
2069
|
var appDidLoad = (who) => {
|
|
1696
|
-
{
|
|
1697
|
-
addHydratedFlag(doc.documentElement);
|
|
1698
|
-
}
|
|
1699
2070
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1700
2071
|
};
|
|
1701
2072
|
var safeCall = (instance, method, arg, elm) => {
|
|
@@ -1926,7 +2297,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1926
2297
|
let Cstr;
|
|
1927
2298
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1928
2299
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1929
|
-
|
|
2300
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2301
|
+
if (bundleId) {
|
|
1930
2302
|
const CstrImport = loadModule(cmpMeta);
|
|
1931
2303
|
if (CstrImport && "then" in CstrImport) {
|
|
1932
2304
|
const endLoad = uniqueTime();
|
|
@@ -1962,6 +2334,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1962
2334
|
}
|
|
1963
2335
|
endNewInstance();
|
|
1964
2336
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2337
|
+
} else {
|
|
2338
|
+
Cstr = elm.constructor;
|
|
2339
|
+
const cmpTag = elm.localName;
|
|
2340
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1965
2341
|
}
|
|
1966
2342
|
if (Cstr && Cstr.style) {
|
|
1967
2343
|
let style;
|
|
@@ -1971,6 +2347,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1971
2347
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1972
2348
|
if (!styles.has(scopeId2)) {
|
|
1973
2349
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2350
|
+
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
2351
|
+
style = scopeCss(style, scopeId2, true);
|
|
2352
|
+
}
|
|
1974
2353
|
registerStyle(scopeId2, style);
|
|
1975
2354
|
endRegisterStyles();
|
|
1976
2355
|
}
|
|
@@ -2248,7 +2627,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2248
2627
|
if (typeof elm.forceUpdate !== "function") {
|
|
2249
2628
|
elm.forceUpdate = forceUpdate2;
|
|
2250
2629
|
}
|
|
2251
|
-
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
2630
|
+
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
2252
2631
|
{
|
|
2253
2632
|
elm.attachShadow({
|
|
2254
2633
|
mode: "open",
|
|
@@ -2297,16 +2676,21 @@ function proxyHostElement(elm, cstr) {
|
|
|
2297
2676
|
configurable: true,
|
|
2298
2677
|
enumerable: true
|
|
2299
2678
|
});
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2679
|
+
if (!cstr.prototype.__stencilAugmented) {
|
|
2680
|
+
Object.defineProperty(cstr.prototype, memberName, {
|
|
2681
|
+
get: function() {
|
|
2682
|
+
var _a2;
|
|
2683
|
+
const ref = getHostRef(this);
|
|
2684
|
+
const attrPropVal2 = (_a2 = ref.$instanceValues$) == null ? void 0 : _a2.get(memberName);
|
|
2685
|
+
if (origGetter && attrPropVal2 === void 0 && !getValue(this, memberName)) {
|
|
2686
|
+
setValue(this, memberName, origGetter.apply(this), cmpMeta);
|
|
2687
|
+
}
|
|
2688
|
+
return attrPropVal2 !== void 0 ? attrPropVal2 : origGetter ? origGetter.apply(this) : getValue(this, memberName);
|
|
2689
|
+
},
|
|
2690
|
+
configurable: true,
|
|
2691
|
+
enumerable: true
|
|
2692
|
+
});
|
|
2693
|
+
}
|
|
2310
2694
|
} else if (memberFlags & 64 /* Method */) {
|
|
2311
2695
|
Object.defineProperty(elm, memberName, {
|
|
2312
2696
|
value(...args) {
|
|
@@ -2322,6 +2706,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2322
2706
|
});
|
|
2323
2707
|
}
|
|
2324
2708
|
});
|
|
2709
|
+
cstr.prototype.__stencilAugmented = true;
|
|
2325
2710
|
}
|
|
2326
2711
|
}
|
|
2327
2712
|
function componentOnReady() {
|
|
@@ -2380,6 +2765,15 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2380
2765
|
$flags$: null
|
|
2381
2766
|
});
|
|
2382
2767
|
if (Cstr != null && Cstr.cmpMeta != null) {
|
|
2768
|
+
if (opts.serializeShadowRoot !== false && !!(Cstr.cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && tagRequiresScoped(elm.tagName, opts.serializeShadowRoot)) {
|
|
2769
|
+
const cmpMeta = Cstr.cmpMeta;
|
|
2770
|
+
cmpMeta.$flags$ |= 128 /* shadowNeedsScopedCss */;
|
|
2771
|
+
Object.defineProperty(Cstr, "cmpMeta", {
|
|
2772
|
+
get: function() {
|
|
2773
|
+
return cmpMeta;
|
|
2774
|
+
}
|
|
2775
|
+
});
|
|
2776
|
+
}
|
|
2383
2777
|
createdElements.add(elm);
|
|
2384
2778
|
elm.connectedCallback = patchedConnectedCallback2;
|
|
2385
2779
|
registerHost(elm, Cstr.cmpMeta);
|
|
@@ -2572,6 +2966,25 @@ ${indent}${ln}`;
|
|
|
2572
2966
|
function waitingOnElementsMsg(waitingElements) {
|
|
2573
2967
|
return Array.from(waitingElements).map(waitingOnElementMsg);
|
|
2574
2968
|
}
|
|
2969
|
+
function tagRequiresScoped(tagName, opts) {
|
|
2970
|
+
if (typeof opts === "string") {
|
|
2971
|
+
return opts === "scoped";
|
|
2972
|
+
}
|
|
2973
|
+
if (typeof opts === "boolean") {
|
|
2974
|
+
return opts === true ? false : true;
|
|
2975
|
+
}
|
|
2976
|
+
if (typeof opts === "object") {
|
|
2977
|
+
tagName = tagName.toLowerCase();
|
|
2978
|
+
if (Array.isArray(opts["declarative-shadow-dom"]) && opts["declarative-shadow-dom"].includes(tagName)) {
|
|
2979
|
+
return false;
|
|
2980
|
+
} else if ((!Array.isArray(opts.scoped) || !opts.scoped.includes(tagName)) && opts.default === "declarative-shadow-dom") {
|
|
2981
|
+
return false;
|
|
2982
|
+
} else {
|
|
2983
|
+
return true;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
return false;
|
|
2987
|
+
}
|
|
2575
2988
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
2576
2989
|
var getModule = (tagName) => {
|
|
2577
2990
|
if (typeof tagName === "string") {
|
|
@@ -3079,6 +3492,8 @@ function getTextContent(slot, options) {
|
|
|
3079
3492
|
* @return {boolean} True or false if the slot have HTML children elements
|
|
3080
3493
|
*/
|
|
3081
3494
|
function hasSlotContent(el, name) {
|
|
3495
|
+
if (!el)
|
|
3496
|
+
return false;
|
|
3082
3497
|
const slotSelector = name ? `[name='${name}']` : '';
|
|
3083
3498
|
const slotContent = el.querySelector(`slot${slotSelector}`)?.assignedElements({ flatten: true });
|
|
3084
3499
|
if (!slotContent || !Array.isArray(slotContent))
|
|
@@ -3400,6 +3815,7 @@ class BqAccordion {
|
|
|
3400
3815
|
componentDidLoad() {
|
|
3401
3816
|
this.handleJsAnimation();
|
|
3402
3817
|
this.handleExpandedChange();
|
|
3818
|
+
this.handleSlotChange();
|
|
3403
3819
|
}
|
|
3404
3820
|
// Listeners
|
|
3405
3821
|
// ==============
|
|
@@ -3438,10 +3854,8 @@ class BqAccordion {
|
|
|
3438
3854
|
handleBlur = () => {
|
|
3439
3855
|
this.bqBlur.emit(this.el);
|
|
3440
3856
|
};
|
|
3441
|
-
|
|
3857
|
+
handleSlotChange = () => {
|
|
3442
3858
|
this.hasPrefix = hasSlotContent(this.prefixElem, 'prefix');
|
|
3443
|
-
};
|
|
3444
|
-
handleSuffixSlotChange = () => {
|
|
3445
3859
|
this.hasSuffix = hasSlotContent(this.suffixElem, 'suffix');
|
|
3446
3860
|
};
|
|
3447
3861
|
get open() {
|
|
@@ -3454,15 +3868,15 @@ class BqAccordion {
|
|
|
3454
3868
|
// Always the last one in the class.
|
|
3455
3869
|
// ===================================
|
|
3456
3870
|
render() {
|
|
3457
|
-
return (hAsync("details", { key: '
|
|
3871
|
+
return (hAsync("details", { key: '37ce84995b58b8e0a23bab0628a06b462e7383b1', class: {
|
|
3458
3872
|
[`bq-accordion overflow-hidden ${this.size} ${this.appearance}`]: true,
|
|
3459
3873
|
'no-animation': this.noAnimation,
|
|
3460
3874
|
disabled: this.disabled,
|
|
3461
|
-
}, ref: (detailsElem) => (this.detailsElem = detailsElem), open: this.open, part: "base" }, hAsync("summary", { key: '
|
|
3875
|
+
}, ref: (detailsElem) => (this.detailsElem = detailsElem), open: this.open, part: "base" }, hAsync("summary", { key: '52572da9cd4a9de3729ceb6fbe1057db52ba3287', id: "bq-accordion__header", class: "bq-accordion__header", onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-expanded": this.expanded ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-controls": "bq-accordion__content", tabindex: this.disabled ? -1 : 0, role: "button", part: "header" }, hAsync("div", { key: 'f79cd751ebef090938bac3e81f00cd52531ccfdb', ref: (element) => (this.prefixElem = element), class: { 'bq-accordion__header--prefix': true, '!hidden': !this.hasPrefix }, part: "prefix" }, hAsync("slot", { key: 'bee50818a711c42590d7d2b25425ec994aee9e54', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '6124feec91eaf9b40aa82972c6c62c30575cfa86', class: "bq-accordion__header--text", part: "text" }, hAsync("slot", { key: 'b067cb102a759a7d0cc9d3b6585d2c513987b576', name: "header" })), hAsync("div", { key: 'd65747b2e8a4c2c626d74d8f36806755d5744f2f', ref: (element) => (this.suffixElem = element), class: { 'bq-accordion__header--suffix': true, '!hidden': !this.hasSuffix }, part: "suffix" }, hAsync("slot", { key: 'aeceaca072f569e09634bff4ea844160e6f3e50e', name: "suffix", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '7e2d2934115edd6e4d175059693a143072c8ef26', class: {
|
|
3462
3876
|
'flex items-center justify-center transition-transform duration-300 ease-in-out': true,
|
|
3463
3877
|
'!hidden': this.open && !this.rotate,
|
|
3464
3878
|
'rotate-180': this.rotate && this.open,
|
|
3465
|
-
}, "aria-hidden": "true" }, hAsync("slot", { key: '
|
|
3879
|
+
}, "aria-hidden": "true" }, hAsync("slot", { key: '2f9f7ac0fffb102f050b46ef853647d777bdfc43', name: "expand" }, hAsync("bq-icon", { key: 'aa454003868fde5435578a0c3c2012219c3a1e68', name: "plus" }))), hAsync("div", { key: 'e074a38c0eb16dd7547d447b3ebab00b7351cbb6', class: { 'flex items-center justify-center': true, '!hidden': (!this.open && !this.rotate) || this.rotate }, "aria-hidden": "true" }, hAsync("slot", { key: '351064e0896b4bdc7a5226d48403da39050d606b', name: "collapse" }, hAsync("bq-icon", { key: 'ea4b7f164f7a9181f871c6c3501a0c1552aabfce', name: "minus" })))), hAsync("div", { key: 'de44b664d1f00a43113c2d169d66589fefdc535c', class: "bq-accordion__body overflow-hidden", "aria-labelledby": "bq-accordion__header", role: "region", part: "panel" }, hAsync("slot", { key: 'a2f47e70fd7be0da16f5b0655ed8c3a260fecec1', id: "bq-accordion__content", class: "bq-accordion__content block" }))));
|
|
3466
3880
|
}
|
|
3467
3881
|
static get watchers() { return {
|
|
3468
3882
|
"size": ["checkPropValues"],
|
|
@@ -3798,6 +4212,7 @@ class BqAlert {
|
|
|
3798
4212
|
this.handleTimeout();
|
|
3799
4213
|
}
|
|
3800
4214
|
componentDidLoad() {
|
|
4215
|
+
this.handleSlotChange();
|
|
3801
4216
|
if (!this.open) {
|
|
3802
4217
|
this.el.classList.add('is-hidden');
|
|
3803
4218
|
}
|
|
@@ -3845,10 +4260,8 @@ class BqAlert {
|
|
|
3845
4260
|
}
|
|
3846
4261
|
this.bqAfterHide.emit();
|
|
3847
4262
|
};
|
|
3848
|
-
|
|
4263
|
+
handleSlotChange = () => {
|
|
3849
4264
|
this.hasContent = hasSlotContent(this.bodyElem, 'body');
|
|
3850
|
-
};
|
|
3851
|
-
handleFooterSlotChange = () => {
|
|
3852
4265
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
3853
4266
|
};
|
|
3854
4267
|
get iconName() {
|
|
@@ -3866,16 +4279,16 @@ class BqAlert {
|
|
|
3866
4279
|
const style = {
|
|
3867
4280
|
...(this.border && { '--bq-alert--border-radius': `var(--bq-radius--${this.border})` }),
|
|
3868
4281
|
};
|
|
3869
|
-
return (hAsync(Host, { key: '
|
|
4282
|
+
return (hAsync(Host, { key: '3afa4ec1224f998151b8a8f3572a67872f8047d6', style: style, class: { 'is-sticky': this.sticky }, "aria-hidden": !this.open ? 'true' : 'false', hidden: !this.open ? 'true' : 'false', role: "alert" }, hAsync("div", { key: '4e126e373cc7bc3d28e25ed28b1834619b70a18d', class: {
|
|
3870
4283
|
[`bq-alert bq-alert__${this.type}`]: true,
|
|
3871
4284
|
'is-sticky': this.sticky,
|
|
3872
|
-
}, "data-transition-enter": "transition ease-out duration-300", "data-transition-enter-start": "opacity-0", "data-transition-enter-end": "opacity-100", "data-transition-leave": "transition ease-in duration-200", "data-transition-leave-start": "opacity-100", "data-transition-leave-end": "opacity-0", ref: (div) => (this.alertElement = div), part: "wrapper" }, !this.disableClose && (hAsync("bq-button", { key: '
|
|
4285
|
+
}, "data-transition-enter": "transition ease-out duration-300", "data-transition-enter-start": "opacity-0", "data-transition-enter-end": "opacity-100", "data-transition-leave": "transition ease-in duration-200", "data-transition-leave-start": "opacity-100", "data-transition-leave-end": "opacity-0", ref: (div) => (this.alertElement = div), part: "wrapper" }, !this.disableClose && (hAsync("bq-button", { key: '5706a6a8d2598de2f863484a6678f43157563c95', class: "bq-alert__close absolute end-5 focus-visible:focus [&::part(label)]:inline-flex", appearance: "text", size: "small", onClick: this.hide.bind(this), part: "btn-close" }, hAsync("slot", { key: 'c7369c4bce9e1d900e53621e7d33229f15406243', name: "btn-close" }, hAsync("bq-icon", { key: 'aa485f14009405a5a64596661ee2ac98f882554e', name: "x" })))), hAsync("div", { key: '4108c0728d88cf785182bced12108ff4f0ac1a37', class: {
|
|
3873
4286
|
[`bq-alert__icon--${this.type} me-s flex text-left align-top`]: true,
|
|
3874
4287
|
'!hidden': this.hideIcon,
|
|
3875
|
-
}, part: "icon-outline" }, hAsync("slot", { key: '
|
|
4288
|
+
}, part: "icon-outline" }, hAsync("slot", { key: 'd2d3548e26a9cf3cea9aa3fe6664cf0ebf3eb9d2', name: "icon" }, this.type !== 'default' && hAsync("bq-icon", { key: '1cb34c894ecf125575354ab10a6c3d482d2b1a38', name: this.iconName, part: "icon", exportparts: "base,svg" }))), hAsync("div", { key: '262bad3bf5dc0aed051febc835d136bb85f98668', class: "flex flex-col items-start gap-[--bq-alert--content-footer-gap]", part: "main" }, hAsync("div", { key: 'ce47e60f3907612949203ddbd81e3e67103e8440', class: "flex flex-col gap-[--bq-alert--title-body-gap]", part: "content" }, hAsync("div", { key: '81c75aacfad79273751b44073353b417cd29e217', class: {
|
|
3876
4289
|
'title-font font-semibold leading-regular text-primary': true,
|
|
3877
4290
|
'flex items-center': this.sticky,
|
|
3878
|
-
}, part: "title" }, hAsync("slot", { key: '
|
|
4291
|
+
}, part: "title" }, hAsync("slot", { key: '4ffbfaab20b684214ba67463de8440e7e167dfa8' })), hAsync("div", { key: '6d21bc580ae18c43d5c19c160d6bc77d116515c8', class: { 'text-s leading-regular': true, '!hidden': !this.hasContent }, ref: (div) => (this.bodyElem = div), part: "body" }, hAsync("slot", { key: '94ffe68008bf87c3f28a4d63d4f579584966840c', name: "body", onSlotchange: this.handleSlotChange }))), hAsync("div", { key: 'fb61157c4d460fc75e2bd9ee2b12c8c248bf4c39', class: { 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }, ref: (div) => (this.footerElem = div), part: "footer" }, hAsync("slot", { key: '035146fd7e599324fda070780ed072e938c74f04', name: "footer", onSlotchange: this.handleSlotChange }))))));
|
|
3879
4292
|
}
|
|
3880
4293
|
static get watchers() { return {
|
|
3881
4294
|
"autoDismiss": ["handleTimeout"],
|
|
@@ -4167,6 +4580,9 @@ class BqBadge {
|
|
|
4167
4580
|
componentWillLoad() {
|
|
4168
4581
|
this.handleSizePropChange();
|
|
4169
4582
|
}
|
|
4583
|
+
componentDidLoad() {
|
|
4584
|
+
this.handleSlotChange();
|
|
4585
|
+
}
|
|
4170
4586
|
disconnectedCallback() {
|
|
4171
4587
|
this.observer?.disconnect();
|
|
4172
4588
|
}
|
|
@@ -4182,7 +4598,7 @@ class BqBadge {
|
|
|
4182
4598
|
// Internal business logic.
|
|
4183
4599
|
// These methods cannot be called from the host element.
|
|
4184
4600
|
// =======================================================
|
|
4185
|
-
|
|
4601
|
+
handleSlotChange = () => {
|
|
4186
4602
|
const slot = this.slot;
|
|
4187
4603
|
if (isNil(slot))
|
|
4188
4604
|
return;
|
|
@@ -4209,12 +4625,12 @@ class BqBadge {
|
|
|
4209
4625
|
...(this.backgroundColor && { '--bq-badge--background-color': getColorCSSVariable(this.backgroundColor) }),
|
|
4210
4626
|
...(this.textColor && { '--bq-badge--text-color': getColorCSSVariable(this.textColor) }),
|
|
4211
4627
|
};
|
|
4212
|
-
return (hAsync(Host, { key: '
|
|
4628
|
+
return (hAsync(Host, { key: 'd50cd217b38f80cb78890297f5a6f3bf132bfd6c', style: styles }, hAsync("div", { key: '24432c54907b6658baee4a900e52729dc42c1677', class: {
|
|
4213
4629
|
'bq-badge': true,
|
|
4214
4630
|
[`size--${this.size}`]: this.contentLength === 0,
|
|
4215
4631
|
digit: this.contentLength > 0,
|
|
4216
4632
|
'p-i-xs2': this.contentLength > 1,
|
|
4217
|
-
}, part: "base" }, hAsync("span", { key: '
|
|
4633
|
+
}, part: "base" }, hAsync("span", { key: '6ced01a7f72f027756316b1a707066579af80ac5', ref: (element) => (this.spanElement = element), class: "text-xs font-bold leading-small", part: "number" }, hAsync("slot", { key: 'c6e6780610ec4558288442a5c7cdc087d0cecd9d', onSlotchange: this.handleSlotChange })))));
|
|
4218
4634
|
}
|
|
4219
4635
|
static get watchers() { return {
|
|
4220
4636
|
"size": ["handleSizePropChange"]
|
|
@@ -4286,6 +4702,9 @@ class BqBreadcrumb {
|
|
|
4286
4702
|
// Component lifecycle events
|
|
4287
4703
|
// Ordered by their natural call order
|
|
4288
4704
|
// =====================================
|
|
4705
|
+
componentDidLoad() {
|
|
4706
|
+
this.handleSlotChange();
|
|
4707
|
+
}
|
|
4289
4708
|
// Listeners
|
|
4290
4709
|
// ==============
|
|
4291
4710
|
// Public methods API
|
|
@@ -4330,7 +4749,7 @@ class BqBreadcrumb {
|
|
|
4330
4749
|
// Always the last one in the class.
|
|
4331
4750
|
// ===================================
|
|
4332
4751
|
render() {
|
|
4333
|
-
return (hAsync(Host, { key: '
|
|
4752
|
+
return (hAsync(Host, { key: 'aae87cc8b4a6faf6fd4f98ecd3a417332f0b11a5' }, hAsync("nav", { key: 'f00f254eca0ae890e3f87371c8708d46deb9cd87', class: "flex items-center", "aria-label": this.label, ref: (elem) => (this.navElem = elem), part: "navigation" }, hAsync("slot", { key: 'a887b539347263fa086c556145492d05e4a7e7c5', onSlotchange: this.handleSlotChange })), hAsync("span", { key: 'bb806ca58f82d816c76539779ded1be73158e964', hidden: true, "aria-hidden": "true", ref: (element) => (this.spanElem = element), part: "separator" }, hAsync("slot", { key: '9c548dd32acdc5a34bf752d4dce95301c3a6e6bd', name: "separator" }, hAsync("span", { key: 'f898be99739911c5610853ce06b6c53d7b70791d', class: "flex items-center justify-center is-3" }, "/")))));
|
|
4334
4753
|
}
|
|
4335
4754
|
static get style() { return BqBreadcrumbStyle0; }
|
|
4336
4755
|
static get cmpMeta() { return {
|
|
@@ -4618,6 +5037,9 @@ class BqButton {
|
|
|
4618
5037
|
componentWillLoad() {
|
|
4619
5038
|
this.checkPropValues();
|
|
4620
5039
|
}
|
|
5040
|
+
componentDidLoad() {
|
|
5041
|
+
this.handleSlotChange();
|
|
5042
|
+
}
|
|
4621
5043
|
// Listeners
|
|
4622
5044
|
// ==============
|
|
4623
5045
|
// Public methods API
|
|
@@ -4689,7 +5111,7 @@ class BqButton {
|
|
|
4689
5111
|
const style = {
|
|
4690
5112
|
...(this.border && { '--bq-button--border-radius': `var(--bq-radius--${this.border})` }),
|
|
4691
5113
|
};
|
|
4692
|
-
return (hAsync(Host, { key: '
|
|
5114
|
+
return (hAsync(Host, { key: 'e15588968948fe9bca9e10311cc875a49399c885', style: style }, hAsync(TagElem, { key: '603e74c2247943f9f743a65b2ff0351e1f1aadfc', class: {
|
|
4693
5115
|
'bq-button': true,
|
|
4694
5116
|
[`bq-button--${this.appearance}`]: true,
|
|
4695
5117
|
[`content-${this.justifyContent}`]: true,
|
|
@@ -4700,7 +5122,7 @@ class BqButton {
|
|
|
4700
5122
|
'has-prefix': this.hasPrefix,
|
|
4701
5123
|
'has-suffix': this.hasSuffix,
|
|
4702
5124
|
loading: this.loading,
|
|
4703
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false', disabled: this.disabled, download: isLink ? this.download : undefined, href: isLink ? this.href : undefined, part: "button", rel: isLink && this.target ? 'noreferrer noopener' : undefined, target: isLink ? this.target : undefined, type: this.type, tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick }, hAsync("span", { key: '
|
|
5125
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false', disabled: this.disabled, download: isLink ? this.download : undefined, href: isLink ? this.href : undefined, part: "button", rel: isLink && this.target ? 'noreferrer noopener' : undefined, target: isLink ? this.target : undefined, type: this.type, tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick }, hAsync("span", { key: '26fb7d597faabcabcbc99f20527a40cbda1eba83', class: "bq-button__prefix", ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, hAsync("slot", { key: 'd401dddfed429aa79ee13db471194ee48c9e9807', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("span", { key: '1ff8d9566b5d30456d42f0d8b96851532e55f85c', class: "bq-button__label", part: "label" }, hAsync("slot", { key: '310684adbb5eb77b107413bc41926545a0e2c860' })), hAsync("span", { key: '9d8966acfb68f32e5101f47290f3660fb5437e19', class: "bq-button__suffix", ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, hAsync("slot", { key: 'c370ac224c02fb89fc7b2ba9e1b8635221b92395', name: "suffix", onSlotchange: this.handleSlotChange })), this.loading && hAsync("bq-icon", { key: '09a9e89332b5c292e0fcaf53859de901b85dae6c', class: "bq-button__loader", name: "spinner-gap" }))));
|
|
4704
5126
|
}
|
|
4705
5127
|
static get delegatesFocus() { return true; }
|
|
4706
5128
|
static get formAssociated() { return true; }
|
|
@@ -5098,6 +5520,75 @@ class BqCheckbox {
|
|
|
5098
5520
|
|
|
5099
5521
|
const DATE_PICKER_TYPE = ['single', 'multi', 'range'];
|
|
5100
5522
|
|
|
5523
|
+
/* -------------------------------------------------------------------------- */
|
|
5524
|
+
/* Cally Library loader helper */
|
|
5525
|
+
/* -------------------------------------------------------------------------- */
|
|
5526
|
+
const CALLY_SCRIPT_ATTRIBUTE = 'data-cally-library';
|
|
5527
|
+
//❗ Make sure to update the version here when the library releases a new version
|
|
5528
|
+
const CALLY_LIB_VERSION = '0.8.0';
|
|
5529
|
+
/**
|
|
5530
|
+
* ❗ Make sure to update the hash here if the `CALLY_LIB_VERSION` is updated
|
|
5531
|
+
* This hash is used to ensure the integrity of the library when loading it
|
|
5532
|
+
* from a CDN.
|
|
5533
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
|
|
5534
|
+
*/
|
|
5535
|
+
const CALLY_LIB_HASH = 'sha384-giuY/f8D3+ehgOTmQMr4HvrreOITDmvXsZuDCJ1csQ+3dURHA24NqRd8lkSI6uGF';
|
|
5536
|
+
let isLibraryLoaded = false;
|
|
5537
|
+
/**
|
|
5538
|
+
* Checks if the Cally library is already loaded in the document
|
|
5539
|
+
* @returns {boolean} True if the library is loaded
|
|
5540
|
+
*/
|
|
5541
|
+
const isCallyLibraryLoaded = () => {
|
|
5542
|
+
// This might be a bit redundant, but it's a sanity check to ensure the library is actually loaded
|
|
5543
|
+
return isLibraryLoaded || document.querySelector(`script[${CALLY_SCRIPT_ATTRIBUTE}]`) !== null;
|
|
5544
|
+
};
|
|
5545
|
+
/**
|
|
5546
|
+
* Loads the Cally library for the date picker component
|
|
5547
|
+
* @throws {Error} If the library fails to load
|
|
5548
|
+
* @return {Promise<void>}
|
|
5549
|
+
*/
|
|
5550
|
+
const loadCallyLibrary = async () => {
|
|
5551
|
+
if (isCallyLibraryLoaded())
|
|
5552
|
+
return;
|
|
5553
|
+
try {
|
|
5554
|
+
await loadScript({
|
|
5555
|
+
type: 'module',
|
|
5556
|
+
src: `https://unpkg.com/cally@${CALLY_LIB_VERSION}/dist/cally.js`,
|
|
5557
|
+
attributes: {
|
|
5558
|
+
[CALLY_SCRIPT_ATTRIBUTE]: '',
|
|
5559
|
+
crossOrigin: 'anonymous',
|
|
5560
|
+
integrity: CALLY_LIB_HASH,
|
|
5561
|
+
},
|
|
5562
|
+
});
|
|
5563
|
+
isLibraryLoaded = true;
|
|
5564
|
+
}
|
|
5565
|
+
catch (error) {
|
|
5566
|
+
isLibraryLoaded = false;
|
|
5567
|
+
throw new Error(`Failed to load the cally library: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
5568
|
+
}
|
|
5569
|
+
};
|
|
5570
|
+
/**
|
|
5571
|
+
* Helper function to load a script with given configuration
|
|
5572
|
+
* @param {Object} config - Script configuration
|
|
5573
|
+
* @param {string} config.type - The type of the script
|
|
5574
|
+
* @param {string} config.src - The source URL of the script
|
|
5575
|
+
* @param {Object} [config.attributes] - Additional attributes to set on the script element
|
|
5576
|
+
* @returns {Promise<void>}
|
|
5577
|
+
*/
|
|
5578
|
+
const loadScript = ({ type, src, attributes = {} }) => {
|
|
5579
|
+
return new Promise((resolve, reject) => {
|
|
5580
|
+
const script = document.createElement('script');
|
|
5581
|
+
script.type = type;
|
|
5582
|
+
script.src = src;
|
|
5583
|
+
script.onload = () => resolve();
|
|
5584
|
+
script.onerror = (error) => reject(new Error(`Failed to load script: ${src}, ${error instanceof Error ? error.message : 'Unknown error'}`));
|
|
5585
|
+
Object.entries(attributes).forEach(([key, value]) => {
|
|
5586
|
+
script.setAttribute(key, value);
|
|
5587
|
+
});
|
|
5588
|
+
document.head.appendChild(script);
|
|
5589
|
+
});
|
|
5590
|
+
};
|
|
5591
|
+
|
|
5101
5592
|
const bqDatePickerCss = ".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{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.me-\\[--bq-date-picker--gap\\]{margin-inline-end:var(--bq-date-picker--gap)}.ms-\\[--bq-date-picker--gap\\]{margin-inline-start:var(--bq-date-picker--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.size-\\[--bq-date-picker--day-size\\]{height:var(--bq-date-picker--day-size);width:var(--bq-date-picker--day-size)}.flex-auto{flex:1 1 auto}.flex-grow{flex-grow:1}.cursor-inherit{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[--bq-date-picker--gap\\]{gap:var(--bq-date-picker--gap)}.gap-s{gap:var(--bq-spacing-s)}.rounded-\\[--bq-date-picker--border-radius\\]{border-radius:var(--bq-date-picker--border-radius)}.rounded-none{border-radius:var(--bq-radius--none)}.rounded-s{border-radius:var(--bq-radius--s)}.rounded-xs{border-radius:var(--bq-radius--xs)}.rounded-ee-none{border-end-end-radius:var(--bq-radius--none)}.rounded-es-none{border-end-start-radius:var(--bq-radius--none)}.rounded-se-none{border-start-end-radius:var(--bq-radius--none)}.rounded-ss-none{border-start-start-radius:var(--bq-radius--none)}.border-0{border-width:0}.border-\\[length\\:--bq-date-picker--border-width\\]{border-width:var(--bq-date-picker--border-width)}.border-\\[length\\:--bq-date-picker--currentDate-border-width\\]{border-width:var(--bq-date-picker--currentDate-border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-date-picker--border-color\\]{border-color:var(--bq-date-picker--border-color)}.border-\\[color\\:--bq-date-picker--currentDate-border-color\\]{border-color:var(--bq-date-picker--currentDate-border-color)}.border-\\[color\\:--bq-focus\\]{border-color:var(--bq-focus)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-\\[--bq-date-picker--background-color\\]{background-color:var(--bq-date-picker--background-color)}.bg-\\[--bq-date-picker--range-background-color\\]{background-color:var(--bq-date-picker--range-background-color)}.bg-\\[--bq-date-picker--range-inner-background-color\\]{background-color:var(--bq-date-picker--range-inner-background-color)}.bg-inherit{background-color:inherit}.bg-transparent{background-color:transparent}.pe-\\[--bq-date-picker--padding-end\\]{padding-inline-end:var(--bq-date-picker--padding-end)}.ps-\\[--bq-date-picker--padding-start\\]{padding-inline-start:var(--bq-date-picker--padding-start)}.font-default{font-family:var(--bq-font-family)}.font-inherit{font-family:inherit}.text-\\[length\\:--bq-date-picker--label-text-size\\]{font-size:var(--bq-date-picker--label-text-size)}.text-\\[length\\:--bq-date-picker--text-size\\]{font-size:var(--bq-date-picker--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.text-\\[color\\:--bq-date-picker--label-text-color\\]{color:var(--bq-date-picker--label-text-color)}.text-\\[color\\:--bq-date-picker--text-color\\]{color:var(--bq-date-picker--text-color)}.text-alt{color:var(--bq-text--alt)}.text-primary{color:var(--bq-text--primary)}.text-secondary{color:var(--bq-text--secondary)}.opacity-100{opacity:1}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bs-auto{block-size:auto}.is-full{inline-size:100%}.min-bs-\\[--bq-date-picker--icon-size\\]{min-block-size:var(--bq-date-picker--icon-size)}.min-is-0{min-inline-size:0}.p-b-0{padding-block:0}.p-b-\\[--bq-date-picker--paddingY\\]{padding-block:var(--bq-date-picker--paddingY)}.p-b-xs2{padding-block:var(--bq-spacing-xs2)}.p-i-0{padding-inline:0}.p-i-xs{padding-inline:var(--bq-spacing-xs)}.m-b-0{margin-block:0}.m-be-\\[--bq-date-picker--label-margin-bottom\\]{margin-block-end:var(--bq-date-picker--label-margin-bottom)}.m-i-0{margin-inline:0}.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}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-date-picker--background-color:var(--bq-ui--primary);--bq-date-picker--border-color:var(--bq-stroke--tertiary);--bq-date-picker--border-radius:var(--bq-radius--s);--bq-date-picker--border-style:solid;--bq-date-picker--border-width:var(--bq-stroke-s);--bq-date-picker--currentDate-border-color:var(--bq-stroke--brand);--bq-date-picker--currentDate-border-width:var(--bq-stroke-m);--bq-date-picker--day-size:var(--bq-spacing-xl);--bq-date-picker--gap:var(--bq-spacing-xs);--bq-date-picker--icon-size:24px;--bq-date-picker--label-margin-bottom:var(--bq-spacing-xs);--bq-date-picker--label-text-color:var(--bq-text--primary);--bq-date-picker--label-text-size:var(--bq-font-size--s);--bq-date-picker--padding-end:var(--bq-spacing-m);--bq-date-picker--padding-start:var(--bq-spacing-m);--bq-date-picker--paddingY:var(--bq-spacing-s);--bq-date-picker--range-background-color:var(--bq-ui--brand);--bq-date-picker--range-inner-background-color:var(--bq-ui--brand-alt);--bq-date-picker--text-color:var(--bq-text--primary);--bq-date-picker--text-placeholder-color:var(--bq-text--secondary);--bq-date-picker--text-size:var(--bq-font-size--m);display:block;inline-size:100%}.bq-date-picker__label{align-items:center;color:var(--bq-date-picker--label-text-color);display:flex;flex-grow:1;font-size:var(--bq-date-picker--label-text-size);gap:var(--bq-date-picker--gap);margin-block-end:var(--bq-date-picker--label-margin-bottom)}.bq-date-picker__control{align-items:center;border-color:var(--bq-date-picker--border-color);border-radius:var(--bq-date-picker--border-radius);border-style:var(--bq-date-picker--border-style);border-width:var(--bq-date-picker--border-width);color:var(--bq-date-picker--text-color);display:flex;font-size:var(--bq-date-picker--text-size);inline-size:100%;padding-block:var(--bq-date-picker--paddingY);padding-inline-end:var(--bq-date-picker--padding-end);padding-inline-start:var(--bq-date-picker--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-date-picker__control::placeholder{color:var(--bq-date-picker--text-placeholder-color)}.bq-date-picker__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-date-picker__control:not(.disabled):focus-within{--bq-ring-width:1px;--bq-ring-offset-width:0;border-color:var(--bq-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-date-picker__control:not(.disabled):focus-within .bq-date-picker__control--clear,.bq-date-picker__control:not(.disabled):hover .bq-date-picker__control--clear{display:inline-block}.bq-date-picker__control.disabled{cursor:not-allowed;opacity:.6}.bq-date-picker__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-date-picker__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-date-picker__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-date-picker__control.validation-success{border-color:var(--bq-stroke--success)}.bq-date-picker__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-date-picker__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-date-picker__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-date-picker__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-date-picker__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-date-picker__control--input{appearance:none;background-color:inherit;border-style:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;margin-block:0;margin-inline:0;min-block-size:var(--bq-date-picker--icon-size);min-inline-size:0;padding-block:0;padding-inline:0;user-select:none}.bq-date-picker__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-date-picker__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-date-picker__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial;block-size:auto;border-radius:var(--bq-radius--xs);border-style:none;padding-block:0;padding-inline:0}.bq-date-picker__control--prefix,.bq-date-picker__control--suffix{align-items:center;color:var(--bq-date-picker--text-color);display:flex;pointer-events:none}.bq-date-picker__control--prefix{margin-inline-end:var(--bq-date-picker--gap)}.bq-date-picker__control--suffix{margin-inline-start:var(--bq-date-picker--gap)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-date-picker--icon-size)!important}calendar-date::part(header),calendar-multi::part(header),calendar-range::part(header){gap:var(--bq-spacing-s);justify-content:center}calendar-date::part(heading),calendar-multi::part(heading),calendar-range::part(heading){padding-block:var(--bq-spacing-xs2);padding-inline:var(--bq-spacing-xs)}calendar-date::part(button),calendar-multi::part(button),calendar-range::part(button){background-color:transparent;border-radius:var(--bq-radius--s);border-width:0;padding-block:var(--bq-spacing-xs2);padding-inline:var(--bq-spacing-xs2);transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}calendar-date::part(button):focus-visible,calendar-multi::part(button):focus-visible,calendar-range::part(button):focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}calendar-date::part(button):hover,calendar-multi::part(button):hover,calendar-range::part(button):hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}calendar-date::part(container),calendar-multi::part(container),calendar-range::part(container){background-color:var(--bq-date-picker--background-color);padding-block:0;padding-inline:0}calendar-month{--color-accent:var(--bq-ui--brand)}calendar-month::part(button){align-items:center;background-color:transparent;border-radius:var(--bq-radius--s);color:var(--bq-text--primary);display:flex;font-family:var(--bq-font-family);height:var(--bq-date-picker--day-size);justify-content:center;padding-block:0;padding-inline:0;transition-duration:.2s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--bq-date-picker--day-size)}calendar-month::part(button):focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}calendar-month::part(button):hover:enabled{background-color:color-mix(in srgb,var(--bq-background--secondary),var(--bq-hover) 20%)}calendar-month::part(button):disabled{cursor:not-allowed}calendar-month::part(button day disallowed){background-color:transparent!important;cursor:not-allowed!important}calendar-month::part(button day selected){background-color:var(--bq-date-picker--range-background-color);border-radius:var(--bq-radius--s);color:var(--bq-text--alt)}calendar-month::part(button day selected):hover:enabled{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-hover) 20%)}calendar-month::part(button day selected range-inner){background-color:var(--bq-date-picker--range-inner-background-color);border-radius:var(--bq-radius--none);color:var(--bq-text--primary)}calendar-month::part(button day selected range-inner):hover{color:var(--bq-text--alt)}calendar-month::part(button day outside){color:var(--bq-text--secondary);cursor:pointer;opacity:1}calendar-month::part(today){border-color:var(--bq-date-picker--currentDate-border-color);border-radius:var(--bq-radius--s);border-style:var(--bq-date-picker--border-style);border-width:var(--bq-date-picker--currentDate-border-width)}calendar-month::part(today selected){color:var(--bq-text--alt)}calendar-month::part(today range-inner){border-radius:var(--bq-radius--none)}calendar-month::part(today range-start){border-end-start-radius:var(--bq-radius--none);border-radius:var(--bq-radius--s)}calendar-month::part(today range-end){border-end-end-radius:var(--bq-radius--none);border-radius:var(--bq-radius--s)}calendar-month::part(range-start){border-end-end-radius:var(--bq-radius--none);border-start-end-radius:var(--bq-radius--none)}calendar-month::part(range-end){border-end-start-radius:var(--bq-radius--none);border-start-start-radius:var(--bq-radius--none)}calendar-month::part(range-start range-end){border-radius:var(--bq-radius--s)}.focus-visible\\:focus:focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.placeholder\\:text-\\[color\\:--bq-date-picker--text-placeholder-color\\]::placeholder{color:var(--bq-date-picker--text-placeholder-color)}.hover\\:text-alt:hover{color:var(--bq-text--alt)}.hover\\:bg-hover-ui-primary:hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.enabled\\:hover\\:bg-hover-secondary:hover:enabled{background-color:color-mix(in srgb,var(--bq-background--secondary),var(--bq-hover) 20%)}.enabled\\:hover\\:bg-hover-ui-brand:hover:enabled{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-hover) 20%)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.table{display:table}.grid{display:grid}.\\!hidden{display:none!important}.hidden{display:none}.flex-wrap{flex-wrap:wrap}.gap-\\[--bq-spacing-m\\]{gap:var(--bq-spacing-m)}@media (min-width:640px){.sm\\:block{display:block}}.\\[\\&\\:\\:part\\(panel\\)\\]\\:p-m::part(panel){padding:var(--bq-spacing-m)}.\\[\\&\\:\\:part\\(panel\\)\\]\\:is-auto::part(panel){inline-size:auto}.absolute{position:absolute}.text-\\[color\\:--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.relative{position:relative}.inline{display:inline}";
|
|
5102
5593
|
var BqDatePickerStyle0 = bqDatePickerCss;
|
|
5103
5594
|
|
|
@@ -5256,6 +5747,7 @@ class BqDatePicker {
|
|
|
5256
5747
|
// State() variables
|
|
5257
5748
|
// Inlined decorator, alphabetical order
|
|
5258
5749
|
// =======================================
|
|
5750
|
+
isCallyLoaded = false;
|
|
5259
5751
|
focusedDate;
|
|
5260
5752
|
displayDate;
|
|
5261
5753
|
hasLabel = false;
|
|
@@ -5349,7 +5841,9 @@ class BqDatePicker {
|
|
|
5349
5841
|
// Prop lifecycle events
|
|
5350
5842
|
// =======================
|
|
5351
5843
|
handleValueChange() {
|
|
5352
|
-
const { formatDisplayValue, internals, value } = this;
|
|
5844
|
+
const { formatDisplayValue, internals, isCallyLoaded, value } = this;
|
|
5845
|
+
if (!isCallyLoaded)
|
|
5846
|
+
return;
|
|
5353
5847
|
internals.setFormValue(!isNil(value) ? `${value}` : undefined);
|
|
5354
5848
|
this.updateFormValidity();
|
|
5355
5849
|
if (Array.isArray(value)) {
|
|
@@ -5381,11 +5875,18 @@ class BqDatePicker {
|
|
|
5381
5875
|
// Ordered by their natural call order
|
|
5382
5876
|
// =====================================
|
|
5383
5877
|
async connectedCallback() {
|
|
5384
|
-
if (!isClient())
|
|
5878
|
+
if (!isClient() || this.isCallyLoaded)
|
|
5385
5879
|
return;
|
|
5386
|
-
|
|
5880
|
+
try {
|
|
5881
|
+
await loadCallyLibrary();
|
|
5882
|
+
this.isCallyLoaded = isCallyLibraryLoaded();
|
|
5883
|
+
}
|
|
5884
|
+
catch (error) {
|
|
5885
|
+
console.error(error);
|
|
5886
|
+
}
|
|
5387
5887
|
}
|
|
5388
|
-
|
|
5888
|
+
async componentDidLoad() {
|
|
5889
|
+
this.handleSlotChange();
|
|
5389
5890
|
this.handleValueChange();
|
|
5390
5891
|
}
|
|
5391
5892
|
formAssociatedCallback() {
|
|
@@ -5451,11 +5952,12 @@ class BqDatePicker {
|
|
|
5451
5952
|
this.bqFocus.emit(this.el);
|
|
5452
5953
|
};
|
|
5453
5954
|
setFocusedDate = () => {
|
|
5454
|
-
|
|
5955
|
+
const { callyElem, formatFocusedDate, isCallyLoaded, value } = this;
|
|
5956
|
+
if (!(callyElem && isCallyLoaded))
|
|
5455
5957
|
return;
|
|
5456
5958
|
// We need to set the focused date in the calendar component via a ref
|
|
5457
5959
|
// because it doesn't work when passed as a prop (the Cally element does not re-render)
|
|
5458
|
-
this.focusedDate =
|
|
5960
|
+
this.focusedDate = value ? formatFocusedDate(value) : new Date().toLocaleDateString('fr-CA');
|
|
5459
5961
|
this.callyElem.focusedDate = this.focusedDate;
|
|
5460
5962
|
};
|
|
5461
5963
|
handleChange = (ev) => {
|
|
@@ -5501,16 +6003,14 @@ class BqDatePicker {
|
|
|
5501
6003
|
this.inputElem.focus();
|
|
5502
6004
|
ev.stopPropagation();
|
|
5503
6005
|
};
|
|
5504
|
-
|
|
6006
|
+
handleSlotChange = () => {
|
|
5505
6007
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
5506
|
-
};
|
|
5507
|
-
handlePrefixSlotChange = () => {
|
|
5508
6008
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
5509
|
-
};
|
|
5510
|
-
handleSuffixSlotChange = () => {
|
|
5511
6009
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
5512
6010
|
};
|
|
5513
6011
|
generateCalendarMonth = (offset, className = '') => {
|
|
6012
|
+
if (!this.isCallyLoaded)
|
|
6013
|
+
return null;
|
|
5514
6014
|
return (hAsync("calendar-month", { offset: offset, class: className, exportparts: `${this.COMMON_EXPORT_PARTS},${this.BUTTON_EXPORT_PARTS}` }));
|
|
5515
6015
|
};
|
|
5516
6016
|
/**
|
|
@@ -5527,6 +6027,8 @@ class BqDatePicker {
|
|
|
5527
6027
|
* @returns {Element[]} An array of elements representing the calendar months.
|
|
5528
6028
|
*/
|
|
5529
6029
|
generateCalendarMonths = () => {
|
|
6030
|
+
if (!this.isCallyLoaded)
|
|
6031
|
+
return [];
|
|
5530
6032
|
if (this.type === 'range' || (this.type === 'multi' && this.months)) {
|
|
5531
6033
|
return Array.from({ length: this.months }, (_, i) => {
|
|
5532
6034
|
const offset = i > 0 ? i : undefined;
|
|
@@ -5594,16 +6096,16 @@ class BqDatePicker {
|
|
|
5594
6096
|
render() {
|
|
5595
6097
|
const CallyCalendar = this.CalendarType;
|
|
5596
6098
|
const labelId = `bq-date-picker__label-${this.name || this.fallbackInputId}`;
|
|
5597
|
-
return (hAsync("div", { key: '
|
|
6099
|
+
return (hAsync("div", { key: '069f903344826b0ebcae55e8ef856b7f482c233a', class: "bq-date-picker", part: "base" }, hAsync("label", { key: 'f59992a4898eb30b3d31eb9c6b72f6e904c473c8', id: labelId, class: { 'bq-date-picker__label': true, '!hidden': !this.hasLabel }, "aria-label": this.name || this.fallbackInputId, htmlFor: this.name || this.fallbackInputId, ref: (labelElem) => (this.labelElem = labelElem), part: "label" }, hAsync("slot", { key: 'aebcf5dadd8678765f0116b07d2bad4f2d52af6e', name: "label", onSlotchange: this.handleSlotChange })), hAsync("bq-dropdown", { key: 'ccb991f3c53db36c33f7b300cd2c5495ad8dbe16', class: "bq-date-picker__dropdown is-full [&::part(panel)]:p-m [&::part(panel)]:is-auto", disabled: this.disabled, distance: this.distance, open: this.open, panelHeight: this.panelHeight, placement: this.placement, skidding: this.skidding, strategy: this.strategy, exportparts: "panel" }, hAsync("div", { key: 'bf2e9ac59a47f5e6ace0d28b48ed16c2c8645679', class: {
|
|
5598
6100
|
'bq-date-picker__control': true,
|
|
5599
6101
|
[`validation-${this.validationStatus}`]: true,
|
|
5600
6102
|
disabled: this.disabled,
|
|
5601
|
-
}, part: "control", slot: "trigger" }, hAsync("span", { key: '
|
|
6103
|
+
}, part: "control", slot: "trigger" }, hAsync("span", { key: '27a2f44c0a81cc0b7302d152e8731199828bbc54', class: { 'bq-date-picker__control--prefix': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, hAsync("slot", { key: '0c23dd1c1a4221a207fc56a231413e7aac5dc5c9', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("input", { key: 'faba190997324a83c461f1577e2344fbef5f313a', id: this.name || this.fallbackInputId, class: "bq-date-picker__control--input", autoComplete: "off", autoCapitalize: "off", "aria-disabled": this.disabled ? 'true' : 'false', "aria-controls": `${this.name}`, "aria-haspopup": "dialog", disabled: this.disabled, form: this.form, name: this.name, placeholder: this.placeholder, readonly: this.type !== 'single', ref: (inputElem) => (this.inputElem = inputElem), required: this.required, spellcheck: false, type: "text", value: this.displayDate, part: "input",
|
|
5602
6104
|
// Events
|
|
5603
6105
|
onBlur: this.handleBlur, onFocus: this.handleFocus, onChange: this.handleChange }), this.hasValue && !this.disabled && !this.disableClear && (
|
|
5604
6106
|
// The clear button will be visible as long as the input has a value
|
|
5605
6107
|
// and the parent group is hovered or has focus-within
|
|
5606
|
-
hAsync("bq-button", { key: '
|
|
6108
|
+
hAsync("bq-button", { key: 'c2378ba7fa91f2ba97a365b4c112f7bdd9133768', class: "bq-date-picker__control--clear ms-[--bq-date-picker--gap] hidden", appearance: "text", "aria-label": this.clearButtonLabel, size: "small", onBqClick: this.handleClearClick, part: "clear-btn", exportparts: "button" }, hAsync("slot", { key: '834c2e4ceca2f3750aa3387997b9e109243ea31b', name: "clear-icon" }, hAsync("bq-icon", { key: 'fb69b669c5945d0d1837d78132cd50cee58d0ae8', name: "x-circle", class: "flex" })))), hAsync("span", { key: '6a62e719ff5351a3fe5adcfee6d305fdccadeace', class: "bq-date-picker__control--suffix", ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, hAsync("slot", { key: '41feb65276d71d1f385e10c678090a38f1665152', name: "suffix", onSlotchange: this.handleSlotChange }, hAsync("bq-icon", { key: '041dd77ea0b03bcf0632f9f7f58fe4ed88fa527e', name: "calendar-blank", class: "flex" })))), this.isCallyLoaded && (hAsync(CallyCalendar, { key: '1c49606beca0c95a7af42519c4a38716bba10bc5', isDateDisallowed: this.isDateDisallowed, locale: this.locale, value: this.value, min: this.min, max: this.max, months: this.months, tentative: this.tentative, pageBy: this.monthsPerView, firstDayOfWeek: this.firstDayOfWeek, showOutsideDays: this.showOutsideDays, onChange: this.handleCalendarChange, onRangestart: this.handleCalendarRangeStart, onRangeend: this.handleCalendarRangeEnd, exportparts: "container:calendar__container,header:calendar__header,button:calendar__button,previous:calendar__previous,next:calendar__next,disabled:calendar__disabled,heading:calendar__heading", ref: (elem) => (this.callyElem = elem) }, hAsync("bq-icon", { key: '995826eb972580a6f63052bee35324aa9a2add6c', color: "text--primary", slot: "previous", name: "caret-left", label: "Previous" }), hAsync("bq-icon", { key: 'c5139a4bc0e92dcfc7ea3be691f6f553c2c4efb9', color: "text--primary", slot: "next", name: "caret-right", label: "Next" }), hAsync("div", { key: 'c7ca5ac86a07e2d0681261ceb9045675df7a3881', class: "flex flex-wrap justify-center gap-[--bq-spacing-m]" }, this.generateCalendarMonths()))))));
|
|
5607
6109
|
}
|
|
5608
6110
|
static get delegatesFocus() { return true; }
|
|
5609
6111
|
static get formAssociated() { return true; }
|
|
@@ -5644,6 +6146,7 @@ class BqDatePicker {
|
|
|
5644
6146
|
"type": [513],
|
|
5645
6147
|
"validationStatus": [513, "validation-status"],
|
|
5646
6148
|
"value": [1537],
|
|
6149
|
+
"isCallyLoaded": [32],
|
|
5647
6150
|
"focusedDate": [32],
|
|
5648
6151
|
"displayDate": [32],
|
|
5649
6152
|
"hasLabel": [32],
|
|
@@ -5815,6 +6318,7 @@ class BqDialog {
|
|
|
5815
6318
|
this.checkPropValues();
|
|
5816
6319
|
}
|
|
5817
6320
|
componentDidLoad() {
|
|
6321
|
+
this.handleSlotChange();
|
|
5818
6322
|
this.handleOpenChange();
|
|
5819
6323
|
this.closeSlotElem = this.el.shadowRoot.querySelector('slot[name="button-close"]');
|
|
5820
6324
|
this.closeSlotElem?.addEventListener('click', () => this.hide());
|
|
@@ -5912,10 +6416,8 @@ class BqDialog {
|
|
|
5912
6416
|
this.bqAfterClose.emit();
|
|
5913
6417
|
this.el.classList.remove(this.OPEN_CSS_CLASS);
|
|
5914
6418
|
};
|
|
5915
|
-
|
|
6419
|
+
handleSlotChange = () => {
|
|
5916
6420
|
this.hasContent = hasSlotContent(this.contentElem);
|
|
5917
|
-
};
|
|
5918
|
-
handleFooterSlotChange = () => {
|
|
5919
6421
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
5920
6422
|
};
|
|
5921
6423
|
// render() function
|
|
@@ -5925,18 +6427,18 @@ class BqDialog {
|
|
|
5925
6427
|
const style = {
|
|
5926
6428
|
...(this.border && { '--bq-dialog--border-radius': `var(--bq-radius--${this.border})` }),
|
|
5927
6429
|
};
|
|
5928
|
-
return (hAsync("dialog", { key: '
|
|
6430
|
+
return (hAsync("dialog", { key: '135ba080be5d1283779bab5563f72f5e840781ef', style: style, class: {
|
|
5929
6431
|
[`bq-dialog hidden ${this.size} m-auto focus-visible:outline-none`]: true,
|
|
5930
6432
|
'inset-be-[50%] inset-bs-[50%]': this.disableBackdrop,
|
|
5931
|
-
}, "data-transition-enter": "transition ease-in duration-300", "data-transition-enter-start": "opacity-0 scale-90", "data-transition-enter-end": "opacity-100 scale-100", "data-transition-leave": "transition ease-out duration-300", "data-transition-leave-start": "opacity-100 scale-100", "data-transition-leave-end": "opacity-0 scale-90", inert: this.open ? undefined : true, ref: (dialogElem) => (this.dialogElem = dialogElem), "aria-modal": "true", "aria-labelledby": "bq-dialog--title", part: "dialog" }, hAsync("main", { key: '
|
|
6433
|
+
}, "data-transition-enter": "transition ease-in duration-300", "data-transition-enter-start": "opacity-0 scale-90", "data-transition-enter-end": "opacity-100 scale-100", "data-transition-leave": "transition ease-out duration-300", "data-transition-leave-start": "opacity-100 scale-100", "data-transition-leave-end": "opacity-0 scale-90", inert: this.open ? undefined : true, ref: (dialogElem) => (this.dialogElem = dialogElem), "aria-modal": "true", "aria-labelledby": "bq-dialog--title", part: "dialog" }, hAsync("main", { key: 'f24799fddd755cf16ceee241946ad87719a28769', class: "flex flex-col gap-[--bq-dialog--title-body-gap] overflow-hidden", part: "content" }, hAsync("header", { key: 'caca1dffb20724b200bf368f3b6b8e50ca3fbaad', class: "bq-dialog--header", part: "header" }, hAsync("div", { key: 'c859333b1df5ec270cbb0484b7d74257283eba7b', id: "bq-dialog--title", class: "bq-dialog--title flex flex-1 items-center justify-between", part: "title" }, hAsync("slot", { key: '6efb1aa83bf4e37efdbdfb4b7d0580b8c6c068f5', name: "title" })), hAsync("slot", { key: '86cb87c4074a571b18bdc2033a8395f8ce0af484', name: "button-close" }, !this.hideCloseButton && (hAsync("bq-button", { key: 'f9fface9461e62501a7770024ca3b599f8ce0e10', class: "bq-dialog--close", appearance: "text", size: "small" }, hAsync("bq-icon", { key: 'c68d894a421ced27a57fd5bdf40638082d224f56', class: "cursor-pointer", name: "x", role: "img", title: "Close" }))))), hAsync("div", { key: '5b58345eb77b8c1d21439a7eb36ff17cc0e5932e', class: {
|
|
5932
6434
|
'!hidden': !this.hasContent,
|
|
5933
6435
|
'overflow-y-auto p-i-[--bq-dialog--padding]': this.hasContent,
|
|
5934
6436
|
'!p-be-[--bq-dialog--padding]': !this.hasFooter,
|
|
5935
|
-
}, ref: (mainElem) => (this.contentElem = mainElem), part: "body" }, hAsync("slot", { key: '
|
|
6437
|
+
}, ref: (mainElem) => (this.contentElem = mainElem), part: "body" }, hAsync("slot", { key: '266d2c5b892814dd0b253ce83ee03df849263a0f', onSlotchange: this.handleSlotChange }))), hAsync("footer", { key: '1ce0fbcc5213ebb56e18d03e22c498f44674eef4', class: {
|
|
5936
6438
|
'!hidden': !this.hasFooter,
|
|
5937
6439
|
'bq-dialog--footer': this.hasFooter,
|
|
5938
6440
|
'bg-ui-alt !p-b-s': this.footerAppearance === 'highlight',
|
|
5939
|
-
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '
|
|
6441
|
+
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '7cfba4b2c8dd4512fed61e81304b4e9bec317ad9', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
5940
6442
|
}
|
|
5941
6443
|
static get watchers() { return {
|
|
5942
6444
|
"footerAppearance": ["checkPropValues"],
|
|
@@ -6155,7 +6657,7 @@ const DRAWER_POSITIONS = ['start', 'end'];
|
|
|
6155
6657
|
// !TO BE REMOVED: `placement` is deprecated and it will be removed in the future
|
|
6156
6658
|
const DRAWER_PLACEMENT = ['left', 'right'];
|
|
6157
6659
|
|
|
6158
|
-
const bqDrawerCss = ".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))}.bq-drawer,.shadow-m{--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::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{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--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}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.z-\\[--bq-drawer--zIndex\\]{z-index:var(--bq-drawer--zIndex)}.flex{display:flex}.flex-col{flex-direction:column}.gap-\\[--bq-drawer--gap\\]{gap:var(--bq-drawer--gap)}.bg-primary{background-color:var(--bq-background--primary)}.shadow-m{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.is-\\[--bq-drawer--width\\]{inline-size:var(--bq-drawer--width)}.max-is-full{max-inline-size:100%}.p-b-\\[--bq-drawer--paddingY\\]{padding-block:var(--bq-drawer--paddingY)}.p-i-\\[--bq-drawer--paddingX\\]{padding-inline:var(--bq-drawer--paddingX)}.inset-b-0{inset-block:0}@-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-drawer--backgroundBackdrop:var(--bq-background--overlay);--bq-drawer--gap:var(--bq-spacing-l);--bq-drawer--width:320px;--bq-drawer--paddingX:var(--bq-spacing-l);--bq-drawer--paddingY:var(--bq-spacing-m);--bq-drawer--zIndex:10;visibility:hidden!important}:host(.bq-drawer--open){visibility:visible!important}.bq-drawer{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);background-color:var(--bq-background--primary);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;gap:var(--bq-drawer--gap);inline-size:var(--bq-drawer--width);inset-block:0;max-inline-size:100%;padding-block:var(--bq-drawer--paddingY);padding-inline:var(--bq-drawer--paddingX);position:fixed;z-index:var(--bq-drawer--zIndex)}.pointer-events-none{pointer-events:none}.static{position:static}.inset-0{inset:0}.-end-\\[--bq-drawer--width\\]{inset-inline-end:calc(var(--bq-drawer--width)*-1)}.-start-\\[--bq-drawer--width\\]{inset-inline-start:calc(var(--bq-drawer--width)*-1)}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.mb-m{margin-bottom:var(--bq-spacing-m)}.block{display:block}.\\!hidden{display:none!important}.hidden{display:none}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-xs{gap:var(--bq-spacing-xs)}.overflow-auto{overflow:auto}.bg-\\[--bq-drawer--backgroundBackdrop\\]{background-color:var(--bq-drawer--backgroundBackdrop)}.font-bold{font-weight:var(--bq-font-weight--bold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&\\:\\:part\\(button\\)\\]\\:rounded-s::part(button){border-radius:var(--bq-radius--s)}.\\[\\&\\:\\:part\\(button\\)\\]\\:border-0::part(button){border-width:0}.\\[\\&\\:\\:part\\(button\\)\\]\\:bs-fit::part(button){block-size:fit-content}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-b-0::part(button){padding-block:0}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-i-0::part(button){padding-inline:0}.\\[\\&\\:\\:part\\(label\\)\\]\\:inline-flex::part(label){display:inline-flex}.gap-0{gap:0}.text-\\[color\\:--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.inline{display:inline}.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}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}";
|
|
6660
|
+
const bqDrawerCss = ".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))}.bq-drawer,.shadow-m{--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::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{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--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}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.z-\\[--bq-drawer--zIndex\\]{z-index:var(--bq-drawer--zIndex)}.flex{display:flex}.flex-col{flex-direction:column}.gap-\\[--bq-drawer--gap\\]{gap:var(--bq-drawer--gap)}.bg-primary{background-color:var(--bq-background--primary)}.shadow-m{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.is-\\[--bq-drawer--width\\]{inline-size:var(--bq-drawer--width)}.max-is-full{max-inline-size:100%}.p-b-\\[--bq-drawer--paddingY\\]{padding-block:var(--bq-drawer--paddingY)}.p-i-\\[--bq-drawer--paddingX\\]{padding-inline:var(--bq-drawer--paddingX)}.inset-b-0{inset-block:0}@-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-drawer--backgroundBackdrop:var(--bq-background--overlay);--bq-drawer--gap:var(--bq-spacing-l);--bq-drawer--width:320px;--bq-drawer--paddingX:var(--bq-spacing-l);--bq-drawer--paddingY:var(--bq-spacing-m);--bq-drawer--zIndex:10;visibility:hidden!important}:host(.bq-drawer--open){visibility:visible!important}.bq-drawer{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);background-color:var(--bq-background--primary);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;gap:var(--bq-drawer--gap);inline-size:var(--bq-drawer--width);inset-block:0;max-inline-size:100%;padding-block:var(--bq-drawer--paddingY);padding-inline:var(--bq-drawer--paddingX);position:fixed;z-index:var(--bq-drawer--zIndex)}.pointer-events-none{pointer-events:none}.static{position:static}.inset-0{inset:0}.-end-\\[--bq-drawer--width\\]{inset-inline-end:calc(var(--bq-drawer--width)*-1)}.-start-\\[--bq-drawer--width\\]{inset-inline-start:calc(var(--bq-drawer--width)*-1)}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.mb-m{margin-bottom:var(--bq-spacing-m)}.block{display:block}.\\!hidden{display:none!important}.hidden{display:none}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-xs{gap:var(--bq-spacing-xs)}.overflow-auto{overflow:auto}.bg-\\[--bq-drawer--backgroundBackdrop\\]{background-color:var(--bq-drawer--backgroundBackdrop)}.font-bold{font-weight:var(--bq-font-weight--bold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&\\:\\:part\\(button\\)\\]\\:rounded-s::part(button){border-radius:var(--bq-radius--s)}.\\[\\&\\:\\:part\\(button\\)\\]\\:border-0::part(button){border-width:0}.\\[\\&\\:\\:part\\(button\\)\\]\\:bs-fit::part(button){block-size:fit-content}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-b-0::part(button){padding-block:0}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-i-0::part(button){padding-inline:0}.\\[\\&\\:\\:part\\(label\\)\\]\\:inline-flex::part(label){display:inline-flex}.text-\\[color\\:--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.gap-0{gap:0}.inline{display:inline}.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}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}";
|
|
6159
6661
|
var BqDrawerStyle0 = bqDrawerCss;
|
|
6160
6662
|
|
|
6161
6663
|
/**
|
|
@@ -6308,6 +6810,9 @@ class BqDrawer {
|
|
|
6308
6810
|
// !TO BE REMOVED: Delete this once the deprecated `placement` property is removed
|
|
6309
6811
|
this.handlePlacementChange();
|
|
6310
6812
|
}
|
|
6813
|
+
componentDidLoad() {
|
|
6814
|
+
this.handleFooterSlotChange();
|
|
6815
|
+
}
|
|
6311
6816
|
// Listeners
|
|
6312
6817
|
// ==============
|
|
6313
6818
|
async handleMouseClick(event) {
|
|
@@ -6390,20 +6895,20 @@ class BqDrawer {
|
|
|
6390
6895
|
// Always the last one in the class.
|
|
6391
6896
|
// ===================================
|
|
6392
6897
|
render() {
|
|
6393
|
-
return (hAsync(Host, { key: '
|
|
6898
|
+
return (hAsync(Host, { key: '83f55f61d6f3dff26d4b9f8f987734839de4135e' }, this.enableBackdrop && (hAsync("div", { key: '89a05f0693053eda89e5d11c420113d33fb95cc8', class: {
|
|
6394
6899
|
'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300': true,
|
|
6395
6900
|
'pointer-events-none': !this.open,
|
|
6396
6901
|
'opacity-60': this.open,
|
|
6397
|
-
}, tabIndex: -1, part: "backdrop" })), hAsync("div", { key: '
|
|
6902
|
+
}, tabIndex: -1, part: "backdrop" })), hAsync("div", { key: '200019ad3a62c5bd13566773a5313cfb537b9e82', class: {
|
|
6398
6903
|
[`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,
|
|
6399
6904
|
'-start-[--bq-drawer--width]': this.isPositionStart,
|
|
6400
6905
|
'-end-[--bq-drawer--width]': this.isPositionEnd,
|
|
6401
6906
|
'start-0': this.open && this.isPositionStart,
|
|
6402
6907
|
'end-0': this.open && this.isPositionEnd,
|
|
6403
|
-
}, ref: (div) => (this.drawerElem = div), "aria-hidden": !this.open ? 'true' : 'false', "aria-labelledby": "bq-drawer__title", "aria-modal": "true", hidden: !this.open, part: "panel", role: "dialog" }, hAsync("header", { key: '
|
|
6908
|
+
}, ref: (div) => (this.drawerElem = div), "aria-hidden": !this.open ? 'true' : 'false', "aria-labelledby": "bq-drawer__title", "aria-modal": "true", hidden: !this.open, part: "panel", role: "dialog" }, hAsync("header", { key: '96652eb3fa91d9a2caf5604c0aa1eeaa17cc81b8', class: "flex items-center", part: "header" }, hAsync("h2", { key: 'eec5cb333c9c58b2c4609e512109bef8eb605bab', class: "flex-1 items-center justify-between font-bold leading-regular text-primary", id: "bq-drawer__title", part: "title" }, hAsync("slot", { key: 'cd3aefa705728a68f9a3ac0ce58277db770cd78d', name: "title" })), hAsync("div", { key: 'cc790b9b739a73fae4cbefb378292149f3a79ecf', class: "flex", part: "button-close" }, hAsync("bq-button", { key: 'ccbc79f015a5bc9ffd3aa39a4cabbf1277004631', class: "[&::part(button)]:rounded-s [&::part(button)]:border-0 [&::part(button)]:bs-fit [&::part(button)]:p-b-0 [&::part(button)]:p-i-0 [&::part(label)]:inline-flex", appearance: "text", size: "small", slot: "button-close", exportparts: "button:button-close__btn,label:button-close__label", onClick: this.hide.bind(this) }, hAsync("slot", { key: '3d90fc7cdd1f8b91193ef5bd1021b2c6985c6779', name: "button-close" }, hAsync("bq-icon", { key: '4c0ece9db83f3c2195978e32210470415cca3e5b', name: "x-bold", role: "img", title: "Close" }))))), hAsync("main", { key: '090963d8e845305fa269fdd81c9c102182c32ba6', class: "block flex-auto overflow-auto", part: "body" }, hAsync("slot", { key: 'bc60fa850c87710ca6e6b2a14adcf2039f7362d2' })), hAsync("footer", { key: '9c7ed47e5c88b4e3307766974d062c9ed8813b56', class: {
|
|
6404
6909
|
block: true,
|
|
6405
6910
|
'!hidden': !this.hasFooter,
|
|
6406
|
-
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '
|
|
6911
|
+
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: 'f9daf2a58ff77d1b71210a5157fad68578c7d8ae', name: "footer-divider" }, hAsync("bq-divider", { key: '8869f1229d7f979d80089d1556b3739a96d3f55d', class: "mb-m block", dashed: true })), hAsync("slot", { key: '4253a7b31cdeceafbf3cc60d9459271a5831cc7d', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
|
|
6407
6912
|
}
|
|
6408
6913
|
static get watchers() { return {
|
|
6409
6914
|
"open": ["handleOpenChange"],
|
|
@@ -6698,6 +7203,9 @@ class BqEmptyState {
|
|
|
6698
7203
|
componentWillLoad() {
|
|
6699
7204
|
this.checkPropValues();
|
|
6700
7205
|
}
|
|
7206
|
+
componentDidLoad() {
|
|
7207
|
+
this.handleSlotChange();
|
|
7208
|
+
}
|
|
6701
7209
|
// Listeners
|
|
6702
7210
|
// ==============
|
|
6703
7211
|
// Public methods API
|
|
@@ -6710,10 +7218,8 @@ class BqEmptyState {
|
|
|
6710
7218
|
// Internal business logic.
|
|
6711
7219
|
// These methods cannot be called from the host element.
|
|
6712
7220
|
// =======================================================
|
|
6713
|
-
|
|
7221
|
+
handleSlotChange = () => {
|
|
6714
7222
|
this.hasBody = hasSlotContent(this.bodyElem, 'body');
|
|
6715
|
-
};
|
|
6716
|
-
handleFooterSlotChange = () => {
|
|
6717
7223
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
6718
7224
|
};
|
|
6719
7225
|
get iconSize() {
|
|
@@ -6723,11 +7229,11 @@ class BqEmptyState {
|
|
|
6723
7229
|
// Always the last one in the class.
|
|
6724
7230
|
// ===================================
|
|
6725
7231
|
render() {
|
|
6726
|
-
return (hAsync("div", { key: '
|
|
7232
|
+
return (hAsync("div", { key: '8079680edf3b14a5b0473a13498dc045d25c492d', class: "inline-flex flex-col items-center", part: "wrapper" }, hAsync("div", { key: '457990eadb0f908e56ae1e2eeaca85966d2a66d3', class: {
|
|
6727
7233
|
'm-be-m': this.size === 'small',
|
|
6728
7234
|
'm-be-xl': this.size === 'medium',
|
|
6729
7235
|
'm-be-xxl': this.size === 'large',
|
|
6730
|
-
}, part: "thumbnail" }, hAsync("slot", { key: '
|
|
7236
|
+
}, part: "thumbnail" }, hAsync("slot", { key: '64563d3d5a40fdb24cc4d468a9ad63f777468fb9', name: "thumbnail" }, hAsync("bq-icon", { key: 'f9aa9c6a33dc6922aae4e18349c64ebb371b6fb2', size: this.iconSize, name: "database", part: "icon", exportparts: "base,svg" }))), hAsync("div", { key: '3b73f8bf763d8f7afa54e41a759843b71159f022', class: {
|
|
6731
7237
|
'font-bold leading-regular text-primary': true,
|
|
6732
7238
|
'text-m': this.size === 'small',
|
|
6733
7239
|
'text-l': this.size === 'medium',
|
|
@@ -6735,7 +7241,7 @@ class BqEmptyState {
|
|
|
6735
7241
|
'm-be-xs': this.size === 'small' && this.hasBody,
|
|
6736
7242
|
'm-be-m': this.size === 'medium' && this.hasBody,
|
|
6737
7243
|
'm-be-l': this.size === 'large' && this.hasBody,
|
|
6738
|
-
}, part: "title" }, hAsync("slot", { key: '
|
|
7244
|
+
}, part: "title" }, hAsync("slot", { key: '1abd1a911fbcb6cc8d239ce94529a5081546a37f' })), hAsync("div", { key: '920c6e7ff233b5cddd32c844987e3d8aa37d0bec', class: {
|
|
6739
7245
|
'font-normal leading-regular': true,
|
|
6740
7246
|
'text-s': this.size === 'small',
|
|
6741
7247
|
'text-m': this.size === 'medium',
|
|
@@ -6743,7 +7249,7 @@ class BqEmptyState {
|
|
|
6743
7249
|
'm-be-m': this.size === 'small' && this.hasFooter,
|
|
6744
7250
|
'm-be-l': this.size === 'medium' && this.hasFooter,
|
|
6745
7251
|
'm-be-xl': this.size === 'large' && this.hasFooter,
|
|
6746
|
-
}, ref: (div) => (this.bodyElem = div), part: "body" }, hAsync("slot", { key: '
|
|
7252
|
+
}, ref: (div) => (this.bodyElem = div), part: "body" }, hAsync("slot", { key: 'f7894e5c291a05262dbade42dafccc223a6ac0e6', name: "body", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '0603bdaa963924bf8ef99640fcd695c5a03ff533', class: "flex items-start gap-xs", ref: (div) => (this.footerElem = div), part: "footer" }, hAsync("slot", { key: '26faa3a234103e25234ae8d28e07dd4747566e30', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
6747
7253
|
}
|
|
6748
7254
|
static get watchers() { return {
|
|
6749
7255
|
"size": ["checkPropValues"]
|
|
@@ -7282,6 +7788,9 @@ class BqInput {
|
|
|
7282
7788
|
componentWillLoad() {
|
|
7283
7789
|
this.handleValueChange();
|
|
7284
7790
|
}
|
|
7791
|
+
componentDidLoad() {
|
|
7792
|
+
this.handleSlotChange();
|
|
7793
|
+
}
|
|
7285
7794
|
formAssociatedCallback() {
|
|
7286
7795
|
this.setFormValue(this.value?.toString());
|
|
7287
7796
|
this.updateFormValidity();
|
|
@@ -7375,35 +7884,29 @@ class BqInput {
|
|
|
7375
7884
|
internals?.states.add('valid');
|
|
7376
7885
|
internals?.setValidity({});
|
|
7377
7886
|
};
|
|
7378
|
-
|
|
7887
|
+
handleSlotChange = () => {
|
|
7379
7888
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
7380
|
-
};
|
|
7381
|
-
handlePrefixSlotChange = () => {
|
|
7382
7889
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
7383
|
-
};
|
|
7384
|
-
handleSuffixSlotChange = () => {
|
|
7385
7890
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
7386
|
-
};
|
|
7387
|
-
handleHelperTextSlotChange = () => {
|
|
7388
7891
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
7389
7892
|
};
|
|
7390
7893
|
// render() function
|
|
7391
7894
|
// Always the last one in the class.
|
|
7392
7895
|
// ===================================
|
|
7393
7896
|
render() {
|
|
7394
|
-
return (hAsync("div", { key: '
|
|
7897
|
+
return (hAsync("div", { key: '06d75e4f4b97a56a82bb65e12964a3145f9125f8', class: "bq-input", part: "base" }, hAsync("label", { key: '94da163f41a793ca32bed52d2beea1bc77b0fad3', class: { 'bq-input--label': true, '!hidden': !this.hasLabel }, "aria-label": this.name || this.fallbackInputId, htmlFor: this.name || this.fallbackInputId, ref: (labelElem) => (this.labelElem = labelElem), part: "label" }, hAsync("slot", { key: '718baa52ff256316635cae1152530ef543fb18f2', name: "label", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '7804a6c214b7c97f451c5922c96b0e760d674e45', class: {
|
|
7395
7898
|
'bq-input--control': true,
|
|
7396
7899
|
[`validation-${this.validationStatus}`]: true,
|
|
7397
7900
|
disabled: this.disabled,
|
|
7398
|
-
}, part: "control" }, hAsync("span", { key: '
|
|
7901
|
+
}, part: "control" }, hAsync("span", { key: '91153e73b8eac7c242f7e69e26e4ad7058e156ea', class: { 'bq-input--control__prefix': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, hAsync("slot", { key: '102a395e2f99045f4ebbc0545e5032bf4741942f', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("input", { key: '5948e42eae296b60801ed0e34c52a2a2e95228b7', id: this.name || this.fallbackInputId, class: "bq-input--control__input", "aria-disabled": this.disabled ? 'true' : 'false', autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, disabled: this.disabled, form: this.form, inputMode: this.inputmode, max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, ref: (inputElem) => (this.inputElem = inputElem), readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, part: "input",
|
|
7399
7902
|
// Events
|
|
7400
7903
|
onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput }), this.hasValue && !this.disabled && !this.disableClear && (
|
|
7401
7904
|
// The clear button will be visible as long as the input has a value
|
|
7402
7905
|
// and the parent group is hovered or has focus-within
|
|
7403
|
-
hAsync("bq-button", { key: '
|
|
7906
|
+
hAsync("bq-button", { key: '2ab84b5d5dd1f310200b57ecc9cc5b2abb45c23b', class: "bq-input--control__clear ms-[--bq-input--gap] hidden", appearance: "text", "aria-label": this.clearButtonLabel, size: "small", onBqClick: this.handleClearClick, part: "clear-btn", exportparts: "button" }, hAsync("slot", { key: '405769418413ba2dea6552ddb5873c1c5ebd96da', name: "clear-icon" }, hAsync("bq-icon", { key: 'bf68ccc644aaade33a77989f7af40e13df74d0b0', name: "x-circle", class: "flex" })))), hAsync("span", { key: '71c317f38f180750bdb31751dfe85c948828e16e', class: { 'bq-input--control__suffix': true, '!hidden': !this.hasSuffix }, ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, hAsync("slot", { key: '114ed51ceed5e9051010777895de8571c184505c', name: "suffix", onSlotchange: this.handleSlotChange }))), hAsync("div", { key: '589c32953462110944489d0b1203563b4c8dc4b6', class: {
|
|
7404
7907
|
[`bq-input--helper-text validation-${this.validationStatus}`]: true,
|
|
7405
7908
|
'!hidden': !this.hasHelperText,
|
|
7406
|
-
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: '
|
|
7909
|
+
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: 'fa39cc056750e8e58a428b9cd4812819d73ff8d1', name: "helper-text", onSlotchange: this.handleSlotChange }))));
|
|
7407
7910
|
}
|
|
7408
7911
|
static get delegatesFocus() { return true; }
|
|
7409
7912
|
static get formAssociated() { return true; }
|
|
@@ -7615,6 +8118,9 @@ class BqNotification {
|
|
|
7615
8118
|
this.checkPropValues();
|
|
7616
8119
|
this.handleTimeout();
|
|
7617
8120
|
}
|
|
8121
|
+
componentDidLoad() {
|
|
8122
|
+
this.handleSlotChange();
|
|
8123
|
+
}
|
|
7618
8124
|
// Listeners
|
|
7619
8125
|
// ==============
|
|
7620
8126
|
afterNotificationClose() {
|
|
@@ -7690,10 +8196,8 @@ class BqNotification {
|
|
|
7690
8196
|
}
|
|
7691
8197
|
this.bqAfterClose.emit();
|
|
7692
8198
|
};
|
|
7693
|
-
|
|
8199
|
+
handleSlotChange = () => {
|
|
7694
8200
|
this.hasContent = hasSlotContent(this.bodyElem);
|
|
7695
|
-
};
|
|
7696
|
-
handleFooterSlotChange = () => {
|
|
7697
8201
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
7698
8202
|
};
|
|
7699
8203
|
get iconName() {
|
|
@@ -7711,11 +8215,11 @@ class BqNotification {
|
|
|
7711
8215
|
const style = {
|
|
7712
8216
|
...(this.border && { '--bq-notification--border-radius': `var(--bq-radius--${this.border})` }),
|
|
7713
8217
|
};
|
|
7714
|
-
return (hAsync(Host, { key: '
|
|
8218
|
+
return (hAsync(Host, { key: '1f8560524774c7b1f4c3ff3cf002d3f041068043', style: style, class: { 'is-hidden': !this.open }, "aria-hidden": !this.open ? 'true' : 'false', hidden: !this.open ? 'true' : 'false', role: "alert" }, hAsync("div", { key: 'dd80b267f778f781434d59ca8483e93d18c74d82', class: "bq-notification", "data-transition-enter": "transform transition ease-out duration-300", "data-transition-enter-start": "translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", "data-transition-enter-end": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave": "transform transition ease-in duration-100", "data-transition-leave-start": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave-end": "-translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", ref: (div) => (this.notificationElem = div), part: "wrapper" }, !this.disableClose && (hAsync("bq-button", { key: '0afa5d4db7f4fef15195cf45c34b7e6887ab3b41', class: "notification--close absolute inset-ie-5 [&::part(label)]:inline-flex", appearance: "text", size: "small", onClick: () => this.hide(), part: "btn-close" }, hAsync("slot", { key: 'd8d8731f75b42b662a51fe725297afdfd7df8ca0', name: "btn-close" }, hAsync("bq-icon", { key: '93c11d8edaea4ac0e842f982209905f3e73adb60', name: "x" })))), hAsync("div", { key: '35f5ab94ccefdae7a5072b4ba5c1f94ad8baf465', class: {
|
|
7715
8219
|
'!hidden': this.hideIcon,
|
|
7716
8220
|
[`color-${this.type}`]: true, // The icon color will be based on the type (info, success, warning, error)
|
|
7717
8221
|
'notification--icon me-xs flex text-left align-top': true,
|
|
7718
|
-
}, part: "icon-outline" }, hAsync("slot", { key: '
|
|
8222
|
+
}, part: "icon-outline" }, hAsync("slot", { key: '6088b9a4daa401a9d11ee931e0de11e20a19d42a', name: "icon" }, hAsync("bq-icon", { key: '4b6b8707b2adf52e9dc2fac69b84764d71133aac', name: this.iconName, part: "icon", exportparts: "base,svg" }))), hAsync("div", { key: 'cd57d881aab69a0e15312f0ccab002bc5e992882', class: "flex flex-col items-start gap-[--bq-notification--content-footer-gap]", part: "main" }, hAsync("div", { key: 'ec9d1a1005b1205ea4bf9d258a31dea47d047f70', class: "flex flex-col gap-[--bq-notification--title-body-gap]", part: "content" }, hAsync("div", { key: 'df9b09af2f9f5fc790529f3d417cd9f8d3938bee', class: "title-font font-semibold leading-regular", part: "title" }, hAsync("slot", { key: '11c3a061cda410e1009f0382cfeaa89309e803cc' })), hAsync("div", { key: '2b4143c61f85324f583a3bbe782cd66bd7099dfa', class: { 'text-s leading-regular': true, '!hidden': !this.hasContent }, ref: (div) => (this.bodyElem = div), part: "body" }, hAsync("slot", { key: 'f62a344f6364ad914b8c90373f1fceb33a279cd1', name: "body", onSlotchange: this.handleSlotChange }))), hAsync("div", { key: 'ce802eab827e72247a95755f35b8e990797ac1a8', class: { 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }, ref: (div) => (this.footerElem = div), part: "footer" }, hAsync("slot", { key: '78de405fe36b779616e2cf7591b166a0705f4964', name: "footer", onSlotchange: this.handleSlotChange }))))));
|
|
7719
8223
|
}
|
|
7720
8224
|
static get watchers() { return {
|
|
7721
8225
|
"autoDismiss": ["handleTimeout"],
|
|
@@ -7841,6 +8345,9 @@ class BqOption {
|
|
|
7841
8345
|
// Component lifecycle events
|
|
7842
8346
|
// Ordered by their natural call order
|
|
7843
8347
|
// =====================================
|
|
8348
|
+
componentDidLoad() {
|
|
8349
|
+
this.handleSlotChange();
|
|
8350
|
+
}
|
|
7844
8351
|
// Listeners
|
|
7845
8352
|
// ==============
|
|
7846
8353
|
onKeyDown(event) {
|
|
@@ -7882,10 +8389,8 @@ class BqOption {
|
|
|
7882
8389
|
}
|
|
7883
8390
|
this.bqClick.emit(this.el);
|
|
7884
8391
|
};
|
|
7885
|
-
|
|
8392
|
+
handleSlotChange = () => {
|
|
7886
8393
|
this.hasPrefix = hasSlotContent(this.prefixElem, 'prefix');
|
|
7887
|
-
};
|
|
7888
|
-
handleSuffixSlotChange = () => {
|
|
7889
8394
|
this.hasSuffix = hasSlotContent(this.suffixElem, 'suffix');
|
|
7890
8395
|
};
|
|
7891
8396
|
get isDisabledOrHidden() {
|
|
@@ -7895,17 +8400,17 @@ class BqOption {
|
|
|
7895
8400
|
// Always the last one in the class.
|
|
7896
8401
|
// ===================================
|
|
7897
8402
|
render() {
|
|
7898
|
-
return (hAsync(Host, { key: '
|
|
8403
|
+
return (hAsync(Host, { key: '1be886ea81c2b09fc6731e921995a46725aa3e8e', "aria-disabled": this.isDisabledOrHidden ? 'true' : 'false', "aria-hidden": this.hidden ? 'true' : 'false', "aria-selected": this.selected ? 'true' : 'false', role: "option" }, hAsync("div", { key: '258189fbd1bbf931a6555539d28d210a64a12d7f', class: {
|
|
7899
8404
|
'bq-option': true,
|
|
7900
8405
|
disabled: this.disabled,
|
|
7901
8406
|
active: !this.disabled && this.selected,
|
|
7902
|
-
}, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.onClick, tabindex: this.isDisabledOrHidden ? '-1' : '0', role: "button", part: "base" }, hAsync("span", { key: '
|
|
8407
|
+
}, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.onClick, tabindex: this.isDisabledOrHidden ? '-1' : '0', role: "button", part: "base" }, hAsync("span", { key: '8910e42ffb4125d63d7086ffb5d035e43c3cd35a', class: {
|
|
7903
8408
|
'bq-option__prefix me-[--bq-option--gap-start] flex items-center': true,
|
|
7904
8409
|
'!hidden': !this.hasPrefix,
|
|
7905
|
-
}, ref: (elem) => (this.prefixElem = elem), part: "prefix" }, hAsync("slot", { key: '
|
|
8410
|
+
}, ref: (elem) => (this.prefixElem = elem), part: "prefix" }, hAsync("slot", { key: 'b5cdce62eb2299b741b9c575b97c0c702ef2ad5e', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("span", { key: '6e204cf745ed9c2585167483ba1293f628ef1e5a', class: "bq-option__label", part: "label" }, hAsync("slot", { key: '7c9fc96ce28239d0d1fc6fd68089083725e0f621' })), hAsync("span", { key: 'ef52e125bff41a4226ac2d302cd85a8093ff4b83', class: {
|
|
7906
8411
|
'bq-option__suffix ml-auto ms-[--bq-option--gap-end] flex items-center': true,
|
|
7907
8412
|
'!hidden': !this.hasSuffix,
|
|
7908
|
-
}, ref: (elem) => (this.suffixElem = elem), part: "suffix" }, hAsync("slot", { key: '
|
|
8413
|
+
}, ref: (elem) => (this.suffixElem = elem), part: "suffix" }, hAsync("slot", { key: '45042b8677df77b8216e9d68e56094bd1fb1aa55', name: "suffix", onSlotchange: this.handleSlotChange })))));
|
|
7909
8414
|
}
|
|
7910
8415
|
static get style() { return BqOptionStyle0; }
|
|
7911
8416
|
static get cmpMeta() { return {
|
|
@@ -8178,6 +8683,9 @@ class BqPageTitle {
|
|
|
8178
8683
|
// Component lifecycle events
|
|
8179
8684
|
// Ordered by their natural call order
|
|
8180
8685
|
// =====================================
|
|
8686
|
+
componentDidLoad() {
|
|
8687
|
+
this.handleSlotChange();
|
|
8688
|
+
}
|
|
8181
8689
|
// Listeners
|
|
8182
8690
|
// ==============
|
|
8183
8691
|
// Public methods API
|
|
@@ -8199,10 +8707,10 @@ class BqPageTitle {
|
|
|
8199
8707
|
// Always the last one in the class.
|
|
8200
8708
|
// ===================================
|
|
8201
8709
|
render() {
|
|
8202
|
-
return (hAsync("div", { key: '
|
|
8710
|
+
return (hAsync("div", { key: '234aa6eeb328738441f3545b61257ec3a14c51cf', class: "flex gap-xs p-b-[--paddingY] [border-block-end:--subtitle-borderBlockEnd]", part: "base" }, hAsync("div", { key: '867d26e55922753a1ff3d9b9f15167299621d49b', class: { flex: true, '!hidden': !this.haveBackNavigation }, ref: (divElem) => (this.backNavigationElem = divElem), part: "back" }, hAsync("slot", { key: '61eb7494f390391b228a899227bf0680f448ba40', name: "back", onSlotchange: this.handleSlotChange })), hAsync("div", { key: 'b57edbfbdbea5f00109e24f44ba6a6a2a0b8f3d8', class: "flex flex-grow flex-col gap-xs", part: "content" }, hAsync("div", { key: 'c28bc08aa42afce9dea80be4766b41f8d52462db', class: "flex items-center gap-xs", part: "title-suffix" }, hAsync("h1", { key: 'a0e1bd317189dc33a6deb4fd7d76c2aec3c6fa51', class: "title-font text-[length:--title-textSize] font-[--title-fontWeight] leading-[--title-lineHeight] text-[color:--title-textColor]", part: "title" }, hAsync("slot", { key: '24ff8fc569dc979b33e8bc8e02574f78e66fb450' })), hAsync("div", { key: '3c0538de7c6829880a5110568cbb16ccc1645dd4', class: { 'flex flex-grow gap-xs p-b-xs2 p-i-xs2': true, '!hidden': !this.hasSuffix }, ref: (divElem) => (this.suffixElem = divElem), part: "suffix" }, hAsync("slot", { key: '78dca26a8830e20704d7076344e7633792987aa3', name: "suffix", onSlotchange: this.handleSlotChange }))), hAsync("div", { key: '85ebbeb207db40c0a276ab6b0640151189287fdb', class: {
|
|
8203
8711
|
'title-font text-[length:--subtitle-textSize] font-[--subtitle-fontWeight] leading-[--title-lineHeight] text-[color:--subtitle-textColor]': true,
|
|
8204
8712
|
hidden: !this.hasSubTitle,
|
|
8205
|
-
}, ref: (divElem) => (this.subTitleElem = divElem), part: "sub-title" }, hAsync("slot", { key: '
|
|
8713
|
+
}, ref: (divElem) => (this.subTitleElem = divElem), part: "sub-title" }, hAsync("slot", { key: '7e4aa79164d537dba69db069cd760897a92bdf95', name: "sub-title", onSlotchange: this.handleSlotChange })))));
|
|
8206
8714
|
}
|
|
8207
8715
|
static get style() { return BqPageTitleStyle0; }
|
|
8208
8716
|
static get cmpMeta() { return {
|
|
@@ -11142,7 +11650,7 @@ class BqRadioGroup {
|
|
|
11142
11650
|
}; }
|
|
11143
11651
|
}
|
|
11144
11652
|
|
|
11145
|
-
const bqSelectCss = ".transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.m-0{margin:0}.me-\\[--bq-select--gap\\]{margin-inline-end:var(--bq-select--gap)}.me-xs2{margin-inline-end:var(--bq-spacing-xs2)}.ms-\\[--bq-select--gap\\]{margin-inline-start:var(--bq-select--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.cursor-inherit{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.gap-xs2{gap:var(--bq-spacing-xs2)}.text-nowrap{text-wrap:nowrap}.rounded-\\[--bq-select--border-radius\\]{border-radius:var(--bq-select--border-radius)}.rounded-xs{border-radius:var(--bq-radius--xs)}.border-\\[length\\:--bq-select--border-width\\]{border-width:var(--bq-select--border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-select--border-color-focus\\]{border-color:var(--bq-select--border-color-focus)}.border-\\[color\\:--bq-select--border-color\\]{border-color:var(--bq-select--border-color)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-inherit{background-color:inherit}.p-0{padding:0}.pe-\\[--bq-select--padding-end\\]{padding-inline-end:var(--bq-select--padding-end)}.ps-\\[--bq-select--padding-start\\]{padding-inline-start:var(--bq-select--padding-start)}.font-inherit{font-family:inherit}.text-\\[length\\:--bq-select--helper-text-size\\]{font-size:var(--bq-select--helper-text-size)}.text-\\[length\\:--bq-select--label-text-size\\]{font-size:var(--bq-select--label-text-size)}.text-\\[length\\:--bq-select--text-size\\]{font-size:var(--bq-select--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.leading-small{line-height:var(--bq-font-line-height--small)}.text-\\[color\\:--bq-select--helper-text-color\\]{color:var(--bq-select--helper-text-color)}.text-\\[color\\:--bq-select--label-text-color\\]{color:var(--bq-select--label-text-color)}.text-\\[color\\:--bq-select--text-color\\],.text-\\[color\\:var\\(--bq-select--text-color\\)\\]{color:var(--bq-select--text-color)}.text-danger{color:var(--bq-text--danger)}.text-success{color:var(--bq-text--success)}.text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bs-auto{block-size:auto}.min-bs-\\[var\\(--bq-select--icon-size\\)\\]{min-block-size:var(--bq-select--icon-size)}.min-is-0{min-inline-size:0}.p-b-\\[var\\(--bq-select--paddingY\\)\\]{padding-block:var(--bq-select--paddingY)}.m-be-\\[--bq-select--label-margin-bottom\\]{margin-block-end:var(--bq-select--label-margin-bottom)}.m-bs-\\[--bq-select--helper-margin-top\\]{margin-block-start:var(--bq-select--helper-margin-top)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-select--background-color:var(--bq-ui--primary);--bq-select--border-color:var(--bq-stroke--tertiary);--bq-select--border-color-focus:var(--bq-stroke--brand);--bq-select--border-radius:var(--bq-radius--s);--bq-select--border-width:var(--bq-stroke-s);--bq-select--border-style:solid;--bq-select--gap:var(--bq-spacing-xs);--bq-select--helper-margin-top:var(--bq-spacing-xs);--bq-select--helper-text-size:var(--bq-font-size--s);--bq-select--helper-text-color:var(--bq-text--primary);--bq-select--icon-size:24px;--bq-select--label-margin-bottom:var(--bq-spacing-xs);--bq-select--label-text-size:var(--bq-font-size--s);--bq-select--label-text-color:var(--bq-text--primary);--bq-select--padding-start:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--padding-end:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--paddingY:calc(var(--bq-spacing-s) - var(--bq-select--border-width));--bq-select--text-color:var(--bq-text--primary);--bq-select--text-size:var(--bq-font-size--m);--bq-select--text-placeholder-color:var(--bq-text--secondary);display:block;width:100%}.bq-select__label{align-items:center;color:var(--bq-select--label-text-color);display:flex;font-size:var(--bq-select--label-text-size);margin-block-end:var(--bq-select--label-margin-bottom)}.bq-select__helper-text{color:var(--bq-select--helper-text-color);font-size:var(--bq-select--helper-text-size);margin-block-start:var(--bq-select--helper-margin-top)}.bq-select__helper-text.validation-error{color:var(--bq-text--danger)}.bq-select__helper-text.validation-success{color:var(--bq-text--success)}.bq-select__helper-text.validation-warning{color:var(--bq-text--warning)}.bq-select__dropdown:has(:focus-within,:focus-visible) .bq-select__control{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-select--border-color-focus);border-color:var(--bq-select--border-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-select__control{align-items:center;border-color:var(--bq-select--border-color);border-radius:var(--bq-select--border-radius);border-style:var(--bq-select--border-style);border-width:var(--bq-select--border-width);color:var(--bq-select--text-color);display:flex;font-size:var(--bq-select--text-size);inline-size:100%;padding-block:var(--bq-select--paddingY);padding-inline-end:var(--bq-select--padding-end);padding-inline-start:var(--bq-select--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-select__control::placeholder{color:var(--bq-select--text-placeholder-color)}.bq-select__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-select__control:not(.disabled):focus-within .bq-select__control--clear,.bq-select__control:not(.disabled):hover .bq-select__control--clear{display:inline-block}.bq-select__control.disabled{cursor:not-allowed;opacity:.6}.bq-select__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-select__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-select__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-select__control.validation-success{border-color:var(--bq-stroke--success)}.bq-select__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-select__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-select__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-select__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-select__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-select__control--input{appearance:none;background-color:inherit;border-style:none;-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0;min-block-size:var(--bq-select--icon-size);min-inline-size:0;padding:0;user-select:none}.bq-select__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-select__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-select__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial;block-size:auto;border-radius:var(--bq-radius--xs);border-style:none;padding:0}.bq-select__control--prefix,.bq-select__control--suffix{align-items:center;color:var(--bq-select--text-color);display:flex;pointer-events:none}.bq-select__control--prefix{margin-inline-end:var(--bq-select--gap)}.bq-select__control--suffix{margin-inline-start:var(--bq-select--gap);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-select__tags{display:flex;flex:1 1 0%;gap:var(--bq-spacing-xs2);margin-inline-end:var(--bq-spacing-xs2)}.bq-select__tags ::slotted(bq-tag),.bq-select__tags bq-tag{display:inline-flex}.bq-select__tags bq-tag::part(text){text-wrap:nowrap;line-height:var(--bq-font-line-height--small)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-select--icon-size)!important}.placeholder\\:text-\\[color\\:--bq-select--text-placeholder-color\\]::placeholder{color:var(--bq-select--text-placeholder-color)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.rotate-0,.rotate-180{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.\\!hidden{display:none!important}.hidden{display:none}.flex-grow{flex-grow:1}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.overflow-x-auto{overflow-x:auto}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.relative{position:relative}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}.inline{display:inline}.text-\\[color\\:--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}";
|
|
11653
|
+
const bqSelectCss = ".transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{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);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;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}}: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.light,.light,:root,[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-200);--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}.beeq.dark,.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-800);--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}.endava,[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,[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-200);--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-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.m-0{margin:0}.me-\\[--bq-select--gap\\]{margin-inline-end:var(--bq-select--gap)}.me-xs2{margin-inline-end:var(--bq-spacing-xs2)}.ms-\\[--bq-select--gap\\]{margin-inline-start:var(--bq-select--gap)}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.cursor-inherit{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.appearance-none{appearance:none}.items-center{align-items:center}.gap-xs2{gap:var(--bq-spacing-xs2)}.text-nowrap{text-wrap:nowrap}.rounded-\\[--bq-select--border-radius\\]{border-radius:var(--bq-select--border-radius)}.rounded-xs{border-radius:var(--bq-radius--xs)}.border-\\[length\\:--bq-select--border-width\\]{border-width:var(--bq-select--border-width)}.border-none{border-style:none}.border-\\[color\\:--bq-select--border-color-focus\\]{border-color:var(--bq-select--border-color-focus)}.border-\\[color\\:--bq-select--border-color\\]{border-color:var(--bq-select--border-color)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-inherit{background-color:inherit}.p-0{padding:0}.pe-\\[--bq-select--padding-end\\]{padding-inline-end:var(--bq-select--padding-end)}.ps-\\[--bq-select--padding-start\\]{padding-inline-start:var(--bq-select--padding-start)}.font-inherit{font-family:inherit}.text-\\[length\\:--bq-select--helper-text-size\\]{font-size:var(--bq-select--helper-text-size)}.text-\\[length\\:--bq-select--label-text-size\\]{font-size:var(--bq-select--label-text-size)}.text-\\[length\\:--bq-select--text-size\\]{font-size:var(--bq-select--text-size)}.text-\\[length\\:inherit\\]{font-size:inherit}.leading-small{line-height:var(--bq-font-line-height--small)}.text-\\[color\\:--bq-select--helper-text-color\\]{color:var(--bq-select--helper-text-color)}.text-\\[color\\:--bq-select--label-text-color\\]{color:var(--bq-select--label-text-color)}.text-\\[color\\:--bq-select--text-color\\],.text-\\[color\\:var\\(--bq-select--text-color\\)\\]{color:var(--bq-select--text-color)}.text-danger{color:var(--bq-text--danger)}.text-success{color:var(--bq-text--success)}.text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-\\[border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bs-auto{block-size:auto}.min-bs-\\[var\\(--bq-select--icon-size\\)\\]{min-block-size:var(--bq-select--icon-size)}.min-is-0{min-inline-size:0}.p-b-\\[var\\(--bq-select--paddingY\\)\\]{padding-block:var(--bq-select--paddingY)}.m-be-\\[--bq-select--label-margin-bottom\\]{margin-block-end:var(--bq-select--label-margin-bottom)}.m-bs-\\[--bq-select--helper-margin-top\\]{margin-block-start:var(--bq-select--helper-margin-top)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-select--background-color:var(--bq-ui--primary);--bq-select--border-color:var(--bq-stroke--tertiary);--bq-select--border-color-focus:var(--bq-stroke--brand);--bq-select--border-radius:var(--bq-radius--s);--bq-select--border-width:var(--bq-stroke-s);--bq-select--border-style:solid;--bq-select--gap:var(--bq-spacing-xs);--bq-select--helper-margin-top:var(--bq-spacing-xs);--bq-select--helper-text-size:var(--bq-font-size--s);--bq-select--helper-text-color:var(--bq-text--primary);--bq-select--icon-size:24px;--bq-select--label-margin-bottom:var(--bq-spacing-xs);--bq-select--label-text-size:var(--bq-font-size--s);--bq-select--label-text-color:var(--bq-text--primary);--bq-select--padding-start:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--padding-end:calc(var(--bq-spacing-m) - var(--bq-select--border-width));--bq-select--paddingY:calc(var(--bq-spacing-s) - var(--bq-select--border-width));--bq-select--text-color:var(--bq-text--primary);--bq-select--text-size:var(--bq-font-size--m);--bq-select--text-placeholder-color:var(--bq-text--secondary);display:block;width:100%}.bq-select__label{align-items:center;color:var(--bq-select--label-text-color);display:flex;font-size:var(--bq-select--label-text-size);margin-block-end:var(--bq-select--label-margin-bottom)}.bq-select__helper-text{color:var(--bq-select--helper-text-color);font-size:var(--bq-select--helper-text-size);margin-block-start:var(--bq-select--helper-margin-top)}.bq-select__helper-text.validation-error{color:var(--bq-text--danger)}.bq-select__helper-text.validation-success{color:var(--bq-text--success)}.bq-select__helper-text.validation-warning{color:var(--bq-text--warning)}.bq-select__dropdown:has(:focus-within,:focus-visible) .bq-select__control{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-select--border-color-focus);border-color:var(--bq-select--border-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-select__control{align-items:center;border-color:var(--bq-select--border-color);border-radius:var(--bq-select--border-radius);border-style:var(--bq-select--border-style);border-width:var(--bq-select--border-width);color:var(--bq-select--text-color);display:flex;font-size:var(--bq-select--text-size);inline-size:100%;padding-block:var(--bq-select--paddingY);padding-inline-end:var(--bq-select--padding-end);padding-inline-start:var(--bq-select--padding-start);transition-duration:.15s;transition-property:border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.bq-select__control::placeholder{color:var(--bq-select--text-placeholder-color)}.bq-select__control:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-select__control:not(.disabled):focus-within .bq-select__control--clear,.bq-select__control:not(.disabled):hover .bq-select__control--clear{display:inline-block}.bq-select__control.disabled{cursor:not-allowed;opacity:.6}.bq-select__control.validation-error{border-color:var(--bq-stroke--danger)}.bq-select__control.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-select__control.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-select__control.validation-success{border-color:var(--bq-stroke--success)}.bq-select__control.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-select__control.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-select__control.validation-warning{border-color:var(--bq-stroke--warning)}.bq-select__control.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-select__control.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-select__control--input{appearance:none;background-color:inherit;border-style:none;-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:inherit;flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0;min-block-size:var(--bq-select--icon-size);min-inline-size:0;padding:0;user-select:none}.bq-select__control--input:focus{outline:2px solid transparent;outline-offset:2px}.bq-select__control--input:focus-visible{outline:2px solid transparent;outline-offset:2px}.bq-select__control--clear::part(button){--bq-ring-width:initial;--bq-ring-offset-width:initial;--bq-ring-color-focus:initial;block-size:auto;border-radius:var(--bq-radius--xs);border-style:none;padding:0}.bq-select__control--prefix,.bq-select__control--suffix{align-items:center;color:var(--bq-select--text-color);display:flex;pointer-events:none}.bq-select__control--prefix{margin-inline-end:var(--bq-select--gap)}.bq-select__control--suffix{margin-inline-start:var(--bq-select--gap);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-select__tags{display:flex;flex:1 1 0%;gap:var(--bq-spacing-xs2);margin-inline-end:var(--bq-spacing-xs2)}.bq-select__tags ::slotted(bq-tag),.bq-select__tags bq-tag{display:inline-flex}.bq-select__tags bq-tag::part(text){text-wrap:nowrap;line-height:var(--bq-font-line-height--small)}::slotted(bq-icon),bq-icon{--bq-icon--size:var(--bq-select--icon-size)!important}.placeholder\\:text-\\[color\\:--bq-select--text-placeholder-color\\]::placeholder{color:var(--bq-select--text-placeholder-color)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.rotate-0,.rotate-180{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.\\!hidden{display:none!important}.hidden{display:none}.flex-grow{flex-grow:1}.rotate-0{--tw-rotate:0deg}.rotate-180{--tw-rotate:180deg}.overflow-x-auto{overflow-x:auto}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}.inline{display:inline}.text-\\[color\\:--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}.relative{position:relative}";
|
|
11146
11654
|
var BqSelectStyle0 = bqSelectCss;
|
|
11147
11655
|
|
|
11148
11656
|
/**
|
|
@@ -11379,6 +11887,7 @@ class BqSelect {
|
|
|
11379
11887
|
this.initMultipleValue();
|
|
11380
11888
|
}
|
|
11381
11889
|
componentDidLoad() {
|
|
11890
|
+
this.handleSlotChange();
|
|
11382
11891
|
if (this.multiple && Array.isArray(this.value)) {
|
|
11383
11892
|
this.selectedOptions = this.options.filter((item) => this.value.includes(item.value));
|
|
11384
11893
|
}
|
|
@@ -11522,16 +12031,10 @@ class BqSelect {
|
|
|
11522
12031
|
this.handleMultipleSelection(item);
|
|
11523
12032
|
this.bqSelect.emit({ value: this.value, item });
|
|
11524
12033
|
};
|
|
11525
|
-
|
|
12034
|
+
handleSlotChange = () => {
|
|
11526
12035
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
11527
|
-
};
|
|
11528
|
-
handlePrefixSlotChange = () => {
|
|
11529
12036
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
11530
|
-
};
|
|
11531
|
-
handleSuffixSlotChange = () => {
|
|
11532
12037
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
11533
|
-
};
|
|
11534
|
-
handleHelperTextSlotChange = () => {
|
|
11535
12038
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
11536
12039
|
};
|
|
11537
12040
|
resetOptionsVisibility = () => {
|
|
@@ -11628,19 +12131,19 @@ class BqSelect {
|
|
|
11628
12131
|
// ===================================
|
|
11629
12132
|
render() {
|
|
11630
12133
|
const labelId = `bq-select__label-${this.name || this.fallbackInputId}`;
|
|
11631
|
-
return (hAsync("div", { key: '
|
|
12134
|
+
return (hAsync("div", { key: '5e44b83a85f6938cdbf5b5b0cf73b343efceb6a9', class: "bq-select", part: "base" }, hAsync("label", { key: 'ca0b78359e16b66b75b55b8db86dae3ce87d7c09', id: labelId, class: { 'bq-select__label': true, '!hidden': !this.hasLabel }, "aria-label": this.name || this.fallbackInputId, htmlFor: this.name || this.fallbackInputId, ref: (labelElem) => (this.labelElem = labelElem), part: "label" }, hAsync("slot", { key: '483914810c82f7881a4f2d2a3f8a77872e5051b6', name: "label", onSlotchange: this.handleSlotChange })), hAsync("bq-dropdown", { key: '7716752c1d9ab32fc445c100200edcb621686fd8', class: "bq-select__dropdown w-full", disabled: this.disabled, distance: this.distance, keepOpenOnSelect: this.keepOpenOnSelect, open: this.open, panelHeight: this.panelHeight, placement: this.placement, sameWidth: this.sameWidth, skidding: this.skidding, strategy: this.strategy, exportparts: "panel" }, hAsync("div", { key: '01211150f4c2bfd0d5c6df507e43fae84448752f', class: {
|
|
11632
12135
|
'bq-select__control': true,
|
|
11633
12136
|
[`validation-${this.validationStatus}`]: true,
|
|
11634
12137
|
disabled: this.disabled,
|
|
11635
|
-
}, part: "control", slot: "trigger" }, hAsync("span", { key: '
|
|
12138
|
+
}, part: "control", slot: "trigger" }, hAsync("span", { key: '7dafaad97bd6194e8ed1fc86955d999075ee9320', class: { 'bq-select__control--prefix': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, hAsync("slot", { key: '80bf0f97d32b119bd98d95acfb664cd3062f9014', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '5cf5e7ec36f0c7f44d22e3a8a389d64e28e697a0', class: "flex flex-1 overflow-x-auto", part: "input-outline" }, this.multiple && (hAsync("span", { key: 'fe418c58f8f115a8834502c4b6677f9e4c8ca4e5', class: "bq-select__tags", part: "tags" }, hAsync("slot", { key: '7422992668def862a1687fd2f701d975b99d3352', name: "tags" }, this.displayTags))), hAsync("input", { key: '1e28407314a524753705335919cf506bf4702f0b', id: this.name || this.fallbackInputId, class: "bq-select__control--input flex-grow is-full", autoComplete: "off", autoCapitalize: "off", "aria-disabled": this.disabled ? 'true' : 'false', "aria-controls": `bq-options-${this.name}`, "aria-expanded": this.open ? 'true' : 'false', "aria-haspopup": "listbox", disabled: this.disabled, form: this.form, name: this.name, placeholder: this.displayPlaceholder, ref: (inputElem) => (this.inputElem = inputElem), readOnly: this.readonly, required: this.required, role: "combobox", spellcheck: false, type: "text", value: this.displayValue, part: "input",
|
|
11636
12139
|
// Events
|
|
11637
12140
|
onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handleSearchFilter })), this.hasClearIcon && (
|
|
11638
12141
|
// The clear button will be visible as long as the input has a value
|
|
11639
12142
|
// and the parent group is hovered or has focus-within
|
|
11640
|
-
hAsync("bq-button", { key: '
|
|
12143
|
+
hAsync("bq-button", { key: 'ff96b89aeafb2acc542ce11477f27b300a66ca80', class: "bq-select__control--clear ms-[--bq-select--gap]", appearance: "text", "aria-label": this.clearButtonLabel, size: "small", onBqClick: this.handleClearClick, part: "clear-btn", exportparts: "button", tabIndex: -1 }, hAsync("slot", { key: 'a15a6415944cbee2208306c7cddb67e5d6a37d06', name: "clear-icon" }, hAsync("bq-icon", { key: '7f776f8c2a5d226a95c9af30525586d3bdfd0b50', name: "x-circle", class: "flex" })))), hAsync("span", { key: '3535c47119a77de29a2b5ea4dcb3fd174d5da62f', class: { 'bq-select__control--suffix': true, 'rotate-180': this.open, 'rotate-0': !this.open }, ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, hAsync("slot", { key: '3c917b70bd43ffc311703578eeed190ba40579fa', name: "suffix", onSlotchange: this.handleSlotChange }, hAsync("bq-icon", { key: '175b61a120c1475ec87cbd24d615e3512602ec11', name: "caret-down", class: "flex" })))), hAsync("bq-option-list", { key: '492b3f57b45cf28ac4a3bfb6f16da321641e16fd', id: `bq-options-${this.name}`, onBqSelect: this.handleSelect, "aria-expanded": this.open ? 'true' : 'false', exportparts: "base:option-list", role: "listbox" }, hAsync("slot", { key: '3737c1cb94c3dac93882f8f9678fb1aedc9b1be5' }))), hAsync("div", { key: '6108d4384d82c4ee959bfdff969b1ebdb27f3084', class: {
|
|
11641
12144
|
[`bq-select__helper-text validation-${this.validationStatus}`]: true,
|
|
11642
12145
|
'!hidden': !this.hasHelperText,
|
|
11643
|
-
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: '
|
|
12146
|
+
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: 'ff8cda8d9c5e057e36b70d079cf96d32b249179d', name: "helper-text", onSlotchange: this.handleSlotChange }))));
|
|
11644
12147
|
}
|
|
11645
12148
|
static get delegatesFocus() { return true; }
|
|
11646
12149
|
static get formAssociated() { return true; }
|
|
@@ -12487,6 +12990,8 @@ class BqSpinner {
|
|
|
12487
12990
|
this.checkPropValues();
|
|
12488
12991
|
}
|
|
12489
12992
|
componentDidLoad() {
|
|
12993
|
+
this.handleSlotChange();
|
|
12994
|
+
this.handleIconSlotChange();
|
|
12490
12995
|
this.setIconSize();
|
|
12491
12996
|
}
|
|
12492
12997
|
disconnectedCallback() {
|
|
@@ -12548,18 +13053,18 @@ class BqSpinner {
|
|
|
12548
13053
|
// Always the last one in the class.
|
|
12549
13054
|
// ===================================
|
|
12550
13055
|
render() {
|
|
12551
|
-
return (hAsync("div", { key: '
|
|
13056
|
+
return (hAsync("div", { key: '5dec7d81f288888d1ea128d6761d51c969f70ff2', class: {
|
|
12552
13057
|
[`bq-spinner ${this.size} text-${this.textPosition}`]: true,
|
|
12553
13058
|
'is-animated': this.animation,
|
|
12554
13059
|
'has-text': !!this.slotContentLength,
|
|
12555
|
-
}, part: "base" }, !this.hasIconSlot && (hAsync("div", { key: '
|
|
13060
|
+
}, part: "base" }, !this.hasIconSlot && (hAsync("div", { key: 'a81d747747d4dd5f09fe2e3c3c7a6d5cf8a043c9', class: `bq-spinner--loader ${this.size} relative text-[--bq-spinner--color]`, "aria-label": "Loading...", role: "status" }, hAsync("svg", { key: '023ee0a3382074e007d4ee896e75ae72de188f47', class: "bs-full is-full", fill: "currentColor", viewBox: "0 0 48 48" }, hAsync("path", { key: '0f1ee5a0a193b7b1c8dbe4b4b6bddecc7b7e2d32', fill: "currentColor", d: "M10.27 7.637c-.937-1.117-.798-2.796.415-3.605a24 24 0 0 1 37.09 23.249c-.2 1.444-1.65 2.301-3.064 1.944-1.414-.356-2.25-1.793-2.096-3.242A18.72 18.72 0 0 0 14.102 8.11c-1.237.77-2.895.643-3.832-.474Z" }), hAsync("path", { key: '6d6d7849cb1a4c6897135ec0e7c0cdafce162869', fill: "currentColor", d: "M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM5.28 24c0 10.339 8.381 18.72 18.72 18.72 10.339 0 18.72-8.381 18.72-18.72 0-10.339-8.381-18.72-18.72-18.72C13.661 5.28 5.28 13.661 5.28 24Z", opacity: ".1" })))), hAsync("span", { key: '65566f2cdac637362e249d4db9c8b1c07126b335', class: {
|
|
12556
13061
|
'bq-spinner--icon': true,
|
|
12557
13062
|
flex: this.hasIconSlot,
|
|
12558
13063
|
'!hidden': !this.hasIconSlot,
|
|
12559
|
-
}, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, hAsync("slot", { key: '
|
|
13064
|
+
}, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, hAsync("slot", { key: '0611e1252457bb9e0ebe402c21e1d34798cc62b3', name: "icon", onSlotchange: this.handleIconSlotChange })), hAsync("span", { key: 'b94678347569529ba7e79a01b3b01a69fef00ee5', class: {
|
|
12560
13065
|
'bq-spinner--text font-medium leading-regular text-primary': true,
|
|
12561
13066
|
'!hidden': !this.isTextDisplayed,
|
|
12562
|
-
}, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, hAsync("slot", { key: '
|
|
13067
|
+
}, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, hAsync("slot", { key: '47b5004777b45b6fbcb1cb5371718f7f7fa60258', onSlotchange: this.handleSlotChange }))));
|
|
12563
13068
|
}
|
|
12564
13069
|
static get watchers() { return {
|
|
12565
13070
|
"textPosition": ["handleTextPositionProp"],
|
|
@@ -13328,6 +13833,9 @@ class BqTab {
|
|
|
13328
13833
|
componentWillLoad() {
|
|
13329
13834
|
this.checkPropValues();
|
|
13330
13835
|
}
|
|
13836
|
+
componentDidLoad() {
|
|
13837
|
+
this.handleIconSlotChange();
|
|
13838
|
+
}
|
|
13331
13839
|
// Listeners
|
|
13332
13840
|
// ==============
|
|
13333
13841
|
// Public methods API
|
|
@@ -13392,11 +13900,11 @@ class BqTab {
|
|
|
13392
13900
|
// Always the last one in the class.
|
|
13393
13901
|
// ===================================
|
|
13394
13902
|
render() {
|
|
13395
|
-
return (hAsync("button", { key: '
|
|
13903
|
+
return (hAsync("button", { key: '5c7864ae3c97b025b650b3d844c9c093d91e3470', ref: (el) => (this.buttonElement = el), class: {
|
|
13396
13904
|
[`bq-tab bq-tab--${this.size} bq-tab--${this.orientation}-${this.placement}`]: true,
|
|
13397
13905
|
'text-brand': this.active,
|
|
13398
13906
|
'text-primary': !this.active,
|
|
13399
|
-
}, id: this.tabId, onBlur: this.handleOnBlur, onClick: this.handleClick, onFocus: this.handleOnFocus, onKeyDown: this.handleOnKeyDown, disabled: this.disabled, role: "tab", "aria-controls": this.controls, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.tabindex, part: "base" }, hAsync("div", { key: '
|
|
13907
|
+
}, id: this.tabId, onBlur: this.handleOnBlur, onClick: this.handleClick, onFocus: this.handleOnFocus, onKeyDown: this.handleOnKeyDown, disabled: this.disabled, role: "tab", "aria-controls": this.controls, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.tabindex, part: "base" }, hAsync("div", { key: '2d8a47a512dc2393387c95f8327a3fb81a229746', class: "flex items-center justify-center", part: "content" }, hAsync("div", { key: '54d6b13fe9d339bf09a75720a86854a3243d2156', class: "flex", ref: (span) => (this.iconElement = span), part: "icon" }, hAsync("slot", { key: '170fdfc9026dddd09ead92f1bc214a774f4b5a59', name: "icon", onSlotchange: this.handleIconSlotChange })), hAsync("div", { key: 'd3e6bca34a9b7fe6fd1624500a5e16ef8d97d905', class: { 'line-clamp-1': true, 'ms-[--bq-tab--label-icon-gap]': this.hasIcon }, part: "text" }, hAsync("slot", { key: 'a02f8f9f7a5da5e5a49fb384a8627cd9ad559220' })))));
|
|
13400
13908
|
}
|
|
13401
13909
|
static get watchers() { return {
|
|
13402
13910
|
"size": ["checkPropValues"],
|
|
@@ -13833,6 +14341,9 @@ class BqTag {
|
|
|
13833
14341
|
componentWillLoad() {
|
|
13834
14342
|
this.checkPropValues();
|
|
13835
14343
|
}
|
|
14344
|
+
componentDidLoad() {
|
|
14345
|
+
this.handleSlotChange();
|
|
14346
|
+
}
|
|
13836
14347
|
// Listeners
|
|
13837
14348
|
// ==============
|
|
13838
14349
|
// Public methods API
|
|
@@ -13915,7 +14426,7 @@ class BqTag {
|
|
|
13915
14426
|
...(this.color && { '--bq-tag--background-color': getColorCSSVariable(this.color) ?? this.color }),
|
|
13916
14427
|
...(this.hasCustomColor && { '--bq-text--primary': `var(--bq-text--alt)` }),
|
|
13917
14428
|
};
|
|
13918
|
-
return (hAsync(Host, { key: '
|
|
14429
|
+
return (hAsync(Host, { key: 'f9e7905f81aa5b51e6b513df4628fa1a3661745f', style: style, "aria-hidden": this.isHidden ? 'true' : 'false', hidden: this.isHidden ? 'true' : 'false' }, hAsync("button", { key: 'f8ea7098e72de24a9c468b32250c81e3243c270b', class: {
|
|
13919
14430
|
[`bq-tag bq-tag__${this.size}`]: true,
|
|
13920
14431
|
[`bq-tag__${this.color || 'default'} bq-tag__${this.variant}`]: !this.hasCustomColor,
|
|
13921
14432
|
'is-clickable': this.isClickable,
|
|
@@ -13924,11 +14435,11 @@ class BqTag {
|
|
|
13924
14435
|
active: this.isClickable && this.selected,
|
|
13925
14436
|
// Fixed border radius
|
|
13926
14437
|
'has-border': !!this.border,
|
|
13927
|
-
}, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, tabindex: this.isClickable ? 0 : -1, part: "wrapper" }, hAsync("span", { key: '
|
|
14438
|
+
}, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, tabindex: this.isClickable ? 0 : -1, part: "wrapper" }, hAsync("span", { key: 'b256884b691e2a2ca9cfc012c4e5ad3d04a48f60', class: { 'bq-tag__prefix inline-flex': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, hAsync("slot", { key: 'ab3751149f91742bff679fb6a538ac2b8ba17ab9', name: "prefix", onSlotchange: this.handleSlotChange })), hAsync("div", { key: '736bc3fe29c2d30f972b7eee608ceb9c71cf92c2', class: {
|
|
13928
14439
|
'text-xs': this.size === 'xsmall',
|
|
13929
14440
|
'text-s': this.size === 'small',
|
|
13930
14441
|
'text-m': this.size === 'medium',
|
|
13931
|
-
}, part: "text" }, hAsync("slot", { key: '
|
|
14442
|
+
}, part: "text" }, hAsync("slot", { key: 'ef563b69426edbd3557857a55a1995ee14fd160e' })), this.isRemovable && !this.disabled && (hAsync("bq-button", { key: '26a86daed41bfb13722dfa9e41c6ee9929f8e4a1', class: "bq-tag__close", appearance: "text", size: "small", onClick: this.handleHide, part: "btn-close" }, hAsync("bq-icon", { key: '6e175f2455c6a26297befbebddc83a83e433e130', size: iconSize(this.size), name: "x-circle", color: this.color && !this.hasCustomColor ? textColor(this.color)[this.variant] : 'text--primary' }))))));
|
|
13932
14443
|
}
|
|
13933
14444
|
static get delegatesFocus() { return true; }
|
|
13934
14445
|
static get watchers() { return {
|
|
@@ -14174,6 +14685,7 @@ class BqTextarea {
|
|
|
14174
14685
|
// Ordered by their natural call order
|
|
14175
14686
|
// =====================================
|
|
14176
14687
|
componentDidLoad() {
|
|
14688
|
+
this.handleSlotChange();
|
|
14177
14689
|
this.handleValueChange();
|
|
14178
14690
|
}
|
|
14179
14691
|
formAssociatedCallback() {
|
|
@@ -14245,10 +14757,8 @@ class BqTextarea {
|
|
|
14245
14757
|
inputElem.style.height = 'auto';
|
|
14246
14758
|
inputElem.style.height = `${inputElem.scrollHeight}px`;
|
|
14247
14759
|
};
|
|
14248
|
-
|
|
14760
|
+
handleSlotChange = () => {
|
|
14249
14761
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
14250
|
-
};
|
|
14251
|
-
handleHelperTextSlotChange = () => {
|
|
14252
14762
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
14253
14763
|
};
|
|
14254
14764
|
setFormValue = (value) => {
|
|
@@ -14276,15 +14786,15 @@ class BqTextarea {
|
|
|
14276
14786
|
// Always the last one in the class.
|
|
14277
14787
|
// ===================================
|
|
14278
14788
|
render() {
|
|
14279
|
-
return (hAsync("div", { key: '
|
|
14789
|
+
return (hAsync("div", { key: 'fd8812d313f90ad5161f9cf1adb8342bb1e7b603', class: "bq-textarea flex flex-auto flex-col", part: "base" }, hAsync("label", { key: '45d88b4af1fc21e217a7ff4d5e06145e68df5dd5', class: { 'bq-textarea__label': true, '!hidden': !this.hasLabel }, htmlFor: this.name ?? this.fallbackId, "aria-label": this.name ?? this.fallbackId, ref: (label) => (this.labelElem = label), part: "label" }, hAsync("slot", { key: '234682cb6d87b9a039d71703a31ea1e145b9bab3', name: "label", onSlotchange: this.handleSlotChange })), hAsync("textarea", { key: 'dc6364b2967bebf1e85a0c1d1deda06437ed83d4', id: this.name ?? this.fallbackId, class: {
|
|
14280
14790
|
'bq-textarea__input': true,
|
|
14281
14791
|
'resize-none': this.disableResize,
|
|
14282
14792
|
[`validation-${this.validationStatus}`]: true,
|
|
14283
|
-
}, autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autocorrect, autofocus: this.autofocus, disabled: this.disabled, form: this.form, maxLength: this.maxlength > 0 ? this.maxlength : undefined, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, spellcheck: this.spellcheck, wrap: this.wrap, ref: (elem) => (this.textarea = elem), onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "input" }, this.value), hAsync("div", { key: '
|
|
14793
|
+
}, autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autocorrect, autofocus: this.autofocus, disabled: this.disabled, form: this.form, maxLength: this.maxlength > 0 ? this.maxlength : undefined, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, spellcheck: this.spellcheck, wrap: this.wrap, ref: (elem) => (this.textarea = elem), onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "input" }, this.value), hAsync("div", { key: '031e79972e5764bffaa71d0151e697b3eed2d9c8', class: {
|
|
14284
14794
|
'bq-textarea__helper flex items-center justify-between': true,
|
|
14285
14795
|
[`validation-${this.validationStatus}`]: true,
|
|
14286
14796
|
'!hidden': !this.hasHelperText && !this.maxlength,
|
|
14287
|
-
}, part: "helper-info" }, hAsync("span", { key: '
|
|
14797
|
+
}, part: "helper-info" }, hAsync("span", { key: '6d2ca0ed1579c9de4cac9367b5e9daacea104a6d', class: "bq-textarea__helper--text", ref: (span) => (this.helperTextElem = span), part: "helper-text" }, hAsync("slot", { key: '7b54ec8280a1c796aa5279b9ae119b93cdf0d0e2', name: "helper-text", onSlotchange: this.handleSlotChange })), hAsync("span", { key: '963e2adbc0a9a8c7e701b8d4d6b4b82a64d0ffc8', class: { 'bq-textarea__helper--counter [fontVariant:tabular-nums]': true, '!hidden': !this.maxlength }, part: "helper-counter" }, this.numberOfCharacters ?? 0, "/", this.maxlength))));
|
|
14288
14798
|
}
|
|
14289
14799
|
static get delegatesFocus() { return true; }
|
|
14290
14800
|
static get formAssociated() { return true; }
|
|
@@ -14842,1164 +15352,6 @@ registerComponents([
|
|
|
14842
15352
|
BqTooltip,
|
|
14843
15353
|
]);
|
|
14844
15354
|
|
|
14845
|
-
class te {
|
|
14846
|
-
/**
|
|
14847
|
-
* @type {T}
|
|
14848
|
-
*/
|
|
14849
|
-
#t;
|
|
14850
|
-
#e = /* @__PURE__ */ new Set();
|
|
14851
|
-
/**
|
|
14852
|
-
* @param {T} current
|
|
14853
|
-
*/
|
|
14854
|
-
constructor(t) {
|
|
14855
|
-
this.#t = t;
|
|
14856
|
-
}
|
|
14857
|
-
/**
|
|
14858
|
-
* @return {T}
|
|
14859
|
-
*/
|
|
14860
|
-
get current() {
|
|
14861
|
-
return this.#t;
|
|
14862
|
-
}
|
|
14863
|
-
/**
|
|
14864
|
-
* @param {T} value
|
|
14865
|
-
*/
|
|
14866
|
-
set current(t) {
|
|
14867
|
-
this.#t != t && (this.#t = t, this.#e.forEach((n) => n(t)));
|
|
14868
|
-
}
|
|
14869
|
-
/**
|
|
14870
|
-
* @type {import("hooks").Ref["on"]}
|
|
14871
|
-
*/
|
|
14872
|
-
on(t) {
|
|
14873
|
-
return this.#e.add(t), () => this.#e.delete(t);
|
|
14874
|
-
}
|
|
14875
|
-
}
|
|
14876
|
-
const Mt = (e) => new te(e), tt = Symbol.for("atomico.hooks");
|
|
14877
|
-
globalThis[tt] = globalThis[tt] || {};
|
|
14878
|
-
let k = globalThis[tt];
|
|
14879
|
-
const ee = Symbol.for("Atomico.suspense"), At = Symbol.for("Atomico.effect"), ne = Symbol.for("Atomico.layoutEffect"), Ft = Symbol.for("Atomico.insertionEffect"), O = (e, t, n) => {
|
|
14880
|
-
const { i: s, hooks: r } = k.c, o = r[s] = r[s] || {};
|
|
14881
|
-
return o.value = e(o.value), o.effect = t, o.tag = n, k.c.i++, r[s].value;
|
|
14882
|
-
}, se = (e) => O((t = Mt(e)) => t), _ = () => O((e = Mt(k.c.host)) => e), Rt = () => k.c.update, oe = (e, t, n = 0) => {
|
|
14883
|
-
let s = {}, r = !1;
|
|
14884
|
-
const o = () => r, c = (i, f) => {
|
|
14885
|
-
for (const d in s) {
|
|
14886
|
-
const l = s[d];
|
|
14887
|
-
l.effect && l.tag === i && (l.value = l.effect(l.value, f));
|
|
14888
|
-
}
|
|
14889
|
-
};
|
|
14890
|
-
return { load: (i) => {
|
|
14891
|
-
k.c = { host: t, hooks: s, update: e, i: 0, id: n };
|
|
14892
|
-
let f;
|
|
14893
|
-
try {
|
|
14894
|
-
r = !1, f = i();
|
|
14895
|
-
} catch (d) {
|
|
14896
|
-
if (d !== ee)
|
|
14897
|
-
throw d;
|
|
14898
|
-
r = !0;
|
|
14899
|
-
} finally {
|
|
14900
|
-
k.c = null;
|
|
14901
|
-
}
|
|
14902
|
-
return f;
|
|
14903
|
-
}, cleanEffects: (i) => (c(Ft, i), () => (c(ne, i), () => {
|
|
14904
|
-
c(At, i);
|
|
14905
|
-
})), isSuspense: o };
|
|
14906
|
-
}, M = Symbol.for;
|
|
14907
|
-
function It(e, t) {
|
|
14908
|
-
const n = e.length;
|
|
14909
|
-
if (n !== t.length)
|
|
14910
|
-
return !1;
|
|
14911
|
-
for (let s = 0; s < n; s++) {
|
|
14912
|
-
let r = e[s], o = t[s];
|
|
14913
|
-
if (r !== o)
|
|
14914
|
-
return !1;
|
|
14915
|
-
}
|
|
14916
|
-
return !0;
|
|
14917
|
-
}
|
|
14918
|
-
const w = (e) => typeof e == "function", R = (e) => typeof e == "object", { isArray: re } = Array, et = (e, t) => (t ? e instanceof HTMLStyleElement : !0) && "hydrate" in (e?.dataset || {});
|
|
14919
|
-
function Ut(e, t) {
|
|
14920
|
-
let n;
|
|
14921
|
-
const s = (r) => {
|
|
14922
|
-
let { length: o } = r;
|
|
14923
|
-
for (let c = 0; c < o; c++) {
|
|
14924
|
-
const u = r[c];
|
|
14925
|
-
if (u && Array.isArray(u))
|
|
14926
|
-
s(u);
|
|
14927
|
-
else {
|
|
14928
|
-
const a = typeof u;
|
|
14929
|
-
if (u == null || a === "function" || a === "boolean")
|
|
14930
|
-
continue;
|
|
14931
|
-
a === "string" || a === "number" ? (n == null && (n = ""), n += u) : (n != null && (t(n), n = null), t(u));
|
|
14932
|
-
}
|
|
14933
|
-
}
|
|
14934
|
-
};
|
|
14935
|
-
s(e), n != null && t(n);
|
|
14936
|
-
}
|
|
14937
|
-
const $t = (e, t, n) => (e.addEventListener(t, n), () => e.removeEventListener(t, n));
|
|
14938
|
-
class Lt {
|
|
14939
|
-
/**
|
|
14940
|
-
*
|
|
14941
|
-
* @param {HTMLElement} target
|
|
14942
|
-
* @param {string} message
|
|
14943
|
-
* @param {string} value
|
|
14944
|
-
*/
|
|
14945
|
-
constructor(t, n, s) {
|
|
14946
|
-
this.message = n, this.target = t, this.value = s;
|
|
14947
|
-
}
|
|
14948
|
-
}
|
|
14949
|
-
class _t extends Lt {
|
|
14950
|
-
}
|
|
14951
|
-
class ce extends Lt {
|
|
14952
|
-
}
|
|
14953
|
-
const q = "Custom", ie = null, ae = { true: 1, "": 1, 1: 1 };
|
|
14954
|
-
function le(e, t, n, s, r) {
|
|
14955
|
-
const {
|
|
14956
|
-
type: o,
|
|
14957
|
-
reflect: c,
|
|
14958
|
-
event: u,
|
|
14959
|
-
value: a,
|
|
14960
|
-
attr: i = ue(t)
|
|
14961
|
-
} = n?.name != q && R(n) && n != ie ? n : { type: n }, f = o?.name === q && o.map, d = a != null ? o == Function || !w(a) ? () => a : a : null;
|
|
14962
|
-
Object.defineProperty(e, t, {
|
|
14963
|
-
configurable: !0,
|
|
14964
|
-
/**
|
|
14965
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
14966
|
-
* @param {any} newValue
|
|
14967
|
-
*/
|
|
14968
|
-
set(l) {
|
|
14969
|
-
const m = this[t];
|
|
14970
|
-
d && o != Boolean && l == null && (l = d());
|
|
14971
|
-
const { error: v, value: p } = (f ? he : me)(
|
|
14972
|
-
o,
|
|
14973
|
-
l
|
|
14974
|
-
);
|
|
14975
|
-
if (v && p != null)
|
|
14976
|
-
throw new _t(
|
|
14977
|
-
this,
|
|
14978
|
-
`The value defined for prop '${t}' must be of type '${o.name}'`,
|
|
14979
|
-
p
|
|
14980
|
-
);
|
|
14981
|
-
m != p && (this._props[t] = p ?? void 0, this.update(), u && jt(this, u), this.updated.then(() => {
|
|
14982
|
-
c && (this._ignoreAttr = i, fe(this, o, i, this[t]), this._ignoreAttr = null);
|
|
14983
|
-
}));
|
|
14984
|
-
},
|
|
14985
|
-
/**
|
|
14986
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
14987
|
-
*/
|
|
14988
|
-
get() {
|
|
14989
|
-
return this._props[t];
|
|
14990
|
-
}
|
|
14991
|
-
}), d && (r[t] = d()), s[i] = { prop: t, type: o };
|
|
14992
|
-
}
|
|
14993
|
-
const jt = (e, { type: t, base: n = CustomEvent, ...s }) => e.dispatchEvent(new n(t, s)), ue = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), fe = (e, t, n, s) => s == null || t == Boolean && !s ? e.removeAttribute(n) : e.setAttribute(
|
|
14994
|
-
n,
|
|
14995
|
-
t?.name === q && t?.serialize ? t?.serialize(s) : R(s) ? JSON.stringify(s) : t == Boolean ? "" : s
|
|
14996
|
-
), de = (e, t) => e == Boolean ? !!ae[t] : e == Number ? Number(t) : e == String ? t : e == Array || e == Object ? JSON.parse(t) : e.name == q ? t : (
|
|
14997
|
-
// TODO: If when defining reflect the prop can also be of type string?
|
|
14998
|
-
new e(t)
|
|
14999
|
-
), he = ({ map: e }, t) => {
|
|
15000
|
-
try {
|
|
15001
|
-
return { value: e(t), error: !1 };
|
|
15002
|
-
} catch {
|
|
15003
|
-
return { value: t, error: !0 };
|
|
15004
|
-
}
|
|
15005
|
-
}, me = (e, t) => e == null || t == null ? { value: t, error: !1 } : e != String && t === "" ? { value: void 0, error: !1 } : e == Object || e == Array || e == Symbol ? {
|
|
15006
|
-
value: t,
|
|
15007
|
-
error: {}.toString.call(t) !== `[object ${e.name}]`
|
|
15008
|
-
} : t instanceof e ? {
|
|
15009
|
-
value: t,
|
|
15010
|
-
error: e == Number && Number.isNaN(t.valueOf())
|
|
15011
|
-
} : e == String || e == Number || e == Boolean ? {
|
|
15012
|
-
value: t,
|
|
15013
|
-
error: e == Number ? typeof t != "number" ? !0 : Number.isNaN(t) : e == String ? typeof t != "string" : typeof t != "boolean"
|
|
15014
|
-
} : { value: t, error: !0 };
|
|
15015
|
-
let ye = 0;
|
|
15016
|
-
const pe = (e) => {
|
|
15017
|
-
const t = (e?.dataset || {})?.hydrate || "";
|
|
15018
|
-
return t || "c" + ye++;
|
|
15019
|
-
}, j = (e, t = HTMLElement) => {
|
|
15020
|
-
const n = {}, s = {}, r = "prototype" in t && t.prototype instanceof Element, o = r ? t : "base" in t ? t.base : HTMLElement, { props: c, styles: u } = r ? e : t;
|
|
15021
|
-
class a extends o {
|
|
15022
|
-
constructor() {
|
|
15023
|
-
super(), this._setup(), this._render = () => e({ ...this._props });
|
|
15024
|
-
for (const f in s)
|
|
15025
|
-
this[f] = s[f];
|
|
15026
|
-
}
|
|
15027
|
-
/**
|
|
15028
|
-
* @returns {import("core").Sheets[]}
|
|
15029
|
-
*/
|
|
15030
|
-
static get styles() {
|
|
15031
|
-
return [super.styles, u];
|
|
15032
|
-
}
|
|
15033
|
-
async _setup() {
|
|
15034
|
-
if (this._props)
|
|
15035
|
-
return;
|
|
15036
|
-
this._props = {};
|
|
15037
|
-
let f, d;
|
|
15038
|
-
this.mounted = new Promise(
|
|
15039
|
-
(h) => this.mount = () => {
|
|
15040
|
-
h(), f != this.parentNode && (d != f ? this.unmounted.then(this.update) : this.update()), f = this.parentNode;
|
|
15041
|
-
}
|
|
15042
|
-
), this.unmounted = new Promise(
|
|
15043
|
-
(h) => this.unmount = () => {
|
|
15044
|
-
h(), (f != this.parentNode || !this.isConnected) && (l.cleanEffects(!0)()(), d = this.parentNode, f = null);
|
|
15045
|
-
}
|
|
15046
|
-
), this.symbolId = this.symbolId || Symbol(), this.symbolIdParent = Symbol();
|
|
15047
|
-
const l = oe(
|
|
15048
|
-
() => this.update(),
|
|
15049
|
-
this,
|
|
15050
|
-
pe(this)
|
|
15051
|
-
);
|
|
15052
|
-
let m, v = !0;
|
|
15053
|
-
const p = et(this);
|
|
15054
|
-
this.update = () => (m || (m = !0, this.updated = (this.updated || this.mounted).then(() => {
|
|
15055
|
-
try {
|
|
15056
|
-
const h = l.load(this._render), b = l.cleanEffects();
|
|
15057
|
-
return h && //@ts-ignore
|
|
15058
|
-
h.render(this, this.symbolId, p), m = !1, v && !l.isSuspense() && (v = !1, !p && be(this)), b();
|
|
15059
|
-
} finally {
|
|
15060
|
-
m = !1;
|
|
15061
|
-
}
|
|
15062
|
-
}).then(
|
|
15063
|
-
/**
|
|
15064
|
-
* @param {import("internal/hooks.js").CleanUseEffects} [cleanUseEffect]
|
|
15065
|
-
*/
|
|
15066
|
-
(h) => {
|
|
15067
|
-
h && h();
|
|
15068
|
-
}
|
|
15069
|
-
)), this.updated), this.update();
|
|
15070
|
-
}
|
|
15071
|
-
connectedCallback() {
|
|
15072
|
-
this.mount(), super.connectedCallback && super.connectedCallback();
|
|
15073
|
-
}
|
|
15074
|
-
disconnectedCallback() {
|
|
15075
|
-
super.disconnectedCallback && super.disconnectedCallback(), this.unmount();
|
|
15076
|
-
}
|
|
15077
|
-
/**
|
|
15078
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
15079
|
-
* @param {string} attr
|
|
15080
|
-
* @param {(string|null)} oldValue
|
|
15081
|
-
* @param {(string|null)} value
|
|
15082
|
-
*/
|
|
15083
|
-
attributeChangedCallback(f, d, l) {
|
|
15084
|
-
if (n[f]) {
|
|
15085
|
-
if (f === this._ignoreAttr || d === l)
|
|
15086
|
-
return;
|
|
15087
|
-
const { prop: m, type: v } = n[f];
|
|
15088
|
-
try {
|
|
15089
|
-
this[m] = de(v, l);
|
|
15090
|
-
} catch {
|
|
15091
|
-
throw new ce(
|
|
15092
|
-
this,
|
|
15093
|
-
`The value defined as attr '${f}' cannot be parsed by type '${v.name}'`,
|
|
15094
|
-
l
|
|
15095
|
-
);
|
|
15096
|
-
}
|
|
15097
|
-
} else
|
|
15098
|
-
super.attributeChangedCallback(f, d, l);
|
|
15099
|
-
}
|
|
15100
|
-
static get props() {
|
|
15101
|
-
return { ...super.props, ...c };
|
|
15102
|
-
}
|
|
15103
|
-
static get observedAttributes() {
|
|
15104
|
-
const f = super.observedAttributes || [];
|
|
15105
|
-
for (const d in c)
|
|
15106
|
-
le(this.prototype, d, c[d], n, s);
|
|
15107
|
-
return Object.keys(n).concat(f);
|
|
15108
|
-
}
|
|
15109
|
-
}
|
|
15110
|
-
return a;
|
|
15111
|
-
};
|
|
15112
|
-
function be(e) {
|
|
15113
|
-
const { styles: t } = e.constructor, { shadowRoot: n } = e;
|
|
15114
|
-
if (n && t.length) {
|
|
15115
|
-
const s = [];
|
|
15116
|
-
Ut(t, (r) => {
|
|
15117
|
-
r && (r instanceof Element ? n.appendChild(r.cloneNode(!0)) : s.push(r));
|
|
15118
|
-
}), s.length && (n.adoptedStyleSheets = s);
|
|
15119
|
-
}
|
|
15120
|
-
}
|
|
15121
|
-
const Yt = (e) => (t, n) => {
|
|
15122
|
-
O(
|
|
15123
|
-
/**
|
|
15124
|
-
* Clean the effect hook
|
|
15125
|
-
* @type {import("internal/hooks.js").CollectorEffect}
|
|
15126
|
-
*/
|
|
15127
|
-
([s, r] = []) => ((r || !r) && (r && It(r, n) ? s = s || !0 : (w(s) && s(), s = null)), [s, n]),
|
|
15128
|
-
/**
|
|
15129
|
-
* @returns {any}
|
|
15130
|
-
*/
|
|
15131
|
-
([s, r], o) => o ? (w(s) && s(), []) : [s || t(), r],
|
|
15132
|
-
e
|
|
15133
|
-
);
|
|
15134
|
-
}, $ = Yt(At), ge = Yt(Ft);
|
|
15135
|
-
class Bt extends Array {
|
|
15136
|
-
/**
|
|
15137
|
-
*
|
|
15138
|
-
* @param {any} initialState
|
|
15139
|
-
* @param {(nextState: any, state:any[], mount: boolean )=>void} mapState
|
|
15140
|
-
*/
|
|
15141
|
-
constructor(t, n) {
|
|
15142
|
-
let s = !0;
|
|
15143
|
-
const r = (o) => {
|
|
15144
|
-
try {
|
|
15145
|
-
n(o, this, s);
|
|
15146
|
-
} finally {
|
|
15147
|
-
s = !1;
|
|
15148
|
-
}
|
|
15149
|
-
};
|
|
15150
|
-
super(void 0, r, n), r(t);
|
|
15151
|
-
}
|
|
15152
|
-
/**
|
|
15153
|
-
* The following code allows a mutable approach to useState
|
|
15154
|
-
* and useProp this with the idea of allowing an alternative
|
|
15155
|
-
* approach similar to Vue or Qwik of state management
|
|
15156
|
-
* @todo pending review with the community
|
|
15157
|
-
*/
|
|
15158
|
-
// get value() {
|
|
15159
|
-
// return this[0];
|
|
15160
|
-
// }
|
|
15161
|
-
// set value(nextState) {
|
|
15162
|
-
// this[2](nextState, this);
|
|
15163
|
-
// }
|
|
15164
|
-
}
|
|
15165
|
-
const rt = (e) => {
|
|
15166
|
-
const t = Rt();
|
|
15167
|
-
return O(
|
|
15168
|
-
(n = new Bt(e, (s, r, o) => {
|
|
15169
|
-
s = w(s) ? s(r[0]) : s, s !== r[0] && (r[0] = s, o || t());
|
|
15170
|
-
})) => n
|
|
15171
|
-
);
|
|
15172
|
-
}, T = (e, t) => {
|
|
15173
|
-
const [n] = O(([s, r, o = 0] = []) => ((!r || r && !It(r, t)) && (s = e()), [s, t, o]));
|
|
15174
|
-
return n;
|
|
15175
|
-
}, ct = (e) => {
|
|
15176
|
-
const { current: t } = _();
|
|
15177
|
-
if (!(e in t))
|
|
15178
|
-
throw new _t(
|
|
15179
|
-
t,
|
|
15180
|
-
`For useProp("${e}"), the prop does not exist on the host.`,
|
|
15181
|
-
e
|
|
15182
|
-
);
|
|
15183
|
-
return O(
|
|
15184
|
-
(n = new Bt(t[e], (s, r) => {
|
|
15185
|
-
s = w(s) ? s(t[e]) : s, t[e] = s;
|
|
15186
|
-
})) => (n[0] = t[e], n)
|
|
15187
|
-
);
|
|
15188
|
-
}, C = (e, t = {}) => {
|
|
15189
|
-
const n = _();
|
|
15190
|
-
return n[e] || (n[e] = (s = t.detail) => jt(n.current, {
|
|
15191
|
-
type: e,
|
|
15192
|
-
...t,
|
|
15193
|
-
detail: s
|
|
15194
|
-
})), n[e];
|
|
15195
|
-
}, nt = M("atomico/options");
|
|
15196
|
-
globalThis[nt] = globalThis[nt] || {
|
|
15197
|
-
sheet: !!document.adoptedStyleSheets
|
|
15198
|
-
};
|
|
15199
|
-
const qt = globalThis[nt], Ee = {
|
|
15200
|
-
checked: 1,
|
|
15201
|
-
value: 1,
|
|
15202
|
-
selected: 1
|
|
15203
|
-
}, ve = {
|
|
15204
|
-
list: 1,
|
|
15205
|
-
type: 1,
|
|
15206
|
-
size: 1,
|
|
15207
|
-
form: 1,
|
|
15208
|
-
width: 1,
|
|
15209
|
-
height: 1,
|
|
15210
|
-
src: 1,
|
|
15211
|
-
href: 1,
|
|
15212
|
-
slot: 1
|
|
15213
|
-
}, De = {
|
|
15214
|
-
shadowDom: 1,
|
|
15215
|
-
staticNode: 1,
|
|
15216
|
-
cloneNode: 1,
|
|
15217
|
-
children: 1,
|
|
15218
|
-
key: 1
|
|
15219
|
-
}, B = {}, st = [];
|
|
15220
|
-
class ot extends Text {
|
|
15221
|
-
}
|
|
15222
|
-
const Se = M("atomico/id"), I = M("atomico/type"), Z = M("atomico/ref"), xt = M("atomico/vnode"), we = () => {
|
|
15223
|
-
};
|
|
15224
|
-
function Ce(e, t, n) {
|
|
15225
|
-
return Ht(this, e, t, n);
|
|
15226
|
-
}
|
|
15227
|
-
const zt = (e, t, ...n) => {
|
|
15228
|
-
const s = t || B;
|
|
15229
|
-
let { children: r } = s;
|
|
15230
|
-
if (r = r ?? (n.length ? n : st), e === we)
|
|
15231
|
-
return r;
|
|
15232
|
-
const o = e ? e instanceof Node ? 1 : (
|
|
15233
|
-
//@ts-ignore
|
|
15234
|
-
e.prototype instanceof HTMLElement && 2
|
|
15235
|
-
) : 0;
|
|
15236
|
-
if (o === !1 && e instanceof Function)
|
|
15237
|
-
return e(
|
|
15238
|
-
r != st ? { children: r, ...s } : s
|
|
15239
|
-
);
|
|
15240
|
-
const c = qt.render || Ce;
|
|
15241
|
-
return {
|
|
15242
|
-
[I]: xt,
|
|
15243
|
-
type: e,
|
|
15244
|
-
props: s,
|
|
15245
|
-
children: r,
|
|
15246
|
-
key: s.key,
|
|
15247
|
-
// key for lists by keys
|
|
15248
|
-
// define if the node declares its shadowDom
|
|
15249
|
-
shadow: s.shadowDom,
|
|
15250
|
-
// allows renderings to run only once
|
|
15251
|
-
static: s.staticNode,
|
|
15252
|
-
// defines whether the type is a childNode `1` or a constructor `2`
|
|
15253
|
-
raw: o,
|
|
15254
|
-
// defines whether to use the second parameter for document.createElement
|
|
15255
|
-
is: s.is,
|
|
15256
|
-
// clone the node if it comes from a reference
|
|
15257
|
-
clone: s.cloneNode,
|
|
15258
|
-
render: c
|
|
15259
|
-
};
|
|
15260
|
-
};
|
|
15261
|
-
function Ht(e, t, n = Se, s, r) {
|
|
15262
|
-
let o;
|
|
15263
|
-
if (t && t[n] && t[n].vnode == e || e[I] != xt)
|
|
15264
|
-
return t;
|
|
15265
|
-
(e || !t) && (r = r || e.type == "svg", o = e.type != "host" && (e.raw == 1 ? (t && e.clone ? t[Z] : t) != e.type : e.raw == 2 ? !(t instanceof e.type) : t ? t[Z] || t.localName != e.type : !t), o && e.type != null && (e.raw == 1 && e.clone ? (s = !0, t = e.type.cloneNode(!0), t[Z] = e.type) : t = e.raw == 1 ? e.type : e.raw == 2 ? new e.type() : r ? document.createElementNS(
|
|
15266
|
-
"http://www.w3.org/2000/svg",
|
|
15267
|
-
e.type
|
|
15268
|
-
) : document.createElement(
|
|
15269
|
-
e.type,
|
|
15270
|
-
e.is ? { is: e.is } : void 0
|
|
15271
|
-
)));
|
|
15272
|
-
const c = t[n] ? t[n] : B, { vnode: u = B, cycle: a = 0 } = c;
|
|
15273
|
-
let { fragment: i, handlers: f } = c;
|
|
15274
|
-
const { children: d = st, props: l = B } = u;
|
|
15275
|
-
if (f = o ? {} : f || {}, e.static && !o)
|
|
15276
|
-
return t;
|
|
15277
|
-
if (e.shadow && !t.shadowRoot && // @ts-ignore
|
|
15278
|
-
t.attachShadow({ mode: "open", ...e.shadow }), e.props != l && Ne(t, l, e.props, f, r), e.children !== d) {
|
|
15279
|
-
const m = e.shadow ? t.shadowRoot : t;
|
|
15280
|
-
i = Pe(
|
|
15281
|
-
e.children,
|
|
15282
|
-
/**
|
|
15283
|
-
* @todo for hydration use attribute and send childNodes
|
|
15284
|
-
*/
|
|
15285
|
-
i,
|
|
15286
|
-
m,
|
|
15287
|
-
n,
|
|
15288
|
-
// add support to foreignObject, children will escape from svg
|
|
15289
|
-
!a && s,
|
|
15290
|
-
r && e.type == "foreignObject" ? !1 : r
|
|
15291
|
-
);
|
|
15292
|
-
}
|
|
15293
|
-
return t[n] = { vnode: e, handlers: f, fragment: i, cycle: a + 1 }, t;
|
|
15294
|
-
}
|
|
15295
|
-
function Te(e, t) {
|
|
15296
|
-
const n = new ot(""), s = new ot("");
|
|
15297
|
-
let r;
|
|
15298
|
-
if (e[t ? "prepend" : "append"](n), t) {
|
|
15299
|
-
let { lastElementChild: o } = e;
|
|
15300
|
-
for (; o; ) {
|
|
15301
|
-
const { previousElementSibling: c } = o;
|
|
15302
|
-
if (et(o, !0) && !et(c, !0)) {
|
|
15303
|
-
r = o;
|
|
15304
|
-
break;
|
|
15305
|
-
}
|
|
15306
|
-
o = c;
|
|
15307
|
-
}
|
|
15308
|
-
}
|
|
15309
|
-
return r ? r.before(s) : e.append(s), {
|
|
15310
|
-
markStart: n,
|
|
15311
|
-
markEnd: s
|
|
15312
|
-
};
|
|
15313
|
-
}
|
|
15314
|
-
function Pe(e, t, n, s, r, o) {
|
|
15315
|
-
e = e == null ? null : re(e) ? e : [e];
|
|
15316
|
-
const c = t || Te(n, r), { markStart: u, markEnd: a, keyes: i } = c;
|
|
15317
|
-
let f;
|
|
15318
|
-
const d = i && /* @__PURE__ */ new Set();
|
|
15319
|
-
let l = u;
|
|
15320
|
-
if (e && Ut(e, (m) => {
|
|
15321
|
-
if (typeof m == "object" && !m[I])
|
|
15322
|
-
return;
|
|
15323
|
-
const v = m[I] && m.key, p = i && v != null && i.get(v);
|
|
15324
|
-
l != a && l === p ? d.delete(l) : l = l == a ? a : l.nextSibling;
|
|
15325
|
-
const h = i ? p : l;
|
|
15326
|
-
let b = h;
|
|
15327
|
-
if (m[I])
|
|
15328
|
-
b = Ht(m, h, s, r, o);
|
|
15329
|
-
else {
|
|
15330
|
-
const A = m + "";
|
|
15331
|
-
!(b instanceof Text) || b instanceof ot ? b = new Text(A) : b.data != A && (b.data = A);
|
|
15332
|
-
}
|
|
15333
|
-
b != l && (i && d.delete(b), !h || i ? (n.insertBefore(b, l), i && l != a && d.add(l)) : h == a ? n.insertBefore(b, a) : (n.replaceChild(b, h), l = b)), v != null && (f = f || /* @__PURE__ */ new Map(), f.set(v, b));
|
|
15334
|
-
}), l = l == a ? a : l.nextSibling, t && l != a)
|
|
15335
|
-
for (; l != a; ) {
|
|
15336
|
-
const m = l;
|
|
15337
|
-
l = l.nextSibling, m.remove();
|
|
15338
|
-
}
|
|
15339
|
-
return d && d.forEach((m) => m.remove()), c.keyes = f, c;
|
|
15340
|
-
}
|
|
15341
|
-
function Ne(e, t, n, s, r) {
|
|
15342
|
-
for (const o in t)
|
|
15343
|
-
!(o in n) && Dt(e, o, t[o], null, r, s);
|
|
15344
|
-
for (const o in n)
|
|
15345
|
-
Dt(e, o, t[o], n[o], r, s);
|
|
15346
|
-
}
|
|
15347
|
-
function Dt(e, t, n, s, r, o) {
|
|
15348
|
-
if (t = t == "class" && !r ? "className" : t, n = n ?? null, s = s ?? null, t in e && Ee[t] && (n = e[t]), !(s === n || De[t] || t[0] == "_"))
|
|
15349
|
-
if (t[0] == "o" && t[1] == "n" && (w(s) || w(n)))
|
|
15350
|
-
ke(e, t.slice(2), s, o);
|
|
15351
|
-
else if (t == "ref")
|
|
15352
|
-
s && (w(s) ? s(e) : s.current = e);
|
|
15353
|
-
else if (t == "style") {
|
|
15354
|
-
const { style: c } = e;
|
|
15355
|
-
n = n || "", s = s || "";
|
|
15356
|
-
const u = R(n), a = R(s);
|
|
15357
|
-
if (u)
|
|
15358
|
-
for (const i in n)
|
|
15359
|
-
if (a)
|
|
15360
|
-
!(i in s) && St(c, i, null);
|
|
15361
|
-
else
|
|
15362
|
-
break;
|
|
15363
|
-
if (a)
|
|
15364
|
-
for (const i in s) {
|
|
15365
|
-
const f = s[i];
|
|
15366
|
-
u && n[i] === f || St(c, i, f);
|
|
15367
|
-
}
|
|
15368
|
-
else
|
|
15369
|
-
c.cssText = s;
|
|
15370
|
-
} else {
|
|
15371
|
-
const c = t[0] == "$" ? t.slice(1) : t;
|
|
15372
|
-
c === t && (!r && !ve[t] && t in e || w(s) || w(n)) ? e[t] = s ?? "" : s == null ? e.removeAttribute(c) : e.setAttribute(
|
|
15373
|
-
c,
|
|
15374
|
-
R(s) ? JSON.stringify(s) : s
|
|
15375
|
-
);
|
|
15376
|
-
}
|
|
15377
|
-
}
|
|
15378
|
-
function ke(e, t, n, s) {
|
|
15379
|
-
if (s.handleEvent || (s.handleEvent = (r) => s[r.type].call(e, r)), n) {
|
|
15380
|
-
if (!s[t]) {
|
|
15381
|
-
const r = n.capture || n.once || n.passive ? Object.assign({}, n) : null;
|
|
15382
|
-
e.addEventListener(t, s, r);
|
|
15383
|
-
}
|
|
15384
|
-
s[t] = n;
|
|
15385
|
-
} else
|
|
15386
|
-
s[t] && (e.removeEventListener(t, s), delete s[t]);
|
|
15387
|
-
}
|
|
15388
|
-
function St(e, t, n) {
|
|
15389
|
-
let s = "setProperty";
|
|
15390
|
-
n == null && (s = "removeProperty", n = null), ~t.indexOf("-") ? e[s](t, n) : e[t] = n;
|
|
15391
|
-
}
|
|
15392
|
-
const wt = {};
|
|
15393
|
-
function z(e, ...t) {
|
|
15394
|
-
const n = (e.raw || e).reduce(
|
|
15395
|
-
(s, r, o) => s + r + (t[o] || ""),
|
|
15396
|
-
""
|
|
15397
|
-
);
|
|
15398
|
-
return wt[n] = wt[n] || Oe(n);
|
|
15399
|
-
}
|
|
15400
|
-
function Oe(e) {
|
|
15401
|
-
if (qt.sheet) {
|
|
15402
|
-
const t = new CSSStyleSheet();
|
|
15403
|
-
return t.replaceSync(e), t;
|
|
15404
|
-
} else {
|
|
15405
|
-
const t = document.createElement("style");
|
|
15406
|
-
return t.textContent = e, t;
|
|
15407
|
-
}
|
|
15408
|
-
}
|
|
15409
|
-
const Me = zt("host", { style: "display: contents" }), W = M("atomico/context"), Ae = (e, t) => {
|
|
15410
|
-
const n = _();
|
|
15411
|
-
ge(
|
|
15412
|
-
() => $t(
|
|
15413
|
-
n.current,
|
|
15414
|
-
"ConnectContext",
|
|
15415
|
-
/**
|
|
15416
|
-
* @param {CustomEvent<import("context").DetailConnectContext>} event
|
|
15417
|
-
*/
|
|
15418
|
-
(s) => {
|
|
15419
|
-
e === s.detail.id && (s.stopPropagation(), s.detail.connect(t));
|
|
15420
|
-
}
|
|
15421
|
-
),
|
|
15422
|
-
[e]
|
|
15423
|
-
);
|
|
15424
|
-
}, Fe = (e) => {
|
|
15425
|
-
const t = C("ConnectContext", {
|
|
15426
|
-
bubbles: !0,
|
|
15427
|
-
composed: !0
|
|
15428
|
-
}), n = () => {
|
|
15429
|
-
let o;
|
|
15430
|
-
return t({
|
|
15431
|
-
id: e,
|
|
15432
|
-
connect(c) {
|
|
15433
|
-
o = c;
|
|
15434
|
-
}
|
|
15435
|
-
}), o;
|
|
15436
|
-
}, [s, r] = rt(
|
|
15437
|
-
n
|
|
15438
|
-
);
|
|
15439
|
-
return $(() => {
|
|
15440
|
-
s || (e[W] || (e[W] = customElements.whenDefined(
|
|
15441
|
-
new e().localName
|
|
15442
|
-
)), e[W].then(
|
|
15443
|
-
() => r(n)
|
|
15444
|
-
));
|
|
15445
|
-
}, [e]), s;
|
|
15446
|
-
}, Re = (e) => {
|
|
15447
|
-
const t = Fe(e), n = Rt();
|
|
15448
|
-
return $(() => {
|
|
15449
|
-
if (t)
|
|
15450
|
-
return $t(t, "UpdatedValue", n);
|
|
15451
|
-
}, [t]), (t || e).value;
|
|
15452
|
-
}, Ie = (e) => {
|
|
15453
|
-
const t = j(
|
|
15454
|
-
() => (Ae(t, _().current), Me),
|
|
15455
|
-
{
|
|
15456
|
-
props: {
|
|
15457
|
-
value: {
|
|
15458
|
-
type: Object,
|
|
15459
|
-
event: { type: "UpdatedValue" },
|
|
15460
|
-
value: () => e
|
|
15461
|
-
}
|
|
15462
|
-
}
|
|
15463
|
-
}
|
|
15464
|
-
);
|
|
15465
|
-
return t.value = e, t;
|
|
15466
|
-
}, y = (e, t, n) => (t == null ? t = { key: n } : t.key = n, zt(e, t)), U = y, Kt = z`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`, Jt = z`.vh{position:absolute;transform:scale(0)}`;
|
|
15467
|
-
function it() {
|
|
15468
|
-
const e = /* @__PURE__ */ new Date();
|
|
15469
|
-
return new E(e.getFullYear(), e.getMonth() + 1, e.getDate());
|
|
15470
|
-
}
|
|
15471
|
-
function at(e, t = 0) {
|
|
15472
|
-
const n = S(e), s = n.getUTCDay(), r = (s < t ? 7 : 0) + s - t;
|
|
15473
|
-
return n.setUTCDate(n.getUTCDate() - r), E.from(n);
|
|
15474
|
-
}
|
|
15475
|
-
function Zt(e, t = 0) {
|
|
15476
|
-
return at(e, t).add({ days: 6 });
|
|
15477
|
-
}
|
|
15478
|
-
function Wt(e) {
|
|
15479
|
-
return E.from(new Date(Date.UTC(e.year, e.month, 0)));
|
|
15480
|
-
}
|
|
15481
|
-
function H(e, t, n) {
|
|
15482
|
-
return t && E.compare(e, t) < 0 ? t : n && E.compare(e, n) > 0 ? n : e;
|
|
15483
|
-
}
|
|
15484
|
-
const Ue = { days: 1 };
|
|
15485
|
-
function $e(e, t = 0) {
|
|
15486
|
-
let n = at(e.toPlainDate(), t);
|
|
15487
|
-
const s = Zt(Wt(e), t), r = [];
|
|
15488
|
-
for (; E.compare(n, s) < 0; ) {
|
|
15489
|
-
const o = [];
|
|
15490
|
-
for (let c = 0; c < 7; c++)
|
|
15491
|
-
o.push(n), n = n.add(Ue);
|
|
15492
|
-
r.push(o);
|
|
15493
|
-
}
|
|
15494
|
-
return r;
|
|
15495
|
-
}
|
|
15496
|
-
function S(e) {
|
|
15497
|
-
return new Date(Date.UTC(e.year, e.month - 1, e.day ?? 1));
|
|
15498
|
-
}
|
|
15499
|
-
const Le = /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/, X = (e, t) => e.toString().padStart(t, "0");
|
|
15500
|
-
class E {
|
|
15501
|
-
constructor(t, n, s) {
|
|
15502
|
-
this.year = t, this.month = n, this.day = s;
|
|
15503
|
-
}
|
|
15504
|
-
// this is an incomplete implementation that only handles arithmetic on a single unit at a time.
|
|
15505
|
-
// i didn't want to get into more complex arithmetic since it get tricky fast
|
|
15506
|
-
// this is enough to serve my needs and will still be a drop-in replacement when actual Temporal API lands
|
|
15507
|
-
add(t) {
|
|
15508
|
-
const n = S(this);
|
|
15509
|
-
if ("days" in t)
|
|
15510
|
-
return n.setUTCDate(this.day + t.days), E.from(n);
|
|
15511
|
-
let { year: s, month: r } = this;
|
|
15512
|
-
"months" in t ? (r = this.month + t.months, n.setUTCMonth(r - 1)) : (s = this.year + t.years, n.setUTCFullYear(s));
|
|
15513
|
-
const o = E.from(S({ year: s, month: r, day: 1 }));
|
|
15514
|
-
return H(E.from(n), o, Wt(o));
|
|
15515
|
-
}
|
|
15516
|
-
toString() {
|
|
15517
|
-
return `${X(this.year, 4)}-${X(this.month, 2)}-${X(this.day, 2)}`;
|
|
15518
|
-
}
|
|
15519
|
-
toPlainYearMonth() {
|
|
15520
|
-
return new K(this.year, this.month);
|
|
15521
|
-
}
|
|
15522
|
-
equals(t) {
|
|
15523
|
-
return E.compare(this, t) === 0;
|
|
15524
|
-
}
|
|
15525
|
-
static compare(t, n) {
|
|
15526
|
-
return t.year < n.year ? -1 : t.year > n.year ? 1 : t.month < n.month ? -1 : t.month > n.month ? 1 : t.day < n.day ? -1 : t.day > n.day ? 1 : 0;
|
|
15527
|
-
}
|
|
15528
|
-
static from(t) {
|
|
15529
|
-
if (typeof t == "string") {
|
|
15530
|
-
const n = t.match(Le);
|
|
15531
|
-
if (!n)
|
|
15532
|
-
throw new TypeError(t);
|
|
15533
|
-
const [, s, r, o] = n;
|
|
15534
|
-
return new E(
|
|
15535
|
-
parseInt(s, 10),
|
|
15536
|
-
parseInt(r, 10),
|
|
15537
|
-
parseInt(o, 10)
|
|
15538
|
-
);
|
|
15539
|
-
}
|
|
15540
|
-
return new E(
|
|
15541
|
-
t.getUTCFullYear(),
|
|
15542
|
-
t.getUTCMonth() + 1,
|
|
15543
|
-
t.getUTCDate()
|
|
15544
|
-
);
|
|
15545
|
-
}
|
|
15546
|
-
}
|
|
15547
|
-
class K {
|
|
15548
|
-
constructor(t, n) {
|
|
15549
|
-
this.year = t, this.month = n;
|
|
15550
|
-
}
|
|
15551
|
-
add(t) {
|
|
15552
|
-
const n = S(this), s = (t.months ?? 0) + (t.years ?? 0) * 12;
|
|
15553
|
-
return n.setUTCMonth(n.getUTCMonth() + s), new K(n.getUTCFullYear(), n.getUTCMonth() + 1);
|
|
15554
|
-
}
|
|
15555
|
-
equals(t) {
|
|
15556
|
-
return this.year === t.year && this.month === t.month;
|
|
15557
|
-
}
|
|
15558
|
-
toPlainDate() {
|
|
15559
|
-
return new E(this.year, this.month, 1);
|
|
15560
|
-
}
|
|
15561
|
-
}
|
|
15562
|
-
function x(e, t) {
|
|
15563
|
-
if (t)
|
|
15564
|
-
try {
|
|
15565
|
-
return e.from(t);
|
|
15566
|
-
} catch {
|
|
15567
|
-
}
|
|
15568
|
-
}
|
|
15569
|
-
function P(e) {
|
|
15570
|
-
const [t, n] = ct(e);
|
|
15571
|
-
return [T(() => x(E, t), [t]), (o) => n(o?.toString())];
|
|
15572
|
-
}
|
|
15573
|
-
function _e(e) {
|
|
15574
|
-
const [t = "", n] = ct(e);
|
|
15575
|
-
return [T(() => {
|
|
15576
|
-
const [o, c] = t.split("/"), u = x(E, o), a = x(E, c);
|
|
15577
|
-
return u && a ? [u, a] : [];
|
|
15578
|
-
}, [t]), (o) => n(`${o[0]}/${o[1]}`)];
|
|
15579
|
-
}
|
|
15580
|
-
function je(e) {
|
|
15581
|
-
const [t = "", n] = ct(e);
|
|
15582
|
-
return [T(() => {
|
|
15583
|
-
const o = [];
|
|
15584
|
-
for (const c of t.trim().split(/\s+/)) {
|
|
15585
|
-
const u = x(E, c);
|
|
15586
|
-
u && o.push(u);
|
|
15587
|
-
}
|
|
15588
|
-
return o;
|
|
15589
|
-
}, [t]), (o) => n(o.join(" "))];
|
|
15590
|
-
}
|
|
15591
|
-
function L(e, t) {
|
|
15592
|
-
return T(
|
|
15593
|
-
() => new Intl.DateTimeFormat(t, { timeZone: "UTC", ...e }),
|
|
15594
|
-
[t, e]
|
|
15595
|
-
);
|
|
15596
|
-
}
|
|
15597
|
-
function Ct(e, t, n) {
|
|
15598
|
-
const s = L(e, n);
|
|
15599
|
-
return T(() => {
|
|
15600
|
-
const r = [], o = /* @__PURE__ */ new Date();
|
|
15601
|
-
for (var c = 0; c < 7; c++) {
|
|
15602
|
-
const u = (o.getUTCDay() - t + 7) % 7;
|
|
15603
|
-
r[u] = s.format(o), o.setUTCDate(o.getUTCDate() + 1);
|
|
15604
|
-
}
|
|
15605
|
-
return r;
|
|
15606
|
-
}, [t, s]);
|
|
15607
|
-
}
|
|
15608
|
-
const Tt = (e, t, n) => H(e, t, n) === e, Pt = (e) => e.target.matches(":dir(ltr)"), Ye = { month: "long", day: "numeric" }, Be = { month: "long" }, qe = { weekday: "narrow" }, xe = { weekday: "long" }, G = { bubbles: !0 };
|
|
15609
|
-
function ze({ props: e, context: t }) {
|
|
15610
|
-
const { offset: n } = e, {
|
|
15611
|
-
firstDayOfWeek: s,
|
|
15612
|
-
isDateDisallowed: r,
|
|
15613
|
-
min: o,
|
|
15614
|
-
max: c,
|
|
15615
|
-
page: u,
|
|
15616
|
-
locale: a,
|
|
15617
|
-
focusedDate: i
|
|
15618
|
-
} = t, f = it(), d = Ct(xe, s, a), l = Ct(qe, s, a), m = L(Ye, a), v = L(Be, a), p = T(
|
|
15619
|
-
() => u.start.add({ months: n }),
|
|
15620
|
-
[u, n]
|
|
15621
|
-
), h = T(
|
|
15622
|
-
() => $e(p, s),
|
|
15623
|
-
[p, s]
|
|
15624
|
-
), b = C("focusday", G), A = C("selectday", G), Xt = C("hoverday", G);
|
|
15625
|
-
function mt(g) {
|
|
15626
|
-
b(H(g, o, c));
|
|
15627
|
-
}
|
|
15628
|
-
function Gt(g) {
|
|
15629
|
-
let D;
|
|
15630
|
-
switch (g.key) {
|
|
15631
|
-
case "ArrowRight":
|
|
15632
|
-
D = i.add({ days: Pt(g) ? 1 : -1 });
|
|
15633
|
-
break;
|
|
15634
|
-
case "ArrowLeft":
|
|
15635
|
-
D = i.add({ days: Pt(g) ? -1 : 1 });
|
|
15636
|
-
break;
|
|
15637
|
-
case "ArrowDown":
|
|
15638
|
-
D = i.add({ days: 7 });
|
|
15639
|
-
break;
|
|
15640
|
-
case "ArrowUp":
|
|
15641
|
-
D = i.add({ days: -7 });
|
|
15642
|
-
break;
|
|
15643
|
-
case "PageUp":
|
|
15644
|
-
D = i.add(g.shiftKey ? { years: -1 } : { months: -1 });
|
|
15645
|
-
break;
|
|
15646
|
-
case "PageDown":
|
|
15647
|
-
D = i.add(g.shiftKey ? { years: 1 } : { months: 1 });
|
|
15648
|
-
break;
|
|
15649
|
-
case "Home":
|
|
15650
|
-
D = at(i, s);
|
|
15651
|
-
break;
|
|
15652
|
-
case "End":
|
|
15653
|
-
D = Zt(i, s);
|
|
15654
|
-
break;
|
|
15655
|
-
default:
|
|
15656
|
-
return;
|
|
15657
|
-
}
|
|
15658
|
-
mt(D), g.preventDefault();
|
|
15659
|
-
}
|
|
15660
|
-
function Qt(g) {
|
|
15661
|
-
const D = p.equals(g);
|
|
15662
|
-
if (!t.showOutsideDays && !D)
|
|
15663
|
-
return;
|
|
15664
|
-
const Vt = g.equals(i), yt = g.equals(f), pt = S(g), Y = r?.(pt), bt = !Tt(g, o, c);
|
|
15665
|
-
let gt = "", N;
|
|
15666
|
-
if (t.type === "range") {
|
|
15667
|
-
const [F, J] = t.value, Et = F?.equals(g), vt = J?.equals(g);
|
|
15668
|
-
N = F && J && Tt(g, F, J), gt = `${Et ? "range-start" : ""} ${vt ? "range-end" : ""} ${N && !Et && !vt ? "range-inner" : ""}`;
|
|
15669
|
-
} else
|
|
15670
|
-
t.type === "multi" ? N = t.value.some((F) => F.equals(g)) : N = t.value?.equals(g);
|
|
15671
|
-
return {
|
|
15672
|
-
part: `${`button day ${// we don't want outside days to ever be shown as selected
|
|
15673
|
-
D ? N ? "selected" : "" : "outside"} ${Y ? "disallowed" : ""} ${yt ? "today" : ""}`} ${gt}`,
|
|
15674
|
-
tabindex: D && Vt ? 0 : -1,
|
|
15675
|
-
disabled: bt,
|
|
15676
|
-
"aria-disabled": Y ? "true" : void 0,
|
|
15677
|
-
"aria-pressed": D && N,
|
|
15678
|
-
"aria-current": yt ? "date" : void 0,
|
|
15679
|
-
"aria-label": m.format(pt),
|
|
15680
|
-
onkeydown: Gt,
|
|
15681
|
-
onclick() {
|
|
15682
|
-
Y || A(g), mt(g);
|
|
15683
|
-
},
|
|
15684
|
-
onmouseover() {
|
|
15685
|
-
!Y && !bt && Xt(g);
|
|
15686
|
-
}
|
|
15687
|
-
};
|
|
15688
|
-
}
|
|
15689
|
-
return {
|
|
15690
|
-
weeks: h,
|
|
15691
|
-
yearMonth: p,
|
|
15692
|
-
daysLong: d,
|
|
15693
|
-
daysShort: l,
|
|
15694
|
-
formatter: v,
|
|
15695
|
-
getDayProps: Qt
|
|
15696
|
-
};
|
|
15697
|
-
}
|
|
15698
|
-
const Q = it(), lt = Ie({
|
|
15699
|
-
type: "date",
|
|
15700
|
-
firstDayOfWeek: 1,
|
|
15701
|
-
isDateDisallowed: () => !1,
|
|
15702
|
-
focusedDate: Q,
|
|
15703
|
-
page: { start: Q.toPlainYearMonth(), end: Q.toPlainYearMonth() }
|
|
15704
|
-
});
|
|
15705
|
-
customElements.define("calendar-month-ctx", lt);
|
|
15706
|
-
const He = j(
|
|
15707
|
-
(e) => {
|
|
15708
|
-
const t = Re(lt), n = se(), s = ze({ props: e, context: t });
|
|
15709
|
-
function r() {
|
|
15710
|
-
n.current.querySelector("button[tabindex='0']")?.focus();
|
|
15711
|
-
}
|
|
15712
|
-
return /* @__PURE__ */ U("host", { shadowDom: !0, focus: r, children: [
|
|
15713
|
-
/* @__PURE__ */ y("div", { id: "h", part: "heading", children: s.formatter.format(S(s.yearMonth)) }),
|
|
15714
|
-
/* @__PURE__ */ U("table", { ref: n, "aria-labelledby": "h", part: "table", children: [
|
|
15715
|
-
/* @__PURE__ */ y("thead", { children: /* @__PURE__ */ y("tr", { part: "tr head", children: s.daysLong.map((o, c) => /* @__PURE__ */ U("th", { part: "th", scope: "col", children: [
|
|
15716
|
-
/* @__PURE__ */ y("span", { class: "vh", children: o }),
|
|
15717
|
-
/* @__PURE__ */ y("span", { "aria-hidden": "true", children: s.daysShort[c] })
|
|
15718
|
-
] })) }) }),
|
|
15719
|
-
/* @__PURE__ */ y("tbody", { children: s.weeks.map((o, c) => /* @__PURE__ */ y("tr", { part: "tr week", children: o.map((u, a) => {
|
|
15720
|
-
const i = s.getDayProps(u);
|
|
15721
|
-
return /* @__PURE__ */ y("td", { part: "td", children: i && /* @__PURE__ */ y("button", { ...i, children: u.day }) }, a);
|
|
15722
|
-
}) }, c)) })
|
|
15723
|
-
] })
|
|
15724
|
-
] });
|
|
15725
|
-
},
|
|
15726
|
-
{
|
|
15727
|
-
props: {
|
|
15728
|
-
offset: {
|
|
15729
|
-
type: Number,
|
|
15730
|
-
value: 0
|
|
15731
|
-
}
|
|
15732
|
-
},
|
|
15733
|
-
styles: [
|
|
15734
|
-
Kt,
|
|
15735
|
-
Jt,
|
|
15736
|
-
z`:host{--color-accent: black;--color-text-on-accent: white;display:flex;flex-direction:column;gap:.25rem;text-align:center;inline-size:fit-content}table{border-collapse:collapse;font-size:.875rem}th{font-weight:700;block-size:2.25rem}td{padding-inline:0}button{color:inherit;font-size:inherit;background:transparent;border:0;font-variant-numeric:tabular-nums;block-size:2.25rem;inline-size:2.25rem}button:hover:where(:not(:disabled,[aria-disabled])){background:#0000000d}button:is([aria-pressed=true],:focus-visible){background:var(--color-accent);color:var(--color-text-on-accent)}button:focus-visible{outline:1px solid var(--color-text-on-accent);outline-offset:-2px}button:disabled,:host::part(outside),:host::part(disallowed){cursor:default;opacity:.5}`
|
|
15737
|
-
]
|
|
15738
|
-
}
|
|
15739
|
-
);
|
|
15740
|
-
customElements.define("calendar-month", He);
|
|
15741
|
-
function Nt(e) {
|
|
15742
|
-
return /* @__PURE__ */ y(
|
|
15743
|
-
"button",
|
|
15744
|
-
{
|
|
15745
|
-
part: `button ${e.name} ${e.onclick ? "" : "disabled"}`,
|
|
15746
|
-
onclick: e.onclick,
|
|
15747
|
-
"aria-disabled": e.onclick ? null : "true",
|
|
15748
|
-
children: /* @__PURE__ */ y("slot", { name: e.name, children: e.children })
|
|
15749
|
-
}
|
|
15750
|
-
);
|
|
15751
|
-
}
|
|
15752
|
-
function ut(e) {
|
|
15753
|
-
const t = S(e.page.start), n = S(e.page.end);
|
|
15754
|
-
return /* @__PURE__ */ U("div", { role: "group", "aria-labelledby": "h", part: "container", children: [
|
|
15755
|
-
/* @__PURE__ */ y("div", { id: "h", class: "vh", "aria-live": "polite", "aria-atomic": "true", children: e.formatVerbose.formatRange(t, n) }),
|
|
15756
|
-
/* @__PURE__ */ U("div", { part: "header", children: [
|
|
15757
|
-
/* @__PURE__ */ y(Nt, { name: "previous", onclick: e.previous, children: "Previous" }),
|
|
15758
|
-
/* @__PURE__ */ y("slot", { part: "heading", name: "heading", children: /* @__PURE__ */ y("div", { "aria-hidden": "true", children: e.format.formatRange(t, n) }) }),
|
|
15759
|
-
/* @__PURE__ */ y(Nt, { name: "next", onclick: e.next, children: "Next" })
|
|
15760
|
-
] }),
|
|
15761
|
-
/* @__PURE__ */ y(
|
|
15762
|
-
lt,
|
|
15763
|
-
{
|
|
15764
|
-
value: e,
|
|
15765
|
-
onselectday: e.onSelect,
|
|
15766
|
-
onfocusday: e.onFocus,
|
|
15767
|
-
onhoverday: e.onHover,
|
|
15768
|
-
children: /* @__PURE__ */ y("slot", {})
|
|
15769
|
-
}
|
|
15770
|
-
)
|
|
15771
|
-
] });
|
|
15772
|
-
}
|
|
15773
|
-
const ft = {
|
|
15774
|
-
value: {
|
|
15775
|
-
type: String,
|
|
15776
|
-
value: ""
|
|
15777
|
-
},
|
|
15778
|
-
min: {
|
|
15779
|
-
type: String,
|
|
15780
|
-
value: ""
|
|
15781
|
-
},
|
|
15782
|
-
max: {
|
|
15783
|
-
type: String,
|
|
15784
|
-
value: ""
|
|
15785
|
-
},
|
|
15786
|
-
isDateDisallowed: {
|
|
15787
|
-
type: Function,
|
|
15788
|
-
value: (e) => !1
|
|
15789
|
-
},
|
|
15790
|
-
firstDayOfWeek: {
|
|
15791
|
-
type: Number,
|
|
15792
|
-
value: () => 1
|
|
15793
|
-
},
|
|
15794
|
-
showOutsideDays: {
|
|
15795
|
-
type: Boolean,
|
|
15796
|
-
value: !1
|
|
15797
|
-
},
|
|
15798
|
-
locale: {
|
|
15799
|
-
type: String,
|
|
15800
|
-
value: () => {
|
|
15801
|
-
}
|
|
15802
|
-
},
|
|
15803
|
-
months: {
|
|
15804
|
-
type: Number,
|
|
15805
|
-
value: 1
|
|
15806
|
-
},
|
|
15807
|
-
focusedDate: {
|
|
15808
|
-
type: String,
|
|
15809
|
-
value: () => {
|
|
15810
|
-
}
|
|
15811
|
-
},
|
|
15812
|
-
pageBy: {
|
|
15813
|
-
type: String,
|
|
15814
|
-
value: () => "months"
|
|
15815
|
-
}
|
|
15816
|
-
}, dt = [
|
|
15817
|
-
Kt,
|
|
15818
|
-
Jt,
|
|
15819
|
-
z`:host{display:block;inline-size:fit-content}[role=group]{display:flex;flex-direction:column;gap:1em}:host::part(header){display:flex;align-items:center;justify-content:space-between}:host::part(heading){font-weight:700;font-size:1.25em}button{display:flex;align-items:center;justify-content:center}button[aria-disabled]{cursor:default;opacity:.5}`
|
|
15820
|
-
], Ke = { year: "numeric" }, Je = { year: "numeric", month: "long" };
|
|
15821
|
-
function V(e, t) {
|
|
15822
|
-
return (t.year - e.year) * 12 + t.month - e.month;
|
|
15823
|
-
}
|
|
15824
|
-
const kt = (e, t) => (e = t === 12 ? new K(e.year, 1) : e, {
|
|
15825
|
-
start: e,
|
|
15826
|
-
end: e.add({ months: t - 1 })
|
|
15827
|
-
});
|
|
15828
|
-
function Ze({
|
|
15829
|
-
pageBy: e,
|
|
15830
|
-
focusedDate: t,
|
|
15831
|
-
months: n,
|
|
15832
|
-
max: s,
|
|
15833
|
-
min: r,
|
|
15834
|
-
goto: o
|
|
15835
|
-
}) {
|
|
15836
|
-
const c = e === "single" ? 1 : n, [u, a] = rt(
|
|
15837
|
-
() => kt(t.toPlainYearMonth(), n)
|
|
15838
|
-
), i = (d) => a(kt(u.start.add({ months: d }), n)), f = (d) => {
|
|
15839
|
-
const l = V(u.start, d.toPlainYearMonth());
|
|
15840
|
-
return l >= 0 && l < n;
|
|
15841
|
-
};
|
|
15842
|
-
return $(() => {
|
|
15843
|
-
if (f(t))
|
|
15844
|
-
return;
|
|
15845
|
-
const d = V(t.toPlainYearMonth(), u.start);
|
|
15846
|
-
o(t.add({ months: d }));
|
|
15847
|
-
}, [u.start]), $(() => {
|
|
15848
|
-
if (f(t))
|
|
15849
|
-
return;
|
|
15850
|
-
const d = V(u.start, t.toPlainYearMonth());
|
|
15851
|
-
i(d === -1 ? -c : d === n ? c : Math.floor(d / n) * n);
|
|
15852
|
-
}, [t, c, n]), {
|
|
15853
|
-
page: u,
|
|
15854
|
-
previous: !r || !f(r) ? () => i(-c) : void 0,
|
|
15855
|
-
next: !s || !f(s) ? () => i(c) : void 0
|
|
15856
|
-
};
|
|
15857
|
-
}
|
|
15858
|
-
function ht({
|
|
15859
|
-
months: e,
|
|
15860
|
-
pageBy: t,
|
|
15861
|
-
locale: n,
|
|
15862
|
-
focusedDate: s,
|
|
15863
|
-
setFocusedDate: r
|
|
15864
|
-
}) {
|
|
15865
|
-
const [o] = P("min"), [c] = P("max"), u = C("focusday"), a = C("change"), i = T(
|
|
15866
|
-
() => H(s ?? it(), o, c),
|
|
15867
|
-
[s, o, c]
|
|
15868
|
-
);
|
|
15869
|
-
function f(h) {
|
|
15870
|
-
r(h), u(S(h));
|
|
15871
|
-
}
|
|
15872
|
-
const { next: d, previous: l, page: m } = Ze({
|
|
15873
|
-
pageBy: t,
|
|
15874
|
-
focusedDate: i,
|
|
15875
|
-
months: e,
|
|
15876
|
-
min: o,
|
|
15877
|
-
max: c,
|
|
15878
|
-
goto: f
|
|
15879
|
-
}), v = _();
|
|
15880
|
-
function p() {
|
|
15881
|
-
v.current.querySelectorAll("calendar-month").forEach((h) => h.focus());
|
|
15882
|
-
}
|
|
15883
|
-
return {
|
|
15884
|
-
format: L(Ke, n),
|
|
15885
|
-
formatVerbose: L(Je, n),
|
|
15886
|
-
page: m,
|
|
15887
|
-
focusedDate: i,
|
|
15888
|
-
dispatch: a,
|
|
15889
|
-
onFocus(h) {
|
|
15890
|
-
h.stopPropagation(), f(h.detail), setTimeout(p);
|
|
15891
|
-
},
|
|
15892
|
-
min: o,
|
|
15893
|
-
max: c,
|
|
15894
|
-
next: d,
|
|
15895
|
-
previous: l,
|
|
15896
|
-
focus: p
|
|
15897
|
-
};
|
|
15898
|
-
}
|
|
15899
|
-
const We = j(
|
|
15900
|
-
(e) => {
|
|
15901
|
-
const [t, n] = P("value"), [s = t, r] = P("focusedDate"), o = ht({
|
|
15902
|
-
...e,
|
|
15903
|
-
focusedDate: s,
|
|
15904
|
-
setFocusedDate: r
|
|
15905
|
-
});
|
|
15906
|
-
function c(u) {
|
|
15907
|
-
n(u.detail), o.dispatch();
|
|
15908
|
-
}
|
|
15909
|
-
return /* @__PURE__ */ y("host", { shadowDom: !0, focus: o.focus, children: /* @__PURE__ */ y(
|
|
15910
|
-
ut,
|
|
15911
|
-
{
|
|
15912
|
-
...e,
|
|
15913
|
-
...o,
|
|
15914
|
-
type: "date",
|
|
15915
|
-
value: t,
|
|
15916
|
-
onSelect: c
|
|
15917
|
-
}
|
|
15918
|
-
) });
|
|
15919
|
-
},
|
|
15920
|
-
{ props: ft, styles: dt }
|
|
15921
|
-
);
|
|
15922
|
-
customElements.define("calendar-date", We);
|
|
15923
|
-
const Ot = (e, t) => E.compare(e, t) < 0 ? [e, t] : [t, e], Xe = j(
|
|
15924
|
-
(e) => {
|
|
15925
|
-
const [t, n] = _e("value"), [s = t[0], r] = P("focusedDate"), o = ht({
|
|
15926
|
-
...e,
|
|
15927
|
-
focusedDate: s,
|
|
15928
|
-
setFocusedDate: r
|
|
15929
|
-
}), c = C("rangestart"), u = C("rangeend"), [a, i] = P(
|
|
15930
|
-
"tentative"
|
|
15931
|
-
), [f, d] = rt();
|
|
15932
|
-
$(() => d(void 0), [a]);
|
|
15933
|
-
function l(h) {
|
|
15934
|
-
o.onFocus(h), m(h);
|
|
15935
|
-
}
|
|
15936
|
-
function m(h) {
|
|
15937
|
-
h.stopPropagation(), a && d(h.detail);
|
|
15938
|
-
}
|
|
15939
|
-
function v(h) {
|
|
15940
|
-
const b = h.detail;
|
|
15941
|
-
h.stopPropagation(), a ? (n(Ot(a, b)), i(void 0), u(S(b)), o.dispatch()) : (i(b), c(S(b)));
|
|
15942
|
-
}
|
|
15943
|
-
const p = a ? Ot(a, f ?? a) : t;
|
|
15944
|
-
return /* @__PURE__ */ y("host", { shadowDom: !0, focus: o.focus, children: /* @__PURE__ */ y(
|
|
15945
|
-
ut,
|
|
15946
|
-
{
|
|
15947
|
-
...e,
|
|
15948
|
-
...o,
|
|
15949
|
-
type: "range",
|
|
15950
|
-
value: p,
|
|
15951
|
-
onFocus: l,
|
|
15952
|
-
onHover: m,
|
|
15953
|
-
onSelect: v
|
|
15954
|
-
}
|
|
15955
|
-
) });
|
|
15956
|
-
},
|
|
15957
|
-
{
|
|
15958
|
-
props: {
|
|
15959
|
-
...ft,
|
|
15960
|
-
tentative: {
|
|
15961
|
-
type: String,
|
|
15962
|
-
value: ""
|
|
15963
|
-
}
|
|
15964
|
-
},
|
|
15965
|
-
styles: dt
|
|
15966
|
-
}
|
|
15967
|
-
);
|
|
15968
|
-
customElements.define("calendar-range", Xe);
|
|
15969
|
-
const Ge = j(
|
|
15970
|
-
(e) => {
|
|
15971
|
-
const [t, n] = je("value"), [s = t[0], r] = P("focusedDate"), o = ht({
|
|
15972
|
-
...e,
|
|
15973
|
-
focusedDate: s,
|
|
15974
|
-
setFocusedDate: r
|
|
15975
|
-
});
|
|
15976
|
-
function c(u) {
|
|
15977
|
-
const a = [...t], i = t.findIndex((f) => f.equals(u.detail));
|
|
15978
|
-
i < 0 ? a.push(u.detail) : a.splice(i, 1), n(a), o.dispatch();
|
|
15979
|
-
}
|
|
15980
|
-
return /* @__PURE__ */ y("host", { shadowDom: !0, focus: o.focus, children: /* @__PURE__ */ y(
|
|
15981
|
-
ut,
|
|
15982
|
-
{
|
|
15983
|
-
...e,
|
|
15984
|
-
...o,
|
|
15985
|
-
type: "multi",
|
|
15986
|
-
value: t,
|
|
15987
|
-
onSelect: c
|
|
15988
|
-
}
|
|
15989
|
-
) });
|
|
15990
|
-
},
|
|
15991
|
-
{ props: ft, styles: dt }
|
|
15992
|
-
);
|
|
15993
|
-
customElements.define("calendar-multi", Ge);
|
|
15994
|
-
|
|
15995
|
-
var cally = /*#__PURE__*/Object.freeze({
|
|
15996
|
-
__proto__: null,
|
|
15997
|
-
CalendarDate: We,
|
|
15998
|
-
CalendarMonth: He,
|
|
15999
|
-
CalendarMulti: Ge,
|
|
16000
|
-
CalendarRange: Xe
|
|
16001
|
-
});
|
|
16002
|
-
|
|
16003
15355
|
exports.hydrateApp = hydrateApp;
|
|
16004
15356
|
|
|
16005
15357
|
|
|
@@ -16108,7 +15460,7 @@ var NAMESPACE = (
|
|
|
16108
15460
|
);
|
|
16109
15461
|
|
|
16110
15462
|
/*
|
|
16111
|
-
Stencil Hydrate Runner v4.
|
|
15463
|
+
Stencil Hydrate Runner v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
16112
15464
|
*/
|
|
16113
15465
|
var __defProp = Object.defineProperty;
|
|
16114
15466
|
var __export = (target, all) => {
|
|
@@ -26525,7 +25877,7 @@ function normalizeSerializationOptions(opts = {}) {
|
|
|
26525
25877
|
removeAttributeQuotes: typeof opts.removeAttributeQuotes !== "boolean" ? false : opts.removeAttributeQuotes,
|
|
26526
25878
|
removeBooleanAttributeQuotes: typeof opts.removeBooleanAttributeQuotes !== "boolean" ? false : opts.removeBooleanAttributeQuotes,
|
|
26527
25879
|
removeHtmlComments: typeof opts.removeHtmlComments !== "boolean" ? false : opts.removeHtmlComments,
|
|
26528
|
-
serializeShadowRoot: typeof opts.serializeShadowRoot
|
|
25880
|
+
serializeShadowRoot: typeof opts.serializeShadowRoot === "undefined" ? "declarative-shadow-dom" : opts.serializeShadowRoot,
|
|
26529
25881
|
fullDocument: typeof opts.fullDocument !== "boolean" ? true : opts.fullDocument
|
|
26530
25882
|
};
|
|
26531
25883
|
}
|
|
@@ -26654,7 +26006,7 @@ style="${cssText}">`;
|
|
|
26654
26006
|
}
|
|
26655
26007
|
if (EMPTY_ELEMENTS.has(tagName) === false) {
|
|
26656
26008
|
const shadowRoot = node.shadowRoot;
|
|
26657
|
-
if (shadowRoot != null && opts.serializeShadowRoot) {
|
|
26009
|
+
if (shadowRoot != null && opts.serializeShadowRoot !== false) {
|
|
26658
26010
|
output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
|
|
26659
26011
|
yield* streamToHtml(shadowRoot, opts, output);
|
|
26660
26012
|
output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
|
|
@@ -30396,6 +29748,31 @@ var unwrapErr = (result) => {
|
|
|
30396
29748
|
}
|
|
30397
29749
|
};
|
|
30398
29750
|
|
|
29751
|
+
// src/utils/shadow-css.ts
|
|
29752
|
+
/**
|
|
29753
|
+
* @license
|
|
29754
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
29755
|
+
*
|
|
29756
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
29757
|
+
* found in the LICENSE file at https://angular.io/license
|
|
29758
|
+
*
|
|
29759
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
29760
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
29761
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
29762
|
+
*/
|
|
29763
|
+
var _polyfillHost = "-shadowcsshost";
|
|
29764
|
+
var _polyfillSlotted = "-shadowcssslotted";
|
|
29765
|
+
var _polyfillHostContext = "-shadowcsscontext";
|
|
29766
|
+
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
29767
|
+
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
29768
|
+
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
29769
|
+
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
29770
|
+
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
29771
|
+
var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
|
|
29772
|
+
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
29773
|
+
var _colonHostRe = createSupportsRuleRe(":host");
|
|
29774
|
+
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
29775
|
+
|
|
30399
29776
|
// src/runtime/mode.ts
|
|
30400
29777
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
30401
29778
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
@@ -31584,7 +30961,7 @@ function renderToString(html, options, asStream) {
|
|
|
31584
30961
|
const opts = normalizeHydrateOptions(options);
|
|
31585
30962
|
opts.serializeToHtml = true;
|
|
31586
30963
|
opts.fullDocument = typeof opts.fullDocument === "boolean" ? opts.fullDocument : true;
|
|
31587
|
-
opts.serializeShadowRoot = typeof opts.serializeShadowRoot === "
|
|
30964
|
+
opts.serializeShadowRoot = typeof opts.serializeShadowRoot === "undefined" ? "declarative-shadow-dom" : opts.serializeShadowRoot;
|
|
31588
30965
|
opts.constrainTimeouts = false;
|
|
31589
30966
|
return hydrateDocument(html, opts, asStream);
|
|
31590
30967
|
}
|