@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,1131 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h, } from "@stencil/core";
|
|
6
|
+
import { BREAKPOINTS, BreakpointObserver } from "../../shared/utils/breakpoint-observer";
|
|
7
|
+
import { generateUniqueId } from "../../shared/utils/id";
|
|
8
|
+
import { handleNavigationClick } from "../../shared/utils/navigation";
|
|
9
|
+
import { createRafBatcher } from "../../shared/utils/raf-batcher";
|
|
10
|
+
/**
|
|
11
|
+
* Nomes das áreas do cabeçalho.
|
|
12
|
+
*/
|
|
13
|
+
const HeaderSlotNames = {
|
|
14
|
+
LOGO: 'logo',
|
|
15
|
+
SIGNATURE: 'signature',
|
|
16
|
+
LINKS: 'links',
|
|
17
|
+
FUNCTIONS: 'functions',
|
|
18
|
+
SEARCH_ICON: 'search-icon',
|
|
19
|
+
SEARCH: 'search',
|
|
20
|
+
ACCESS: 'access',
|
|
21
|
+
MENU_TRIGGER: 'menu-trigger',
|
|
22
|
+
CAPTION: 'caption',
|
|
23
|
+
SUBCAPTION: 'subcaption',
|
|
24
|
+
};
|
|
25
|
+
const ALL_BREAKPOINTS = BreakpointObserver.getBreakpoints('from', BREAKPOINTS.X_SMALL);
|
|
26
|
+
const FROM_SMALL_BREAKPOINTS = BreakpointObserver.getBreakpoints('from', BREAKPOINTS.SMALL);
|
|
27
|
+
const UNTIL_MEDIUM_BREAKPOINTS = BreakpointObserver.getBreakpoints('until', BREAKPOINTS.MEDIUM);
|
|
28
|
+
function createHeaderAreaConfig(name, loose = ALL_BREAKPOINTS, compact = ALL_BREAKPOINTS, options = {}) {
|
|
29
|
+
return {
|
|
30
|
+
cssClassMap: {
|
|
31
|
+
[`header-${name}`]: true,
|
|
32
|
+
},
|
|
33
|
+
breakpoints: {
|
|
34
|
+
loose: [...loose],
|
|
35
|
+
compact: [...compact],
|
|
36
|
+
},
|
|
37
|
+
hasContent: false,
|
|
38
|
+
isVisible: false,
|
|
39
|
+
...options,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 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/header?tab=designer).
|
|
44
|
+
*
|
|
45
|
+
* ### Acionamento de Menu Associado
|
|
46
|
+
* Para integrar o cabeçalho com um menu (`br-menu`), passe um botão no slot `menu-trigger` com os seguintes atributos:
|
|
47
|
+
* - `data-toggle="menu"`
|
|
48
|
+
* - `data-target="#id-do-menu"` (substitua pelo ID ou `customId` do seu `br-menu`)
|
|
49
|
+
*
|
|
50
|
+
* O componente `br-menu` escuta a esses atributos no escopo do documento e controlará automaticamente sua visibilidade.
|
|
51
|
+
*
|
|
52
|
+
* @category Estrutura
|
|
53
|
+
* @status stable
|
|
54
|
+
* @slot logo - Slot para a logo do cabeçalho.
|
|
55
|
+
* @slot signature - Slot para a assinatura visual da organização.
|
|
56
|
+
* @slot links - Slot para links de navegação principais.
|
|
57
|
+
* @slot functions - Slot para botões de ação no cabeçalho.
|
|
58
|
+
* @slot search - Slot para o campo de busca.
|
|
59
|
+
* @slot access - Slot para o botão de acesso ou autenticação.
|
|
60
|
+
* @slot menu-trigger - Slot para o botão que abre o menu.
|
|
61
|
+
* @slot caption - Slot para o título do cabeçalho.
|
|
62
|
+
* @slot subcaption - Slot para o subtítulo do cabeçalho.
|
|
63
|
+
*
|
|
64
|
+
* @part header - Elemento header principal.
|
|
65
|
+
* @part top - Área superior do header.
|
|
66
|
+
* @part top-left - Área superior esquerda (logo + assinatura).
|
|
67
|
+
* @part top-right - Área superior direita (links + funções + busca + acesso).
|
|
68
|
+
* @part bottom - Área inferior do header.
|
|
69
|
+
* @part bottom-left - Área inferior esquerda (menu + título).
|
|
70
|
+
* @part bottom-right - Área inferior direita (busca expandida).
|
|
71
|
+
*/
|
|
72
|
+
export class Header {
|
|
73
|
+
constructor() {
|
|
74
|
+
this.hasLoaded = false;
|
|
75
|
+
this.headerSyncFrame = null;
|
|
76
|
+
this.monitoredSlots = [];
|
|
77
|
+
/**
|
|
78
|
+
* Representa as configurações da área do cabeçalho.
|
|
79
|
+
*/
|
|
80
|
+
this.headerArea = {
|
|
81
|
+
[HeaderSlotNames.LOGO]: createHeaderAreaConfig(HeaderSlotNames.LOGO),
|
|
82
|
+
[HeaderSlotNames.SIGNATURE]: createHeaderAreaConfig(HeaderSlotNames.SIGNATURE, FROM_SMALL_BREAKPOINTS, []),
|
|
83
|
+
[HeaderSlotNames.LINKS]: createHeaderAreaConfig(HeaderSlotNames.LINKS),
|
|
84
|
+
[HeaderSlotNames.FUNCTIONS]: createHeaderAreaConfig(HeaderSlotNames.FUNCTIONS),
|
|
85
|
+
[HeaderSlotNames.SEARCH_ICON]: createHeaderAreaConfig(HeaderSlotNames.SEARCH_ICON, UNTIL_MEDIUM_BREAKPOINTS, ALL_BREAKPOINTS, {
|
|
86
|
+
event: {
|
|
87
|
+
click: this.handleSearchIconClick.bind(this),
|
|
88
|
+
focus: this.handleSearchIconFocus.bind(this),
|
|
89
|
+
},
|
|
90
|
+
}),
|
|
91
|
+
[HeaderSlotNames.SEARCH]: createHeaderAreaConfig(HeaderSlotNames.SEARCH, ALL_BREAKPOINTS, ALL_BREAKPOINTS, {
|
|
92
|
+
isActive: false,
|
|
93
|
+
}),
|
|
94
|
+
[HeaderSlotNames.ACCESS]: createHeaderAreaConfig(HeaderSlotNames.ACCESS),
|
|
95
|
+
[HeaderSlotNames.MENU_TRIGGER]: createHeaderAreaConfig(HeaderSlotNames.MENU_TRIGGER),
|
|
96
|
+
[HeaderSlotNames.CAPTION]: createHeaderAreaConfig(HeaderSlotNames.CAPTION),
|
|
97
|
+
[HeaderSlotNames.SUBCAPTION]: createHeaderAreaConfig(HeaderSlotNames.SUBCAPTION, FROM_SMALL_BREAKPOINTS, FROM_SMALL_BREAKPOINTS),
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Texto exibido como título do cabeçalho.
|
|
101
|
+
*/
|
|
102
|
+
this.caption = null;
|
|
103
|
+
/**
|
|
104
|
+
* URL associada ao título do cabeçalho.
|
|
105
|
+
*/
|
|
106
|
+
this.captionUrl = null;
|
|
107
|
+
/**
|
|
108
|
+
* Identificador único do componente.
|
|
109
|
+
* Quando omitido, um valor é gerado automaticamente.
|
|
110
|
+
*
|
|
111
|
+
* > **Padrão:** valor único gerado por generateUniqueId().
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
this.customId = generateUniqueId();
|
|
115
|
+
/**
|
|
116
|
+
* Define a densidade visual do componente.
|
|
117
|
+
*
|
|
118
|
+
* - `small`: Alta densidade (componente menor, mais compacto e com menos espaçamento).
|
|
119
|
+
* - `medium`: Densidade intermediária, padrão recomendado para a maioria dos casos.
|
|
120
|
+
* - `large`: Baixa densidade (componente maior, mais espaçamento e altura).
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
this.density = 'medium';
|
|
124
|
+
/**
|
|
125
|
+
* Ativa o modo compacto do cabeçalho.
|
|
126
|
+
* @deprecated Use `compact`.
|
|
127
|
+
*/
|
|
128
|
+
this.isCompact = false;
|
|
129
|
+
/**
|
|
130
|
+
* Fixa o cabeçalho no topo durante a rolagem.
|
|
131
|
+
* @deprecated Use `sticky`.
|
|
132
|
+
*/
|
|
133
|
+
this.isSticky = false;
|
|
134
|
+
/**
|
|
135
|
+
* Texto da assinatura exibida ao lado da logo.
|
|
136
|
+
*/
|
|
137
|
+
this.signature = null;
|
|
138
|
+
/**
|
|
139
|
+
* Define qual lista encolhe primeiro quando o espaço é limitado.
|
|
140
|
+
*/
|
|
141
|
+
this.shrinkFirst = 'functions';
|
|
142
|
+
/**
|
|
143
|
+
* Texto exibido como subtítulo do cabeçalho.
|
|
144
|
+
*/
|
|
145
|
+
this.subcaption = null;
|
|
146
|
+
/**
|
|
147
|
+
* URL associada ao subtítulo do cabeçalho.
|
|
148
|
+
*/
|
|
149
|
+
this.subcaptionUrl = null;
|
|
150
|
+
/**
|
|
151
|
+
* Controla como os links internos do cabeçalho integram a navegação mantendo `href` real.
|
|
152
|
+
* - `native` (padrão): preserva o comportamento do navegador, conforme HTML/W3C.
|
|
153
|
+
* - `event`: emite `brNavigate`; se o evento for cancelado, bloqueia a navegação nativa para a SPA assumir.
|
|
154
|
+
*/
|
|
155
|
+
this.navigationMode = 'native';
|
|
156
|
+
/**
|
|
157
|
+
* Define a largura do container interno do cabeçalho.
|
|
158
|
+
* - `contained`: largura máxima limitada pela grade no breakpoint desktop (`container-lg`).
|
|
159
|
+
* - `full`: sempre ocupa 100% da largura disponível (`container-fluid`).
|
|
160
|
+
*/
|
|
161
|
+
this.layoutWidth = 'contained';
|
|
162
|
+
/**
|
|
163
|
+
* Elemento responsável pela rolagem do cabeçalho.
|
|
164
|
+
*/
|
|
165
|
+
this.scrollTarget = null;
|
|
166
|
+
/** Indica que o estado compacto atual foi derivado da rolagem. */
|
|
167
|
+
this.compactFromScroll = false;
|
|
168
|
+
this.headerResizeBatcher = createRafBatcher(() => {
|
|
169
|
+
this.headerWidthChange.emit({ id: this.customId, listNames: ['links', 'functions'], shrink: false });
|
|
170
|
+
});
|
|
171
|
+
this.handleNavigation = (event, href) => {
|
|
172
|
+
handleNavigationClick({
|
|
173
|
+
event,
|
|
174
|
+
href,
|
|
175
|
+
navigationMode: this.navigationMode,
|
|
176
|
+
brNavigate: this.brNavigate,
|
|
177
|
+
});
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Manipula as mudanças de breakpoint.
|
|
181
|
+
* @param breakpoint O breakpoint ativo.
|
|
182
|
+
*/
|
|
183
|
+
this.handleBreakpointChange = (breakpoint) => {
|
|
184
|
+
this.currentBreakpoint = breakpoint;
|
|
185
|
+
Object.keys(this.headerArea).forEach((area) => {
|
|
186
|
+
const name = area;
|
|
187
|
+
this.controlHeaderAreaUpdateStates(name);
|
|
188
|
+
});
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Manipula o evento de scroll da janela ou do ancestral rolável.
|
|
192
|
+
*/
|
|
193
|
+
this.handleScroll = () => {
|
|
194
|
+
const target = this.scrollTarget;
|
|
195
|
+
if (target == null)
|
|
196
|
+
return;
|
|
197
|
+
const scrollTop = this.getScrollTop(target);
|
|
198
|
+
const atTop = scrollTop === 0;
|
|
199
|
+
const shouldBeCompact = (this.sticky ?? this.isSticky) && !atTop;
|
|
200
|
+
if (this.isCompact !== shouldBeCompact) {
|
|
201
|
+
const oldHeight = this.el.offsetHeight;
|
|
202
|
+
this.compactFromScroll = shouldBeCompact;
|
|
203
|
+
this.isCompact = shouldBeCompact;
|
|
204
|
+
requestAnimationFrame(() => {
|
|
205
|
+
const newHeight = this.el.offsetHeight;
|
|
206
|
+
const heightDiff = oldHeight - newHeight;
|
|
207
|
+
if (shouldBeCompact && heightDiff !== 0) {
|
|
208
|
+
// ponytail: preserve the viewport while compacting; never return to 0 or the scroll listener oscillates.
|
|
209
|
+
this.setScrollTop(target, Math.max(1, scrollTop - Math.max(heightDiff, 0)));
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
this.handleBreakpointChange(this.currentBreakpoint);
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Manipula o clique no botão de fechar busca.
|
|
217
|
+
*/
|
|
218
|
+
this.handleSearchCloseClick = () => {
|
|
219
|
+
this.updateHeaderArea(HeaderSlotNames.SEARCH, {
|
|
220
|
+
isActive: false,
|
|
221
|
+
isVisible: this.isAreaVisibleAtCurrentBreakpoint(HeaderSlotNames.SEARCH),
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Manipula o clique no botão de acionamento do menu.
|
|
226
|
+
*/
|
|
227
|
+
this.handleMenuTriggerClick = () => {
|
|
228
|
+
this.brMenuToggle.emit();
|
|
229
|
+
};
|
|
230
|
+
this.handleSlotChange = (event) => {
|
|
231
|
+
const slot = event.target;
|
|
232
|
+
const slotName = slot.name;
|
|
233
|
+
if (this.isHeaderSlotName(slotName)) {
|
|
234
|
+
const hasDefaultSignature = slotName === HeaderSlotNames.SIGNATURE &&
|
|
235
|
+
typeof this.signature === 'string' &&
|
|
236
|
+
this.signature.trim().length > 0;
|
|
237
|
+
this.updateHeaderArea(slotName, { hasContent: slot.assignedNodes().length > 0 || hasDefaultSignature });
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Observa mudanças na propriedade isCompact.
|
|
243
|
+
* @param newValue O novo valor de isCompact.
|
|
244
|
+
*/
|
|
245
|
+
watchIsCompact(newValue) {
|
|
246
|
+
if (this.compact !== undefined && this.compact !== newValue)
|
|
247
|
+
this.compact = newValue;
|
|
248
|
+
if (!this.hasLoaded) {
|
|
249
|
+
this.verifyListSpace(this.shrinkFirst);
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
this.headerCompactChange.emit({ parentId: this.customId, isCompact: newValue });
|
|
253
|
+
this.brHeaderCompactChange.emit({ parentId: this.customId, compact: newValue });
|
|
254
|
+
this.verifyListSpace(this.shrinkFirst);
|
|
255
|
+
}
|
|
256
|
+
watchCompact(newValue) {
|
|
257
|
+
if (newValue !== undefined && newValue !== this.isCompact)
|
|
258
|
+
this.isCompact = newValue;
|
|
259
|
+
}
|
|
260
|
+
watchIsSticky() {
|
|
261
|
+
if (this.sticky === undefined)
|
|
262
|
+
this.syncScrollListener();
|
|
263
|
+
}
|
|
264
|
+
watchSticky() {
|
|
265
|
+
this.syncScrollListener();
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Ciclo de vida do componente.
|
|
269
|
+
* Executado quando o componente é conectado ao DOM.
|
|
270
|
+
*/
|
|
271
|
+
connectedCallback() {
|
|
272
|
+
if (this.compact !== undefined)
|
|
273
|
+
this.isCompact = this.compact;
|
|
274
|
+
const hasSignature = Boolean(this.signature && this.signature.trim().length > 0);
|
|
275
|
+
this.headerArea[HeaderSlotNames.SIGNATURE].hasContent = hasSignature;
|
|
276
|
+
this.headerArea[HeaderSlotNames.SIGNATURE].isVisible = hasSignature;
|
|
277
|
+
this.setBreakpointObserver();
|
|
278
|
+
this.syncHeaderAreaStates();
|
|
279
|
+
this.slotContentObserver = new MutationObserver(() => {
|
|
280
|
+
if (this.headerSyncFrame !== null)
|
|
281
|
+
return;
|
|
282
|
+
this.headerSyncFrame = requestAnimationFrame(() => {
|
|
283
|
+
this.headerSyncFrame = null;
|
|
284
|
+
this.syncHeaderAreaStates();
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
this.slotContentObserver.observe(this.el, { childList: true });
|
|
288
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
289
|
+
this.headerResizeObserver = new ResizeObserver(() => this.handleListResize());
|
|
290
|
+
this.headerResizeObserver.observe(this.el);
|
|
291
|
+
}
|
|
292
|
+
queueMicrotask(() => this.syncScrollListener());
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Ciclo de vida do componente.
|
|
296
|
+
* Executado quando o componente é desconectado do DOM.
|
|
297
|
+
*/
|
|
298
|
+
disconnectedCallback() {
|
|
299
|
+
this.slotContentObserver?.disconnect();
|
|
300
|
+
this.headerResizeObserver?.disconnect();
|
|
301
|
+
this.unsetScrollListener();
|
|
302
|
+
this.breakpointObserver.unsubscribe(this.handleBreakpointChange);
|
|
303
|
+
this.breakpointObserver.destroy();
|
|
304
|
+
this.headerResizeBatcher.cancel();
|
|
305
|
+
if (this.headerSyncFrame !== null) {
|
|
306
|
+
cancelAnimationFrame(this.headerSyncFrame);
|
|
307
|
+
this.headerSyncFrame = null;
|
|
308
|
+
}
|
|
309
|
+
this.monitoredSlots.forEach((slot) => {
|
|
310
|
+
slot.removeEventListener('slotchange', this.handleSlotChange);
|
|
311
|
+
});
|
|
312
|
+
this.monitoredSlots = [];
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Ciclo de vida do componente.
|
|
316
|
+
* Executado uma vez após o componente ser totalmente carregado ao DOM.
|
|
317
|
+
*/
|
|
318
|
+
componentDidLoad() {
|
|
319
|
+
this.monitorSlotContent();
|
|
320
|
+
this.verifyListSpace(this.shrinkFirst);
|
|
321
|
+
this.syncScrollListener();
|
|
322
|
+
void this.handleHeaderListUpdate;
|
|
323
|
+
void this.handleListResize;
|
|
324
|
+
queueMicrotask(() => {
|
|
325
|
+
this.hasLoaded = true;
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
onMenuStateChange(ev) {
|
|
329
|
+
const triggerSlot = this.el.querySelector('[slot="menu-trigger"]');
|
|
330
|
+
if (triggerSlot) {
|
|
331
|
+
const target = triggerSlot.getAttribute('data-target')?.replace(/^#/, '');
|
|
332
|
+
if (target && target !== ev.detail.sourceId)
|
|
333
|
+
return;
|
|
334
|
+
const icon = triggerSlot.querySelector('br-icon');
|
|
335
|
+
if (icon) {
|
|
336
|
+
icon.iconName = ev.detail.open ? 'fa6-solid:xmark' : 'fa6-solid:bars';
|
|
337
|
+
}
|
|
338
|
+
if (triggerSlot.hasAttribute('aria-expanded')) {
|
|
339
|
+
triggerSlot.setAttribute('aria-expanded', ev.detail.open.toString());
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Listener para o evento 'headerListUpdate', disparado pelos componentes filhos 'br-header-list'.
|
|
345
|
+
* O evento contém o ID do componente pai e o nome da lista.
|
|
346
|
+
*/
|
|
347
|
+
handleHeaderListUpdate(event) {
|
|
348
|
+
if (event.detail.id === this.customId) {
|
|
349
|
+
requestAnimationFrame(() => {
|
|
350
|
+
switch (event.detail.listName) {
|
|
351
|
+
case 'functions':
|
|
352
|
+
this.verifyListSpace('links');
|
|
353
|
+
break;
|
|
354
|
+
case 'links':
|
|
355
|
+
this.verifyListSpace('functions');
|
|
356
|
+
break;
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
handleListResize() {
|
|
362
|
+
this.headerResizeBatcher.schedule(undefined);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Reinicializa o estado das listas do cabeçalho, disparando o evento de redimensionamento.
|
|
366
|
+
* Pode ser chamado externamente para forçar a atualização das listas.
|
|
367
|
+
*/
|
|
368
|
+
async resetHeaderList() {
|
|
369
|
+
this.handleListResize();
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Manipula o clique no ícone de busca.
|
|
373
|
+
*/
|
|
374
|
+
handleSearchIconClick() {
|
|
375
|
+
this.updateHeaderArea(HeaderSlotNames.SEARCH, {
|
|
376
|
+
isVisible: true,
|
|
377
|
+
isActive: true,
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Manipula o foco no ícone de busca.
|
|
382
|
+
*/
|
|
383
|
+
handleSearchIconFocus() {
|
|
384
|
+
this.el.shadowRoot.querySelectorAll('slot[name="links"], slot[name="functions"]').forEach((slot) => {
|
|
385
|
+
const brHeaderList = slot
|
|
386
|
+
.assignedElements()
|
|
387
|
+
.find((el) => el.tagName.toLowerCase() === 'br-header-list');
|
|
388
|
+
if (brHeaderList != null) {
|
|
389
|
+
brHeaderList.closeList();
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* Controla a atualização dos estados da área do cabeçalho.
|
|
396
|
+
* @param name O nome da área do cabeçalho.
|
|
397
|
+
*/
|
|
398
|
+
controlHeaderAreaUpdateStates(name) {
|
|
399
|
+
const isVisible = this.isAreaVisibleAtCurrentBreakpoint(name);
|
|
400
|
+
switch (name) {
|
|
401
|
+
case HeaderSlotNames.SEARCH:
|
|
402
|
+
this.updateHeaderArea(name, {
|
|
403
|
+
isVisible,
|
|
404
|
+
isActive: isVisible ? null : this.headerArea[name]?.isActive,
|
|
405
|
+
});
|
|
406
|
+
break;
|
|
407
|
+
default:
|
|
408
|
+
this.updateHeaderArea(name, {
|
|
409
|
+
isVisible,
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Retorna um mapa de classes CSS para o componente.
|
|
415
|
+
* @returns Um objeto contendo as classes CSS a serem aplicadas.
|
|
416
|
+
*/
|
|
417
|
+
getCssClassMap() {
|
|
418
|
+
return {
|
|
419
|
+
'br-header': true,
|
|
420
|
+
compact: this.isCompact,
|
|
421
|
+
small: this.density === 'small' && !this.isCompact,
|
|
422
|
+
large: this.density === 'large' && !this.isCompact,
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Verifica se um valor é um nome de slot de cabeçalho válido.
|
|
427
|
+
* @param value O valor a ser verificado.
|
|
428
|
+
* @returns Um valor booleano indicando se o valor é um nome de slot de cabeçalho válido.
|
|
429
|
+
*/
|
|
430
|
+
isHeaderSlotName(value) {
|
|
431
|
+
return Object.values(HeaderSlotNames).includes(value);
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Verifica se a área deve aparecer no breakpoint e no modo atuais.
|
|
435
|
+
* @param name O nome da área do cabeçalho.
|
|
436
|
+
* @returns Verdadeiro quando a área deve estar visível.
|
|
437
|
+
*/
|
|
438
|
+
isAreaVisibleAtCurrentBreakpoint(name) {
|
|
439
|
+
const mode = this.isCompact ? 'compact' : 'loose';
|
|
440
|
+
return this.headerArea[name]?.breakpoints[mode]?.includes(this.currentBreakpoint);
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Monitora as mudanças de conteúdo dos slots.
|
|
444
|
+
*/
|
|
445
|
+
monitorSlotContent() {
|
|
446
|
+
this.monitoredSlots = Array.from(this.el.shadowRoot.querySelectorAll('slot'));
|
|
447
|
+
this.monitoredSlots.forEach((slot) => {
|
|
448
|
+
slot.addEventListener('slotchange', this.handleSlotChange);
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Configura o observador de mudanças de breakpoint.
|
|
453
|
+
*/
|
|
454
|
+
setBreakpointObserver() {
|
|
455
|
+
this.breakpointObserver = new BreakpointObserver();
|
|
456
|
+
this.breakpointObserver.subscribe(this.handleBreakpointChange);
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Retorna a janela ou o ancestral que controla a rolagem do cabeçalho.
|
|
460
|
+
*/
|
|
461
|
+
getScrollTarget() {
|
|
462
|
+
let ancestor = this.el.parentElement;
|
|
463
|
+
while (ancestor !== null && ancestor !== document.body && ancestor !== document.documentElement) {
|
|
464
|
+
const { overflow, overflowY } = getComputedStyle(ancestor);
|
|
465
|
+
if (/(auto|scroll|overlay)/.test(`${overflow} ${overflowY}`))
|
|
466
|
+
return ancestor;
|
|
467
|
+
ancestor = ancestor.parentElement;
|
|
468
|
+
}
|
|
469
|
+
return window;
|
|
470
|
+
}
|
|
471
|
+
getScrollTop(target) {
|
|
472
|
+
return target === window ? window.scrollY : target.scrollTop;
|
|
473
|
+
}
|
|
474
|
+
setScrollTop(target, scrollTop) {
|
|
475
|
+
if (target === window)
|
|
476
|
+
window.scrollTo(window.scrollX, scrollTop);
|
|
477
|
+
else
|
|
478
|
+
target.scrollTop = scrollTop;
|
|
479
|
+
}
|
|
480
|
+
/** Sincroniza o listener com o estado sticky efetivo. */
|
|
481
|
+
syncScrollListener() {
|
|
482
|
+
this.unsetScrollListener();
|
|
483
|
+
if (!(this.sticky ?? this.isSticky) || !this.el.isConnected) {
|
|
484
|
+
if (this.compactFromScroll && this.isCompact)
|
|
485
|
+
this.isCompact = false;
|
|
486
|
+
this.compactFromScroll = false;
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
this.scrollTarget = this.getScrollTarget();
|
|
490
|
+
this.scrollTarget.addEventListener('scroll', this.handleScroll, { passive: true });
|
|
491
|
+
this.handleScroll();
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Atualiza o estado da área do cabeçalho com base no conteúdo dos slots.
|
|
495
|
+
*/
|
|
496
|
+
syncHeaderAreaStates() {
|
|
497
|
+
this.el.querySelectorAll('[slot]').forEach((element) => {
|
|
498
|
+
const slotName = element.slot;
|
|
499
|
+
if (this.isHeaderSlotName(slotName)) {
|
|
500
|
+
this.updateHeaderArea(slotName, {
|
|
501
|
+
hasContent: true,
|
|
502
|
+
isVisible: this.isAreaVisibleAtCurrentBreakpoint(slotName),
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Remove o listener do alvo de rolagem atual.
|
|
509
|
+
*/
|
|
510
|
+
unsetScrollListener() {
|
|
511
|
+
this.scrollTarget?.removeEventListener('scroll', this.handleScroll);
|
|
512
|
+
this.scrollTarget = null;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* Atualiza a área do cabeçalho.
|
|
516
|
+
* @param name O nome da área do cabeçalho.
|
|
517
|
+
* @param updates As atualizações a serem aplicadas.
|
|
518
|
+
*/
|
|
519
|
+
updateHeaderArea(name, updates) {
|
|
520
|
+
this.headerArea = {
|
|
521
|
+
...this.headerArea,
|
|
522
|
+
[name]: { ...this.headerArea[name], ...updates },
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Verifica o espaço disponível para uma lista específica no cabeçalho.
|
|
527
|
+
* @param listName O nome da lista a ser verificada.
|
|
528
|
+
*/
|
|
529
|
+
verifyListSpace(listName) {
|
|
530
|
+
const shadowRoot = this.el.shadowRoot;
|
|
531
|
+
if (!shadowRoot)
|
|
532
|
+
return;
|
|
533
|
+
let style;
|
|
534
|
+
let paddingLeft = 0;
|
|
535
|
+
let paddingRight = 0;
|
|
536
|
+
let totalWidth = 0;
|
|
537
|
+
let bottomLeftWidth = 0;
|
|
538
|
+
let topLeftWidth = 0;
|
|
539
|
+
let topRightWidth = 0;
|
|
540
|
+
let availableWidth = 0;
|
|
541
|
+
if (this.isCompact) {
|
|
542
|
+
style = window.getComputedStyle(this.el);
|
|
543
|
+
paddingLeft = parseFloat(style.paddingLeft) || 0;
|
|
544
|
+
paddingRight = parseFloat(style.paddingRight) || 0;
|
|
545
|
+
totalWidth = this.el.clientWidth - paddingLeft - paddingRight;
|
|
546
|
+
bottomLeftWidth = shadowRoot.querySelector('.header-bottom-left')?.clientWidth || 0;
|
|
547
|
+
topRightWidth = shadowRoot.querySelector('.header-top-right')?.clientWidth || 0;
|
|
548
|
+
availableWidth = totalWidth - bottomLeftWidth;
|
|
549
|
+
}
|
|
550
|
+
else {
|
|
551
|
+
totalWidth = shadowRoot.querySelector('.header-top')?.clientWidth || 0;
|
|
552
|
+
topLeftWidth = shadowRoot.querySelector('.header-top-left')?.clientWidth || 0;
|
|
553
|
+
topRightWidth = shadowRoot.querySelector('.header-top-right')?.clientWidth || 0;
|
|
554
|
+
availableWidth = totalWidth - topLeftWidth;
|
|
555
|
+
}
|
|
556
|
+
const isOverflowing = topRightWidth > availableWidth;
|
|
557
|
+
if (isOverflowing) {
|
|
558
|
+
this.headerWidthChange.emit({ id: this.customId, listNames: [listName], shrink: true });
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Renderiza o conteúdo padrão do título.
|
|
563
|
+
* @returns Um elemento JSX representando o conteúdo padrão do título.
|
|
564
|
+
*/
|
|
565
|
+
renderDefaultCaptionContent() {
|
|
566
|
+
return typeof this.caption === 'string' && this.caption.trim().length > 0 ? (typeof this.captionUrl === 'string' && this.captionUrl.trim().length > 0 ? (h("a", { href: this.captionUrl, class: "caption-link", onClick: (event) => this.handleNavigation(event, this.captionUrl) }, this.caption)) : (h("span", { class: "caption-text" }, this.caption))) : null;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Renderiza o conteúdo padrão da assinatura.
|
|
570
|
+
* @returns Um elemento JSX representando o conteúdo padrão da assinatura.
|
|
571
|
+
*/
|
|
572
|
+
renderDefaultSignatureContent() {
|
|
573
|
+
return typeof this.signature === 'string' && this.signature.trim().length > 0 ? (h("span", { class: "signature-text" }, this.signature)) : null;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Renderiza o conteúdo padrão do subtítulo.
|
|
577
|
+
* @returns Um elemento JSX representando o conteúdo padrão do subtítulo.
|
|
578
|
+
*/
|
|
579
|
+
renderDefaultSubcaptionContent() {
|
|
580
|
+
return typeof this.subcaption === 'string' && this.subcaption.trim().length > 0 ? (typeof this.subcaptionUrl === 'string' && this.subcaptionUrl.trim().length > 0 ? (h("a", { href: this.subcaptionUrl, class: "subcaption-link", onClick: (event) => this.handleNavigation(event, this.subcaptionUrl) }, this.subcaption)) : (h("span", { class: "subcaption-text" }, this.subcaption))) : null;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Renderiza o divisor entre as áreas do cabeçalho.
|
|
584
|
+
* @param mainArea A área principal do cabeçalho.
|
|
585
|
+
* @param secondaryAreas As áreas secundárias do cabeçalho.
|
|
586
|
+
* @returns Um elemento JSX representando o divisor entre as áreas do cabeçalho.
|
|
587
|
+
*/
|
|
588
|
+
renderDivider(mainArea, secondaryAreas = []) {
|
|
589
|
+
const isVisible = this.headerArea[mainArea]?.hasContent &&
|
|
590
|
+
this.headerArea[mainArea]?.isVisible &&
|
|
591
|
+
secondaryAreas.some((area) => this.headerArea[area]?.hasContent && this.headerArea[area]?.isVisible);
|
|
592
|
+
return h("br-divider", { orientation: "vertical", class: "header-divider", hidden: !isVisible });
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Renderiza a área do cabeçalho.
|
|
596
|
+
* @param name O nome da área do cabeçalho.
|
|
597
|
+
* @returns Um elemento JSX representando a área do cabeçalho.
|
|
598
|
+
*/
|
|
599
|
+
renderHeaderArea(name) {
|
|
600
|
+
const area = this.headerArea[name];
|
|
601
|
+
const events = typeof area?.event?.click === 'function'
|
|
602
|
+
? {
|
|
603
|
+
onClick: area.event.click,
|
|
604
|
+
onFocusin: area.event.focus,
|
|
605
|
+
}
|
|
606
|
+
: {};
|
|
607
|
+
return (h("div", { class: area?.cssClassMap, hidden: !(area?.isVisible || area?.isActive), "is-active": area?.isActive, ...events }, h("slot", { name: name }, this.renderSlotDefaultContent(name)), name === HeaderSlotNames.SEARCH && area?.isActive && this.renderSearchCloseButton()));
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Renderiza o botão de fechar busca.
|
|
611
|
+
* @returns Um elemento JSX representando o botão de fechar busca.
|
|
612
|
+
*/
|
|
613
|
+
renderSearchCloseButton() {
|
|
614
|
+
return (h("br-button", { class: "search-close", shape: "circle", density: "small", emphasis: "tertiary", style: { position: 'absolute', right: 'var(--spacing-scale-2x)', zIndex: '2' }, onClick: this.handleSearchCloseClick, "prop:ariaLabel": "Fechar busca" }, h("br-icon", { iconName: "fa7-solid:close", width: "32", height: "32" })));
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Renderiza o conteúdo padrão do slot.
|
|
618
|
+
* @param name O nome do slot.
|
|
619
|
+
* @returns Um elemento JSX representando o conteúdo padrão do slot.
|
|
620
|
+
*/
|
|
621
|
+
renderSlotDefaultContent(name) {
|
|
622
|
+
switch (name) {
|
|
623
|
+
case HeaderSlotNames.CAPTION:
|
|
624
|
+
return this.renderDefaultCaptionContent();
|
|
625
|
+
case HeaderSlotNames.SUBCAPTION:
|
|
626
|
+
return this.renderDefaultSubcaptionContent();
|
|
627
|
+
case HeaderSlotNames.SIGNATURE:
|
|
628
|
+
return this.renderDefaultSignatureContent();
|
|
629
|
+
case HeaderSlotNames.MENU_TRIGGER:
|
|
630
|
+
return (h("br-button", { shape: "circle", density: "small", emphasis: "tertiary", "aria-label": "Abrir menu", onClick: this.handleMenuTriggerClick }, h("br-icon", { iconName: "fa6-solid:bars", width: "16", height: "16" })));
|
|
631
|
+
default:
|
|
632
|
+
return null;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Renderiza o componente.
|
|
637
|
+
* @returns JSX.Element
|
|
638
|
+
*/
|
|
639
|
+
render() {
|
|
640
|
+
return (h(Host, { key: '8bc09796fafc335700311f66a36175e37a2b22ba', className: "mb-4" }, h("header", { key: 'c5d701eacc69607275a11c1551ed7d673f091189', id: this.customId, class: this.getCssClassMap(), part: "header" }, h("div", { key: 'cdf3c2774bd5ef9ceee9cff6a03bd3ecbe55f6b6', class: this.layoutWidth === 'full' ? 'container-fluid' : 'container-lg' }, h("div", { key: '1788724e44fa9e405e9f487dc51e6b3921d257b7', class: "header-top", part: "top" }, h("div", { key: 'f6bb5590253a751a221458902e050082bd80625a', class: "header-top-left", part: "top-left" }, this.renderHeaderArea(HeaderSlotNames.LOGO), this.renderDivider(HeaderSlotNames.LOGO, [HeaderSlotNames.SIGNATURE]), this.renderHeaderArea(HeaderSlotNames.SIGNATURE)), h("div", { key: '91fb7d67290cfbe8a7019c2921c46bee73cccf8a', class: "header-top-right", part: "top-right" }, this.renderHeaderArea(HeaderSlotNames.LINKS), this.renderDivider(HeaderSlotNames.LINKS, [HeaderSlotNames.FUNCTIONS, HeaderSlotNames.SEARCH_ICON]), this.renderHeaderArea(HeaderSlotNames.FUNCTIONS), this.renderDivider(HeaderSlotNames.FUNCTIONS, [HeaderSlotNames.SEARCH_ICON]), this.renderHeaderArea(HeaderSlotNames.SEARCH_ICON), this.renderHeaderArea(HeaderSlotNames.ACCESS))), h("div", { key: 'ae6085ef79127e501d963889cdc5e616a91b1f50', class: "header-bottom", part: "bottom" }, h("div", { key: 'b76815e61385d014fa9bc0b5c87387ff2a3b4243', class: "header-bottom-left", part: "bottom-left" }, this.renderHeaderArea(HeaderSlotNames.MENU_TRIGGER), h("div", { key: '18f69d8cefd705f8084a0ca81e3d0c8cb59b8241', class: "header-caption-wrapper" }, this.renderHeaderArea(HeaderSlotNames.CAPTION), this.renderHeaderArea(HeaderSlotNames.SUBCAPTION))), h("div", { key: 'e9609c0ef168d7da4a909715512250cf5dcc8ebe', class: {
|
|
641
|
+
'header-bottom-right': true,
|
|
642
|
+
'is-active': this.headerArea[HeaderSlotNames.SEARCH]?.isActive,
|
|
643
|
+
}, part: "bottom-right" }, this.renderHeaderArea(HeaderSlotNames.SEARCH)))))));
|
|
644
|
+
}
|
|
645
|
+
static get is() { return "br-header"; }
|
|
646
|
+
static get encapsulation() { return "shadow"; }
|
|
647
|
+
static get originalStyleUrls() {
|
|
648
|
+
return {
|
|
649
|
+
"$": ["header.scss"]
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
static get styleUrls() {
|
|
653
|
+
return {
|
|
654
|
+
"$": ["header.css"]
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
static get properties() {
|
|
658
|
+
return {
|
|
659
|
+
"caption": {
|
|
660
|
+
"type": "string",
|
|
661
|
+
"mutable": false,
|
|
662
|
+
"complexType": {
|
|
663
|
+
"original": "string",
|
|
664
|
+
"resolved": "string",
|
|
665
|
+
"references": {}
|
|
666
|
+
},
|
|
667
|
+
"required": false,
|
|
668
|
+
"optional": false,
|
|
669
|
+
"docs": {
|
|
670
|
+
"tags": [],
|
|
671
|
+
"text": "Texto exibido como t\u00EDtulo do cabe\u00E7alho."
|
|
672
|
+
},
|
|
673
|
+
"getter": false,
|
|
674
|
+
"setter": false,
|
|
675
|
+
"reflect": true,
|
|
676
|
+
"attribute": "caption",
|
|
677
|
+
"defaultValue": "null"
|
|
678
|
+
},
|
|
679
|
+
"captionUrl": {
|
|
680
|
+
"type": "string",
|
|
681
|
+
"mutable": false,
|
|
682
|
+
"complexType": {
|
|
683
|
+
"original": "string",
|
|
684
|
+
"resolved": "string",
|
|
685
|
+
"references": {}
|
|
686
|
+
},
|
|
687
|
+
"required": false,
|
|
688
|
+
"optional": false,
|
|
689
|
+
"docs": {
|
|
690
|
+
"tags": [],
|
|
691
|
+
"text": "URL associada ao t\u00EDtulo do cabe\u00E7alho."
|
|
692
|
+
},
|
|
693
|
+
"getter": false,
|
|
694
|
+
"setter": false,
|
|
695
|
+
"reflect": true,
|
|
696
|
+
"attribute": "caption-url",
|
|
697
|
+
"defaultValue": "null"
|
|
698
|
+
},
|
|
699
|
+
"customId": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"mutable": false,
|
|
702
|
+
"complexType": {
|
|
703
|
+
"original": "string",
|
|
704
|
+
"resolved": "string",
|
|
705
|
+
"references": {}
|
|
706
|
+
},
|
|
707
|
+
"required": false,
|
|
708
|
+
"optional": false,
|
|
709
|
+
"docs": {
|
|
710
|
+
"tags": [],
|
|
711
|
+
"text": "Identificador \u00FAnico do componente.\nQuando omitido, um valor \u00E9 gerado automaticamente.\n\n> **Padr\u00E3o:** valor \u00FAnico gerado por generateUniqueId()."
|
|
712
|
+
},
|
|
713
|
+
"getter": false,
|
|
714
|
+
"setter": false,
|
|
715
|
+
"reflect": true,
|
|
716
|
+
"attribute": "custom-id",
|
|
717
|
+
"defaultValue": "generateUniqueId()"
|
|
718
|
+
},
|
|
719
|
+
"density": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"mutable": false,
|
|
722
|
+
"complexType": {
|
|
723
|
+
"original": "HeaderDensity",
|
|
724
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
725
|
+
"references": {
|
|
726
|
+
"HeaderDensity": {
|
|
727
|
+
"location": "import",
|
|
728
|
+
"path": "./header.types",
|
|
729
|
+
"id": "src/components/header/header.types.ts::HeaderDensity",
|
|
730
|
+
"referenceLocation": "HeaderDensity"
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"required": false,
|
|
735
|
+
"optional": false,
|
|
736
|
+
"docs": {
|
|
737
|
+
"tags": [],
|
|
738
|
+
"text": "Define a densidade visual do componente.\n\n- `small`: Alta densidade (componente menor, mais compacto e com menos espa\u00E7amento).\n- `medium`: Densidade intermedi\u00E1ria, padr\u00E3o recomendado para a maioria dos casos.\n- `large`: Baixa densidade (componente maior, mais espa\u00E7amento e altura)."
|
|
739
|
+
},
|
|
740
|
+
"getter": false,
|
|
741
|
+
"setter": false,
|
|
742
|
+
"reflect": true,
|
|
743
|
+
"attribute": "density",
|
|
744
|
+
"defaultValue": "'medium'"
|
|
745
|
+
},
|
|
746
|
+
"isCompact": {
|
|
747
|
+
"type": "boolean",
|
|
748
|
+
"mutable": true,
|
|
749
|
+
"complexType": {
|
|
750
|
+
"original": "boolean",
|
|
751
|
+
"resolved": "boolean",
|
|
752
|
+
"references": {}
|
|
753
|
+
},
|
|
754
|
+
"required": false,
|
|
755
|
+
"optional": false,
|
|
756
|
+
"docs": {
|
|
757
|
+
"tags": [{
|
|
758
|
+
"name": "deprecated",
|
|
759
|
+
"text": "Use `compact`."
|
|
760
|
+
}],
|
|
761
|
+
"text": "Ativa o modo compacto do cabe\u00E7alho."
|
|
762
|
+
},
|
|
763
|
+
"getter": false,
|
|
764
|
+
"setter": false,
|
|
765
|
+
"reflect": true,
|
|
766
|
+
"attribute": "is-compact",
|
|
767
|
+
"defaultValue": "false"
|
|
768
|
+
},
|
|
769
|
+
"compact": {
|
|
770
|
+
"type": "boolean",
|
|
771
|
+
"mutable": true,
|
|
772
|
+
"complexType": {
|
|
773
|
+
"original": "boolean",
|
|
774
|
+
"resolved": "boolean",
|
|
775
|
+
"references": {}
|
|
776
|
+
},
|
|
777
|
+
"required": false,
|
|
778
|
+
"optional": true,
|
|
779
|
+
"docs": {
|
|
780
|
+
"tags": [],
|
|
781
|
+
"text": "Estado compacto can\u00F4nico. Quando informado, tem preced\u00EAncia sobre `isCompact`."
|
|
782
|
+
},
|
|
783
|
+
"getter": false,
|
|
784
|
+
"setter": false,
|
|
785
|
+
"reflect": true,
|
|
786
|
+
"attribute": "compact"
|
|
787
|
+
},
|
|
788
|
+
"isSticky": {
|
|
789
|
+
"type": "boolean",
|
|
790
|
+
"mutable": false,
|
|
791
|
+
"complexType": {
|
|
792
|
+
"original": "boolean",
|
|
793
|
+
"resolved": "boolean",
|
|
794
|
+
"references": {}
|
|
795
|
+
},
|
|
796
|
+
"required": false,
|
|
797
|
+
"optional": false,
|
|
798
|
+
"docs": {
|
|
799
|
+
"tags": [{
|
|
800
|
+
"name": "deprecated",
|
|
801
|
+
"text": "Use `sticky`."
|
|
802
|
+
}],
|
|
803
|
+
"text": "Fixa o cabe\u00E7alho no topo durante a rolagem."
|
|
804
|
+
},
|
|
805
|
+
"getter": false,
|
|
806
|
+
"setter": false,
|
|
807
|
+
"reflect": true,
|
|
808
|
+
"attribute": "is-sticky",
|
|
809
|
+
"defaultValue": "false"
|
|
810
|
+
},
|
|
811
|
+
"sticky": {
|
|
812
|
+
"type": "boolean",
|
|
813
|
+
"mutable": false,
|
|
814
|
+
"complexType": {
|
|
815
|
+
"original": "boolean",
|
|
816
|
+
"resolved": "boolean",
|
|
817
|
+
"references": {}
|
|
818
|
+
},
|
|
819
|
+
"required": false,
|
|
820
|
+
"optional": true,
|
|
821
|
+
"docs": {
|
|
822
|
+
"tags": [],
|
|
823
|
+
"text": "Fixa o cabe\u00E7alho no topo. Quando informado, tem preced\u00EAncia sobre `isSticky`."
|
|
824
|
+
},
|
|
825
|
+
"getter": false,
|
|
826
|
+
"setter": false,
|
|
827
|
+
"reflect": true,
|
|
828
|
+
"attribute": "sticky"
|
|
829
|
+
},
|
|
830
|
+
"signature": {
|
|
831
|
+
"type": "string",
|
|
832
|
+
"mutable": false,
|
|
833
|
+
"complexType": {
|
|
834
|
+
"original": "string",
|
|
835
|
+
"resolved": "string",
|
|
836
|
+
"references": {}
|
|
837
|
+
},
|
|
838
|
+
"required": false,
|
|
839
|
+
"optional": false,
|
|
840
|
+
"docs": {
|
|
841
|
+
"tags": [],
|
|
842
|
+
"text": "Texto da assinatura exibida ao lado da logo."
|
|
843
|
+
},
|
|
844
|
+
"getter": false,
|
|
845
|
+
"setter": false,
|
|
846
|
+
"reflect": true,
|
|
847
|
+
"attribute": "signature",
|
|
848
|
+
"defaultValue": "null"
|
|
849
|
+
},
|
|
850
|
+
"shrinkFirst": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"mutable": false,
|
|
853
|
+
"complexType": {
|
|
854
|
+
"original": "HeaderShrinkFirst",
|
|
855
|
+
"resolved": "\"functions\" | \"links\"",
|
|
856
|
+
"references": {
|
|
857
|
+
"HeaderShrinkFirst": {
|
|
858
|
+
"location": "import",
|
|
859
|
+
"path": "./header.types",
|
|
860
|
+
"id": "src/components/header/header.types.ts::HeaderShrinkFirst",
|
|
861
|
+
"referenceLocation": "HeaderShrinkFirst"
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"required": false,
|
|
866
|
+
"optional": false,
|
|
867
|
+
"docs": {
|
|
868
|
+
"tags": [],
|
|
869
|
+
"text": "Define qual lista encolhe primeiro quando o espa\u00E7o \u00E9 limitado."
|
|
870
|
+
},
|
|
871
|
+
"getter": false,
|
|
872
|
+
"setter": false,
|
|
873
|
+
"reflect": true,
|
|
874
|
+
"attribute": "shrink-first",
|
|
875
|
+
"defaultValue": "'functions'"
|
|
876
|
+
},
|
|
877
|
+
"subcaption": {
|
|
878
|
+
"type": "string",
|
|
879
|
+
"mutable": false,
|
|
880
|
+
"complexType": {
|
|
881
|
+
"original": "string",
|
|
882
|
+
"resolved": "string",
|
|
883
|
+
"references": {}
|
|
884
|
+
},
|
|
885
|
+
"required": false,
|
|
886
|
+
"optional": false,
|
|
887
|
+
"docs": {
|
|
888
|
+
"tags": [],
|
|
889
|
+
"text": "Texto exibido como subt\u00EDtulo do cabe\u00E7alho."
|
|
890
|
+
},
|
|
891
|
+
"getter": false,
|
|
892
|
+
"setter": false,
|
|
893
|
+
"reflect": true,
|
|
894
|
+
"attribute": "subcaption",
|
|
895
|
+
"defaultValue": "null"
|
|
896
|
+
},
|
|
897
|
+
"subcaptionUrl": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"mutable": false,
|
|
900
|
+
"complexType": {
|
|
901
|
+
"original": "string",
|
|
902
|
+
"resolved": "string",
|
|
903
|
+
"references": {}
|
|
904
|
+
},
|
|
905
|
+
"required": false,
|
|
906
|
+
"optional": false,
|
|
907
|
+
"docs": {
|
|
908
|
+
"tags": [],
|
|
909
|
+
"text": "URL associada ao subt\u00EDtulo do cabe\u00E7alho."
|
|
910
|
+
},
|
|
911
|
+
"getter": false,
|
|
912
|
+
"setter": false,
|
|
913
|
+
"reflect": true,
|
|
914
|
+
"attribute": "subcaption-url",
|
|
915
|
+
"defaultValue": "null"
|
|
916
|
+
},
|
|
917
|
+
"navigationMode": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"mutable": false,
|
|
920
|
+
"complexType": {
|
|
921
|
+
"original": "BrNavigationMode",
|
|
922
|
+
"resolved": "\"event\" | \"native\"",
|
|
923
|
+
"references": {
|
|
924
|
+
"BrNavigationMode": {
|
|
925
|
+
"location": "import",
|
|
926
|
+
"path": "../global.types",
|
|
927
|
+
"id": "src/components/global.types.ts::BrNavigationMode",
|
|
928
|
+
"referenceLocation": "BrNavigationMode"
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"required": false,
|
|
933
|
+
"optional": false,
|
|
934
|
+
"docs": {
|
|
935
|
+
"tags": [],
|
|
936
|
+
"text": "Controla como os links internos do cabe\u00E7alho integram a navega\u00E7\u00E3o mantendo `href` real.\n- `native` (padr\u00E3o): preserva o comportamento do navegador, conforme HTML/W3C.\n- `event`: emite `brNavigate`; se o evento for cancelado, bloqueia a navega\u00E7\u00E3o nativa para a SPA assumir."
|
|
937
|
+
},
|
|
938
|
+
"getter": false,
|
|
939
|
+
"setter": false,
|
|
940
|
+
"reflect": true,
|
|
941
|
+
"attribute": "navigation-mode",
|
|
942
|
+
"defaultValue": "'native'"
|
|
943
|
+
},
|
|
944
|
+
"layoutWidth": {
|
|
945
|
+
"type": "string",
|
|
946
|
+
"mutable": false,
|
|
947
|
+
"complexType": {
|
|
948
|
+
"original": "HeaderLayoutWidth",
|
|
949
|
+
"resolved": "\"contained\" | \"full\"",
|
|
950
|
+
"references": {
|
|
951
|
+
"HeaderLayoutWidth": {
|
|
952
|
+
"location": "import",
|
|
953
|
+
"path": "./header.types",
|
|
954
|
+
"id": "src/components/header/header.types.ts::HeaderLayoutWidth",
|
|
955
|
+
"referenceLocation": "HeaderLayoutWidth"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"required": false,
|
|
960
|
+
"optional": false,
|
|
961
|
+
"docs": {
|
|
962
|
+
"tags": [],
|
|
963
|
+
"text": "Define a largura do container interno do cabe\u00E7alho.\n- `contained`: largura m\u00E1xima limitada pela grade no breakpoint desktop (`container-lg`).\n- `full`: sempre ocupa 100% da largura dispon\u00EDvel (`container-fluid`)."
|
|
964
|
+
},
|
|
965
|
+
"getter": false,
|
|
966
|
+
"setter": false,
|
|
967
|
+
"reflect": true,
|
|
968
|
+
"attribute": "layout-width",
|
|
969
|
+
"defaultValue": "'contained'"
|
|
970
|
+
}
|
|
971
|
+
};
|
|
972
|
+
}
|
|
973
|
+
static get states() {
|
|
974
|
+
return {
|
|
975
|
+
"headerArea": {}
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
static get events() {
|
|
979
|
+
return [{
|
|
980
|
+
"method": "headerCompactChange",
|
|
981
|
+
"name": "headerCompactChange",
|
|
982
|
+
"bubbles": true,
|
|
983
|
+
"cancelable": true,
|
|
984
|
+
"composed": true,
|
|
985
|
+
"docs": {
|
|
986
|
+
"tags": [{
|
|
987
|
+
"name": "event",
|
|
988
|
+
"text": "headerCompactChange"
|
|
989
|
+
}],
|
|
990
|
+
"text": "Evento disparado quando o cabe\u00E7alho entra ou sai do modo compacto.\nO evento cont\u00E9m os detalhes do estado compacto e o ID do componente pai."
|
|
991
|
+
},
|
|
992
|
+
"complexType": {
|
|
993
|
+
"original": "{ parentId: string; isCompact: boolean }",
|
|
994
|
+
"resolved": "{ parentId: string; isCompact: boolean; }",
|
|
995
|
+
"references": {}
|
|
996
|
+
}
|
|
997
|
+
}, {
|
|
998
|
+
"method": "brHeaderCompactChange",
|
|
999
|
+
"name": "brHeaderCompactChange",
|
|
1000
|
+
"bubbles": true,
|
|
1001
|
+
"cancelable": true,
|
|
1002
|
+
"composed": true,
|
|
1003
|
+
"docs": {
|
|
1004
|
+
"tags": [],
|
|
1005
|
+
"text": "Evento can\u00F4nico emitido quando o modo compacto muda."
|
|
1006
|
+
},
|
|
1007
|
+
"complexType": {
|
|
1008
|
+
"original": "HeaderCompactChangeDetail",
|
|
1009
|
+
"resolved": "HeaderCompactChangeDetail",
|
|
1010
|
+
"references": {
|
|
1011
|
+
"HeaderCompactChangeDetail": {
|
|
1012
|
+
"location": "import",
|
|
1013
|
+
"path": "./header.types",
|
|
1014
|
+
"id": "src/components/header/header.types.ts::HeaderCompactChangeDetail",
|
|
1015
|
+
"referenceLocation": "HeaderCompactChangeDetail"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}, {
|
|
1020
|
+
"method": "headerWidthChange",
|
|
1021
|
+
"name": "headerWidthChange",
|
|
1022
|
+
"bubbles": true,
|
|
1023
|
+
"cancelable": true,
|
|
1024
|
+
"composed": true,
|
|
1025
|
+
"docs": {
|
|
1026
|
+
"tags": [{
|
|
1027
|
+
"name": "event",
|
|
1028
|
+
"text": "headerWidthChange"
|
|
1029
|
+
}],
|
|
1030
|
+
"text": "Evento disparado para indicar qual lista deve encolher primeiro.\nO evento cont\u00E9m os detalhes do ID do componente pai e o nome da lista."
|
|
1031
|
+
},
|
|
1032
|
+
"complexType": {
|
|
1033
|
+
"original": "{ id: string; listNames: ('links' | 'functions')[]; shrink: boolean }",
|
|
1034
|
+
"resolved": "{ id: string; listNames: (\"links\" | \"functions\")[]; shrink: boolean; }",
|
|
1035
|
+
"references": {}
|
|
1036
|
+
}
|
|
1037
|
+
}, {
|
|
1038
|
+
"method": "brMenuToggle",
|
|
1039
|
+
"name": "brMenuToggle",
|
|
1040
|
+
"bubbles": true,
|
|
1041
|
+
"cancelable": true,
|
|
1042
|
+
"composed": true,
|
|
1043
|
+
"docs": {
|
|
1044
|
+
"tags": [{
|
|
1045
|
+
"name": "event",
|
|
1046
|
+
"text": "brMenuToggle"
|
|
1047
|
+
}],
|
|
1048
|
+
"text": "Evento disparado para alternar o estado de um menu associado."
|
|
1049
|
+
},
|
|
1050
|
+
"complexType": {
|
|
1051
|
+
"original": "{ target?: string }",
|
|
1052
|
+
"resolved": "{ target?: string; }",
|
|
1053
|
+
"references": {}
|
|
1054
|
+
}
|
|
1055
|
+
}, {
|
|
1056
|
+
"method": "brNavigate",
|
|
1057
|
+
"name": "brNavigate",
|
|
1058
|
+
"bubbles": true,
|
|
1059
|
+
"cancelable": true,
|
|
1060
|
+
"composed": true,
|
|
1061
|
+
"docs": {
|
|
1062
|
+
"tags": [],
|
|
1063
|
+
"text": "Evento cancel\u00E1vel emitido em `navigation-mode=\"event\"` para cliques prim\u00E1rios sem modificadores em links `_self`.\nChame `event.preventDefault()` no listener para impedir a navega\u00E7\u00E3o nativa e entregar `event.detail.href` ao roteador da SPA."
|
|
1064
|
+
},
|
|
1065
|
+
"complexType": {
|
|
1066
|
+
"original": "BrNavigateDetail",
|
|
1067
|
+
"resolved": "BrNavigateDetail",
|
|
1068
|
+
"references": {
|
|
1069
|
+
"BrNavigateDetail": {
|
|
1070
|
+
"location": "import",
|
|
1071
|
+
"path": "../global.types",
|
|
1072
|
+
"id": "src/components/global.types.ts::BrNavigateDetail",
|
|
1073
|
+
"referenceLocation": "BrNavigateDetail"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}];
|
|
1078
|
+
}
|
|
1079
|
+
static get methods() {
|
|
1080
|
+
return {
|
|
1081
|
+
"resetHeaderList": {
|
|
1082
|
+
"complexType": {
|
|
1083
|
+
"signature": "() => Promise<void>",
|
|
1084
|
+
"parameters": [],
|
|
1085
|
+
"references": {
|
|
1086
|
+
"Promise": {
|
|
1087
|
+
"location": "global",
|
|
1088
|
+
"id": "global::Promise"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"return": "Promise<void>"
|
|
1092
|
+
},
|
|
1093
|
+
"docs": {
|
|
1094
|
+
"text": "Reinicializa o estado das listas do cabe\u00E7alho, disparando o evento de redimensionamento.\nPode ser chamado externamente para for\u00E7ar a atualiza\u00E7\u00E3o das listas.",
|
|
1095
|
+
"tags": []
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
static get elementRef() { return "el"; }
|
|
1101
|
+
static get watchers() {
|
|
1102
|
+
return [{
|
|
1103
|
+
"propName": "isCompact",
|
|
1104
|
+
"methodName": "watchIsCompact"
|
|
1105
|
+
}, {
|
|
1106
|
+
"propName": "compact",
|
|
1107
|
+
"methodName": "watchCompact"
|
|
1108
|
+
}, {
|
|
1109
|
+
"propName": "isSticky",
|
|
1110
|
+
"methodName": "watchIsSticky"
|
|
1111
|
+
}, {
|
|
1112
|
+
"propName": "sticky",
|
|
1113
|
+
"methodName": "watchSticky"
|
|
1114
|
+
}];
|
|
1115
|
+
}
|
|
1116
|
+
static get listeners() {
|
|
1117
|
+
return [{
|
|
1118
|
+
"name": "brMenuOpenChange",
|
|
1119
|
+
"method": "onMenuStateChange",
|
|
1120
|
+
"target": "document",
|
|
1121
|
+
"capture": false,
|
|
1122
|
+
"passive": false
|
|
1123
|
+
}, {
|
|
1124
|
+
"name": "headerListUpdate",
|
|
1125
|
+
"method": "handleHeaderListUpdate",
|
|
1126
|
+
"target": "document",
|
|
1127
|
+
"capture": false,
|
|
1128
|
+
"passive": true
|
|
1129
|
+
}];
|
|
1130
|
+
}
|
|
1131
|
+
}
|