@govbr-ds/webcomponents 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -11
- package/cem/custom-elements.json +272 -71
- 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 +55 -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 +2447 -0
- package/dist/cjs/br-datetime-picker.cjs.entry.js +1886 -0
- package/dist/cjs/br-divider.cjs.entry.js +225 -0
- package/dist/cjs/br-dropdown_2.cjs.entry.js +2000 -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 +178 -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 +367 -0
- package/dist/cjs/br-link.cjs.entry.js +133 -0
- package/dist/cjs/br-loading.cjs.entry.js +505 -0
- package/dist/cjs/br-magic-button.cjs.entry.js +93 -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 +56 -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 +988 -0
- package/dist/cjs/br-sign-in.cjs.entry.js +126 -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 +687 -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 +493 -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 +581 -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 +201 -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 +826 -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 +1924 -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 +421 -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 +917 -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 +699 -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 +238 -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 +260 -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 +586 -0
- package/dist/collection/components/select/select-list/select-list.css +1 -0
- package/dist/collection/components/select/select-list/select-list.js +1159 -0
- package/dist/collection/components/select/select-option/select-option.css +1 -0
- package/dist/collection/components/select/select-option/select-option.js +564 -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 +2692 -0
- package/dist/collection/components/select/select.types.js +1 -0
- package/dist/collection/components/select/select.utils.js +34 -0
- package/dist/collection/components/sign-in/sign-in.css +1 -0
- package/dist/collection/components/sign-in/sign-in.js +401 -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 +1324 -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 +1152 -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 +1314 -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 +600 -0
- package/dist/collection/pages/scripts/dev-event-console.js +47 -0
- package/dist/collection/pages/scripts/menu.js +192 -0
- package/dist/collection/pages/scripts/pageLoader.js +1422 -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-34Jfn-U-.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-B55qsau4.js +5 -0
- package/dist/components/p-B7Amgxkp.js +5 -0
- package/dist/components/p-BC7f6MK8.js +5 -0
- package/dist/components/p-BKuMQJrQ.js +5 -0
- package/dist/components/p-BPJpHGOW.js +5 -0
- package/dist/components/p-BWXfdbQH.js +5 -0
- package/dist/components/p-Bb-nLtTG.js +5 -0
- package/dist/components/p-BeE7R9nu.js +5 -0
- package/dist/components/p-BkS6ujyf.js +5 -0
- package/dist/components/p-Bo0QYHJO.js +5 -0
- package/dist/components/p-C1yRmdso.js +5 -0
- package/dist/components/p-C2i2c_io.js +5 -0
- package/dist/components/p-C7v0lVlX.js +5 -0
- package/dist/components/p-CMBsvswx.js +5 -0
- package/dist/components/p-CRrimdz6.js +5 -0
- package/dist/components/p-CWORw84-.js +5 -0
- package/dist/components/p-CXMwM9m4.js +5 -0
- package/dist/components/p-CdDwqbBv.js +5 -0
- package/dist/components/p-CvUMXJCl.js +5 -0
- package/dist/components/p-D3usVJE2.js +16 -0
- package/dist/components/p-D6zroLx5.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-DFUKDNck.js +5 -0
- package/dist/components/p-DHicj0By.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-DXjQyH6s.js +5 -0
- package/dist/components/p-DYA74R1r.js +5 -0
- package/dist/components/p-DmCxdB9P.js +5 -0
- package/dist/components/p-Dmfk7eEe.js +5 -0
- package/dist/components/p-Dp0xy_3n.js +5 -0
- package/dist/components/p-DxZJrIyL.js +5 -0
- package/dist/components/p-JAkkThgf.js +5 -0
- package/dist/components/p-Ud-WB0hx.js +5 -0
- package/dist/components/p-bhULC15U.js +5 -0
- package/dist/components/p-cF3ia5e9.js +5 -0
- package/dist/components/p-fpMNttbg.js +5 -0
- package/dist/components/p-gvnfuTjd.js +5 -0
- package/dist/components/p-qYONSNcf.js +5 -0
- package/dist/components/p-qhhHGJY1.js +5 -0
- package/dist/components/p-ttI0nvv_.js +5 -0
- package/dist/components/p-ukNmfGNP.js +5 -0
- package/dist/components/p-xa8e1kSW.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 +53 -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 +2443 -0
- package/dist/esm/br-datetime-picker.entry.js +1884 -0
- package/dist/esm/br-divider.entry.js +223 -0
- package/dist/esm/br-dropdown_2.entry.js +1997 -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 +176 -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 +365 -0
- package/dist/esm/br-link.entry.js +131 -0
- package/dist/esm/br-loading.entry.js +503 -0
- package/dist/esm/br-magic-button.entry.js +91 -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 +54 -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 +984 -0
- package/dist/esm/br-sign-in.entry.js +124 -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 +685 -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 +491 -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 +579 -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 +67516 -0
- package/dist/hydrate/index.mjs +67506 -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/types/components/item/item.d.ts +1 -0
- package/dist/types/components/select/select-list/select-list.d.ts +1 -0
- package/dist/types/components/select/select-option/select-option.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +14 -0
- package/dist/types/components/select/select.types.d.ts +2 -0
- package/dist/types/components/select/select.utils.d.ts +13 -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-0777c7b1.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-18ee6175.entry.js +5 -0
- package/dist/webcomponents/p-1bca4499.entry.js +5 -0
- package/dist/webcomponents/p-1c303a4e.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-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-4c13221a.entry.js +5 -0
- package/dist/webcomponents/p-51ce2c31.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-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-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-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-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-83ff4579.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-8e819355.entry.js +5 -0
- package/dist/webcomponents/p-92a9b9c4.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-a4ae72e3.entry.js +5 -0
- package/dist/webcomponents/p-a994c190.entry.js +5 -0
- package/dist/webcomponents/p-a9ff7c25.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-c949d993.entry.js +5 -0
- package/dist/webcomponents/p-cF3ia5e9.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-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-f078f972.entry.js +5 -0
- package/dist/webcomponents/p-f26038e2.entry.js +5 -0
- package/dist/webcomponents/p-f303f6b3.entry.js +5 -0
- package/dist/webcomponents/p-f6318e94.entry.js +5 -0
- package/dist/webcomponents/p-f85ee01c.entry.js +5 -0
- package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
- package/dist/webcomponents/p-ffe0241e.entry.js +5 -0
- package/dist/webcomponents/p-gvnfuTjd.js +5 -0
- package/dist/webcomponents/webcomponents.esm.js +5 -0
- package/package.json +3 -7
- package/cem/.gitkeep +0 -0
|
@@ -0,0 +1,1228 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h, } from "@stencil/core";
|
|
6
|
+
import { generateUniqueId } from "../../shared/utils/id";
|
|
7
|
+
import { UniversalSwipe } from "../../shared/utils/swipe";
|
|
8
|
+
/**
|
|
9
|
+
* Para a documentação completa, incluindo diretrizes de uso, acessibilidade e exemplos visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/wizard?tab=designer).
|
|
10
|
+
*
|
|
11
|
+
* @category Navegação
|
|
12
|
+
* @status stable
|
|
13
|
+
* @slot default - Slot para os painéis de etapa (br-wizard-panel) do wizard.
|
|
14
|
+
* @slot cancel-button - Conteúdo customizado do botão de cancelar. Quando utilizado, o texto padrão "Cancelar" é substituído.
|
|
15
|
+
* @slot next-button - Conteúdo customizado do botão de avançar/concluir. Quando utilizado, os textos padrão "Avançar" e "Concluir" são substituídos.
|
|
16
|
+
* @slot previous-button - Conteúdo customizado do botão de voltar. Quando utilizado, o texto padrão "Voltar" é substituído.
|
|
17
|
+
*
|
|
18
|
+
* @part form - Área do formulário do wizard.
|
|
19
|
+
* @part panel - Painel ativo do wizard.
|
|
20
|
+
* @part progress - Área de progresso do wizard.
|
|
21
|
+
* @part content - Conteúdo do painel ativo.
|
|
22
|
+
* @part buttons - Área de botões de navegação.
|
|
23
|
+
*/
|
|
24
|
+
export class Wizard {
|
|
25
|
+
constructor() {
|
|
26
|
+
/**
|
|
27
|
+
* Mensagem de status para leitores de tela (aria-live)
|
|
28
|
+
*/
|
|
29
|
+
this.ariaLiveMessage = '';
|
|
30
|
+
/**
|
|
31
|
+
* Estado collapsed para recolher/expandir barra de progresso (mobile)
|
|
32
|
+
*/
|
|
33
|
+
this.collapsed = false;
|
|
34
|
+
/**
|
|
35
|
+
* Etapa atual sendo exibida.
|
|
36
|
+
* Gerenciado internamente pelo componente.
|
|
37
|
+
*/
|
|
38
|
+
this.currentStep = 1;
|
|
39
|
+
/** Estado mobile para detecção responsiva */
|
|
40
|
+
this.isMobile = false;
|
|
41
|
+
/**
|
|
42
|
+
* Lista de painéis filhos (br-wizard-panel).
|
|
43
|
+
* Descobertos automaticamente via slot.
|
|
44
|
+
*/
|
|
45
|
+
this.panels = [];
|
|
46
|
+
/** Etapa atual (numeração 1-indexada). Reflete para atributo step. */
|
|
47
|
+
this.step = 1;
|
|
48
|
+
/**
|
|
49
|
+
* Índice da etapa inicial do wizard.
|
|
50
|
+
* Define qual etapa será exibida ao carregar o componente.
|
|
51
|
+
* A numeração começa em 1 (primeira etapa = 1, segunda = 2, etc).
|
|
52
|
+
* @deprecated Use `initialIndex`.
|
|
53
|
+
*/
|
|
54
|
+
this.initialStep = 1;
|
|
55
|
+
/**
|
|
56
|
+
* Orientação visual do wizard.
|
|
57
|
+
* Define se os indicadores de progresso serão exibidos horizontalmente ou verticalmente.
|
|
58
|
+
*/
|
|
59
|
+
this.orientation = 'horizontal';
|
|
60
|
+
/**
|
|
61
|
+
* Tipo de progressão entre etapas.
|
|
62
|
+
* - `linear`: O usuário deve completar cada etapa sequencialmente. Não é possível pular etapas futuras.
|
|
63
|
+
* - `nonlinear`: O usuário pode navegar livremente entre qualquer etapa.
|
|
64
|
+
*/
|
|
65
|
+
this.progressionType = 'nonlinear';
|
|
66
|
+
/**
|
|
67
|
+
* Identificador único do componente.
|
|
68
|
+
* Quando omitido, um valor é gerado automaticamente.
|
|
69
|
+
*
|
|
70
|
+
* > **Padrão:** valor único gerado por generateUniqueId().
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
this.customId = generateUniqueId();
|
|
74
|
+
/**
|
|
75
|
+
* Referência ao componente br-step.
|
|
76
|
+
*/
|
|
77
|
+
this.stepRef = null;
|
|
78
|
+
/**
|
|
79
|
+
* Flag para evitar loop quando sincronizamos programaticamente com br-step.
|
|
80
|
+
*/
|
|
81
|
+
this.isSyncingWithStep = false;
|
|
82
|
+
/**
|
|
83
|
+
* Instância do Swipe para gestos mobile na barra de progresso.
|
|
84
|
+
*/
|
|
85
|
+
this.progressBarSwipe = null;
|
|
86
|
+
/**
|
|
87
|
+
* Referência ao elemento DOM da barra de progresso.
|
|
88
|
+
*/
|
|
89
|
+
this.progressBarRef = null;
|
|
90
|
+
/**
|
|
91
|
+
* Referência ao elemento DOM do formulário/painel ativo.
|
|
92
|
+
*/
|
|
93
|
+
this.formRef = null;
|
|
94
|
+
/**
|
|
95
|
+
* Timer para limpar mensagens aria-live.
|
|
96
|
+
*/
|
|
97
|
+
this.ariaLiveTimeout = null;
|
|
98
|
+
/**
|
|
99
|
+
* Tempo de espera para limpar mensagens aria-live (em ms).
|
|
100
|
+
*/
|
|
101
|
+
this.ARIA_LIVE_CLEANUP_DELAY = 5000;
|
|
102
|
+
/**
|
|
103
|
+
* Seletor de elementos focáveis dentro dos painéis.
|
|
104
|
+
*/
|
|
105
|
+
this.FOCUSABLE_SELECTOR = 'br-button, button, [href], br-item, br-input, input, br-select, select, br-textarea, textarea, [tabindex]:not([tabindex="-1"])';
|
|
106
|
+
/**
|
|
107
|
+
* Handler de resize da janela.
|
|
108
|
+
* Alterna entre modos mobile/desktop e configura/limpa gestos swipe.
|
|
109
|
+
*/
|
|
110
|
+
this.handleResize = () => {
|
|
111
|
+
const wasMobile = this.isMobile;
|
|
112
|
+
this.isMobile = window.innerWidth <= 992;
|
|
113
|
+
if (this.isMobile && !wasMobile) {
|
|
114
|
+
this.collapsed = true;
|
|
115
|
+
this.setupSwipeListeners();
|
|
116
|
+
}
|
|
117
|
+
else if (!this.isMobile && wasMobile) {
|
|
118
|
+
this.cleanupSwipeListeners();
|
|
119
|
+
this.collapsed = false;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Handler de toque no formulário.
|
|
124
|
+
* Recolhe automaticamente a barra de progresso.
|
|
125
|
+
*/
|
|
126
|
+
this.handleFormTouchStart = () => {
|
|
127
|
+
this.collapseSteps();
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Handler do botão "Avançar" ou "Concluir".
|
|
131
|
+
* Se for a última etapa, valida e emite evento de conclusão.
|
|
132
|
+
* Caso contrário, avança para a próxima etapa.
|
|
133
|
+
*/
|
|
134
|
+
this.handleNext = async () => {
|
|
135
|
+
if (this.currentStep === this.panels.length) {
|
|
136
|
+
// Última etapa: validar antes de completar
|
|
137
|
+
const eventResult = this.brWizardBeforeStepChange.emit(this.currentStep);
|
|
138
|
+
// Se preventDefault() foi chamado, bloqueia conclusão
|
|
139
|
+
if (!eventResult.defaultPrevented) {
|
|
140
|
+
this.brWizardComplete.emit();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
await this.nextStep();
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Handler do botão "Voltar".
|
|
149
|
+
* Navega para a etapa anterior.
|
|
150
|
+
*/
|
|
151
|
+
this.handlePrevious = async () => {
|
|
152
|
+
await this.previousStep();
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Handler do botão "Cancelar".
|
|
156
|
+
* Emite evento de cancelamento do wizard.
|
|
157
|
+
*/
|
|
158
|
+
this.handleCancel = () => {
|
|
159
|
+
this.brWizardCancel.emit();
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Observa mudanças no tipo de progressão.
|
|
164
|
+
* Atualiza a navegação dos painéis quando muda entre linear/nonlinear.
|
|
165
|
+
*/
|
|
166
|
+
handleProgressionTypeChange() {
|
|
167
|
+
this.updatePanels();
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Observa mudanças na etapa inicial.
|
|
171
|
+
* Reinicializa o wizard quando a prop initialStep é alterada externamente.
|
|
172
|
+
*/
|
|
173
|
+
async handleInitialStepChange() {
|
|
174
|
+
this.setInitialStep();
|
|
175
|
+
await this.syncWithBrStep();
|
|
176
|
+
this.updatePanels();
|
|
177
|
+
}
|
|
178
|
+
async handleInitialIndexChange() {
|
|
179
|
+
this.setInitialStep();
|
|
180
|
+
await this.syncWithBrStep();
|
|
181
|
+
this.updatePanels();
|
|
182
|
+
}
|
|
183
|
+
async handleCurrentIndexChange(newIndex) {
|
|
184
|
+
if (newIndex !== undefined && newIndex + 1 !== this.currentStep)
|
|
185
|
+
await this.navigateToStep(newIndex + 1, true);
|
|
186
|
+
}
|
|
187
|
+
async handleStepChangeProp(newStep) {
|
|
188
|
+
if (newStep !== undefined && newStep !== this.currentStep) {
|
|
189
|
+
await this.navigateToStep(newStep, true);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Observa mudanças na etapa atual (fonte única de verdade).
|
|
194
|
+
* Sincroniza com br-step, atualiza painéis, anuncia mudança e move foco.
|
|
195
|
+
* @param newStep - Nova etapa
|
|
196
|
+
* @param oldStep - Etapa anterior
|
|
197
|
+
*/
|
|
198
|
+
async handleCurrentStepChange(newStep, oldStep) {
|
|
199
|
+
if (newStep !== oldStep) {
|
|
200
|
+
this.step = newStep;
|
|
201
|
+
this.el.setAttribute('step', String(newStep));
|
|
202
|
+
if (this.currentIndex !== undefined && this.currentIndex !== newStep - 1)
|
|
203
|
+
this.currentIndex = newStep - 1;
|
|
204
|
+
await this.syncWithBrStep();
|
|
205
|
+
this.updatePanels();
|
|
206
|
+
this.announceStepChange(newStep, oldStep);
|
|
207
|
+
this.setFocusOnActivePanel();
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Lifecycle: limpa listeners quando componente é removido.
|
|
212
|
+
*/
|
|
213
|
+
disconnectedCallback() {
|
|
214
|
+
this.cleanupMobileDetection();
|
|
215
|
+
this.cleanupSwipeListeners();
|
|
216
|
+
this.clearAriaLiveTimeout();
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Lifecycle: inicializa painéis antes da renderização.
|
|
220
|
+
*/
|
|
221
|
+
componentWillLoad() {
|
|
222
|
+
this.panels = Array.from(this.el.querySelectorAll('br-wizard-panel'));
|
|
223
|
+
this.setInitialStep();
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Lifecycle: carrega painéis e configura estado inicial.
|
|
227
|
+
* Sincroniza com br-step, atualiza painéis e configura detecção mobile.
|
|
228
|
+
*/
|
|
229
|
+
async componentDidLoad() {
|
|
230
|
+
const slot = this.el.shadowRoot?.querySelector('slot');
|
|
231
|
+
if (slot !== null && typeof slot !== 'undefined') {
|
|
232
|
+
const assignedElements = slot.assignedElements();
|
|
233
|
+
const slotPanels = assignedElements.filter((el) => el.tagName.toLowerCase() === 'br-wizard-panel');
|
|
234
|
+
if (slotPanels.length > 0) {
|
|
235
|
+
this.panels = slotPanels;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
await this.syncWithBrStep();
|
|
239
|
+
this.updatePanels();
|
|
240
|
+
this.setupMobileDetection();
|
|
241
|
+
if (this.isMobile) {
|
|
242
|
+
this.collapsed = true;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Detecta quando o slot muda (painéis adicionados/removidos dinamicamente).
|
|
247
|
+
* Redescobre os painéis e ressincroniza o estado.
|
|
248
|
+
* @param event - Evento slotchange
|
|
249
|
+
*/
|
|
250
|
+
async handleSlotChange(event) {
|
|
251
|
+
const slot = event.target;
|
|
252
|
+
this.discoverPanelsFromSlot(slot);
|
|
253
|
+
await this.syncWithBrStep();
|
|
254
|
+
this.updatePanels();
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Detecta quando o br-step muda de etapa ativa.
|
|
258
|
+
* Valida e sincroniza a navegação com o componente interno br-step.
|
|
259
|
+
* @param event - Evento customizado do br-step
|
|
260
|
+
*/
|
|
261
|
+
async handleStepChange(event) {
|
|
262
|
+
if (this.isSyncingWithStep) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
const requestedStep = event.detail.activeStep + 1;
|
|
266
|
+
const success = await this.navigateToStep(requestedStep);
|
|
267
|
+
if (!success) {
|
|
268
|
+
event.stopPropagation();
|
|
269
|
+
await this.syncWithBrStep();
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Avança para a próxima etapa.
|
|
274
|
+
* Executa validação via evento `brWizardBeforeStepChange` antes de navegar.
|
|
275
|
+
* @returns Promise<boolean> - true se navegou com sucesso, false se bloqueado
|
|
276
|
+
*/
|
|
277
|
+
async nextStep() {
|
|
278
|
+
return await this.navigateToStep(this.currentStep + 1);
|
|
279
|
+
}
|
|
280
|
+
/** Avança para a próxima etapa. */
|
|
281
|
+
async next() {
|
|
282
|
+
return await this.nextStep();
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Volta para a etapa anterior.
|
|
286
|
+
* Não executa validação ao retornar.
|
|
287
|
+
* @returns Promise<boolean> - true se navegou com sucesso, false se bloqueado
|
|
288
|
+
*/
|
|
289
|
+
async previousStep() {
|
|
290
|
+
return await this.navigateToStep(this.currentStep - 1);
|
|
291
|
+
}
|
|
292
|
+
/** Retorna para a etapa anterior. */
|
|
293
|
+
async previous() {
|
|
294
|
+
return await this.previousStep();
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Navega para uma etapa específica.
|
|
298
|
+
* Executa validação se estiver avançando (etapa alvo > etapa atual).
|
|
299
|
+
* @param stepNumber - Número da etapa de destino (numeração começa em 1)
|
|
300
|
+
* @returns Promise<boolean> - true se navegou com sucesso, false se bloqueado
|
|
301
|
+
*/
|
|
302
|
+
async goToStep(stepNumber) {
|
|
303
|
+
return await this.navigateToStep(stepNumber);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Retorna à primeira etapa do wizard.
|
|
307
|
+
* Não executa validação (útil para reiniciar o fluxo).
|
|
308
|
+
* @returns Promise<void>
|
|
309
|
+
*/
|
|
310
|
+
async reset() {
|
|
311
|
+
await this.navigateToStep(1, true);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Retorna o elemento HTML do painel ativo no momento.
|
|
315
|
+
* @returns Promise<HTMLElement | null>
|
|
316
|
+
*/
|
|
317
|
+
async getCurrentStep() {
|
|
318
|
+
return this.panels[this.currentStep - 1] || null;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Retorna todos os painéis do wizard.
|
|
322
|
+
* @returns Promise<HTMLElement[]>
|
|
323
|
+
*/
|
|
324
|
+
async getAllSteps() {
|
|
325
|
+
return [...this.panels];
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Retorna um painel específico pelo índice.
|
|
329
|
+
* @param stepNumber - Número da etapa (numeração começa em 1)
|
|
330
|
+
* @returns Promise<HTMLElement | null>
|
|
331
|
+
*/
|
|
332
|
+
async getStepByIndex(stepNumber) {
|
|
333
|
+
return this.panels[stepNumber - 1] || null;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Retorna o índice (número) da etapa atual.
|
|
337
|
+
* A numeração começa em 1 (primeira etapa = 1, segunda = 2, etc).
|
|
338
|
+
* @returns Promise<number>
|
|
339
|
+
*/
|
|
340
|
+
async getCurrentStepIndex() {
|
|
341
|
+
return this.currentStep;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Retorna o número total de etapas do wizard.
|
|
345
|
+
* @returns Promise<number>
|
|
346
|
+
*/
|
|
347
|
+
async getTotalSteps() {
|
|
348
|
+
return this.panels.length;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Método privado central que gerencia toda a navegação com validação.
|
|
352
|
+
*
|
|
353
|
+
* Comportamento unificado para linear e nonlinear:
|
|
354
|
+
* - Linear: Valida ao avançar, não permite pular steps
|
|
355
|
+
* - Nonlinear: Valida ao avançar, permite pular steps livremente
|
|
356
|
+
*
|
|
357
|
+
* @param targetStep - Número da etapa de destino (numeração começa em 1)
|
|
358
|
+
* @param skipValidation - Se true, pula validação (útil para reset/programático)
|
|
359
|
+
* @returns Promise<boolean> - true se navegou com sucesso, false se bloqueado
|
|
360
|
+
*/
|
|
361
|
+
async navigateToStep(targetStep, skipValidation = false) {
|
|
362
|
+
/**
|
|
363
|
+
* VALIDAÇÕES BÁSICAS
|
|
364
|
+
* 1. Verifica se targetStep está dentro dos limites válidos
|
|
365
|
+
* 2. Se já estamos na etapa alvo, retorna sucesso imediatamente
|
|
366
|
+
*/
|
|
367
|
+
if (targetStep < 1 || targetStep > this.panels.length) {
|
|
368
|
+
return false;
|
|
369
|
+
}
|
|
370
|
+
if (targetStep === this.currentStep) {
|
|
371
|
+
return true;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* MODO LINEAR: RESTRIÇÕES
|
|
375
|
+
* No modo linear, não é permitido pular para etapas futuras não visitadas.
|
|
376
|
+
* É possível voltar, mas não avançar além da próxima etapa sequencial.
|
|
377
|
+
*/
|
|
378
|
+
if (this.progressionType === 'linear') {
|
|
379
|
+
if (targetStep > this.currentStep + 1) {
|
|
380
|
+
const message = `Não é possível pular etapas. Complete a etapa ${this.currentStep + 1} antes de avançar.`;
|
|
381
|
+
this.announceToScreenReader(message);
|
|
382
|
+
this.brWizardNavigationBlocked.emit('linear-progression');
|
|
383
|
+
return false;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* VALIDAÇÃO CUSTOMIZADA
|
|
388
|
+
* Emite evento brWizardBeforeStepChange APENAS se:
|
|
389
|
+
* 1. Não estamos pulando validação (skipValidation=false)
|
|
390
|
+
* 2. Estamos AVANÇANDO (targetStep > currentStep)
|
|
391
|
+
*
|
|
392
|
+
* Observações:
|
|
393
|
+
* - Voltar não precisa validar
|
|
394
|
+
* - Validação se aplica a ambos os modos (linear e nonlinear)
|
|
395
|
+
*/
|
|
396
|
+
const shouldValidate = !skipValidation && targetStep > this.currentStep;
|
|
397
|
+
if (shouldValidate) {
|
|
398
|
+
const eventResult = this.brWizardBeforeStepChange.emit(targetStep);
|
|
399
|
+
/**
|
|
400
|
+
* Se preventDefault() foi chamado no listener do evento,
|
|
401
|
+
* bloqueia a navegação e retorna false
|
|
402
|
+
*/
|
|
403
|
+
if (eventResult.defaultPrevented) {
|
|
404
|
+
const message = 'Não é possível avançar. Verifique os campos obrigatórios da etapa atual.';
|
|
405
|
+
this.announceToScreenReader(message);
|
|
406
|
+
this.brWizardNavigationBlocked.emit('validation-failed');
|
|
407
|
+
return false;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* EXECUTA NAVEGAÇÃO
|
|
412
|
+
* Atualiza o estado interno e emite evento de confirmação
|
|
413
|
+
*/
|
|
414
|
+
this.currentStep = targetStep;
|
|
415
|
+
this.brWizardStepChange.emit(this.currentStep);
|
|
416
|
+
return true;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Sincroniza estado do wizard com o br-step.
|
|
420
|
+
*
|
|
421
|
+
* O br-step já gerencia completamente os atributos 'active' via componentShouldUpdate
|
|
422
|
+
* e requestAnimationFrame, então apenas chamamos os métodos de navegação dele.
|
|
423
|
+
*/
|
|
424
|
+
async syncWithBrStep() {
|
|
425
|
+
if (this.stepRef === null)
|
|
426
|
+
return;
|
|
427
|
+
if (typeof this.stepRef.GetActiveStep !== 'function') {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
this.isSyncingWithStep = true;
|
|
431
|
+
try {
|
|
432
|
+
const targetStepIndex = this.currentStep - 1;
|
|
433
|
+
const currentActiveStep = await this.stepRef.GetActiveStep();
|
|
434
|
+
if (currentActiveStep !== targetStepIndex) {
|
|
435
|
+
const diff = targetStepIndex - currentActiveStep;
|
|
436
|
+
if (diff > 0) {
|
|
437
|
+
for (let i = 0; i < diff; i++) {
|
|
438
|
+
await this.stepRef.ProceedToNextStep();
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
else {
|
|
442
|
+
for (let i = 0; i < Math.abs(diff); i++) {
|
|
443
|
+
await this.stepRef.BackToPreviousStep();
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
finally {
|
|
449
|
+
this.isSyncingWithStep = false;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Descobre painéis filhos usando assigned elements do slot.
|
|
454
|
+
* @param slot - Elemento slot do shadow DOM
|
|
455
|
+
*/
|
|
456
|
+
discoverPanelsFromSlot(slot) {
|
|
457
|
+
const assignedElements = slot.assignedElements();
|
|
458
|
+
this.panels = assignedElements.filter((el) => el.tagName.toLowerCase() === 'br-wizard-panel');
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Atualiza estados de todos os painéis.
|
|
462
|
+
* Define o índice e o estado ativo de cada painel.
|
|
463
|
+
*/
|
|
464
|
+
async updatePanels() {
|
|
465
|
+
for (let idx = 0; idx < this.panels.length; idx++) {
|
|
466
|
+
const panel = this.panels[idx];
|
|
467
|
+
const stepNumber = idx + 1;
|
|
468
|
+
const isActive = stepNumber === this.currentStep;
|
|
469
|
+
await panel.setIndex(stepNumber);
|
|
470
|
+
await panel.setActive(isActive);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Define etapa inicial baseada na prop initialStep.
|
|
475
|
+
* Garante que o valor esteja dentro dos limites válidos.
|
|
476
|
+
*/
|
|
477
|
+
setInitialStep() {
|
|
478
|
+
const initialStep = this.initialIndex === undefined ? this.initialStep : this.initialIndex + 1;
|
|
479
|
+
this.currentStep = Math.max(1, Math.min(initialStep, this.panels.length));
|
|
480
|
+
this.step = this.currentStep;
|
|
481
|
+
this.el.setAttribute('step', String(this.currentStep));
|
|
482
|
+
if (this.currentIndex !== undefined)
|
|
483
|
+
this.currentIndex = this.currentStep - 1;
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Anuncia mensagem para leitores de tela via aria-live.
|
|
487
|
+
* Limpa automaticamente após 5 segundos para evitar poluição.
|
|
488
|
+
* @param message - Mensagem a ser anunciada
|
|
489
|
+
*/
|
|
490
|
+
announceToScreenReader(message) {
|
|
491
|
+
this.ariaLiveMessage = '';
|
|
492
|
+
requestAnimationFrame(() => {
|
|
493
|
+
this.ariaLiveMessage = message;
|
|
494
|
+
this.clearAriaLiveTimeout();
|
|
495
|
+
this.ariaLiveTimeout = window.setTimeout(() => {
|
|
496
|
+
this.ariaLiveMessage = '';
|
|
497
|
+
}, this.ARIA_LIVE_CLEANUP_DELAY);
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Anuncia mudança de etapa para leitores de tela.
|
|
502
|
+
* Informa direção da navegação e progresso atual.
|
|
503
|
+
* @param newStep - Nova etapa
|
|
504
|
+
* @param oldStep - Etapa anterior
|
|
505
|
+
*/
|
|
506
|
+
announceStepChange(newStep, oldStep) {
|
|
507
|
+
const totalSteps = this.panels.length;
|
|
508
|
+
let direction = '';
|
|
509
|
+
if (newStep > oldStep) {
|
|
510
|
+
direction = 'Avançando para';
|
|
511
|
+
}
|
|
512
|
+
else if (newStep < oldStep) {
|
|
513
|
+
direction = 'Retornando para';
|
|
514
|
+
}
|
|
515
|
+
const message = `${direction}, etapa ${newStep} de ${totalSteps}`;
|
|
516
|
+
this.announceToScreenReader(message);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Limpa o timeout de mensagens aria-live.
|
|
520
|
+
*/
|
|
521
|
+
clearAriaLiveTimeout() {
|
|
522
|
+
if (this.ariaLiveTimeout !== null) {
|
|
523
|
+
clearTimeout(this.ariaLiveTimeout);
|
|
524
|
+
this.ariaLiveTimeout = null;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Move foco para o primeiro elemento do painel ativo.
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
setFocusOnActivePanel() {
|
|
532
|
+
requestAnimationFrame(() => {
|
|
533
|
+
const activePanel = this.panels[this.currentStep - 1];
|
|
534
|
+
if (typeof activePanel === 'undefined')
|
|
535
|
+
return;
|
|
536
|
+
const panelElement = activePanel.shadowRoot?.querySelector('.wizard-panel-content');
|
|
537
|
+
if (typeof panelElement === 'undefined' || panelElement === null)
|
|
538
|
+
return;
|
|
539
|
+
const focusableElements = panelElement.querySelectorAll(this.FOCUSABLE_SELECTOR);
|
|
540
|
+
if (focusableElements.length > 0) {
|
|
541
|
+
focusableElements[0].focus();
|
|
542
|
+
}
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Configura detecção de viewport mobile.
|
|
547
|
+
* Ativa listeners de resize e configura gestos swipe.
|
|
548
|
+
*/
|
|
549
|
+
setupMobileDetection() {
|
|
550
|
+
this.isMobile = window.innerWidth <= 992;
|
|
551
|
+
window.addEventListener('resize', this.handleResize);
|
|
552
|
+
if (this.isMobile) {
|
|
553
|
+
if (this.orientation === 'vertical') {
|
|
554
|
+
this.collapsed = true;
|
|
555
|
+
}
|
|
556
|
+
this.setupSwipeListeners();
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Remove listeners de detecção mobile.
|
|
561
|
+
*/
|
|
562
|
+
cleanupMobileDetection() {
|
|
563
|
+
window.removeEventListener('resize', this.handleResize);
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Configura gestos swipe para mobile.
|
|
567
|
+
*/
|
|
568
|
+
setupSwipeListeners() {
|
|
569
|
+
if (!this.isMobile)
|
|
570
|
+
return;
|
|
571
|
+
requestAnimationFrame(() => {
|
|
572
|
+
this.progressBarRef = this.el.shadowRoot?.querySelector('.wizard-progress') || null;
|
|
573
|
+
this.formRef = this.el.shadowRoot?.querySelector('.wizard-form') || null;
|
|
574
|
+
if (this.progressBarRef !== null) {
|
|
575
|
+
const direction = this.orientation === 'horizontal' ? 'vertical' : 'horizontal';
|
|
576
|
+
this.progressBarSwipe = new UniversalSwipe(this.progressBarRef, { direction });
|
|
577
|
+
if (this.orientation === 'horizontal') {
|
|
578
|
+
this.progressBarSwipe.on('SWIPE_DOWN', () => this.expandSteps());
|
|
579
|
+
this.progressBarSwipe.on('SWIPE_UP', () => this.collapseSteps());
|
|
580
|
+
}
|
|
581
|
+
else {
|
|
582
|
+
this.progressBarSwipe.on('SWIPE_RIGHT', () => this.expandSteps());
|
|
583
|
+
this.progressBarSwipe.on('SWIPE_LEFT', () => this.collapseSteps());
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
if (this.formRef !== null) {
|
|
587
|
+
this.formRef.addEventListener('touchstart', this.handleFormTouchStart, { passive: true });
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Remove listeners de gestos swipe.
|
|
593
|
+
*/
|
|
594
|
+
cleanupSwipeListeners() {
|
|
595
|
+
if (this.progressBarSwipe !== null) {
|
|
596
|
+
this.progressBarSwipe.off('SWIPE_DOWN', this.expandSteps);
|
|
597
|
+
this.progressBarSwipe.off('SWIPE_UP', this.collapseSteps);
|
|
598
|
+
this.progressBarSwipe.off('SWIPE_RIGHT', this.expandSteps);
|
|
599
|
+
this.progressBarSwipe.off('SWIPE_LEFT', this.collapseSteps);
|
|
600
|
+
this.progressBarSwipe.destroy();
|
|
601
|
+
this.progressBarSwipe = null;
|
|
602
|
+
}
|
|
603
|
+
if (this.formRef !== null) {
|
|
604
|
+
this.formRef.removeEventListener('touchstart', this.handleFormTouchStart);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Recolhe a barra de progresso (mobile).
|
|
609
|
+
* Adiciona o atributo 'collapsed' ao host.
|
|
610
|
+
*/
|
|
611
|
+
collapseSteps() {
|
|
612
|
+
if (this.isMobile) {
|
|
613
|
+
this.collapsed = true;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Expande a barra de progresso (mobile).
|
|
618
|
+
* Remove o atributo 'collapsed' do host.
|
|
619
|
+
*/
|
|
620
|
+
expandSteps() {
|
|
621
|
+
if (this.isMobile) {
|
|
622
|
+
this.collapsed = false;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Retorna classes CSS do container principal.
|
|
627
|
+
* @returns CssClassMap - Mapa de classes CSS
|
|
628
|
+
*/
|
|
629
|
+
getHostClassMap() {
|
|
630
|
+
return {
|
|
631
|
+
'br-wizard': true,
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Renderiza indicadores de progresso usando br-step.
|
|
636
|
+
* @returns JSX.Element | null - Elemento de progresso ou null se não houver painéis
|
|
637
|
+
*/
|
|
638
|
+
renderProgress() {
|
|
639
|
+
if (this.panels.length === 0) {
|
|
640
|
+
return null;
|
|
641
|
+
}
|
|
642
|
+
return (h("div", { class: "wizard-progress", part: "progress" }, h("br-step", { ref: (el) => (this.stepRef = el), "initial-step": String(this.currentStep - 1), layout: this.orientation, "label-position": this.orientation === 'vertical' ? 'bottom' : 'bottom', "progression-type": this.progressionType, mode: "step" }, this.panels.map((panel, index) => {
|
|
643
|
+
const label = panel.getAttribute('label') || '';
|
|
644
|
+
return (h("br-step-item", { key: panel.id || panel.getAttribute('custom-id') || `wizard-panel-${index}`, label: label }));
|
|
645
|
+
}))));
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* Renderiza conteúdo dos painéis via slot.
|
|
649
|
+
* @returns JSX.Element - Container com slot dos painéis
|
|
650
|
+
*/
|
|
651
|
+
renderPanelContent() {
|
|
652
|
+
return (h("div", { class: "wizard-panel-content", part: "content" }, h("slot", null)));
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Renderiza botões de navegação do wizard.
|
|
656
|
+
* Adapta-se ao contexto: primeira etapa, última etapa, mobile/desktop.
|
|
657
|
+
* @returns JSX.Element - Container com botões de navegação
|
|
658
|
+
*/
|
|
659
|
+
renderPanelButtons() {
|
|
660
|
+
const isFirst = this.currentStep === 1;
|
|
661
|
+
const isLast = this.currentStep === this.panels.length;
|
|
662
|
+
const buttonShape = this.isMobile ? 'block' : undefined;
|
|
663
|
+
return (h("div", { class: "wizard-panel-btn", part: "buttons" }, h("br-button", { class: "wizard-btn-canc", type: "button", shape: buttonShape, emphasis: "tertiary", "prop:ariaLabel": "Cancelar", onClick: this.handleCancel }, h("slot", { name: "cancel-button" }, "Cancelar")), h("br-button", { class: isLast ? 'wizard-btn' : 'wizard-btn-next', emphasis: "primary", type: "button", shape: buttonShape, "prop:ariaLabel": isLast ? 'Concluir' : 'Avançar', onClick: this.handleNext }, h("slot", { name: "next-button" }, isLast ? 'Concluir' : 'Avançar')), !isFirst && (h("br-button", { class: "wizard-btn-prev", emphasis: "secondary", type: "button", shape: buttonShape, "prop:ariaLabel": "Voltar", onClick: this.handlePrevious }, h("slot", { name: "previous-button" }, "Voltar")))));
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Renderiza região de anúncios para leitores de tela.
|
|
667
|
+
* Usa aria-live para comunicar mudanças de estado de forma acessível.
|
|
668
|
+
* @returns JSX.Element - Elemento sr-only com aria-live
|
|
669
|
+
*/
|
|
670
|
+
renderAriaLiveRegion() {
|
|
671
|
+
return (h("div", { class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.ariaLiveMessage));
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Método de renderização principal do componente.
|
|
675
|
+
* Monta a estrutura completa do wizard com acessibilidade integrada.
|
|
676
|
+
* @returns JSX.Element - Estrutura completa do wizard
|
|
677
|
+
*/
|
|
678
|
+
render() {
|
|
679
|
+
const hostClass = this.getHostClassMap();
|
|
680
|
+
const verticalAttr = this.orientation === 'vertical' ? { vertical: '' } : {};
|
|
681
|
+
const collapsedAttr = this.collapsed ? { collapsed: '' } : {};
|
|
682
|
+
const activePanelAttr = { active: '' };
|
|
683
|
+
// Atributos ARIA para o painel ativo
|
|
684
|
+
const totalSteps = this.panels.length;
|
|
685
|
+
const currentPanel = this.panels[this.currentStep - 1];
|
|
686
|
+
const stepLabel = currentPanel?.getAttribute('label') || `Etapa ${this.currentStep}`;
|
|
687
|
+
return (h(Host, { key: 'f01acdc3c90053109123a756711e0d37b2dc77d7', class: hostClass, ...verticalAttr, ...collapsedAttr, step: String(this.currentStep) }, this.renderAriaLiveRegion(), this.renderProgress(), h("div", { key: '7c79f3c8404807e951b85f9916e42c16a964a41d', class: "wizard-form", role: "region", "aria-label": `Wizard: ${stepLabel}`, part: "form" }, h("div", { key: '21e0bf5935d80f9b6f40d1bcd1783de6cc771298', class: "wizard-panel", ...activePanelAttr, role: "group", "aria-label": `${stepLabel}, etapa ${this.currentStep} de ${totalSteps}`, part: "panel" }, this.renderPanelContent(), this.renderPanelButtons()))));
|
|
688
|
+
}
|
|
689
|
+
static get is() { return "br-wizard"; }
|
|
690
|
+
static get encapsulation() { return "shadow"; }
|
|
691
|
+
static get originalStyleUrls() {
|
|
692
|
+
return {
|
|
693
|
+
"$": ["wizard.scss"]
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
static get styleUrls() {
|
|
697
|
+
return {
|
|
698
|
+
"$": ["wizard.css"]
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
static get properties() {
|
|
702
|
+
return {
|
|
703
|
+
"step": {
|
|
704
|
+
"type": "number",
|
|
705
|
+
"mutable": true,
|
|
706
|
+
"complexType": {
|
|
707
|
+
"original": "number",
|
|
708
|
+
"resolved": "number",
|
|
709
|
+
"references": {}
|
|
710
|
+
},
|
|
711
|
+
"required": false,
|
|
712
|
+
"optional": false,
|
|
713
|
+
"docs": {
|
|
714
|
+
"tags": [],
|
|
715
|
+
"text": "Etapa atual (numera\u00E7\u00E3o 1-indexada). Reflete para atributo step."
|
|
716
|
+
},
|
|
717
|
+
"getter": false,
|
|
718
|
+
"setter": false,
|
|
719
|
+
"reflect": true,
|
|
720
|
+
"attribute": "step",
|
|
721
|
+
"defaultValue": "1"
|
|
722
|
+
},
|
|
723
|
+
"initialStep": {
|
|
724
|
+
"type": "number",
|
|
725
|
+
"mutable": false,
|
|
726
|
+
"complexType": {
|
|
727
|
+
"original": "number",
|
|
728
|
+
"resolved": "number",
|
|
729
|
+
"references": {}
|
|
730
|
+
},
|
|
731
|
+
"required": false,
|
|
732
|
+
"optional": false,
|
|
733
|
+
"docs": {
|
|
734
|
+
"tags": [{
|
|
735
|
+
"name": "deprecated",
|
|
736
|
+
"text": "Use `initialIndex`."
|
|
737
|
+
}],
|
|
738
|
+
"text": "\u00CDndice da etapa inicial do wizard.\nDefine qual etapa ser\u00E1 exibida ao carregar o componente.\nA numera\u00E7\u00E3o come\u00E7a em 1 (primeira etapa = 1, segunda = 2, etc)."
|
|
739
|
+
},
|
|
740
|
+
"getter": false,
|
|
741
|
+
"setter": false,
|
|
742
|
+
"reflect": true,
|
|
743
|
+
"attribute": "initial-step",
|
|
744
|
+
"defaultValue": "1"
|
|
745
|
+
},
|
|
746
|
+
"initialIndex": {
|
|
747
|
+
"type": "number",
|
|
748
|
+
"mutable": false,
|
|
749
|
+
"complexType": {
|
|
750
|
+
"original": "number",
|
|
751
|
+
"resolved": "number",
|
|
752
|
+
"references": {}
|
|
753
|
+
},
|
|
754
|
+
"required": false,
|
|
755
|
+
"optional": true,
|
|
756
|
+
"docs": {
|
|
757
|
+
"tags": [],
|
|
758
|
+
"text": "\u00CDndice inicial zero-based. Quando informado, tem preced\u00EAncia sobre `initialStep`."
|
|
759
|
+
},
|
|
760
|
+
"getter": false,
|
|
761
|
+
"setter": false,
|
|
762
|
+
"reflect": true,
|
|
763
|
+
"attribute": "initial-index"
|
|
764
|
+
},
|
|
765
|
+
"currentIndex": {
|
|
766
|
+
"type": "number",
|
|
767
|
+
"mutable": true,
|
|
768
|
+
"complexType": {
|
|
769
|
+
"original": "number",
|
|
770
|
+
"resolved": "number",
|
|
771
|
+
"references": {}
|
|
772
|
+
},
|
|
773
|
+
"required": false,
|
|
774
|
+
"optional": true,
|
|
775
|
+
"docs": {
|
|
776
|
+
"tags": [],
|
|
777
|
+
"text": "\u00CDndice atual zero-based para controle externo opcional."
|
|
778
|
+
},
|
|
779
|
+
"getter": false,
|
|
780
|
+
"setter": false,
|
|
781
|
+
"reflect": true,
|
|
782
|
+
"attribute": "current-index"
|
|
783
|
+
},
|
|
784
|
+
"orientation": {
|
|
785
|
+
"type": "string",
|
|
786
|
+
"mutable": false,
|
|
787
|
+
"complexType": {
|
|
788
|
+
"original": "BrOrientation",
|
|
789
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
790
|
+
"references": {
|
|
791
|
+
"BrOrientation": {
|
|
792
|
+
"location": "import",
|
|
793
|
+
"path": "../global.types",
|
|
794
|
+
"id": "src/components/global.types.ts::BrOrientation",
|
|
795
|
+
"referenceLocation": "BrOrientation"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": false,
|
|
800
|
+
"optional": false,
|
|
801
|
+
"docs": {
|
|
802
|
+
"tags": [],
|
|
803
|
+
"text": "Orienta\u00E7\u00E3o visual do wizard.\nDefine se os indicadores de progresso ser\u00E3o exibidos horizontalmente ou verticalmente."
|
|
804
|
+
},
|
|
805
|
+
"getter": false,
|
|
806
|
+
"setter": false,
|
|
807
|
+
"reflect": true,
|
|
808
|
+
"attribute": "orientation",
|
|
809
|
+
"defaultValue": "'horizontal'"
|
|
810
|
+
},
|
|
811
|
+
"progressionType": {
|
|
812
|
+
"type": "string",
|
|
813
|
+
"mutable": false,
|
|
814
|
+
"complexType": {
|
|
815
|
+
"original": "BrProgressionType",
|
|
816
|
+
"resolved": "\"linear\" | \"nonlinear\"",
|
|
817
|
+
"references": {
|
|
818
|
+
"BrProgressionType": {
|
|
819
|
+
"location": "import",
|
|
820
|
+
"path": "../global.types",
|
|
821
|
+
"id": "src/components/global.types.ts::BrProgressionType",
|
|
822
|
+
"referenceLocation": "BrProgressionType"
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"required": false,
|
|
827
|
+
"optional": false,
|
|
828
|
+
"docs": {
|
|
829
|
+
"tags": [],
|
|
830
|
+
"text": "Tipo de progress\u00E3o entre etapas.\n- `linear`: O usu\u00E1rio deve completar cada etapa sequencialmente. N\u00E3o \u00E9 poss\u00EDvel pular etapas futuras.\n- `nonlinear`: O usu\u00E1rio pode navegar livremente entre qualquer etapa."
|
|
831
|
+
},
|
|
832
|
+
"getter": false,
|
|
833
|
+
"setter": false,
|
|
834
|
+
"reflect": true,
|
|
835
|
+
"attribute": "progression-type",
|
|
836
|
+
"defaultValue": "'nonlinear'"
|
|
837
|
+
},
|
|
838
|
+
"customId": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"mutable": false,
|
|
841
|
+
"complexType": {
|
|
842
|
+
"original": "string",
|
|
843
|
+
"resolved": "string",
|
|
844
|
+
"references": {}
|
|
845
|
+
},
|
|
846
|
+
"required": false,
|
|
847
|
+
"optional": false,
|
|
848
|
+
"docs": {
|
|
849
|
+
"tags": [],
|
|
850
|
+
"text": "Identificador \u00FAnico do componente.\nQuando omitido, um valor \u00E9 gerado automaticamente.\n\n> **Padr\u00E3o:** valor \u00FAnico gerado por generateUniqueId()."
|
|
851
|
+
},
|
|
852
|
+
"getter": false,
|
|
853
|
+
"setter": false,
|
|
854
|
+
"reflect": true,
|
|
855
|
+
"attribute": "custom-id",
|
|
856
|
+
"defaultValue": "generateUniqueId()"
|
|
857
|
+
}
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
static get states() {
|
|
861
|
+
return {
|
|
862
|
+
"ariaLiveMessage": {},
|
|
863
|
+
"collapsed": {},
|
|
864
|
+
"currentStep": {},
|
|
865
|
+
"isMobile": {},
|
|
866
|
+
"panels": {}
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
static get events() {
|
|
870
|
+
return [{
|
|
871
|
+
"method": "brWizardStepChange",
|
|
872
|
+
"name": "brWizardStepChange",
|
|
873
|
+
"bubbles": true,
|
|
874
|
+
"cancelable": true,
|
|
875
|
+
"composed": true,
|
|
876
|
+
"docs": {
|
|
877
|
+
"tags": [],
|
|
878
|
+
"text": "Evento emitido AP\u00D3S mudar de etapa com sucesso.\n\nEste evento \u00E9 disparado independente da origem da navega\u00E7\u00E3o:\n- Bot\u00F5es \"Avan\u00E7ar\" ou \"Voltar\"\n- Click direto em um step do indicador de progresso\n- Chamadas program\u00E1ticas via m\u00E9todos p\u00FAblicos (goToStep, nextStep, etc)"
|
|
879
|
+
},
|
|
880
|
+
"complexType": {
|
|
881
|
+
"original": "number",
|
|
882
|
+
"resolved": "number",
|
|
883
|
+
"references": {}
|
|
884
|
+
}
|
|
885
|
+
}, {
|
|
886
|
+
"method": "brWizardBeforeStepChange",
|
|
887
|
+
"name": "brWizardBeforeStepChange",
|
|
888
|
+
"bubbles": true,
|
|
889
|
+
"cancelable": true,
|
|
890
|
+
"composed": true,
|
|
891
|
+
"docs": {
|
|
892
|
+
"tags": [],
|
|
893
|
+
"text": "Evento emitido ANTES de mudar de etapa (permite valida\u00E7\u00E3o e cancelamento).\n\nComportamento:\n- Disparado apenas ao AVAN\u00C7AR (targetStep > currentStep)\n- N\u00E3o \u00E9 disparado ao VOLTAR (targetStep < currentStep)\n- Funciona tanto para cliques nos bot\u00F5es quanto para cliques diretos nos steps\n- Pode ser cancelado com `event.preventDefault()` para bloquear a navega\u00E7\u00E3o"
|
|
894
|
+
},
|
|
895
|
+
"complexType": {
|
|
896
|
+
"original": "number",
|
|
897
|
+
"resolved": "number",
|
|
898
|
+
"references": {}
|
|
899
|
+
}
|
|
900
|
+
}, {
|
|
901
|
+
"method": "brWizardComplete",
|
|
902
|
+
"name": "brWizardComplete",
|
|
903
|
+
"bubbles": true,
|
|
904
|
+
"cancelable": true,
|
|
905
|
+
"composed": true,
|
|
906
|
+
"docs": {
|
|
907
|
+
"tags": [],
|
|
908
|
+
"text": "Evento emitido ao concluir o wizard (\u00FAltima etapa)."
|
|
909
|
+
},
|
|
910
|
+
"complexType": {
|
|
911
|
+
"original": "void",
|
|
912
|
+
"resolved": "void",
|
|
913
|
+
"references": {}
|
|
914
|
+
}
|
|
915
|
+
}, {
|
|
916
|
+
"method": "brWizardCancel",
|
|
917
|
+
"name": "brWizardCancel",
|
|
918
|
+
"bubbles": true,
|
|
919
|
+
"cancelable": true,
|
|
920
|
+
"composed": true,
|
|
921
|
+
"docs": {
|
|
922
|
+
"tags": [],
|
|
923
|
+
"text": "Evento emitido ao cancelar o wizard."
|
|
924
|
+
},
|
|
925
|
+
"complexType": {
|
|
926
|
+
"original": "void",
|
|
927
|
+
"resolved": "void",
|
|
928
|
+
"references": {}
|
|
929
|
+
}
|
|
930
|
+
}, {
|
|
931
|
+
"method": "brWizardNavigationBlocked",
|
|
932
|
+
"name": "brWizardNavigationBlocked",
|
|
933
|
+
"bubbles": true,
|
|
934
|
+
"cancelable": true,
|
|
935
|
+
"composed": true,
|
|
936
|
+
"docs": {
|
|
937
|
+
"tags": [],
|
|
938
|
+
"text": "Evento emitido quando uma a\u00E7\u00E3o \u00E9 bloqueada (valida\u00E7\u00E3o falha, progress\u00E3o linear impedida).\nEmite uma string indicando o motivo: 'linear-progression' ou 'validation-failed'.\nUse getCurrentStepIndex() para obter o contexto da etapa atual."
|
|
939
|
+
},
|
|
940
|
+
"complexType": {
|
|
941
|
+
"original": "string",
|
|
942
|
+
"resolved": "string",
|
|
943
|
+
"references": {}
|
|
944
|
+
}
|
|
945
|
+
}];
|
|
946
|
+
}
|
|
947
|
+
static get methods() {
|
|
948
|
+
return {
|
|
949
|
+
"nextStep": {
|
|
950
|
+
"complexType": {
|
|
951
|
+
"signature": "() => Promise<boolean>",
|
|
952
|
+
"parameters": [],
|
|
953
|
+
"references": {
|
|
954
|
+
"Promise": {
|
|
955
|
+
"location": "global",
|
|
956
|
+
"id": "global::Promise"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"return": "Promise<boolean>"
|
|
960
|
+
},
|
|
961
|
+
"docs": {
|
|
962
|
+
"text": "Avan\u00E7a para a pr\u00F3xima etapa.\nExecuta valida\u00E7\u00E3o via evento `brWizardBeforeStepChange` antes de navegar.",
|
|
963
|
+
"tags": [{
|
|
964
|
+
"name": "returns",
|
|
965
|
+
"text": "Promise<boolean> - true se navegou com sucesso, false se bloqueado"
|
|
966
|
+
}]
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"next": {
|
|
970
|
+
"complexType": {
|
|
971
|
+
"signature": "() => Promise<boolean>",
|
|
972
|
+
"parameters": [],
|
|
973
|
+
"references": {
|
|
974
|
+
"Promise": {
|
|
975
|
+
"location": "global",
|
|
976
|
+
"id": "global::Promise"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"return": "Promise<boolean>"
|
|
980
|
+
},
|
|
981
|
+
"docs": {
|
|
982
|
+
"text": "Avan\u00E7a para a pr\u00F3xima etapa.",
|
|
983
|
+
"tags": []
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"previousStep": {
|
|
987
|
+
"complexType": {
|
|
988
|
+
"signature": "() => Promise<boolean>",
|
|
989
|
+
"parameters": [],
|
|
990
|
+
"references": {
|
|
991
|
+
"Promise": {
|
|
992
|
+
"location": "global",
|
|
993
|
+
"id": "global::Promise"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"return": "Promise<boolean>"
|
|
997
|
+
},
|
|
998
|
+
"docs": {
|
|
999
|
+
"text": "Volta para a etapa anterior.\nN\u00E3o executa valida\u00E7\u00E3o ao retornar.",
|
|
1000
|
+
"tags": [{
|
|
1001
|
+
"name": "returns",
|
|
1002
|
+
"text": "Promise<boolean> - true se navegou com sucesso, false se bloqueado"
|
|
1003
|
+
}]
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"previous": {
|
|
1007
|
+
"complexType": {
|
|
1008
|
+
"signature": "() => Promise<boolean>",
|
|
1009
|
+
"parameters": [],
|
|
1010
|
+
"references": {
|
|
1011
|
+
"Promise": {
|
|
1012
|
+
"location": "global",
|
|
1013
|
+
"id": "global::Promise"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
"return": "Promise<boolean>"
|
|
1017
|
+
},
|
|
1018
|
+
"docs": {
|
|
1019
|
+
"text": "Retorna para a etapa anterior.",
|
|
1020
|
+
"tags": []
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"goToStep": {
|
|
1024
|
+
"complexType": {
|
|
1025
|
+
"signature": "(stepNumber: number) => Promise<boolean>",
|
|
1026
|
+
"parameters": [{
|
|
1027
|
+
"name": "stepNumber",
|
|
1028
|
+
"type": "number",
|
|
1029
|
+
"docs": "- N\u00FAmero da etapa de destino (numera\u00E7\u00E3o come\u00E7a em 1)"
|
|
1030
|
+
}],
|
|
1031
|
+
"references": {
|
|
1032
|
+
"Promise": {
|
|
1033
|
+
"location": "global",
|
|
1034
|
+
"id": "global::Promise"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"return": "Promise<boolean>"
|
|
1038
|
+
},
|
|
1039
|
+
"docs": {
|
|
1040
|
+
"text": "Navega para uma etapa espec\u00EDfica.\nExecuta valida\u00E7\u00E3o se estiver avan\u00E7ando (etapa alvo > etapa atual).",
|
|
1041
|
+
"tags": [{
|
|
1042
|
+
"name": "param",
|
|
1043
|
+
"text": "stepNumber - N\u00FAmero da etapa de destino (numera\u00E7\u00E3o come\u00E7a em 1)"
|
|
1044
|
+
}, {
|
|
1045
|
+
"name": "returns",
|
|
1046
|
+
"text": "Promise<boolean> - true se navegou com sucesso, false se bloqueado"
|
|
1047
|
+
}]
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"reset": {
|
|
1051
|
+
"complexType": {
|
|
1052
|
+
"signature": "() => Promise<void>",
|
|
1053
|
+
"parameters": [],
|
|
1054
|
+
"references": {
|
|
1055
|
+
"Promise": {
|
|
1056
|
+
"location": "global",
|
|
1057
|
+
"id": "global::Promise"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"return": "Promise<void>"
|
|
1061
|
+
},
|
|
1062
|
+
"docs": {
|
|
1063
|
+
"text": "Retorna \u00E0 primeira etapa do wizard.\nN\u00E3o executa valida\u00E7\u00E3o (\u00FAtil para reiniciar o fluxo).",
|
|
1064
|
+
"tags": [{
|
|
1065
|
+
"name": "returns",
|
|
1066
|
+
"text": "Promise<void>"
|
|
1067
|
+
}]
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"getCurrentStep": {
|
|
1071
|
+
"complexType": {
|
|
1072
|
+
"signature": "() => Promise<HTMLElement | null>",
|
|
1073
|
+
"parameters": [],
|
|
1074
|
+
"references": {
|
|
1075
|
+
"Promise": {
|
|
1076
|
+
"location": "global",
|
|
1077
|
+
"id": "global::Promise"
|
|
1078
|
+
},
|
|
1079
|
+
"HTMLElement": {
|
|
1080
|
+
"location": "global",
|
|
1081
|
+
"id": "global::HTMLElement"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"return": "Promise<HTMLElement>"
|
|
1085
|
+
},
|
|
1086
|
+
"docs": {
|
|
1087
|
+
"text": "Retorna o elemento HTML do painel ativo no momento.",
|
|
1088
|
+
"tags": [{
|
|
1089
|
+
"name": "returns",
|
|
1090
|
+
"text": "Promise<HTMLElement | null>"
|
|
1091
|
+
}]
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
"getAllSteps": {
|
|
1095
|
+
"complexType": {
|
|
1096
|
+
"signature": "() => Promise<HTMLElement[]>",
|
|
1097
|
+
"parameters": [],
|
|
1098
|
+
"references": {
|
|
1099
|
+
"Promise": {
|
|
1100
|
+
"location": "global",
|
|
1101
|
+
"id": "global::Promise"
|
|
1102
|
+
},
|
|
1103
|
+
"HTMLElement": {
|
|
1104
|
+
"location": "global",
|
|
1105
|
+
"id": "global::HTMLElement"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"return": "Promise<HTMLElement[]>"
|
|
1109
|
+
},
|
|
1110
|
+
"docs": {
|
|
1111
|
+
"text": "Retorna todos os pain\u00E9is do wizard.",
|
|
1112
|
+
"tags": [{
|
|
1113
|
+
"name": "returns",
|
|
1114
|
+
"text": "Promise<HTMLElement[]>"
|
|
1115
|
+
}]
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"getStepByIndex": {
|
|
1119
|
+
"complexType": {
|
|
1120
|
+
"signature": "(stepNumber: number) => Promise<HTMLElement | null>",
|
|
1121
|
+
"parameters": [{
|
|
1122
|
+
"name": "stepNumber",
|
|
1123
|
+
"type": "number",
|
|
1124
|
+
"docs": "- N\u00FAmero da etapa (numera\u00E7\u00E3o come\u00E7a em 1)"
|
|
1125
|
+
}],
|
|
1126
|
+
"references": {
|
|
1127
|
+
"Promise": {
|
|
1128
|
+
"location": "global",
|
|
1129
|
+
"id": "global::Promise"
|
|
1130
|
+
},
|
|
1131
|
+
"HTMLElement": {
|
|
1132
|
+
"location": "global",
|
|
1133
|
+
"id": "global::HTMLElement"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"return": "Promise<HTMLElement>"
|
|
1137
|
+
},
|
|
1138
|
+
"docs": {
|
|
1139
|
+
"text": "Retorna um painel espec\u00EDfico pelo \u00EDndice.",
|
|
1140
|
+
"tags": [{
|
|
1141
|
+
"name": "param",
|
|
1142
|
+
"text": "stepNumber - N\u00FAmero da etapa (numera\u00E7\u00E3o come\u00E7a em 1)"
|
|
1143
|
+
}, {
|
|
1144
|
+
"name": "returns",
|
|
1145
|
+
"text": "Promise<HTMLElement | null>"
|
|
1146
|
+
}]
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"getCurrentStepIndex": {
|
|
1150
|
+
"complexType": {
|
|
1151
|
+
"signature": "() => Promise<number>",
|
|
1152
|
+
"parameters": [],
|
|
1153
|
+
"references": {
|
|
1154
|
+
"Promise": {
|
|
1155
|
+
"location": "global",
|
|
1156
|
+
"id": "global::Promise"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"return": "Promise<number>"
|
|
1160
|
+
},
|
|
1161
|
+
"docs": {
|
|
1162
|
+
"text": "Retorna o \u00EDndice (n\u00FAmero) da etapa atual.\nA numera\u00E7\u00E3o come\u00E7a em 1 (primeira etapa = 1, segunda = 2, etc).",
|
|
1163
|
+
"tags": [{
|
|
1164
|
+
"name": "returns",
|
|
1165
|
+
"text": "Promise<number>"
|
|
1166
|
+
}]
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"getTotalSteps": {
|
|
1170
|
+
"complexType": {
|
|
1171
|
+
"signature": "() => Promise<number>",
|
|
1172
|
+
"parameters": [],
|
|
1173
|
+
"references": {
|
|
1174
|
+
"Promise": {
|
|
1175
|
+
"location": "global",
|
|
1176
|
+
"id": "global::Promise"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"return": "Promise<number>"
|
|
1180
|
+
},
|
|
1181
|
+
"docs": {
|
|
1182
|
+
"text": "Retorna o n\u00FAmero total de etapas do wizard.",
|
|
1183
|
+
"tags": [{
|
|
1184
|
+
"name": "returns",
|
|
1185
|
+
"text": "Promise<number>"
|
|
1186
|
+
}]
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
static get elementRef() { return "el"; }
|
|
1192
|
+
static get watchers() {
|
|
1193
|
+
return [{
|
|
1194
|
+
"propName": "progressionType",
|
|
1195
|
+
"methodName": "handleProgressionTypeChange"
|
|
1196
|
+
}, {
|
|
1197
|
+
"propName": "initialStep",
|
|
1198
|
+
"methodName": "handleInitialStepChange"
|
|
1199
|
+
}, {
|
|
1200
|
+
"propName": "initialIndex",
|
|
1201
|
+
"methodName": "handleInitialIndexChange"
|
|
1202
|
+
}, {
|
|
1203
|
+
"propName": "currentIndex",
|
|
1204
|
+
"methodName": "handleCurrentIndexChange"
|
|
1205
|
+
}, {
|
|
1206
|
+
"propName": "step",
|
|
1207
|
+
"methodName": "handleStepChangeProp"
|
|
1208
|
+
}, {
|
|
1209
|
+
"propName": "currentStep",
|
|
1210
|
+
"methodName": "handleCurrentStepChange"
|
|
1211
|
+
}];
|
|
1212
|
+
}
|
|
1213
|
+
static get listeners() {
|
|
1214
|
+
return [{
|
|
1215
|
+
"name": "slotchange",
|
|
1216
|
+
"method": "handleSlotChange",
|
|
1217
|
+
"target": undefined,
|
|
1218
|
+
"capture": false,
|
|
1219
|
+
"passive": false
|
|
1220
|
+
}, {
|
|
1221
|
+
"name": "brStepChange",
|
|
1222
|
+
"method": "handleStepChange",
|
|
1223
|
+
"target": undefined,
|
|
1224
|
+
"capture": false,
|
|
1225
|
+
"passive": false
|
|
1226
|
+
}];
|
|
1227
|
+
}
|
|
1228
|
+
}
|