@govbr-ds/webcomponents 2.1.0 → 2.1.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/cem/custom-elements.json +63 -63
- package/dist/cjs/app-globals-DcqHuMBv.js +9 -0
- package/dist/cjs/br-avatar.cjs.entry.js +248 -0
- package/dist/cjs/br-breadcrumb-item.cjs.entry.js +45 -0
- package/dist/cjs/br-breadcrumb.cjs.entry.js +443 -0
- package/dist/cjs/br-button_2.cjs.entry.js +280 -0
- package/dist/cjs/br-card.cjs.entry.js +111 -0
- package/dist/cjs/br-carousel-page.cjs.entry.js +80 -0
- package/dist/cjs/br-carousel.cjs.entry.js +565 -0
- package/dist/cjs/br-checkbox-group.cjs.entry.js +118 -0
- package/dist/cjs/br-checkbox.cjs.entry.js +288 -0
- package/dist/cjs/br-checkgroup.cjs.entry.js +20 -0
- package/dist/cjs/br-collapse_2.cjs.entry.js +683 -0
- package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +83 -0
- package/dist/cjs/br-cookiebar-group.cjs.entry.js +309 -0
- package/dist/cjs/br-cookiebar-header.cjs.entry.js +39 -0
- package/dist/cjs/br-cookiebar-link.cjs.entry.js +54 -0
- package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +70 -0
- package/dist/cjs/br-cookiebar-note.cjs.entry.js +25 -0
- package/dist/cjs/br-cookiebar.cjs.entry.js +758 -0
- package/dist/cjs/br-crumb.cjs.entry.js +51 -0
- package/dist/cjs/br-date-picker_3.cjs.entry.js +2446 -0
- package/dist/cjs/br-datetime-picker.cjs.entry.js +1887 -0
- package/dist/cjs/br-divider.cjs.entry.js +225 -0
- package/dist/cjs/br-dropdown_2.cjs.entry.js +1856 -0
- package/dist/cjs/br-footer-category.cjs.entry.js +102 -0
- package/dist/cjs/br-footer-item.cjs.entry.js +52 -0
- package/dist/cjs/br-footer-legal.cjs.entry.js +41 -0
- package/dist/cjs/br-footer-logo.cjs.entry.js +104 -0
- package/dist/cjs/br-footer-social.cjs.entry.js +71 -0
- package/dist/cjs/br-footer.cjs.entry.js +92 -0
- package/dist/cjs/br-header-function.cjs.entry.js +142 -0
- package/dist/cjs/br-header-link.cjs.entry.js +60 -0
- package/dist/cjs/br-header-list.cjs.entry.js +279 -0
- package/dist/cjs/br-header-logo.cjs.entry.js +177 -0
- package/dist/cjs/br-header.cjs.entry.js +642 -0
- package/dist/cjs/br-icon.cjs.entry.js +485 -0
- package/dist/cjs/br-input.cjs.entry.js +599 -0
- package/dist/cjs/br-item.cjs.entry.js +356 -0
- package/dist/cjs/br-link.cjs.entry.js +132 -0
- package/dist/cjs/br-loading.cjs.entry.js +505 -0
- package/dist/cjs/br-magic-button.cjs.entry.js +92 -0
- package/dist/cjs/br-menu-group.cjs.entry.js +23 -0
- package/dist/cjs/br-menu-header.cjs.entry.js +47 -0
- package/dist/cjs/br-menu-info.cjs.entry.js +38 -0
- package/dist/cjs/br-menu-item.cjs.entry.js +79 -0
- package/dist/cjs/br-menu-link.cjs.entry.js +55 -0
- package/dist/cjs/br-menu-list.cjs.entry.js +149 -0
- package/dist/cjs/br-menu-logo.cjs.entry.js +75 -0
- package/dist/cjs/br-menu-social.cjs.entry.js +65 -0
- package/dist/cjs/br-menu.cjs.entry.js +993 -0
- package/dist/cjs/br-modal.cjs.entry.js +496 -0
- package/dist/cjs/br-notification-body.cjs.entry.js +71 -0
- package/dist/cjs/br-notification-header.cjs.entry.js +48 -0
- package/dist/cjs/br-notification-item.cjs.entry.js +110 -0
- package/dist/cjs/br-notification.cjs.entry.js +334 -0
- package/dist/cjs/br-pagination.cjs.entry.js +884 -0
- package/dist/cjs/br-radio-group.cjs.entry.js +428 -0
- package/dist/cjs/br-radio.cjs.entry.js +357 -0
- package/dist/cjs/br-scrim.cjs.entry.js +1336 -0
- package/dist/cjs/br-select-input_3.cjs.entry.js +954 -0
- package/dist/cjs/br-sign-in.cjs.entry.js +125 -0
- package/dist/cjs/br-skip-link-item.cjs.entry.js +20 -0
- package/dist/cjs/br-skip-link.cjs.entry.js +362 -0
- package/dist/cjs/br-skiplink-item.cjs.entry.js +192 -0
- package/dist/cjs/br-slider.cjs.entry.js +688 -0
- package/dist/cjs/br-step_2.cjs.entry.js +628 -0
- package/dist/cjs/br-switch.cjs.entry.js +245 -0
- package/dist/cjs/br-tab-item.cjs.entry.js +185 -0
- package/dist/cjs/br-tab.cjs.entry.js +397 -0
- package/dist/cjs/br-table-body.cjs.entry.js +37 -0
- package/dist/cjs/br-table-cell.cjs.entry.js +184 -0
- package/dist/cjs/br-table-header-cell.cjs.entry.js +173 -0
- package/dist/cjs/br-table-header.cjs.entry.js +37 -0
- package/dist/cjs/br-table-row.cjs.entry.js +81 -0
- package/dist/cjs/br-table.cjs.entry.js +680 -0
- package/dist/cjs/br-tag.cjs.entry.js +494 -0
- package/dist/cjs/br-textarea.cjs.entry.js +306 -0
- package/dist/cjs/br-tooltip.cjs.entry.js +627 -0
- package/dist/cjs/br-upload.cjs.entry.js +582 -0
- package/dist/cjs/br-wizard-panel.cjs.entry.js +54 -0
- package/dist/cjs/br-wizard.cjs.entry.js +708 -0
- package/dist/cjs/breakpoint-observer-P8veqXg7.js +144 -0
- package/dist/cjs/clamp-Co_hWptd.js +25 -0
- package/dist/cjs/cookiebar.utils-CB1gQwZ4.js +18 -0
- package/dist/cjs/datetime-picker-constants-B5pWeOn1.js +3827 -0
- package/dist/cjs/event-CmVdNHxl.js +56 -0
- package/dist/cjs/floating-surface-dismiss-ccdiD0KF.js +63 -0
- package/dist/cjs/floating-ui-MBI1osio.js +136 -0
- package/dist/cjs/floating-ui.dom-BUSTaaxR.js +1715 -0
- package/dist/cjs/focus-DuywwJPR.js +30 -0
- package/dist/cjs/getNextElement-R9l3JtM9.js +31 -0
- package/dist/cjs/iconify-icon-DfODV9bf.js +2307 -0
- package/dist/cjs/id-CjRFMzf6.js +20 -0
- package/dist/cjs/index-C92n55ch.js +678 -0
- package/dist/cjs/index-CRdcutym.js +3287 -0
- package/dist/cjs/index.cjs.js +12 -0
- package/dist/cjs/isNil-DO5zWc3l.js +19 -0
- package/dist/cjs/isValid-Fu3kaWNn.js +3694 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/native-dialog--Ewqm4w0.js +49 -0
- package/dist/cjs/navigation-AbzwcRCU.js +25 -0
- package/dist/cjs/parts-D5K3ae2C.js +19 -0
- package/dist/cjs/props-CScmBvKd.js +24 -0
- package/dist/cjs/raf-batcher-yc87a4dS.js +55 -0
- package/dist/cjs/slot-DAllytTj.js +48 -0
- package/dist/cjs/swipe-BU8_XE9f.js +345 -0
- package/dist/cjs/table-constants-BOPSay0B.js +183 -0
- package/dist/cjs/validator-CTCajtT9.js +123 -0
- package/dist/cjs/webcomponents.cjs.js +50 -0
- package/dist/collection/assets/icon-search.svg +6 -0
- package/dist/collection/assets/logo-negative.svg +1 -0
- package/dist/collection/assets/logo-positive.svg +1 -0
- package/dist/collection/assets/wc.svg +1 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/avatar/avatar.css +1 -0
- package/dist/collection/components/avatar/avatar.js +589 -0
- package/dist/collection/components/avatar/avatar.types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +166 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +619 -0
- package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
- package/dist/collection/components/breadcrumb/crumb/crumb.js +175 -0
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +546 -0
- package/dist/collection/components/button/button.types.js +1 -0
- package/dist/collection/components/card/card.css +1 -0
- package/dist/collection/components/card/card.js +225 -0
- package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -0
- package/dist/collection/components/carousel/carousel-page/carousel-page.js +195 -0
- package/dist/collection/components/carousel/carousel.css +1 -0
- package/dist/collection/components/carousel/carousel.js +1217 -0
- package/dist/collection/components/carousel/carousel.types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +1 -0
- package/dist/collection/components/checkbox/checkbox.js +823 -0
- package/dist/collection/components/checkbox/checkbox.types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +268 -0
- package/dist/collection/components/checkgroup/checkgroup.js +166 -0
- package/dist/collection/components/collapse/collapse.css +1 -0
- package/dist/collection/components/collapse/collapse.js +642 -0
- package/dist/collection/components/collapse/collapse.types.js +1 -0
- package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +529 -0
- package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +628 -0
- package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +165 -0
- package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +200 -0
- package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +100 -0
- package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +172 -0
- package/dist/collection/components/cookiebar/cookiebar.css +1 -0
- package/dist/collection/components/cookiebar/cookiebar.js +1419 -0
- package/dist/collection/components/cookiebar/cookiebar.types.js +1 -0
- package/dist/collection/components/cookiebar/cookiebar.utils.js +14 -0
- package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +94 -0
- package/dist/collection/components/datetime-picker/date-picker/date-picker-props-validation.js +57 -0
- package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -0
- package/dist/collection/components/datetime-picker/date-picker/date-picker.js +913 -0
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input-props-validation.js +65 -0
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -0
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +825 -0
- package/dist/collection/components/datetime-picker/datetime-picker-constants.js +36 -0
- package/dist/collection/components/datetime-picker/datetime-picker-form-associated.js +112 -0
- package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +202 -0
- package/dist/collection/components/datetime-picker/datetime-picker.css +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +1925 -0
- package/dist/collection/components/datetime-picker/datetime-picker.types.js +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.utils.js +250 -0
- package/dist/collection/components/datetime-picker/time-picker/time-picker-constants.js +13 -0
- package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -0
- package/dist/collection/components/datetime-picker/time-picker/time-picker.js +456 -0
- package/dist/collection/components/divider/divider.css +1 -0
- package/dist/collection/components/divider/divider.js +537 -0
- package/dist/collection/components/divider/divider.types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +939 -0
- package/dist/collection/components/dropdown/dropdown.types.js +1 -0
- package/dist/collection/components/footer/footer-category/footer-category.css +1 -0
- package/dist/collection/components/footer/footer-category/footer-category.js +160 -0
- package/dist/collection/components/footer/footer-item/footer-item.css +1 -0
- package/dist/collection/components/footer/footer-item/footer-item.js +154 -0
- package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -0
- package/dist/collection/components/footer/footer-legal/footer-legal.js +75 -0
- package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -0
- package/dist/collection/components/footer/footer-logo/footer-logo.js +342 -0
- package/dist/collection/components/footer/footer-logo/footer-logo.types.js +1 -0
- package/dist/collection/components/footer/footer-social/footer-social.css +1 -0
- package/dist/collection/components/footer/footer-social/footer-social.js +239 -0
- package/dist/collection/components/footer/footer.css +1 -0
- package/dist/collection/components/footer/footer.js +245 -0
- package/dist/collection/components/footer/footer.types.js +1 -0
- package/dist/collection/components/global.types.js +1 -0
- package/dist/collection/components/header/header-function/header-function.css +1 -0
- package/dist/collection/components/header/header-function/header-function.js +311 -0
- package/dist/collection/components/header/header-link/header-link.css +1 -0
- package/dist/collection/components/header/header-link/header-link.js +189 -0
- package/dist/collection/components/header/header-list/header-list.css +1 -0
- package/dist/collection/components/header/header-list/header-list.js +452 -0
- package/dist/collection/components/header/header-logo/header-logo.css +1 -0
- package/dist/collection/components/header/header-logo/header-logo.js +420 -0
- package/dist/collection/components/header/header.css +1 -0
- package/dist/collection/components/header/header.js +1131 -0
- package/dist/collection/components/header/header.types.js +1 -0
- package/dist/collection/components/icon/default-icons-cache.js +233 -0
- package/dist/collection/components/icon/icon.css +1 -0
- package/dist/collection/components/icon/icon.js +598 -0
- package/dist/collection/components/icon/icon.types.js +1 -0
- package/dist/collection/components/icon/icon.utils.js +33 -0
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/input.js +1642 -0
- package/dist/collection/components/input/input.types.js +1 -0
- package/dist/collection/components/item/item.css +1 -0
- package/dist/collection/components/item/item.js +906 -0
- package/dist/collection/components/item/item.types.js +1 -0
- package/dist/collection/components/link/link.css +1 -0
- package/dist/collection/components/link/link.js +698 -0
- package/dist/collection/components/list/list.css +1 -0
- package/dist/collection/components/list/list.js +728 -0
- package/dist/collection/components/loading/loading.css +1 -0
- package/dist/collection/components/loading/loading.js +1169 -0
- package/dist/collection/components/loading/loading.types.js +1 -0
- package/dist/collection/components/magic-button/magic-button.css +1 -0
- package/dist/collection/components/magic-button/magic-button.js +237 -0
- package/dist/collection/components/menu/menu-group/menu-group.css +1 -0
- package/dist/collection/components/menu/menu-group/menu-group.js +77 -0
- package/dist/collection/components/menu/menu-header/menu-header.css +1 -0
- package/dist/collection/components/menu/menu-header/menu-header.js +161 -0
- package/dist/collection/components/menu/menu-info/menu-info.css +1 -0
- package/dist/collection/components/menu/menu-info/menu-info.js +94 -0
- package/dist/collection/components/menu/menu-item/menu-item.css +1 -0
- package/dist/collection/components/menu/menu-item/menu-item.js +306 -0
- package/dist/collection/components/menu/menu-item/menu-item.types.js +1 -0
- package/dist/collection/components/menu/menu-link/menu-link.css +1 -0
- package/dist/collection/components/menu/menu-link/menu-link.js +259 -0
- package/dist/collection/components/menu/menu-list/menu-list.css +1 -0
- package/dist/collection/components/menu/menu-list/menu-list.js +311 -0
- package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -0
- package/dist/collection/components/menu/menu-logo/menu-logo.js +230 -0
- package/dist/collection/components/menu/menu-social/menu-social.css +1 -0
- package/dist/collection/components/menu/menu-social/menu-social.js +263 -0
- package/dist/collection/components/menu/menu.css +1 -0
- package/dist/collection/components/menu/menu.js +1372 -0
- package/dist/collection/components/menu/menu.types.js +1 -0
- package/dist/collection/components/menu/menu.utils.js +279 -0
- package/dist/collection/components/message/message.css +1 -0
- package/dist/collection/components/message/message.js +508 -0
- package/dist/collection/components/modal/modal.css +1 -0
- package/dist/collection/components/modal/modal.js +842 -0
- package/dist/collection/components/modal/modal.types.js +1 -0
- package/dist/collection/components/notification/notification-body/notification-body.css +1 -0
- package/dist/collection/components/notification/notification-body/notification-body.js +153 -0
- package/dist/collection/components/notification/notification-header/notification-header.css +1 -0
- package/dist/collection/components/notification/notification-header/notification-header.js +181 -0
- package/dist/collection/components/notification/notification-item/notification-item.css +1 -0
- package/dist/collection/components/notification/notification-item/notification-item.js +351 -0
- package/dist/collection/components/notification/notification-item/notification-item.types.js +1 -0
- package/dist/collection/components/notification/notification.css +1 -0
- package/dist/collection/components/notification/notification.js +838 -0
- package/dist/collection/components/notification/notification.types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1 -0
- package/dist/collection/components/pagination/pagination.js +1470 -0
- package/dist/collection/components/pagination/pagination.types.js +1 -0
- package/dist/collection/components/radio/radio.css +1 -0
- package/dist/collection/components/radio/radio.js +847 -0
- package/dist/collection/components/radio/radio.types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +1 -0
- package/dist/collection/components/radio-group/radio-group.js +862 -0
- package/dist/collection/components/radio-group/radio-group.types.js +1 -0
- package/dist/collection/components/scrim/scrim.css +1 -0
- package/dist/collection/components/scrim/scrim.js +1825 -0
- package/dist/collection/components/scrim/scrim.types.js +1 -0
- package/dist/collection/components/scrim/scrim.utils.js +132 -0
- package/dist/collection/components/select/select-input/select-input.css +1 -0
- package/dist/collection/components/select/select-input/select-input.js +585 -0
- package/dist/collection/components/select/select-list/select-list.css +1 -0
- package/dist/collection/components/select/select-list/select-list.js +1147 -0
- package/dist/collection/components/select/select-option/select-option.css +1 -0
- package/dist/collection/components/select/select-option/select-option.js +543 -0
- package/dist/collection/components/select/select.constants.js +6 -0
- package/dist/collection/components/select/select.css +1 -0
- package/dist/collection/components/select/select.js +2575 -0
- package/dist/collection/components/select/select.types.js +1 -0
- package/dist/collection/components/sign-in/sign-in.css +1 -0
- package/dist/collection/components/sign-in/sign-in.js +400 -0
- package/dist/collection/components/sign-in/sign-in.types.js +1 -0
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +103 -0
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -0
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +450 -0
- package/dist/collection/components/skip-link/skip-link.css +1 -0
- package/dist/collection/components/skip-link/skip-link.js +699 -0
- package/dist/collection/components/skip-link/skip-link.types.js +1 -0
- package/dist/collection/components/slider/slider.css +1 -0
- package/dist/collection/components/slider/slider.js +1325 -0
- package/dist/collection/components/slider/slider.types.js +1 -0
- package/dist/collection/components/step/step-item/step-item.css +1 -0
- package/dist/collection/components/step/step-item/step-item.js +604 -0
- package/dist/collection/components/step/step-item/step-item.types.js +1 -0
- package/dist/collection/components/step/step.css +1 -0
- package/dist/collection/components/step/step.js +896 -0
- package/dist/collection/components/step/step.types.js +1 -0
- package/dist/collection/components/switch/switch.css +1 -0
- package/dist/collection/components/switch/switch.js +715 -0
- package/dist/collection/components/switch/switch.types.js +1 -0
- package/dist/collection/components/tab/tab-item/tab-item.css +1 -0
- package/dist/collection/components/tab/tab-item/tab-item.js +425 -0
- package/dist/collection/components/tab/tab.css +1 -0
- package/dist/collection/components/tab/tab.js +724 -0
- package/dist/collection/components/tab/tab.types.js +1 -0
- package/dist/collection/components/table/table-body/table-body.css +1 -0
- package/dist/collection/components/table/table-body/table-body.js +51 -0
- package/dist/collection/components/table/table-cell/table-cell.css +1 -0
- package/dist/collection/components/table/table-cell/table-cell.js +373 -0
- package/dist/collection/components/table/table-constants.js +171 -0
- package/dist/collection/components/table/table-header/table-header.css +1 -0
- package/dist/collection/components/table/table-header/table-header.js +51 -0
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +402 -0
- package/dist/collection/components/table/table-row/table-row.css +1 -0
- package/dist/collection/components/table/table-row/table-row.js +261 -0
- package/dist/collection/components/table/table-tokens.js +50 -0
- package/dist/collection/components/table/table-types.js +1 -0
- package/dist/collection/components/table/table-utils.js +44 -0
- package/dist/collection/components/table/table.css +1 -0
- package/dist/collection/components/table/table.js +1030 -0
- package/dist/collection/components/tag/tag.css +1 -0
- package/dist/collection/components/tag/tag.js +1153 -0
- package/dist/collection/components/tag/tag.types.js +1 -0
- package/dist/collection/components/textarea/textarea.css +1 -0
- package/dist/collection/components/textarea/textarea.js +985 -0
- package/dist/collection/components/textarea/textarea.types.js +1 -0
- package/dist/collection/components/tooltip/tooltip.css +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1024 -0
- package/dist/collection/components/tooltip/tooltip.types.js +1 -0
- package/dist/collection/components/upload/upload.css +1 -0
- package/dist/collection/components/upload/upload.js +1315 -0
- package/dist/collection/components/upload/upload.types.js +1 -0
- package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -0
- package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +167 -0
- package/dist/collection/components/wizard/wizard.css +1 -0
- package/dist/collection/components/wizard/wizard.js +1228 -0
- package/dist/collection/index.js +14 -0
- package/dist/collection/pages/components/cookiebar/index.js +26 -0
- package/dist/collection/pages/components/link/index.js +29 -0
- package/dist/collection/pages/components/pagination/index.js +12 -0
- package/dist/collection/pages/components/slider/index.js +18 -0
- package/dist/collection/pages/scripts/code-editor.js +101 -0
- package/dist/collection/pages/scripts/component-controls.js +591 -0
- package/dist/collection/pages/scripts/dev-event-console.js +47 -0
- package/dist/collection/pages/scripts/menu.js +183 -0
- package/dist/collection/pages/scripts/pageLoader.js +1420 -0
- package/dist/collection/shared/utils/assetsPath.js +75 -0
- package/dist/collection/shared/utils/breakpoint-observer.js +139 -0
- package/dist/collection/shared/utils/clamp.js +21 -0
- package/dist/collection/shared/utils/css-variables.js +12 -0
- package/dist/collection/shared/utils/cssVariables.js +37 -0
- package/dist/collection/shared/utils/date.js +405 -0
- package/dist/collection/shared/utils/debounce.js +39 -0
- package/dist/collection/shared/utils/event.js +55 -0
- package/dist/collection/shared/utils/floating-surface-dismiss.js +59 -0
- package/dist/collection/shared/utils/floating-ui.js +131 -0
- package/dist/collection/shared/utils/focus.js +24 -0
- package/dist/collection/shared/utils/form.js +82 -0
- package/dist/collection/shared/utils/format-bytes.js +20 -0
- package/dist/collection/shared/utils/getNextElement.js +30 -0
- package/dist/collection/shared/utils/getRandom.js +27 -0
- package/dist/collection/shared/utils/helpers.js +31 -0
- package/dist/collection/shared/utils/id.js +16 -0
- package/dist/collection/shared/utils/index.js +60 -0
- package/dist/collection/shared/utils/interfaces.js +1 -0
- package/dist/collection/shared/utils/isClient.js +14 -0
- package/dist/collection/shared/utils/isDefined.js +19 -0
- package/dist/collection/shared/utils/isEmpty.js +30 -0
- package/dist/collection/shared/utils/isHTMLElement.js +16 -0
- package/dist/collection/shared/utils/isNil.js +15 -0
- package/dist/collection/shared/utils/isString.js +20 -0
- package/dist/collection/shared/utils/native-dialog.js +44 -0
- package/dist/collection/shared/utils/navigation.js +21 -0
- package/dist/collection/shared/utils/parts.js +15 -0
- package/dist/collection/shared/utils/prop-warning.js +7 -0
- package/dist/collection/shared/utils/props.js +37 -0
- package/dist/collection/shared/utils/raf-batcher.js +51 -0
- package/dist/collection/shared/utils/scrollLock.js +141 -0
- package/dist/collection/shared/utils/setRafTimeout.js +38 -0
- package/dist/collection/shared/utils/slot.js +113 -0
- package/dist/collection/shared/utils/ssr-date.js +33 -0
- package/dist/collection/shared/utils/stringToArray.js +29 -0
- package/dist/collection/shared/utils/swipe.js +342 -0
- package/dist/collection/shared/utils/transition.js +127 -0
- package/dist/collection/shared/utils/types.js +1 -0
- package/dist/collection/shared/utils/validator.js +51 -0
- package/dist/collection/value-accessors/angular-value-accessor-config.js +41 -0
- package/dist/collection/value-accessors/index.js +6 -0
- package/dist/collection/value-accessors/vue-model-config.js +43 -0
- package/dist/components/br-avatar.d.ts +11 -0
- package/dist/components/br-avatar.js +5 -0
- package/dist/components/br-breadcrumb-item.d.ts +11 -0
- package/dist/components/br-breadcrumb-item.js +5 -0
- package/dist/components/br-breadcrumb.d.ts +11 -0
- package/dist/components/br-breadcrumb.js +5 -0
- package/dist/components/br-button.d.ts +11 -0
- package/dist/components/br-button.js +5 -0
- package/dist/components/br-card.d.ts +11 -0
- package/dist/components/br-card.js +5 -0
- package/dist/components/br-carousel-page.d.ts +11 -0
- package/dist/components/br-carousel-page.js +5 -0
- package/dist/components/br-carousel.d.ts +11 -0
- package/dist/components/br-carousel.js +5 -0
- package/dist/components/br-checkbox-group.d.ts +11 -0
- package/dist/components/br-checkbox-group.js +5 -0
- package/dist/components/br-checkbox.d.ts +11 -0
- package/dist/components/br-checkbox.js +5 -0
- package/dist/components/br-checkgroup.d.ts +11 -0
- package/dist/components/br-checkgroup.js +5 -0
- package/dist/components/br-collapse.d.ts +11 -0
- package/dist/components/br-collapse.js +5 -0
- package/dist/components/br-cookiebar-cookie.d.ts +11 -0
- package/dist/components/br-cookiebar-cookie.js +5 -0
- package/dist/components/br-cookiebar-group.d.ts +11 -0
- package/dist/components/br-cookiebar-group.js +5 -0
- package/dist/components/br-cookiebar-header.d.ts +11 -0
- package/dist/components/br-cookiebar-header.js +5 -0
- package/dist/components/br-cookiebar-link.d.ts +11 -0
- package/dist/components/br-cookiebar-link.js +5 -0
- package/dist/components/br-cookiebar-note-group.d.ts +11 -0
- package/dist/components/br-cookiebar-note-group.js +5 -0
- package/dist/components/br-cookiebar-note.d.ts +11 -0
- package/dist/components/br-cookiebar-note.js +5 -0
- package/dist/components/br-cookiebar.d.ts +11 -0
- package/dist/components/br-cookiebar.js +5 -0
- package/dist/components/br-crumb.d.ts +11 -0
- package/dist/components/br-crumb.js +5 -0
- package/dist/components/br-date-picker.d.ts +11 -0
- package/dist/components/br-date-picker.js +5 -0
- package/dist/components/br-datetime-input.d.ts +11 -0
- package/dist/components/br-datetime-input.js +5 -0
- package/dist/components/br-datetime-picker.d.ts +11 -0
- package/dist/components/br-datetime-picker.js +5 -0
- package/dist/components/br-divider.d.ts +11 -0
- package/dist/components/br-divider.js +5 -0
- package/dist/components/br-dropdown.d.ts +11 -0
- package/dist/components/br-dropdown.js +5 -0
- package/dist/components/br-footer-category.d.ts +11 -0
- package/dist/components/br-footer-category.js +5 -0
- package/dist/components/br-footer-item.d.ts +11 -0
- package/dist/components/br-footer-item.js +5 -0
- package/dist/components/br-footer-legal.d.ts +11 -0
- package/dist/components/br-footer-legal.js +5 -0
- package/dist/components/br-footer-logo.d.ts +11 -0
- package/dist/components/br-footer-logo.js +5 -0
- package/dist/components/br-footer-social.d.ts +11 -0
- package/dist/components/br-footer-social.js +5 -0
- package/dist/components/br-footer.d.ts +11 -0
- package/dist/components/br-footer.js +5 -0
- package/dist/components/br-header-function.d.ts +11 -0
- package/dist/components/br-header-function.js +5 -0
- package/dist/components/br-header-link.d.ts +11 -0
- package/dist/components/br-header-link.js +5 -0
- package/dist/components/br-header-list.d.ts +11 -0
- package/dist/components/br-header-list.js +5 -0
- package/dist/components/br-header-logo.d.ts +11 -0
- package/dist/components/br-header-logo.js +5 -0
- package/dist/components/br-header.d.ts +11 -0
- package/dist/components/br-header.js +5 -0
- package/dist/components/br-icon.d.ts +11 -0
- package/dist/components/br-icon.js +5 -0
- package/dist/components/br-input.d.ts +11 -0
- package/dist/components/br-input.js +5 -0
- package/dist/components/br-item.d.ts +11 -0
- package/dist/components/br-item.js +5 -0
- package/dist/components/br-link.d.ts +11 -0
- package/dist/components/br-link.js +5 -0
- package/dist/components/br-list.d.ts +11 -0
- package/dist/components/br-list.js +5 -0
- package/dist/components/br-loading.d.ts +11 -0
- package/dist/components/br-loading.js +5 -0
- package/dist/components/br-magic-button.d.ts +11 -0
- package/dist/components/br-magic-button.js +5 -0
- package/dist/components/br-menu-group.d.ts +11 -0
- package/dist/components/br-menu-group.js +5 -0
- package/dist/components/br-menu-header.d.ts +11 -0
- package/dist/components/br-menu-header.js +5 -0
- package/dist/components/br-menu-info.d.ts +11 -0
- package/dist/components/br-menu-info.js +5 -0
- package/dist/components/br-menu-item.d.ts +11 -0
- package/dist/components/br-menu-item.js +5 -0
- package/dist/components/br-menu-link.d.ts +11 -0
- package/dist/components/br-menu-link.js +5 -0
- package/dist/components/br-menu-list.d.ts +11 -0
- package/dist/components/br-menu-list.js +5 -0
- package/dist/components/br-menu-logo.d.ts +11 -0
- package/dist/components/br-menu-logo.js +5 -0
- package/dist/components/br-menu-social.d.ts +11 -0
- package/dist/components/br-menu-social.js +5 -0
- package/dist/components/br-menu.d.ts +11 -0
- package/dist/components/br-menu.js +5 -0
- package/dist/components/br-message.d.ts +11 -0
- package/dist/components/br-message.js +5 -0
- package/dist/components/br-modal.d.ts +11 -0
- package/dist/components/br-modal.js +5 -0
- package/dist/components/br-notification-body.d.ts +11 -0
- package/dist/components/br-notification-body.js +5 -0
- package/dist/components/br-notification-header.d.ts +11 -0
- package/dist/components/br-notification-header.js +5 -0
- package/dist/components/br-notification-item.d.ts +11 -0
- package/dist/components/br-notification-item.js +5 -0
- package/dist/components/br-notification.d.ts +11 -0
- package/dist/components/br-notification.js +5 -0
- package/dist/components/br-pagination.d.ts +11 -0
- package/dist/components/br-pagination.js +5 -0
- package/dist/components/br-radio-group.d.ts +11 -0
- package/dist/components/br-radio-group.js +5 -0
- package/dist/components/br-radio.d.ts +11 -0
- package/dist/components/br-radio.js +5 -0
- package/dist/components/br-scrim.d.ts +11 -0
- package/dist/components/br-scrim.js +5 -0
- package/dist/components/br-select-input.d.ts +11 -0
- package/dist/components/br-select-input.js +5 -0
- package/dist/components/br-select-list.d.ts +11 -0
- package/dist/components/br-select-list.js +5 -0
- package/dist/components/br-select-option.d.ts +11 -0
- package/dist/components/br-select-option.js +5 -0
- package/dist/components/br-select.d.ts +11 -0
- package/dist/components/br-select.js +5 -0
- package/dist/components/br-sign-in.d.ts +11 -0
- package/dist/components/br-sign-in.js +5 -0
- package/dist/components/br-skip-link-item.d.ts +11 -0
- package/dist/components/br-skip-link-item.js +5 -0
- package/dist/components/br-skip-link.d.ts +11 -0
- package/dist/components/br-skip-link.js +5 -0
- package/dist/components/br-skiplink-item.d.ts +11 -0
- package/dist/components/br-skiplink-item.js +5 -0
- package/dist/components/br-slider.d.ts +11 -0
- package/dist/components/br-slider.js +5 -0
- package/dist/components/br-step-item.d.ts +11 -0
- package/dist/components/br-step-item.js +5 -0
- package/dist/components/br-step.d.ts +11 -0
- package/dist/components/br-step.js +5 -0
- package/dist/components/br-switch.d.ts +11 -0
- package/dist/components/br-switch.js +5 -0
- package/dist/components/br-tab-item.d.ts +11 -0
- package/dist/components/br-tab-item.js +5 -0
- package/dist/components/br-tab.d.ts +11 -0
- package/dist/components/br-tab.js +5 -0
- package/dist/components/br-table-body.d.ts +11 -0
- package/dist/components/br-table-body.js +5 -0
- package/dist/components/br-table-cell.d.ts +11 -0
- package/dist/components/br-table-cell.js +5 -0
- package/dist/components/br-table-header-cell.d.ts +11 -0
- package/dist/components/br-table-header-cell.js +5 -0
- package/dist/components/br-table-header.d.ts +11 -0
- package/dist/components/br-table-header.js +5 -0
- package/dist/components/br-table-row.d.ts +11 -0
- package/dist/components/br-table-row.js +5 -0
- package/dist/components/br-table.d.ts +11 -0
- package/dist/components/br-table.js +5 -0
- package/dist/components/br-tag.d.ts +11 -0
- package/dist/components/br-tag.js +5 -0
- package/dist/components/br-textarea.d.ts +11 -0
- package/dist/components/br-textarea.js +5 -0
- package/dist/components/br-time-picker.d.ts +11 -0
- package/dist/components/br-time-picker.js +5 -0
- package/dist/components/br-tooltip.d.ts +11 -0
- package/dist/components/br-tooltip.js +5 -0
- package/dist/components/br-upload.d.ts +11 -0
- package/dist/components/br-upload.js +5 -0
- package/dist/components/br-wizard-panel.d.ts +11 -0
- package/dist/components/br-wizard-panel.js +5 -0
- package/dist/components/br-wizard.d.ts +11 -0
- package/dist/components/br-wizard.js +5 -0
- package/dist/components/index.d.ts +213 -0
- package/dist/components/index.js +5 -0
- package/dist/components/p-0IYmyaTi.js +5 -0
- package/dist/components/p-41XwlWiS.js +5 -0
- package/dist/components/p-5z6jgH1D.js +5 -0
- package/dist/components/p-6OdfnwnK.js +5 -0
- package/dist/components/p-9S9bgUT0.js +5 -0
- package/dist/components/p-B-qLmYZC.js +5 -0
- package/dist/components/p-B-sbd1_h.js +5 -0
- package/dist/components/p-B55qsau4.js +5 -0
- package/dist/components/p-BC7f6MK8.js +5 -0
- package/dist/components/p-BPJpHGOW.js +5 -0
- package/dist/components/p-BW0_ORNA.js +5 -0
- package/dist/components/p-BWXfdbQH.js +5 -0
- package/dist/components/p-Bb-nLtTG.js +5 -0
- package/dist/components/p-BkS6ujyf.js +5 -0
- package/dist/components/p-Bm0ECvfB.js +5 -0
- package/dist/components/p-C1yRmdso.js +5 -0
- package/dist/components/p-C3LQSQpc.js +5 -0
- package/dist/components/p-C98-mHmV.js +5 -0
- package/dist/components/p-CDZFuUlU.js +5 -0
- package/dist/components/p-CRfi23Rd.js +5 -0
- package/dist/components/p-CUI5zWGf.js +5 -0
- package/dist/components/p-CXMwM9m4.js +5 -0
- package/dist/components/p-CdDwqbBv.js +5 -0
- package/dist/components/p-CxviDiCr.js +5 -0
- package/dist/components/p-D3usVJE2.js +16 -0
- package/dist/components/p-D6zroLx5.js +5 -0
- package/dist/components/p-D9SpD3Ay.js +5 -0
- package/dist/components/p-DA5GS53D.js +5 -0
- package/dist/components/p-DBP6K_aq.js +5 -0
- package/dist/components/p-DBmwzG9E.js +5 -0
- package/dist/components/p-DCrVo-8T.js +5 -0
- package/dist/components/p-DIK54tTj.js +5 -0
- package/dist/components/p-DQRSHR-D.js +5 -0
- package/dist/components/p-DRVMm1Py.js +5 -0
- package/dist/components/p-DWPmUV72.js +5 -0
- package/dist/components/p-DYA74R1r.js +5 -0
- package/dist/components/p-DYnkGWii.js +5 -0
- package/dist/components/p-D_CSvOY9.js +5 -0
- package/dist/components/p-DaeGwqw0.js +5 -0
- package/dist/components/p-Dkg2scYZ.js +5 -0
- package/dist/components/p-Dmfk7eEe.js +5 -0
- package/dist/components/p-DoXNfcTT.js +5 -0
- package/dist/components/p-DvrdmqoQ.js +5 -0
- package/dist/components/p-DxZJrIyL.js +5 -0
- package/dist/components/p-LmeJrLxH.js +5 -0
- package/dist/components/p-TFWd_UBV.js +5 -0
- package/dist/components/p-aF8bGN3t.js +5 -0
- package/dist/components/p-bhULC15U.js +5 -0
- package/dist/components/p-cF3ia5e9.js +5 -0
- package/dist/components/p-cfPt-vKA.js +5 -0
- package/dist/components/p-gvnfuTjd.js +5 -0
- package/dist/components/p-nJOJGpyl.js +5 -0
- package/dist/components/p-ttI0nvv_.js +5 -0
- package/dist/esm/app-globals-DVjNHTTs.js +7 -0
- package/dist/esm/br-avatar.entry.js +246 -0
- package/dist/esm/br-breadcrumb-item.entry.js +43 -0
- package/dist/esm/br-breadcrumb.entry.js +441 -0
- package/dist/esm/br-button_2.entry.js +277 -0
- package/dist/esm/br-card.entry.js +109 -0
- package/dist/esm/br-carousel-page.entry.js +78 -0
- package/dist/esm/br-carousel.entry.js +563 -0
- package/dist/esm/br-checkbox-group.entry.js +116 -0
- package/dist/esm/br-checkbox.entry.js +286 -0
- package/dist/esm/br-checkgroup.entry.js +18 -0
- package/dist/esm/br-collapse_2.entry.js +680 -0
- package/dist/esm/br-cookiebar-cookie.entry.js +81 -0
- package/dist/esm/br-cookiebar-group.entry.js +307 -0
- package/dist/esm/br-cookiebar-header.entry.js +37 -0
- package/dist/esm/br-cookiebar-link.entry.js +52 -0
- package/dist/esm/br-cookiebar-note-group.entry.js +68 -0
- package/dist/esm/br-cookiebar-note.entry.js +23 -0
- package/dist/esm/br-cookiebar.entry.js +756 -0
- package/dist/esm/br-crumb.entry.js +49 -0
- package/dist/esm/br-date-picker_3.entry.js +2442 -0
- package/dist/esm/br-datetime-picker.entry.js +1885 -0
- package/dist/esm/br-divider.entry.js +223 -0
- package/dist/esm/br-dropdown_2.entry.js +1853 -0
- package/dist/esm/br-footer-category.entry.js +100 -0
- package/dist/esm/br-footer-item.entry.js +50 -0
- package/dist/esm/br-footer-legal.entry.js +39 -0
- package/dist/esm/br-footer-logo.entry.js +102 -0
- package/dist/esm/br-footer-social.entry.js +69 -0
- package/dist/esm/br-footer.entry.js +90 -0
- package/dist/esm/br-header-function.entry.js +140 -0
- package/dist/esm/br-header-link.entry.js +58 -0
- package/dist/esm/br-header-list.entry.js +277 -0
- package/dist/esm/br-header-logo.entry.js +175 -0
- package/dist/esm/br-header.entry.js +640 -0
- package/dist/esm/br-icon.entry.js +483 -0
- package/dist/esm/br-input.entry.js +597 -0
- package/dist/esm/br-item.entry.js +354 -0
- package/dist/esm/br-link.entry.js +130 -0
- package/dist/esm/br-loading.entry.js +503 -0
- package/dist/esm/br-magic-button.entry.js +90 -0
- package/dist/esm/br-menu-group.entry.js +21 -0
- package/dist/esm/br-menu-header.entry.js +45 -0
- package/dist/esm/br-menu-info.entry.js +36 -0
- package/dist/esm/br-menu-item.entry.js +77 -0
- package/dist/esm/br-menu-link.entry.js +53 -0
- package/dist/esm/br-menu-list.entry.js +147 -0
- package/dist/esm/br-menu-logo.entry.js +73 -0
- package/dist/esm/br-menu-social.entry.js +63 -0
- package/dist/esm/br-menu.entry.js +991 -0
- package/dist/esm/br-modal.entry.js +494 -0
- package/dist/esm/br-notification-body.entry.js +69 -0
- package/dist/esm/br-notification-header.entry.js +46 -0
- package/dist/esm/br-notification-item.entry.js +108 -0
- package/dist/esm/br-notification.entry.js +332 -0
- package/dist/esm/br-pagination.entry.js +882 -0
- package/dist/esm/br-radio-group.entry.js +426 -0
- package/dist/esm/br-radio.entry.js +355 -0
- package/dist/esm/br-scrim.entry.js +1334 -0
- package/dist/esm/br-select-input_3.entry.js +950 -0
- package/dist/esm/br-sign-in.entry.js +123 -0
- package/dist/esm/br-skip-link-item.entry.js +18 -0
- package/dist/esm/br-skip-link.entry.js +360 -0
- package/dist/esm/br-skiplink-item.entry.js +190 -0
- package/dist/esm/br-slider.entry.js +686 -0
- package/dist/esm/br-step_2.entry.js +625 -0
- package/dist/esm/br-switch.entry.js +243 -0
- package/dist/esm/br-tab-item.entry.js +183 -0
- package/dist/esm/br-tab.entry.js +395 -0
- package/dist/esm/br-table-body.entry.js +35 -0
- package/dist/esm/br-table-cell.entry.js +182 -0
- package/dist/esm/br-table-header-cell.entry.js +171 -0
- package/dist/esm/br-table-header.entry.js +35 -0
- package/dist/esm/br-table-row.entry.js +79 -0
- package/dist/esm/br-table.entry.js +678 -0
- package/dist/esm/br-tag.entry.js +492 -0
- package/dist/esm/br-textarea.entry.js +304 -0
- package/dist/esm/br-tooltip.entry.js +625 -0
- package/dist/esm/br-upload.entry.js +580 -0
- package/dist/esm/br-wizard-panel.entry.js +52 -0
- package/dist/esm/br-wizard.entry.js +706 -0
- package/dist/esm/breakpoint-observer-DBmwzG9E.js +141 -0
- package/dist/esm/clamp-gvnfuTjd.js +23 -0
- package/dist/esm/cookiebar.utils-DYA74R1r.js +16 -0
- package/dist/esm/datetime-picker-constants-Bfm58jO6.js +3798 -0
- package/dist/esm/event-DFN_so7I.js +48 -0
- package/dist/esm/floating-surface-dismiss-BWXfdbQH.js +61 -0
- package/dist/esm/floating-ui-BavFwMnx.js +134 -0
- package/dist/esm/floating-ui.dom-DIK54tTj.js +1707 -0
- package/dist/esm/focus-DxZJrIyL.js +26 -0
- package/dist/esm/getNextElement-9S9bgUT0.js +28 -0
- package/dist/esm/iconify-icon-D3usVJE2.js +2303 -0
- package/dist/esm/id-BkS6ujyf.js +18 -0
- package/dist/esm/index-Bo-2igoO.js +671 -0
- package/dist/esm/index-C2RBydfd.js +3258 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/isNil-B-qLmYZC.js +17 -0
- package/dist/esm/isValid-DIUZX1qS.js +3684 -0
- package/dist/esm/loader.js +15 -0
- package/dist/esm/native-dialog-B55qsau4.js +46 -0
- package/dist/esm/navigation-bhULC15U.js +23 -0
- package/dist/esm/parts-Bb5vVlCC.js +17 -0
- package/dist/esm/props-DRVMm1Py.js +22 -0
- package/dist/esm/raf-batcher-cF3ia5e9.js +53 -0
- package/dist/esm/slot-BIG-yees.js +44 -0
- package/dist/esm/swipe-Dmfk7eEe.js +343 -0
- package/dist/esm/table-constants-CXMwM9m4.js +170 -0
- package/dist/esm/validator-D3tVP32U.js +113 -0
- package/dist/esm/webcomponents.js +46 -0
- package/dist/hydrate/index.d.ts +287 -0
- package/dist/hydrate/index.js +67323 -0
- package/dist/hydrate/index.mjs +67313 -0
- package/dist/hydrate/package.json +12 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +5 -0
- package/dist/loader/index.cjs.js +5 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +5 -0
- package/dist/loader/index.js +6 -0
- package/dist/webcomponents/index.esm.js +5 -0
- package/dist/webcomponents/p-0196804a.entry.js +5 -0
- package/dist/webcomponents/p-0410186a.entry.js +5 -0
- package/dist/webcomponents/p-0415ef22.entry.js +5 -0
- package/dist/webcomponents/p-059c3d6c.entry.js +5 -0
- package/dist/webcomponents/p-0b8f39bc.entry.js +5 -0
- package/dist/webcomponents/p-0caa4d12.entry.js +5 -0
- package/dist/webcomponents/p-0d4f718d.entry.js +5 -0
- package/dist/webcomponents/p-0e84c9e8.entry.js +5 -0
- package/dist/webcomponents/p-12286e73.entry.js +5 -0
- package/dist/webcomponents/p-147ac8d3.entry.js +5 -0
- package/dist/webcomponents/p-1580beee.entry.js +5 -0
- package/dist/webcomponents/p-1b138f1c.entry.js +5 -0
- package/dist/webcomponents/p-1bca4499.entry.js +5 -0
- package/dist/webcomponents/p-1d6b0b6f.entry.js +5 -0
- package/dist/webcomponents/p-1d8cb8fd.entry.js +5 -0
- package/dist/webcomponents/p-22443c08.entry.js +5 -0
- package/dist/webcomponents/p-224daaac.entry.js +5 -0
- package/dist/webcomponents/p-28426d2a.entry.js +5 -0
- package/dist/webcomponents/p-2abd2da0.entry.js +5 -0
- package/dist/webcomponents/p-2fdc51ae.entry.js +5 -0
- package/dist/webcomponents/p-30c428b6.entry.js +5 -0
- package/dist/webcomponents/p-36bbea4e.entry.js +5 -0
- package/dist/webcomponents/p-3907ebfa.entry.js +5 -0
- package/dist/webcomponents/p-39a16f9d.entry.js +5 -0
- package/dist/webcomponents/p-3ebbd2f5.entry.js +5 -0
- package/dist/webcomponents/p-3ef7eac8.entry.js +5 -0
- package/dist/webcomponents/p-45356e9a.entry.js +5 -0
- package/dist/webcomponents/p-46513db4.entry.js +5 -0
- package/dist/webcomponents/p-4fe12a72.entry.js +5 -0
- package/dist/webcomponents/p-52df61cb.entry.js +5 -0
- package/dist/webcomponents/p-569134cf.entry.js +5 -0
- package/dist/webcomponents/p-5b257a4b.entry.js +5 -0
- package/dist/webcomponents/p-5ce7db4a.entry.js +5 -0
- package/dist/webcomponents/p-5f373708.entry.js +5 -0
- package/dist/webcomponents/p-5f6afb79.entry.js +5 -0
- package/dist/webcomponents/p-5fc7ba4c.entry.js +5 -0
- package/dist/webcomponents/p-60cc820c.entry.js +5 -0
- package/dist/webcomponents/p-66006312.entry.js +5 -0
- package/dist/webcomponents/p-66b13fd9.entry.js +5 -0
- package/dist/webcomponents/p-6OdfnwnK.js +5 -0
- package/dist/webcomponents/p-6c5f6cb6.entry.js +5 -0
- package/dist/webcomponents/p-6f1c4425.entry.js +5 -0
- package/dist/webcomponents/p-750799b7.entry.js +5 -0
- package/dist/webcomponents/p-756ff2ad.entry.js +5 -0
- package/dist/webcomponents/p-765bfe27.entry.js +5 -0
- package/dist/webcomponents/p-7ab96c11.entry.js +5 -0
- package/dist/webcomponents/p-7c2ff8b4.entry.js +5 -0
- package/dist/webcomponents/p-7cf9f4e5.entry.js +5 -0
- package/dist/webcomponents/p-7e1856e4.entry.js +5 -0
- package/dist/webcomponents/p-7f7506f0.entry.js +5 -0
- package/dist/webcomponents/p-7fb03a49.entry.js +5 -0
- package/dist/webcomponents/p-82200563.entry.js +5 -0
- package/dist/webcomponents/p-85f8063b.entry.js +5 -0
- package/dist/webcomponents/p-8b558233.entry.js +5 -0
- package/dist/webcomponents/p-8e6c2767.entry.js +5 -0
- package/dist/webcomponents/p-966ad32f.entry.js +5 -0
- package/dist/webcomponents/p-9679d230.entry.js +5 -0
- package/dist/webcomponents/p-96dd663b.entry.js +5 -0
- package/dist/webcomponents/p-98843fa3.entry.js +5 -0
- package/dist/webcomponents/p-9S9bgUT0.js +5 -0
- package/dist/webcomponents/p-9a375eff.entry.js +5 -0
- package/dist/webcomponents/p-9b358cff.entry.js +5 -0
- package/dist/webcomponents/p-9f7558c7.entry.js +5 -0
- package/dist/webcomponents/p-B-qLmYZC.js +5 -0
- package/dist/webcomponents/p-B55qsau4.js +5 -0
- package/dist/webcomponents/p-BIG-yees.js +5 -0
- package/dist/webcomponents/p-BWXfdbQH.js +5 -0
- package/dist/webcomponents/p-Bb5vVlCC.js +5 -0
- package/dist/webcomponents/p-Bfm58jO6.js +5 -0
- package/dist/webcomponents/p-BhMVJQ4-.js +5 -0
- package/dist/webcomponents/p-BkS6ujyf.js +5 -0
- package/dist/webcomponents/p-C2RBydfd.js +6 -0
- package/dist/webcomponents/p-CO5cOQQU.js +5 -0
- package/dist/webcomponents/p-CXMwM9m4.js +5 -0
- package/dist/webcomponents/p-D3tVP32U.js +5 -0
- package/dist/webcomponents/p-D3usVJE2.js +16 -0
- package/dist/webcomponents/p-DBmwzG9E.js +5 -0
- package/dist/webcomponents/p-DFN_so7I.js +5 -0
- package/dist/webcomponents/p-DIK54tTj.js +5 -0
- package/dist/webcomponents/p-DRVMm1Py.js +5 -0
- package/dist/webcomponents/p-DVjNHTTs.js +5 -0
- package/dist/webcomponents/p-DYA74R1r.js +5 -0
- package/dist/webcomponents/p-Dmfk7eEe.js +5 -0
- package/dist/webcomponents/p-DxZJrIyL.js +5 -0
- package/dist/webcomponents/p-a382e115.entry.js +5 -0
- package/dist/webcomponents/p-a9ff7c25.entry.js +5 -0
- package/dist/webcomponents/p-bba9fc09.entry.js +5 -0
- package/dist/webcomponents/p-bhULC15U.js +5 -0
- package/dist/webcomponents/p-c0b0f531.entry.js +5 -0
- package/dist/webcomponents/p-c211af17.entry.js +5 -0
- package/dist/webcomponents/p-c492d926.entry.js +5 -0
- package/dist/webcomponents/p-c4cfe599.entry.js +5 -0
- package/dist/webcomponents/p-c846e784.entry.js +5 -0
- package/dist/webcomponents/p-cF3ia5e9.js +5 -0
- package/dist/webcomponents/p-cedb8eea.entry.js +5 -0
- package/dist/webcomponents/p-d1e899cd.entry.js +5 -0
- package/dist/webcomponents/p-d38d82cc.entry.js +5 -0
- package/dist/webcomponents/p-dba376cb.entry.js +5 -0
- package/dist/webcomponents/p-e0ce536a.entry.js +5 -0
- package/dist/webcomponents/p-e1331288.entry.js +5 -0
- package/dist/webcomponents/p-e360a463.entry.js +5 -0
- package/dist/webcomponents/p-e80a1eb0.entry.js +5 -0
- package/dist/webcomponents/p-f078f972.entry.js +5 -0
- package/dist/webcomponents/p-f6318e94.entry.js +5 -0
- package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
- package/dist/webcomponents/p-gvnfuTjd.js +5 -0
- package/dist/webcomponents/webcomponents.esm.js +5 -0
- package/package.json +1 -1
- package/cem/.gitkeep +0 -0
|
@@ -0,0 +1,1217 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h, } from "@stencil/core";
|
|
6
|
+
import { isEventTargetInside } from "../../shared/utils/event";
|
|
7
|
+
import { generateUniqueId } from "../../shared/utils/id";
|
|
8
|
+
import { UniversalSwipe } from "../../shared/utils/swipe";
|
|
9
|
+
/**
|
|
10
|
+
* ## Design System
|
|
11
|
+
*
|
|
12
|
+
* Para a documentação completa de design, incluindo diretrizes de uso, acessibilidade e exemplos visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/carousel?tab=designer).
|
|
13
|
+
*
|
|
14
|
+
* @category Conteúdo
|
|
15
|
+
* @status stable
|
|
16
|
+
* @slot default - Slot para os slides do carrossel. Aceita exclusivamente elementos `br-carousel-page`.
|
|
17
|
+
*
|
|
18
|
+
* @part container - Elemento raiz do carrossel. Recebe `role="region"` e `aria-roledescription="carousel"`.
|
|
19
|
+
* @part stage - Área do palco que contém os slides. Recebe `aria-live` e `aria-atomic`.
|
|
20
|
+
* @part nav-prev - Wrapper do botão de navegação para o slide anterior.
|
|
21
|
+
* @part nav-next - Wrapper do botão de navegação para o próximo slide.
|
|
22
|
+
* @part indicator - Wrapper do indicador de páginas.
|
|
23
|
+
* - Quando `indicatorType="simple"`: renderiza `br-step` em `mode="tablist"`.
|
|
24
|
+
* - Quando `indicatorType="textual"`: renderiza um `span[aria-live]` com "X/N".
|
|
25
|
+
* @part play-button - Wrapper do botão de play/pause. Presente apenas quando `autoPlay=true`.
|
|
26
|
+
*/
|
|
27
|
+
export class Carousel {
|
|
28
|
+
constructor() {
|
|
29
|
+
this.activePage = 0;
|
|
30
|
+
this.isPlaying = false;
|
|
31
|
+
/**
|
|
32
|
+
* `true` somente enquanto o timer de autoPlay está ativamente disparando.
|
|
33
|
+
* Difere de `isPlaying`: ao pausar por hover/foco, `isPlaying` permanece `true`
|
|
34
|
+
* mas `isRotating` torna-se `false`, liberando o `aria-live` para anunciar
|
|
35
|
+
* mudanças manuais de slide ao leitor de tela.
|
|
36
|
+
*/
|
|
37
|
+
this.isRotating = false;
|
|
38
|
+
/** Lista de slides. Declarada como @State para que a reatribuição via slotchange acione re-render automaticamente. */
|
|
39
|
+
this.pages = [];
|
|
40
|
+
/**
|
|
41
|
+
* Identificador único do componente.
|
|
42
|
+
* Quando omitido, um valor é gerado automaticamente.
|
|
43
|
+
*
|
|
44
|
+
* > **Padrão:** valor único gerado por generateUniqueId().
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
this.customId = generateUniqueId();
|
|
48
|
+
/**
|
|
49
|
+
* Posição dos botões de navegação (prev/next) em relação ao palco.
|
|
50
|
+
* - `outside`: botões ficam nas laterais externas ao palco.
|
|
51
|
+
* - `inside`: botões ficam sobrepostos dentro do palco, ocupando toda a altura.
|
|
52
|
+
*/
|
|
53
|
+
this.navPosition = 'outside';
|
|
54
|
+
/**
|
|
55
|
+
* Define o tipo de indicador de páginas renderizado.
|
|
56
|
+
* - `simple`: dots usando `br-step` em modo controller.
|
|
57
|
+
* - `textual`: texto "X/N" com `aria-live`.
|
|
58
|
+
* - `none`: sem indicador.
|
|
59
|
+
*/
|
|
60
|
+
this.indicatorType = 'simple';
|
|
61
|
+
/**
|
|
62
|
+
* Posição do indicador de páginas em relação ao palco.
|
|
63
|
+
* Ignorada quando `indicatorType="none"`.
|
|
64
|
+
* - `outside`: indicador fica abaixo do palco.
|
|
65
|
+
* - `inside`: indicador fica sobreposto ao conteúdo.
|
|
66
|
+
*/
|
|
67
|
+
this.indicatorPosition = 'outside';
|
|
68
|
+
/**
|
|
69
|
+
* Habilita a navegação circular entre os slides.
|
|
70
|
+
* Quando true, os botões "Anterior" e "Próximo" permanecem sempre habilitados: avançar a partir do último slide retorna ao primeiro, e retroceder a partir do primeiro leva ao último.
|
|
71
|
+
* Se autoPlay estiver ativado, o comportamento circular será aplicado automaticamente, independentemente deste valor.
|
|
72
|
+
* @deprecated Use `circular`.
|
|
73
|
+
*/
|
|
74
|
+
this.isCircular = false;
|
|
75
|
+
/**
|
|
76
|
+
* Habilita reprodução automática.
|
|
77
|
+
* Pausa em hover e foco (W3C). Ativa o loop circular automaticamente.
|
|
78
|
+
* Não recomendado em dispositivos móveis.
|
|
79
|
+
* @deprecated Use `autoplay`.
|
|
80
|
+
*/
|
|
81
|
+
this.autoPlay = false;
|
|
82
|
+
/**
|
|
83
|
+
* Intervalo em milissegundos entre cada avanço automático.
|
|
84
|
+
* Só tem efeito quando `autoPlay=true`.
|
|
85
|
+
*/
|
|
86
|
+
this.interval = 5000;
|
|
87
|
+
/**
|
|
88
|
+
* Direção de navegação automática do carrossel.
|
|
89
|
+
* - `left`: retrocede (vai para o slide anterior).
|
|
90
|
+
* - `right`: avança (vai para o próximo slide).
|
|
91
|
+
* Só tem efeito quando `autoPlay=true`.
|
|
92
|
+
*/
|
|
93
|
+
this.direction = 'right';
|
|
94
|
+
/**
|
|
95
|
+
* Exibe botões de navegação em dispositivos móveis.
|
|
96
|
+
* Por padrão os botões são ocultados no breakpoint `sm`.
|
|
97
|
+
*/
|
|
98
|
+
this.mobileNav = false;
|
|
99
|
+
/**
|
|
100
|
+
* Ajuste aplicado a imagens filhas diretas de `br-carousel-page`.
|
|
101
|
+
*/
|
|
102
|
+
this.imageFit = 'cover';
|
|
103
|
+
this.stepRef = null;
|
|
104
|
+
this.autoPlayTimer = null;
|
|
105
|
+
this.isPausedByFocus = false;
|
|
106
|
+
/** Rastreia se o cursor está sobre o carrossel (para evitar retomar ao sair do foco enquanto hover ativo). */
|
|
107
|
+
this.isHovering = false;
|
|
108
|
+
/** Quando true, o usuário iniciou explicitamente via botão — hover e foco não pausam a rotação. */
|
|
109
|
+
this.isUserExplicitlyPlaying = false;
|
|
110
|
+
this.stageRef = null;
|
|
111
|
+
this.carouselSwipe = null;
|
|
112
|
+
this.slotEl = null;
|
|
113
|
+
this.MOBILE_MQ = '(max-width: 576px)';
|
|
114
|
+
this.mobileMediaQuery = null;
|
|
115
|
+
/**
|
|
116
|
+
* Reatualiza a lista de slides e reinicializa os atributos quando o conteúdo
|
|
117
|
+
* do slot muda (slides adicionados ou removidos dinamicamente).
|
|
118
|
+
*/
|
|
119
|
+
this.onSlotChange = () => {
|
|
120
|
+
this.pages = this.slideElements;
|
|
121
|
+
if (this.activePage >= this.pages.length) {
|
|
122
|
+
this.activePage = Math.max(0, this.pages.length - 1);
|
|
123
|
+
}
|
|
124
|
+
this.initPages();
|
|
125
|
+
};
|
|
126
|
+
this.onBreakpointChange = (e) => {
|
|
127
|
+
if (e.matches) {
|
|
128
|
+
this.setupSwipeListeners();
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
this.cleanupSwipeListeners();
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
/** Handlers de eventos do DOM — mouse, foco e interação do usuário. */
|
|
135
|
+
this.onMouseEnter = () => {
|
|
136
|
+
this.isHovering = true;
|
|
137
|
+
// W3C: se o usuário iniciou explicitamente via botão, hover não pausa
|
|
138
|
+
if (this.isUserExplicitlyPlaying)
|
|
139
|
+
return;
|
|
140
|
+
if (this.isPlaying && !this.isPausedByFocus) {
|
|
141
|
+
this.isRotating = false;
|
|
142
|
+
this.clearTimer();
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
this.onMouseLeave = () => {
|
|
146
|
+
this.isHovering = false;
|
|
147
|
+
// W3C: se o usuário iniciou explicitamente via botão, hover não retoma (já está rodando)
|
|
148
|
+
if (this.isUserExplicitlyPlaying)
|
|
149
|
+
return;
|
|
150
|
+
if (this.effectiveAutoplay && this.isPlaying && !this.isPausedByFocus) {
|
|
151
|
+
this.isRotating = true;
|
|
152
|
+
this.scheduleInterval();
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
this.onFocusIn = () => {
|
|
156
|
+
// W3C: se o usuário iniciou explicitamente via botão, foco não pausa
|
|
157
|
+
if (this.isUserExplicitlyPlaying)
|
|
158
|
+
return;
|
|
159
|
+
if (this.isPlaying) {
|
|
160
|
+
this.isPausedByFocus = true;
|
|
161
|
+
this.isRotating = false;
|
|
162
|
+
this.clearTimer();
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
this.onFocusOut = (e) => {
|
|
166
|
+
if (this.el.contains(e.relatedTarget))
|
|
167
|
+
return;
|
|
168
|
+
if (this.isUserExplicitlyPlaying)
|
|
169
|
+
return;
|
|
170
|
+
if (!this.effectiveAutoplay || !this.isPausedByFocus)
|
|
171
|
+
return;
|
|
172
|
+
this.isPausedByFocus = false;
|
|
173
|
+
// W3C: não retoma se o cursor ainda está sobre o carrossel
|
|
174
|
+
if (this.isHovering)
|
|
175
|
+
return;
|
|
176
|
+
this.isRotating = true;
|
|
177
|
+
this.scheduleInterval();
|
|
178
|
+
};
|
|
179
|
+
/** Swipe — configuração e limpeza de gestos touch/pointer em mobile. */
|
|
180
|
+
this.onSwipeLeft = () => {
|
|
181
|
+
this.nextPage();
|
|
182
|
+
};
|
|
183
|
+
this.onSwipeRight = () => {
|
|
184
|
+
this.previousPage();
|
|
185
|
+
};
|
|
186
|
+
this.onStepChange = (e) => {
|
|
187
|
+
if (e.detail.activeStep !== this.activePage) {
|
|
188
|
+
this.goTo(e.detail.activeStep);
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
this.onPrevClick = () => {
|
|
192
|
+
this.previousPage();
|
|
193
|
+
};
|
|
194
|
+
this.onNextClick = () => {
|
|
195
|
+
this.nextPage();
|
|
196
|
+
};
|
|
197
|
+
this.onPlayToggle = () => {
|
|
198
|
+
this.isPlaying ? this.pause() : this.play();
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
onActivePageChange(newVal, oldVal) {
|
|
202
|
+
this.syncStepIndicator(newVal, oldVal);
|
|
203
|
+
}
|
|
204
|
+
disconnectedCallback() {
|
|
205
|
+
this.clearTimer();
|
|
206
|
+
this.cleanupSwipeListeners();
|
|
207
|
+
this.slotEl?.removeEventListener('slotchange', this.onSlotChange);
|
|
208
|
+
this.slotEl = null;
|
|
209
|
+
this.mobileMediaQuery?.removeEventListener('change', this.onBreakpointChange);
|
|
210
|
+
this.mobileMediaQuery = null;
|
|
211
|
+
}
|
|
212
|
+
componentWillLoad() {
|
|
213
|
+
this.pages = this.slideElements;
|
|
214
|
+
const initialActive = this.pages.findIndex((p) => p.hasAttribute('active'));
|
|
215
|
+
if (initialActive >= 0) {
|
|
216
|
+
this.activePage = initialActive;
|
|
217
|
+
}
|
|
218
|
+
if (this.effectiveAutoplay) {
|
|
219
|
+
this.initAutoPlay();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
componentDidLoad() {
|
|
223
|
+
this.initPages();
|
|
224
|
+
this.slotEl = this.el.shadowRoot.querySelector('slot');
|
|
225
|
+
this.slotEl?.addEventListener('slotchange', this.onSlotChange);
|
|
226
|
+
this.mobileMediaQuery = window.matchMedia(this.MOBILE_MQ);
|
|
227
|
+
this.mobileMediaQuery.addEventListener('change', this.onBreakpointChange);
|
|
228
|
+
if (this.mobileMediaQuery.matches) {
|
|
229
|
+
this.setupSwipeListeners();
|
|
230
|
+
}
|
|
231
|
+
if (this.effectiveAutoplay && this.isPlaying) {
|
|
232
|
+
this.scheduleInterval();
|
|
233
|
+
this.brDidAutoPlayStart.emit();
|
|
234
|
+
this.brCarouselAutoplayStart.emit();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Navegação por teclado para o modo tablist (`indicatorType="simple"`).
|
|
239
|
+
*
|
|
240
|
+
* O W3C APG Carousel Pattern especifica que, quando os controles de seleção de slide
|
|
241
|
+
* são implementados como tabs, a interação de teclado segue o
|
|
242
|
+
* {@link https://www.w3.org/WAI/ARIA/apg/patterns/tabs/ Tabs Pattern (W3C APG)}.
|
|
243
|
+
* Esse padrão define o comportamento de roving tabindex com as teclas:
|
|
244
|
+
* - `ArrowLeft` / `ArrowRight` (ou `ArrowUp` / `ArrowDown`): move o foco entre as tabs.
|
|
245
|
+
* - `Home`: move o foco para a primeira tab.
|
|
246
|
+
* - `End`: move o foco para a última tab.
|
|
247
|
+
*
|
|
248
|
+
* O handler está no `br-carousel` (e não no `br-step`) porque a lógica de
|
|
249
|
+
* `effectiveCircular` é uma responsabilidade do carrossel, mantendo uma única
|
|
250
|
+
* fonte de verdade para a navegação circular.
|
|
251
|
+
*
|
|
252
|
+
* O evento `keydown` é composto (`composed: true`), portanto borbulha através do
|
|
253
|
+
* shadow DOM do `br-step-item` até o host do `br-carousel`.
|
|
254
|
+
*/
|
|
255
|
+
onTablistKeydown(e) {
|
|
256
|
+
if (this.indicatorType !== 'simple' || this.stepRef === null)
|
|
257
|
+
return;
|
|
258
|
+
if (!isEventTargetInside(e, this.stepRef))
|
|
259
|
+
return;
|
|
260
|
+
if (!Carousel.NAVIGATION_KEYS.has(e.key))
|
|
261
|
+
return;
|
|
262
|
+
e.preventDefault();
|
|
263
|
+
const next = this.resolveTablistKeyIndex(e.key);
|
|
264
|
+
if (next === this.activePage)
|
|
265
|
+
return;
|
|
266
|
+
this.goTo(next);
|
|
267
|
+
this.focusStepItem(next);
|
|
268
|
+
}
|
|
269
|
+
/** Métodos públicos */
|
|
270
|
+
/**
|
|
271
|
+
* Avança para o próximo slide. Respeita a prop `isCircular` (ou ativo automaticamente com `autoPlay`).
|
|
272
|
+
*/
|
|
273
|
+
async nextPage() {
|
|
274
|
+
const next = this.activePage + 1;
|
|
275
|
+
if (next < this.pages.length) {
|
|
276
|
+
this.goTo(next);
|
|
277
|
+
}
|
|
278
|
+
else if (this.effectiveCircular) {
|
|
279
|
+
this.goTo(0);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Retorna ao slide anterior. Respeita a prop `isCircular` (ou ativo automaticamente com `autoPlay`).
|
|
284
|
+
*/
|
|
285
|
+
async previousPage() {
|
|
286
|
+
const prev = this.activePage - 1;
|
|
287
|
+
if (prev >= 0) {
|
|
288
|
+
this.goTo(prev);
|
|
289
|
+
}
|
|
290
|
+
else if (this.effectiveCircular) {
|
|
291
|
+
this.goTo(this.pages.length - 1);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Navega para o slide de número `index` (1 = primeiro slide, 2 = segundo, …).
|
|
296
|
+
* Valores fora do intervalo válido são ignorados.
|
|
297
|
+
*/
|
|
298
|
+
async goToPage(index) {
|
|
299
|
+
if (index >= 1 && index <= this.pages.length) {
|
|
300
|
+
this.goTo(index - 1);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Retorna o número do slide atualmente ativo (1 = primeiro slide, 2 = segundo, …).
|
|
305
|
+
*/
|
|
306
|
+
async getActivePage() {
|
|
307
|
+
return this.activePage + 1;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Inicia ou retoma a reprodução automática programaticamente.
|
|
311
|
+
*/
|
|
312
|
+
async play() {
|
|
313
|
+
if (!this.effectiveAutoplay)
|
|
314
|
+
return;
|
|
315
|
+
this.isPlaying = true;
|
|
316
|
+
this.isPausedByFocus = false;
|
|
317
|
+
// W3C: ao iniciar explicitamente via botão, hover e foco não devem pausar
|
|
318
|
+
this.isUserExplicitlyPlaying = true;
|
|
319
|
+
this.isRotating = true;
|
|
320
|
+
this.scheduleInterval();
|
|
321
|
+
this.brDidAutoPlayStart.emit();
|
|
322
|
+
this.brCarouselAutoplayStart.emit();
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Pausa a reprodução automática programaticamente.
|
|
326
|
+
*/
|
|
327
|
+
async pause() {
|
|
328
|
+
this.isPlaying = false;
|
|
329
|
+
this.isUserExplicitlyPlaying = false;
|
|
330
|
+
this.isRotating = false;
|
|
331
|
+
this.clearTimer();
|
|
332
|
+
this.brDidAutoPlayPause.emit();
|
|
333
|
+
this.brCarouselAutoplayPause.emit();
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Retorna `true` se a reprodução automática está ativa no momento.
|
|
337
|
+
*/
|
|
338
|
+
async getIsPlaying() {
|
|
339
|
+
return this.isPlaying;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Retorna os slides atribuídos ao slot do carrossel.
|
|
343
|
+
*
|
|
344
|
+
* Usa `slot.assignedElements()` quando o slot já está disponível (após `componentDidLoad`):
|
|
345
|
+
* a API retorna diretamente a lista interna do browser.
|
|
346
|
+
*
|
|
347
|
+
* Recorre a `querySelectorAll` apenas em `componentWillLoad`, quando o shadow DOM
|
|
348
|
+
* ainda não foi renderizado e `slotEl` é `null`.
|
|
349
|
+
*/
|
|
350
|
+
get slideElements() {
|
|
351
|
+
if (this.slotEl !== null) {
|
|
352
|
+
return this.slotEl.assignedElements();
|
|
353
|
+
}
|
|
354
|
+
return Array.from(this.el.children).filter((el) => el.tagName.toLowerCase() === 'br-carousel-page');
|
|
355
|
+
}
|
|
356
|
+
initAutoPlay() {
|
|
357
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
358
|
+
this.isPlaying = !prefersReducedMotion;
|
|
359
|
+
this.isRotating = this.isPlaying;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Retorna o ID único de um slide pelo índice (0-based).
|
|
363
|
+
* Prioriza o `customId` definido no próprio `br-carousel-page`, quando presente.
|
|
364
|
+
* Caso contrário, gera automaticamente no formato `{carousel-id}-slide-{n}`.
|
|
365
|
+
* Usado para vincular `controls-id` das tabs ao `id` do tabpanel correspondente.
|
|
366
|
+
*/
|
|
367
|
+
slideId(index) {
|
|
368
|
+
return this.pages[index]?.customId ?? `${this.customId}-slide-${index + 1}`;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Circular efetivo: ativo quando `isCircular=true` OU quando `autoPlay=true`.
|
|
372
|
+
* Usar este getter em toda a lógica interna em vez de `this.isCircular` diretamente.
|
|
373
|
+
*/
|
|
374
|
+
get effectiveCircular() {
|
|
375
|
+
return (this.circular ?? this.isCircular) || this.effectiveAutoplay;
|
|
376
|
+
}
|
|
377
|
+
get effectiveAutoplay() {
|
|
378
|
+
return this.autoplay ?? this.autoPlay;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Reposiciona todos os slides inativos com base no índice ativo.
|
|
382
|
+
* Slides após o ativo ficam à direita (100%), antes ficam à esquerda (-100%).
|
|
383
|
+
*/
|
|
384
|
+
positionSlides(activeIndex) {
|
|
385
|
+
this.pages.forEach((page, i) => {
|
|
386
|
+
if (i !== activeIndex) {
|
|
387
|
+
page.style.left = i > activeIndex ? '100%' : '-100%';
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
initPages() {
|
|
392
|
+
this.pages.forEach((page, i) => {
|
|
393
|
+
page.id || (page.id = this.slideId(i));
|
|
394
|
+
page.setLabel(`Slide ${i + 1} de ${this.pages.length}`);
|
|
395
|
+
page.setActive(i === this.activePage);
|
|
396
|
+
});
|
|
397
|
+
this.positionSlides(this.activePage);
|
|
398
|
+
this.syncStepIndicator();
|
|
399
|
+
}
|
|
400
|
+
goTo(index) {
|
|
401
|
+
const prev = this.activePage;
|
|
402
|
+
this.activePage = index;
|
|
403
|
+
this.positionSlides(index);
|
|
404
|
+
this.pages[prev]?.setActive(false);
|
|
405
|
+
this.pages[index]?.setActive(true);
|
|
406
|
+
const detail = { activePage: this.activePage + 1 };
|
|
407
|
+
this.brDidPageChange.emit(detail);
|
|
408
|
+
this.brCarouselPageChange.emit(detail);
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Mantém o atributo `active` dos `br-step-item` filhos do `br-step` em sincronia
|
|
412
|
+
* com o slide ativo. Recebe o novo e o antigo índice para otimizar a atualização (removendo o atributo apenas do item anterior, em vez de iterar por todos os itens).
|
|
413
|
+
* Se `oldVal` for `null`, atualiza todos os itens (caso de inicialização ou mudança completa de slides).
|
|
414
|
+
*/
|
|
415
|
+
syncStepIndicator(newVal = this.activePage, oldVal = null) {
|
|
416
|
+
if (this.stepRef === null)
|
|
417
|
+
return;
|
|
418
|
+
const items = this.stepRef.children;
|
|
419
|
+
if (oldVal !== null) {
|
|
420
|
+
items[oldVal]?.removeAttribute('active');
|
|
421
|
+
items[newVal]?.setAttribute('active', 'true');
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
Array.from(items).forEach((item, i) => {
|
|
425
|
+
if (i === newVal) {
|
|
426
|
+
item.setAttribute('active', 'true');
|
|
427
|
+
}
|
|
428
|
+
else {
|
|
429
|
+
item.removeAttribute('active');
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
getDataStage() {
|
|
435
|
+
const { navPosition, indicatorPosition } = this;
|
|
436
|
+
if (navPosition === 'inside' && indicatorPosition === 'inside')
|
|
437
|
+
return 'in';
|
|
438
|
+
if (navPosition === 'inside')
|
|
439
|
+
return 'hibw';
|
|
440
|
+
if (indicatorPosition === 'inside')
|
|
441
|
+
return 'hibh';
|
|
442
|
+
return 'out';
|
|
443
|
+
}
|
|
444
|
+
scheduleInterval() {
|
|
445
|
+
if (this.autoPlayTimer !== null) {
|
|
446
|
+
clearInterval(this.autoPlayTimer);
|
|
447
|
+
this.autoPlayTimer = null;
|
|
448
|
+
}
|
|
449
|
+
this.autoPlayTimer = setInterval(() => {
|
|
450
|
+
if (this.direction === 'left') {
|
|
451
|
+
this.previousPage();
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
this.nextPage();
|
|
455
|
+
}
|
|
456
|
+
}, this.interval);
|
|
457
|
+
}
|
|
458
|
+
clearTimer() {
|
|
459
|
+
if (this.autoPlayTimer !== null) {
|
|
460
|
+
clearInterval(this.autoPlayTimer);
|
|
461
|
+
this.autoPlayTimer = null;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
get isPrevDisabled() {
|
|
465
|
+
return !this.effectiveCircular && this.activePage === 0;
|
|
466
|
+
}
|
|
467
|
+
get isNextDisabled() {
|
|
468
|
+
return !this.effectiveCircular && this.activePage === this.pages.length - 1;
|
|
469
|
+
}
|
|
470
|
+
setupSwipeListeners() {
|
|
471
|
+
if (this.stageRef === null)
|
|
472
|
+
return;
|
|
473
|
+
this.carouselSwipe = new UniversalSwipe(this.stageRef, { direction: 'horizontal' });
|
|
474
|
+
this.carouselSwipe.on('SWIPE_LEFT', this.onSwipeLeft);
|
|
475
|
+
this.carouselSwipe.on('SWIPE_RIGHT', this.onSwipeRight);
|
|
476
|
+
}
|
|
477
|
+
cleanupSwipeListeners() {
|
|
478
|
+
if (this.carouselSwipe !== null) {
|
|
479
|
+
this.carouselSwipe.off('SWIPE_LEFT', this.onSwipeLeft);
|
|
480
|
+
this.carouselSwipe.off('SWIPE_RIGHT', this.onSwipeRight);
|
|
481
|
+
this.carouselSwipe.destroy();
|
|
482
|
+
this.carouselSwipe = null;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Calcula o índice alvo com base na tecla pressionada no modo tablist.
|
|
487
|
+
*/
|
|
488
|
+
resolveTablistKeyIndex(key) {
|
|
489
|
+
const total = this.pages.length;
|
|
490
|
+
switch (key) {
|
|
491
|
+
case 'ArrowLeft':
|
|
492
|
+
case 'ArrowUp':
|
|
493
|
+
if (this.activePage > 0)
|
|
494
|
+
return this.activePage - 1;
|
|
495
|
+
return this.effectiveCircular ? total - 1 : this.activePage;
|
|
496
|
+
case 'ArrowRight':
|
|
497
|
+
case 'ArrowDown':
|
|
498
|
+
if (this.activePage < total - 1)
|
|
499
|
+
return this.activePage + 1;
|
|
500
|
+
return this.effectiveCircular ? 0 : this.activePage;
|
|
501
|
+
case 'Home':
|
|
502
|
+
return 0;
|
|
503
|
+
case 'End':
|
|
504
|
+
return total - 1;
|
|
505
|
+
default:
|
|
506
|
+
return this.activePage;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Move o foco para o `br-step-item` de índice `index`.
|
|
511
|
+
*
|
|
512
|
+
* Em modo tablist, a semântica ARIA (`role="tab"`, `tabIndex`, `aria-selected`) é
|
|
513
|
+
* aplicada diretamente no host do `br-step-item` — não no botão interno, que fica
|
|
514
|
+
* inerte. Por isso o foco vai para o próprio host, e o ring visual é controlado
|
|
515
|
+
* via `:host(.role-tab:focus-visible)` no CSS do componente.
|
|
516
|
+
*/
|
|
517
|
+
focusStepItem(index) {
|
|
518
|
+
const targetItem = this.stepRef.children[index];
|
|
519
|
+
if (targetItem === null)
|
|
520
|
+
return;
|
|
521
|
+
requestAnimationFrame(() => {
|
|
522
|
+
if (typeof targetItem.focus === 'function')
|
|
523
|
+
targetItem.focus();
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
getCssClassMap() {
|
|
527
|
+
return {
|
|
528
|
+
'br-carousel': true,
|
|
529
|
+
'dark-mode': this.colorMode === 'dark',
|
|
530
|
+
inverted: this.colorMode === 'dark',
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
getHostStyle() {
|
|
534
|
+
return {
|
|
535
|
+
...(this.minHeight !== undefined ? { '--carousel-min-height': this.minHeight } : {}),
|
|
536
|
+
'--carousel-page-image-fit': this.imageFit,
|
|
537
|
+
...(this.height !== undefined ? { height: this.height } : {}),
|
|
538
|
+
...(this.maxWidth !== undefined ? { marginInline: 'auto', maxWidth: this.maxWidth } : {}),
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
renderPlayButton() {
|
|
542
|
+
const label = this.isPlaying
|
|
543
|
+
? 'Parar Apresentação Automática de Slides'
|
|
544
|
+
: 'Iniciar Apresentação Automática de Slides';
|
|
545
|
+
const icon = this.isPlaying ? 'pause' : 'play';
|
|
546
|
+
return (h("div", { part: "play-button", class: "carousel-play-button" }, h("br-button", { shape: "circle", emphasis: "tertiary", "aria-label": label, onClick: this.onPlayToggle }, h("br-icon", { iconName: `fa6-solid:${icon}`, width: "16", height: "16" }))));
|
|
547
|
+
}
|
|
548
|
+
renderNavButton(direction) {
|
|
549
|
+
const isPrev = direction === 'prev';
|
|
550
|
+
return (h("div", { part: isPrev ? 'nav-prev' : 'nav-next', class: "carousel-button" }, h("br-button", { class: isPrev ? 'carousel-btn-prev' : 'carousel-btn-next', shape: this.navPosition === 'outside' ? 'circle' : undefined, emphasis: "tertiary", "aria-label": isPrev ? 'Anterior' : 'Próximo', "aria-controls": `${this.customId}-stage`, disabled: isPrev ? this.isPrevDisabled : this.isNextDisabled, onClick: isPrev ? this.onPrevClick : this.onNextClick }, h("br-icon", { iconName: `fa6-solid:chevron-${isPrev ? 'left' : 'right'}`, width: "16", height: "16" }))));
|
|
551
|
+
}
|
|
552
|
+
renderIndicator() {
|
|
553
|
+
if (this.indicatorType === 'none')
|
|
554
|
+
return null;
|
|
555
|
+
return (h("div", { part: "indicator", class: "carousel-step" }, this.indicatorType === 'simple' && (h("br-step", { mode: "controller", "color-mode": this.colorMode, ref: (el) => (this.stepRef = el), onBrStepChange: this.onStepChange }, this.pages.map((page, i) => (h("br-step-item", { key: page.id || this.slideId(i), "aria-label": `Slide ${i + 1} de ${this.pages.length}`, "controls-id": this.slideId(i) }))))), this.indicatorType === 'textual' && (h("span", { "aria-live": this.isRotating ? 'off' : 'polite', "aria-atomic": "true", class: "carousel-page-text" }, this.activePage + 1, "/", this.pages.length))));
|
|
556
|
+
}
|
|
557
|
+
render() {
|
|
558
|
+
const dataStage = this.getDataStage();
|
|
559
|
+
return (h(Host, { key: 'f6fcc04e92f6abaa2d276dd03cb1144c1c9ccca9', style: this.getHostStyle() }, h("div", { key: '0c46599b2c345b332a3eea55eff524c66632f230', id: this.customId, part: "container", class: this.getCssClassMap(), "data-stage": dataStage, "data-mobile-nav": this.mobileNav ? '' : undefined, role: "region", "aria-label": this.ariaLabel, "aria-roledescription": "carousel", onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onFocusin: this.onFocusIn, onFocusout: this.onFocusOut }, this.effectiveAutoplay && this.renderPlayButton(), this.renderNavButton('prev'), h("div", { key: 'eb7e2972f7fb22c793427b687656fd3bc4ea8465', id: `${this.customId}-stage`, part: "stage", class: "carousel-stage", "aria-live": this.isRotating ? 'off' : 'polite', "aria-atomic": "false", ref: (el) => (this.stageRef = el) }, h("slot", { key: 'c096859d97085715846463c80aaf68eaa599d331' })), this.renderNavButton('next'), this.renderIndicator())));
|
|
560
|
+
}
|
|
561
|
+
static get is() { return "br-carousel"; }
|
|
562
|
+
static get encapsulation() { return "shadow"; }
|
|
563
|
+
static get originalStyleUrls() {
|
|
564
|
+
return {
|
|
565
|
+
"$": ["carousel.scss"]
|
|
566
|
+
};
|
|
567
|
+
}
|
|
568
|
+
static get styleUrls() {
|
|
569
|
+
return {
|
|
570
|
+
"$": ["carousel.css"]
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
static get properties() {
|
|
574
|
+
return {
|
|
575
|
+
"customId": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"mutable": false,
|
|
578
|
+
"complexType": {
|
|
579
|
+
"original": "string",
|
|
580
|
+
"resolved": "string",
|
|
581
|
+
"references": {}
|
|
582
|
+
},
|
|
583
|
+
"required": false,
|
|
584
|
+
"optional": false,
|
|
585
|
+
"docs": {
|
|
586
|
+
"tags": [],
|
|
587
|
+
"text": "Identificador \u00FAnico do componente.\nQuando omitido, um valor \u00E9 gerado automaticamente.\n\n> **Padr\u00E3o:** valor \u00FAnico gerado por generateUniqueId()."
|
|
588
|
+
},
|
|
589
|
+
"getter": false,
|
|
590
|
+
"setter": false,
|
|
591
|
+
"reflect": true,
|
|
592
|
+
"attribute": "custom-id",
|
|
593
|
+
"defaultValue": "generateUniqueId()"
|
|
594
|
+
},
|
|
595
|
+
"ariaLabel": {
|
|
596
|
+
"type": "string",
|
|
597
|
+
"mutable": false,
|
|
598
|
+
"complexType": {
|
|
599
|
+
"original": "string",
|
|
600
|
+
"resolved": "string",
|
|
601
|
+
"references": {}
|
|
602
|
+
},
|
|
603
|
+
"required": false,
|
|
604
|
+
"optional": false,
|
|
605
|
+
"docs": {
|
|
606
|
+
"tags": [],
|
|
607
|
+
"text": "R\u00F3tulo acess\u00EDvel do carrossel.\nN\u00E3o deve conter a palavra \"carrossel\" (W3C APG).\nAtribu\u00EDdo ao `aria-label` do container raiz."
|
|
608
|
+
},
|
|
609
|
+
"getter": false,
|
|
610
|
+
"setter": false,
|
|
611
|
+
"reflect": true,
|
|
612
|
+
"attribute": "aria-label"
|
|
613
|
+
},
|
|
614
|
+
"navPosition": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"mutable": false,
|
|
617
|
+
"complexType": {
|
|
618
|
+
"original": "CarouselNavPosition",
|
|
619
|
+
"resolved": "\"inside\" | \"outside\"",
|
|
620
|
+
"references": {
|
|
621
|
+
"CarouselNavPosition": {
|
|
622
|
+
"location": "import",
|
|
623
|
+
"path": "./carousel.types",
|
|
624
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselNavPosition",
|
|
625
|
+
"referenceLocation": "CarouselNavPosition"
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"required": false,
|
|
630
|
+
"optional": false,
|
|
631
|
+
"docs": {
|
|
632
|
+
"tags": [],
|
|
633
|
+
"text": "Posi\u00E7\u00E3o dos bot\u00F5es de navega\u00E7\u00E3o (prev/next) em rela\u00E7\u00E3o ao palco.\n- `outside`: bot\u00F5es ficam nas laterais externas ao palco.\n- `inside`: bot\u00F5es ficam sobrepostos dentro do palco, ocupando toda a altura."
|
|
634
|
+
},
|
|
635
|
+
"getter": false,
|
|
636
|
+
"setter": false,
|
|
637
|
+
"reflect": true,
|
|
638
|
+
"attribute": "nav-position",
|
|
639
|
+
"defaultValue": "'outside'"
|
|
640
|
+
},
|
|
641
|
+
"indicatorType": {
|
|
642
|
+
"type": "string",
|
|
643
|
+
"mutable": false,
|
|
644
|
+
"complexType": {
|
|
645
|
+
"original": "CarouselIndicatorType",
|
|
646
|
+
"resolved": "\"none\" | \"simple\" | \"textual\"",
|
|
647
|
+
"references": {
|
|
648
|
+
"CarouselIndicatorType": {
|
|
649
|
+
"location": "import",
|
|
650
|
+
"path": "./carousel.types",
|
|
651
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselIndicatorType",
|
|
652
|
+
"referenceLocation": "CarouselIndicatorType"
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"required": false,
|
|
657
|
+
"optional": false,
|
|
658
|
+
"docs": {
|
|
659
|
+
"tags": [],
|
|
660
|
+
"text": "Define o tipo de indicador de p\u00E1ginas renderizado.\n- `simple`: dots usando `br-step` em modo controller.\n- `textual`: texto \"X/N\" com `aria-live`.\n- `none`: sem indicador."
|
|
661
|
+
},
|
|
662
|
+
"getter": false,
|
|
663
|
+
"setter": false,
|
|
664
|
+
"reflect": true,
|
|
665
|
+
"attribute": "indicator-type",
|
|
666
|
+
"defaultValue": "'simple'"
|
|
667
|
+
},
|
|
668
|
+
"indicatorPosition": {
|
|
669
|
+
"type": "string",
|
|
670
|
+
"mutable": false,
|
|
671
|
+
"complexType": {
|
|
672
|
+
"original": "CarouselIndicatorPosition",
|
|
673
|
+
"resolved": "\"inside\" | \"outside\"",
|
|
674
|
+
"references": {
|
|
675
|
+
"CarouselIndicatorPosition": {
|
|
676
|
+
"location": "import",
|
|
677
|
+
"path": "./carousel.types",
|
|
678
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselIndicatorPosition",
|
|
679
|
+
"referenceLocation": "CarouselIndicatorPosition"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"required": false,
|
|
684
|
+
"optional": false,
|
|
685
|
+
"docs": {
|
|
686
|
+
"tags": [],
|
|
687
|
+
"text": "Posi\u00E7\u00E3o do indicador de p\u00E1ginas em rela\u00E7\u00E3o ao palco.\nIgnorada quando `indicatorType=\"none\"`.\n- `outside`: indicador fica abaixo do palco.\n- `inside`: indicador fica sobreposto ao conte\u00FAdo."
|
|
688
|
+
},
|
|
689
|
+
"getter": false,
|
|
690
|
+
"setter": false,
|
|
691
|
+
"reflect": true,
|
|
692
|
+
"attribute": "indicator-position",
|
|
693
|
+
"defaultValue": "'outside'"
|
|
694
|
+
},
|
|
695
|
+
"isCircular": {
|
|
696
|
+
"type": "boolean",
|
|
697
|
+
"mutable": false,
|
|
698
|
+
"complexType": {
|
|
699
|
+
"original": "boolean",
|
|
700
|
+
"resolved": "boolean",
|
|
701
|
+
"references": {}
|
|
702
|
+
},
|
|
703
|
+
"required": false,
|
|
704
|
+
"optional": false,
|
|
705
|
+
"docs": {
|
|
706
|
+
"tags": [{
|
|
707
|
+
"name": "deprecated",
|
|
708
|
+
"text": "Use `circular`."
|
|
709
|
+
}],
|
|
710
|
+
"text": "Habilita a navega\u00E7\u00E3o circular entre os slides.\nQuando true, os bot\u00F5es \"Anterior\" e \"Pr\u00F3ximo\" permanecem sempre habilitados: avan\u00E7ar a partir do \u00FAltimo slide retorna ao primeiro, e retroceder a partir do primeiro leva ao \u00FAltimo.\nSe autoPlay estiver ativado, o comportamento circular ser\u00E1 aplicado automaticamente, independentemente deste valor."
|
|
711
|
+
},
|
|
712
|
+
"getter": false,
|
|
713
|
+
"setter": false,
|
|
714
|
+
"reflect": true,
|
|
715
|
+
"attribute": "is-circular",
|
|
716
|
+
"defaultValue": "false"
|
|
717
|
+
},
|
|
718
|
+
"circular": {
|
|
719
|
+
"type": "boolean",
|
|
720
|
+
"mutable": false,
|
|
721
|
+
"complexType": {
|
|
722
|
+
"original": "boolean",
|
|
723
|
+
"resolved": "boolean",
|
|
724
|
+
"references": {}
|
|
725
|
+
},
|
|
726
|
+
"required": false,
|
|
727
|
+
"optional": true,
|
|
728
|
+
"docs": {
|
|
729
|
+
"tags": [],
|
|
730
|
+
"text": "Habilita navega\u00E7\u00E3o circular. Quando informada, tem preced\u00EAncia sobre `isCircular`."
|
|
731
|
+
},
|
|
732
|
+
"getter": false,
|
|
733
|
+
"setter": false,
|
|
734
|
+
"reflect": true,
|
|
735
|
+
"attribute": "circular"
|
|
736
|
+
},
|
|
737
|
+
"autoPlay": {
|
|
738
|
+
"type": "boolean",
|
|
739
|
+
"mutable": false,
|
|
740
|
+
"complexType": {
|
|
741
|
+
"original": "boolean",
|
|
742
|
+
"resolved": "boolean",
|
|
743
|
+
"references": {}
|
|
744
|
+
},
|
|
745
|
+
"required": false,
|
|
746
|
+
"optional": false,
|
|
747
|
+
"docs": {
|
|
748
|
+
"tags": [{
|
|
749
|
+
"name": "deprecated",
|
|
750
|
+
"text": "Use `autoplay`."
|
|
751
|
+
}],
|
|
752
|
+
"text": "Habilita reprodu\u00E7\u00E3o autom\u00E1tica.\nPausa em hover e foco (W3C). Ativa o loop circular automaticamente.\nN\u00E3o recomendado em dispositivos m\u00F3veis."
|
|
753
|
+
},
|
|
754
|
+
"getter": false,
|
|
755
|
+
"setter": false,
|
|
756
|
+
"reflect": true,
|
|
757
|
+
"attribute": "auto-play",
|
|
758
|
+
"defaultValue": "false"
|
|
759
|
+
},
|
|
760
|
+
"autoplay": {
|
|
761
|
+
"type": "boolean",
|
|
762
|
+
"mutable": false,
|
|
763
|
+
"complexType": {
|
|
764
|
+
"original": "boolean",
|
|
765
|
+
"resolved": "boolean",
|
|
766
|
+
"references": {}
|
|
767
|
+
},
|
|
768
|
+
"required": false,
|
|
769
|
+
"optional": true,
|
|
770
|
+
"docs": {
|
|
771
|
+
"tags": [],
|
|
772
|
+
"text": "Habilita reprodu\u00E7\u00E3o autom\u00E1tica. Quando informada, tem preced\u00EAncia sobre `autoPlay`."
|
|
773
|
+
},
|
|
774
|
+
"getter": false,
|
|
775
|
+
"setter": false,
|
|
776
|
+
"reflect": true,
|
|
777
|
+
"attribute": "autoplay"
|
|
778
|
+
},
|
|
779
|
+
"interval": {
|
|
780
|
+
"type": "number",
|
|
781
|
+
"mutable": false,
|
|
782
|
+
"complexType": {
|
|
783
|
+
"original": "number",
|
|
784
|
+
"resolved": "number",
|
|
785
|
+
"references": {}
|
|
786
|
+
},
|
|
787
|
+
"required": false,
|
|
788
|
+
"optional": false,
|
|
789
|
+
"docs": {
|
|
790
|
+
"tags": [],
|
|
791
|
+
"text": "Intervalo em milissegundos entre cada avan\u00E7o autom\u00E1tico.\nS\u00F3 tem efeito quando `autoPlay=true`."
|
|
792
|
+
},
|
|
793
|
+
"getter": false,
|
|
794
|
+
"setter": false,
|
|
795
|
+
"reflect": true,
|
|
796
|
+
"attribute": "interval",
|
|
797
|
+
"defaultValue": "5000"
|
|
798
|
+
},
|
|
799
|
+
"direction": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"mutable": false,
|
|
802
|
+
"complexType": {
|
|
803
|
+
"original": "CarouselDirection",
|
|
804
|
+
"resolved": "\"left\" | \"right\"",
|
|
805
|
+
"references": {
|
|
806
|
+
"CarouselDirection": {
|
|
807
|
+
"location": "import",
|
|
808
|
+
"path": "./carousel.types",
|
|
809
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselDirection",
|
|
810
|
+
"referenceLocation": "CarouselDirection"
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": false,
|
|
815
|
+
"optional": false,
|
|
816
|
+
"docs": {
|
|
817
|
+
"tags": [],
|
|
818
|
+
"text": "Dire\u00E7\u00E3o de navega\u00E7\u00E3o autom\u00E1tica do carrossel.\n- `left`: retrocede (vai para o slide anterior).\n- `right`: avan\u00E7a (vai para o pr\u00F3ximo slide).\nS\u00F3 tem efeito quando `autoPlay=true`."
|
|
819
|
+
},
|
|
820
|
+
"getter": false,
|
|
821
|
+
"setter": false,
|
|
822
|
+
"reflect": true,
|
|
823
|
+
"attribute": "direction",
|
|
824
|
+
"defaultValue": "'right'"
|
|
825
|
+
},
|
|
826
|
+
"colorMode": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"mutable": false,
|
|
829
|
+
"complexType": {
|
|
830
|
+
"original": "CarouselColorMode",
|
|
831
|
+
"resolved": "\"dark\"",
|
|
832
|
+
"references": {
|
|
833
|
+
"CarouselColorMode": {
|
|
834
|
+
"location": "import",
|
|
835
|
+
"path": "./carousel.types",
|
|
836
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselColorMode",
|
|
837
|
+
"referenceLocation": "CarouselColorMode"
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
"required": false,
|
|
842
|
+
"optional": false,
|
|
843
|
+
"docs": {
|
|
844
|
+
"tags": [],
|
|
845
|
+
"text": "Aplica esquema de cores escuro ao componente."
|
|
846
|
+
},
|
|
847
|
+
"getter": false,
|
|
848
|
+
"setter": false,
|
|
849
|
+
"reflect": true,
|
|
850
|
+
"attribute": "color-mode"
|
|
851
|
+
},
|
|
852
|
+
"mobileNav": {
|
|
853
|
+
"type": "boolean",
|
|
854
|
+
"mutable": false,
|
|
855
|
+
"complexType": {
|
|
856
|
+
"original": "boolean",
|
|
857
|
+
"resolved": "boolean",
|
|
858
|
+
"references": {}
|
|
859
|
+
},
|
|
860
|
+
"required": false,
|
|
861
|
+
"optional": false,
|
|
862
|
+
"docs": {
|
|
863
|
+
"tags": [],
|
|
864
|
+
"text": "Exibe bot\u00F5es de navega\u00E7\u00E3o em dispositivos m\u00F3veis.\nPor padr\u00E3o os bot\u00F5es s\u00E3o ocultados no breakpoint `sm`."
|
|
865
|
+
},
|
|
866
|
+
"getter": false,
|
|
867
|
+
"setter": false,
|
|
868
|
+
"reflect": true,
|
|
869
|
+
"attribute": "mobile-nav",
|
|
870
|
+
"defaultValue": "false"
|
|
871
|
+
},
|
|
872
|
+
"minHeight": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"mutable": false,
|
|
875
|
+
"complexType": {
|
|
876
|
+
"original": "string",
|
|
877
|
+
"resolved": "string",
|
|
878
|
+
"references": {}
|
|
879
|
+
},
|
|
880
|
+
"required": false,
|
|
881
|
+
"optional": false,
|
|
882
|
+
"docs": {
|
|
883
|
+
"tags": [],
|
|
884
|
+
"text": "Altura m\u00EDnima do palco do carrossel.\nAceita qualquer valor CSS v\u00E1lido para `min-height` (ex.: `400px`, `50vh`)."
|
|
885
|
+
},
|
|
886
|
+
"getter": false,
|
|
887
|
+
"setter": false,
|
|
888
|
+
"reflect": true,
|
|
889
|
+
"attribute": "min-height"
|
|
890
|
+
},
|
|
891
|
+
"height": {
|
|
892
|
+
"type": "string",
|
|
893
|
+
"mutable": false,
|
|
894
|
+
"complexType": {
|
|
895
|
+
"original": "string",
|
|
896
|
+
"resolved": "string",
|
|
897
|
+
"references": {}
|
|
898
|
+
},
|
|
899
|
+
"required": false,
|
|
900
|
+
"optional": false,
|
|
901
|
+
"docs": {
|
|
902
|
+
"tags": [],
|
|
903
|
+
"text": "Altura do carrossel.\nAceita qualquer valor CSS v\u00E1lido para `height` (ex.: `400px`, `50vh`)."
|
|
904
|
+
},
|
|
905
|
+
"getter": false,
|
|
906
|
+
"setter": false,
|
|
907
|
+
"reflect": true,
|
|
908
|
+
"attribute": "height"
|
|
909
|
+
},
|
|
910
|
+
"maxWidth": {
|
|
911
|
+
"type": "string",
|
|
912
|
+
"mutable": false,
|
|
913
|
+
"complexType": {
|
|
914
|
+
"original": "string",
|
|
915
|
+
"resolved": "string",
|
|
916
|
+
"references": {}
|
|
917
|
+
},
|
|
918
|
+
"required": false,
|
|
919
|
+
"optional": false,
|
|
920
|
+
"docs": {
|
|
921
|
+
"tags": [],
|
|
922
|
+
"text": "Largura m\u00E1xima do carrossel.\nQuando definido, o componente \u00E9 centralizado horizontalmente.\nAceita qualquer valor CSS v\u00E1lido para `max-width` (ex.: `800px`, `64rem`)."
|
|
923
|
+
},
|
|
924
|
+
"getter": false,
|
|
925
|
+
"setter": false,
|
|
926
|
+
"reflect": true,
|
|
927
|
+
"attribute": "max-width"
|
|
928
|
+
},
|
|
929
|
+
"imageFit": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"mutable": false,
|
|
932
|
+
"complexType": {
|
|
933
|
+
"original": "CarouselImageFit",
|
|
934
|
+
"resolved": "\"contain\" | \"cover\" | \"fill\" | \"none\" | \"scale-down\"",
|
|
935
|
+
"references": {
|
|
936
|
+
"CarouselImageFit": {
|
|
937
|
+
"location": "import",
|
|
938
|
+
"path": "./carousel.types",
|
|
939
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselImageFit",
|
|
940
|
+
"referenceLocation": "CarouselImageFit"
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"required": false,
|
|
945
|
+
"optional": false,
|
|
946
|
+
"docs": {
|
|
947
|
+
"tags": [],
|
|
948
|
+
"text": "Ajuste aplicado a imagens filhas diretas de `br-carousel-page`."
|
|
949
|
+
},
|
|
950
|
+
"getter": false,
|
|
951
|
+
"setter": false,
|
|
952
|
+
"reflect": true,
|
|
953
|
+
"attribute": "image-fit",
|
|
954
|
+
"defaultValue": "'cover'"
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
static get states() {
|
|
959
|
+
return {
|
|
960
|
+
"activePage": {},
|
|
961
|
+
"isPlaying": {},
|
|
962
|
+
"isRotating": {},
|
|
963
|
+
"pages": {}
|
|
964
|
+
};
|
|
965
|
+
}
|
|
966
|
+
static get events() {
|
|
967
|
+
return [{
|
|
968
|
+
"method": "brDidPageChange",
|
|
969
|
+
"name": "brDidPageChange",
|
|
970
|
+
"bubbles": true,
|
|
971
|
+
"cancelable": true,
|
|
972
|
+
"composed": true,
|
|
973
|
+
"docs": {
|
|
974
|
+
"tags": [],
|
|
975
|
+
"text": "Emitido quando o slide ativo muda.\nDisparado por clique nos bot\u00F5es de navega\u00E7\u00E3o, clique no indicador de step,\ngesto swipe (apenas em mobile, breakpoint < 576px) ou avan\u00E7o autom\u00E1tico.\n`activePage` \u00E9 1-based: o primeiro slide emite `1`, o segundo `2`, e assim por diante."
|
|
976
|
+
},
|
|
977
|
+
"complexType": {
|
|
978
|
+
"original": "CarouselPageChangeDetail",
|
|
979
|
+
"resolved": "{ activePage: number; }",
|
|
980
|
+
"references": {
|
|
981
|
+
"CarouselPageChangeDetail": {
|
|
982
|
+
"location": "import",
|
|
983
|
+
"path": "./carousel.types",
|
|
984
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselPageChangeDetail",
|
|
985
|
+
"referenceLocation": "CarouselPageChangeDetail"
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}, {
|
|
990
|
+
"method": "brCarouselPageChange",
|
|
991
|
+
"name": "brCarouselPageChange",
|
|
992
|
+
"bubbles": true,
|
|
993
|
+
"cancelable": true,
|
|
994
|
+
"composed": true,
|
|
995
|
+
"docs": {
|
|
996
|
+
"tags": [],
|
|
997
|
+
"text": "Evento can\u00F4nico emitido quando o slide ativo muda."
|
|
998
|
+
},
|
|
999
|
+
"complexType": {
|
|
1000
|
+
"original": "CarouselPageChangeDetail",
|
|
1001
|
+
"resolved": "{ activePage: number; }",
|
|
1002
|
+
"references": {
|
|
1003
|
+
"CarouselPageChangeDetail": {
|
|
1004
|
+
"location": "import",
|
|
1005
|
+
"path": "./carousel.types",
|
|
1006
|
+
"id": "src/components/carousel/carousel.types.ts::CarouselPageChangeDetail",
|
|
1007
|
+
"referenceLocation": "CarouselPageChangeDetail"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}, {
|
|
1012
|
+
"method": "brDidAutoPlayStart",
|
|
1013
|
+
"name": "brDidAutoPlayStart",
|
|
1014
|
+
"bubbles": true,
|
|
1015
|
+
"cancelable": true,
|
|
1016
|
+
"composed": true,
|
|
1017
|
+
"docs": {
|
|
1018
|
+
"tags": [],
|
|
1019
|
+
"text": "Emitido quando a reprodu\u00E7\u00E3o autom\u00E1tica \u00E9 iniciada ou retomada."
|
|
1020
|
+
},
|
|
1021
|
+
"complexType": {
|
|
1022
|
+
"original": "void",
|
|
1023
|
+
"resolved": "void",
|
|
1024
|
+
"references": {}
|
|
1025
|
+
}
|
|
1026
|
+
}, {
|
|
1027
|
+
"method": "brCarouselAutoplayStart",
|
|
1028
|
+
"name": "brCarouselAutoplayStart",
|
|
1029
|
+
"bubbles": true,
|
|
1030
|
+
"cancelable": true,
|
|
1031
|
+
"composed": true,
|
|
1032
|
+
"docs": {
|
|
1033
|
+
"tags": [],
|
|
1034
|
+
"text": "Evento can\u00F4nico emitido quando a reprodu\u00E7\u00E3o autom\u00E1tica come\u00E7a."
|
|
1035
|
+
},
|
|
1036
|
+
"complexType": {
|
|
1037
|
+
"original": "void",
|
|
1038
|
+
"resolved": "void",
|
|
1039
|
+
"references": {}
|
|
1040
|
+
}
|
|
1041
|
+
}, {
|
|
1042
|
+
"method": "brDidAutoPlayPause",
|
|
1043
|
+
"name": "brDidAutoPlayPause",
|
|
1044
|
+
"bubbles": true,
|
|
1045
|
+
"cancelable": true,
|
|
1046
|
+
"composed": true,
|
|
1047
|
+
"docs": {
|
|
1048
|
+
"tags": [],
|
|
1049
|
+
"text": "Emitido quando a reprodu\u00E7\u00E3o autom\u00E1tica \u00E9 pausada."
|
|
1050
|
+
},
|
|
1051
|
+
"complexType": {
|
|
1052
|
+
"original": "void",
|
|
1053
|
+
"resolved": "void",
|
|
1054
|
+
"references": {}
|
|
1055
|
+
}
|
|
1056
|
+
}, {
|
|
1057
|
+
"method": "brCarouselAutoplayPause",
|
|
1058
|
+
"name": "brCarouselAutoplayPause",
|
|
1059
|
+
"bubbles": true,
|
|
1060
|
+
"cancelable": true,
|
|
1061
|
+
"composed": true,
|
|
1062
|
+
"docs": {
|
|
1063
|
+
"tags": [],
|
|
1064
|
+
"text": "Evento can\u00F4nico emitido quando a reprodu\u00E7\u00E3o autom\u00E1tica \u00E9 pausada."
|
|
1065
|
+
},
|
|
1066
|
+
"complexType": {
|
|
1067
|
+
"original": "void",
|
|
1068
|
+
"resolved": "void",
|
|
1069
|
+
"references": {}
|
|
1070
|
+
}
|
|
1071
|
+
}];
|
|
1072
|
+
}
|
|
1073
|
+
static get methods() {
|
|
1074
|
+
return {
|
|
1075
|
+
"nextPage": {
|
|
1076
|
+
"complexType": {
|
|
1077
|
+
"signature": "() => Promise<void>",
|
|
1078
|
+
"parameters": [],
|
|
1079
|
+
"references": {
|
|
1080
|
+
"Promise": {
|
|
1081
|
+
"location": "global",
|
|
1082
|
+
"id": "global::Promise"
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
"return": "Promise<void>"
|
|
1086
|
+
},
|
|
1087
|
+
"docs": {
|
|
1088
|
+
"text": "Avan\u00E7a para o pr\u00F3ximo slide. Respeita a prop `isCircular` (ou ativo automaticamente com `autoPlay`).",
|
|
1089
|
+
"tags": []
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
"previousPage": {
|
|
1093
|
+
"complexType": {
|
|
1094
|
+
"signature": "() => Promise<void>",
|
|
1095
|
+
"parameters": [],
|
|
1096
|
+
"references": {
|
|
1097
|
+
"Promise": {
|
|
1098
|
+
"location": "global",
|
|
1099
|
+
"id": "global::Promise"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"return": "Promise<void>"
|
|
1103
|
+
},
|
|
1104
|
+
"docs": {
|
|
1105
|
+
"text": "Retorna ao slide anterior. Respeita a prop `isCircular` (ou ativo automaticamente com `autoPlay`).",
|
|
1106
|
+
"tags": []
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"goToPage": {
|
|
1110
|
+
"complexType": {
|
|
1111
|
+
"signature": "(index: number) => Promise<void>",
|
|
1112
|
+
"parameters": [{
|
|
1113
|
+
"name": "index",
|
|
1114
|
+
"type": "number",
|
|
1115
|
+
"docs": ""
|
|
1116
|
+
}],
|
|
1117
|
+
"references": {
|
|
1118
|
+
"Promise": {
|
|
1119
|
+
"location": "global",
|
|
1120
|
+
"id": "global::Promise"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"return": "Promise<void>"
|
|
1124
|
+
},
|
|
1125
|
+
"docs": {
|
|
1126
|
+
"text": "Navega para o slide de n\u00FAmero `index` (1 = primeiro slide, 2 = segundo, \u2026).\nValores fora do intervalo v\u00E1lido s\u00E3o ignorados.",
|
|
1127
|
+
"tags": []
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"getActivePage": {
|
|
1131
|
+
"complexType": {
|
|
1132
|
+
"signature": "() => Promise<number>",
|
|
1133
|
+
"parameters": [],
|
|
1134
|
+
"references": {
|
|
1135
|
+
"Promise": {
|
|
1136
|
+
"location": "global",
|
|
1137
|
+
"id": "global::Promise"
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
"return": "Promise<number>"
|
|
1141
|
+
},
|
|
1142
|
+
"docs": {
|
|
1143
|
+
"text": "Retorna o n\u00FAmero do slide atualmente ativo (1 = primeiro slide, 2 = segundo, \u2026).",
|
|
1144
|
+
"tags": []
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"play": {
|
|
1148
|
+
"complexType": {
|
|
1149
|
+
"signature": "() => Promise<void>",
|
|
1150
|
+
"parameters": [],
|
|
1151
|
+
"references": {
|
|
1152
|
+
"Promise": {
|
|
1153
|
+
"location": "global",
|
|
1154
|
+
"id": "global::Promise"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"return": "Promise<void>"
|
|
1158
|
+
},
|
|
1159
|
+
"docs": {
|
|
1160
|
+
"text": "Inicia ou retoma a reprodu\u00E7\u00E3o autom\u00E1tica programaticamente.",
|
|
1161
|
+
"tags": []
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"pause": {
|
|
1165
|
+
"complexType": {
|
|
1166
|
+
"signature": "() => Promise<void>",
|
|
1167
|
+
"parameters": [],
|
|
1168
|
+
"references": {
|
|
1169
|
+
"Promise": {
|
|
1170
|
+
"location": "global",
|
|
1171
|
+
"id": "global::Promise"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"return": "Promise<void>"
|
|
1175
|
+
},
|
|
1176
|
+
"docs": {
|
|
1177
|
+
"text": "Pausa a reprodu\u00E7\u00E3o autom\u00E1tica programaticamente.",
|
|
1178
|
+
"tags": []
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"getIsPlaying": {
|
|
1182
|
+
"complexType": {
|
|
1183
|
+
"signature": "() => Promise<boolean>",
|
|
1184
|
+
"parameters": [],
|
|
1185
|
+
"references": {
|
|
1186
|
+
"Promise": {
|
|
1187
|
+
"location": "global",
|
|
1188
|
+
"id": "global::Promise"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"return": "Promise<boolean>"
|
|
1192
|
+
},
|
|
1193
|
+
"docs": {
|
|
1194
|
+
"text": "Retorna `true` se a reprodu\u00E7\u00E3o autom\u00E1tica est\u00E1 ativa no momento.",
|
|
1195
|
+
"tags": []
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
static get elementRef() { return "el"; }
|
|
1201
|
+
static get watchers() {
|
|
1202
|
+
return [{
|
|
1203
|
+
"propName": "activePage",
|
|
1204
|
+
"methodName": "onActivePageChange"
|
|
1205
|
+
}];
|
|
1206
|
+
}
|
|
1207
|
+
static get listeners() {
|
|
1208
|
+
return [{
|
|
1209
|
+
"name": "keydown",
|
|
1210
|
+
"method": "onTablistKeydown",
|
|
1211
|
+
"target": undefined,
|
|
1212
|
+
"capture": false,
|
|
1213
|
+
"passive": false
|
|
1214
|
+
}];
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
Carousel.NAVIGATION_KEYS = new Set(['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End']);
|