@brandsync/wc 1.8.0 → 1.10.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/custom-elements.json +4493 -3458
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-c4de155c.entry.js → p-0132a2d1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-051d3064.entry.js → p-041776c0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a09e157f.entry.js → p-08c99a60.entry.js} +1 -1
- package/dist/brandsync-wc/{p-70f64b25.entry.js → p-18c3c22c.entry.js} +1 -1
- package/dist/brandsync-wc/p-1c3a43c7.entry.js +1 -0
- package/dist/brandsync-wc/{p-fddc7bd1.entry.js → p-1c427ffb.entry.js} +1 -1
- package/dist/brandsync-wc/p-2181378f.entry.js +1 -0
- package/dist/brandsync-wc/{p-29027559.entry.js → p-2e958566.entry.js} +1 -1
- package/dist/brandsync-wc/{p-235ae012.entry.js → p-301b2455.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8ee0153b.entry.js → p-32cd69f1.entry.js} +1 -1
- package/dist/brandsync-wc/p-4f2c4929.entry.js +1 -0
- package/dist/brandsync-wc/{p-a0d5a620.entry.js → p-50a251a4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0e39b9cc.entry.js → p-5f3cd501.entry.js} +1 -1
- package/dist/brandsync-wc/p-701ebf4a.entry.js +1 -0
- package/dist/brandsync-wc/p-763876f5.entry.js +1 -0
- package/dist/brandsync-wc/{p-f7d47c17.entry.js → p-76e1c295.entry.js} +1 -1
- package/dist/brandsync-wc/p-790db8b3.entry.js +1 -0
- package/dist/brandsync-wc/{p-4e5dcaff.entry.js → p-796a1860.entry.js} +1 -1
- package/dist/brandsync-wc/p-806a5347.entry.js +1 -0
- package/dist/brandsync-wc/{p-6331de9c.entry.js → p-8eba7f90.entry.js} +1 -1
- package/dist/brandsync-wc/p-96ed9386.entry.js +1 -0
- package/dist/brandsync-wc/{p-cfcf3f0a.entry.js → p-9e88f19c.entry.js} +1 -1
- package/dist/brandsync-wc/p-9f6fe37d.entry.js +1 -0
- package/dist/brandsync-wc/{p-de7c946d.entry.js → p-a71d2811.entry.js} +1 -1
- package/dist/brandsync-wc/{p-33e44094.entry.js → p-a8e2a829.entry.js} +1 -1
- package/dist/brandsync-wc/p-addfa0a0.entry.js +1 -0
- package/dist/brandsync-wc/{p-4574a707.entry.js → p-af2bf957.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6bf2f116.entry.js → p-b2074a32.entry.js} +1 -1
- package/dist/brandsync-wc/{p-03b08508.entry.js → p-c3f72584.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7c94e6ae.entry.js → p-c99b6a66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2891d40b.entry.js → p-c9a72416.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9f65f998.entry.js → p-d3f44cb7.entry.js} +1 -1
- package/dist/brandsync-wc/p-d42b1c2b.entry.js +1 -0
- package/dist/brandsync-wc/{p-3ec74d35.entry.js → p-daab6b22.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ee7da23d.entry.js → p-dbcbe682.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3176d1d3.entry.js → p-e8a5b8eb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-062cfa34.entry.js → p-ea4e20ef.entry.js} +1 -1
- package/dist/brandsync-wc/p-f370b8fa.entry.js +1 -0
- package/dist/brandsync-wc/{p-05c7de28.entry.js → p-f89de457.entry.js} +1 -1
- package/dist/brandsync-wc/{p-114d2fd8.entry.js → p-fd254972.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +13 -1
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +15 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +18 -4
- package/dist/cjs/bs-datepicker.cjs.entry.js +410 -0
- package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-inline-tab.cjs.entry.js +5 -1
- package/dist/cjs/{bs-input.cjs.entry.js → bs-input_2.cjs.entry.js} +37 -4
- package/dist/cjs/bs-menu.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +118 -5
- package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
- package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
- package/dist/cjs/bs-progress.cjs.entry.js +2 -2
- package/dist/cjs/bs-radio.cjs.entry.js +1 -1
- package/dist/cjs/bs-slider.cjs.entry.js +1 -1
- package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
- package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bs-switch.cjs.entry.js +1 -1
- package/dist/cjs/bs-tab.cjs.entry.js +5 -1
- package/dist/cjs/bs-tabs.cjs.entry.js +47 -2
- package/dist/cjs/bs-timepicker.cjs.entry.js +209 -0
- package/dist/cjs/bs-toast.cjs.entry.js +1 -1
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bs-a11y.cmp.test.js +4 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +63 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +32 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.cmp.test.js +45 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +30 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +20 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +21 -4
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +3 -2
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.stories.js +10 -0
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +19 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +19 -5
- package/dist/collection/components/bs-data-table/bs-data-table.stories.js +8 -1
- package/dist/collection/components/bs-datepicker/bs-datepicker.cmp.test.js +182 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.css +315 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +782 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.stories.js +63 -0
- package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
- package/dist/collection/components/bs-input/bs-input.js +7 -4
- package/dist/collection/components/bs-logo/bs-logo.cmp.test.js +52 -3
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu/bs-menu.stories.js +54 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
- package/dist/collection/components/bs-switch/bs-switch.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +24 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +24 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.cmp.test.js +88 -0
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +83 -2
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.stories.js +24 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.cmp.test.js +141 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.css +200 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +509 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.stories.js +44 -0
- package/dist/collection/components/bs-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +173 -5
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +106 -34
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +181 -5
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.js +48 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +68 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +31 -17
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
- package/dist/components/bs-ai-disclaimer.js +1 -1
- package/dist/components/bs-ai-greeting.js +1 -1
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-attachment-list.js +1 -1
- package/dist/components/bs-attachment.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumb.js +1 -1
- package/dist/components/bs-breadcrumbs.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-carousel.js +1 -1
- package/dist/components/bs-chatbot-feedback.js +1 -1
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-chatbot-response-action.js +1 -1
- package/dist/components/bs-chatbot-sources-drawer.js +1 -1
- package/dist/components/bs-chatbot-suggestion-button.js +1 -1
- package/dist/components/bs-checkbox-skeleton.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-datepicker.d.ts +11 -0
- package/dist/components/bs-datepicker.js +1 -0
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-file-upload-item.js +1 -1
- package/dist/components/bs-file-upload.js +1 -1
- package/dist/components/bs-icon-button.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-navigation-header.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-progress-linear.js +1 -1
- package/dist/components/bs-progress.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-stepper-step.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-switch.js +1 -1
- package/dist/components/bs-tab.js +1 -1
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-timepicker.d.ts +11 -0
- package/dist/components/bs-timepicker.js +1 -0
- package/dist/components/bs-toast.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/{p-BA3c9Rom.js → p-B7Icv1ho.js} +1 -1
- package/dist/components/{p-wei0Ija2.js → p-BTvme8CE.js} +1 -1
- package/dist/components/p-BYR_ZC8v.js +1 -0
- package/dist/components/p-Ba860ej1.js +1 -0
- package/dist/components/p-CPvqZNO8.js +1 -0
- package/dist/components/{p-EtXc94lJ.js → p-DkIVyFOP.js} +1 -1
- package/dist/components/{p-BfEyD6Ku.js → p-ZK8p5zax.js} +1 -1
- package/dist/components/p-jDO25SfF.js +1 -0
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
- package/dist/esm/bs-ai-greeting.entry.js +1 -1
- package/dist/esm/bs-ai-thinking.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +14 -2
- package/dist/esm/bs-breadcrumb.entry.js +16 -2
- package/dist/esm/bs-breadcrumbs.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +18 -4
- package/dist/esm/bs-datepicker.entry.js +408 -0
- package/dist/esm/bs-file-upload-item.entry.js +1 -1
- package/dist/esm/bs-file-upload.entry.js +1 -1
- package/dist/esm/bs-icon-button.entry.js +2 -2
- package/dist/esm/bs-inline-tab.entry.js +5 -1
- package/dist/esm/{bs-input.entry.js → bs-input_2.entry.js} +37 -5
- package/dist/esm/bs-menu.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer.entry.js +119 -6
- package/dist/esm/bs-navigation-header.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +1 -1
- package/dist/esm/bs-progress-linear.entry.js +2 -2
- package/dist/esm/bs-progress.entry.js +2 -2
- package/dist/esm/bs-radio.entry.js +1 -1
- package/dist/esm/bs-slider.entry.js +1 -1
- package/dist/esm/bs-snackbar.entry.js +1 -1
- package/dist/esm/bs-source-link.entry.js +2 -2
- package/dist/esm/bs-stepper-step.entry.js +1 -1
- package/dist/esm/bs-stepper.entry.js +1 -1
- package/dist/esm/bs-switch.entry.js +1 -1
- package/dist/esm/bs-tab.entry.js +5 -1
- package/dist/esm/bs-tabs.entry.js +48 -3
- package/dist/esm/bs-timepicker.entry.js +207 -0
- package/dist/esm/bs-toast.entry.js +1 -1
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.d.ts +10 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.d.ts +8 -0
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +2 -1
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.stories.d.ts +1 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +16 -2
- package/dist/types/components/bs-datepicker/bs-datepicker.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-datepicker/bs-datepicker.d.ts +136 -0
- package/dist/types/components/bs-datepicker/bs-datepicker.stories.d.ts +20 -0
- package/dist/types/components/bs-menu/bs-menu.stories.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +4 -0
- package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +4 -0
- package/dist/types/components/bs-tab/bs-tabs/bs-tabs.d.ts +17 -0
- package/dist/types/components/bs-tab/bs-tabs/bs-tabs.stories.d.ts +1 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.d.ts +101 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.stories.d.ts +14 -0
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.d.ts +50 -1
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.d.ts +2 -0
- package/dist/types/components.d.ts +645 -2
- package/package.json +1 -1
- package/dist/brandsync-wc/p-002d258d.entry.js +0 -1
- package/dist/brandsync-wc/p-153da845.entry.js +0 -1
- package/dist/brandsync-wc/p-2e7a1082.entry.js +0 -1
- package/dist/brandsync-wc/p-612cf79c.entry.js +0 -1
- package/dist/brandsync-wc/p-652d4068.entry.js +0 -1
- package/dist/brandsync-wc/p-7b00dd36.entry.js +0 -1
- package/dist/brandsync-wc/p-ae978c9a.entry.js +0 -1
- package/dist/brandsync-wc/p-bc69a96c.entry.js +0 -1
- package/dist/brandsync-wc/p-bf53ad52.entry.js +0 -1
- package/dist/brandsync-wc/p-c10d2529.entry.js +0 -1
- package/dist/brandsync-wc/p-c7f4c114.entry.js +0 -1
- package/dist/cjs/bs-menu-item.cjs.entry.js +0 -34
- package/dist/components/p-BkHYJIyj.js +0 -1
- package/dist/components/p-Buly0d5G.js +0 -1
- package/dist/esm/bs-menu-item.entry.js +0 -32
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-AgoOSYvW.js';
|
|
2
|
+
|
|
3
|
+
const bsTimepickerCss = () => `:host{display:inline-block;--bs-timepicker-width:294px;--bs-timepicker-bg:var(--bs-surface-raised);--bs-timepicker-radius:var(--bs-border-radius-100);--bs-timepicker-padding-y:var(--bs-spacing-200);--bs-timepicker-padding-x:var(--bs-spacing-200);--bs-timepicker-gap:var(--bs-spacing-200);--bs-timepicker-shadow:var(--bs-shadow-md);--bs-timepicker-title-size:var(--bs-font-size-2xl);--bs-timepicker-title-line-height:var(--bs-line-height-heading-h6);--bs-timepicker-color:var(--bs-text-default);--bs-timepicker-color-secondary:var(--bs-text-secondary);--bs-timepicker-divider:var(--bs-border-neutral-container);--bs-timepicker-cell-size:var(--bs-spacing-550);--bs-timepicker-cell-radius:var(--bs-border-radius-100);--bs-timepicker-value-radius:var(--bs-border-radius-50);--bs-timepicker-hover:var(--bs-surface-hover);--bs-timepicker-pressed:var(--bs-surface-pressed);--bs-timepicker-focus-ring-color:var(--bs-border-neutral-container-focused)}.bs-timepicker{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-timepicker-gap);width:var(--bs-timepicker-width);max-width:100%;padding:var(--bs-timepicker-padding-y) 0;border-radius:var(--bs-timepicker-radius);background:var(--bs-timepicker-bg);box-shadow:var(--bs-timepicker-shadow);color:var(--bs-timepicker-color);font-family:inherit;font-size:var(--bs-font-size-md)}.bs-timepicker__header{display:flex;align-items:center;gap:var(--bs-spacing-100);padding:0 var(--bs-timepicker-padding-x)}.bs-timepicker__title{flex:1 1 0;min-width:0;font-size:var(--bs-timepicker-title-size);font-weight:var(--bs-font-weight-bold);line-height:calc(var(--bs-timepicker-title-line-height) * 1px)}.bs-timepicker__format{display:flex;align-items:center;gap:var(--bs-spacing-50);color:var(--bs-timepicker-color-secondary);line-height:calc(var(--bs-line-height-body-md) * 1px)}.bs-timepicker__divider{height:1px;background:var(--bs-timepicker-divider)}.bs-timepicker__selector{display:flex;align-items:center;justify-content:center;gap:var(--bs-spacing-200);padding:0 var(--bs-timepicker-padding-x)}.bs-timepicker__spinner{display:flex;flex-direction:column;align-items:center;gap:var(--bs-spacing-100);width:var(--bs-timepicker-cell-size)}.bs-timepicker__step,.bs-timepicker__value{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--bs-timepicker-cell-size);height:var(--bs-timepicker-cell-size);padding:0;border:none;background:transparent;font-family:inherit}.bs-timepicker__step{border-radius:var(--bs-timepicker-cell-radius);color:var(--bs-timepicker-color-secondary);cursor:pointer}.bs-timepicker__step svg{width:24px;height:24px}.bs-timepicker__value{border-radius:var(--bs-timepicker-value-radius);color:var(--bs-timepicker-color);font-size:var(--bs-timepicker-title-size);font-weight:var(--bs-font-weight-bold);line-height:calc(var(--bs-timepicker-title-line-height) * 1px);font-variant-numeric:tabular-nums;cursor:pointer;user-select:none}.bs-timepicker__step:hover,.bs-timepicker__value:hover{background:var(--bs-timepicker-hover)}.bs-timepicker__step:active,.bs-timepicker__value:active{background:var(--bs-timepicker-pressed)}.bs-timepicker__step:focus-visible,.bs-timepicker__value:focus-visible{outline:2px solid var(--bs-timepicker-focus-ring-color);outline-offset:0}.bs-timepicker__separator{display:flex;align-items:center;color:var(--bs-timepicker-color)}.bs-timepicker__separator svg{width:4px;height:32px}.bs-timepicker__period::part(label){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bs-timepicker__period{width:112px}.bs-timepicker__period::part(control){caret-color:transparent;cursor:pointer;text-overflow:clip}.bs-timepicker__footer{display:flex;align-items:flex-start;justify-content:flex-end;gap:var(--bs-spacing-100);padding:0 var(--bs-timepicker-padding-x)}`;
|
|
4
|
+
|
|
5
|
+
const BsTimepicker = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.bsChange = createEvent(this, "bsChange");
|
|
9
|
+
this.bsCancel = createEvent(this, "bsCancel");
|
|
10
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
11
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
15
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
get el() { return getElement(this); }
|
|
19
|
+
internals;
|
|
20
|
+
initialValue = '';
|
|
21
|
+
typed = '';
|
|
22
|
+
/** The `name` the confirmed value is submitted under in a surrounding `<form>`. */
|
|
23
|
+
name;
|
|
24
|
+
/** The confirmed time, 24-hour `HH:mm`. Empty means no time chosen yet (the picker opens on
|
|
25
|
+
* 00:00). Mutable so Confirm updates it directly; `bsChange` still fires. */
|
|
26
|
+
value = '';
|
|
27
|
+
/** Display format: `12h` (with an AM/PM dropdown) or `24h`. The user can switch it with the
|
|
28
|
+
* 24h switch. Does not change `value`, which is always 24-hour. */
|
|
29
|
+
format = '12h';
|
|
30
|
+
/** Step, in minutes, of the minute spinner's carets and arrow keys. Typing is not constrained. */
|
|
31
|
+
minuteStep = 1;
|
|
32
|
+
/** Heading text. */
|
|
33
|
+
heading = 'Select Time';
|
|
34
|
+
/** Label of the 24h switch. */
|
|
35
|
+
formatLabel = '24h';
|
|
36
|
+
/** Label of the Confirm button. */
|
|
37
|
+
confirmLabel = 'Confirm';
|
|
38
|
+
/** Label of the Cancel button. */
|
|
39
|
+
cancelLabel = 'Cancel';
|
|
40
|
+
/** Accessible name of the hour spinner. */
|
|
41
|
+
hourLabel = 'Hour';
|
|
42
|
+
/** Accessible name of the minute spinner. */
|
|
43
|
+
minuteLabel = 'Minute';
|
|
44
|
+
/** Accessible name of the AM/PM dropdown. */
|
|
45
|
+
periodLabel = 'AM/PM';
|
|
46
|
+
/** Fires when the user presses Confirm: `{ value }` as 24-hour `HH:mm`. Not fired when `value` is
|
|
47
|
+
* set programmatically. */
|
|
48
|
+
bsChange;
|
|
49
|
+
/** Fires when the user presses Cancel. The draft is reset to `value`. */
|
|
50
|
+
bsCancel;
|
|
51
|
+
/** Draft hour, 0-23. */
|
|
52
|
+
hour = 0;
|
|
53
|
+
/** Draft minute, 0-59. */
|
|
54
|
+
minute = 0;
|
|
55
|
+
componentWillLoad() {
|
|
56
|
+
this.initialValue = this.value;
|
|
57
|
+
this.resetDraft();
|
|
58
|
+
this.syncFormValue();
|
|
59
|
+
}
|
|
60
|
+
onValueChange() {
|
|
61
|
+
this.resetDraft();
|
|
62
|
+
this.syncFormValue();
|
|
63
|
+
}
|
|
64
|
+
onNameChange() {
|
|
65
|
+
this.syncFormValue();
|
|
66
|
+
}
|
|
67
|
+
/** Called by the browser when the surrounding `<form>` is reset. */
|
|
68
|
+
formResetCallback() {
|
|
69
|
+
this.value = this.initialValue;
|
|
70
|
+
}
|
|
71
|
+
resetDraft() {
|
|
72
|
+
const t = parseTime(this.value);
|
|
73
|
+
this.hour = t ? t.hour : 0;
|
|
74
|
+
this.minute = t ? t.minute : 0;
|
|
75
|
+
}
|
|
76
|
+
syncFormValue() {
|
|
77
|
+
if (!this.internals?.setFormValue)
|
|
78
|
+
return;
|
|
79
|
+
this.internals.setFormValue(this.value ?? '');
|
|
80
|
+
}
|
|
81
|
+
get step() {
|
|
82
|
+
const n = Math.trunc(Number(this.minuteStep));
|
|
83
|
+
return Number.isFinite(n) && n >= 1 && n <= 59 ? n : 1;
|
|
84
|
+
}
|
|
85
|
+
get is12h() {
|
|
86
|
+
return this.format !== '24h';
|
|
87
|
+
}
|
|
88
|
+
get isPm() {
|
|
89
|
+
return this.hour >= 12;
|
|
90
|
+
}
|
|
91
|
+
// --- stepping ----------------------------------------------------------------------------
|
|
92
|
+
/** The number shown in a column. In 12h mode the hour reads 1-12. */
|
|
93
|
+
shown(col) {
|
|
94
|
+
if (col === 'minute')
|
|
95
|
+
return this.minute;
|
|
96
|
+
return this.is12h ? this.hour % 12 || 12 : this.hour;
|
|
97
|
+
}
|
|
98
|
+
bounds(col) {
|
|
99
|
+
if (col === 'minute')
|
|
100
|
+
return [0, 59];
|
|
101
|
+
return this.is12h ? [1, 12] : [0, 23];
|
|
102
|
+
}
|
|
103
|
+
setShown(col, n) {
|
|
104
|
+
if (col === 'minute') {
|
|
105
|
+
this.minute = n;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
// 12h keeps the current AM/PM; 12 AM is hour 0 and 12 PM is hour 12.
|
|
109
|
+
this.hour = this.is12h ? (n % 12) + (this.isPm ? 12 : 0) : n;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
stepBy(col, dir) {
|
|
113
|
+
const [min, max] = this.bounds(col);
|
|
114
|
+
const size = max - min + 1;
|
|
115
|
+
const by = col === 'minute' ? this.step : 1;
|
|
116
|
+
let next = this.shown(col) + dir * by;
|
|
117
|
+
if (col === 'minute') {
|
|
118
|
+
// Snap onto the step grid when leaving an off-grid value (e.g. typed 07 with step 15).
|
|
119
|
+
const cur = this.shown(col);
|
|
120
|
+
next = dir === 1 ? Math.floor(cur / by) * by + by : Math.ceil(cur / by) * by - by;
|
|
121
|
+
}
|
|
122
|
+
this.setShown(col, ((((next - min) % size) + size) % size) + min);
|
|
123
|
+
}
|
|
124
|
+
onKeyDown = (col) => (ev) => {
|
|
125
|
+
const [min, max] = this.bounds(col);
|
|
126
|
+
if (ev.key === 'ArrowUp')
|
|
127
|
+
this.stepBy(col, 1);
|
|
128
|
+
else if (ev.key === 'ArrowDown')
|
|
129
|
+
this.stepBy(col, -1);
|
|
130
|
+
else if (ev.key === 'Home')
|
|
131
|
+
this.setShown(col, min);
|
|
132
|
+
else if (ev.key === 'End')
|
|
133
|
+
this.setShown(col, max);
|
|
134
|
+
else if (/^\d$/.test(ev.key)) {
|
|
135
|
+
// Two digits make a value; a lone digit that can't start a valid two-digit value commits
|
|
136
|
+
// immediately.
|
|
137
|
+
const candidate = Number((this.typed + ev.key).slice(-2));
|
|
138
|
+
this.typed = (this.typed + ev.key).slice(-2);
|
|
139
|
+
if (candidate >= min && candidate <= max)
|
|
140
|
+
this.setShown(col, candidate);
|
|
141
|
+
else {
|
|
142
|
+
this.typed = ev.key;
|
|
143
|
+
const single = Number(ev.key);
|
|
144
|
+
if (single >= min && single <= max)
|
|
145
|
+
this.setShown(col, single);
|
|
146
|
+
}
|
|
147
|
+
if (this.typed.length === 2)
|
|
148
|
+
this.typed = '';
|
|
149
|
+
ev.preventDefault();
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
else
|
|
153
|
+
return;
|
|
154
|
+
this.typed = '';
|
|
155
|
+
ev.preventDefault();
|
|
156
|
+
};
|
|
157
|
+
// --- actions -----------------------------------------------------------------------------
|
|
158
|
+
confirm = () => {
|
|
159
|
+
const value = `${pad(this.hour)}:${pad(this.minute)}`;
|
|
160
|
+
this.value = value;
|
|
161
|
+
this.bsChange.emit({ value });
|
|
162
|
+
};
|
|
163
|
+
cancel = () => {
|
|
164
|
+
this.resetDraft();
|
|
165
|
+
this.bsCancel.emit();
|
|
166
|
+
};
|
|
167
|
+
// --- rendering ---------------------------------------------------------------------------
|
|
168
|
+
renderColumn(col, label) {
|
|
169
|
+
const [min, max] = this.bounds(col);
|
|
170
|
+
const n = this.shown(col);
|
|
171
|
+
const stepLabel = (dir) => `${dir} ${label.toLowerCase()}`;
|
|
172
|
+
return (h("div", { part: "spinner", class: "bs-timepicker__spinner" }, h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel('Increase'), tabindex: -1, onClick: () => this.stepBy(col, 1) }, h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { part: "value", class: "bs-timepicker__value", role: "spinbutton", tabindex: 0, "aria-label": label, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": n, "aria-valuetext": pad(n), onKeyDown: this.onKeyDown(col), onBlur: () => (this.typed = '') }, pad(n)), h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel('Decrease'), tabindex: -1, onClick: () => this.stepBy(col, -1) }, h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
173
|
+
}
|
|
174
|
+
render() {
|
|
175
|
+
return (h("div", { key: 'a2e5fe098763d32468ffc0bdd3c2df153385dfd7', part: "container", class: "bs-timepicker" }, h("div", { key: 'd7a3bcdb9585480d2f58b27d8499f6ef9c8d21e0', part: "header", class: "bs-timepicker__header" }, h("div", { key: '6183e6243df377936ddc2d5a92238720efc7a671', part: "title", class: "bs-timepicker__title" }, this.heading), h("label", { key: '4e95425e9f67d6575ef9572a9c385b9a5c887359', class: "bs-timepicker__format" }, h("span", { key: '29771986229fd68af07078e3528a12d75f4a5794' }, this.formatLabel), h("bs-switch", { key: '946ea660ff659d71ca2c3e024bff8eb05afdcfe8', part: "format-toggle", size: "md", ariaLabel: this.formatLabel, checked: !this.is12h, onBsChange: (ev) => (this.format = ev.detail ? '24h' : '12h') }))), h("div", { key: 'e6367ea101ae0981224129bc6c70c7bf5d2b6db9', class: "bs-timepicker__divider" }), h("div", { key: '20ab9cfd9702dae8bf097de642e61439489f6fb5', part: "selector", class: "bs-timepicker__selector" }, this.renderColumn('hour', this.hourLabel), h("div", { key: '5780f3fb2eb6f5b2e6d29ed4cd1585190051e3fd', part: "separator", class: "bs-timepicker__separator", "aria-hidden": "true" }, h("svg", { key: 'd35956df0f6f18f1472cc720f4ab876bbc41e515', viewBox: "0 0 4 32", fill: "currentColor" }, h("circle", { key: '4e6083df833bc3bf6390c80d7911219e61a51d37', cx: "2", cy: "10", r: "2" }), h("circle", { key: 'e3dea9bb879e7b4b09b9d37a0becbfd54f803169', cx: "2", cy: "22", r: "2" }))), this.renderColumn('minute', this.minuteLabel), this.is12h && (h("bs-input", { key: 'a9fb9ef6ff16d5c3f4aa4e067e3795a7ddc7d1e7', part: "period", class: "bs-timepicker__period", type: "dropdown", label: this.periodLabel, value: this.isPm ? 'PM' : 'AM', options: [
|
|
176
|
+
{ label: 'AM', value: 'AM' },
|
|
177
|
+
{ label: 'PM', value: 'PM' },
|
|
178
|
+
], onBsChange: (ev) => {
|
|
179
|
+
const pm = ev.detail === 'PM';
|
|
180
|
+
if (pm !== this.isPm)
|
|
181
|
+
this.hour = (this.hour + 12) % 24;
|
|
182
|
+
} }))), h("div", { key: 'e4256dede407bec46c5da8e967001472ccd0f49b', class: "bs-timepicker__divider" }), h("div", { key: '9be6cade11a25c92c77f4313827f49ee8d89dfb4', part: "footer", class: "bs-timepicker__footer" }, h("bs-button", { key: '6ded59a284b389b5e4a259b1a238296ec83d6c27', part: "cancel", variant: "subtle", onClick: this.cancel }, this.cancelLabel), h("bs-button", { key: 'e1f566c9c34b3371783206910d91a9d49f8cdc41', part: "confirm", variant: "primary", onClick: this.confirm }, this.confirmLabel))));
|
|
183
|
+
}
|
|
184
|
+
static get formAssociated() { return true; }
|
|
185
|
+
static get watchers() { return {
|
|
186
|
+
"value": [{
|
|
187
|
+
"onValueChange": 0
|
|
188
|
+
}],
|
|
189
|
+
"name": [{
|
|
190
|
+
"onNameChange": 0
|
|
191
|
+
}]
|
|
192
|
+
}; }
|
|
193
|
+
};
|
|
194
|
+
function pad(n) {
|
|
195
|
+
return String(n).padStart(2, '0');
|
|
196
|
+
}
|
|
197
|
+
function parseTime(s) {
|
|
198
|
+
const m = /^(\d{1,2}):(\d{2})$/.exec((s ?? '').trim());
|
|
199
|
+
if (!m)
|
|
200
|
+
return undefined;
|
|
201
|
+
const hour = Number(m[1]);
|
|
202
|
+
const minute = Number(m[2]);
|
|
203
|
+
return hour <= 23 && minute <= 59 ? { hour, minute } : undefined;
|
|
204
|
+
}
|
|
205
|
+
BsTimepicker.style = bsTimepickerCss();
|
|
206
|
+
|
|
207
|
+
export { BsTimepicker as bs_timepicker };
|
|
@@ -17,7 +17,7 @@ const BsToast = class {
|
|
|
17
17
|
this.bsDismiss.emit();
|
|
18
18
|
};
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: 'e8da15f45d0491a0eb8568a8fc31e2b802cf30c3', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, h("div", { key: '703099dfc85c56997a2cf6e5e86bd559d1a9d971', class: "bs-toast__content" }, h("span", { key: 'dacb887b5e7bdae27100399a80f9c2cc7a9970d6', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, h(StateIcon, { key: '5d71c6abf0c68673c20de54162557a224cffd66b', state: this.state })), h("span", { key: '6587834edfbdf0188a8780ee0c5b93a572956da4', part: "message", class: "bs-toast__message" }, h("slot", { key: '559c2a397c140532185da397a7cab18f484fad19' }))), h("div", { key: '87f868f1b541432798de1f511f92091434c41e0f', class: "bs-toast__actions" }, h("button", { key: '6267c6dcc3114af0d9fecd250097416f80f661b1', part: "close", type: "button", class: "bs-toast__close", "aria-label": "Dismiss", onClick: this.onDismiss }, h(CloseIcon, { key: '8b6a5b9e2ce36d5cbbec7801df81fd125c7d0f27' })))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
const StateIcon = ({ state }) => {
|
|
@@ -14,7 +14,7 @@ const BsTooltip = class {
|
|
|
14
14
|
*/
|
|
15
15
|
placement = 'top';
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '6fdabb24080aa3e58a1054aa63f43878da2d0787', class: "bs-tooltip" }, h("span", { key: 'ec139068fd7714642215b47ffbd91318062cbb84', part: "arrow", class: "bs-tooltip__arrow" }), h("div", { key: 'c1e18985eeb5263b6faf9c14c1f6c93cfe6c1062', part: "bubble", class: "bs-tooltip__bubble" }, h("slot", { key: 'f521333b359cb1b30457753ee28379a064aeeae2' }))));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
BsTooltip.style = bsTooltipCss();
|
package/dist/esm/loader.js
CHANGED
|
@@ -4,7 +4,7 @@ export { s as setNonce } from './index-AgoOSYvW.js';
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy([["bs-carousel",[[769,"bs-carousel",{"tracker":[1],"slidesPerView":[2,"slides-per-view"],"currentPage":[1538,"current-page"],"autoplay":[4],"interval":[2],"paused":[1540],"label":[1],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"],"pauseLabel":[1,"pause-label"],"playLabel":[1,"play-label"],"slideCount":[32],"interacting":[32]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"]],{"currentPage":[{"onCurrentPageChange":0}],"autoplay":[{"updateTimer":0}],"paused":[{"updateTimer":0}],"interval":[{"updateTimer":0}],"interacting":[{"updateTimer":0}],"slideCount":[{"updateTimer":0}],"slidesPerView":[{"updateTimer":0}]}]]],["bs-file-upload-item",[[769,"bs-file-upload-item",{"state":[513],"fileName":[1,"file-name"],"fileSize":[1,"file-size"],"progress":[2],"message":[1],"thumbnailSrc":[1,"thumbnail-src"],"thumbnailAlt":[1,"thumbnail-alt"],"cancelLabel":[1,"cancel-label"],"removeLabel":[1,"remove-label"]}]]],["bs-input",[[849,"bs-input",{"name":[513],"value":[1025],"type":[1],"label":[1],"placeholder":[1],"description":[1],"error":[1],"disabled":[516],"required":[4],"step":[2],"min":[2],"max":[2],"options":[16],"rows":[2],"chips":[16],"titleOptions":[16],"initialsTitle":[1,"initials-title"],"countryOptions":[16],"country":[1],"length":[2],"open":[1540],"hasIcon":[32],"hasEndIcon":[32],"passwordVisible":[32],"chipDraft":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]],{"value":[{"onFormStateChange":0}],"type":[{"onFormStateChange":0}],"chips":[{"onFormStateChange":0}],"required":[{"onFormStateChange":0}]}]]],["bs-snackbar",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-attachment",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog",[[769,"bs-dialog",{"open":[1540],"heading":[1],"size":[1],"centered":[516],"hasFooter":[32],"hasImage":[32],"hasIcon":[32]},[[4,"keydown","onKeydown"],[4,"focusin","onFocusIn"]]]]],["bs-file-upload",[[769,"bs-file-upload",{"direction":[513],"heading":[1],"description":[1],"buttonLabel":[1,"button-label"],"accept":[1],"multiple":[4],"disabled":[516],"dragging":[1540]}]]],["bs-navigation-drawer",[[769,"bs-navigation-drawer",{"heading":[1],"collapsible":[4],"collapsed":[1540],"logoBackground":[1,"logo-background"],"showLogo":[4,"show-logo"]},null,{"collapsed":[{"onCollapsedChange":0}]}]]],["bs-navigation-header",[[769,"bs-navigation-header",{"alignment":[1],"ariaLabel":[1,"aria-label"],"skipToContentHref":[1,"skip-to-content-href"],"skipToContentLabel":[1,"skip-to-content-label"],"logoBackground":[1,"logo-background"]}]]],["bs-accordion",[[769,"bs-accordion",{"expanded":[516],"size":[1],"disabled":[4],"showIcon":[4,"show-icon"],"showPreview":[4,"show-preview"]}]]],["bs-ai-disclaimer",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button-skeleton",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox",[[849,"bs-checkbox",{"name":[513],"value":[1],"required":[4],"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[516],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"checked":[{"syncFormValue":0}],"value":[{"syncFormValue":0}],"required":[{"syncFormValue":0}],"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-chip-filter",[[785,"bs-chip-filter",{"size":[1],"selected":[516],"dropdown":[4],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32]}]]],["bs-chip-informative",[[769,"bs-chip-informative",{"color":[1],"size":[1],"disabled":[516],"hasIcon":[32]}]]],["bs-chip-input",[[785,"bs-chip-input",{"size":[1],"selected":[1540],"disabled":[516],"hasIcon":[32],"labelText":[32]}]]],["bs-composer",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1025],"state":[513],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner",[[769,"bs-composer-status-banner",{"type":[1],"message":[1],"showIcon":[4,"show-icon"],"showButton":[4,"show-button"],"actionLabel":[1,"action-label"],"allowClose":[4,"allow-close"]}]]],["bs-data-table",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32],"clearSelection":[64]}]]],["bs-inline-tab",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"tabbable":[4],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-progress",[[513,"bs-progress",{"type":[1],"size":[1],"strokeWidth":[2,"stroke-width"],"value":[2],"showLabel":[4,"show-label"],"ariaLabel":[1,"aria-label"]}]]],["bs-radio",[[849,"bs-radio",{"name":[513],"value":[1],"checked":[1540],"disabled":[516],"groupHasChecked":[32]},[[4,"bsChange","onAnyRadioChange"]],{"checked":[{"onCheckedChange":0}],"value":[{"onCheckedChange":0}]}]]],["bs-slider",[[593,"bs-slider",{"type":[1],"name":[513],"showLabel":[4,"show-label"],"label":[1],"min":[2],"max":[2],"step":[2],"value":[1026],"valueStart":[1026,"value-start"],"valueEnd":[1026,"value-end"],"segments":[2],"disabled":[516],"ariaLabel":[1,"aria-label"]},null,{"value":[{"syncFormValue":0}],"valueStart":[{"syncFormValue":0}],"valueEnd":[{"syncFormValue":0}],"type":[{"syncFormValue":0}]}]]],["bs-source-link",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper",[[769,"bs-stepper",{"currentStep":[2,"current-step"],"direction":[513],"showDescription":[4,"show-description"]},null,{"currentStep":[{"onPropChange":0}],"direction":[{"onPropChange":0}],"showDescription":[{"onPropChange":0}]}]]],["bs-stepper-step",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch",[[849,"bs-switch",{"name":[513],"value":[1],"size":[1],"checked":[1540],"disabled":[516],"ariaLabel":[1,"aria-label"]},null,{"checked":[{"syncFormValue":0}],"value":[{"syncFormValue":0}]}]]],["bs-tab",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"tabbable":[4],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"],[0,"keydown","onKeyDown"]],{"orientation":[{"syncRovingTabindex":0}]}]]],["bs-toast",[[769,"bs-toast",{"state":[1]}]]],["bs-menu-item",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-pagination",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-progress-linear",[[769,"bs-progress-linear",{"type":[1],"size":[1],"value":[2],"showLabel":[4,"show-label"],"ariaLabel":[1,"aria-label"],"hasLabelContent":[32]}]]],["bs-tooltip",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-logo",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu",[[257,"bs-menu",null,[[0,"keydown","onKeyDown"]]]]],["bs-button",[[849,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-icon-button",[[849,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]]], options);
|
|
7
|
+
return bootstrapLazy(JSON.parse("[[\"bs-timepicker\",[[577,\"bs-timepicker\",{\"name\":[513],\"value\":[1537],\"format\":[1537],\"minuteStep\":[2,\"minute-step\"],\"heading\":[1],\"formatLabel\":[1,\"format-label\"],\"confirmLabel\":[1,\"confirm-label\"],\"cancelLabel\":[1,\"cancel-label\"],\"hourLabel\":[1,\"hour-label\"],\"minuteLabel\":[1,\"minute-label\"],\"periodLabel\":[1,\"period-label\"],\"hour\":[32],\"minute\":[32]},null,{\"value\":[{\"onValueChange\":0}],\"name\":[{\"onNameChange\":0}]}]]],[\"bs-carousel\",[[769,\"bs-carousel\",{\"tracker\":[1],\"slidesPerView\":[2,\"slides-per-view\"],\"currentPage\":[1538,\"current-page\"],\"autoplay\":[4],\"interval\":[2],\"paused\":[1540],\"label\":[1],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"pauseLabel\":[1,\"pause-label\"],\"playLabel\":[1,\"play-label\"],\"slideCount\":[32],\"interacting\":[32]},[[1,\"mouseenter\",\"onMouseEnter\"],[1,\"mouseleave\",\"onMouseLeave\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"]],{\"currentPage\":[{\"onCurrentPageChange\":0}],\"autoplay\":[{\"updateTimer\":0}],\"paused\":[{\"updateTimer\":0}],\"interval\":[{\"updateTimer\":0}],\"interacting\":[{\"updateTimer\":0}],\"slideCount\":[{\"updateTimer\":0}],\"slidesPerView\":[{\"updateTimer\":0}]}]]],[\"bs-datepicker\",[[577,\"bs-datepicker\",{\"name\":[513],\"range\":[516],\"value\":[1537],\"start\":[1537],\"end\":[1537],\"min\":[1],\"max\":[1],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"startLabel\":[1,\"start-label\"],\"endLabel\":[1,\"end-label\"],\"monthLabel\":[1,\"month-label\"],\"yearLabel\":[1,\"year-label\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"viewDate\":[32],\"focusedIso\":[32],\"hoverIso\":[32],\"draft\":[32],\"openMenu\":[32]},null,{\"value\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"start\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"end\":[{\"onSelectionChange\":0}],\"range\":[{\"onSelectionChange\":0}],\"name\":[{\"onSelectionChange\":0}]}]]],[\"bs-file-upload-item\",[[769,\"bs-file-upload-item\",{\"state\":[513],\"fileName\":[1,\"file-name\"],\"fileSize\":[1,\"file-size\"],\"progress\":[2],\"message\":[1],\"thumbnailSrc\":[1,\"thumbnail-src\"],\"thumbnailAlt\":[1,\"thumbnail-alt\"],\"cancelLabel\":[1,\"cancel-label\"],\"removeLabel\":[1,\"remove-label\"]}]]],[\"bs-snackbar\",[[769,\"bs-snackbar\",{\"variant\":[1],\"loading\":[4],\"actionLabel\":[1,\"action-label\"]}]]],[\"bs-attachment\",[[513,\"bs-attachment\",{\"type\":[1],\"fileName\":[1,\"file-name\"],\"imageSrc\":[1,\"image-src\"],\"imageAlt\":[1,\"image-alt\"],\"loading\":[4],\"removable\":[4]}]]],[\"bs-breadcrumb-overflow\",[[513,\"bs-breadcrumb-overflow\",{\"items\":[16],\"overflowLabel\":[1,\"overflow-label\"],\"size\":[513],\"open\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]]]]],[\"bs-chatbot-header\",[[769,\"bs-chatbot-header\",{\"heading\":[1],\"expanded\":[1540]}]]],[\"bs-dialog\",[[769,\"bs-dialog\",{\"open\":[1540],\"heading\":[1],\"size\":[1],\"centered\":[516],\"hasFooter\":[32],\"hasImage\":[32],\"hasIcon\":[32]},[[4,\"keydown\",\"onKeydown\"],[4,\"focusin\",\"onFocusIn\"]]]]],[\"bs-file-upload\",[[769,\"bs-file-upload\",{\"direction\":[513],\"heading\":[1],\"description\":[1],\"buttonLabel\":[1,\"button-label\"],\"accept\":[1],\"multiple\":[4],\"disabled\":[516],\"dragging\":[1540]}]]],[\"bs-navigation-drawer\",[[769,\"bs-navigation-drawer\",{\"heading\":[1],\"collapsible\":[4],\"collapsed\":[1540],\"logoBackground\":[1,\"logo-background\"],\"showLogo\":[4,\"show-logo\"],\"open\":[1540],\"mobile\":[32]},[[4,\"keydown\",\"onDocumentKeydown\"],[4,\"focusin\",\"onDocumentFocusIn\"]],{\"collapsed\":[{\"onCollapsedChange\":0}],\"mobile\":[{\"onMobileChange\":0}],\"open\":[{\"onOpenChange\":0}]}]]],[\"bs-navigation-header\",[[769,\"bs-navigation-header\",{\"alignment\":[1],\"ariaLabel\":[1,\"aria-label\"],\"skipToContentHref\":[1,\"skip-to-content-href\"],\"skipToContentLabel\":[1,\"skip-to-content-label\"],\"logoBackground\":[1,\"logo-background\"]}]]],[\"bs-accordion\",[[769,\"bs-accordion\",{\"expanded\":[516],\"size\":[1],\"disabled\":[4],\"showIcon\":[4,\"show-icon\"],\"showPreview\":[4,\"show-preview\"]}]]],[\"bs-ai-disclaimer\",[[257,\"bs-ai-disclaimer\"]]],[\"bs-ai-greeting\",[[513,\"bs-ai-greeting\",{\"assistantName\":[1,\"assistant-name\"],\"productName\":[1,\"product-name\"]}]]],[\"bs-ai-thinking\",[[513,\"bs-ai-thinking\",{\"label\":[1]}]]],[\"bs-attachment-list\",[[769,\"bs-attachment-list\",{\"ariaLabel\":[1,\"aria-label\"],\"canScrollRight\":[32]}]]],[\"bs-avatar\",[[513,\"bs-avatar\",{\"type\":[1],\"size\":[1],\"initials\":[1],\"src\":[1],\"alt\":[1],\"ariaLabel\":[1,\"aria-label\"],\"disabled\":[516]}]]],[\"bs-badge\",[[769,\"bs-badge\",{\"variant\":[1]}]]],[\"bs-breadcrumb\",[[769,\"bs-breadcrumb\",{\"href\":[1],\"current\":[516],\"size\":[513]}]]],[\"bs-breadcrumbs\",[[769,\"bs-breadcrumbs\",{\"label\":[1],\"size\":[1]},null,{\"size\":[{\"onSizeChange\":0}]}]]],[\"bs-button-skeleton\",[[513,\"bs-button-skeleton\",{\"size\":[1]}]]],[\"bs-card\",[[769,\"bs-card\",{\"surface\":[1],\"hasImage\":[32]}]]],[\"bs-chatbot-feedback\",[[513,\"bs-chatbot-feedback\",{\"rating\":[1538],\"submitted\":[1540],\"comment\":[1025],\"heading\":[1],\"subtitle\":[1]}]]],[\"bs-chatbot-response-action\",[[769,\"bs-chatbot-response-action\",{\"sourcesCount\":[2,\"sources-count\"],\"menuOpen\":[1540,\"menu-open\"]},[[4,\"click\",\"onDocumentClick\"],[4,\"keydown\",\"onKeydown\"]]]]],[\"bs-chatbot-sources-drawer\",[[769,\"bs-chatbot-sources-drawer\",{\"heading\":[1],\"count\":[2],\"slottedCount\":[32]}]]],[\"bs-chatbot-suggestion-button\",[[769,\"bs-chatbot-suggestion-button\",{\"disabled\":[4]}]]],[\"bs-checkbox\",[[849,\"bs-checkbox\",{\"name\":[513],\"value\":[1],\"required\":[4],\"size\":[1],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"error\":[4],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}],\"required\":[{\"syncFormValue\":0}],\"indeterminate\":[{\"onIndeterminateChange\":0}]}]]],[\"bs-checkbox-skeleton\",[[513,\"bs-checkbox-skeleton\",{\"size\":[1]}]]],[\"bs-chip-filter\",[[785,\"bs-chip-filter\",{\"size\":[1],\"selected\":[516],\"dropdown\":[4],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32]}]]],[\"bs-chip-informative\",[[769,\"bs-chip-informative\",{\"color\":[1],\"size\":[1],\"disabled\":[516],\"hasIcon\":[32]}]]],[\"bs-chip-input\",[[785,\"bs-chip-input\",{\"size\":[1],\"selected\":[1540],\"disabled\":[516],\"hasIcon\":[32],\"labelText\":[32]}]]],[\"bs-composer\",[[785,\"bs-composer\",{\"variant\":[1],\"placeholder\":[1],\"value\":[1025],\"state\":[513],\"ariaLabel\":[1,\"aria-label\"],\"hasAttachments\":[32]}]]],[\"bs-composer-status-banner\",[[769,\"bs-composer-status-banner\",{\"type\":[1],\"message\":[1],\"showIcon\":[4,\"show-icon\"],\"showButton\":[4,\"show-button\"],\"actionLabel\":[1,\"action-label\"],\"allowClose\":[4,\"allow-close\"]}]]],[\"bs-data-table\",[[513,\"bs-data-table\",{\"columns\":[16],\"rows\":[16],\"sortColumn\":[1,\"sort-column\"],\"sortDirection\":[1,\"sort-direction\"],\"selectable\":[4],\"cellRenderer\":[16],\"selectedIds\":[32],\"clearSelection\":[64]}]]],[\"bs-inline-tab\",[[769,\"bs-inline-tab\",{\"selected\":[516],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32]}]]],[\"bs-navigation-drawer-item\",[[769,\"bs-navigation-drawer-item\",{\"selected\":[516],\"expandable\":[4],\"expanded\":[1540],\"nested\":[4],\"ariaLabel\":[1,\"aria-label\"],\"collapsed\":[516],\"hasIcon\":[32]}]]],[\"bs-progress\",[[513,\"bs-progress\",{\"type\":[1],\"size\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"bs-radio\",[[849,\"bs-radio\",{\"name\":[513],\"value\":[1],\"checked\":[1540],\"disabled\":[516],\"groupHasChecked\":[32]},[[4,\"bsChange\",\"onAnyRadioChange\"]],{\"checked\":[{\"onCheckedChange\":0}],\"value\":[{\"onCheckedChange\":0}]}]]],[\"bs-slider\",[[593,\"bs-slider\",{\"type\":[1],\"name\":[513],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[1026],\"valueStart\":[1026,\"value-start\"],\"valueEnd\":[1026,\"value-end\"],\"segments\":[2],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]},null,{\"value\":[{\"syncFormValue\":0}],\"valueStart\":[{\"syncFormValue\":0}],\"valueEnd\":[{\"syncFormValue\":0}],\"type\":[{\"syncFormValue\":0}]}]]],[\"bs-source-link\",[[769,\"bs-source-link\",{\"fileName\":[1,\"file-name\"],\"sourceName\":[1,\"source-name\"],\"version\":[1],\"href\":[1],\"target\":[1]}]]],[\"bs-stepper\",[[769,\"bs-stepper\",{\"currentStep\":[2,\"current-step\"],\"direction\":[513],\"showDescription\":[4,\"show-description\"]},null,{\"currentStep\":[{\"onPropChange\":0}],\"direction\":[{\"onPropChange\":0}],\"showDescription\":[{\"onPropChange\":0}]}]]],[\"bs-stepper-step\",[[513,\"bs-stepper-step\",{\"name\":[1],\"description\":[1],\"error\":[4],\"disabled\":[4],\"computedState\":[1,\"computed-state\"],\"direction\":[1],\"showDescription\":[4,\"show-description\"]}]]],[\"bs-tab\",[[769,\"bs-tab\",{\"selected\":[516],\"disabled\":[4],\"iconPosition\":[1,\"icon-position\"],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32],\"hasBadge\":[32]}]]],[\"bs-tabs\",[[769,\"bs-tabs\",{\"type\":[1],\"orientation\":[1],\"value\":[1537]},[[0,\"bsSelect\",\"onTabSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"value\":[{\"onValueChange\":0}],\"orientation\":[{\"syncRovingTabindex\":0}]}]]],[\"bs-toast\",[[769,\"bs-toast\",{\"state\":[1]}]]],[\"bs-pagination\",[[513,\"bs-pagination\",{\"totalPages\":[2,\"total-pages\"],\"currentPage\":[1538,\"current-page\"],\"siblingCount\":[2,\"sibling-count\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"]}]]],[\"bs-progress-linear\",[[769,\"bs-progress-linear\",{\"type\":[1],\"size\":[1],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"],\"hasLabelContent\":[32]}]]],[\"bs-switch\",[[849,\"bs-switch\",{\"name\":[513],\"value\":[1],\"size\":[1],\"checked\":[1540],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}]}]]],[\"bs-tooltip\",[[769,\"bs-tooltip\",{\"placement\":[1]}]]],[\"bs-logo\",[[513,\"bs-logo\",{\"variant\":[1],\"background\":[1],\"src\":[1],\"alt\":[1]}]]],[\"bs-button\",[[849,\"bs-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32],\"hasEndIcon\":[32],\"hasLabel\":[32]}]]],[\"bs-menu\",[[257,\"bs-menu\",null,[[0,\"keydown\",\"onKeyDown\"]]]]],[\"bs-input_2\",[[849,\"bs-input\",{\"name\":[513],\"value\":[1025],\"type\":[1],\"label\":[1],\"placeholder\":[1],\"description\":[1],\"error\":[1],\"disabled\":[516],\"required\":[4],\"step\":[2],\"min\":[2],\"max\":[2],\"options\":[16],\"rows\":[2],\"chips\":[16],\"titleOptions\":[16],\"initialsTitle\":[1,\"initials-title\"],\"countryOptions\":[16],\"country\":[1],\"length\":[2],\"open\":[1540],\"hasIcon\":[32],\"hasEndIcon\":[32],\"passwordVisible\":[32],\"chipDraft\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]],{\"value\":[{\"onFormStateChange\":0}],\"type\":[{\"onFormStateChange\":0}],\"chips\":[{\"onFormStateChange\":0}],\"required\":[{\"onFormStateChange\":0}]}],[769,\"bs-menu-item\",{\"disabled\":[4],\"hasIcon\":[32]}]]],[\"bs-icon-button\",[[849,\"bs-icon-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"]}]]]]"), options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
1
2
|
export type BsBreadcrumbSize = 'sm' | 'md';
|
|
2
3
|
/**
|
|
3
4
|
* A single crumb within a `<bs-breadcrumbs>` trail: a leading separator icon plus either a link,
|
|
@@ -40,5 +41,14 @@ export declare class BsBreadcrumb {
|
|
|
40
41
|
* size is unchanged, since Figma didn't specify a `sm` icon size and guessing one risked drifting
|
|
41
42
|
* off-brand. Reflected so consumers/CSS can target `bs-breadcrumb[size="sm"]`. */
|
|
42
43
|
size: BsBreadcrumbSize;
|
|
44
|
+
/** Fires when the crumb's link is clicked, before the browser navigates. **Cancelable**: call
|
|
45
|
+
* `event.preventDefault()` to stop the native navigation and route it yourself (an SPA router).
|
|
46
|
+
* Detail is `{ href }`. Only a plain primary-button click emits it -- ctrl/cmd/shift/alt-clicks
|
|
47
|
+
* and middle-clicks (open in a new tab/window) are left to the browser. Bubbles and is composed,
|
|
48
|
+
* so one listener on the surrounding `<bs-breadcrumbs>` covers every crumb. */
|
|
49
|
+
bsNavigate: EventEmitter<{
|
|
50
|
+
href: string;
|
|
51
|
+
}>;
|
|
52
|
+
private onLinkClick;
|
|
43
53
|
render(): any;
|
|
44
54
|
}
|
package/dist/types/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
1
2
|
import type { BsBreadcrumbSize } from '../bs-breadcrumb/bs-breadcrumb';
|
|
2
3
|
export interface BsBreadcrumbOverflowItem {
|
|
3
4
|
label: string;
|
|
@@ -56,6 +57,13 @@ export declare class BsBreadcrumbOverflow {
|
|
|
56
57
|
size: BsBreadcrumbSize;
|
|
57
58
|
/** Whether the overflow popup is open. */
|
|
58
59
|
open: boolean;
|
|
60
|
+
/** Fires when one of the popup's links is clicked, before the browser navigates. **Cancelable**
|
|
61
|
+
* -- see `bs-breadcrumb`'s `bsNavigate`, which this mirrors (same detail, same modified-click
|
|
62
|
+
* rule). Detail is `{ href }`. */
|
|
63
|
+
bsNavigate: EventEmitter<{
|
|
64
|
+
href: string;
|
|
65
|
+
}>;
|
|
66
|
+
private onItemClick;
|
|
59
67
|
private onEllipsisToggle;
|
|
60
68
|
/** Closes the overflow popup on Escape, from anywhere within the component -- host is the
|
|
61
69
|
* default @Listen target, so this fires whether focus is on the ellipsis button itself or on a
|
|
@@ -21,7 +21,8 @@ export type BsIconButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
|
21
21
|
* just conditionally, unlike `bs-button`) -- there's no visible label text to fall back on for an
|
|
22
22
|
* accessible name.
|
|
23
23
|
*
|
|
24
|
-
* @slot - Default slot: the icon content. Exactly one icon, no label
|
|
24
|
+
* @slot - Default slot: the icon content. Exactly one icon, no label -- an inline SVG, or an icon-font
|
|
25
|
+
* glyph (sized by `font-size`, which this component sets from the `size` prop).
|
|
25
26
|
* @part icon - The icon wrapper element.
|
|
26
27
|
*/
|
|
27
28
|
export declare class BsIconButton {
|
|
@@ -12,5 +12,6 @@ export default meta;
|
|
|
12
12
|
type Story = StoryObj<BsIconButtonArgs>;
|
|
13
13
|
export declare const Primary: Story;
|
|
14
14
|
export declare const Sizes: Story;
|
|
15
|
+
export declare const IconFontGlyph: Story;
|
|
15
16
|
export declare const Disabled: Story;
|
|
16
17
|
export declare const AllCombinations: Story;
|
|
@@ -37,8 +37,22 @@ export declare class BsDataTable {
|
|
|
37
37
|
sortColumn?: string;
|
|
38
38
|
sortDirection: 'asc' | 'desc';
|
|
39
39
|
selectable: boolean;
|
|
40
|
-
/** Optional custom cell renderer,
|
|
41
|
-
*
|
|
40
|
+
/** Optional custom cell renderer, for rich cells such as a status badge, a link or an actions
|
|
41
|
+
* column. It returns an **HTML string** that is inserted into the cell as real markup
|
|
42
|
+
* (`innerHTML`), so links, buttons, `<img>` and other web components (e.g. `<bs-badge>`) all render.
|
|
43
|
+
*
|
|
44
|
+
* **When set it renders every cell, not just the special ones** -- return the plain value for
|
|
45
|
+
* ordinary columns too. And **the returned string is not escaped or sanitized** (same trust
|
|
46
|
+
* model as React's `dangerouslySetInnerHTML`): escape any untrusted row data you put in it, plain
|
|
47
|
+
* columns included, or it will be interpreted as HTML. Without a `cellRenderer`, values are
|
|
48
|
+
* rendered as escaped text.
|
|
49
|
+
*
|
|
50
|
+
* The markup is static HTML -- attach behavior yourself, e.g. one `click` listener on the table
|
|
51
|
+
* that reads `event.composedPath()[0]` (events from inside the shadow root are retargeted to the
|
|
52
|
+
* table itself).
|
|
53
|
+
*
|
|
54
|
+
* Function props are JS-property-only, same as array props -- there is no attribute equivalent.
|
|
55
|
+
* Falls back to the raw cell value (as escaped text) when unset. */
|
|
42
56
|
cellRenderer?: (row: BsDataTableRow, column: BsDataTableColumn) => string;
|
|
43
57
|
bsSort: EventEmitter<{
|
|
44
58
|
column: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface BsDatepickerChange {
|
|
3
|
+
/** Single mode: the selected date as `YYYY-MM-DD` (empty string when cleared). */
|
|
4
|
+
value?: string;
|
|
5
|
+
/** Range mode: the range start as `YYYY-MM-DD`. */
|
|
6
|
+
start?: string;
|
|
7
|
+
/** Range mode: the range end as `YYYY-MM-DD`. Empty while only the start has been picked. */
|
|
8
|
+
end?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* An inline calendar for picking a single date, or a start/end date range. Matches the Figma
|
|
12
|
+
* "Date picker" component's two types: "Default" (month and year dropdowns above the grid) and
|
|
13
|
+
* "Range" (start and end date fields above the grid, with the days between highlighted).
|
|
14
|
+
*
|
|
15
|
+
* Dates are always `YYYY-MM-DD` strings, interpreted in the user's local time zone -- never full
|
|
16
|
+
* ISO timestamps -- so a date can't shift by a day across time zones.
|
|
17
|
+
*
|
|
18
|
+
* The calendar renders inline at a fixed width; to show it as a popover, put it inside a
|
|
19
|
+
* `bs-menu` or your own overlay.
|
|
20
|
+
*
|
|
21
|
+
* ## When to use
|
|
22
|
+
* - Picking a date where seeing the surrounding days of the week/month helps (a booking, a
|
|
23
|
+
* deadline, a report window).
|
|
24
|
+
* - Picking a period (`range`) such as a start and end date.
|
|
25
|
+
*
|
|
26
|
+
* ## When not to use
|
|
27
|
+
* - A date the user knows by heart and can type quickly (a birth date) -- `bs-input type="date"`
|
|
28
|
+
* is faster there.
|
|
29
|
+
*
|
|
30
|
+
* ## Keyboard
|
|
31
|
+
* Arrow keys move by day/week, Home/End jump to the start/end of the week, PageUp/PageDown move by
|
|
32
|
+
* month (with Shift, by year), Enter/Space select the focused day.
|
|
33
|
+
*
|
|
34
|
+
* @part container - The outer card.
|
|
35
|
+
* @part header - The row of month/year dropdowns (default) or start/end fields (range).
|
|
36
|
+
* @part menu - The month/year dropdown list, when open (default mode).
|
|
37
|
+
* @part nav - The row holding the previous/next buttons and the title.
|
|
38
|
+
* @part prev - The previous-month button.
|
|
39
|
+
* @part next - The next-month button.
|
|
40
|
+
* @part title - The title between the nav buttons.
|
|
41
|
+
* @part weekday - Each weekday column header.
|
|
42
|
+
* @part grid - The day grid.
|
|
43
|
+
* @part day - Each day button.
|
|
44
|
+
* @part selected - A selected day (the single date, or either end of a range), in addition to `day`.
|
|
45
|
+
* @part in-range - A day strictly between the range start and end, in addition to `day`.
|
|
46
|
+
* @part outside - A day from the previous/next month, in addition to `day`.
|
|
47
|
+
* @part today - Today's day button, in addition to `day`.
|
|
48
|
+
*/
|
|
49
|
+
export declare class BsDatepicker {
|
|
50
|
+
el: HTMLElement;
|
|
51
|
+
internals: ElementInternals;
|
|
52
|
+
private initialValue;
|
|
53
|
+
private initialStart;
|
|
54
|
+
private initialEnd;
|
|
55
|
+
/** The `name` the value is submitted under in a surrounding `<form>`. In `range` mode the dates
|
|
56
|
+
* are submitted as `<name>-start` and `<name>-end`. */
|
|
57
|
+
name?: string;
|
|
58
|
+
/** Select a start/end range instead of a single date. */
|
|
59
|
+
range: boolean;
|
|
60
|
+
/** The selected date (`YYYY-MM-DD`) in single mode. Mutable so a click updates it directly;
|
|
61
|
+
* `bsChange` still fires for the consumer to react. Ignored when `range` is set. */
|
|
62
|
+
value: string;
|
|
63
|
+
/** The range start (`YYYY-MM-DD`) in `range` mode. */
|
|
64
|
+
start: string;
|
|
65
|
+
/** The range end (`YYYY-MM-DD`) in `range` mode. */
|
|
66
|
+
end: string;
|
|
67
|
+
/** Earliest selectable date (`YYYY-MM-DD`). Earlier days render disabled. */
|
|
68
|
+
min?: string;
|
|
69
|
+
/** Latest selectable date (`YYYY-MM-DD`). Later days render disabled. */
|
|
70
|
+
max?: string;
|
|
71
|
+
/** BCP 47 locale used for month names, weekday names and the title. */
|
|
72
|
+
locale: string;
|
|
73
|
+
/** First column of the grid: `0` for Sunday (the Figma spec), `1` for Monday, ... `6`. */
|
|
74
|
+
firstDayOfWeek: number;
|
|
75
|
+
/** Label above the start field in `range` mode. */
|
|
76
|
+
startLabel: string;
|
|
77
|
+
/** Label above the end field in `range` mode. */
|
|
78
|
+
endLabel: string;
|
|
79
|
+
/** Accessible name for the month dropdown (single mode). */
|
|
80
|
+
monthLabel: string;
|
|
81
|
+
/** Accessible name for the year dropdown (single mode). */
|
|
82
|
+
yearLabel: string;
|
|
83
|
+
/** Accessible name for the previous-month button. */
|
|
84
|
+
previousLabel: string;
|
|
85
|
+
/** Accessible name for the next-month button. */
|
|
86
|
+
nextLabel: string;
|
|
87
|
+
/** Fires when the user changes the selection. Single mode: `{ value }`. Range mode: `{ start,
|
|
88
|
+
* end }` -- fired once for the first click (with an empty `end`) and again when the range is
|
|
89
|
+
* completed. Not fired when the props are set programmatically. */
|
|
90
|
+
bsChange: EventEmitter<BsDatepickerChange>;
|
|
91
|
+
/** First day of the month currently displayed. */
|
|
92
|
+
viewDate: Date;
|
|
93
|
+
/** The day holding the roving tabindex. */
|
|
94
|
+
focusedIso: string;
|
|
95
|
+
/** The day the pointer is over while a range is half-picked, for the live range preview. */
|
|
96
|
+
hoverIso: string;
|
|
97
|
+
/** Text the user is typing into a range field, keyed by which field. Cleared on commit. */
|
|
98
|
+
draft: {
|
|
99
|
+
start?: string;
|
|
100
|
+
end?: string;
|
|
101
|
+
};
|
|
102
|
+
/** Which header dropdown (single mode) is open. */
|
|
103
|
+
openMenu: 'month' | 'year' | null;
|
|
104
|
+
private shouldFocusDay;
|
|
105
|
+
private menuToScroll;
|
|
106
|
+
componentWillLoad(): void;
|
|
107
|
+
componentDidRender(): void;
|
|
108
|
+
onSelectionChange(): void;
|
|
109
|
+
onSelectionJump(): void;
|
|
110
|
+
/** Called by the browser when the surrounding `<form>` is reset. */
|
|
111
|
+
formResetCallback(): void;
|
|
112
|
+
private showSelection;
|
|
113
|
+
private syncFormValue;
|
|
114
|
+
private isDisabled;
|
|
115
|
+
private selectDay;
|
|
116
|
+
private commitDraft;
|
|
117
|
+
private moveView;
|
|
118
|
+
private onKeyDown;
|
|
119
|
+
private get safeFirstDay();
|
|
120
|
+
private get fmt();
|
|
121
|
+
private formatField;
|
|
122
|
+
private titleText;
|
|
123
|
+
private monthOptions;
|
|
124
|
+
private yearOptions;
|
|
125
|
+
private weekdays;
|
|
126
|
+
private gridDays;
|
|
127
|
+
private renderHeader;
|
|
128
|
+
/** A `bs-input type="dropdown"` trigger with our own `bs-menu` list below it. bs-input's built-in
|
|
129
|
+
* menu has no checkmark or scroll limit, so it's used only as the field look: it gets no
|
|
130
|
+
* `options` (so renders no menu of its own) and its `bsOpen` toggles ours. */
|
|
131
|
+
private renderDropdown;
|
|
132
|
+
render(): any;
|
|
133
|
+
/** The day that should be reachable with Tab when nothing in view has been focused yet: the
|
|
134
|
+
* selection if it's in the displayed month, else today if it is, else the 1st. */
|
|
135
|
+
private defaultTabbable;
|
|
136
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsDatepickerArgs {
|
|
3
|
+
range: boolean;
|
|
4
|
+
value: string;
|
|
5
|
+
start: string;
|
|
6
|
+
end: string;
|
|
7
|
+
min: string;
|
|
8
|
+
max: string;
|
|
9
|
+
locale: string;
|
|
10
|
+
firstDayOfWeek: number;
|
|
11
|
+
}
|
|
12
|
+
declare const meta: Meta<BsDatepickerArgs>;
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<BsDatepickerArgs>;
|
|
15
|
+
export declare const Default: Story;
|
|
16
|
+
export declare const Range: Story;
|
|
17
|
+
export declare const RangeAcrossWeeks: Story;
|
|
18
|
+
export declare const MinMax: Story;
|
|
19
|
+
export declare const MondayFirst: Story;
|
|
20
|
+
export declare const Danish: Story;
|
|
@@ -45,6 +45,10 @@ export declare class BsInlineTab {
|
|
|
45
45
|
* violation). Stencil reflects this camelCase prop to the `aria-label` HTML attribute
|
|
46
46
|
* automatically, same as `bs-tab`'s identical prop. */
|
|
47
47
|
ariaLabel: string | null;
|
|
48
|
+
/** Identifies this tab within a parent `bs-tabs`: the group's `value` is the selected tab's
|
|
49
|
+
* `value`, and `bsChange` reports it. Optional -- a tab without one is identified by its
|
|
50
|
+
* zero-based position in the group (`"0"`, `"1"`...). */
|
|
51
|
+
value?: string;
|
|
48
52
|
/** Set by a parent `bs-tabs` to implement roving tabindex (only one tab in the group is in the
|
|
49
53
|
* Tab order; arrow keys move between them). Left `undefined` for a standalone tab, which stays
|
|
50
54
|
* a normal tab stop. */
|
|
@@ -51,6 +51,10 @@ export declare class BsTab {
|
|
|
51
51
|
* violation). Stencil reflects this camelCase prop to the `aria-label` HTML attribute
|
|
52
52
|
* automatically, same as `bs-button`'s identical prop. */
|
|
53
53
|
ariaLabel: string | null;
|
|
54
|
+
/** Identifies this tab within a parent `bs-tabs`: the group's `value` is the selected tab's
|
|
55
|
+
* `value`, and `bsChange` reports it. Optional -- a tab without one is identified by its
|
|
56
|
+
* zero-based position in the group (`"0"`, `"1"`...). */
|
|
57
|
+
value?: string;
|
|
54
58
|
/** Set by a parent `bs-tabs` to implement roving tabindex (only one tab in the group is in the
|
|
55
59
|
* Tab order; arrow keys move between them). Left `undefined` for a standalone tab, which stays
|
|
56
60
|
* a normal tab stop. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
1
2
|
export type BsTabsType = 'bs-tab' | 'bs-inline-tab';
|
|
2
3
|
export type BsTabsOrientation = 'horizontal' | 'vertical';
|
|
3
4
|
/**
|
|
@@ -33,6 +34,18 @@ export declare class BsTabs {
|
|
|
33
34
|
/** Layout direction of the tab bar itself. Sets `aria-orientation` on the internal wrapper and
|
|
34
35
|
* switches `flex-direction`. */
|
|
35
36
|
orientation: BsTabsOrientation;
|
|
37
|
+
/** The selected tab's `value`. Mutable and reflected: it follows the user's selection, and
|
|
38
|
+
* setting it from outside (attribute or property) selects the matching tab -- without emitting
|
|
39
|
+
* `bsChange`, which only fires for user-driven changes. A tab's value is its own `value` prop,
|
|
40
|
+
* or, for a tab without one, its zero-based position in the group as a string (`"0"`, `"1"`...).
|
|
41
|
+
* If unset, it is read from whichever tab is already `selected` once the group loads. */
|
|
42
|
+
value?: string;
|
|
43
|
+
/** Fires when the user selects a different tab (click, or arrow/Home/End), with the new
|
|
44
|
+
* `value`. Does not fire when `value` is set programmatically. `bsSelect` on the individual tab
|
|
45
|
+
* still fires as before. */
|
|
46
|
+
bsChange: EventEmitter<{
|
|
47
|
+
value: string;
|
|
48
|
+
}>;
|
|
36
49
|
/**
|
|
37
50
|
* Catches `bsSelect` bubbling up from any slotted `<bs-tab>`/`<bs-inline-tab>` (Stencil's
|
|
38
51
|
* `@Event()` defaults to `bubbles: true, composed: true`, and `@Listen` without a target listens
|
|
@@ -42,6 +55,10 @@ export declare class BsTabs {
|
|
|
42
55
|
*/
|
|
43
56
|
onTabSelect(ev: CustomEvent<void>): void;
|
|
44
57
|
componentDidLoad(): void;
|
|
58
|
+
private tabValue;
|
|
59
|
+
/** Selects the tab whose value matches `this.value` (and deselects the rest). */
|
|
60
|
+
private applyValue;
|
|
61
|
+
onValueChange(): void;
|
|
45
62
|
syncRovingTabindex(): void;
|
|
46
63
|
private tabs;
|
|
47
64
|
/** WAI-ARIA tabs pattern (automatic activation): arrows move focus *and* selection to the
|