@beeq/core 1.12.0 → 1.12.2-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 +44 -1
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +69 -1
- package/dist/{components/p-Bi6ozE0v.js → beeq/p-1011ae42.entry.js} +89 -2
- package/dist/beeq/{p-e394c440.entry.js.map → p-1011ae42.entry.js.map} +1 -1
- package/dist/beeq/p-110c262d.entry.js +173 -0
- package/dist/beeq/{p-b4a612db.entry.js.map → p-110c262d.entry.js.map} +1 -1
- package/dist/beeq/p-11671252.entry.js +128 -0
- package/dist/beeq/{p-a7a74198.entry.js.map → p-11671252.entry.js.map} +1 -1
- package/dist/beeq/p-11fcb99b.entry.js +281 -0
- package/dist/beeq/{p-5e186220.entry.js.map → p-11fcb99b.entry.js.map} +1 -1
- package/dist/beeq/p-1aba3eec.entry.js +150 -0
- package/dist/beeq/{p-3c491238.entry.js.map → p-1aba3eec.entry.js.map} +1 -1
- package/dist/beeq/p-20162842.entry.js +151 -0
- package/dist/beeq/{p-8cd20d85.entry.js.map → p-20162842.entry.js.map} +1 -1
- package/dist/beeq/p-3a4c4de9.entry.js +188 -0
- package/dist/beeq/{p-28c6cdbc.entry.js.map → p-3a4c4de9.entry.js.map} +1 -1
- package/dist/beeq/p-426fd908.entry.js +215 -0
- package/dist/beeq/{p-8fd716b1.entry.js.map → p-426fd908.entry.js.map} +1 -1
- package/dist/beeq/p-47571092.entry.js +289 -0
- package/dist/beeq/{p-e39e3d9c.entry.js.map → p-47571092.entry.js.map} +1 -1
- package/dist/beeq/p-49e90223.entry.js +86 -0
- package/dist/beeq/{p-63f1dcd2.entry.js.map → p-49e90223.entry.js.map} +1 -1
- package/dist/beeq/p-4b00a155.entry.js +747 -0
- package/dist/beeq/{p-f477b7ac.entry.js.map → p-4b00a155.entry.js.map} +1 -1
- package/dist/beeq/p-54ddd09f.entry.js +392 -0
- package/dist/beeq/{p-59cb331c.entry.js.map → p-54ddd09f.entry.js.map} +1 -1
- package/dist/{components/p-BcmnHFqE.js → beeq/p-6b68123f.entry.js} +246 -2
- package/dist/beeq/{p-96a79f9b.entry.js.map → p-6b68123f.entry.js.map} +1 -1
- package/dist/beeq/p-6d708caf.entry.js +339 -0
- package/dist/beeq/{p-a09d8901.entry.js.map → p-6d708caf.entry.js.map} +1 -1
- package/dist/beeq/p-70607940.entry.js +174 -0
- package/dist/beeq/{p-552d3e73.entry.js.map → p-70607940.entry.js.map} +1 -1
- package/dist/beeq/p-72c376a9.entry.js +165 -0
- package/dist/beeq/{p-6cac6da2.entry.js.map → p-72c376a9.entry.js.map} +1 -1
- package/dist/beeq/p-78bbd845.entry.js +109 -0
- package/dist/beeq/{p-be1b3e87.entry.js.map → p-78bbd845.entry.js.map} +1 -1
- package/dist/beeq/p-8012f01d.entry.js +556 -0
- package/dist/beeq/{p-ecef6efa.entry.js.map → p-8012f01d.entry.js.map} +1 -1
- package/dist/beeq/p-8b5934a3.entry.js +158 -0
- package/dist/beeq/{p-c414e7c0.entry.js.map → p-8b5934a3.entry.js.map} +1 -1
- package/dist/beeq/p-94c2081a.entry.js +681 -0
- package/dist/beeq/{p-8379d440.entry.js.map → p-94c2081a.entry.js.map} +1 -1
- package/dist/beeq/p-95979cb0.entry.js +289 -0
- package/dist/beeq/{p-76d65605.entry.js.map → p-95979cb0.entry.js.map} +1 -1
- package/dist/beeq/p-978b2249.entry.js +196 -0
- package/dist/beeq/{p-22e2de76.entry.js.map → p-978b2249.entry.js.map} +1 -1
- package/dist/beeq/p-9a78587d.entry.js +138 -0
- package/dist/beeq/{p-258e890f.entry.js.map → p-9a78587d.entry.js.map} +1 -1
- package/dist/beeq/p-B4sM1t6Z.js +8 -1
- package/dist/beeq/p-BNvWMggA.js +23 -1
- package/dist/beeq/p-BRMw_HGf.js +8 -1
- package/dist/beeq/p-BRbYDZoo.js +10 -1
- package/dist/beeq/p-BcPwGxIn.js +9 -1
- package/dist/beeq/p-BsSDkLU5.js +26 -1
- package/dist/beeq/p-BtYhUEAn.js +9 -0
- package/dist/beeq/p-BtYhUEAn.js.map +1 -0
- package/dist/beeq/p-C33fRBEf.js +151 -1
- package/dist/beeq/p-CCNjsDdb.js +88 -1
- package/dist/beeq/p-CVw85-WU.js +64 -1
- package/dist/beeq/p-Cau9SvT4.js +12 -1
- package/dist/beeq/p-CmKvDWiL.js +1787 -0
- package/dist/beeq/p-CmKvDWiL.js.map +1 -0
- package/dist/beeq/p-CpKQ7XUL.js +284 -1
- package/dist/beeq/p-D0hQxkOP.js +2816 -0
- package/dist/beeq/p-D0hQxkOP.js.map +1 -0
- package/dist/beeq/p-D1A0LpG_.js +10 -1
- package/dist/beeq/p-DdvbF5yL.js +119 -1
- package/dist/beeq/p-DnkZCdMA.js +8 -1
- package/dist/beeq/p-Ds7rcaFH.js +65 -1
- package/dist/beeq/p-Dx-CEPSQ.js +13 -1
- package/dist/beeq/p-_RvVpeh2.js +29 -1
- package/dist/beeq/p-ac7cd72b.entry.js +322 -0
- package/dist/beeq/{p-8a5e127b.entry.js.map → p-ac7cd72b.entry.js.map} +1 -1
- package/dist/beeq/p-ae85a23a.entry.js +408 -0
- package/dist/beeq/{p-a9cc76af.entry.js.map → p-ae85a23a.entry.js.map} +1 -1
- package/dist/beeq/p-b0f9a0cb.entry.js +296 -0
- package/dist/beeq/{p-043a472a.entry.js.map → p-b0f9a0cb.entry.js.map} +1 -1
- package/dist/beeq/p-b194e120.entry.js +293 -0
- package/dist/beeq/{p-b7de07f5.entry.js.map → p-b194e120.entry.js.map} +1 -1
- package/dist/beeq/p-b2858324.entry.js +210 -0
- package/dist/beeq/{p-dfd80d40.entry.js.map → p-b2858324.entry.js.map} +1 -1
- package/dist/beeq/p-c34fc2c7.entry.js +351 -0
- package/dist/beeq/{p-039f7907.entry.js.map → p-c34fc2c7.entry.js.map} +1 -1
- package/dist/beeq/p-c630a8b8.entry.js +442 -0
- package/dist/beeq/{p-d4ffd9f1.entry.js.map → p-c630a8b8.entry.js.map} +1 -1
- package/dist/beeq/p-cb9b1edc.entry.js +232 -0
- package/dist/beeq/{p-20de0359.entry.js.map → p-cb9b1edc.entry.js.map} +1 -1
- package/dist/beeq/p-cc6b349e.entry.js +172 -0
- package/dist/beeq/{p-904e521c.entry.js.map → p-cc6b349e.entry.js.map} +1 -1
- package/dist/beeq/p-d0edfaa5.entry.js +388 -0
- package/dist/beeq/{p-90b0fef1.entry.js.map → p-d0edfaa5.entry.js.map} +1 -1
- package/dist/beeq/{p-be1b3e87.entry.js → p-db09cc1e.entry.js} +83 -2
- package/dist/beeq/{p-1b988f57.entry.js.map → p-db09cc1e.entry.js.map} +1 -1
- package/dist/beeq/p-f6d82c39.entry.js +206 -0
- package/dist/beeq/{p-52334e53.entry.js.map → p-f6d82c39.entry.js.map} +1 -1
- package/dist/beeq/p-f83010e9.entry.js +118 -0
- package/dist/beeq/{p-8e9d8445.entry.js.map → p-f83010e9.entry.js.map} +1 -1
- package/dist/beeq/p-f97c679f.entry.js +233 -0
- package/dist/beeq/{p-55b686b4.entry.js.map → p-f97c679f.entry.js.map} +1 -1
- package/dist/beeq/{p-63f1dcd2.entry.js → p-ff327b98.entry.js} +116 -2
- package/dist/beeq/{p-47404d61.entry.js.map → p-ff327b98.entry.js.map} +1 -1
- package/dist/beeq/p-ff73f344.entry.js +396 -0
- package/dist/beeq/{p-50cbee50.entry.js.map → p-ff73f344.entry.js.map} +1 -1
- package/dist/beeq/p-lysmVw2n.js +12 -1
- package/dist/beeq/p-uqkxeAeG.js +88 -1
- package/dist/beeq/p-zh4P02Kn.js +21 -1
- package/dist/beeq.html-custom-data.json +80 -80
- package/dist/cjs/app-globals-BY_z0SzA.js +12 -0
- package/dist/cjs/app-globals-BY_z0SzA.js.map +1 -0
- package/dist/cjs/beeq.cjs.js +3 -2
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +2 -2
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +2 -2
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +2 -2
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +2 -2
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +2 -2
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +2 -2
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +2 -2
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +2 -2
- package/dist/cjs/bq-progress.cjs.entry.js.map +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 +2 -2
- 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-item.cjs.entry.js.map +1 -1
- 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 +2 -2
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +2 -2
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-step-item.cjs.entry.js.map +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-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +2 -2
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +2 -2
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{index-Cnm84YLJ.js → index-BwvwUnfB.js} +21 -15
- package/dist/cjs/index-BwvwUnfB.js.map +1 -0
- package/dist/cjs/{index-D7RDSS0K.js → index-CxAIhsq5.js} +81 -75
- package/dist/cjs/index-CxAIhsq5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/components/select/bq-select.js +2 -2
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/components/bq-accordion-group.js +157 -1
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +444 -1
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +354 -1
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +206 -1
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +8 -1
- package/dist/components/bq-breadcrumb-item.js +129 -1
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +138 -1
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +8 -1
- package/dist/components/bq-card.js +118 -1
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +314 -1
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1113 -1
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +347 -1
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +8 -1
- package/dist/components/bq-drawer.js +356 -1
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +8 -1
- package/dist/components/bq-empty-state.js +192 -1
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +8 -1
- package/dist/components/bq-input.js +502 -1
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +381 -1
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +104 -1
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +8 -1
- package/dist/components/bq-option.js +200 -1
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +150 -1
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +8 -1
- package/dist/components/bq-progress.js +220 -1
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +457 -1
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +219 -1
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +794 -1
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +181 -1
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +200 -1
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +443 -1
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +248 -1
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +119 -1
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +236 -1
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +175 -1
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +330 -1
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +273 -1
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +248 -1
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +8 -1
- package/dist/components/bq-textarea.js +393 -1
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +281 -1
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +8 -1
- package/dist/components/index.js +149 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-B4sM1t6Z.js +8 -1
- package/dist/components/p-B4sM1t6Z.js.map +1 -1
- package/dist/components/p-BRMw_HGf.js +8 -1
- package/dist/components/p-BRMw_HGf.js.map +1 -1
- package/dist/components/p-BRbYDZoo.js +10 -1
- package/dist/components/p-BRbYDZoo.js.map +1 -1
- package/dist/components/p-BcPwGxIn.js +9 -1
- package/dist/components/p-BcPwGxIn.js.map +1 -1
- package/dist/components/p-BsSDkLU5.js +26 -1
- package/dist/components/p-BsSDkLU5.js.map +1 -1
- package/dist/{beeq/p-8cd20d85.entry.js → components/p-C8_OKNHL.js} +221 -2
- package/dist/components/{p-plkW8XNd.js.map → p-C8_OKNHL.js.map} +1 -1
- package/dist/components/p-C97BzPa8.js +177 -0
- package/dist/components/{p-DhVt1fuD.js.map → p-C97BzPa8.js.map} +1 -1
- package/dist/components/p-CMejKLsB.js +248 -0
- package/dist/components/{p-SKH1pCPg.js.map → p-CMejKLsB.js.map} +1 -1
- package/dist/components/p-CVw85-WU.js +64 -1
- package/dist/components/p-CVw85-WU.js.map +1 -1
- package/dist/{beeq/p-55b686b4.entry.js → components/p-CXLw0i9p.js} +291 -2
- package/dist/components/{p-BcmnHFqE.js.map → p-CXLw0i9p.js.map} +1 -1
- package/dist/components/p-CmKvDWiL.js +1787 -0
- package/dist/components/p-CmKvDWiL.js.map +1 -0
- package/dist/components/p-D1A0LpG_.js +10 -1
- package/dist/components/p-D1A0LpG_.js.map +1 -1
- package/dist/{beeq/p-ecef6efa.entry.js → components/p-DBPU_cIr.js} +334 -2
- package/dist/components/{p-yO5LAmkd.js.map → p-DBPU_cIr.js.map} +1 -1
- package/dist/components/p-DDCN9O42.js +2669 -0
- package/dist/components/p-DDCN9O42.js.map +1 -0
- package/dist/components/p-DHhUeR-_.js +377 -0
- package/dist/components/{p-qVvRSuP7.js.map → p-DHhUeR-_.js.map} +1 -1
- package/dist/components/p-DSqLegVR.js +100 -0
- package/dist/components/{p-C6pBQ61U.js.map → p-DSqLegVR.js.map} +1 -1
- package/dist/components/p-DdvbF5yL.js +119 -1
- package/dist/components/p-DdvbF5yL.js.map +1 -1
- package/dist/components/p-DnkZCdMA.js +8 -1
- package/dist/components/p-DnkZCdMA.js.map +1 -1
- package/dist/components/p-Dx-CEPSQ.js +13 -1
- package/dist/components/p-Dx-CEPSQ.js.map +1 -1
- package/dist/{beeq/p-96a79f9b.entry.js → components/p-YyF6_fWE.js} +381 -2
- package/dist/components/{p-Bi6ozE0v.js.map → p-YyF6_fWE.js.map} +1 -1
- package/dist/components/p-_RvVpeh2.js +29 -1
- package/dist/components/p-_RvVpeh2.js.map +1 -1
- package/dist/components/p-lysmVw2n.js +12 -1
- package/dist/components/p-lysmVw2n.js.map +1 -1
- package/dist/components/p-qOL6hl5s.js +298 -0
- package/dist/components/{p-B93kqFqH.js.map → p-qOL6hl5s.js.map} +1 -1
- package/dist/components/p-uqkxeAeG.js +88 -1
- package/dist/components/p-uqkxeAeG.js.map +1 -1
- package/dist/components/p-zh4P02Kn.js +21 -1
- package/dist/components/p-zh4P02Kn.js.map +1 -1
- package/dist/custom-elements.json +1514 -1514
- package/dist/esm/app-globals-BtYhUEAn.js +10 -0
- package/dist/esm/app-globals-BtYhUEAn.js.map +1 -0
- package/dist/esm/beeq.js +3 -2
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +2 -2
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +1 -1
- package/dist/esm/bq-alert.entry.js +2 -2
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +2 -2
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +2 -2
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +2 -2
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +2 -2
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +2 -2
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +2 -2
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +2 -2
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +1 -1
- package/dist/esm/bq-drawer.entry.js +2 -2
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +4 -4
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +2 -2
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +2 -2
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +2 -2
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +2 -2
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +3 -3
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +1 -1
- package/dist/esm/bq-page-title.entry.js +2 -2
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +2 -2
- package/dist/esm/bq-progress.entry.js.map +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 +2 -2
- 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-item.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +2 -2
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +2 -2
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +1 -1
- package/dist/esm/bq-switch.entry.js +2 -2
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +1 -1
- package/dist/esm/bq-tab.entry.js +2 -2
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +2 -2
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +2 -2
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +2 -2
- package/dist/esm/{index-CgIw4Syg.js → index-CmKvDWiL.js} +81 -75
- package/dist/esm/index-CmKvDWiL.js.map +1 -0
- package/dist/esm/{index-BIw6Ac7W.js → index-D0hQxkOP.js} +22 -15
- package/dist/esm/index-D0hQxkOP.js.map +1 -0
- package/dist/esm/loader.js +3 -2
- package/dist/esm/loader.js.map +1 -1
- package/dist/hydrate/index.js +82 -82
- package/dist/hydrate/index.mjs +82 -82
- package/dist/stencil.config.js +1 -0
- package/dist/stencil.config.js.map +1 -1
- package/package.json +4 -4
- package/dist/beeq/p-039f7907.entry.js +0 -6
- package/dist/beeq/p-043a472a.entry.js +0 -6
- package/dist/beeq/p-1b988f57.entry.js +0 -6
- package/dist/beeq/p-20de0359.entry.js +0 -6
- package/dist/beeq/p-22e2de76.entry.js +0 -6
- package/dist/beeq/p-258e890f.entry.js +0 -6
- package/dist/beeq/p-28c6cdbc.entry.js +0 -6
- package/dist/beeq/p-3c491238.entry.js +0 -6
- package/dist/beeq/p-47404d61.entry.js +0 -6
- package/dist/beeq/p-50cbee50.entry.js +0 -6
- package/dist/beeq/p-52334e53.entry.js +0 -6
- package/dist/beeq/p-552d3e73.entry.js +0 -6
- package/dist/beeq/p-59cb331c.entry.js +0 -6
- package/dist/beeq/p-5e186220.entry.js +0 -6
- package/dist/beeq/p-6cac6da2.entry.js +0 -6
- package/dist/beeq/p-76d65605.entry.js +0 -6
- package/dist/beeq/p-8379d440.entry.js +0 -6
- package/dist/beeq/p-8a5e127b.entry.js +0 -6
- package/dist/beeq/p-8e9d8445.entry.js +0 -6
- package/dist/beeq/p-8fd716b1.entry.js +0 -6
- package/dist/beeq/p-904e521c.entry.js +0 -6
- package/dist/beeq/p-90b0fef1.entry.js +0 -6
- package/dist/beeq/p-BIw6Ac7W.js +0 -7
- package/dist/beeq/p-BIw6Ac7W.js.map +0 -1
- package/dist/beeq/p-CgIw4Syg.js +0 -6
- package/dist/beeq/p-CgIw4Syg.js.map +0 -1
- package/dist/beeq/p-a09d8901.entry.js +0 -6
- package/dist/beeq/p-a7a74198.entry.js +0 -6
- package/dist/beeq/p-a9cc76af.entry.js +0 -6
- package/dist/beeq/p-b4a612db.entry.js +0 -6
- package/dist/beeq/p-b7de07f5.entry.js +0 -6
- package/dist/beeq/p-c414e7c0.entry.js +0 -6
- package/dist/beeq/p-d4ffd9f1.entry.js +0 -6
- package/dist/beeq/p-dfd80d40.entry.js +0 -6
- package/dist/beeq/p-e394c440.entry.js +0 -6
- package/dist/beeq/p-e39e3d9c.entry.js +0 -6
- package/dist/beeq/p-f477b7ac.entry.js +0 -6
- package/dist/cjs/index-Cnm84YLJ.js.map +0 -1
- package/dist/cjs/index-D7RDSS0K.js.map +0 -1
- package/dist/components/p-B93kqFqH.js +0 -6
- package/dist/components/p-C6pBQ61U.js +0 -6
- package/dist/components/p-CCQ_5HvV.js +0 -6
- package/dist/components/p-CCQ_5HvV.js.map +0 -1
- package/dist/components/p-CgIw4Syg.js +0 -6
- package/dist/components/p-CgIw4Syg.js.map +0 -1
- package/dist/components/p-DhVt1fuD.js +0 -6
- package/dist/components/p-SKH1pCPg.js +0 -6
- package/dist/components/p-plkW8XNd.js +0 -6
- package/dist/components/p-qVvRSuP7.js +0 -6
- package/dist/components/p-yO5LAmkd.js +0 -6
- package/dist/esm/index-BIw6Ac7W.js.map +0 -1
- package/dist/esm/index-CgIw4Syg.js.map +0 -1
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/jest.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/tailwind.config.d.ts +0 -0
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by Endavans
|
|
3
|
+
* © https://beeq.design - Apache 2 License.
|
|
4
|
+
*/
|
|
5
|
+
import { r, c as a, g as e } from "./p-D0hQxkOP.js";
|
|
6
|
+
|
|
7
|
+
import { a as t, j as n } from "./p-C33fRBEf.js";
|
|
8
|
+
|
|
9
|
+
import { i } from "./p-B4sM1t6Z.js";
|
|
10
|
+
|
|
11
|
+
import { f as b, e as o, g as d, p as s, t as l, u as c, c as q } from "./p-CpKQ7XUL.js";
|
|
12
|
+
|
|
13
|
+
import { i as u } from "./p-BcPwGxIn.js";
|
|
14
|
+
|
|
15
|
+
import { i as v } from "./p-Dx-CEPSQ.js";
|
|
16
|
+
|
|
17
|
+
import { i as g } from "./p-BRbYDZoo.js";
|
|
18
|
+
|
|
19
|
+
import { i as p } from "./p-D1A0LpG_.js";
|
|
20
|
+
|
|
21
|
+
import { v as f } from "./p-zh4P02Kn.js";
|
|
22
|
+
|
|
23
|
+
import { b as h } from "./p-uqkxeAeG.js";
|
|
24
|
+
|
|
25
|
+
import "./p-lysmVw2n.js";
|
|
26
|
+
|
|
27
|
+
/** The type of the date picker */ const k = [ "single", "multi", "range" ];
|
|
28
|
+
|
|
29
|
+
/** Default fallback input ID */ const m = "date-picker";
|
|
30
|
+
|
|
31
|
+
/** Calendar month shadow DOM parts for common elements */ const y = "calendar__heading,calendar__table,calendar__tr,calendar__head,calendar__week,calendar__th,calendar__td";
|
|
32
|
+
|
|
33
|
+
/** Calendar month shadow DOM parts for button elements */ const x = "calendar__button,calendar__day,calendar__selected,calendar__today,calendar__disallowed,calendar__outside,calendar__range-start,calendar__range-end,calendar__range-inner";
|
|
34
|
+
|
|
35
|
+
/** Combined export parts for calendar-month component */ const w = `${y},${x}`
|
|
36
|
+
/** Export parts for the calendar container component (calendar-date, calendar-range, calendar-multi) */;
|
|
37
|
+
|
|
38
|
+
const _ = "container:calendar__container,header:calendar__header,button:calendar__button,previous:calendar__previous,next:calendar__next,disabled:calendar__disabled,heading:calendar__heading";
|
|
39
|
+
|
|
40
|
+
/** Maps picker type to Cally component tag name */ const z = {
|
|
41
|
+
single: "calendar-date",
|
|
42
|
+
multi: "calendar-multi",
|
|
43
|
+
range: "calendar-range"
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/* -------------------------------------------------------------------------- */
|
|
47
|
+
/* Cally Library loader helper */
|
|
48
|
+
/* -------------------------------------------------------------------------- */ const C = "data-cally-library";
|
|
49
|
+
|
|
50
|
+
//❗ Make sure to update the version here when the library releases a new version
|
|
51
|
+
const D = "0.9.0";
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* ❗ Make sure to update the hash here if the `CALLY_LIB_VERSION` is updated
|
|
55
|
+
* This hash is used to ensure the integrity of the library when loading it
|
|
56
|
+
* from a CDN.
|
|
57
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Subresource_Integrity#tools_for_generating_sri_hashes
|
|
58
|
+
*/ const j = "sha384-pM/XA9cWLgX65JRL+wCO7uw2DIwVqcK1WlITykq2OZYbP5vuMspYj0K29Ka6UyFU";
|
|
59
|
+
|
|
60
|
+
let E = false;
|
|
61
|
+
|
|
62
|
+
let P = null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Helper function to load a script with given configuration
|
|
66
|
+
* @param {Object} config - Script configuration
|
|
67
|
+
* @param {string} config.type - The type of the script
|
|
68
|
+
* @param {string} config.src - The source URL of the script
|
|
69
|
+
* @param {Record<string, string>} [config.attributes] - Additional attributes to set on the script element
|
|
70
|
+
* @returns Promise that resolves when the script is loaded
|
|
71
|
+
* @throws {Error} If the script fails to load
|
|
72
|
+
*/ const loadScript = ({type: r, src: a, attributes: e = {}}) => new Promise(((t, n) => {
|
|
73
|
+
const i = document.createElement("script");
|
|
74
|
+
i.type = r;
|
|
75
|
+
i.src = a;
|
|
76
|
+
i.onload = () => t();
|
|
77
|
+
i.onerror = r => n(new Error(`Failed to load script: ${a}, ${r instanceof Error ? r.message : "Unknown error"}`));
|
|
78
|
+
Object.entries(e).forEach((([r, a]) => {
|
|
79
|
+
i.setAttribute(r, a);
|
|
80
|
+
}));
|
|
81
|
+
document.head.appendChild(i);
|
|
82
|
+
}));
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Checks if the Cally library is already loaded in the document
|
|
86
|
+
* @returns {boolean} True if the library is loaded
|
|
87
|
+
*/ const isCallyLibraryLoaded = () => E || document.querySelector(`script[${C}]`) !== null;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Loads the Cally library for the date picker component.
|
|
91
|
+
* Uses a singleton promise pattern to prevent race conditions when multiple
|
|
92
|
+
* date picker components attempt to load the library simultaneously.
|
|
93
|
+
*
|
|
94
|
+
* @throws {Error} If the library fails to load
|
|
95
|
+
* @return {Promise<void>}
|
|
96
|
+
*/ const loadCallyLibrary = () => {
|
|
97
|
+
// Already loaded, return immediately
|
|
98
|
+
if (E) return Promise.resolve();
|
|
99
|
+
// If a load is already in progress, wait for it to complete
|
|
100
|
+
if (P !== null) return P;
|
|
101
|
+
// Check if script already exists in DOM (e.g., from a previous session or external source)
|
|
102
|
+
if (document.querySelector(`script[${C}]`) !== null) {
|
|
103
|
+
E = true;
|
|
104
|
+
return Promise.resolve();
|
|
105
|
+
}
|
|
106
|
+
// Start loading and store the promise so concurrent calls can await it
|
|
107
|
+
P = loadScript({
|
|
108
|
+
type: "module",
|
|
109
|
+
src: `https://unpkg.com/cally@${D}/dist/cally.js`,
|
|
110
|
+
attributes: {
|
|
111
|
+
[C]: "",
|
|
112
|
+
crossOrigin: "anonymous",
|
|
113
|
+
integrity: j
|
|
114
|
+
}
|
|
115
|
+
}).then((() => {
|
|
116
|
+
E = true;
|
|
117
|
+
})).catch((r => {
|
|
118
|
+
// Reset the promise so future attempts can retry
|
|
119
|
+
P = null;
|
|
120
|
+
E = false;
|
|
121
|
+
throw new Error(`Failed to load the cally library: ${r instanceof Error ? r.message : "Unknown error"}`);
|
|
122
|
+
}));
|
|
123
|
+
return P;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
const bqDatePickerCss = () => `.border-spacing-0,calendar-month::part(table){--tw-border-spacing-x:0;--tw-border-spacing-y:0}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.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}.table{display:table}.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}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.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-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\\],.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%)}.is-full{inline-size:100%}.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:2.25rem;--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-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}.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)}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 selected range-inner){color:var(--bq-text--primary)}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)}calendar-month::part(table){--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);font-size:inherit}.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}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.\\!hidden{display:none!important}.hidden{display:none}.flex-wrap{flex-wrap:wrap}.gap-\\[--bq-spacing-m\\]{gap:var(--bq-spacing-m)}@media (min-width:640px){.sm\\:block{display:block}}.\\[\\&\\:\\:part\\(button\\)\\]\\:border-none::part(button){border-style:none}.\\[\\&\\:\\:part\\(button\\)\\]\\:p-0::part(button){padding:0}.\\[\\&\\:\\:part\\(panel\\)\\]\\:p-m::part(panel){padding:var(--bq-spacing-m)}.\\[\\&\\:\\:part\\(panel\\)\\]\\:is-auto::part(panel){inline-size:auto}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}.relative{position:relative}`;
|
|
127
|
+
|
|
128
|
+
const O = class {
|
|
129
|
+
constructor(e) {
|
|
130
|
+
r(this, e);
|
|
131
|
+
this.bqBlur = a(this, "bqBlur");
|
|
132
|
+
this.bqChange = a(this, "bqChange");
|
|
133
|
+
this.bqClear = a(this, "bqClear");
|
|
134
|
+
this.bqFocus = a(this, "bqFocus");
|
|
135
|
+
if (e.$hostElement$["s-ei"]) {
|
|
136
|
+
this.internals = e.$hostElement$["s-ei"];
|
|
137
|
+
} else {
|
|
138
|
+
this.internals = e.$hostElement$.attachInternals();
|
|
139
|
+
e.$hostElement$["s-ei"] = this.internals;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
// Own Properties
|
|
143
|
+
// ====================
|
|
144
|
+
callyElem;
|
|
145
|
+
inputElem;
|
|
146
|
+
isInternalUpdate=false;
|
|
147
|
+
labelElem;
|
|
148
|
+
prefixElem;
|
|
149
|
+
suffixElem;
|
|
150
|
+
// Reference to host HTML element
|
|
151
|
+
// ===================================
|
|
152
|
+
internals;
|
|
153
|
+
get el() {
|
|
154
|
+
return e(this);
|
|
155
|
+
}
|
|
156
|
+
// State() variables
|
|
157
|
+
// Inlined decorator, alphabetical order
|
|
158
|
+
// =======================================
|
|
159
|
+
isCallyLoaded=false;
|
|
160
|
+
focusedDate;
|
|
161
|
+
displayDate;
|
|
162
|
+
hasLabel=false;
|
|
163
|
+
hasPrefix=false;
|
|
164
|
+
hasRangeEnd=false;
|
|
165
|
+
hasSuffix=false;
|
|
166
|
+
hasValue=false;
|
|
167
|
+
// Public Property API
|
|
168
|
+
// ========================
|
|
169
|
+
/** If `true`, the Date picker input will be focused on component render */
|
|
170
|
+
autofocus;
|
|
171
|
+
/** The clear button aria label */
|
|
172
|
+
clearButtonLabel="Clear value";
|
|
173
|
+
/** If `true`, the clear button won't be displayed */
|
|
174
|
+
disableClear=false;
|
|
175
|
+
/**
|
|
176
|
+
* Indicates whether the Date picker input is disabled or not.
|
|
177
|
+
* If `true`, the Date picker is disabled and cannot be interacted with.
|
|
178
|
+
*/
|
|
179
|
+
disabled=false;
|
|
180
|
+
/** Represents the distance (gutter or margin) between the Date picker panel and the input element. */
|
|
181
|
+
distance=8;
|
|
182
|
+
/** The first day of the week, where Sunday is 0, Monday is 1, etc */
|
|
183
|
+
firstDayOfWeek=1;
|
|
184
|
+
/** The options to use when formatting the displayed value.
|
|
185
|
+
* Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
|
|
186
|
+
*/
|
|
187
|
+
formatOptions={
|
|
188
|
+
day: "numeric",
|
|
189
|
+
month: "short",
|
|
190
|
+
year: "numeric"
|
|
191
|
+
};
|
|
192
|
+
/** The ID of the form that the Date picker input belongs to. */
|
|
193
|
+
form;
|
|
194
|
+
/** The native form validation message (mandatory if `required` is set) */
|
|
195
|
+
formValidationMessage;
|
|
196
|
+
/** A function that takes a date and returns true if the date should not be selectable */
|
|
197
|
+
isDateDisallowed;
|
|
198
|
+
/** The locale for formatting dates. If not set, will use the browser's locale.
|
|
199
|
+
* Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
|
|
200
|
+
*/
|
|
201
|
+
locale="en-GB";
|
|
202
|
+
/** The latest date that can be selected */
|
|
203
|
+
max;
|
|
204
|
+
/** The earliest date that can be selected */
|
|
205
|
+
min;
|
|
206
|
+
/** Number of months to show when range is `true` */
|
|
207
|
+
months;
|
|
208
|
+
/**
|
|
209
|
+
* Specifies how the next/previous buttons should navigate the calendar.
|
|
210
|
+
* - single: The buttons will navigate by a single month at a time.
|
|
211
|
+
* - months: The buttons will navigate by the number of months displayed per view.
|
|
212
|
+
*/
|
|
213
|
+
monthsPerView="single";
|
|
214
|
+
/** The Date picker input name. */
|
|
215
|
+
name;
|
|
216
|
+
/** If `true`, the Date picker panel will be visible. */
|
|
217
|
+
open=false;
|
|
218
|
+
/** When set, it will override the height of the Date picker panel. */
|
|
219
|
+
panelHeight="auto";
|
|
220
|
+
/** The Date picker input placeholder text value */
|
|
221
|
+
placeholder;
|
|
222
|
+
/** Position of the Date picker panel */
|
|
223
|
+
placement="bottom-end";
|
|
224
|
+
/** Indicates whether or not the Date picker input is required to be filled out before submitting the form. */
|
|
225
|
+
required;
|
|
226
|
+
/** Represents the skidding between the Date picker panel and the input element. */
|
|
227
|
+
skidding=0;
|
|
228
|
+
/** Whether to show days outside the month */
|
|
229
|
+
showOutsideDays=false;
|
|
230
|
+
/** Defines the strategy to position the Date picker panel */
|
|
231
|
+
strategy="fixed";
|
|
232
|
+
/** The date that is tentatively selected e.g. the start of a range selection */
|
|
233
|
+
tentative;
|
|
234
|
+
/** It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection */
|
|
235
|
+
type="single";
|
|
236
|
+
/**
|
|
237
|
+
* The validation status of the Select input.
|
|
238
|
+
*
|
|
239
|
+
* @remarks
|
|
240
|
+
* This property is used to indicate the validation status of the select input. It can be set to one of the following values:
|
|
241
|
+
* - `'none'`: No validation status is set.
|
|
242
|
+
* - `'error'`: The input has a validation error.
|
|
243
|
+
* - `'warning'`: The input has a validation warning.
|
|
244
|
+
* - `'success'`: The input has passed validation.
|
|
245
|
+
*/
|
|
246
|
+
validationStatus="none";
|
|
247
|
+
/** The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
|
|
248
|
+
* All dates are expected in ISO-8601 format (YYYY-MM-DD). */
|
|
249
|
+
value;
|
|
250
|
+
// Prop lifecycle events
|
|
251
|
+
// =======================
|
|
252
|
+
handleValueChange(r, a) {
|
|
253
|
+
if (r === a) return;
|
|
254
|
+
const {formatOptions: e, internals: t, isCallyLoaded: n, locale: i, type: o} = this;
|
|
255
|
+
if (!n) return;
|
|
256
|
+
t.setFormValue(!u(r) ? `${r}` : undefined);
|
|
257
|
+
this.updateFormValidity();
|
|
258
|
+
this.hasValue = g(r);
|
|
259
|
+
this.displayDate = b(r, o, i, e);
|
|
260
|
+
this.setFocusedDate();
|
|
261
|
+
}
|
|
262
|
+
checkPropValues() {
|
|
263
|
+
f(k, "single", this.el, "type");
|
|
264
|
+
}
|
|
265
|
+
// Events section
|
|
266
|
+
// Requires JSDocs for public API documentation
|
|
267
|
+
// ==============================================
|
|
268
|
+
/** Callback handler emitted when the input loses focus */
|
|
269
|
+
bqBlur;
|
|
270
|
+
/**
|
|
271
|
+
* Callback handler emitted when the input value has changed and the input loses focus.
|
|
272
|
+
* This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
|
|
273
|
+
*/
|
|
274
|
+
bqChange;
|
|
275
|
+
/** Callback handler emitted when the input value has been cleared */
|
|
276
|
+
bqClear;
|
|
277
|
+
/** Callback handler emitted when the input has received focus */
|
|
278
|
+
bqFocus;
|
|
279
|
+
// Component lifecycle events
|
|
280
|
+
// Ordered by their natural call order
|
|
281
|
+
// =====================================
|
|
282
|
+
async componentWillLoad() {
|
|
283
|
+
if (!i() || this.isCallyLoaded) return;
|
|
284
|
+
try {
|
|
285
|
+
await loadCallyLibrary();
|
|
286
|
+
this.isCallyLoaded = isCallyLibraryLoaded();
|
|
287
|
+
} catch (r) {
|
|
288
|
+
console.error(r);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
componentDidLoad() {
|
|
292
|
+
this.handleSlotChange();
|
|
293
|
+
this.handleValueChange(this.value, undefined);
|
|
294
|
+
}
|
|
295
|
+
componentDidRender() {
|
|
296
|
+
if (this.isInternalUpdate) {
|
|
297
|
+
this.isInternalUpdate = false;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
formAssociatedCallback() {
|
|
301
|
+
this.updateFormValidity();
|
|
302
|
+
}
|
|
303
|
+
formResetCallback() {
|
|
304
|
+
if (u(this.value)) return;
|
|
305
|
+
this.clear();
|
|
306
|
+
}
|
|
307
|
+
// Listeners
|
|
308
|
+
// ==============
|
|
309
|
+
handleOpenChange(r) {
|
|
310
|
+
if (!v(r, this.el)) return;
|
|
311
|
+
const {open: a} = r.detail;
|
|
312
|
+
if (this.open === a) return;
|
|
313
|
+
this.open = a;
|
|
314
|
+
}
|
|
315
|
+
handleClickOutside(r) {
|
|
316
|
+
const {open: a, type: e, hasRangeEnd: t} = this;
|
|
317
|
+
if (!a || e !== "range" || r.button !== 0) return;
|
|
318
|
+
if (v(r, this.el) || t) return;
|
|
319
|
+
this.tentative = undefined;
|
|
320
|
+
this.hasRangeEnd = false;
|
|
321
|
+
}
|
|
322
|
+
// Public methods API
|
|
323
|
+
// These methods are exposed on the host element.
|
|
324
|
+
// Always use two lines.
|
|
325
|
+
// Public Methods must be async.
|
|
326
|
+
// Requires JSDocs for public API documentation.
|
|
327
|
+
// ===============================================
|
|
328
|
+
/**
|
|
329
|
+
* Clears the selected value.
|
|
330
|
+
* @returns {Promise<void>}
|
|
331
|
+
*/
|
|
332
|
+
async clear() {
|
|
333
|
+
if (this.disabled) return;
|
|
334
|
+
this.value = undefined;
|
|
335
|
+
this.internals.setFormValue(undefined);
|
|
336
|
+
this.bqClear.emit(this.el);
|
|
337
|
+
}
|
|
338
|
+
// Local methods
|
|
339
|
+
// Internal business logic.
|
|
340
|
+
// These methods cannot be called from the host element.
|
|
341
|
+
// =======================================================
|
|
342
|
+
/**
|
|
343
|
+
* Handles the blur event for the date picker input.
|
|
344
|
+
* @returns {void}
|
|
345
|
+
*/
|
|
346
|
+
handleBlur=() => {
|
|
347
|
+
if (this.disabled) return;
|
|
348
|
+
this.bqBlur.emit(this.el);
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Handles the focus event for the date picker input.
|
|
352
|
+
* @returns {void}
|
|
353
|
+
*/
|
|
354
|
+
handleFocus=() => {
|
|
355
|
+
if (this.disabled) return;
|
|
356
|
+
this.bqFocus.emit(this.el);
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Updates the focused date in the calendar component.
|
|
360
|
+
* Falls back to today's date if no value is set.
|
|
361
|
+
* @returns {void}
|
|
362
|
+
*/
|
|
363
|
+
setFocusedDate=() => {
|
|
364
|
+
const {callyElem: r, isCallyLoaded: a, value: e} = this;
|
|
365
|
+
if (!r || !a) return;
|
|
366
|
+
const t = e ? o(e) : d();
|
|
367
|
+
if (this.focusedDate === t) return;
|
|
368
|
+
this.focusedDate = t;
|
|
369
|
+
if (r.focusedDate !== this.focusedDate) {
|
|
370
|
+
// We need to set the focused date in the calendar component via a ref
|
|
371
|
+
// because it doesn't work when passed as a prop (the Cally element does not re-render)
|
|
372
|
+
r.focusedDate = this.focusedDate;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Handles user input changes with locale-aware date parsing.
|
|
377
|
+
* Validates against disallowed dates and min/max constraints.
|
|
378
|
+
* @param {Event} ev - The change event.
|
|
379
|
+
* @returns {void}
|
|
380
|
+
*/
|
|
381
|
+
handleChange=r => {
|
|
382
|
+
if (this.disabled || !p(r.target, "input")) return;
|
|
383
|
+
const a = r.target.value.trim();
|
|
384
|
+
if (!a) {
|
|
385
|
+
this.clearValue();
|
|
386
|
+
this.bqChange.emit({
|
|
387
|
+
value: this.value,
|
|
388
|
+
el: this.el
|
|
389
|
+
});
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
// Try to parse as date with locale awareness
|
|
393
|
+
const e = s(a, this.locale);
|
|
394
|
+
if (!e) {
|
|
395
|
+
// Invalid date: don't update component value to avoid side effects
|
|
396
|
+
this.internals.setFormValue(undefined);
|
|
397
|
+
this.updateFormValidity();
|
|
398
|
+
this.bqChange.emit({
|
|
399
|
+
value: a,
|
|
400
|
+
el: this.el
|
|
401
|
+
});
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
// Check if date is disallowed
|
|
405
|
+
if (this.isDateDisallowed?.(e)) {
|
|
406
|
+
this.internals.setFormValue(undefined);
|
|
407
|
+
this.updateFormValidity();
|
|
408
|
+
this.bqChange.emit({
|
|
409
|
+
value: a,
|
|
410
|
+
el: this.el
|
|
411
|
+
});
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
// Valid date: normalize to ISO format and clamp to range if needed
|
|
415
|
+
// Note: clamping is done based on string comparison of ISO dates and only when min/max are set
|
|
416
|
+
let t = l(e);
|
|
417
|
+
t = q(t, this.min, this.max);
|
|
418
|
+
this.value = t;
|
|
419
|
+
this.displayDate = b(t, this.type, this.locale, this.formatOptions);
|
|
420
|
+
this.internals.setFormValue(t);
|
|
421
|
+
this.updateFormValidity();
|
|
422
|
+
this.bqChange.emit({
|
|
423
|
+
value: this.value,
|
|
424
|
+
el: this.el
|
|
425
|
+
});
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* Handles the change event when the user selects a date in the calendar component.
|
|
429
|
+
* @param {Event} ev - The change event.
|
|
430
|
+
* @returns {void}
|
|
431
|
+
*/
|
|
432
|
+
handleCalendarChange=r => {
|
|
433
|
+
if (this.isInternalUpdate) return;
|
|
434
|
+
const a = this.type === "multi";
|
|
435
|
+
const e = r.target.value;
|
|
436
|
+
if (this.value === e) {
|
|
437
|
+
this.open = a;
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
this.isInternalUpdate = true;
|
|
441
|
+
this.value = e;
|
|
442
|
+
this.displayDate = b(e, this.type, this.locale, this.formatOptions);
|
|
443
|
+
this.inputElem.value = this.displayDate;
|
|
444
|
+
this.inputElem.focus();
|
|
445
|
+
this.internals.setFormValue(e);
|
|
446
|
+
this.bqChange.emit({
|
|
447
|
+
value: this.value,
|
|
448
|
+
el: this.el
|
|
449
|
+
});
|
|
450
|
+
this.open = a;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Handles the range start event when the user starts selecting a date range
|
|
454
|
+
* @param {CustomEvent} ev - The range start event.
|
|
455
|
+
* @returns {void}
|
|
456
|
+
*/
|
|
457
|
+
handleCalendarRangeStart=r => {
|
|
458
|
+
this.hasRangeEnd = false;
|
|
459
|
+
this.tentative = r.detail;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* Handles the range end event when the user finishes selecting a date range
|
|
463
|
+
* @returns {void}
|
|
464
|
+
*/
|
|
465
|
+
handleCalendarRangeEnd=() => {
|
|
466
|
+
this.hasRangeEnd = true;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Handles the clear click event when the user clicks the clear button
|
|
470
|
+
* @param {CustomEvent} ev - The clear click event.
|
|
471
|
+
* @returns {void}
|
|
472
|
+
*/
|
|
473
|
+
handleClearClick=r => {
|
|
474
|
+
if (this.disabled) return;
|
|
475
|
+
this.inputElem.value = "";
|
|
476
|
+
this.clearValue();
|
|
477
|
+
this.hasRangeEnd = false;
|
|
478
|
+
this.bqClear.emit(this.el);
|
|
479
|
+
this.bqChange.emit({
|
|
480
|
+
value: this.value,
|
|
481
|
+
el: this.el
|
|
482
|
+
});
|
|
483
|
+
this.inputElem.focus();
|
|
484
|
+
r.stopPropagation();
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* Clears the value of the date picker input.
|
|
488
|
+
* @returns {void}
|
|
489
|
+
*/
|
|
490
|
+
clearValue=() => {
|
|
491
|
+
this.value = undefined;
|
|
492
|
+
this.displayDate = undefined;
|
|
493
|
+
this.internals.setFormValue(undefined);
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Handles the slot change event when the slots content changes
|
|
497
|
+
* @returns {void}
|
|
498
|
+
*/
|
|
499
|
+
handleSlotChange=() => {
|
|
500
|
+
this.hasLabel = h(this.labelElem);
|
|
501
|
+
this.hasPrefix = h(this.prefixElem);
|
|
502
|
+
this.hasSuffix = h(this.suffixElem);
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* Generates a calendar month element
|
|
506
|
+
* @param {number} offset - The offset of the calendar month.
|
|
507
|
+
* @param {string} className - The class name of the calendar month.
|
|
508
|
+
* @returns {JSX.Element | null} The calendar month element.
|
|
509
|
+
*/
|
|
510
|
+
generateCalendarMonth=(r, a = "") => {
|
|
511
|
+
if (!this.isCallyLoaded) return null;
|
|
512
|
+
return t("calendar-month", {
|
|
513
|
+
class: a,
|
|
514
|
+
exportparts: w,
|
|
515
|
+
offset: r
|
|
516
|
+
});
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* Generates an array of Elements representing the calendar months.
|
|
520
|
+
*
|
|
521
|
+
* If the type of the date picker is 'range' or 'multi' and the number of months is specified,
|
|
522
|
+
* it generates an array of calendar months with the specified length. Each month will have an offset
|
|
523
|
+
* and a class name based on its position in the array. The offset is used to determine the month to display,
|
|
524
|
+
* and the class name is used for responsive design.
|
|
525
|
+
*
|
|
526
|
+
* If the type of the date picker is not 'range' or 'multi', or if the number of months is not specified,
|
|
527
|
+
* it generates an array with a single calendar month.
|
|
528
|
+
*
|
|
529
|
+
* @returns {JSX.Element[]} An array of elements representing the calendar months.
|
|
530
|
+
*/
|
|
531
|
+
generateCalendarMonths=() => {
|
|
532
|
+
if (!this.isCallyLoaded) return [];
|
|
533
|
+
if (this.type === "range" || this.type === "multi" && this.months) {
|
|
534
|
+
return Array.from({
|
|
535
|
+
length: this.months
|
|
536
|
+
}, ((r, a) => {
|
|
537
|
+
const e = a > 0 ? a : undefined;
|
|
538
|
+
const t = e ? "hidden sm:block" : "";
|
|
539
|
+
return this.generateCalendarMonth(e, t);
|
|
540
|
+
}));
|
|
541
|
+
}
|
|
542
|
+
return [ this.generateCalendarMonth() ];
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* Updates the form validity of the date picker input.
|
|
546
|
+
* @returns {void}
|
|
547
|
+
*/
|
|
548
|
+
updateFormValidity=() => {
|
|
549
|
+
const {formValidationMessage: r, internals: a, required: e, value: t, inputElem: n} = this;
|
|
550
|
+
c({
|
|
551
|
+
internals: a,
|
|
552
|
+
required: e,
|
|
553
|
+
value: t,
|
|
554
|
+
inputElem: n,
|
|
555
|
+
validationMessage: r,
|
|
556
|
+
defaultMessage: "Please, input or select a valid date"
|
|
557
|
+
});
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Returns the Cally calendar component tag name based on the picker type.
|
|
561
|
+
* Maps 'single' → 'calendar-date', 'multi' → 'calendar-multi', 'range' → 'calendar-range'
|
|
562
|
+
*
|
|
563
|
+
* @returns The Cally calendar component tag name.
|
|
564
|
+
*/
|
|
565
|
+
get calendarType() {
|
|
566
|
+
return z[this.type] ?? z.single;
|
|
567
|
+
}
|
|
568
|
+
// render() function
|
|
569
|
+
// Always the last one in the class.
|
|
570
|
+
// ===================================
|
|
571
|
+
render() {
|
|
572
|
+
const r = this.calendarType;
|
|
573
|
+
const a = `bq-date-picker__label-${this.name || m}`;
|
|
574
|
+
return n("div", {
|
|
575
|
+
class: "bq-date-picker",
|
|
576
|
+
part: "base",
|
|
577
|
+
children: [ t("label", {
|
|
578
|
+
"aria-labelledby": a,
|
|
579
|
+
class: {
|
|
580
|
+
"bq-date-picker__label": true,
|
|
581
|
+
"!hidden": !this.hasLabel
|
|
582
|
+
},
|
|
583
|
+
htmlFor: this.name || m,
|
|
584
|
+
part: "label",
|
|
585
|
+
ref: r => {
|
|
586
|
+
this.labelElem = r;
|
|
587
|
+
},
|
|
588
|
+
children: t("slot", {
|
|
589
|
+
id: a,
|
|
590
|
+
name: "label",
|
|
591
|
+
onSlotchange: this.handleSlotChange
|
|
592
|
+
}, "6070c604475bef562672492c607435e7ac647c1a")
|
|
593
|
+
}, "5a0aeb21acf08cacbf320ef6a87a2d8237ebedd0"), n("bq-dropdown", {
|
|
594
|
+
class: "bq-date-picker__dropdown is-full [&::part(panel)]:is-auto [&::part(panel)]:p-m",
|
|
595
|
+
disabled: this.disabled,
|
|
596
|
+
distance: this.distance,
|
|
597
|
+
exportparts: "panel",
|
|
598
|
+
open: this.open,
|
|
599
|
+
panelHeight: this.panelHeight,
|
|
600
|
+
placement: this.placement,
|
|
601
|
+
skidding: this.skidding,
|
|
602
|
+
strategy: this.strategy,
|
|
603
|
+
children: [ n("div", {
|
|
604
|
+
class: {
|
|
605
|
+
"bq-date-picker__control": true,
|
|
606
|
+
[`validation-${this.validationStatus}`]: true,
|
|
607
|
+
disabled: this.disabled
|
|
608
|
+
},
|
|
609
|
+
part: "control",
|
|
610
|
+
slot: "trigger",
|
|
611
|
+
children: [ t("span", {
|
|
612
|
+
class: {
|
|
613
|
+
"bq-date-picker__control--prefix": true,
|
|
614
|
+
"!hidden": !this.hasPrefix
|
|
615
|
+
},
|
|
616
|
+
part: "prefix",
|
|
617
|
+
ref: r => {
|
|
618
|
+
this.prefixElem = r;
|
|
619
|
+
},
|
|
620
|
+
children: t("slot", {
|
|
621
|
+
name: "prefix",
|
|
622
|
+
onSlotchange: this.handleSlotChange
|
|
623
|
+
}, "7f3bbec696f39303127be65762bb2a6dcf36be3e")
|
|
624
|
+
}, "3cef7076a1f189e5f906e4a9b702ad896758177c"), t("input", {
|
|
625
|
+
"aria-controls": `${this.name}`,
|
|
626
|
+
"aria-describedby": this.hasLabel ? a : null,
|
|
627
|
+
"aria-disabled": this.disabled ? "true" : "false",
|
|
628
|
+
"aria-invalid": this.validationStatus === "error" ? "true" : "false",
|
|
629
|
+
"aria-haspopup": "dialog",
|
|
630
|
+
autoCapitalize: "off",
|
|
631
|
+
autoComplete: "off",
|
|
632
|
+
class: "bq-date-picker__control--input",
|
|
633
|
+
disabled: this.disabled,
|
|
634
|
+
form: this.form,
|
|
635
|
+
id: this.name || m,
|
|
636
|
+
name: this.name,
|
|
637
|
+
onBlur: this.handleBlur,
|
|
638
|
+
onChange: this.handleChange,
|
|
639
|
+
onFocus: this.handleFocus,
|
|
640
|
+
part: "input",
|
|
641
|
+
placeholder: this.placeholder,
|
|
642
|
+
readonly: this.type !== "single",
|
|
643
|
+
ref: r => {
|
|
644
|
+
this.inputElem = r;
|
|
645
|
+
},
|
|
646
|
+
required: this.required,
|
|
647
|
+
spellcheck: false,
|
|
648
|
+
type: "text",
|
|
649
|
+
value: this.displayDate
|
|
650
|
+
}, "535c3a503761a059186e8635fd5c3515f0a7a405"), this.hasValue && !this.disabled && !this.disableClear &&
|
|
651
|
+
// The clear button will be visible as long as the input has a value
|
|
652
|
+
// and the parent group is hovered or has focus-within
|
|
653
|
+
t("bq-button", {
|
|
654
|
+
appearance: "text",
|
|
655
|
+
border: "s",
|
|
656
|
+
class: "bq-date-picker__control--clear ms-[--bq-date-picker--gap] hidden [&::part(button)]:border-none [&::part(button)]:p-0",
|
|
657
|
+
exportparts: "button",
|
|
658
|
+
label: this.clearButtonLabel,
|
|
659
|
+
onBqClick: this.handleClearClick,
|
|
660
|
+
onlyIcon: true,
|
|
661
|
+
part: "clear-btn",
|
|
662
|
+
size: "small",
|
|
663
|
+
children: t("slot", {
|
|
664
|
+
name: "clear-icon",
|
|
665
|
+
children: t("bq-icon", {
|
|
666
|
+
"aria-hidden": "true",
|
|
667
|
+
class: "flex",
|
|
668
|
+
name: "x-circle"
|
|
669
|
+
}, "9ad2d96b08e2221e03093ca76ad6dcd588707404")
|
|
670
|
+
}, "971e0e91974086bd4b263ece346ff1de3639a231")
|
|
671
|
+
}, "dbf106fe06a46cc654ce3848035ae7c758586855"), t("span", {
|
|
672
|
+
class: "bq-date-picker__control--suffix",
|
|
673
|
+
part: "suffix",
|
|
674
|
+
ref: r => {
|
|
675
|
+
this.suffixElem = r;
|
|
676
|
+
},
|
|
677
|
+
children: t("slot", {
|
|
678
|
+
name: "suffix",
|
|
679
|
+
onSlotchange: this.handleSlotChange,
|
|
680
|
+
children: t("bq-icon", {
|
|
681
|
+
class: "flex",
|
|
682
|
+
name: "calendar-blank"
|
|
683
|
+
}, "ed788d286ead83d0cb56afb97a51f690f1a0a7fa")
|
|
684
|
+
}, "0e9a0e5a7770726937bb0e82e79587706e383a2a")
|
|
685
|
+
}, "a59d1e17dedd9ca004bebe1cb6750fa9a22aadac") ]
|
|
686
|
+
}, "633d4083b42e3354d1b465deafc51a7124e41587"), this.isCallyLoaded && n(r, {
|
|
687
|
+
"aria-labelledby": a,
|
|
688
|
+
"aria-modal": "true",
|
|
689
|
+
exportparts: _,
|
|
690
|
+
firstDayOfWeek: this.firstDayOfWeek,
|
|
691
|
+
isDateDisallowed: this.isDateDisallowed,
|
|
692
|
+
locale: this.locale,
|
|
693
|
+
max: this.max,
|
|
694
|
+
min: this.min,
|
|
695
|
+
months: this.months,
|
|
696
|
+
onChange: this.handleCalendarChange,
|
|
697
|
+
onRangeend: this.handleCalendarRangeEnd,
|
|
698
|
+
onRangestart: this.handleCalendarRangeStart,
|
|
699
|
+
pageBy: this.monthsPerView,
|
|
700
|
+
ref: r => {
|
|
701
|
+
this.callyElem = r;
|
|
702
|
+
},
|
|
703
|
+
role: "dialog",
|
|
704
|
+
showOutsideDays: this.showOutsideDays,
|
|
705
|
+
tentative: this.tentative,
|
|
706
|
+
value: this.value,
|
|
707
|
+
children: [ t("bq-icon", {
|
|
708
|
+
color: "text--primary",
|
|
709
|
+
label: "Previous",
|
|
710
|
+
name: "caret-left",
|
|
711
|
+
slot: "previous"
|
|
712
|
+
}, "5b717c86faaa5fc7733b080c5fc6c80518c6c064"), t("bq-icon", {
|
|
713
|
+
color: "text--primary",
|
|
714
|
+
label: "Next",
|
|
715
|
+
name: "caret-right",
|
|
716
|
+
slot: "next"
|
|
717
|
+
}, "30cf13e187f0b0f1b5ead36875ddce8313d63ab9"), t("div", {
|
|
718
|
+
class: "flex flex-wrap justify-center gap-[--bq-spacing-m]",
|
|
719
|
+
children: this.generateCalendarMonths()
|
|
720
|
+
}, "65561cf18c5c34d309d306c38fa682f61d719fec") ]
|
|
721
|
+
}, "ba2fa07f289f65ca95e5f4d3513c0647e537d25a") ]
|
|
722
|
+
}, "6e46bde115a7bc8950e1d48439ac17207a5b5cbb") ]
|
|
723
|
+
}, "00bdb12502734469ab0a29de76c830c1ca9dd927");
|
|
724
|
+
}
|
|
725
|
+
static get delegatesFocus() {
|
|
726
|
+
return true;
|
|
727
|
+
}
|
|
728
|
+
static get formAssociated() {
|
|
729
|
+
return true;
|
|
730
|
+
}
|
|
731
|
+
static get watchers() {
|
|
732
|
+
return {
|
|
733
|
+
value: [ {
|
|
734
|
+
handleValueChange: 0
|
|
735
|
+
} ],
|
|
736
|
+
type: [ {
|
|
737
|
+
checkPropValues: 0
|
|
738
|
+
} ]
|
|
739
|
+
};
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
O.style = bqDatePickerCss();
|
|
744
|
+
|
|
745
|
+
export { O as bq_date_picker };
|
|
746
|
+
//# sourceMappingURL=bq-date-picker.entry.esm.js.map
|
|
747
|
+
//# sourceMappingURL=p-4b00a155.entry.js.map
|