@beeq/core 1.8.3 → 1.8.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beeq/beeq.esm.js +1 -1
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +1 -1
- package/dist/beeq/{p-b0d168c8.entry.js → p-01b3d2a5.entry.js} +2 -2
- package/dist/beeq/p-01b3d2a5.entry.js.map +1 -0
- package/dist/beeq/{p-e655938a.entry.js → p-0ac37ff8.entry.js} +2 -2
- package/dist/beeq/{p-803269b3.entry.js → p-1a8f376a.entry.js} +2 -2
- package/dist/beeq/{p-15bf8ffd.entry.js → p-22188233.entry.js} +2 -2
- package/dist/beeq/p-22188233.entry.js.map +1 -0
- package/dist/beeq/{p-3806d9e3.entry.js → p-24135e46.entry.js} +2 -2
- package/dist/beeq/{p-90165aef.entry.js → p-260877e5.entry.js} +2 -2
- package/dist/beeq/{p-90165aef.entry.js.map → p-260877e5.entry.js.map} +1 -1
- 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-dafa4162.entry.js → p-28adda86.entry.js} +2 -2
- package/dist/beeq/{p-dafa4162.entry.js.map → p-28adda86.entry.js.map} +1 -1
- package/dist/beeq/{p-e4dd6ff4.js → p-2b530ad4.js} +2 -2
- package/dist/beeq/{p-cb9fa154.entry.js → p-2f9fc4d4.entry.js} +2 -2
- package/dist/beeq/p-2f9fc4d4.entry.js.map +1 -0
- package/dist/beeq/{p-19ea2c90.entry.js → p-34f25f24.entry.js} +2 -2
- package/dist/beeq/p-34f25f24.entry.js.map +1 -0
- package/dist/beeq/{p-c42f9ac5.entry.js → p-38ee4c02.entry.js} +2 -2
- package/dist/beeq/{p-b7b3f7c6.entry.js → p-3f5865c0.entry.js} +2 -2
- package/dist/beeq/{p-9a7af424.entry.js → p-45bfda93.entry.js} +2 -2
- package/dist/beeq/p-4a5c07f9.js +7 -0
- package/dist/beeq/p-4a5c07f9.js.map +1 -0
- package/dist/beeq/{p-a4e11bbc.entry.js → p-4ddb6bdb.entry.js} +2 -2
- package/dist/beeq/p-4ddb6bdb.entry.js.map +1 -0
- package/dist/beeq/{p-19f5a833.entry.js → p-6195e6e5.entry.js} +2 -2
- package/dist/beeq/p-6195e6e5.entry.js.map +1 -0
- package/dist/beeq/{p-a8075be3.entry.js → p-63b4f8f9.entry.js} +2 -2
- package/dist/beeq/{p-4d21a49d.entry.js → p-648da701.entry.js} +2 -2
- package/dist/beeq/{p-3fe626f1.entry.js → p-6764f11f.entry.js} +2 -2
- package/dist/beeq/p-6764f11f.entry.js.map +1 -0
- package/dist/beeq/{p-b69f347d.entry.js → p-7478cf0a.entry.js} +2 -2
- package/dist/beeq/p-7478cf0a.entry.js.map +1 -0
- package/dist/beeq/{p-a8d64d1b.entry.js → p-7bb8664c.entry.js} +2 -2
- package/dist/beeq/{p-7585f825.entry.js → p-7ff775a3.entry.js} +2 -2
- package/dist/beeq/{p-5546f242.entry.js → p-801f7b25.entry.js} +2 -2
- package/dist/beeq/p-852225bc.js +6 -0
- package/dist/beeq/{p-ba1f9637.entry.js → p-8b63d8fc.entry.js} +2 -2
- package/dist/beeq/p-8b63d8fc.entry.js.map +1 -0
- package/dist/beeq/{p-e8f147c2.entry.js → p-8c011151.entry.js} +2 -2
- package/dist/beeq/p-8c011151.entry.js.map +1 -0
- package/dist/beeq/{p-70310ac8.entry.js → p-8d9f797d.entry.js} +2 -2
- package/dist/beeq/p-8d9f797d.entry.js.map +1 -0
- package/dist/beeq/{p-7efff703.entry.js → p-9a803ecf.entry.js} +2 -2
- package/dist/beeq/{p-b129db1a.entry.js → p-9eea4f4f.entry.js} +2 -2
- package/dist/beeq/{p-ed569a61.entry.js → p-a3c36d6c.entry.js} +2 -2
- package/dist/beeq/{p-bbaad491.entry.js → p-a620392e.entry.js} +2 -2
- package/dist/beeq/{p-66b6d69a.entry.js → p-a661454e.entry.js} +2 -2
- package/dist/beeq/{p-4500ffe5.entry.js → p-a7c4f022.entry.js} +2 -2
- package/dist/beeq/p-abda6f6c.entry.js +6 -0
- package/dist/beeq/p-abda6f6c.entry.js.map +1 -0
- package/dist/beeq/{p-65d67b85.entry.js → p-abf83b5c.entry.js} +2 -2
- package/dist/beeq/p-abf83b5c.entry.js.map +1 -0
- package/dist/beeq/{p-39a80765.entry.js → p-b044c5f6.entry.js} +2 -2
- package/dist/beeq/p-b044c5f6.entry.js.map +1 -0
- package/dist/beeq/{p-3f654a12.entry.js → p-b1ab6b7f.entry.js} +2 -2
- package/dist/beeq/{p-dbac0368.entry.js → p-b89dcf37.entry.js} +2 -2
- package/dist/beeq/p-b89dcf37.entry.js.map +1 -0
- package/dist/beeq/{p-f4e8ebd3.entry.js → p-ba8b92f1.entry.js} +2 -2
- package/dist/beeq/{p-8ed41b69.entry.js → p-bc1980d8.entry.js} +2 -2
- package/dist/beeq/{p-59a1b546.entry.js → p-c63ee3df.entry.js} +2 -2
- package/dist/beeq/p-c63ee3df.entry.js.map +1 -0
- package/dist/beeq/{p-ee1ecb6e.entry.js → p-f48c3ca7.entry.js} +2 -2
- package/dist/beeq.html-custom-data.json +169 -169
- package/dist/cjs/{assetsPath-32c4030b.js → assetsPath-95e7f5ab.js} +2 -2
- package/dist/cjs/{assetsPath-32c4030b.js.map → assetsPath-95e7f5ab.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 +9 -6
- 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-d734f710.js} +13 -11
- package/dist/cjs/index-d734f710.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{isDefined-5e8aae9d.js → isDefined-642f676a.js} +2 -2
- package/dist/cjs/{isDefined-5e8aae9d.js.map → isDefined-642f676a.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/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 +7 -12
- 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-d7ce7165.js → p-260d4ca0.js} +2 -2
- package/dist/components/{p-d7ce7165.js.map → p-260d4ca0.js.map} +1 -1
- package/dist/components/{p-9a115ee5.js → p-263a1cc6.js} +2 -2
- package/dist/components/{p-5b34bd04.js → p-33faef06.js} +2 -2
- package/dist/components/p-46f7e0e3.js +6 -0
- package/dist/components/p-46f7e0e3.js.map +1 -0
- package/dist/components/{p-ac26ffcd.js → p-5c61f1f5.js} +2 -2
- package/dist/components/p-6078fd87.js +6 -0
- package/dist/components/{p-8d8eeb62.js → p-6478d24c.js} +2 -2
- package/dist/components/{p-f5588ccd.js → p-6c1e486c.js} +2 -2
- package/dist/components/p-6c1e486c.js.map +1 -0
- package/dist/components/{p-a02c6b73.js → p-71751caa.js} +2 -2
- package/dist/components/p-71751caa.js.map +1 -0
- package/dist/components/{p-b50adb19.js → p-8d04a487.js} +2 -2
- package/dist/components/p-a731ba87.js +6 -0
- package/dist/components/p-a731ba87.js.map +1 -0
- package/dist/components/{p-c58e0d87.js → p-f7c2d883.js} +2 -2
- package/dist/custom-elements.json +2790 -2857
- package/dist/esm/{assetsPath-57848212.js → assetsPath-060da522.js} +2 -2
- package/dist/esm/{assetsPath-57848212.js.map → assetsPath-060da522.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 +9 -6
- 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-46823bdb.js} +13 -11
- package/dist/esm/index-46823bdb.js.map +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/{isDefined-30b8b652.js → isDefined-8bdbf6b8.js} +2 -2
- package/dist/esm/{isDefined-30b8b652.js.map → isDefined-8bdbf6b8.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.js +225 -1282
- package/dist/hydrate/index.mjs +225 -1282
- 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-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-e655938a.entry.js.map → p-0ac37ff8.entry.js.map} +0 -0
- /package/dist/beeq/{p-803269b3.entry.js.map → p-1a8f376a.entry.js.map} +0 -0
- /package/dist/beeq/{p-3806d9e3.entry.js.map → p-24135e46.entry.js.map} +0 -0
- /package/dist/beeq/{p-e4dd6ff4.js.map → p-2b530ad4.js.map} +0 -0
- /package/dist/beeq/{p-c42f9ac5.entry.js.map → p-38ee4c02.entry.js.map} +0 -0
- /package/dist/beeq/{p-b7b3f7c6.entry.js.map → p-3f5865c0.entry.js.map} +0 -0
- /package/dist/beeq/{p-9a7af424.entry.js.map → p-45bfda93.entry.js.map} +0 -0
- /package/dist/beeq/{p-a8075be3.entry.js.map → p-63b4f8f9.entry.js.map} +0 -0
- /package/dist/beeq/{p-4d21a49d.entry.js.map → p-648da701.entry.js.map} +0 -0
- /package/dist/beeq/{p-a8d64d1b.entry.js.map → p-7bb8664c.entry.js.map} +0 -0
- /package/dist/beeq/{p-7585f825.entry.js.map → p-7ff775a3.entry.js.map} +0 -0
- /package/dist/beeq/{p-5546f242.entry.js.map → p-801f7b25.entry.js.map} +0 -0
- /package/dist/beeq/{p-cf923c68.js.map → p-852225bc.js.map} +0 -0
- /package/dist/beeq/{p-7efff703.entry.js.map → p-9a803ecf.entry.js.map} +0 -0
- /package/dist/beeq/{p-b129db1a.entry.js.map → p-9eea4f4f.entry.js.map} +0 -0
- /package/dist/beeq/{p-ed569a61.entry.js.map → p-a3c36d6c.entry.js.map} +0 -0
- /package/dist/beeq/{p-bbaad491.entry.js.map → p-a620392e.entry.js.map} +0 -0
- /package/dist/beeq/{p-66b6d69a.entry.js.map → p-a661454e.entry.js.map} +0 -0
- /package/dist/beeq/{p-4500ffe5.entry.js.map → p-a7c4f022.entry.js.map} +0 -0
- /package/dist/beeq/{p-3f654a12.entry.js.map → p-b1ab6b7f.entry.js.map} +0 -0
- /package/dist/beeq/{p-f4e8ebd3.entry.js.map → p-ba8b92f1.entry.js.map} +0 -0
- /package/dist/beeq/{p-8ed41b69.entry.js.map → p-bc1980d8.entry.js.map} +0 -0
- /package/dist/beeq/{p-ee1ecb6e.entry.js.map → p-f48c3ca7.entry.js.map} +0 -0
- /package/dist/components/{p-9a115ee5.js.map → p-263a1cc6.js.map} +0 -0
- /package/dist/components/{p-5b34bd04.js.map → p-33faef06.js.map} +0 -0
- /package/dist/components/{p-ac26ffcd.js.map → p-5c61f1f5.js.map} +0 -0
- /package/dist/components/{p-6e0c7ab4.js.map → p-6078fd87.js.map} +0 -0
- /package/dist/components/{p-8d8eeb62.js.map → p-6478d24c.js.map} +0 -0
- /package/dist/components/{p-b50adb19.js.map → p-8d04a487.js.map} +0 -0
- /package/dist/components/{p-c58e0d87.js.map → p-f7c2d883.js.map} +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/packages/beeq/.stencil/packages/beeq/stencil.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/packages/beeq/.stencil/tailwind.config.d.ts +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.25.
|
|
134
|
+
Stencil Hydrate Platform v4.25.3 | MIT Licensed | https://stenciljs.com
|
|
135
135
|
*/
|
|
136
136
|
var __defProp = Object.defineProperty;
|
|
137
137
|
var __export = (target, all) => {
|
|
@@ -506,6 +506,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
if (childRenderNode.$tag$ === "slot") {
|
|
509
|
+
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
509
510
|
if (childRenderNode.$children$) {
|
|
510
511
|
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
511
512
|
if (!childRenderNode.$elm$.childNodes.length) {
|
|
@@ -567,11 +568,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
567
568
|
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
568
569
|
shadowRoot.appendChild(shadowRootNodes[rnIdex]);
|
|
569
570
|
}
|
|
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
571
|
}
|
|
576
572
|
hostRef.$hostElement$ = hostElm;
|
|
577
573
|
endHydrate();
|
|
@@ -1693,9 +1689,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1693
1689
|
}
|
|
1694
1690
|
};
|
|
1695
1691
|
var appDidLoad = (who) => {
|
|
1696
|
-
{
|
|
1697
|
-
addHydratedFlag(doc.documentElement);
|
|
1698
|
-
}
|
|
1699
1692
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1700
1693
|
};
|
|
1701
1694
|
var safeCall = (instance, method, arg, elm) => {
|
|
@@ -1926,7 +1919,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1926
1919
|
let Cstr;
|
|
1927
1920
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1928
1921
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1929
|
-
|
|
1922
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1923
|
+
if (bundleId) {
|
|
1930
1924
|
const CstrImport = loadModule(cmpMeta);
|
|
1931
1925
|
if (CstrImport && "then" in CstrImport) {
|
|
1932
1926
|
const endLoad = uniqueTime();
|
|
@@ -1962,6 +1956,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1962
1956
|
}
|
|
1963
1957
|
endNewInstance();
|
|
1964
1958
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1959
|
+
} else {
|
|
1960
|
+
Cstr = elm.constructor;
|
|
1961
|
+
const cmpTag = elm.localName;
|
|
1962
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1965
1963
|
}
|
|
1966
1964
|
if (Cstr && Cstr.style) {
|
|
1967
1965
|
let style;
|
|
@@ -2297,16 +2295,21 @@ function proxyHostElement(elm, cstr) {
|
|
|
2297
2295
|
configurable: true,
|
|
2298
2296
|
enumerable: true
|
|
2299
2297
|
});
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2298
|
+
if (!cstr.prototype.__stencilAugmented) {
|
|
2299
|
+
Object.defineProperty(cstr.prototype, memberName, {
|
|
2300
|
+
get: function() {
|
|
2301
|
+
var _a2;
|
|
2302
|
+
const ref = getHostRef(this);
|
|
2303
|
+
const attrPropVal2 = (_a2 = ref.$instanceValues$) == null ? void 0 : _a2.get(memberName);
|
|
2304
|
+
if (origGetter && attrPropVal2 === void 0 && !getValue(this, memberName)) {
|
|
2305
|
+
setValue(this, memberName, origGetter.apply(this), cmpMeta);
|
|
2306
|
+
}
|
|
2307
|
+
return attrPropVal2 !== void 0 ? attrPropVal2 : origGetter ? origGetter.apply(this) : getValue(this, memberName);
|
|
2308
|
+
},
|
|
2309
|
+
configurable: true,
|
|
2310
|
+
enumerable: true
|
|
2311
|
+
});
|
|
2312
|
+
}
|
|
2310
2313
|
} else if (memberFlags & 64 /* Method */) {
|
|
2311
2314
|
Object.defineProperty(elm, memberName, {
|
|
2312
2315
|
value(...args) {
|
|
@@ -2322,6 +2325,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2322
2325
|
});
|
|
2323
2326
|
}
|
|
2324
2327
|
});
|
|
2328
|
+
cstr.prototype.__stencilAugmented = true;
|
|
2325
2329
|
}
|
|
2326
2330
|
}
|
|
2327
2331
|
function componentOnReady() {
|
|
@@ -3079,6 +3083,8 @@ function getTextContent(slot, options) {
|
|
|
3079
3083
|
* @return {boolean} True or false if the slot have HTML children elements
|
|
3080
3084
|
*/
|
|
3081
3085
|
function hasSlotContent(el, name) {
|
|
3086
|
+
if (!el)
|
|
3087
|
+
return false;
|
|
3082
3088
|
const slotSelector = name ? `[name='${name}']` : '';
|
|
3083
3089
|
const slotContent = el.querySelector(`slot${slotSelector}`)?.assignedElements({ flatten: true });
|
|
3084
3090
|
if (!slotContent || !Array.isArray(slotContent))
|
|
@@ -3400,6 +3406,7 @@ class BqAccordion {
|
|
|
3400
3406
|
componentDidLoad() {
|
|
3401
3407
|
this.handleJsAnimation();
|
|
3402
3408
|
this.handleExpandedChange();
|
|
3409
|
+
this.handleSlotChange();
|
|
3403
3410
|
}
|
|
3404
3411
|
// Listeners
|
|
3405
3412
|
// ==============
|
|
@@ -3438,10 +3445,8 @@ class BqAccordion {
|
|
|
3438
3445
|
handleBlur = () => {
|
|
3439
3446
|
this.bqBlur.emit(this.el);
|
|
3440
3447
|
};
|
|
3441
|
-
|
|
3448
|
+
handleSlotChange = () => {
|
|
3442
3449
|
this.hasPrefix = hasSlotContent(this.prefixElem, 'prefix');
|
|
3443
|
-
};
|
|
3444
|
-
handleSuffixSlotChange = () => {
|
|
3445
3450
|
this.hasSuffix = hasSlotContent(this.suffixElem, 'suffix');
|
|
3446
3451
|
};
|
|
3447
3452
|
get open() {
|
|
@@ -3454,15 +3459,15 @@ class BqAccordion {
|
|
|
3454
3459
|
// Always the last one in the class.
|
|
3455
3460
|
// ===================================
|
|
3456
3461
|
render() {
|
|
3457
|
-
return (hAsync("details", { key: '
|
|
3462
|
+
return (hAsync("details", { key: '37ce84995b58b8e0a23bab0628a06b462e7383b1', class: {
|
|
3458
3463
|
[`bq-accordion overflow-hidden ${this.size} ${this.appearance}`]: true,
|
|
3459
3464
|
'no-animation': this.noAnimation,
|
|
3460
3465
|
disabled: this.disabled,
|
|
3461
|
-
}, ref: (detailsElem) => (this.detailsElem = detailsElem), open: this.open, part: "base" }, hAsync("summary", { key: '
|
|
3466
|
+
}, 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
3467
|
'flex items-center justify-center transition-transform duration-300 ease-in-out': true,
|
|
3463
3468
|
'!hidden': this.open && !this.rotate,
|
|
3464
3469
|
'rotate-180': this.rotate && this.open,
|
|
3465
|
-
}, "aria-hidden": "true" }, hAsync("slot", { key: '
|
|
3470
|
+
}, "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
3471
|
}
|
|
3467
3472
|
static get watchers() { return {
|
|
3468
3473
|
"size": ["checkPropValues"],
|
|
@@ -3798,6 +3803,7 @@ class BqAlert {
|
|
|
3798
3803
|
this.handleTimeout();
|
|
3799
3804
|
}
|
|
3800
3805
|
componentDidLoad() {
|
|
3806
|
+
this.handleSlotChange();
|
|
3801
3807
|
if (!this.open) {
|
|
3802
3808
|
this.el.classList.add('is-hidden');
|
|
3803
3809
|
}
|
|
@@ -3845,10 +3851,8 @@ class BqAlert {
|
|
|
3845
3851
|
}
|
|
3846
3852
|
this.bqAfterHide.emit();
|
|
3847
3853
|
};
|
|
3848
|
-
|
|
3854
|
+
handleSlotChange = () => {
|
|
3849
3855
|
this.hasContent = hasSlotContent(this.bodyElem, 'body');
|
|
3850
|
-
};
|
|
3851
|
-
handleFooterSlotChange = () => {
|
|
3852
3856
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
3853
3857
|
};
|
|
3854
3858
|
get iconName() {
|
|
@@ -3866,16 +3870,16 @@ class BqAlert {
|
|
|
3866
3870
|
const style = {
|
|
3867
3871
|
...(this.border && { '--bq-alert--border-radius': `var(--bq-radius--${this.border})` }),
|
|
3868
3872
|
};
|
|
3869
|
-
return (hAsync(Host, { key: '
|
|
3873
|
+
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
3874
|
[`bq-alert bq-alert__${this.type}`]: true,
|
|
3871
3875
|
'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: '
|
|
3876
|
+
}, "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
3877
|
[`bq-alert__icon--${this.type} me-s flex text-left align-top`]: true,
|
|
3874
3878
|
'!hidden': this.hideIcon,
|
|
3875
|
-
}, part: "icon-outline" }, hAsync("slot", { key: '
|
|
3879
|
+
}, 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
3880
|
'title-font font-semibold leading-regular text-primary': true,
|
|
3877
3881
|
'flex items-center': this.sticky,
|
|
3878
|
-
}, part: "title" }, hAsync("slot", { key: '
|
|
3882
|
+
}, 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
3883
|
}
|
|
3880
3884
|
static get watchers() { return {
|
|
3881
3885
|
"autoDismiss": ["handleTimeout"],
|
|
@@ -4167,6 +4171,9 @@ class BqBadge {
|
|
|
4167
4171
|
componentWillLoad() {
|
|
4168
4172
|
this.handleSizePropChange();
|
|
4169
4173
|
}
|
|
4174
|
+
componentDidLoad() {
|
|
4175
|
+
this.handleSlotChange();
|
|
4176
|
+
}
|
|
4170
4177
|
disconnectedCallback() {
|
|
4171
4178
|
this.observer?.disconnect();
|
|
4172
4179
|
}
|
|
@@ -4182,7 +4189,7 @@ class BqBadge {
|
|
|
4182
4189
|
// Internal business logic.
|
|
4183
4190
|
// These methods cannot be called from the host element.
|
|
4184
4191
|
// =======================================================
|
|
4185
|
-
|
|
4192
|
+
handleSlotChange = () => {
|
|
4186
4193
|
const slot = this.slot;
|
|
4187
4194
|
if (isNil(slot))
|
|
4188
4195
|
return;
|
|
@@ -4209,12 +4216,12 @@ class BqBadge {
|
|
|
4209
4216
|
...(this.backgroundColor && { '--bq-badge--background-color': getColorCSSVariable(this.backgroundColor) }),
|
|
4210
4217
|
...(this.textColor && { '--bq-badge--text-color': getColorCSSVariable(this.textColor) }),
|
|
4211
4218
|
};
|
|
4212
|
-
return (hAsync(Host, { key: '
|
|
4219
|
+
return (hAsync(Host, { key: 'd50cd217b38f80cb78890297f5a6f3bf132bfd6c', style: styles }, hAsync("div", { key: '24432c54907b6658baee4a900e52729dc42c1677', class: {
|
|
4213
4220
|
'bq-badge': true,
|
|
4214
4221
|
[`size--${this.size}`]: this.contentLength === 0,
|
|
4215
4222
|
digit: this.contentLength > 0,
|
|
4216
4223
|
'p-i-xs2': this.contentLength > 1,
|
|
4217
|
-
}, part: "base" }, hAsync("span", { key: '
|
|
4224
|
+
}, 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
4225
|
}
|
|
4219
4226
|
static get watchers() { return {
|
|
4220
4227
|
"size": ["handleSizePropChange"]
|
|
@@ -4286,6 +4293,9 @@ class BqBreadcrumb {
|
|
|
4286
4293
|
// Component lifecycle events
|
|
4287
4294
|
// Ordered by their natural call order
|
|
4288
4295
|
// =====================================
|
|
4296
|
+
componentDidLoad() {
|
|
4297
|
+
this.handleSlotChange();
|
|
4298
|
+
}
|
|
4289
4299
|
// Listeners
|
|
4290
4300
|
// ==============
|
|
4291
4301
|
// Public methods API
|
|
@@ -4330,7 +4340,7 @@ class BqBreadcrumb {
|
|
|
4330
4340
|
// Always the last one in the class.
|
|
4331
4341
|
// ===================================
|
|
4332
4342
|
render() {
|
|
4333
|
-
return (hAsync(Host, { key: '
|
|
4343
|
+
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
4344
|
}
|
|
4335
4345
|
static get style() { return BqBreadcrumbStyle0; }
|
|
4336
4346
|
static get cmpMeta() { return {
|
|
@@ -4618,6 +4628,9 @@ class BqButton {
|
|
|
4618
4628
|
componentWillLoad() {
|
|
4619
4629
|
this.checkPropValues();
|
|
4620
4630
|
}
|
|
4631
|
+
componentDidLoad() {
|
|
4632
|
+
this.handleSlotChange();
|
|
4633
|
+
}
|
|
4621
4634
|
// Listeners
|
|
4622
4635
|
// ==============
|
|
4623
4636
|
// Public methods API
|
|
@@ -4689,7 +4702,7 @@ class BqButton {
|
|
|
4689
4702
|
const style = {
|
|
4690
4703
|
...(this.border && { '--bq-button--border-radius': `var(--bq-radius--${this.border})` }),
|
|
4691
4704
|
};
|
|
4692
|
-
return (hAsync(Host, { key: '
|
|
4705
|
+
return (hAsync(Host, { key: 'e15588968948fe9bca9e10311cc875a49399c885', style: style }, hAsync(TagElem, { key: '603e74c2247943f9f743a65b2ff0351e1f1aadfc', class: {
|
|
4693
4706
|
'bq-button': true,
|
|
4694
4707
|
[`bq-button--${this.appearance}`]: true,
|
|
4695
4708
|
[`content-${this.justifyContent}`]: true,
|
|
@@ -4700,7 +4713,7 @@ class BqButton {
|
|
|
4700
4713
|
'has-prefix': this.hasPrefix,
|
|
4701
4714
|
'has-suffix': this.hasSuffix,
|
|
4702
4715
|
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: '
|
|
4716
|
+
}, "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
4717
|
}
|
|
4705
4718
|
static get delegatesFocus() { return true; }
|
|
4706
4719
|
static get formAssociated() { return true; }
|
|
@@ -5098,6 +5111,75 @@ class BqCheckbox {
|
|
|
5098
5111
|
|
|
5099
5112
|
const DATE_PICKER_TYPE = ['single', 'multi', 'range'];
|
|
5100
5113
|
|
|
5114
|
+
/* -------------------------------------------------------------------------- */
|
|
5115
|
+
/* Cally Library loader helper */
|
|
5116
|
+
/* -------------------------------------------------------------------------- */
|
|
5117
|
+
const CALLY_SCRIPT_ATTRIBUTE = 'data-cally-library';
|
|
5118
|
+
//❗ Make sure to update the version here when the library releases a new version
|
|
5119
|
+
const CALLY_LIB_VERSION = '0.8.0';
|
|
5120
|
+
/**
|
|
5121
|
+
* ❗ Make sure to update the hash here if the `CALLY_LIB_VERSION` is updated
|
|
5122
|
+
* This hash is used to ensure the integrity of the library when loading it
|
|
5123
|
+
* from a CDN.
|
|
5124
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
|
|
5125
|
+
*/
|
|
5126
|
+
const CALLY_LIB_HASH = 'sha384-giuY/f8D3+ehgOTmQMr4HvrreOITDmvXsZuDCJ1csQ+3dURHA24NqRd8lkSI6uGF';
|
|
5127
|
+
let isLibraryLoaded = false;
|
|
5128
|
+
/**
|
|
5129
|
+
* Checks if the Cally library is already loaded in the document
|
|
5130
|
+
* @returns {boolean} True if the library is loaded
|
|
5131
|
+
*/
|
|
5132
|
+
const isCallyLibraryLoaded = () => {
|
|
5133
|
+
// This might be a bit redundant, but it's a sanity check to ensure the library is actually loaded
|
|
5134
|
+
return isLibraryLoaded || document.querySelector(`script[${CALLY_SCRIPT_ATTRIBUTE}]`) !== null;
|
|
5135
|
+
};
|
|
5136
|
+
/**
|
|
5137
|
+
* Loads the Cally library for the date picker component
|
|
5138
|
+
* @throws {Error} If the library fails to load
|
|
5139
|
+
* @return {Promise<void>}
|
|
5140
|
+
*/
|
|
5141
|
+
const loadCallyLibrary = async () => {
|
|
5142
|
+
if (isCallyLibraryLoaded())
|
|
5143
|
+
return;
|
|
5144
|
+
try {
|
|
5145
|
+
await loadScript({
|
|
5146
|
+
type: 'module',
|
|
5147
|
+
src: `https://unpkg.com/cally@${CALLY_LIB_VERSION}/dist/cally.js`,
|
|
5148
|
+
attributes: {
|
|
5149
|
+
[CALLY_SCRIPT_ATTRIBUTE]: '',
|
|
5150
|
+
crossOrigin: 'anonymous',
|
|
5151
|
+
integrity: CALLY_LIB_HASH,
|
|
5152
|
+
},
|
|
5153
|
+
});
|
|
5154
|
+
isLibraryLoaded = true;
|
|
5155
|
+
}
|
|
5156
|
+
catch (error) {
|
|
5157
|
+
isLibraryLoaded = false;
|
|
5158
|
+
throw new Error(`Failed to load the cally library: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
5159
|
+
}
|
|
5160
|
+
};
|
|
5161
|
+
/**
|
|
5162
|
+
* Helper function to load a script with given configuration
|
|
5163
|
+
* @param {Object} config - Script configuration
|
|
5164
|
+
* @param {string} config.type - The type of the script
|
|
5165
|
+
* @param {string} config.src - The source URL of the script
|
|
5166
|
+
* @param {Object} [config.attributes] - Additional attributes to set on the script element
|
|
5167
|
+
* @returns {Promise<void>}
|
|
5168
|
+
*/
|
|
5169
|
+
const loadScript = ({ type, src, attributes = {} }) => {
|
|
5170
|
+
return new Promise((resolve, reject) => {
|
|
5171
|
+
const script = document.createElement('script');
|
|
5172
|
+
script.type = type;
|
|
5173
|
+
script.src = src;
|
|
5174
|
+
script.onload = () => resolve();
|
|
5175
|
+
script.onerror = (error) => reject(new Error(`Failed to load script: ${src}, ${error instanceof Error ? error.message : 'Unknown error'}`));
|
|
5176
|
+
Object.entries(attributes).forEach(([key, value]) => {
|
|
5177
|
+
script.setAttribute(key, value);
|
|
5178
|
+
});
|
|
5179
|
+
document.head.appendChild(script);
|
|
5180
|
+
});
|
|
5181
|
+
};
|
|
5182
|
+
|
|
5101
5183
|
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
5184
|
var BqDatePickerStyle0 = bqDatePickerCss;
|
|
5103
5185
|
|
|
@@ -5256,6 +5338,7 @@ class BqDatePicker {
|
|
|
5256
5338
|
// State() variables
|
|
5257
5339
|
// Inlined decorator, alphabetical order
|
|
5258
5340
|
// =======================================
|
|
5341
|
+
isCallyLoaded = false;
|
|
5259
5342
|
focusedDate;
|
|
5260
5343
|
displayDate;
|
|
5261
5344
|
hasLabel = false;
|
|
@@ -5349,7 +5432,9 @@ class BqDatePicker {
|
|
|
5349
5432
|
// Prop lifecycle events
|
|
5350
5433
|
// =======================
|
|
5351
5434
|
handleValueChange() {
|
|
5352
|
-
const { formatDisplayValue, internals, value } = this;
|
|
5435
|
+
const { formatDisplayValue, internals, isCallyLoaded, value } = this;
|
|
5436
|
+
if (!isCallyLoaded)
|
|
5437
|
+
return;
|
|
5353
5438
|
internals.setFormValue(!isNil(value) ? `${value}` : undefined);
|
|
5354
5439
|
this.updateFormValidity();
|
|
5355
5440
|
if (Array.isArray(value)) {
|
|
@@ -5381,11 +5466,18 @@ class BqDatePicker {
|
|
|
5381
5466
|
// Ordered by their natural call order
|
|
5382
5467
|
// =====================================
|
|
5383
5468
|
async connectedCallback() {
|
|
5384
|
-
if (!isClient())
|
|
5469
|
+
if (!isClient() || this.isCallyLoaded)
|
|
5385
5470
|
return;
|
|
5386
|
-
|
|
5471
|
+
try {
|
|
5472
|
+
await loadCallyLibrary();
|
|
5473
|
+
this.isCallyLoaded = isCallyLibraryLoaded();
|
|
5474
|
+
}
|
|
5475
|
+
catch (error) {
|
|
5476
|
+
console.error(error);
|
|
5477
|
+
}
|
|
5387
5478
|
}
|
|
5388
|
-
|
|
5479
|
+
async componentDidLoad() {
|
|
5480
|
+
this.handleSlotChange();
|
|
5389
5481
|
this.handleValueChange();
|
|
5390
5482
|
}
|
|
5391
5483
|
formAssociatedCallback() {
|
|
@@ -5451,11 +5543,12 @@ class BqDatePicker {
|
|
|
5451
5543
|
this.bqFocus.emit(this.el);
|
|
5452
5544
|
};
|
|
5453
5545
|
setFocusedDate = () => {
|
|
5454
|
-
|
|
5546
|
+
const { callyElem, formatFocusedDate, isCallyLoaded, value } = this;
|
|
5547
|
+
if (!(callyElem && isCallyLoaded))
|
|
5455
5548
|
return;
|
|
5456
5549
|
// We need to set the focused date in the calendar component via a ref
|
|
5457
5550
|
// because it doesn't work when passed as a prop (the Cally element does not re-render)
|
|
5458
|
-
this.focusedDate =
|
|
5551
|
+
this.focusedDate = value ? formatFocusedDate(value) : new Date().toLocaleDateString('fr-CA');
|
|
5459
5552
|
this.callyElem.focusedDate = this.focusedDate;
|
|
5460
5553
|
};
|
|
5461
5554
|
handleChange = (ev) => {
|
|
@@ -5501,16 +5594,14 @@ class BqDatePicker {
|
|
|
5501
5594
|
this.inputElem.focus();
|
|
5502
5595
|
ev.stopPropagation();
|
|
5503
5596
|
};
|
|
5504
|
-
|
|
5597
|
+
handleSlotChange = () => {
|
|
5505
5598
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
5506
|
-
};
|
|
5507
|
-
handlePrefixSlotChange = () => {
|
|
5508
5599
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
5509
|
-
};
|
|
5510
|
-
handleSuffixSlotChange = () => {
|
|
5511
5600
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
5512
5601
|
};
|
|
5513
5602
|
generateCalendarMonth = (offset, className = '') => {
|
|
5603
|
+
if (!this.isCallyLoaded)
|
|
5604
|
+
return null;
|
|
5514
5605
|
return (hAsync("calendar-month", { offset: offset, class: className, exportparts: `${this.COMMON_EXPORT_PARTS},${this.BUTTON_EXPORT_PARTS}` }));
|
|
5515
5606
|
};
|
|
5516
5607
|
/**
|
|
@@ -5527,6 +5618,8 @@ class BqDatePicker {
|
|
|
5527
5618
|
* @returns {Element[]} An array of elements representing the calendar months.
|
|
5528
5619
|
*/
|
|
5529
5620
|
generateCalendarMonths = () => {
|
|
5621
|
+
if (!this.isCallyLoaded)
|
|
5622
|
+
return [];
|
|
5530
5623
|
if (this.type === 'range' || (this.type === 'multi' && this.months)) {
|
|
5531
5624
|
return Array.from({ length: this.months }, (_, i) => {
|
|
5532
5625
|
const offset = i > 0 ? i : undefined;
|
|
@@ -5594,16 +5687,16 @@ class BqDatePicker {
|
|
|
5594
5687
|
render() {
|
|
5595
5688
|
const CallyCalendar = this.CalendarType;
|
|
5596
5689
|
const labelId = `bq-date-picker__label-${this.name || this.fallbackInputId}`;
|
|
5597
|
-
return (hAsync("div", { key: '
|
|
5690
|
+
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
5691
|
'bq-date-picker__control': true,
|
|
5599
5692
|
[`validation-${this.validationStatus}`]: true,
|
|
5600
5693
|
disabled: this.disabled,
|
|
5601
|
-
}, part: "control", slot: "trigger" }, hAsync("span", { key: '
|
|
5694
|
+
}, 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
5695
|
// Events
|
|
5603
5696
|
onBlur: this.handleBlur, onFocus: this.handleFocus, onChange: this.handleChange }), this.hasValue && !this.disabled && !this.disableClear && (
|
|
5604
5697
|
// The clear button will be visible as long as the input has a value
|
|
5605
5698
|
// and the parent group is hovered or has focus-within
|
|
5606
|
-
hAsync("bq-button", { key: '
|
|
5699
|
+
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
5700
|
}
|
|
5608
5701
|
static get delegatesFocus() { return true; }
|
|
5609
5702
|
static get formAssociated() { return true; }
|
|
@@ -5644,6 +5737,7 @@ class BqDatePicker {
|
|
|
5644
5737
|
"type": [513],
|
|
5645
5738
|
"validationStatus": [513, "validation-status"],
|
|
5646
5739
|
"value": [1537],
|
|
5740
|
+
"isCallyLoaded": [32],
|
|
5647
5741
|
"focusedDate": [32],
|
|
5648
5742
|
"displayDate": [32],
|
|
5649
5743
|
"hasLabel": [32],
|
|
@@ -5815,6 +5909,7 @@ class BqDialog {
|
|
|
5815
5909
|
this.checkPropValues();
|
|
5816
5910
|
}
|
|
5817
5911
|
componentDidLoad() {
|
|
5912
|
+
this.handleSlotChange();
|
|
5818
5913
|
this.handleOpenChange();
|
|
5819
5914
|
this.closeSlotElem = this.el.shadowRoot.querySelector('slot[name="button-close"]');
|
|
5820
5915
|
this.closeSlotElem?.addEventListener('click', () => this.hide());
|
|
@@ -5912,10 +6007,8 @@ class BqDialog {
|
|
|
5912
6007
|
this.bqAfterClose.emit();
|
|
5913
6008
|
this.el.classList.remove(this.OPEN_CSS_CLASS);
|
|
5914
6009
|
};
|
|
5915
|
-
|
|
6010
|
+
handleSlotChange = () => {
|
|
5916
6011
|
this.hasContent = hasSlotContent(this.contentElem);
|
|
5917
|
-
};
|
|
5918
|
-
handleFooterSlotChange = () => {
|
|
5919
6012
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
5920
6013
|
};
|
|
5921
6014
|
// render() function
|
|
@@ -5925,18 +6018,18 @@ class BqDialog {
|
|
|
5925
6018
|
const style = {
|
|
5926
6019
|
...(this.border && { '--bq-dialog--border-radius': `var(--bq-radius--${this.border})` }),
|
|
5927
6020
|
};
|
|
5928
|
-
return (hAsync("dialog", { key: '
|
|
6021
|
+
return (hAsync("dialog", { key: '135ba080be5d1283779bab5563f72f5e840781ef', style: style, class: {
|
|
5929
6022
|
[`bq-dialog hidden ${this.size} m-auto focus-visible:outline-none`]: true,
|
|
5930
6023
|
'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: '
|
|
6024
|
+
}, "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
6025
|
'!hidden': !this.hasContent,
|
|
5933
6026
|
'overflow-y-auto p-i-[--bq-dialog--padding]': this.hasContent,
|
|
5934
6027
|
'!p-be-[--bq-dialog--padding]': !this.hasFooter,
|
|
5935
|
-
}, ref: (mainElem) => (this.contentElem = mainElem), part: "body" }, hAsync("slot", { key: '
|
|
6028
|
+
}, ref: (mainElem) => (this.contentElem = mainElem), part: "body" }, hAsync("slot", { key: '266d2c5b892814dd0b253ce83ee03df849263a0f', onSlotchange: this.handleSlotChange }))), hAsync("footer", { key: '1ce0fbcc5213ebb56e18d03e22c498f44674eef4', class: {
|
|
5936
6029
|
'!hidden': !this.hasFooter,
|
|
5937
6030
|
'bq-dialog--footer': this.hasFooter,
|
|
5938
6031
|
'bg-ui-alt !p-b-s': this.footerAppearance === 'highlight',
|
|
5939
|
-
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '
|
|
6032
|
+
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '7cfba4b2c8dd4512fed61e81304b4e9bec317ad9', name: "footer", onSlotchange: this.handleSlotChange }))));
|
|
5940
6033
|
}
|
|
5941
6034
|
static get watchers() { return {
|
|
5942
6035
|
"footerAppearance": ["checkPropValues"],
|
|
@@ -6308,6 +6401,9 @@ class BqDrawer {
|
|
|
6308
6401
|
// !TO BE REMOVED: Delete this once the deprecated `placement` property is removed
|
|
6309
6402
|
this.handlePlacementChange();
|
|
6310
6403
|
}
|
|
6404
|
+
componentDidLoad() {
|
|
6405
|
+
this.handleFooterSlotChange();
|
|
6406
|
+
}
|
|
6311
6407
|
// Listeners
|
|
6312
6408
|
// ==============
|
|
6313
6409
|
async handleMouseClick(event) {
|
|
@@ -6390,20 +6486,20 @@ class BqDrawer {
|
|
|
6390
6486
|
// Always the last one in the class.
|
|
6391
6487
|
// ===================================
|
|
6392
6488
|
render() {
|
|
6393
|
-
return (hAsync(Host, { key: '
|
|
6489
|
+
return (hAsync(Host, { key: '83f55f61d6f3dff26d4b9f8f987734839de4135e' }, this.enableBackdrop && (hAsync("div", { key: '89a05f0693053eda89e5d11c420113d33fb95cc8', class: {
|
|
6394
6490
|
'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300': true,
|
|
6395
6491
|
'pointer-events-none': !this.open,
|
|
6396
6492
|
'opacity-60': this.open,
|
|
6397
|
-
}, tabIndex: -1, part: "backdrop" })), hAsync("div", { key: '
|
|
6493
|
+
}, tabIndex: -1, part: "backdrop" })), hAsync("div", { key: '200019ad3a62c5bd13566773a5313cfb537b9e82', class: {
|
|
6398
6494
|
[`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,
|
|
6399
6495
|
'-start-[--bq-drawer--width]': this.isPositionStart,
|
|
6400
6496
|
'-end-[--bq-drawer--width]': this.isPositionEnd,
|
|
6401
6497
|
'start-0': this.open && this.isPositionStart,
|
|
6402
6498
|
'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: '
|
|
6499
|
+
}, 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
6500
|
block: true,
|
|
6405
6501
|
'!hidden': !this.hasFooter,
|
|
6406
|
-
}, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, hAsync("slot", { key: '
|
|
6502
|
+
}, 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
6503
|
}
|
|
6408
6504
|
static get watchers() { return {
|
|
6409
6505
|
"open": ["handleOpenChange"],
|
|
@@ -6698,6 +6794,9 @@ class BqEmptyState {
|
|
|
6698
6794
|
componentWillLoad() {
|
|
6699
6795
|
this.checkPropValues();
|
|
6700
6796
|
}
|
|
6797
|
+
componentDidLoad() {
|
|
6798
|
+
this.handleSlotChange();
|
|
6799
|
+
}
|
|
6701
6800
|
// Listeners
|
|
6702
6801
|
// ==============
|
|
6703
6802
|
// Public methods API
|
|
@@ -6710,10 +6809,8 @@ class BqEmptyState {
|
|
|
6710
6809
|
// Internal business logic.
|
|
6711
6810
|
// These methods cannot be called from the host element.
|
|
6712
6811
|
// =======================================================
|
|
6713
|
-
|
|
6812
|
+
handleSlotChange = () => {
|
|
6714
6813
|
this.hasBody = hasSlotContent(this.bodyElem, 'body');
|
|
6715
|
-
};
|
|
6716
|
-
handleFooterSlotChange = () => {
|
|
6717
6814
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
6718
6815
|
};
|
|
6719
6816
|
get iconSize() {
|
|
@@ -6723,11 +6820,11 @@ class BqEmptyState {
|
|
|
6723
6820
|
// Always the last one in the class.
|
|
6724
6821
|
// ===================================
|
|
6725
6822
|
render() {
|
|
6726
|
-
return (hAsync("div", { key: '
|
|
6823
|
+
return (hAsync("div", { key: '8079680edf3b14a5b0473a13498dc045d25c492d', class: "inline-flex flex-col items-center", part: "wrapper" }, hAsync("div", { key: '457990eadb0f908e56ae1e2eeaca85966d2a66d3', class: {
|
|
6727
6824
|
'm-be-m': this.size === 'small',
|
|
6728
6825
|
'm-be-xl': this.size === 'medium',
|
|
6729
6826
|
'm-be-xxl': this.size === 'large',
|
|
6730
|
-
}, part: "thumbnail" }, hAsync("slot", { key: '
|
|
6827
|
+
}, 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
6828
|
'font-bold leading-regular text-primary': true,
|
|
6732
6829
|
'text-m': this.size === 'small',
|
|
6733
6830
|
'text-l': this.size === 'medium',
|
|
@@ -6735,7 +6832,7 @@ class BqEmptyState {
|
|
|
6735
6832
|
'm-be-xs': this.size === 'small' && this.hasBody,
|
|
6736
6833
|
'm-be-m': this.size === 'medium' && this.hasBody,
|
|
6737
6834
|
'm-be-l': this.size === 'large' && this.hasBody,
|
|
6738
|
-
}, part: "title" }, hAsync("slot", { key: '
|
|
6835
|
+
}, part: "title" }, hAsync("slot", { key: '1abd1a911fbcb6cc8d239ce94529a5081546a37f' })), hAsync("div", { key: '920c6e7ff233b5cddd32c844987e3d8aa37d0bec', class: {
|
|
6739
6836
|
'font-normal leading-regular': true,
|
|
6740
6837
|
'text-s': this.size === 'small',
|
|
6741
6838
|
'text-m': this.size === 'medium',
|
|
@@ -6743,7 +6840,7 @@ class BqEmptyState {
|
|
|
6743
6840
|
'm-be-m': this.size === 'small' && this.hasFooter,
|
|
6744
6841
|
'm-be-l': this.size === 'medium' && this.hasFooter,
|
|
6745
6842
|
'm-be-xl': this.size === 'large' && this.hasFooter,
|
|
6746
|
-
}, ref: (div) => (this.bodyElem = div), part: "body" }, hAsync("slot", { key: '
|
|
6843
|
+
}, 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
6844
|
}
|
|
6748
6845
|
static get watchers() { return {
|
|
6749
6846
|
"size": ["checkPropValues"]
|
|
@@ -7282,6 +7379,9 @@ class BqInput {
|
|
|
7282
7379
|
componentWillLoad() {
|
|
7283
7380
|
this.handleValueChange();
|
|
7284
7381
|
}
|
|
7382
|
+
componentDidLoad() {
|
|
7383
|
+
this.handleSlotChange();
|
|
7384
|
+
}
|
|
7285
7385
|
formAssociatedCallback() {
|
|
7286
7386
|
this.setFormValue(this.value?.toString());
|
|
7287
7387
|
this.updateFormValidity();
|
|
@@ -7375,35 +7475,29 @@ class BqInput {
|
|
|
7375
7475
|
internals?.states.add('valid');
|
|
7376
7476
|
internals?.setValidity({});
|
|
7377
7477
|
};
|
|
7378
|
-
|
|
7478
|
+
handleSlotChange = () => {
|
|
7379
7479
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
7380
|
-
};
|
|
7381
|
-
handlePrefixSlotChange = () => {
|
|
7382
7480
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
7383
|
-
};
|
|
7384
|
-
handleSuffixSlotChange = () => {
|
|
7385
7481
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
7386
|
-
};
|
|
7387
|
-
handleHelperTextSlotChange = () => {
|
|
7388
7482
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
7389
7483
|
};
|
|
7390
7484
|
// render() function
|
|
7391
7485
|
// Always the last one in the class.
|
|
7392
7486
|
// ===================================
|
|
7393
7487
|
render() {
|
|
7394
|
-
return (hAsync("div", { key: '
|
|
7488
|
+
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
7489
|
'bq-input--control': true,
|
|
7396
7490
|
[`validation-${this.validationStatus}`]: true,
|
|
7397
7491
|
disabled: this.disabled,
|
|
7398
|
-
}, part: "control" }, hAsync("span", { key: '
|
|
7492
|
+
}, 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
7493
|
// Events
|
|
7400
7494
|
onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput }), this.hasValue && !this.disabled && !this.disableClear && (
|
|
7401
7495
|
// The clear button will be visible as long as the input has a value
|
|
7402
7496
|
// and the parent group is hovered or has focus-within
|
|
7403
|
-
hAsync("bq-button", { key: '
|
|
7497
|
+
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
7498
|
[`bq-input--helper-text validation-${this.validationStatus}`]: true,
|
|
7405
7499
|
'!hidden': !this.hasHelperText,
|
|
7406
|
-
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: '
|
|
7500
|
+
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: 'fa39cc056750e8e58a428b9cd4812819d73ff8d1', name: "helper-text", onSlotchange: this.handleSlotChange }))));
|
|
7407
7501
|
}
|
|
7408
7502
|
static get delegatesFocus() { return true; }
|
|
7409
7503
|
static get formAssociated() { return true; }
|
|
@@ -7615,6 +7709,9 @@ class BqNotification {
|
|
|
7615
7709
|
this.checkPropValues();
|
|
7616
7710
|
this.handleTimeout();
|
|
7617
7711
|
}
|
|
7712
|
+
componentDidLoad() {
|
|
7713
|
+
this.handleSlotChange();
|
|
7714
|
+
}
|
|
7618
7715
|
// Listeners
|
|
7619
7716
|
// ==============
|
|
7620
7717
|
afterNotificationClose() {
|
|
@@ -7690,10 +7787,8 @@ class BqNotification {
|
|
|
7690
7787
|
}
|
|
7691
7788
|
this.bqAfterClose.emit();
|
|
7692
7789
|
};
|
|
7693
|
-
|
|
7790
|
+
handleSlotChange = () => {
|
|
7694
7791
|
this.hasContent = hasSlotContent(this.bodyElem);
|
|
7695
|
-
};
|
|
7696
|
-
handleFooterSlotChange = () => {
|
|
7697
7792
|
this.hasFooter = hasSlotContent(this.footerElem, 'footer');
|
|
7698
7793
|
};
|
|
7699
7794
|
get iconName() {
|
|
@@ -7711,11 +7806,11 @@ class BqNotification {
|
|
|
7711
7806
|
const style = {
|
|
7712
7807
|
...(this.border && { '--bq-notification--border-radius': `var(--bq-radius--${this.border})` }),
|
|
7713
7808
|
};
|
|
7714
|
-
return (hAsync(Host, { key: '
|
|
7809
|
+
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
7810
|
'!hidden': this.hideIcon,
|
|
7716
7811
|
[`color-${this.type}`]: true, // The icon color will be based on the type (info, success, warning, error)
|
|
7717
7812
|
'notification--icon me-xs flex text-left align-top': true,
|
|
7718
|
-
}, part: "icon-outline" }, hAsync("slot", { key: '
|
|
7813
|
+
}, 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
7814
|
}
|
|
7720
7815
|
static get watchers() { return {
|
|
7721
7816
|
"autoDismiss": ["handleTimeout"],
|
|
@@ -7841,6 +7936,9 @@ class BqOption {
|
|
|
7841
7936
|
// Component lifecycle events
|
|
7842
7937
|
// Ordered by their natural call order
|
|
7843
7938
|
// =====================================
|
|
7939
|
+
componentDidLoad() {
|
|
7940
|
+
this.handleSlotChange();
|
|
7941
|
+
}
|
|
7844
7942
|
// Listeners
|
|
7845
7943
|
// ==============
|
|
7846
7944
|
onKeyDown(event) {
|
|
@@ -7882,10 +7980,8 @@ class BqOption {
|
|
|
7882
7980
|
}
|
|
7883
7981
|
this.bqClick.emit(this.el);
|
|
7884
7982
|
};
|
|
7885
|
-
|
|
7983
|
+
handleSlotChange = () => {
|
|
7886
7984
|
this.hasPrefix = hasSlotContent(this.prefixElem, 'prefix');
|
|
7887
|
-
};
|
|
7888
|
-
handleSuffixSlotChange = () => {
|
|
7889
7985
|
this.hasSuffix = hasSlotContent(this.suffixElem, 'suffix');
|
|
7890
7986
|
};
|
|
7891
7987
|
get isDisabledOrHidden() {
|
|
@@ -7895,17 +7991,17 @@ class BqOption {
|
|
|
7895
7991
|
// Always the last one in the class.
|
|
7896
7992
|
// ===================================
|
|
7897
7993
|
render() {
|
|
7898
|
-
return (hAsync(Host, { key: '
|
|
7994
|
+
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
7995
|
'bq-option': true,
|
|
7900
7996
|
disabled: this.disabled,
|
|
7901
7997
|
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: '
|
|
7998
|
+
}, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.onClick, tabindex: this.isDisabledOrHidden ? '-1' : '0', role: "button", part: "base" }, hAsync("span", { key: '8910e42ffb4125d63d7086ffb5d035e43c3cd35a', class: {
|
|
7903
7999
|
'bq-option__prefix me-[--bq-option--gap-start] flex items-center': true,
|
|
7904
8000
|
'!hidden': !this.hasPrefix,
|
|
7905
|
-
}, ref: (elem) => (this.prefixElem = elem), part: "prefix" }, hAsync("slot", { key: '
|
|
8001
|
+
}, 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
8002
|
'bq-option__suffix ml-auto ms-[--bq-option--gap-end] flex items-center': true,
|
|
7907
8003
|
'!hidden': !this.hasSuffix,
|
|
7908
|
-
}, ref: (elem) => (this.suffixElem = elem), part: "suffix" }, hAsync("slot", { key: '
|
|
8004
|
+
}, ref: (elem) => (this.suffixElem = elem), part: "suffix" }, hAsync("slot", { key: '45042b8677df77b8216e9d68e56094bd1fb1aa55', name: "suffix", onSlotchange: this.handleSlotChange })))));
|
|
7909
8005
|
}
|
|
7910
8006
|
static get style() { return BqOptionStyle0; }
|
|
7911
8007
|
static get cmpMeta() { return {
|
|
@@ -8178,6 +8274,9 @@ class BqPageTitle {
|
|
|
8178
8274
|
// Component lifecycle events
|
|
8179
8275
|
// Ordered by their natural call order
|
|
8180
8276
|
// =====================================
|
|
8277
|
+
componentDidLoad() {
|
|
8278
|
+
this.handleSlotChange();
|
|
8279
|
+
}
|
|
8181
8280
|
// Listeners
|
|
8182
8281
|
// ==============
|
|
8183
8282
|
// Public methods API
|
|
@@ -8199,10 +8298,10 @@ class BqPageTitle {
|
|
|
8199
8298
|
// Always the last one in the class.
|
|
8200
8299
|
// ===================================
|
|
8201
8300
|
render() {
|
|
8202
|
-
return (hAsync("div", { key: '
|
|
8301
|
+
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
8302
|
'title-font text-[length:--subtitle-textSize] font-[--subtitle-fontWeight] leading-[--title-lineHeight] text-[color:--subtitle-textColor]': true,
|
|
8204
8303
|
hidden: !this.hasSubTitle,
|
|
8205
|
-
}, ref: (divElem) => (this.subTitleElem = divElem), part: "sub-title" }, hAsync("slot", { key: '
|
|
8304
|
+
}, ref: (divElem) => (this.subTitleElem = divElem), part: "sub-title" }, hAsync("slot", { key: '7e4aa79164d537dba69db069cd760897a92bdf95', name: "sub-title", onSlotchange: this.handleSlotChange })))));
|
|
8206
8305
|
}
|
|
8207
8306
|
static get style() { return BqPageTitleStyle0; }
|
|
8208
8307
|
static get cmpMeta() { return {
|
|
@@ -11142,7 +11241,7 @@ class BqRadioGroup {
|
|
|
11142
11241
|
}; }
|
|
11143
11242
|
}
|
|
11144
11243
|
|
|
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)}";
|
|
11244
|
+
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}}.inline{display:inline}.flex-col{flex-direction:column}.gap-y-\\[--bq-option-group--gapY-list\\]{row-gap:var(--bq-option-group--gapY-list)}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.text-xs{font-size:var(--bq-font-size--xs)}.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}";
|
|
11146
11245
|
var BqSelectStyle0 = bqSelectCss;
|
|
11147
11246
|
|
|
11148
11247
|
/**
|
|
@@ -11379,6 +11478,7 @@ class BqSelect {
|
|
|
11379
11478
|
this.initMultipleValue();
|
|
11380
11479
|
}
|
|
11381
11480
|
componentDidLoad() {
|
|
11481
|
+
this.handleSlotChange();
|
|
11382
11482
|
if (this.multiple && Array.isArray(this.value)) {
|
|
11383
11483
|
this.selectedOptions = this.options.filter((item) => this.value.includes(item.value));
|
|
11384
11484
|
}
|
|
@@ -11522,16 +11622,10 @@ class BqSelect {
|
|
|
11522
11622
|
this.handleMultipleSelection(item);
|
|
11523
11623
|
this.bqSelect.emit({ value: this.value, item });
|
|
11524
11624
|
};
|
|
11525
|
-
|
|
11625
|
+
handleSlotChange = () => {
|
|
11526
11626
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
11527
|
-
};
|
|
11528
|
-
handlePrefixSlotChange = () => {
|
|
11529
11627
|
this.hasPrefix = hasSlotContent(this.prefixElem);
|
|
11530
|
-
};
|
|
11531
|
-
handleSuffixSlotChange = () => {
|
|
11532
11628
|
this.hasSuffix = hasSlotContent(this.suffixElem);
|
|
11533
|
-
};
|
|
11534
|
-
handleHelperTextSlotChange = () => {
|
|
11535
11629
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
11536
11630
|
};
|
|
11537
11631
|
resetOptionsVisibility = () => {
|
|
@@ -11628,19 +11722,19 @@ class BqSelect {
|
|
|
11628
11722
|
// ===================================
|
|
11629
11723
|
render() {
|
|
11630
11724
|
const labelId = `bq-select__label-${this.name || this.fallbackInputId}`;
|
|
11631
|
-
return (hAsync("div", { key: '
|
|
11725
|
+
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
11726
|
'bq-select__control': true,
|
|
11633
11727
|
[`validation-${this.validationStatus}`]: true,
|
|
11634
11728
|
disabled: this.disabled,
|
|
11635
|
-
}, part: "control", slot: "trigger" }, hAsync("span", { key: '
|
|
11729
|
+
}, 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
11730
|
// Events
|
|
11637
11731
|
onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handleSearchFilter })), this.hasClearIcon && (
|
|
11638
11732
|
// The clear button will be visible as long as the input has a value
|
|
11639
11733
|
// and the parent group is hovered or has focus-within
|
|
11640
|
-
hAsync("bq-button", { key: '
|
|
11734
|
+
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
11735
|
[`bq-select__helper-text validation-${this.validationStatus}`]: true,
|
|
11642
11736
|
'!hidden': !this.hasHelperText,
|
|
11643
|
-
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: '
|
|
11737
|
+
}, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, hAsync("slot", { key: 'ff8cda8d9c5e057e36b70d079cf96d32b249179d', name: "helper-text", onSlotchange: this.handleSlotChange }))));
|
|
11644
11738
|
}
|
|
11645
11739
|
static get delegatesFocus() { return true; }
|
|
11646
11740
|
static get formAssociated() { return true; }
|
|
@@ -12487,6 +12581,8 @@ class BqSpinner {
|
|
|
12487
12581
|
this.checkPropValues();
|
|
12488
12582
|
}
|
|
12489
12583
|
componentDidLoad() {
|
|
12584
|
+
this.handleSlotChange();
|
|
12585
|
+
this.handleIconSlotChange();
|
|
12490
12586
|
this.setIconSize();
|
|
12491
12587
|
}
|
|
12492
12588
|
disconnectedCallback() {
|
|
@@ -12548,18 +12644,18 @@ class BqSpinner {
|
|
|
12548
12644
|
// Always the last one in the class.
|
|
12549
12645
|
// ===================================
|
|
12550
12646
|
render() {
|
|
12551
|
-
return (hAsync("div", { key: '
|
|
12647
|
+
return (hAsync("div", { key: '5dec7d81f288888d1ea128d6761d51c969f70ff2', class: {
|
|
12552
12648
|
[`bq-spinner ${this.size} text-${this.textPosition}`]: true,
|
|
12553
12649
|
'is-animated': this.animation,
|
|
12554
12650
|
'has-text': !!this.slotContentLength,
|
|
12555
|
-
}, part: "base" }, !this.hasIconSlot && (hAsync("div", { key: '
|
|
12651
|
+
}, 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
12652
|
'bq-spinner--icon': true,
|
|
12557
12653
|
flex: this.hasIconSlot,
|
|
12558
12654
|
'!hidden': !this.hasIconSlot,
|
|
12559
|
-
}, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, hAsync("slot", { key: '
|
|
12655
|
+
}, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, hAsync("slot", { key: '0611e1252457bb9e0ebe402c21e1d34798cc62b3', name: "icon", onSlotchange: this.handleIconSlotChange })), hAsync("span", { key: 'b94678347569529ba7e79a01b3b01a69fef00ee5', class: {
|
|
12560
12656
|
'bq-spinner--text font-medium leading-regular text-primary': true,
|
|
12561
12657
|
'!hidden': !this.isTextDisplayed,
|
|
12562
|
-
}, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, hAsync("slot", { key: '
|
|
12658
|
+
}, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, hAsync("slot", { key: '47b5004777b45b6fbcb1cb5371718f7f7fa60258', onSlotchange: this.handleSlotChange }))));
|
|
12563
12659
|
}
|
|
12564
12660
|
static get watchers() { return {
|
|
12565
12661
|
"textPosition": ["handleTextPositionProp"],
|
|
@@ -13328,6 +13424,9 @@ class BqTab {
|
|
|
13328
13424
|
componentWillLoad() {
|
|
13329
13425
|
this.checkPropValues();
|
|
13330
13426
|
}
|
|
13427
|
+
componentDidLoad() {
|
|
13428
|
+
this.handleIconSlotChange();
|
|
13429
|
+
}
|
|
13331
13430
|
// Listeners
|
|
13332
13431
|
// ==============
|
|
13333
13432
|
// Public methods API
|
|
@@ -13392,11 +13491,11 @@ class BqTab {
|
|
|
13392
13491
|
// Always the last one in the class.
|
|
13393
13492
|
// ===================================
|
|
13394
13493
|
render() {
|
|
13395
|
-
return (hAsync("button", { key: '
|
|
13494
|
+
return (hAsync("button", { key: '5c7864ae3c97b025b650b3d844c9c093d91e3470', ref: (el) => (this.buttonElement = el), class: {
|
|
13396
13495
|
[`bq-tab bq-tab--${this.size} bq-tab--${this.orientation}-${this.placement}`]: true,
|
|
13397
13496
|
'text-brand': this.active,
|
|
13398
13497
|
'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: '
|
|
13498
|
+
}, 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
13499
|
}
|
|
13401
13500
|
static get watchers() { return {
|
|
13402
13501
|
"size": ["checkPropValues"],
|
|
@@ -13833,6 +13932,9 @@ class BqTag {
|
|
|
13833
13932
|
componentWillLoad() {
|
|
13834
13933
|
this.checkPropValues();
|
|
13835
13934
|
}
|
|
13935
|
+
componentDidLoad() {
|
|
13936
|
+
this.handleSlotChange();
|
|
13937
|
+
}
|
|
13836
13938
|
// Listeners
|
|
13837
13939
|
// ==============
|
|
13838
13940
|
// Public methods API
|
|
@@ -13915,7 +14017,7 @@ class BqTag {
|
|
|
13915
14017
|
...(this.color && { '--bq-tag--background-color': getColorCSSVariable(this.color) ?? this.color }),
|
|
13916
14018
|
...(this.hasCustomColor && { '--bq-text--primary': `var(--bq-text--alt)` }),
|
|
13917
14019
|
};
|
|
13918
|
-
return (hAsync(Host, { key: '
|
|
14020
|
+
return (hAsync(Host, { key: 'f9e7905f81aa5b51e6b513df4628fa1a3661745f', style: style, "aria-hidden": this.isHidden ? 'true' : 'false', hidden: this.isHidden ? 'true' : 'false' }, hAsync("button", { key: 'f8ea7098e72de24a9c468b32250c81e3243c270b', class: {
|
|
13919
14021
|
[`bq-tag bq-tag__${this.size}`]: true,
|
|
13920
14022
|
[`bq-tag__${this.color || 'default'} bq-tag__${this.variant}`]: !this.hasCustomColor,
|
|
13921
14023
|
'is-clickable': this.isClickable,
|
|
@@ -13924,11 +14026,11 @@ class BqTag {
|
|
|
13924
14026
|
active: this.isClickable && this.selected,
|
|
13925
14027
|
// Fixed border radius
|
|
13926
14028
|
'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: '
|
|
14029
|
+
}, 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
14030
|
'text-xs': this.size === 'xsmall',
|
|
13929
14031
|
'text-s': this.size === 'small',
|
|
13930
14032
|
'text-m': this.size === 'medium',
|
|
13931
|
-
}, part: "text" }, hAsync("slot", { key: '
|
|
14033
|
+
}, 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
14034
|
}
|
|
13933
14035
|
static get delegatesFocus() { return true; }
|
|
13934
14036
|
static get watchers() { return {
|
|
@@ -14174,6 +14276,7 @@ class BqTextarea {
|
|
|
14174
14276
|
// Ordered by their natural call order
|
|
14175
14277
|
// =====================================
|
|
14176
14278
|
componentDidLoad() {
|
|
14279
|
+
this.handleSlotChange();
|
|
14177
14280
|
this.handleValueChange();
|
|
14178
14281
|
}
|
|
14179
14282
|
formAssociatedCallback() {
|
|
@@ -14245,10 +14348,8 @@ class BqTextarea {
|
|
|
14245
14348
|
inputElem.style.height = 'auto';
|
|
14246
14349
|
inputElem.style.height = `${inputElem.scrollHeight}px`;
|
|
14247
14350
|
};
|
|
14248
|
-
|
|
14351
|
+
handleSlotChange = () => {
|
|
14249
14352
|
this.hasLabel = hasSlotContent(this.labelElem);
|
|
14250
|
-
};
|
|
14251
|
-
handleHelperTextSlotChange = () => {
|
|
14252
14353
|
this.hasHelperText = hasSlotContent(this.helperTextElem);
|
|
14253
14354
|
};
|
|
14254
14355
|
setFormValue = (value) => {
|
|
@@ -14276,15 +14377,15 @@ class BqTextarea {
|
|
|
14276
14377
|
// Always the last one in the class.
|
|
14277
14378
|
// ===================================
|
|
14278
14379
|
render() {
|
|
14279
|
-
return (hAsync("div", { key: '
|
|
14380
|
+
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
14381
|
'bq-textarea__input': true,
|
|
14281
14382
|
'resize-none': this.disableResize,
|
|
14282
14383
|
[`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: '
|
|
14384
|
+
}, 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
14385
|
'bq-textarea__helper flex items-center justify-between': true,
|
|
14285
14386
|
[`validation-${this.validationStatus}`]: true,
|
|
14286
14387
|
'!hidden': !this.hasHelperText && !this.maxlength,
|
|
14287
|
-
}, part: "helper-info" }, hAsync("span", { key: '
|
|
14388
|
+
}, 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
14389
|
}
|
|
14289
14390
|
static get delegatesFocus() { return true; }
|
|
14290
14391
|
static get formAssociated() { return true; }
|
|
@@ -14842,1164 +14943,6 @@ registerComponents([
|
|
|
14842
14943
|
BqTooltip,
|
|
14843
14944
|
]);
|
|
14844
14945
|
|
|
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
14946
|
exports.hydrateApp = hydrateApp;
|
|
16004
14947
|
|
|
16005
14948
|
|
|
@@ -16108,7 +15051,7 @@ var NAMESPACE = (
|
|
|
16108
15051
|
);
|
|
16109
15052
|
|
|
16110
15053
|
/*
|
|
16111
|
-
Stencil Hydrate Runner v4.25.
|
|
15054
|
+
Stencil Hydrate Runner v4.25.3 | MIT Licensed | https://stenciljs.com
|
|
16112
15055
|
*/
|
|
16113
15056
|
var __defProp = Object.defineProperty;
|
|
16114
15057
|
var __export = (target, all) => {
|