@beeq/core 1.8.0-beta.9 → 1.8.1
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/README.md +5 -3
- package/dist/beeq/beeq.css +1 -1
- package/dist/beeq/beeq.esm.js +1 -43
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +1 -66
- package/dist/beeq/index.esm.js.map +1 -1
- package/dist/beeq/p-00702295.entry.js +6 -0
- package/dist/beeq/p-00702295.entry.js.map +1 -0
- package/dist/beeq/p-01de6133.js +6 -0
- package/dist/beeq/p-01de6133.js.map +1 -0
- package/dist/beeq/p-026fad0d.entry.js +6 -0
- package/dist/beeq/p-026fad0d.entry.js.map +1 -0
- package/dist/beeq/p-07b82e50.js +6 -0
- package/dist/beeq/p-07b82e50.js.map +1 -0
- package/dist/beeq/{p-cfb8829b.entry.js → p-0c0bd129.entry.js} +2 -96
- package/dist/beeq/p-0c0bd129.entry.js.map +1 -0
- package/dist/beeq/p-0c12aa01.entry.js +6 -0
- package/dist/beeq/p-0c12aa01.entry.js.map +1 -0
- package/dist/beeq/p-0cab9a82.entry.js +6 -0
- package/dist/beeq/p-0cab9a82.entry.js.map +1 -0
- package/dist/beeq/p-0f72dbb6.entry.js +6 -0
- package/dist/beeq/p-0f72dbb6.entry.js.map +1 -0
- package/dist/beeq/p-115ed5b2.js +1 -25
- package/dist/beeq/p-115ed5b2.js.map +1 -1
- package/dist/beeq/p-19b7bbe0.entry.js +6 -0
- package/dist/beeq/p-19b7bbe0.entry.js.map +1 -0
- package/dist/beeq/p-19c94c6d.entry.js +6 -0
- package/dist/beeq/p-19c94c6d.entry.js.map +1 -0
- package/dist/beeq/p-1b0cfcd6.entry.js +6 -0
- package/dist/beeq/p-1b0cfcd6.entry.js.map +1 -0
- package/dist/beeq/p-1c8b6eb4.js +1 -12
- package/dist/beeq/p-1c8b6eb4.js.map +1 -1
- package/dist/beeq/p-1cdea079.entry.js +6 -0
- package/dist/beeq/p-1cdea079.entry.js.map +1 -0
- package/dist/beeq/p-1defeea3.js +1 -64
- package/dist/beeq/p-1defeea3.js.map +1 -1
- package/dist/beeq/p-1f3a4359.js +1 -11
- package/dist/beeq/p-1f3a4359.js.map +1 -1
- package/dist/beeq/p-20d91acf.entry.js +6 -0
- package/dist/beeq/p-20d91acf.entry.js.map +1 -0
- package/dist/beeq/p-29d9487c.entry.js +6 -0
- package/dist/beeq/p-29d9487c.entry.js.map +1 -0
- package/dist/beeq/p-2c566eb0.entry.js +6 -0
- package/dist/beeq/p-2c566eb0.entry.js.map +1 -0
- package/dist/beeq/p-2e0e325b.entry.js +6 -0
- package/dist/beeq/p-2e0e325b.entry.js.map +1 -0
- package/dist/beeq/p-2eab5223.entry.js +6 -0
- package/dist/beeq/p-2eab5223.entry.js.map +1 -0
- package/dist/beeq/p-2ef4ed54.entry.js +6 -0
- package/dist/beeq/p-2ef4ed54.entry.js.map +1 -0
- package/dist/beeq/p-36b653f6.entry.js +6 -0
- package/dist/beeq/p-36b653f6.entry.js.map +1 -0
- package/dist/beeq/p-3c472097.js +6 -0
- package/dist/beeq/{p-c6cbb8e2.js.map → p-3c472097.js.map} +1 -1
- package/dist/beeq/p-43dc9906.entry.js +6 -0
- package/dist/beeq/p-43dc9906.entry.js.map +1 -0
- package/dist/{collection/global/scripts/global.js → beeq/p-45800965.js} +2 -2
- package/dist/beeq/p-45800965.js.map +1 -0
- package/dist/beeq/p-4c1f6afc.entry.js +6 -0
- package/dist/beeq/p-4c1f6afc.entry.js.map +1 -0
- package/dist/beeq/p-4c66663c.entry.js +6 -0
- package/dist/beeq/p-4c66663c.entry.js.map +1 -0
- package/dist/beeq/p-4d6a9646.entry.js +6 -0
- package/dist/beeq/p-4d6a9646.entry.js.map +1 -0
- package/dist/beeq/p-55b0aea8.js +6 -0
- package/dist/beeq/p-55b0aea8.js.map +1 -0
- package/dist/beeq/p-57621be1.js +1 -9
- package/dist/beeq/p-57621be1.js.map +1 -1
- package/dist/beeq/p-5c7a719c.entry.js +6 -0
- package/dist/beeq/p-5c7a719c.entry.js.map +1 -0
- package/dist/beeq/p-60094726.js +7 -0
- package/dist/beeq/p-60094726.js.map +1 -0
- package/dist/beeq/p-6079f9b2.entry.js +6 -0
- package/dist/beeq/p-6079f9b2.entry.js.map +1 -0
- package/dist/beeq/p-687da041.js +1 -20
- package/dist/beeq/p-687da041.js.map +1 -1
- package/dist/beeq/p-75cc6789.entry.js +6 -0
- package/dist/beeq/p-75cc6789.entry.js.map +1 -0
- package/dist/beeq/p-7636aff3.entry.js +6 -0
- package/dist/beeq/p-7636aff3.entry.js.map +1 -0
- package/dist/beeq/p-7f124d61.entry.js +6 -0
- package/dist/beeq/p-7f124d61.entry.js.map +1 -0
- package/dist/beeq/p-921fa1ea.entry.js +6 -0
- package/dist/beeq/p-921fa1ea.entry.js.map +1 -0
- package/dist/beeq/p-99829fc7.js +1 -8
- package/dist/beeq/p-99829fc7.js.map +1 -1
- package/dist/beeq/p-a5dc1c94.js +1 -118
- package/dist/beeq/p-a5dc1c94.js.map +1 -1
- package/dist/beeq/p-a7fb6ffd.entry.js +6 -0
- package/dist/beeq/p-a7fb6ffd.entry.js.map +1 -0
- package/dist/beeq/p-a8cad5ab.js +1 -5
- package/dist/beeq/p-a8cad5ab.js.map +1 -1
- package/dist/beeq/p-af062402.js +1 -7
- package/dist/beeq/p-af062402.js.map +1 -1
- package/dist/beeq/p-b83f174c.entry.js +6 -0
- package/dist/beeq/p-b83f174c.entry.js.map +1 -0
- package/dist/beeq/p-c09dac58.entry.js +6 -0
- package/dist/beeq/p-c09dac58.entry.js.map +1 -0
- package/dist/beeq/p-c3a0bd23.js +6 -0
- package/dist/beeq/p-c3a0bd23.js.map +1 -0
- package/dist/beeq/p-c70c6b00.entry.js +6 -0
- package/dist/beeq/p-c70c6b00.entry.js.map +1 -0
- package/dist/beeq/p-c78ae3c2.js +1 -1978
- package/dist/beeq/p-c78ae3c2.js.map +1 -1
- package/dist/beeq/p-cb3b24e6.entry.js +6 -0
- package/dist/beeq/p-cb3b24e6.entry.js.map +1 -0
- package/dist/beeq/{p-16c6ece5.entry.js → p-cf523684.entry.js} +2 -108
- package/dist/beeq/p-cf523684.entry.js.map +1 -0
- package/dist/beeq/p-d7ce7165.js +1 -86
- package/dist/beeq/p-d7ce7165.js.map +1 -1
- package/dist/beeq/p-d8221b88.entry.js +6 -0
- package/dist/beeq/p-d8221b88.entry.js.map +1 -0
- package/dist/beeq/p-d8a257b7.entry.js +6 -0
- package/dist/beeq/p-d8a257b7.entry.js.map +1 -0
- package/dist/beeq/{p-3043c826.entry.js → p-dc544089.entry.js} +2 -129
- package/dist/beeq/p-dc544089.entry.js.map +1 -0
- package/dist/beeq/p-e056c02a.entry.js +6 -0
- package/dist/beeq/p-e056c02a.entry.js.map +1 -0
- package/dist/beeq/p-eb662058.entry.js +6 -0
- package/dist/beeq/p-eb662058.entry.js.map +1 -0
- package/dist/beeq/p-ecd27cf2.js +1 -11
- package/dist/beeq/p-ecd27cf2.js.map +1 -1
- package/dist/beeq/p-f84ae6a1.entry.js +6 -0
- package/dist/beeq/p-f84ae6a1.entry.js.map +1 -0
- package/dist/beeq.html-custom-data.json +2034 -0
- package/dist/cjs/app-globals-42eaedec.js +11 -0
- package/dist/cjs/app-globals-42eaedec.js.map +1 -0
- package/dist/cjs/{assetsPath-2885c838.js → assetsPath-5e03c40e.js} +6 -5
- package/dist/cjs/assetsPath-5e03c40e.js.map +1 -0
- package/dist/cjs/beeq.cjs.js +4 -4
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +3 -3
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +6 -6
- package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +7 -7
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +5 -4
- package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +4 -11
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +20 -38
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +10 -9
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +4 -4
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +9 -11
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +59 -15
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +6 -6
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +8 -7
- package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +6 -6
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +5 -5
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +7 -7
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +42 -17
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +11 -6
- 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 +9 -8
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +5 -5
- package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +3 -3
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +13 -12
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +68 -25
- package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +10 -4
- package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +7 -7
- 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 +7 -4
- package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +23 -9
- package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +9 -8
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +3 -3
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +8 -8
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +2 -2
- package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +57 -5
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +9 -9
- package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +9 -9
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +62 -13
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +9 -4
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/{app-globals-b11284b9.js → cally-9297cdd8.js} +5 -6
- package/dist/cjs/cally-9297cdd8.js.map +1 -0
- package/dist/cjs/{cssVariables-dd190bc2.js → cssVariables-55ad4942.js} +4 -2
- package/dist/cjs/cssVariables-55ad4942.js.map +1 -0
- package/dist/cjs/{index-34edf639.js → index-c4edfa07.js} +787 -565
- package/dist/cjs/index-c4edfa07.js.map +1 -0
- package/dist/cjs/index.cjs.js +6 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/isClient-c22372aa.js +17 -0
- package/dist/cjs/isClient-c22372aa.js.map +1 -0
- package/dist/cjs/{isDefined-869f6a26.js → isDefined-e538d669.js} +2 -2
- package/dist/cjs/{isDefined-869f6a26.js.map → isDefined-e538d669.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/accordion/bq-accordion.js +117 -18
- package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
- package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
- package/dist/collection/components/accordion-group/bq-accordion-group.js +36 -1
- package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
- package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
- package/dist/collection/components/alert/bq-alert.js +92 -10
- package/dist/collection/components/alert/bq-alert.js.map +1 -1
- package/dist/collection/components/alert/scss/bq-alert.css +1 -1
- package/dist/collection/components/avatar/bq-avatar.js +66 -4
- package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
- package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
- package/dist/collection/components/badge/bq-badge.js +36 -2
- package/dist/collection/components/badge/bq-badge.js.map +1 -1
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js +43 -119
- package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +50 -46
- package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
- package/dist/collection/components/button/bq-button.js +79 -4
- package/dist/collection/components/button/bq-button.js.map +1 -1
- package/dist/collection/components/button/scss/bq-button.css +1 -1
- package/dist/collection/components/card/bq-card.js +37 -3
- package/dist/collection/components/card/bq-card.js.map +1 -1
- package/dist/collection/components/card/scss/bq-card.css +1 -1
- package/dist/collection/components/checkbox/bq-checkbox.js +62 -9
- package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
- package/dist/collection/components/date-picker/bq-date-picker.js +233 -42
- package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
- package/dist/collection/components/dialog/bq-dialog.js +96 -12
- package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
- package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
- package/dist/collection/components/divider/bq-divider.js +53 -8
- package/dist/collection/components/divider/bq-divider.js.map +1 -1
- package/dist/collection/components/divider/scss/bq-divider.css +1 -1
- package/dist/collection/components/drawer/bq-drawer.js +75 -13
- package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
- package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
- package/dist/collection/components/dropdown/bq-dropdown.js +70 -4
- package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/scss/bq-dropdown.css +1 -1
- package/dist/collection/components/empty-state/bq-empty-state.js +25 -5
- package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
- package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
- package/dist/collection/components/icon/bq-icon.js +34 -2
- package/dist/collection/components/icon/bq-icon.js.map +1 -1
- package/dist/collection/components/input/bq-input.js +176 -14
- package/dist/collection/components/input/bq-input.js.map +1 -1
- package/dist/collection/components/input/scss/bq-input.css +1 -1
- package/dist/collection/components/notification/bq-notification.js +80 -10
- package/dist/collection/components/notification/bq-notification.js.map +1 -1
- package/dist/collection/components/notification/scss/bq-notification.css +1 -1
- package/dist/collection/components/option/bq-option.js +52 -4
- package/dist/collection/components/option/bq-option.js.map +1 -1
- package/dist/collection/components/option-group/bq-option-group.js +32 -1
- package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
- package/dist/collection/components/option-list/bq-option-list.js +24 -1
- package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
- package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
- package/dist/collection/components/page-title/bq-page-title.js +39 -2
- package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
- package/dist/collection/components/panel/bq-panel.js +44 -1
- package/dist/collection/components/panel/bq-panel.js.map +1 -1
- package/dist/collection/components/panel/scss/bq-panel.css +1 -1
- package/dist/collection/components/progress/bq-progress.js +108 -69
- package/dist/collection/components/progress/bq-progress.js.map +1 -1
- package/dist/collection/components/progress/scss/bq-progress.css +1 -1
- package/dist/collection/components/radio/bq-radio.js +76 -2
- package/dist/collection/components/radio/bq-radio.js.map +1 -1
- package/dist/collection/components/radio/scss/bq-radio.css +1 -1
- package/dist/collection/components/radio-group/bq-radio-group.js +187 -57
- package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
- package/dist/collection/components/radio-group/scss/bq-radio-group.css +1 -1
- package/dist/collection/components/select/bq-select.js +134 -5
- package/dist/collection/components/select/bq-select.js.map +1 -1
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/side-menu/bq-side-menu.js +56 -3
- package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
- package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js +43 -0
- package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
- package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
- package/dist/collection/components/slider/bq-slider.js +89 -7
- package/dist/collection/components/slider/bq-slider.js.map +1 -1
- package/dist/collection/components/slider/scss/bq-slider.css +1 -1
- package/dist/collection/components/spinner/bq-spinner.js +37 -5
- package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
- package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
- package/dist/collection/components/status/bq-status.js +24 -4
- package/dist/collection/components/status/bq-status.js.map +1 -1
- package/dist/collection/components/status/scss/bq-status.css +1 -1
- package/dist/collection/components/step-item/bq-step-item.js +44 -6
- package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/steps/bq-steps.js +34 -1
- package/dist/collection/components/steps/bq-steps.js.map +1 -1
- package/dist/collection/components/switch/bq-switch.js +125 -4
- package/dist/collection/components/switch/bq-switch.js.map +1 -1
- package/dist/collection/components/switch/scss/bq-switch.css +1 -1
- package/dist/collection/components/tab/bq-tab.js +102 -43
- package/dist/collection/components/tab/bq-tab.js.map +1 -1
- package/dist/collection/components/tab/scss/bq-tab.css +1 -1
- package/dist/collection/components/tab-group/bq-tab-group.js +84 -46
- package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
- package/dist/collection/components/tab-group/scss/bq-tab-group.css +1 -1
- package/dist/collection/components/tag/bq-tag.js +70 -3
- package/dist/collection/components/tag/bq-tag.js.map +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/collection/components/textarea/bq-textarea.js +176 -11
- package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
- package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
- package/dist/collection/components/toast/bq-toast.js +67 -6
- package/dist/collection/components/toast/bq-toast.js.map +1 -1
- package/dist/collection/components/tooltip/bq-tooltip.js +55 -1
- package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
- package/dist/collection/shared/utils/assetsPath.js +4 -3
- package/dist/collection/shared/utils/assetsPath.js.map +1 -1
- package/dist/collection/shared/utils/cssVariables.js +2 -1
- package/dist/collection/shared/utils/cssVariables.js.map +1 -1
- package/dist/collection/shared/utils/index.js +1 -0
- package/dist/collection/shared/utils/index.js.map +1 -1
- package/dist/collection/shared/utils/isClient.js +12 -0
- package/dist/collection/shared/utils/isClient.js.map +1 -0
- package/dist/collection/tools/generate-custom-elements-json.js +8 -7
- package/dist/collection/tools/generate-custom-elements-json.js.map +1 -1
- package/dist/components/bq-accordion-group.js +1 -114
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +1 -311
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +1 -220
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +1 -139
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +1 -7
- package/dist/components/bq-badge.js.map +1 -1
- package/dist/components/bq-breadcrumb-item.js +1 -96
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +1 -112
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +1 -7
- package/dist/components/bq-button.js.map +1 -1
- package/dist/components/bq-card.js +1 -86
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +1 -207
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1 -390
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +1 -252
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +1 -7
- package/dist/components/bq-divider.js.map +1 -1
- package/dist/components/bq-drawer.js +1 -249
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +1 -7
- package/dist/components/bq-dropdown.js.map +1 -1
- package/dist/components/bq-empty-state.js +1 -125
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +1 -7
- package/dist/components/bq-icon.js.map +1 -1
- package/dist/components/bq-input.js +1 -266
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +1 -245
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +1 -64
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +1 -7
- package/dist/components/bq-option-list.js.map +1 -1
- package/dist/components/bq-option.js +1 -137
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +1 -82
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +1 -7
- package/dist/components/bq-panel.js.map +1 -1
- package/dist/components/bq-progress.js +1 -129
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +1 -207
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +1 -136
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +1 -452
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +1 -125
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +1 -144
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +1 -307
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +1 -167
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +1 -82
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +1 -119
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +1 -108
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +1 -175
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +1 -232
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +1 -170
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +1 -7
- package/dist/components/bq-tag.js.map +1 -1
- package/dist/components/bq-textarea.js +1 -210
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +1 -213
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +1 -7
- package/dist/components/bq-tooltip.js.map +1 -1
- package/dist/components/index.js +1 -1246
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-07b82e50.js +6 -0
- package/dist/components/p-07b82e50.js.map +1 -0
- package/dist/components/p-1566efe3.js +6 -0
- package/dist/components/p-1566efe3.js.map +1 -0
- package/dist/components/p-1c8b6eb4.js +6 -0
- package/dist/components/p-1c8b6eb4.js.map +1 -0
- package/dist/components/p-1defeea3.js +6 -0
- package/dist/components/p-1defeea3.js.map +1 -0
- package/dist/components/p-27c1b08e.js +6 -0
- package/dist/components/p-27c1b08e.js.map +1 -0
- package/dist/components/p-28da2321.js +6 -0
- package/dist/components/p-28da2321.js.map +1 -0
- package/dist/components/p-33371480.js +6 -0
- package/dist/components/p-33371480.js.map +1 -0
- package/dist/components/p-55b0aea8.js +6 -0
- package/dist/components/p-55b0aea8.js.map +1 -0
- package/dist/components/p-57621be1.js +6 -0
- package/dist/components/p-57621be1.js.map +1 -0
- package/dist/components/p-5940b410.js +7 -0
- package/dist/components/p-5940b410.js.map +1 -0
- package/dist/components/p-603c898d.js +6 -0
- package/dist/components/p-603c898d.js.map +1 -0
- package/dist/components/p-687da041.js +6 -0
- package/dist/components/p-687da041.js.map +1 -0
- package/dist/components/p-78d23ddc.js +6 -0
- package/dist/components/p-78d23ddc.js.map +1 -0
- package/dist/components/p-7d7f1f7e.js +6 -0
- package/dist/components/p-7d7f1f7e.js.map +1 -0
- package/dist/components/p-93c16753.js +6 -0
- package/dist/components/p-93c16753.js.map +1 -0
- package/dist/components/p-99829fc7.js +6 -0
- package/dist/components/p-99829fc7.js.map +1 -0
- package/dist/components/p-a5dc1c94.js +6 -0
- package/dist/components/p-a5dc1c94.js.map +1 -0
- package/dist/components/p-a8cad5ab.js +6 -0
- package/dist/components/p-a8cad5ab.js.map +1 -0
- package/dist/components/p-af062402.js +6 -0
- package/dist/components/p-af062402.js.map +1 -0
- package/dist/components/p-c2d43340.js +6 -0
- package/dist/components/p-c2d43340.js.map +1 -0
- package/dist/components/p-c3a0bd23.js +6 -0
- package/dist/components/p-c3a0bd23.js.map +1 -0
- package/dist/components/p-c78ae3c2.js +6 -0
- package/dist/components/p-c78ae3c2.js.map +1 -0
- package/dist/components/p-cf496927.js +6 -0
- package/dist/components/p-cf496927.js.map +1 -0
- package/dist/components/p-d62fdbae.js +6 -0
- package/dist/components/p-d62fdbae.js.map +1 -0
- package/dist/components/p-d7ce7165.js +6 -0
- package/dist/components/p-d7ce7165.js.map +1 -0
- package/dist/components/p-ecd27cf2.js +6 -0
- package/dist/components/p-ecd27cf2.js.map +1 -0
- package/dist/custom-elements.json +17559 -0
- package/dist/esm/app-globals-7655df21.js +9 -0
- package/dist/esm/app-globals-7655df21.js.map +1 -0
- package/dist/esm/{assetsPath-630898a9.js → assetsPath-eed21007.js} +6 -5
- package/dist/esm/assetsPath-eed21007.js.map +1 -0
- package/dist/esm/beeq.js +5 -5
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +3 -3
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +6 -6
- package/dist/esm/bq-accordion.entry.js.map +1 -1
- package/dist/esm/bq-alert.entry.js +7 -7
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +5 -5
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +5 -4
- package/dist/esm/bq-badge.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +4 -11
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +20 -38
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +10 -9
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +4 -4
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +9 -11
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +59 -15
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +6 -6
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +8 -7
- package/dist/esm/bq-divider.entry.js.map +1 -1
- package/dist/esm/bq-drawer.entry.js +6 -6
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +5 -5
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +7 -7
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +42 -17
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +11 -6
- 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 +9 -8
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +5 -5
- package/dist/esm/bq-option.entry.js.map +1 -1
- package/dist/esm/bq-page-title.entry.js +3 -3
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +13 -12
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +68 -25
- package/dist/esm/bq-radio-group.entry.js.map +1 -1
- package/dist/esm/bq-radio.entry.js +10 -4
- package/dist/esm/bq-radio.entry.js.map +1 -1
- package/dist/esm/bq-select.entry.js +7 -7
- 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 +7 -4
- package/dist/esm/bq-side-menu.entry.js.map +1 -1
- package/dist/esm/bq-slider.entry.js +23 -9
- package/dist/esm/bq-slider.entry.js.map +1 -1
- package/dist/esm/bq-spinner.entry.js +9 -8
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +3 -3
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +8 -8
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +2 -2
- package/dist/esm/bq-steps.entry.js.map +1 -1
- package/dist/esm/bq-switch.entry.js +57 -5
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +9 -9
- package/dist/esm/bq-tab-group.entry.js.map +1 -1
- package/dist/esm/bq-tab.entry.js +9 -9
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +62 -13
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +9 -4
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +2 -2
- package/dist/esm/bq-tooltip.entry.js.map +1 -1
- package/dist/esm/{app-globals-de5a646b.js → cally-1a3258d6.js} +2 -6
- package/dist/esm/cally-1a3258d6.js.map +1 -0
- package/dist/esm/{cssVariables-000c23ad.js → cssVariables-3665b51c.js} +4 -2
- package/dist/esm/cssVariables-3665b51c.js.map +1 -0
- package/dist/esm/{index-033f1efb.js → index-c7d02072.js} +787 -565
- package/dist/esm/index-c7d02072.js.map +1 -0
- package/dist/esm/index.js +6 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isClient-c6eae7ba.js +15 -0
- package/dist/esm/isClient-c6eae7ba.js.map +1 -0
- package/dist/esm/{isDefined-f356f816.js → isDefined-48de6db5.js} +2 -2
- package/dist/esm/{isDefined-f356f816.js.map → isDefined-48de6db5.js.map} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/hydrate/index.js +12770 -10546
- package/dist/hydrate/index.mjs +12770 -10546
- package/dist/stencil.config.js +17 -4
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/accordion/bq-accordion.d.ts +100 -10
- package/dist/types/components/accordion-group/bq-accordion-group.d.ts +25 -0
- package/dist/types/components/alert/bq-alert.d.ts +71 -5
- package/dist/types/components/avatar/bq-avatar.d.ts +51 -1
- package/dist/types/components/badge/bq-badge.d.ts +28 -0
- package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +25 -17
- package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +43 -10
- package/dist/types/components/button/bq-button.d.ts +51 -0
- package/dist/types/components/card/bq-card.d.ts +31 -1
- package/dist/types/components/checkbox/bq-checkbox.d.ts +37 -1
- package/dist/types/components/date-picker/bq-date-picker.d.ts +118 -28
- package/dist/types/components/dialog/bq-dialog.d.ts +76 -8
- package/dist/types/components/divider/bq-divider.d.ts +31 -4
- package/dist/types/components/drawer/bq-drawer.d.ts +59 -9
- package/dist/types/components/dropdown/bq-dropdown.d.ts +51 -3
- package/dist/types/components/empty-state/bq-empty-state.d.ts +18 -0
- package/dist/types/components/icon/bq-icon.d.ts +21 -1
- package/dist/types/components/input/bq-input.d.ts +77 -0
- package/dist/types/components/notification/bq-notification.d.ts +57 -5
- package/dist/types/components/option/bq-option.d.ts +40 -0
- package/dist/types/components/option-group/bq-option-group.d.ts +31 -0
- package/dist/types/components/option-list/bq-option-list.d.ts +21 -0
- package/dist/types/components/page-title/bq-page-title.d.ts +37 -0
- package/dist/types/components/panel/bq-panel.d.ts +31 -0
- package/dist/types/components/progress/bq-progress.d.ts +33 -9
- package/dist/types/components/radio/bq-radio.d.ts +37 -0
- package/dist/types/components/radio-group/bq-radio-group.d.ts +53 -10
- package/dist/types/components/select/bq-select.d.ts +85 -0
- package/dist/types/components/side-menu/bq-side-menu.d.ts +45 -0
- package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +37 -0
- package/dist/types/components/slider/bq-slider.d.ts +39 -1
- package/dist/types/components/spinner/bq-spinner.d.ts +26 -0
- package/dist/types/components/status/bq-status.d.ts +21 -3
- package/dist/types/components/step-item/bq-step-item.d.ts +32 -0
- package/dist/types/components/steps/bq-steps.d.ts +27 -0
- package/dist/types/components/switch/bq-switch.d.ts +43 -0
- package/dist/types/components/tab/bq-tab.d.ts +47 -5
- package/dist/types/components/tab-group/bq-tab-group.d.ts +34 -8
- package/dist/types/components/tag/bq-tag.d.ts +49 -0
- package/dist/types/components/textarea/bq-textarea.d.ts +74 -0
- package/dist/types/components/toast/bq-toast.d.ts +47 -2
- package/dist/types/components/tooltip/bq-tooltip.d.ts +40 -0
- package/dist/types/components.d.ts +5795 -71
- package/dist/types/global.d.ts +26 -0
- package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/packages/beeq/.stencil/tailwind.config.d.ts +104 -78
- package/dist/types/shared/utils/index.d.ts +1 -0
- package/dist/types/shared/utils/isClient.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/dist/types/tools/generate-custom-elements-json.d.ts +1 -1
- package/package.json +24 -24
- package/dist/beeq/p-01df4baa.js +0 -1826
- package/dist/beeq/p-01df4baa.js.map +0 -1
- package/dist/beeq/p-01fe8efb.entry.js +0 -182
- package/dist/beeq/p-01fe8efb.entry.js.map +0 -1
- package/dist/beeq/p-03373320.entry.js +0 -318
- package/dist/beeq/p-03373320.entry.js.map +0 -1
- package/dist/beeq/p-03c586df.entry.js +0 -292
- package/dist/beeq/p-03c586df.entry.js.map +0 -1
- package/dist/beeq/p-0a981080.entry.js +0 -154
- package/dist/beeq/p-0a981080.entry.js.map +0 -1
- package/dist/beeq/p-0ce76c54.entry.js +0 -103
- package/dist/beeq/p-0ce76c54.entry.js.map +0 -1
- package/dist/beeq/p-119526cc.entry.js +0 -272
- package/dist/beeq/p-119526cc.entry.js.map +0 -1
- package/dist/beeq/p-16c6ece5.entry.js.map +0 -1
- package/dist/beeq/p-3043c826.entry.js.map +0 -1
- package/dist/beeq/p-38e70f78.entry.js +0 -133
- package/dist/beeq/p-38e70f78.entry.js.map +0 -1
- package/dist/beeq/p-398bfb48.entry.js +0 -242
- package/dist/beeq/p-398bfb48.entry.js.map +0 -1
- package/dist/beeq/p-3fd0d92d.js +0 -1233
- package/dist/beeq/p-3fd0d92d.js.map +0 -1
- package/dist/beeq/p-41ac1d84.entry.js +0 -195
- package/dist/beeq/p-41ac1d84.entry.js.map +0 -1
- package/dist/beeq/p-4eabcd51.entry.js +0 -82
- package/dist/beeq/p-4eabcd51.entry.js.map +0 -1
- package/dist/beeq/p-5ff6621d.entry.js +0 -134
- package/dist/beeq/p-5ff6621d.entry.js.map +0 -1
- package/dist/beeq/p-60cbc966.entry.js +0 -85
- package/dist/beeq/p-60cbc966.entry.js.map +0 -1
- package/dist/beeq/p-67a7b85a.entry.js +0 -528
- package/dist/beeq/p-67a7b85a.entry.js.map +0 -1
- package/dist/beeq/p-68ff188d.entry.js +0 -144
- package/dist/beeq/p-68ff188d.entry.js.map +0 -1
- package/dist/beeq/p-69c766a3.entry.js +0 -213
- package/dist/beeq/p-69c766a3.entry.js.map +0 -1
- package/dist/beeq/p-7d789231.entry.js +0 -347
- package/dist/beeq/p-7d789231.entry.js.map +0 -1
- package/dist/beeq/p-8512b8ee.entry.js +0 -455
- package/dist/beeq/p-8512b8ee.entry.js.map +0 -1
- package/dist/beeq/p-8b16f130.entry.js +0 -210
- package/dist/beeq/p-8b16f130.entry.js.map +0 -1
- package/dist/beeq/p-9cab14ee.entry.js +0 -119
- package/dist/beeq/p-9cab14ee.entry.js.map +0 -1
- package/dist/beeq/p-a23b23c4.entry.js +0 -213
- package/dist/beeq/p-a23b23c4.entry.js.map +0 -1
- package/dist/beeq/p-aacaaa35.entry.js +0 -209
- package/dist/beeq/p-aacaaa35.entry.js.map +0 -1
- package/dist/beeq/p-b2df1479.entry.js +0 -270
- package/dist/beeq/p-b2df1479.entry.js.map +0 -1
- package/dist/beeq/p-b48788b5.js +0 -72
- package/dist/beeq/p-b48788b5.js.map +0 -1
- package/dist/beeq/p-b77b52f2.entry.js +0 -188
- package/dist/beeq/p-b77b52f2.entry.js.map +0 -1
- package/dist/beeq/p-c6cbb8e2.js +0 -16
- package/dist/beeq/p-c83bc7fd.entry.js +0 -157
- package/dist/beeq/p-c83bc7fd.entry.js.map +0 -1
- package/dist/beeq/p-cb2b0014.entry.js +0 -363
- package/dist/beeq/p-cb2b0014.entry.js.map +0 -1
- package/dist/beeq/p-cb917e68.entry.js +0 -177
- package/dist/beeq/p-cb917e68.entry.js.map +0 -1
- package/dist/beeq/p-cfb8829b.entry.js.map +0 -1
- package/dist/beeq/p-d7067dae.entry.js +0 -151
- package/dist/beeq/p-d7067dae.entry.js.map +0 -1
- package/dist/beeq/p-d7dc7086.entry.js +0 -267
- package/dist/beeq/p-d7dc7086.entry.js.map +0 -1
- package/dist/beeq/p-e707bd79.entry.js +0 -458
- package/dist/beeq/p-e707bd79.entry.js.map +0 -1
- package/dist/beeq/p-e76e346b.entry.js +0 -334
- package/dist/beeq/p-e76e346b.entry.js.map +0 -1
- package/dist/beeq/p-edfd9767.js +0 -31
- package/dist/beeq/p-edfd9767.js.map +0 -1
- package/dist/beeq/p-f11a3beb.entry.js +0 -90
- package/dist/beeq/p-f11a3beb.entry.js.map +0 -1
- package/dist/beeq/p-f1d6a960.entry.js +0 -271
- package/dist/beeq/p-f1d6a960.entry.js.map +0 -1
- package/dist/beeq/p-f350516b.entry.js +0 -154
- package/dist/beeq/p-f350516b.entry.js.map +0 -1
- package/dist/beeq/p-f979d79a.entry.js +0 -120
- package/dist/beeq/p-f979d79a.entry.js.map +0 -1
- package/dist/beeq/p-faa3be41.entry.js +0 -159
- package/dist/beeq/p-faa3be41.entry.js.map +0 -1
- package/dist/beeq/p-fe278ecc.entry.js +0 -267
- package/dist/beeq/p-fe278ecc.entry.js.map +0 -1
- package/dist/cjs/app-globals-b11284b9.js.map +0 -1
- package/dist/cjs/assetsPath-2885c838.js.map +0 -1
- package/dist/cjs/cssVariables-dd190bc2.js.map +0 -1
- package/dist/cjs/index-34edf639.js.map +0 -1
- package/dist/collection/global/scripts/global.js.map +0 -1
- package/dist/components/bq-badge2.js +0 -125
- package/dist/components/bq-badge2.js.map +0 -1
- package/dist/components/bq-button2.js +0 -208
- package/dist/components/bq-button2.js.map +0 -1
- package/dist/components/bq-divider2.js +0 -159
- package/dist/components/bq-divider2.js.map +0 -1
- package/dist/components/bq-dropdown2.js +0 -155
- package/dist/components/bq-dropdown2.js.map +0 -1
- package/dist/components/bq-icon2.js +0 -315
- package/dist/components/bq-icon2.js.map +0 -1
- package/dist/components/bq-option-list2.js +0 -76
- package/dist/components/bq-option-list2.js.map +0 -1
- package/dist/components/bq-panel2.js +0 -135
- package/dist/components/bq-panel2.js.map +0 -1
- package/dist/components/bq-steps.types.js +0 -10
- package/dist/components/bq-steps.types.js.map +0 -1
- package/dist/components/bq-tab.types.js +0 -11
- package/dist/components/bq-tab.types.js.map +0 -1
- package/dist/components/bq-tag2.js +0 -271
- package/dist/components/bq-tag2.js.map +0 -1
- package/dist/components/bq-tooltip2.js +0 -178
- package/dist/components/bq-tooltip2.js.map +0 -1
- package/dist/components/cssVariables.js +0 -34
- package/dist/components/cssVariables.js.map +0 -1
- package/dist/components/debounce.js +0 -73
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/event.js +0 -18
- package/dist/components/event.js.map +0 -1
- package/dist/components/index2.js +0 -2138
- package/dist/components/index2.js.map +0 -1
- package/dist/components/isDefined.js +0 -19
- package/dist/components/isDefined.js.map +0 -1
- package/dist/components/isHTMLElement.js +0 -17
- package/dist/components/isHTMLElement.js.map +0 -1
- package/dist/components/isNil.js +0 -16
- package/dist/components/isNil.js.map +0 -1
- package/dist/components/isString.js +0 -21
- package/dist/components/isString.js.map +0 -1
- package/dist/components/props.js +0 -27
- package/dist/components/props.js.map +0 -1
- package/dist/components/slot.js +0 -85
- package/dist/components/slot.js.map +0 -1
- package/dist/components/transition.js +0 -131
- package/dist/components/transition.js.map +0 -1
- package/dist/esm/app-globals-de5a646b.js.map +0 -1
- package/dist/esm/assetsPath-630898a9.js.map +0 -1
- package/dist/esm/cssVariables-000c23ad.js.map +0 -1
- package/dist/esm/index-033f1efb.js.map +0 -1
- package/dist/types/global/scripts/global.d.ts +0 -18
- /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/packages/beeq/.stencil/packages/beeq/stencil.config.d.ts +0 -0
package/dist/beeq/p-3fd0d92d.js
DELETED
|
@@ -1,1233 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by Endavans
|
|
3
|
-
* © https://beeq.design - Apache 2 License.
|
|
4
|
-
*/
|
|
5
|
-
class t {
|
|
6
|
-
/**
|
|
7
|
-
* @type {T}
|
|
8
|
-
*/
|
|
9
|
-
#t;
|
|
10
|
-
#e= new Set;
|
|
11
|
-
/**
|
|
12
|
-
* @param {T} current
|
|
13
|
-
*/
|
|
14
|
-
constructor(t) {
|
|
15
|
-
this.#t = t;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @return {T}
|
|
19
|
-
*/ get current() {
|
|
20
|
-
return this.#t;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @param {T} value
|
|
24
|
-
*/ set current(t) {
|
|
25
|
-
this.#t != t && (this.#t = t, this.#e.forEach((e => e(t)))
|
|
26
|
-
/**
|
|
27
|
-
* @type {import("hooks").Ref["on"]}
|
|
28
|
-
*/);
|
|
29
|
-
}
|
|
30
|
-
on(t) {
|
|
31
|
-
return this.#e.add(t), () => this.#e.delete(t);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const Mt = e => new t(e), e = Symbol.for("atomico.hooks");
|
|
36
|
-
|
|
37
|
-
globalThis[e] = globalThis[e] || {};
|
|
38
|
-
|
|
39
|
-
let a = globalThis[e];
|
|
40
|
-
|
|
41
|
-
const u = Symbol.for("Atomico.suspense"), d = Symbol.for("Atomico.effect"), h = Symbol.for("Atomico.layoutEffect"), b = Symbol.for("Atomico.insertionEffect"), O = (t, e, u) => {
|
|
42
|
-
const {i: d, hooks: h} = a.c, b = h[d] = h[d] || {};
|
|
43
|
-
return b.value = t(b.value), b.effect = e, b.tag = u, a.c.i++, h[d].value;
|
|
44
|
-
}, se = t => O(((e = Mt(t)) => e)), _ = () => O(((t = Mt(a.c.host)) => t)), Rt = () => a.c.update, oe = (t, e, g = 0) => {
|
|
45
|
-
let k = {}, D = !1;
|
|
46
|
-
const o = () => D, c = (t, e) => {
|
|
47
|
-
for (const a in k) {
|
|
48
|
-
const u = k[a];
|
|
49
|
-
u.effect && u.tag === t && (u.value = u.effect(u.value, e));
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
return {
|
|
53
|
-
load: d => {
|
|
54
|
-
a.c = {
|
|
55
|
-
host: e,
|
|
56
|
-
hooks: k,
|
|
57
|
-
update: t,
|
|
58
|
-
i: 0,
|
|
59
|
-
id: g
|
|
60
|
-
};
|
|
61
|
-
let h;
|
|
62
|
-
try {
|
|
63
|
-
D = !1, h = d();
|
|
64
|
-
} catch (t) {
|
|
65
|
-
if (t !== u) throw t;
|
|
66
|
-
D = !0;
|
|
67
|
-
} finally {
|
|
68
|
-
a.c = null;
|
|
69
|
-
}
|
|
70
|
-
return h;
|
|
71
|
-
},
|
|
72
|
-
cleanEffects: t => (c(b, t), () => (c(h, t), () => {
|
|
73
|
-
c(d, t);
|
|
74
|
-
})),
|
|
75
|
-
isSuspense: o
|
|
76
|
-
};
|
|
77
|
-
}, g = Symbol.for;
|
|
78
|
-
|
|
79
|
-
function It(t, e) {
|
|
80
|
-
const a = t.length;
|
|
81
|
-
if (a !== e.length) return !1;
|
|
82
|
-
for (let u = 0; u < a; u++) {
|
|
83
|
-
let a = t[u], d = e[u];
|
|
84
|
-
if (a !== d) return !1;
|
|
85
|
-
}
|
|
86
|
-
return !0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
const w = t => typeof t == "function", R = t => typeof t == "object", {isArray: k} = Array, et = (t, e) => (e ? t instanceof HTMLStyleElement : !0) && "hydrate" in (t?.dataset || {});
|
|
90
|
-
|
|
91
|
-
function Ut(t, e) {
|
|
92
|
-
let a;
|
|
93
|
-
const s = t => {
|
|
94
|
-
let {length: u} = t;
|
|
95
|
-
for (let d = 0; d < u; d++) {
|
|
96
|
-
const u = t[d];
|
|
97
|
-
if (u && Array.isArray(u)) s(u); else {
|
|
98
|
-
const t = typeof u;
|
|
99
|
-
if (u == null || t === "function" || t === "boolean") continue;
|
|
100
|
-
t === "string" || t === "number" ? (a == null && (a = ""), a += u) : (a != null && (e(a),
|
|
101
|
-
a = null), e(u));
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
s(t), a != null && e(a);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const $t = (t, e, a) => (t.addEventListener(e, a), () => t.removeEventListener(e, a));
|
|
109
|
-
|
|
110
|
-
class D {
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @param {HTMLElement} target
|
|
114
|
-
* @param {string} message
|
|
115
|
-
* @param {string} value
|
|
116
|
-
*/
|
|
117
|
-
constructor(t, e, a) {
|
|
118
|
-
this.message = e, this.target = t, this.value = a;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
class $ extends D {}
|
|
123
|
-
|
|
124
|
-
class N extends D {}
|
|
125
|
-
|
|
126
|
-
const E = "Custom", A = null, B = {
|
|
127
|
-
true: 1,
|
|
128
|
-
"": 1,
|
|
129
|
-
1: 1
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
function le(t, e, a, u, d) {
|
|
133
|
-
const {type: h, reflect: b, event: g, value: k, attr: D = ue(e)} = a?.name != E && R(a) && a != A ? a : {
|
|
134
|
-
type: a
|
|
135
|
-
}, N = h?.name === E && h.map, B = k != null ? h == Function || !w(k) ? () => k : k : null;
|
|
136
|
-
Object.defineProperty(t, e, {
|
|
137
|
-
configurable: !0,
|
|
138
|
-
/**
|
|
139
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
140
|
-
* @param {any} newValue
|
|
141
|
-
*/
|
|
142
|
-
set(t) {
|
|
143
|
-
const a = this[e];
|
|
144
|
-
B && h != Boolean && t == null && (t = B());
|
|
145
|
-
const {error: u, value: d} = (N ? he : me)(h, t);
|
|
146
|
-
if (u && d != null) throw new $(this, `The value defined for prop '${e}' must be of type '${h.name}'`, d);
|
|
147
|
-
a != d && (this._props[e] = d ?? void 0, this.update(), g && jt(this, g), this.updated.then((() => {
|
|
148
|
-
b && (this._ignoreAttr = D, fe(this, h, D, this[e]), this._ignoreAttr = null);
|
|
149
|
-
})));
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
153
|
-
*/
|
|
154
|
-
get() {
|
|
155
|
-
return this._props[e];
|
|
156
|
-
}
|
|
157
|
-
}), B && (d[e] = B()), u[D] = {
|
|
158
|
-
prop: e,
|
|
159
|
-
type: h
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
const jt = (t, {type: e, base: a = CustomEvent, ...u}) => t.dispatchEvent(new a(e, u)), ue = t => t.replace(/([A-Z])/g, "-$1").toLowerCase(), fe = (t, e, a, u) => u == null || e == Boolean && !u ? t.removeAttribute(a) : t.setAttribute(a, e?.name === E && e?.serialize ? e?.serialize(u) : R(u) ? JSON.stringify(u) : e == Boolean ? "" : u), de = (t, e) => t == Boolean ? !!B[e] : t == Number ? Number(e) : t == String ? e : t == Array || t == Object ? JSON.parse(e) : t.name == E ? e :
|
|
164
|
-
// TODO: If when defining reflect the prop can also be of type string?
|
|
165
|
-
new t(e), he = ({map: t}, e) => {
|
|
166
|
-
try {
|
|
167
|
-
return {
|
|
168
|
-
value: t(e),
|
|
169
|
-
error: !1
|
|
170
|
-
};
|
|
171
|
-
} catch {
|
|
172
|
-
return {
|
|
173
|
-
value: e,
|
|
174
|
-
error: !0
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
}, me = (t, e) => t == null || e == null ? {
|
|
178
|
-
value: e,
|
|
179
|
-
error: !1
|
|
180
|
-
} : t != String && e === "" ? {
|
|
181
|
-
value: void 0,
|
|
182
|
-
error: !1
|
|
183
|
-
} : t == Object || t == Array || t == Symbol ? {
|
|
184
|
-
value: e,
|
|
185
|
-
error: {}.toString.call(e) !== `[object ${t.name}]`
|
|
186
|
-
} : e instanceof t ? {
|
|
187
|
-
value: e,
|
|
188
|
-
error: t == Number && Number.isNaN(e.valueOf())
|
|
189
|
-
} : t == String || t == Number || t == Boolean ? {
|
|
190
|
-
value: e,
|
|
191
|
-
error: t == Number ? typeof e != "number" ? !0 : Number.isNaN(e) : t == String ? typeof e != "string" : typeof e != "boolean"
|
|
192
|
-
} : {
|
|
193
|
-
value: e,
|
|
194
|
-
error: !0
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
let F = 0;
|
|
198
|
-
|
|
199
|
-
const pe = t => {
|
|
200
|
-
const e = (t?.dataset || {})?.hydrate || "";
|
|
201
|
-
return e || "c" + F++;
|
|
202
|
-
}, j = (t, e = HTMLElement) => {
|
|
203
|
-
const a = {}, u = {}, d = "prototype" in e && e.prototype instanceof Element, h = d ? e : "base" in e ? e.base : HTMLElement, {props: b, styles: g} = d ? t : e;
|
|
204
|
-
class k extends h {
|
|
205
|
-
constructor() {
|
|
206
|
-
super(), this._setup(), this._render = () => t({
|
|
207
|
-
...this._props
|
|
208
|
-
});
|
|
209
|
-
for (const t in u) this[t] = u[t];
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* @returns {import("core").Sheets[]}
|
|
213
|
-
*/ static get styles() {
|
|
214
|
-
return [ super.styles, g ];
|
|
215
|
-
}
|
|
216
|
-
async _setup() {
|
|
217
|
-
if (this._props) return;
|
|
218
|
-
this._props = {};
|
|
219
|
-
let t, e;
|
|
220
|
-
this.mounted = new Promise((a => this.mount = () => {
|
|
221
|
-
a(), t != this.parentNode && (e != t ? this.unmounted.then(this.update) : this.update()),
|
|
222
|
-
t = this.parentNode;
|
|
223
|
-
})), this.unmounted = new Promise((u => this.unmount = () => {
|
|
224
|
-
u(), (t != this.parentNode || !this.isConnected) && (a.cleanEffects(!0)()(), e = this.parentNode,
|
|
225
|
-
t = null);
|
|
226
|
-
})), this.symbolId = this.symbolId || Symbol(), this.symbolIdParent = Symbol();
|
|
227
|
-
const a = oe((() => this.update()), this, pe(this));
|
|
228
|
-
let u, d = !0;
|
|
229
|
-
const h = et(this);
|
|
230
|
-
this.update = () => (u || (u = !0, this.updated = (this.updated || this.mounted).then((() => {
|
|
231
|
-
try {
|
|
232
|
-
const t = a.load(this._render), e = a.cleanEffects();
|
|
233
|
-
return t && //@ts-ignore
|
|
234
|
-
t.render(this, this.symbolId, h), u = !1, d && !a.isSuspense() && (d = !1, !h && be(this)),
|
|
235
|
-
e();
|
|
236
|
-
} finally {
|
|
237
|
-
u = !1;
|
|
238
|
-
}
|
|
239
|
-
})).then((
|
|
240
|
-
/**
|
|
241
|
-
* @param {import("internal/hooks.js").CleanUseEffects} [cleanUseEffect]
|
|
242
|
-
*/
|
|
243
|
-
t => {
|
|
244
|
-
t && t();
|
|
245
|
-
}))), this.updated), this.update();
|
|
246
|
-
}
|
|
247
|
-
connectedCallback() {
|
|
248
|
-
this.mount(), super.connectedCallback && super.connectedCallback();
|
|
249
|
-
}
|
|
250
|
-
disconnectedCallback() {
|
|
251
|
-
super.disconnectedCallback && super.disconnectedCallback(), this.unmount()
|
|
252
|
-
/**
|
|
253
|
-
* @this {import("dom").AtomicoThisInternal}
|
|
254
|
-
* @param {string} attr
|
|
255
|
-
* @param {(string|null)} oldValue
|
|
256
|
-
* @param {(string|null)} value
|
|
257
|
-
*/;
|
|
258
|
-
}
|
|
259
|
-
attributeChangedCallback(t, e, u) {
|
|
260
|
-
if (a[t]) {
|
|
261
|
-
if (t === this._ignoreAttr || e === u) return;
|
|
262
|
-
const {prop: d, type: h} = a[t];
|
|
263
|
-
try {
|
|
264
|
-
this[d] = de(h, u);
|
|
265
|
-
} catch {
|
|
266
|
-
throw new N(this, `The value defined as attr '${t}' cannot be parsed by type '${h.name}'`, u);
|
|
267
|
-
}
|
|
268
|
-
} else super.attributeChangedCallback(t, e, u);
|
|
269
|
-
}
|
|
270
|
-
static get props() {
|
|
271
|
-
return {
|
|
272
|
-
...super.props,
|
|
273
|
-
...b
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
static get observedAttributes() {
|
|
277
|
-
const t = super.observedAttributes || [];
|
|
278
|
-
for (const t in b) le(this.prototype, t, b[t], a, u);
|
|
279
|
-
return Object.keys(a).concat(t);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
return k;
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
function be(t) {
|
|
286
|
-
const {styles: e} = t.constructor, {shadowRoot: a} = t;
|
|
287
|
-
if (a && e.length) {
|
|
288
|
-
const t = [];
|
|
289
|
-
Ut(e, (e => {
|
|
290
|
-
e && (e instanceof Element ? a.appendChild(e.cloneNode(!0)) : t.push(e));
|
|
291
|
-
})), t.length && (a.adoptedStyleSheets = t);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
const Yt = t => (e, a) => {
|
|
296
|
-
O((
|
|
297
|
-
/**
|
|
298
|
-
* Clean the effect hook
|
|
299
|
-
* @type {import("internal/hooks.js").CollectorEffect}
|
|
300
|
-
*/
|
|
301
|
-
([t, e] = []) => ((e || !e) && (e && It(e, a) ? t = t || !0 : (w(t) && t(), t = null)),
|
|
302
|
-
[ t, a ])
|
|
303
|
-
/**
|
|
304
|
-
* @returns {any}
|
|
305
|
-
*/), (([t, a], u) => u ? (w(t) && t(), []) : [ t || e(), a ]), t);
|
|
306
|
-
}, M = Yt(d), U = Yt(b);
|
|
307
|
-
|
|
308
|
-
class I extends Array {
|
|
309
|
-
/**
|
|
310
|
-
*
|
|
311
|
-
* @param {any} initialState
|
|
312
|
-
* @param {(nextState: any, state:any[], mount: boolean )=>void} mapState
|
|
313
|
-
*/
|
|
314
|
-
constructor(t, e) {
|
|
315
|
-
let a = !0;
|
|
316
|
-
const r = t => {
|
|
317
|
-
try {
|
|
318
|
-
e(t, this, a);
|
|
319
|
-
} finally {
|
|
320
|
-
a = !1;
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
super(void 0, r, e), r(t);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
const rt = t => {
|
|
328
|
-
const e = Rt();
|
|
329
|
-
return O(((a = new I(t, ((t, a, u) => {
|
|
330
|
-
t = w(t) ? t(a[0]) : t, t !== a[0] && (a[0] = t, u || e());
|
|
331
|
-
}))) => a));
|
|
332
|
-
}, T = (t, e) => {
|
|
333
|
-
const [a] = O((([a, u, d = 0] = []) => ((!u || u && !It(u, e)) && (a = t()), [ a, e, d ])));
|
|
334
|
-
return a;
|
|
335
|
-
}, ct = t => {
|
|
336
|
-
const {current: e} = _();
|
|
337
|
-
if (!(t in e)) throw new $(e, `For useProp("${t}"), the prop does not exist on the host.`, t);
|
|
338
|
-
return O(((a = new I(e[t], ((a, u) => {
|
|
339
|
-
a = w(a) ? a(e[t]) : a, e[t] = a;
|
|
340
|
-
}))) => (a[0] = e[t], a)));
|
|
341
|
-
}, C = (t, e = {}) => {
|
|
342
|
-
const a = _();
|
|
343
|
-
return a[t] || (a[t] = (u = e.detail) => jt(a.current, {
|
|
344
|
-
type: t,
|
|
345
|
-
...e,
|
|
346
|
-
detail: u
|
|
347
|
-
})), a[t];
|
|
348
|
-
}, Z = g("atomico/options");
|
|
349
|
-
|
|
350
|
-
globalThis[Z] = globalThis[Z] || {
|
|
351
|
-
sheet: !!document.adoptedStyleSheets
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
const W = globalThis[Z], J = {
|
|
355
|
-
checked: 1,
|
|
356
|
-
value: 1,
|
|
357
|
-
selected: 1
|
|
358
|
-
}, q = {
|
|
359
|
-
list: 1,
|
|
360
|
-
type: 1,
|
|
361
|
-
size: 1,
|
|
362
|
-
form: 1,
|
|
363
|
-
width: 1,
|
|
364
|
-
height: 1,
|
|
365
|
-
src: 1,
|
|
366
|
-
href: 1,
|
|
367
|
-
slot: 1
|
|
368
|
-
}, G = {
|
|
369
|
-
shadowDom: 1,
|
|
370
|
-
staticNode: 1,
|
|
371
|
-
cloneNode: 1,
|
|
372
|
-
children: 1,
|
|
373
|
-
key: 1
|
|
374
|
-
}, Q = {}, Y = [];
|
|
375
|
-
|
|
376
|
-
class K extends Text {}
|
|
377
|
-
|
|
378
|
-
const tt = g("atomico/id"), nt = g("atomico/type"), ot = g("atomico/ref"), st = g("atomico/vnode"), we = () => {};
|
|
379
|
-
|
|
380
|
-
function Ce(t, e, a) {
|
|
381
|
-
return Ht(this, t, e, a);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
const zt = (t, e, ...a) => {
|
|
385
|
-
const u = e || Q;
|
|
386
|
-
let {children: d} = u;
|
|
387
|
-
if (d = d ?? (a.length ? a : Y), t === we) return d;
|
|
388
|
-
const h = t ? t instanceof Node ? 1 :
|
|
389
|
-
//@ts-ignore
|
|
390
|
-
t.prototype instanceof HTMLElement && 2 : 0;
|
|
391
|
-
if (h === !1 && t instanceof Function) return t(d != Y ? {
|
|
392
|
-
children: d,
|
|
393
|
-
...u
|
|
394
|
-
} : u);
|
|
395
|
-
const b = W.render || Ce;
|
|
396
|
-
return {
|
|
397
|
-
[nt]: st,
|
|
398
|
-
type: t,
|
|
399
|
-
props: u,
|
|
400
|
-
children: d,
|
|
401
|
-
key: u.key,
|
|
402
|
-
// key for lists by keys
|
|
403
|
-
// define if the node declares its shadowDom
|
|
404
|
-
shadow: u.shadowDom,
|
|
405
|
-
// allows renderings to run only once
|
|
406
|
-
static: u.staticNode,
|
|
407
|
-
// defines whether the type is a childNode `1` or a constructor `2`
|
|
408
|
-
raw: h,
|
|
409
|
-
// defines whether to use the second parameter for document.createElement
|
|
410
|
-
is: u.is,
|
|
411
|
-
// clone the node if it comes from a reference
|
|
412
|
-
clone: u.cloneNode,
|
|
413
|
-
render: b
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
function Ht(t, e, a = tt, u, d) {
|
|
418
|
-
let h;
|
|
419
|
-
if (e && e[a] && e[a].vnode == t || t[nt] != st) return e;
|
|
420
|
-
(t || !e) && (d = d || t.type == "svg", h = t.type != "host" && (t.raw == 1 ? (e && t.clone ? e[ot] : e) != t.type : t.raw == 2 ? !(e instanceof t.type) : e ? e[ot] || e.localName != t.type : !e),
|
|
421
|
-
h && t.type != null && (t.raw == 1 && t.clone ? (u = !0, e = t.type.cloneNode(!0),
|
|
422
|
-
e[ot] = t.type) : e = t.raw == 1 ? t.type : t.raw == 2 ? new t.type : d ? document.createElementNS("http://www.w3.org/2000/svg", t.type) : document.createElement(t.type, t.is ? {
|
|
423
|
-
is: t.is
|
|
424
|
-
} : void 0)));
|
|
425
|
-
const b = e[a] ? e[a] : Q, {vnode: g = Q, cycle: k = 0} = b;
|
|
426
|
-
let {fragment: D, handlers: $} = b;
|
|
427
|
-
const {children: N = Y, props: E = Q} = g;
|
|
428
|
-
if ($ = h ? {} : $ || {}, t.static && !h) return e;
|
|
429
|
-
if (t.shadow && !e.shadowRoot && // @ts-ignore
|
|
430
|
-
e.attachShadow({
|
|
431
|
-
mode: "open",
|
|
432
|
-
...t.shadow
|
|
433
|
-
}), t.props != E && Ne(e, E, t.props, $, d), t.children !== N) {
|
|
434
|
-
const h = t.shadow ? e.shadowRoot : e;
|
|
435
|
-
D = Pe(t.children,
|
|
436
|
-
/**
|
|
437
|
-
* @todo for hydration use attribute and send childNodes
|
|
438
|
-
*/
|
|
439
|
-
D, h, a,
|
|
440
|
-
// add support to foreignObject, children will escape from svg
|
|
441
|
-
!k && u, d && t.type == "foreignObject" ? !1 : d);
|
|
442
|
-
}
|
|
443
|
-
return e[a] = {
|
|
444
|
-
vnode: t,
|
|
445
|
-
handlers: $,
|
|
446
|
-
fragment: D,
|
|
447
|
-
cycle: k + 1
|
|
448
|
-
}, e;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
function Te(t, e) {
|
|
452
|
-
const a = new K(""), u = new K("");
|
|
453
|
-
let d;
|
|
454
|
-
if (t[e ? "prepend" : "append"](a), e) {
|
|
455
|
-
let {lastElementChild: e} = t;
|
|
456
|
-
for (;e; ) {
|
|
457
|
-
const {previousElementSibling: t} = e;
|
|
458
|
-
if (et(e, !0) && !et(t, !0)) {
|
|
459
|
-
d = e;
|
|
460
|
-
break;
|
|
461
|
-
}
|
|
462
|
-
e = t;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
return d ? d.before(u) : t.append(u), {
|
|
466
|
-
markStart: a,
|
|
467
|
-
markEnd: u
|
|
468
|
-
};
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
function Pe(t, e, a, u, d, h) {
|
|
472
|
-
t = t == null ? null : k(t) ? t : [ t ];
|
|
473
|
-
const b = e || Te(a, d), {markStart: g, markEnd: D, keyes: $} = b;
|
|
474
|
-
let N;
|
|
475
|
-
const E = $ && new Set;
|
|
476
|
-
let A = g;
|
|
477
|
-
if (t && Ut(t, (t => {
|
|
478
|
-
if (typeof t == "object" && !t[nt]) return;
|
|
479
|
-
const e = t[nt] && t.key, b = $ && e != null && $.get(e);
|
|
480
|
-
A != D && A === b ? E.delete(A) : A = A == D ? D : A.nextSibling;
|
|
481
|
-
const g = $ ? b : A;
|
|
482
|
-
let k = g;
|
|
483
|
-
if (t[nt]) k = Ht(t, g, u, d, h); else {
|
|
484
|
-
const e = t + "";
|
|
485
|
-
!(k instanceof Text) || k instanceof K ? k = new Text(e) : k.data != e && (k.data = e);
|
|
486
|
-
}
|
|
487
|
-
k != A && ($ && E.delete(k), !g || $ ? (a.insertBefore(k, A), $ && A != D && E.add(A)) : g == D ? a.insertBefore(k, D) : (a.replaceChild(k, g),
|
|
488
|
-
A = k)), e != null && (N = N || new Map, N.set(e, k));
|
|
489
|
-
})), A = A == D ? D : A.nextSibling, e && A != D) for (;A != D; ) {
|
|
490
|
-
const t = A;
|
|
491
|
-
A = A.nextSibling, t.remove();
|
|
492
|
-
}
|
|
493
|
-
return E && E.forEach((t => t.remove())), b.keyes = N, b;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
function Ne(t, e, a, u, d) {
|
|
497
|
-
for (const h in e) !(h in a) && Dt(t, h, e[h], null, d, u);
|
|
498
|
-
for (const h in a) Dt(t, h, e[h], a[h], d, u);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
function Dt(t, e, a, u, d, h) {
|
|
502
|
-
if (e = e == "class" && !d ? "className" : e, a = a ?? null, u = u ?? null, e in t && J[e] && (a = t[e]),
|
|
503
|
-
!(u === a || G[e] || e[0] == "_")) if (e[0] == "o" && e[1] == "n" && (w(u) || w(a))) ke(t, e.slice(2), u, h); else if (e == "ref") u && (w(u) ? u(t) : u.current = t); else if (e == "style") {
|
|
504
|
-
const {style: e} = t;
|
|
505
|
-
a = a || "", u = u || "";
|
|
506
|
-
const d = R(a), h = R(u);
|
|
507
|
-
if (d) for (const t in a) if (h) !(t in u) && St(e, t, null); else break;
|
|
508
|
-
if (h) for (const t in u) {
|
|
509
|
-
const h = u[t];
|
|
510
|
-
d && a[t] === h || St(e, t, h);
|
|
511
|
-
} else e.cssText = u;
|
|
512
|
-
} else {
|
|
513
|
-
const h = e[0] == "$" ? e.slice(1) : e;
|
|
514
|
-
h === e && (!d && !q[e] && e in t || w(u) || w(a)) ? t[e] = u ?? "" : u == null ? t.removeAttribute(h) : t.setAttribute(h, R(u) ? JSON.stringify(u) : u);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
function ke(t, e, a, u) {
|
|
519
|
-
if (u.handleEvent || (u.handleEvent = e => u[e.type].call(t, e)), a) {
|
|
520
|
-
if (!u[e]) {
|
|
521
|
-
const d = a.capture || a.once || a.passive ? Object.assign({}, a) : null;
|
|
522
|
-
t.addEventListener(e, u, d);
|
|
523
|
-
}
|
|
524
|
-
u[e] = a;
|
|
525
|
-
} else u[e] && (t.removeEventListener(e, u), delete u[e]);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
function St(t, e, a) {
|
|
529
|
-
let u = "setProperty";
|
|
530
|
-
a == null && (u = "removeProperty", a = null), ~e.indexOf("-") ? t[u](e, a) : t[e] = a;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
const lt = {};
|
|
534
|
-
|
|
535
|
-
function z(t, ...e) {
|
|
536
|
-
const a = (t.raw || t).reduce(((t, a, u) => t + a + (e[u] || "")), "");
|
|
537
|
-
return lt[a] = lt[a] || Oe(a);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
function Oe(t) {
|
|
541
|
-
if (W.sheet) {
|
|
542
|
-
const e = new CSSStyleSheet;
|
|
543
|
-
return e.replaceSync(t), e;
|
|
544
|
-
} else {
|
|
545
|
-
const e = document.createElement("style");
|
|
546
|
-
return e.textContent = t, e;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
const dt = zt("host", {
|
|
551
|
-
style: "display: contents"
|
|
552
|
-
}), ft = g("atomico/context"), Ae = (t, e) => {
|
|
553
|
-
const a = _();
|
|
554
|
-
U((() => $t(a.current, "ConnectContext", (
|
|
555
|
-
/**
|
|
556
|
-
* @param {CustomEvent<import("context").DetailConnectContext>} event
|
|
557
|
-
*/
|
|
558
|
-
a => {
|
|
559
|
-
t === a.detail.id && (a.stopPropagation(), a.detail.connect(e));
|
|
560
|
-
}))), [ t ]);
|
|
561
|
-
}, Fe = t => {
|
|
562
|
-
const e = C("ConnectContext", {
|
|
563
|
-
bubbles: !0,
|
|
564
|
-
composed: !0
|
|
565
|
-
}), n = () => {
|
|
566
|
-
let a;
|
|
567
|
-
return e({
|
|
568
|
-
id: t,
|
|
569
|
-
connect(t) {
|
|
570
|
-
a = t;
|
|
571
|
-
}
|
|
572
|
-
}), a;
|
|
573
|
-
}, [a, u] = rt(n);
|
|
574
|
-
return M((() => {
|
|
575
|
-
a || (t[ft] || (t[ft] = customElements.whenDefined((new t).localName)), t[ft].then((() => u(n))));
|
|
576
|
-
}), [ t ]), a;
|
|
577
|
-
}, Re = t => {
|
|
578
|
-
const e = Fe(t), a = Rt();
|
|
579
|
-
return M((() => {
|
|
580
|
-
if (e) return $t(e, "UpdatedValue", a);
|
|
581
|
-
}), [ e ]), (e || t).value;
|
|
582
|
-
}, Ie = t => {
|
|
583
|
-
const e = j((() => (Ae(e, _().current), dt)), {
|
|
584
|
-
props: {
|
|
585
|
-
value: {
|
|
586
|
-
type: Object,
|
|
587
|
-
event: {
|
|
588
|
-
type: "UpdatedValue"
|
|
589
|
-
},
|
|
590
|
-
value: () => t
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
});
|
|
594
|
-
return e.value = t, e;
|
|
595
|
-
}, y = (t, e, a) => (e == null ? e = {
|
|
596
|
-
key: a
|
|
597
|
-
} : e.key = a, zt(t, e)), pt = y, yt = z`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`, bt = z`.vh{position:absolute;transform:scale(0)}`;
|
|
598
|
-
|
|
599
|
-
function it() {
|
|
600
|
-
return wt.from( new Date);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
function at(t, e = 0) {
|
|
604
|
-
const a = S(t), u = a.getUTCDay(), d = (u < e ? 7 : 0) + u - e;
|
|
605
|
-
return a.setUTCDate(a.getUTCDate() - d), wt.from(a);
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
function Zt(t, e = 0) {
|
|
609
|
-
return at(t, e).add({
|
|
610
|
-
days: 6
|
|
611
|
-
});
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
function Wt(t) {
|
|
615
|
-
return wt.from(new Date(Date.UTC(t.year, t.month, 0)));
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
function H(t, e, a) {
|
|
619
|
-
return e && wt.compare(t, e) < 0 ? e : a && wt.compare(t, a) > 0 ? a : t;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
const gt = {
|
|
623
|
-
days: 1
|
|
624
|
-
};
|
|
625
|
-
|
|
626
|
-
function $e(t, e = 0) {
|
|
627
|
-
let a = at(t.toPlainDate(), e);
|
|
628
|
-
const u = Zt(Wt(t), e), d = [];
|
|
629
|
-
for (;wt.compare(a, u) < 0; ) {
|
|
630
|
-
const t = [];
|
|
631
|
-
for (let e = 0; e < 7; e++) t.push(a), a = a.add(gt);
|
|
632
|
-
d.push(t);
|
|
633
|
-
}
|
|
634
|
-
return d;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
function S(t) {
|
|
638
|
-
return new Date(Date.UTC(t.year, t.month - 1, t.day ?? 1));
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
const vt = /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/, X = (t, e) => t.toString().padStart(e, "0");
|
|
642
|
-
|
|
643
|
-
class wt {
|
|
644
|
-
constructor(t, e, a) {
|
|
645
|
-
this.year = t, this.month = e, this.day = a;
|
|
646
|
-
}
|
|
647
|
-
// this is an incomplete implementation that only handles arithmetic on a single unit at a time.
|
|
648
|
-
// i didn't want to get into more complex arithmetic since it get tricky fast
|
|
649
|
-
// this is enough to serve my needs and will still be a drop-in replacement when actual Temporal API lands
|
|
650
|
-
add(t) {
|
|
651
|
-
const e = S(this);
|
|
652
|
-
if ("days" in t) return e.setUTCDate(this.day + t.days), wt.from(e);
|
|
653
|
-
let {year: a, month: u} = this;
|
|
654
|
-
"months" in t ? (u = this.month + t.months, e.setUTCMonth(u - 1)) : (a = this.year + t.years,
|
|
655
|
-
e.setUTCFullYear(a));
|
|
656
|
-
const d = wt.from(S({
|
|
657
|
-
year: a,
|
|
658
|
-
month: u,
|
|
659
|
-
day: 1
|
|
660
|
-
}));
|
|
661
|
-
return H(wt.from(e), d, Wt(d));
|
|
662
|
-
}
|
|
663
|
-
toString() {
|
|
664
|
-
return `${X(this.year, 4)}-${X(this.month, 2)}-${X(this.day, 2)}`;
|
|
665
|
-
}
|
|
666
|
-
toPlainYearMonth() {
|
|
667
|
-
return new xt(this.year, this.month);
|
|
668
|
-
}
|
|
669
|
-
equals(t) {
|
|
670
|
-
return wt.compare(this, t) === 0;
|
|
671
|
-
}
|
|
672
|
-
static compare(t, e) {
|
|
673
|
-
return t.year < e.year ? -1 : t.year > e.year ? 1 : t.month < e.month ? -1 : t.month > e.month ? 1 : t.day < e.day ? -1 : t.day > e.day ? 1 : 0;
|
|
674
|
-
}
|
|
675
|
-
static from(t) {
|
|
676
|
-
if (typeof t == "string") {
|
|
677
|
-
const e = t.match(vt);
|
|
678
|
-
if (!e) throw new TypeError(t);
|
|
679
|
-
const [, a, u, d] = e;
|
|
680
|
-
return new wt(parseInt(a, 10), parseInt(u, 10), parseInt(d, 10));
|
|
681
|
-
}
|
|
682
|
-
return new wt(t.getUTCFullYear(), t.getUTCMonth() + 1, t.getUTCDate());
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
class xt {
|
|
687
|
-
constructor(t, e) {
|
|
688
|
-
this.year = t, this.month = e;
|
|
689
|
-
}
|
|
690
|
-
add(t) {
|
|
691
|
-
const e = S(this), a = (t.months ?? 0) + (t.years ?? 0) * 12;
|
|
692
|
-
return e.setUTCMonth(e.getUTCMonth() + a), new xt(e.getUTCFullYear(), e.getUTCMonth() + 1);
|
|
693
|
-
}
|
|
694
|
-
equals(t) {
|
|
695
|
-
return this.year === t.year && this.month === t.month;
|
|
696
|
-
}
|
|
697
|
-
toPlainDate() {
|
|
698
|
-
return new wt(this.year, this.month, 1);
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
function x(t, e) {
|
|
703
|
-
if (e) try {
|
|
704
|
-
return t.from(e);
|
|
705
|
-
} catch {}
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
function P(t) {
|
|
709
|
-
const [e, a] = ct(t);
|
|
710
|
-
return [ T((() => x(wt, e)), [ e ]), t => a(t?.toString()) ];
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
function _e(t) {
|
|
714
|
-
const [e = "", a] = ct(t);
|
|
715
|
-
return [ T((() => {
|
|
716
|
-
const [t, a] = e.split("/"), u = x(wt, t), d = x(wt, a);
|
|
717
|
-
return u && d ? [ u, d ] : [];
|
|
718
|
-
}), [ e ]), t => a(`${t[0]}/${t[1]}`) ];
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
function je(t) {
|
|
722
|
-
const [e = "", a] = ct(t);
|
|
723
|
-
return [ T((() => {
|
|
724
|
-
const t = [];
|
|
725
|
-
for (const a of e.trim().split(/\s+/)) {
|
|
726
|
-
const e = x(wt, a);
|
|
727
|
-
e && t.push(e);
|
|
728
|
-
}
|
|
729
|
-
return t;
|
|
730
|
-
}), [ e ]), t => a(t.join(" ")) ];
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
function L(t, e) {
|
|
734
|
-
return T((() => new Intl.DateTimeFormat(e, {
|
|
735
|
-
timeZone: "UTC",
|
|
736
|
-
...t
|
|
737
|
-
})), [ e, t ]);
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
function Ct(t, e, a) {
|
|
741
|
-
const u = L(t, a);
|
|
742
|
-
return T((() => {
|
|
743
|
-
const t = [], a = new Date;
|
|
744
|
-
for (var d = 0; d < 7; d++) {
|
|
745
|
-
const d = (a.getUTCDay() - e + 7) % 7;
|
|
746
|
-
t[d] = u.format(a), a.setUTCDate(a.getUTCDate() + 1);
|
|
747
|
-
}
|
|
748
|
-
return t;
|
|
749
|
-
}), [ e, u ]);
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
const Tt = (t, e, a) => H(t, e, a) === t, Pt = t => t.target.matches(":dir(ltr)"), Et = {
|
|
753
|
-
month: "long",
|
|
754
|
-
day: "numeric"
|
|
755
|
-
}, At = {
|
|
756
|
-
month: "long"
|
|
757
|
-
}, Lt = {
|
|
758
|
-
weekday: "narrow"
|
|
759
|
-
}, Bt = {
|
|
760
|
-
weekday: "long"
|
|
761
|
-
}, Ft = {
|
|
762
|
-
bubbles: !0
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
function ze({props: t, context: e}) {
|
|
766
|
-
const {offset: a} = t, {firstDayOfWeek: u, isDateDisallowed: d, min: h, max: b, page: g, locale: k, focusedDate: D} = e, $ = it(), N = Ct(Bt, u, k), E = Ct(Lt, u, k), A = L(Et, k), B = L(At, k), F = T((() => g.start.add({
|
|
767
|
-
months: a
|
|
768
|
-
})), [ g, a ]), M = T((() => $e(F, u)), [ F, u ]), U = C("focusday", Ft), I = C("selectday", Ft), Z = C("hoverday", Ft);
|
|
769
|
-
function mt(t) {
|
|
770
|
-
U(H(t, h, b));
|
|
771
|
-
}
|
|
772
|
-
function Gt(t) {
|
|
773
|
-
let e;
|
|
774
|
-
switch (t.key) {
|
|
775
|
-
case "ArrowRight":
|
|
776
|
-
e = D.add({
|
|
777
|
-
days: Pt(t) ? 1 : -1
|
|
778
|
-
});
|
|
779
|
-
break;
|
|
780
|
-
|
|
781
|
-
case "ArrowLeft":
|
|
782
|
-
e = D.add({
|
|
783
|
-
days: Pt(t) ? -1 : 1
|
|
784
|
-
});
|
|
785
|
-
break;
|
|
786
|
-
|
|
787
|
-
case "ArrowDown":
|
|
788
|
-
e = D.add({
|
|
789
|
-
days: 7
|
|
790
|
-
});
|
|
791
|
-
break;
|
|
792
|
-
|
|
793
|
-
case "ArrowUp":
|
|
794
|
-
e = D.add({
|
|
795
|
-
days: -7
|
|
796
|
-
});
|
|
797
|
-
break;
|
|
798
|
-
|
|
799
|
-
case "PageUp":
|
|
800
|
-
e = D.add(t.shiftKey ? {
|
|
801
|
-
years: -1
|
|
802
|
-
} : {
|
|
803
|
-
months: -1
|
|
804
|
-
});
|
|
805
|
-
break;
|
|
806
|
-
|
|
807
|
-
case "PageDown":
|
|
808
|
-
e = D.add(t.shiftKey ? {
|
|
809
|
-
years: 1
|
|
810
|
-
} : {
|
|
811
|
-
months: 1
|
|
812
|
-
});
|
|
813
|
-
break;
|
|
814
|
-
|
|
815
|
-
case "Home":
|
|
816
|
-
e = at(D, u);
|
|
817
|
-
break;
|
|
818
|
-
|
|
819
|
-
case "End":
|
|
820
|
-
e = Zt(D, u);
|
|
821
|
-
break;
|
|
822
|
-
|
|
823
|
-
default:
|
|
824
|
-
return;
|
|
825
|
-
}
|
|
826
|
-
mt(e), t.preventDefault();
|
|
827
|
-
}
|
|
828
|
-
function Qt(t) {
|
|
829
|
-
const a = F.equals(t);
|
|
830
|
-
if (!e.showOutsideDays && !a) return;
|
|
831
|
-
const u = t.equals(D), g = t.equals($), k = S(t), N = d?.(k), E = !Tt(t, h, b);
|
|
832
|
-
let B = "", M;
|
|
833
|
-
if (e.type === "range") {
|
|
834
|
-
const [a, u] = e.value, d = a?.equals(t), h = u?.equals(t);
|
|
835
|
-
M = a && u && Tt(t, a, u), B = `${d ? "range-start" : ""} ${h ? "range-end" : ""} ${M && !d && !h ? "range-inner" : ""}`;
|
|
836
|
-
} else e.type === "multi" ? M = e.value.some((e => e.equals(t))) : M = e.value?.equals(t);
|
|
837
|
-
return {
|
|
838
|
-
part: `${`button day ${// we don't want outside days to ever be shown as selected
|
|
839
|
-
a ? M ? "selected" : "" : "outside"} ${N ? "disallowed" : ""} ${g ? "today" : ""}`} ${B}`,
|
|
840
|
-
tabindex: a && u ? 0 : -1,
|
|
841
|
-
disabled: E,
|
|
842
|
-
"aria-disabled": N ? "true" : void 0,
|
|
843
|
-
"aria-pressed": a && M,
|
|
844
|
-
"aria-current": g ? "date" : void 0,
|
|
845
|
-
"aria-label": A.format(k),
|
|
846
|
-
onkeydown: Gt,
|
|
847
|
-
onclick() {
|
|
848
|
-
N || I(t), mt(t);
|
|
849
|
-
},
|
|
850
|
-
onmouseover() {
|
|
851
|
-
!N && !E && Z(t);
|
|
852
|
-
}
|
|
853
|
-
};
|
|
854
|
-
}
|
|
855
|
-
return {
|
|
856
|
-
weeks: M,
|
|
857
|
-
yearMonth: F,
|
|
858
|
-
daysLong: N,
|
|
859
|
-
daysShort: E,
|
|
860
|
-
formatter: B,
|
|
861
|
-
getDayProps: Qt
|
|
862
|
-
};
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
const Vt = it(), _t = Ie({
|
|
866
|
-
type: "date",
|
|
867
|
-
firstDayOfWeek: 1,
|
|
868
|
-
isDateDisallowed: () => !1,
|
|
869
|
-
focusedDate: Vt,
|
|
870
|
-
page: {
|
|
871
|
-
start: Vt.toPlainYearMonth(),
|
|
872
|
-
end: Vt.toPlainYearMonth()
|
|
873
|
-
}
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
customElements.define("calendar-month-ctx", _t);
|
|
877
|
-
|
|
878
|
-
const Jt = j((t => {
|
|
879
|
-
const e = Re(_t), a = se(), u = ze({
|
|
880
|
-
props: t,
|
|
881
|
-
context: e
|
|
882
|
-
});
|
|
883
|
-
function r() {
|
|
884
|
-
a.current.querySelector("button[tabindex='0']")?.focus();
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
return pt("host", {
|
|
888
|
-
shadowDom: !0,
|
|
889
|
-
focus: r,
|
|
890
|
-
children: [
|
|
891
|
-
y("div", {
|
|
892
|
-
id: "h",
|
|
893
|
-
part: "heading",
|
|
894
|
-
children: u.formatter.format(S(u.yearMonth))
|
|
895
|
-
}),
|
|
896
|
-
pt("table", {
|
|
897
|
-
ref: a,
|
|
898
|
-
"aria-labelledby": "h",
|
|
899
|
-
part: "table",
|
|
900
|
-
children: [
|
|
901
|
-
y("thead", {
|
|
902
|
-
children: y("tr", {
|
|
903
|
-
part: "tr head",
|
|
904
|
-
children: u.daysLong.map(((t, e) => pt("th", {
|
|
905
|
-
part: "th",
|
|
906
|
-
scope: "col",
|
|
907
|
-
children: [
|
|
908
|
-
y("span", {
|
|
909
|
-
class: "vh",
|
|
910
|
-
children: t
|
|
911
|
-
}),
|
|
912
|
-
y("span", {
|
|
913
|
-
"aria-hidden": "true",
|
|
914
|
-
children: u.daysShort[e]
|
|
915
|
-
}) ]
|
|
916
|
-
})))
|
|
917
|
-
})
|
|
918
|
-
}),
|
|
919
|
-
y("tbody", {
|
|
920
|
-
children: u.weeks.map(((t, e) => y("tr", {
|
|
921
|
-
part: "tr week",
|
|
922
|
-
children: t.map(((t, e) => {
|
|
923
|
-
const a = u.getDayProps(t);
|
|
924
|
-
|
|
925
|
-
return y("td", {
|
|
926
|
-
part: "td",
|
|
927
|
-
children: a && y("button", {
|
|
928
|
-
...a,
|
|
929
|
-
children: t.day
|
|
930
|
-
})
|
|
931
|
-
}, e);
|
|
932
|
-
}))
|
|
933
|
-
}, e)))
|
|
934
|
-
}) ]
|
|
935
|
-
}) ]
|
|
936
|
-
});
|
|
937
|
-
}), {
|
|
938
|
-
props: {
|
|
939
|
-
offset: {
|
|
940
|
-
type: Number,
|
|
941
|
-
value: 0
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
styles: [ yt, bt, 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}` ]
|
|
945
|
-
});
|
|
946
|
-
|
|
947
|
-
customElements.define("calendar-month", Jt);
|
|
948
|
-
|
|
949
|
-
function Nt(t) {
|
|
950
|
-
|
|
951
|
-
return y("button", {
|
|
952
|
-
part: `button ${t.name} ${t.onclick ? "" : "disabled"}`,
|
|
953
|
-
onclick: t.onclick,
|
|
954
|
-
"aria-disabled": t.onclick ? null : "true",
|
|
955
|
-
children: y("slot", {
|
|
956
|
-
name: t.name,
|
|
957
|
-
children: t.children
|
|
958
|
-
})
|
|
959
|
-
});
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
function ut(t) {
|
|
963
|
-
const e = S(t.page.start), a = S(t.page.end);
|
|
964
|
-
|
|
965
|
-
return pt("div", {
|
|
966
|
-
role: "group",
|
|
967
|
-
"aria-labelledby": "h",
|
|
968
|
-
part: "container",
|
|
969
|
-
children: [
|
|
970
|
-
y("div", {
|
|
971
|
-
id: "h",
|
|
972
|
-
class: "vh",
|
|
973
|
-
"aria-live": "polite",
|
|
974
|
-
"aria-atomic": "true",
|
|
975
|
-
children: t.formatVerbose.formatRange(e, a)
|
|
976
|
-
}),
|
|
977
|
-
pt("div", {
|
|
978
|
-
part: "header",
|
|
979
|
-
children: [
|
|
980
|
-
y(Nt, {
|
|
981
|
-
name: "previous",
|
|
982
|
-
onclick: t.previous,
|
|
983
|
-
children: "Previous"
|
|
984
|
-
}),
|
|
985
|
-
y("slot", {
|
|
986
|
-
part: "heading",
|
|
987
|
-
name: "heading",
|
|
988
|
-
children: y("div", {
|
|
989
|
-
"aria-hidden": "true",
|
|
990
|
-
children: t.format.formatRange(e, a)
|
|
991
|
-
})
|
|
992
|
-
}),
|
|
993
|
-
y(Nt, {
|
|
994
|
-
name: "next",
|
|
995
|
-
onclick: t.next,
|
|
996
|
-
children: "Next"
|
|
997
|
-
}) ]
|
|
998
|
-
}),
|
|
999
|
-
y(_t, {
|
|
1000
|
-
value: t,
|
|
1001
|
-
onselectday: t.onSelect,
|
|
1002
|
-
onfocusday: t.onFocus,
|
|
1003
|
-
onhoverday: t.onHover,
|
|
1004
|
-
children: y("slot", {})
|
|
1005
|
-
}) ]
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
const qt = {
|
|
1010
|
-
value: {
|
|
1011
|
-
type: String,
|
|
1012
|
-
value: ""
|
|
1013
|
-
},
|
|
1014
|
-
min: {
|
|
1015
|
-
type: String,
|
|
1016
|
-
value: ""
|
|
1017
|
-
},
|
|
1018
|
-
max: {
|
|
1019
|
-
type: String,
|
|
1020
|
-
value: ""
|
|
1021
|
-
},
|
|
1022
|
-
isDateDisallowed: {
|
|
1023
|
-
type: Function,
|
|
1024
|
-
value: t => !1
|
|
1025
|
-
},
|
|
1026
|
-
firstDayOfWeek: {
|
|
1027
|
-
type: Number,
|
|
1028
|
-
value: () => 1
|
|
1029
|
-
},
|
|
1030
|
-
showOutsideDays: {
|
|
1031
|
-
type: Boolean,
|
|
1032
|
-
value: !1
|
|
1033
|
-
},
|
|
1034
|
-
locale: {
|
|
1035
|
-
type: String,
|
|
1036
|
-
value: () => {}
|
|
1037
|
-
},
|
|
1038
|
-
months: {
|
|
1039
|
-
type: Number,
|
|
1040
|
-
value: 1
|
|
1041
|
-
},
|
|
1042
|
-
focusedDate: {
|
|
1043
|
-
type: String,
|
|
1044
|
-
value: () => {}
|
|
1045
|
-
},
|
|
1046
|
-
pageBy: {
|
|
1047
|
-
type: String,
|
|
1048
|
-
value: () => "months"
|
|
1049
|
-
}
|
|
1050
|
-
}, Kt = [ yt, bt, 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}` ], Xt = {
|
|
1051
|
-
year: "numeric"
|
|
1052
|
-
}, te = {
|
|
1053
|
-
year: "numeric",
|
|
1054
|
-
month: "long"
|
|
1055
|
-
};
|
|
1056
|
-
|
|
1057
|
-
function V(t, e) {
|
|
1058
|
-
return (e.year - t.year) * 12 + e.month - t.month;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
const kt = (t, e) => (t = e === 12 ? new xt(t.year, 1) : t, {
|
|
1062
|
-
start: t,
|
|
1063
|
-
end: t.add({
|
|
1064
|
-
months: e - 1
|
|
1065
|
-
})
|
|
1066
|
-
});
|
|
1067
|
-
|
|
1068
|
-
function Ze({pageBy: t, focusedDate: e, months: a, max: u, min: d, goto: h}) {
|
|
1069
|
-
const b = t === "single" ? 1 : a, [g, k] = rt((() => kt(e.toPlainYearMonth(), a))), i = t => k(kt(g.start.add({
|
|
1070
|
-
months: t
|
|
1071
|
-
}), a)), f = t => {
|
|
1072
|
-
const e = V(g.start, t.toPlainYearMonth());
|
|
1073
|
-
return e >= 0 && e < a;
|
|
1074
|
-
};
|
|
1075
|
-
return M((() => {
|
|
1076
|
-
if (f(e)) return;
|
|
1077
|
-
const t = V(e.toPlainYearMonth(), g.start);
|
|
1078
|
-
h(e.add({
|
|
1079
|
-
months: t
|
|
1080
|
-
}));
|
|
1081
|
-
}), [ g.start ]), M((() => {
|
|
1082
|
-
if (f(e)) return;
|
|
1083
|
-
const t = V(g.start, e.toPlainYearMonth());
|
|
1084
|
-
i(t === -1 ? -b : t === a ? b : Math.floor(t / a) * a);
|
|
1085
|
-
}), [ e, b, a ]), {
|
|
1086
|
-
page: g,
|
|
1087
|
-
previous: !d || !f(d) ? () => i(-b) : void 0,
|
|
1088
|
-
next: !u || !f(u) ? () => i(b) : void 0
|
|
1089
|
-
};
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
function ht({months: t, pageBy: e, locale: a, focusedDate: u, setFocusedDate: d}) {
|
|
1093
|
-
const [h] = P("min"), [b] = P("max"), g = C("focusday"), k = C("change"), D = T((() => H(u ?? it(), h, b)), [ u, h, b ]);
|
|
1094
|
-
function f(t) {
|
|
1095
|
-
d(t), g(S(t));
|
|
1096
|
-
}
|
|
1097
|
-
const {next: $, previous: N, page: E} = Ze({
|
|
1098
|
-
pageBy: e,
|
|
1099
|
-
focusedDate: D,
|
|
1100
|
-
months: t,
|
|
1101
|
-
min: h,
|
|
1102
|
-
max: b,
|
|
1103
|
-
goto: f
|
|
1104
|
-
}), A = _();
|
|
1105
|
-
function p() {
|
|
1106
|
-
A.current.querySelectorAll("calendar-month").forEach((t => t.focus()));
|
|
1107
|
-
}
|
|
1108
|
-
return {
|
|
1109
|
-
format: L(Xt, a),
|
|
1110
|
-
formatVerbose: L(te, a),
|
|
1111
|
-
page: E,
|
|
1112
|
-
focusedDate: D,
|
|
1113
|
-
dispatch: k,
|
|
1114
|
-
onFocus(t) {
|
|
1115
|
-
t.stopPropagation(), f(t.detail), setTimeout(p);
|
|
1116
|
-
},
|
|
1117
|
-
min: h,
|
|
1118
|
-
max: b,
|
|
1119
|
-
next: $,
|
|
1120
|
-
previous: N,
|
|
1121
|
-
focus: p
|
|
1122
|
-
};
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
const ee = j((t => {
|
|
1126
|
-
const [e, a] = P("value"), [u = e, d] = P("focusedDate"), h = ht({
|
|
1127
|
-
...t,
|
|
1128
|
-
focusedDate: u,
|
|
1129
|
-
setFocusedDate: d
|
|
1130
|
-
});
|
|
1131
|
-
function c(t) {
|
|
1132
|
-
a(t.detail), h.dispatch();
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
return y("host", {
|
|
1136
|
-
shadowDom: !0,
|
|
1137
|
-
focus: h.focus,
|
|
1138
|
-
children: y(ut, {
|
|
1139
|
-
...t,
|
|
1140
|
-
...h,
|
|
1141
|
-
type: "date",
|
|
1142
|
-
value: e,
|
|
1143
|
-
onSelect: c
|
|
1144
|
-
})
|
|
1145
|
-
});
|
|
1146
|
-
}), {
|
|
1147
|
-
props: qt,
|
|
1148
|
-
styles: Kt
|
|
1149
|
-
});
|
|
1150
|
-
|
|
1151
|
-
customElements.define("calendar-date", ee);
|
|
1152
|
-
|
|
1153
|
-
const Ot = (t, e) => wt.compare(t, e) < 0 ? [ t, e ] : [ e, t ], ne = j((t => {
|
|
1154
|
-
const [e, a] = _e("value"), [u = e[0], d] = P("focusedDate"), h = ht({
|
|
1155
|
-
...t,
|
|
1156
|
-
focusedDate: u,
|
|
1157
|
-
setFocusedDate: d
|
|
1158
|
-
}), b = C("rangestart"), g = C("rangeend"), [k, D] = P("tentative"), [$, N] = rt();
|
|
1159
|
-
M((() => N(void 0)), [ k ]);
|
|
1160
|
-
function l(t) {
|
|
1161
|
-
h.onFocus(t), m(t);
|
|
1162
|
-
}
|
|
1163
|
-
function m(t) {
|
|
1164
|
-
t.stopPropagation(), k && N(t.detail);
|
|
1165
|
-
}
|
|
1166
|
-
function v(t) {
|
|
1167
|
-
const e = t.detail;
|
|
1168
|
-
t.stopPropagation(), k ? (a(Ot(k, e)), D(void 0), g(S(e)), h.dispatch()) : (D(e),
|
|
1169
|
-
b(S(e)));
|
|
1170
|
-
}
|
|
1171
|
-
const E = k ? Ot(k, $ ?? k) : e;
|
|
1172
|
-
|
|
1173
|
-
return y("host", {
|
|
1174
|
-
shadowDom: !0,
|
|
1175
|
-
focus: h.focus,
|
|
1176
|
-
children: y(ut, {
|
|
1177
|
-
...t,
|
|
1178
|
-
...h,
|
|
1179
|
-
type: "range",
|
|
1180
|
-
value: E,
|
|
1181
|
-
onFocus: l,
|
|
1182
|
-
onHover: m,
|
|
1183
|
-
onSelect: v
|
|
1184
|
-
})
|
|
1185
|
-
});
|
|
1186
|
-
}), {
|
|
1187
|
-
props: {
|
|
1188
|
-
...qt,
|
|
1189
|
-
tentative: {
|
|
1190
|
-
type: String,
|
|
1191
|
-
value: ""
|
|
1192
|
-
}
|
|
1193
|
-
},
|
|
1194
|
-
styles: Kt
|
|
1195
|
-
});
|
|
1196
|
-
|
|
1197
|
-
customElements.define("calendar-range", ne);
|
|
1198
|
-
|
|
1199
|
-
const re = j((t => {
|
|
1200
|
-
const [e, a] = je("value"), [u = e[0], d] = P("focusedDate"), h = ht({
|
|
1201
|
-
...t,
|
|
1202
|
-
focusedDate: u,
|
|
1203
|
-
setFocusedDate: d
|
|
1204
|
-
});
|
|
1205
|
-
function c(t) {
|
|
1206
|
-
const u = [ ...e ], d = e.findIndex((e => e.equals(t.detail)));
|
|
1207
|
-
d < 0 ? u.push(t.detail) : u.splice(d, 1), a(u), h.dispatch();
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
return y("host", {
|
|
1211
|
-
shadowDom: !0,
|
|
1212
|
-
focus: h.focus,
|
|
1213
|
-
children: y(ut, {
|
|
1214
|
-
...t,
|
|
1215
|
-
...h,
|
|
1216
|
-
type: "multi",
|
|
1217
|
-
value: e,
|
|
1218
|
-
onSelect: c
|
|
1219
|
-
})
|
|
1220
|
-
});
|
|
1221
|
-
}), {
|
|
1222
|
-
props: qt,
|
|
1223
|
-
styles: Kt
|
|
1224
|
-
});
|
|
1225
|
-
|
|
1226
|
-
customElements.define("calendar-multi", re);
|
|
1227
|
-
|
|
1228
|
-
const globalFn = () => {};
|
|
1229
|
-
|
|
1230
|
-
const ie = globalFn;
|
|
1231
|
-
|
|
1232
|
-
export { ie as g };
|
|
1233
|
-
//# sourceMappingURL=p-3fd0d92d.js.map
|