@soma-vertical-web/multi-lib-sacurai 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cms/ContentTypes/Cart/index.d.ts +3 -0
- package/cms/ContentTypes/CommonPage/CommonPage.d.ts +3 -0
- package/cms/ContentTypes/CommonPage/DataScreening.d.ts +6 -0
- package/cms/ContentTypes/FlagsAndTags/index.d.ts +3 -0
- package/cms/ContentTypes/Footer/Footer.d.ts +3 -0
- package/cms/ContentTypes/Header/index.d.ts +3 -0
- package/cms/ContentTypes/HelpButton/FormatHelpButtonContent.d.ts +13 -0
- package/cms/ContentTypes/HelpButton/HelpButtonContent.d.ts +3 -0
- package/cms/ContentTypes/LPCadastro/LPCadastroContent.d.ts +4 -0
- package/cms/ContentTypes/PDP/PDPContent.d.ts +3 -0
- package/cms/ContentTypes/PLP/PLPContent.d.ts +3 -0
- package/cms/ContentTypes/PLP/Redirects/Redirects.d.ts +32 -0
- package/cms/ContentTypes/Search/SearchContent.d.ts +3 -0
- package/cms/ContentTypes/Search/SearchPageContent.d.ts +3 -0
- package/cms/ContentTypes/Search/SearchPageScreening.d.ts +3 -0
- package/cms/ContentTypes/Tipbar/Tipbar.d.ts +3 -0
- package/cms/ContentTypes/Tipbar/TipbarScreening.d.ts +3 -0
- package/cms/Factories/common.d.ts +7 -0
- package/cms/Factories/contentType.d.ts +9 -0
- package/cms/Factories/index.d.ts +2 -0
- package/cms/Factories/section.d.ts +7 -0
- package/cms/Sections/Banner/Component.d.ts +7 -0
- package/cms/Sections/Banner/Composite/Content.d.ts +4 -0
- package/cms/Sections/Banner/adapter.d.ts +32 -0
- package/cms/Sections/Banner/index.d.ts +8 -0
- package/cms/Sections/BannerCarousel/BannerCarousel.d.ts +3 -0
- package/cms/Sections/BannerCarousel/Composite/Controllers.d.ts +3 -0
- package/cms/Sections/BannerCarousel/index.d.ts +8 -0
- package/cms/Sections/BennefitsBar/Component.d.ts +3 -0
- package/cms/Sections/BennefitsBar/index.d.ts +8 -0
- package/cms/Sections/EmbedLive/Component.d.ts +4 -0
- package/cms/Sections/ErrorBoundary/index.d.ts +18 -0
- package/cms/Sections/ImageGrid/Component.d.ts +3 -0
- package/cms/Sections/Newsletter/Component.d.ts +3 -0
- package/cms/Sections/PopupModal/Component.d.ts +4 -0
- package/cms/Sections/PopupModal/Composite/FormSection.d.ts +4 -0
- package/cms/Sections/PopupModal/Composite/Success.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/CommonShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/RecommendationShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +4 -0
- package/cms/Sections/ProductCarousel/request.d.ts +24 -0
- package/cms/Sections/SectionZone.d.ts +5 -0
- package/cms/Sections/TextAccordion/Component.d.ts +3 -0
- package/cms/Sections/TextContent/Component.d.ts +3 -0
- package/cms/Sections/TextContent/Composite/Content.d.ts +6 -0
- package/cms/Sections/TextContent/Composite/ContentWrapper.d.ts +3 -0
- package/cms/Sections/TextContent/adapter.d.ts +3 -0
- package/cms/Sections/TextContent/index.d.ts +5 -0
- package/cms/Sections/_common/Accordion.d.ts +2 -0
- package/cms/Sections/_common/BannerItem.d.ts +5 -0
- package/cms/Sections/_common/TextStructure.d.ts +17 -0
- package/cms/Sections/_common/interfaces.d.ts +8 -0
- package/cms/helpers/index.d.ts +11 -0
- package/cms/index.d.ts +27 -0
- package/cms/server.d.ts +45 -0
- package/constants.d.ts +49 -0
- package/contexts/contexts/GlobalContext.d.ts +12 -0
- package/contexts/contexts/NextContext.d.ts +14 -0
- package/contexts/contexts/Session.d.ts +5 -0
- package/contexts/contexts/cart/AddToCart.d.ts +6 -0
- package/contexts/contexts/cart/Context.d.ts +6 -0
- package/contexts/contexts/cart/MiniCartData.d.ts +7 -0
- package/contexts/contexts/cart/UIContext.d.ts +6 -0
- package/contexts/contexts/cms/FlagsAndTagsContext.d.ts +27 -0
- package/contexts/contexts/cms/PDPContentContext.d.ts +6 -0
- package/contexts/contexts/cms/PLPContentContext.d.ts +4 -0
- package/contexts/contexts/events/EventContext.d.ts +6 -0
- package/contexts/contexts/header/HeaderCategoryContext.d.ts +7 -0
- package/contexts/contexts/header/HeaderContext.d.ts +6 -0
- package/contexts/contexts/header/MenuMobileContext.d.ts +7 -0
- package/contexts/contexts/header/TipBarContext.d.ts +6 -0
- package/contexts/contexts/header/UserMenuContext.d.ts +6 -0
- package/contexts/contexts/newsletter/Context.d.ts +6 -0
- package/contexts/contexts/pdp/PDPContext.d.ts +6 -0
- package/contexts/contexts/pdp/PDPDataContext.d.ts +4 -0
- package/contexts/contexts/plp/FilterContext.d.ts +6 -0
- package/contexts/contexts/plp/PLPConstants.d.ts +6 -0
- package/contexts/contexts/plp/PLPContext.d.ts +6 -0
- package/contexts/contexts/plp/PLPInfiniteContext.tsx.d.ts +6 -0
- package/contexts/contexts/plp/PLPNavigationContext.d.ts +6 -0
- package/contexts/contexts/product-card/ProductCardContext.d.ts +6 -0
- package/contexts/contexts/search/Constants.d.ts +6 -0
- package/contexts/contexts/search/Facets.d.ts +5 -0
- package/contexts/contexts/search/Products.d.ts +5 -0
- package/contexts/contexts/search/Root.d.ts +5 -0
- package/contexts/contexts/search/Search.d.ts +5 -0
- package/contexts/contexts/search/SuggestedTerms.d.ts +5 -0
- package/contexts/contexts/search/TopSearches.d.ts +6 -0
- package/contexts/hooks/useBackPDC.d.ts +3 -0
- package/contexts/hooks/useClipboard.d.ts +4 -0
- package/contexts/hooks/useDisableZoom.d.ts +1 -0
- package/contexts/hooks/useLocalStorage.d.ts +1 -0
- package/contexts/hooks/useMediator.d.ts +1 -0
- package/contexts/hooks/useOnClickOutside.d.ts +3 -0
- package/contexts/hooks/useOnScreen.d.ts +4 -0
- package/contexts/hooks/useOperations.d.ts +19 -0
- package/contexts/hooks/useScrollRestoration.d.ts +3 -0
- package/contexts/hooks/useScrollRestorationInfinite.d.ts +4 -0
- package/contexts/hooks/useSentinel.d.ts +11 -0
- package/contexts/hooks/useTouchZoomPan.d.ts +8 -0
- package/contexts/index.d.ts +159 -0
- package/contexts/store/cart.d.ts +11 -0
- package/contexts/store/header.d.ts +24 -0
- package/contexts/store/helpers.d.ts +3 -0
- package/contexts/store/pdp.d.ts +28 -0
- package/contexts/store/plp.d.ts +3 -0
- package/contexts/store/wishlist.d.ts +12 -0
- package/data/api/DitoIngest/sendDitoEvent.d.ts +3 -0
- package/data/api/catalog/index.d.ts +2 -0
- package/data/api/catalog/kit/index.d.ts +11 -0
- package/data/api/catalog/product/info/index.d.ts +10 -0
- package/data/api/catalog/product/similars/index.d.ts +3 -0
- package/data/api/checkout/address/index.d.ts +21 -0
- package/data/api/checkout/index.d.ts +4 -0
- package/data/api/checkout/order-form/attachments/index.d.ts +17 -0
- package/data/api/checkout/order-form/attachments/marketing-data/index.d.ts +21 -0
- package/data/api/checkout/order-form/attachments/open-text-field/index.d.ts +18 -0
- package/data/api/checkout/order-form/coupon/index.d.ts +15 -0
- package/data/api/checkout/order-form/custom-data/index.d.ts +17 -0
- package/data/api/checkout/order-form/index.d.ts +15 -0
- package/data/api/checkout/order-form/items/index.d.ts +23 -0
- package/data/api/checkout/order-form/items/remove-all/index.d.ts +13 -0
- package/data/api/checkout/order-form/items/update/index.d.ts +25 -0
- package/data/api/checkout/order-form/messages/remove-all/index.d.ts +13 -0
- package/data/api/checkout/order-form/offerings/index.d.ts +19 -0
- package/data/api/checkout/order-form/orderform/index.d.ts +14 -0
- package/data/api/checkout/order-form/profile/index.d.ts +25 -0
- package/data/api/checkout/order-form/seller-code/index.d.ts +13 -0
- package/data/api/checkout/order-form/shipping/index.d.ts +17 -0
- package/data/api/checkout/order-form/shipping/update/index.d.ts +36 -0
- package/data/api/checkout/region/index.d.ts +33 -0
- package/data/api/checkout/simulation/index.d.ts +30 -0
- package/data/api/cms/content-type/index.d.ts +3 -0
- package/data/api/cms/index.d.ts +12 -0
- package/data/api/fetchVtex.d.ts +5 -0
- package/data/api/master-data/index.d.ts +3 -0
- package/data/api/master-data/masterdata/index.d.ts +26 -0
- package/data/api/master-data/search/index.d.ts +61 -0
- package/data/api/master-data/update/index.d.ts +29 -0
- package/data/api/search/autoCompleteSuggestions/index.d.ts +11 -0
- package/data/api/search/crosseling/index.d.ts +91 -0
- package/data/api/search/facets/index.d.ts +4 -0
- package/data/api/search/index.d.ts +6 -0
- package/data/api/search/product/index.d.ts +3 -0
- package/data/api/search/searchFetch.d.ts +3 -0
- package/data/api/search/suggestedTerms/index.d.ts +12 -0
- package/data/api/search/topSearch/index.d.ts +3 -0
- package/data/api/wishlist/products/index.d.ts +3 -0
- package/data/helpers/cart/index.d.ts +247 -0
- package/data/helpers/catalog/index.d.ts +38 -0
- package/data/helpers/cms/index.d.ts +10 -0
- package/data/helpers/events/index.d.ts +29 -0
- package/data/helpers/plp/index.d.ts +85 -0
- package/data/helpers/product/generalInfo.d.ts +19 -0
- package/data/helpers/product/image.d.ts +17 -0
- package/data/helpers/product/index.d.ts +7 -0
- package/data/helpers/product/orderSizes.d.ts +3 -0
- package/data/helpers/product/price.d.ts +5 -0
- package/data/helpers/product/skuInfos.d.ts +21 -0
- package/data/helpers/product/thumb.d.ts +3 -0
- package/data/helpers/search/facets.d.ts +48 -0
- package/data/helpers/search/index.d.ts +12 -0
- package/data/helpers/search/product/index.d.ts +279 -0
- package/data/helpers/search/product/utils/canonical.d.ts +1 -0
- package/data/helpers/search/product/utils/enhanceSku.d.ts +9 -0
- package/data/helpers/search/product/utils/images.d.ts +7 -0
- package/data/helpers/search/product/utils/productStock.d.ts +7 -0
- package/data/helpers/search/product/utils/propertyValue.d.ts +20 -0
- package/data/helpers/search/product/utils/sanitizeHtml.d.ts +18 -0
- package/data/helpers/search/product/utils/sku.d.ts +5 -0
- package/data/helpers/search/product/utils/slugify.d.ts +1 -0
- package/data/helpers/search/root.d.ts +11 -0
- package/data/helpers/search/search.d.ts +9 -0
- package/data/helpers/utils/cms.d.ts +4 -0
- package/data/helpers/utils/cookies.d.ts +2 -0
- package/data/helpers/utils/debounce.d.ts +1 -0
- package/data/helpers/utils/generateSlug.d.ts +1 -0
- package/data/helpers/utils/getAltTextFromUrl.d.ts +1 -0
- package/data/helpers/utils/getAuthenticatedUser.d.ts +4 -0
- package/data/helpers/utils/index.d.ts +8 -0
- package/data/helpers/utils/inputValidation.d.ts +7 -0
- package/data/helpers/utils/stringToSHA1.d.ts +1 -0
- package/data/helpers/utils/throttle.d.ts +1 -0
- package/data/helpers/utils/timer.d.ts +2 -0
- package/data/index.d.ts +14 -0
- package/index-BNgFxeJv.js +4 -0
- package/index-CTiZEtIS.mjs +1906 -0
- package/index-D_ZsOrBB.mjs +1924 -0
- package/index-DlymQH4i.js +4 -0
- package/index.d.ts +5 -0
- package/index.js +58 -0
- package/index.mjs +20192 -0
- package/index2.js +1 -0
- package/index2.mjs +1729 -0
- package/layout/index.d.ts +349 -0
- package/layout/team-component/AddToCart/AddToCart.d.ts +37 -0
- package/layout/team-component/AddToCart/Composite/Card/Card.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Card/Content.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Card/Media.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Card/Name.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Card/PriceQuantity.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Card/StyleSize.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Layout/Content.d.ts +9 -0
- package/layout/team-component/AddToCart/Composite/Layout/Footer.d.ts +9 -0
- package/layout/team-component/AddToCart/Composite/Layout/Items.d.ts +9 -0
- package/layout/team-component/AddToCart/Composite/Modal.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Root.d.ts +7 -0
- package/layout/team-component/AddToCart/Composite/Tooltip.d.ts +7 -0
- package/layout/team-component/AddToCart/helpers.d.ts +5 -0
- package/layout/team-component/AddToCart/index.d.ts +7 -0
- package/layout/team-component/BackToTop/BackToTop.d.ts +4 -0
- package/layout/team-component/BackToTop/index.d.ts +1 -0
- package/layout/team-component/BuyPackage/BuyPackage.d.ts +4 -0
- package/layout/team-component/BuyPackage/Composite/GroupCart.d.ts +4 -0
- package/layout/team-component/BuyPackage/Composite/Header.d.ts +4 -0
- package/layout/team-component/BuyPackage/helpers.d.ts +5 -0
- package/layout/team-component/BuyPackage/index.d.ts +1 -0
- package/layout/team-component/Filter/Composite/Content.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Empty.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/Colors.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/Price/Label.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/Price/Price.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/Price/index.d.ts +1 -0
- package/layout/team-component/Filter/Composite/Item/Sizes.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/Toggle.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Item/index.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Loading.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Modal.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Root.d.ts +7 -0
- package/layout/team-component/Filter/Composite/Selected.d.ts +7 -0
- package/layout/team-component/Filter/Filter.d.ts +47 -0
- package/layout/team-component/Filter/helpers.d.ts +8 -0
- package/layout/team-component/Filter/index.d.ts +2 -0
- package/layout/team-component/Footer/Composite/Devices/Column.Desktop.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Devices/Column.Mobile.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Devices/Index.d.ts +4 -0
- package/layout/team-component/Footer/Composite/Item.d.ts +4 -0
- package/layout/team-component/Footer/Composite/LegalInformation.d.ts +4 -0
- package/layout/team-component/Footer/Composite/OtherCollection.d.ts +5 -0
- package/layout/team-component/Footer/Composite/Stamps.d.ts +5 -0
- package/layout/team-component/Footer/Composite/Support/index.d.ts +3 -0
- package/layout/team-component/Footer/Composite/Support/item.d.ts +3 -0
- package/layout/team-component/Footer/Composite/Wrapper.d.ts +7 -0
- package/layout/team-component/Footer/Footer.d.ts +7 -0
- package/layout/team-component/Footer/index.d.ts +4 -0
- package/layout/team-component/Form/Composite/Content.d.ts +4 -0
- package/layout/team-component/Form/Composite/FieldGroup.d.ts +7 -0
- package/layout/team-component/Form/Composite/FieldWrapper.d.ts +7 -0
- package/layout/team-component/Form/Composite/FormError.d.ts +4 -0
- package/layout/team-component/Form/Composite/Success.d.ts +4 -0
- package/layout/team-component/Form/Composite/index.d.ts +4 -0
- package/layout/team-component/Form/Form.d.ts +11 -0
- package/layout/team-component/Form/FormContext.d.ts +5 -0
- package/layout/team-component/Form/index.d.ts +1 -0
- package/layout/team-component/FreightCalculation/Composite/Freight/DeliveryInfo.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/Freight/Option.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/Freight/OptionContainer.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/Freight/OptionGrid.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/PostalCode/Container.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/PostalCode/DeliveryInfoBar.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/PostalCode/Input.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/ShippingFreight.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/ShippingFreightContainer.d.ts +4 -0
- package/layout/team-component/FreightCalculation/Composite/Tooltip.d.ts +7 -0
- package/layout/team-component/FreightCalculation/FreightCalculation.d.ts +4 -0
- package/layout/team-component/FreightCalculation/helpers.d.ts +4 -0
- package/layout/team-component/FreightCalculation/index.d.ts +1 -0
- package/layout/team-component/Header/Composite/Bag.d.ts +7 -0
- package/layout/team-component/Header/Composite/Categories.d.ts +5 -0
- package/layout/team-component/Header/Composite/HeaderDesktopWrapper.d.ts +9 -0
- package/layout/team-component/Header/Composite/HeaderMobileWrapper.d.ts +9 -0
- package/layout/team-component/Header/Composite/SearchButton.d.ts +2 -0
- package/layout/team-component/Header/Composite/SubMenu.d.ts +5 -0
- package/layout/team-component/Header/Composite/WishList.d.ts +5 -0
- package/layout/team-component/Header/index.d.ts +7 -0
- package/layout/team-component/HelpButton/Composite/Body.d.ts +4 -0
- package/layout/team-component/HelpButton/Composite/CallToAction.d.ts +7 -0
- package/layout/team-component/HelpButton/Composite/Wrapper.d.ts +4 -0
- package/layout/team-component/HelpButton/HelpButton.d.ts +4 -0
- package/layout/team-component/HelpButton/index.d.ts +1 -0
- package/layout/team-component/ImageZoom/Composite/ButtonClose.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Common/BlurImage.d.ts +3 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/ImageDesktop.d.ts +5 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/ImagesThumbs.d.ts +5 -0
- package/layout/team-component/ImageZoom/Composite/Desktop/WrapperDesktop.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/Carousel.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ImageMobile.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ImageZoom.d.ts +7 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/WrapperMobile.d.ts +4 -0
- package/layout/team-component/ImageZoom/Composite/Mobile/ZoomPopup.d.ts +7 -0
- package/layout/team-component/ImageZoom/ImageZoom.d.ts +7 -0
- package/layout/team-component/ImageZoom/index.d.ts +1 -0
- package/layout/team-component/Link/Link.d.ts +4 -0
- package/layout/team-component/Link/index.d.ts +1 -0
- package/layout/team-component/Link/interfaces.d.ts +17 -0
- package/layout/team-component/Media/Image.d.ts +4 -0
- package/layout/team-component/Media/Video.d.ts +4 -0
- package/layout/team-component/Media/index.d.ts +5 -0
- package/layout/team-component/Menu/Composite/Common/Thumbnail.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Desktop/Categories.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Desktop/MenuRoot.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Desktop/SubCategories/SubCategories.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Body.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Banner.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Category.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/List.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/SubCategory.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/Title.d.ts +7 -0
- package/layout/team-component/Menu/Composite/Mobile/Body/Category/index.d.ts +22 -0
- package/layout/team-component/Menu/Composite/Mobile/Header/Header.d.ts +5 -0
- package/layout/team-component/Menu/Composite/Mobile/MenuRoot.d.ts +4 -0
- package/layout/team-component/Menu/Composite/Mobile/Navigation/Bar.d.ts +5 -0
- package/layout/team-component/Menu/Composite/Mobile/Navigation/BarItem.d.ts +7 -0
- package/layout/team-component/Menu/MenuDesktop.d.ts +15 -0
- package/layout/team-component/Menu/MenuMobile.d.ts +18 -0
- package/layout/team-component/Newsletter/Composite/Form.d.ts +7 -0
- package/layout/team-component/Newsletter/Composite/FormFields.d.ts +7 -0
- package/layout/team-component/Newsletter/Composite/Input.d.ts +7 -0
- package/layout/team-component/Newsletter/Composite/SubmitButton.d.ts +8 -0
- package/layout/team-component/Newsletter/Composite/Success.d.ts +10 -0
- package/layout/team-component/Newsletter/Composite/Terms.d.ts +7 -0
- package/layout/team-component/Newsletter/helpers.d.ts +21 -0
- package/layout/team-component/Newsletter/index.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Controls.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Form.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Loading.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Selector.d.ts +7 -0
- package/layout/team-component/Notify/Composite/Status.d.ts +7 -0
- package/layout/team-component/Notify/helpers.d.ts +3 -0
- package/layout/team-component/Notify/index.d.ts +7 -0
- package/layout/team-component/PLPNavigation/Composite/BreadCrumb.d.ts +5 -0
- package/layout/team-component/PLPNavigation/Composite/Content.d.ts +7 -0
- package/layout/team-component/PLPNavigation/Composite/Filters.d.ts +5 -0
- package/layout/team-component/PLPNavigation/Composite/Root.d.ts +7 -0
- package/layout/team-component/PLPNavigation/Composite/Selected/Item.d.ts +7 -0
- package/layout/team-component/PLPNavigation/Composite/Selected/Selected.d.ts +7 -0
- package/layout/team-component/PLPNavigation/Composite/Selected/index.d.ts +1 -0
- package/layout/team-component/PLPNavigation/Composite/Selected/interfaces.d.ts +10 -0
- package/layout/team-component/PLPNavigation/Composite/Total.d.ts +5 -0
- package/layout/team-component/PLPNavigation/PLPNavigation.d.ts +31 -0
- package/layout/team-component/PLPNavigation/index.d.ts +1 -0
- package/layout/team-component/ProductCard/Composite/Actions/Actions.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Actions/BuyButton.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Actions/Header.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Media/Media.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Media/Video.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/OutStock.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Price.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Root.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Selectors/SizeSelector/Item.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Selectors/SizeSelector/SkuItem.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Selectors/SizeSelector.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Selectors/StyleSelector.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Title.d.ts +7 -0
- package/layout/team-component/ProductCard/Composite/Wrapper.d.ts +7 -0
- package/layout/team-component/ProductCard/ProductCard.d.ts +51 -0
- package/layout/team-component/ProductCard/index.d.ts +1 -0
- package/layout/team-component/ProductList/Composite/Banner.d.ts +7 -0
- package/layout/team-component/ProductList/Composite/Card/Actions.d.ts +7 -0
- package/layout/team-component/ProductList/Composite/Card/Card.d.ts +7 -0
- package/layout/team-component/ProductList/Composite/Card/index.d.ts +1 -0
- package/layout/team-component/ProductList/Composite/Root.d.ts +7 -0
- package/layout/team-component/ProductList/ProductList.d.ts +17 -0
- package/layout/team-component/ProductList/helpers.d.ts +13 -0
- package/layout/team-component/ProductList/index.d.ts +2 -0
- package/layout/team-component/ProductVariationList/Composite/List.d.ts +7 -0
- package/layout/team-component/ProductVariationList/Composite/Option.d.ts +7 -0
- package/layout/team-component/ProductVariationList/Composite/Root.d.ts +7 -0
- package/layout/team-component/ProductVariationList/Composite/Title.d.ts +7 -0
- package/layout/team-component/ProductVariationList/ProductVariationList.d.ts +19 -0
- package/layout/team-component/ProductVariationList/index.d.ts +1 -0
- package/layout/team-component/Sort/Composite/Button.d.ts +4 -0
- package/layout/team-component/Sort/Composite/Item.d.ts +4 -0
- package/layout/team-component/Sort/Composite/List.d.ts +4 -0
- package/layout/team-component/Sort/Composite/ListWrapper.d.ts +4 -0
- package/layout/team-component/Sort/Composite/Root.d.ts +4 -0
- package/layout/team-component/Sort/Sort.d.ts +7 -0
- package/layout/team-component/Sort/index.d.ts +1 -0
- package/layout/team-component/Table/Composite/Head.d.ts +4 -0
- package/layout/team-component/Table/Composite/Root.d.ts +4 -0
- package/layout/team-component/Table/Composite/Rows.d.ts +4 -0
- package/layout/team-component/Table/Table.d.ts +6 -0
- package/layout/team-component/Table/index.d.ts +1 -0
- package/layout/team-component/Timer/index.d.ts +4 -0
- package/layout/team-component/TipBar/Composite/Fields/Copy.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Fields/CountDown.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Fields/Coupon.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Fields/FieldsScreening.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Fields/TextContent.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Root.d.ts +7 -0
- package/layout/team-component/TipBar/Composite/Structure/Carousel.d.ts +9 -0
- package/layout/team-component/TipBar/Composite/Structure/Container.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Structure/Item.d.ts +3 -0
- package/layout/team-component/TipBar/Composite/Support/CloseBtn.d.ts +3 -0
- package/layout/team-component/TipBar/index.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Content.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Credits.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Login.d.ts +10 -0
- package/layout/team-component/UserMenu/Composite/Menu.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Modal.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Root.d.ts +7 -0
- package/layout/team-component/UserMenu/Composite/Tooltip.d.ts +7 -0
- package/layout/team-component/UserMenu/UserMenu.d.ts +34 -0
- package/layout/team-component/UserMenu/helpers.d.ts +7 -0
- package/layout/team-component/UserMenu/index.d.ts +7 -0
- package/layout/template/LPCadastro/index.d.ts +3 -0
- package/layout/template/MiniCart/Composite/Card/Card.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Actions.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Gift.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Media.d.ts +9 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Name.d.ts +10 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Price.d.ts +8 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Stepper.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Card/Composite/Wishlist.d.ts +4 -0
- package/layout/template/MiniCart/Composite/Card/helpers.d.ts +8 -0
- package/layout/template/MiniCart/Composite/Card/index.d.ts +45 -0
- package/layout/template/MiniCart/Composite/Cashback.d.ts +7 -0
- package/layout/template/MiniCart/Composite/CouponSeller/CouponSeller.d.ts +7 -0
- package/layout/template/MiniCart/Composite/CouponSeller/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Feedback.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Field/Field.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Field/Input.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Field/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Body/Body.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Modal/Body/CouponTag/CouponTag.d.ts +9 -0
- package/layout/template/MiniCart/Composite/Modal/Body/CouponTag/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Body/Promotion/Promotion.d.ts +9 -0
- package/layout/template/MiniCart/Composite/Modal/Body/Promotion/helper.d.ts +5 -0
- package/layout/template/MiniCart/Composite/Modal/Body/Promotion/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Body/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/Discount/Discount.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/Discount/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/Footer.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/Resume/Items.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/Resume/Totals.d.ts +5 -0
- package/layout/template/MiniCart/Composite/Modal/Footer/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Modal/Header.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Notifications/Item/Item.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Notifications/Item/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Notifications/Notifications.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Notifications/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/Shipping/Shipping.d.ts +7 -0
- package/layout/template/MiniCart/Composite/Shipping/index.d.ts +1 -0
- package/layout/template/MiniCart/Composite/TagMessage.d.ts +5 -0
- package/layout/template/MiniCart/Composite/Variations/Options.d.ts +17 -0
- package/layout/template/MiniCart/Composite/Variations/ProductVariations.d.ts +4 -0
- package/layout/template/MiniCart/Composite/Variations/VariationList.d.ts +3 -0
- package/layout/template/MiniCart/MiniCart.d.ts +4 -0
- package/layout/template/MiniCart/helpers.d.ts +7 -0
- package/layout/template/MiniCart/index.d.ts +51 -0
- package/layout/template/PDC/Composite/Empty/Empty.d.ts +7 -0
- package/layout/template/PDC/Composite/Empty/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Filters/Filters.d.ts +5 -0
- package/layout/template/PDC/Composite/Filters/helpers.d.ts +4 -0
- package/layout/template/PDC/Composite/Filters/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Grid/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/Grid.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +5 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/Loading.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Anchor.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Loader.d.ts +9 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/NextPage.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +21 -0
- package/layout/template/PDC/Composite/InfiniteScroller/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +5 -0
- package/layout/template/PDC/Composite/Navigation/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Notification/Notification.d.ts +7 -0
- package/layout/template/PDC/Composite/Notification/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/Arrow.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/interfaces.d.ts +8 -0
- package/layout/template/PDC/Composite/Pagination/Layout/Layout.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Layout/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/PageEllipses.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/interfaces.d.ts +10 -0
- package/layout/template/PDC/Composite/Pagination/Pages/Pages.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pages/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Pages/interfaces.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/helpers.d.ts +11 -0
- package/layout/template/PDC/Composite/Pagination/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Products/Products.d.ts +7 -0
- package/layout/template/PDC/Composite/Products/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Spinner/index.d.ts +7 -0
- package/layout/template/PDC/PDC.d.ts +7 -0
- package/layout/template/PDC/index.d.ts +39 -0
- package/layout/template/PDP/Composite/BreadCrumb/index.d.ts +7 -0
- package/layout/template/PDP/Composite/Containers/Gallery.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/Main.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/PDP.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/Secondary.d.ts +3 -0
- package/layout/template/PDP/Composite/Containers/index.d.ts +6 -0
- package/layout/template/PDP/Composite/Credits/index.d.ts +7 -0
- package/layout/template/PDP/Composite/Gallery/Carousel.d.ts +13 -0
- package/layout/template/PDP/Composite/Gallery/Image.d.ts +9 -0
- package/layout/template/PDP/Composite/Gallery/Video.d.ts +6 -0
- package/layout/template/PDP/Composite/Gallery/Wrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Gallery/index.d.ts +7 -0
- package/layout/template/PDP/Composite/Info/Divider.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCart.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCartObserver.d.ts +6 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToWishlist.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Actions/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/Actions.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Header/GoldenTag.d.ts +9 -0
- package/layout/template/PDP/Composite/Info/MainContent/Header/index.d.ts +8 -0
- package/layout/template/PDP/Composite/Info/MainContent/Links/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Price/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/ProductMeasurements/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Root.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/AccessibilityInfo.d.ts +2 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/Items.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/ToggleWrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +3 -0
- package/layout/template/PDP/Composite/Info/MainContent/Sizes/index.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/MainContent/SubSectionWrapper.d.ts +4 -0
- package/layout/template/PDP/Composite/Info/Root.d.ts +6 -0
- package/layout/template/PDP/Composite/Info/SecondaryContent/DescriptionsTabs.d.ts +2 -0
- package/layout/template/PDP/Composite/Info/SecondaryContent/Freight.d.ts +4 -0
- package/layout/template/PDP/index.d.ts +21 -0
- package/layout/template/QuickShop/Composite/Body.d.ts +4 -0
- package/layout/template/QuickShop/Composite/Header.d.ts +3 -0
- package/layout/template/QuickShop/Composite/Similars.d.ts +7 -0
- package/layout/template/QuickShop/index.d.ts +3 -0
- package/layout/template/SearchModal/Composite/AutoComplete.d.ts +7 -0
- package/layout/template/SearchModal/Composite/Header.d.ts +3 -0
- package/layout/template/SearchModal/Composite/Recommendations.d.ts +5 -0
- package/layout/template/SearchModal/Composite/Trends.d.ts +4 -0
- package/layout/template/SearchModal/SearchModal.d.ts +7 -0
- package/layout/template/SearchModal/helpers.d.ts +3 -0
- package/layout/template/SearchModal/index.d.ts +1 -0
- package/layout/template/SearchResult/Composite/Empty.d.ts +7 -0
- package/layout/template/SearchResult/Composite/Grid.d.ts +7 -0
- package/layout/template/SearchResult/Composite/GridHeader.d.ts +3 -0
- package/layout/template/SearchResult/Composite/Loading.d.ts +7 -0
- package/layout/template/SearchResult/Composite/Sort.d.ts +4 -0
- package/layout/template/SearchResult/SearchContent.d.ts +4 -0
- package/layout/template/SearchResult/SearchResult.d.ts +7 -0
- package/layout/template/SearchResult/index.d.ts +1 -0
- package/layout/template/WishList/Composite/Feedback.d.ts +11 -0
- package/layout/template/WishList/Composite/Grid.d.ts +7 -0
- package/layout/template/WishList/Composite/Init.d.ts +11 -0
- package/layout/template/WishList/Composite/Toggle.d.ts +7 -0
- package/layout/template/WishList/WishList.d.ts +26 -0
- package/layout/template/WishList/helpers.d.ts +12 -0
- package/layout/template/WishList/index.d.ts +1 -0
- package/layout/utils/DraftJsLinkWrapper/index.d.ts +4 -0
- package/layout/utils/ErrorBoundary/index.d.ts +17 -0
- package/layout/utils/EventCollector/index.d.ts +5 -0
- package/layout/utils/ExternalScripts/index.d.ts +5 -0
- package/layout/utils/LinkOrNotLink/index.d.ts +4 -0
- package/layout/utils/Observer/index.d.ts +4 -0
- package/layout/utils/ObserverOrNot/index.d.ts +10 -0
- package/layout/utils/ProductShelf/Composite/Card.d.ts +7 -0
- package/layout/utils/ProductShelf/Composite/Shelf.d.ts +4 -0
- package/layout/utils/ProductShelf/Composite/Title.d.ts +4 -0
- package/layout/utils/ProductShelf/index.d.ts +8 -0
- package/layout/utils/SessionEvent/index.d.ts +3 -0
- package/layout/utils/Skeleton/index.d.ts +2 -0
- package/layout/utils/SnackBar/index.d.ts +7 -0
- package/package.json +20 -0
- package/scripts/helpers/index.d.ts +3 -0
- package/scripts/index.d.ts +4 -0
- package/server.d.ts +58 -0
- package/style.css +1 -0
- package/types/cms/ContentTypes/Cart/index.d.ts +46 -0
- package/types/cms/ContentTypes/CommonPage/index.d.ts +34 -0
- package/types/cms/ContentTypes/FlagsAndTags/index.d.ts +56 -0
- package/types/cms/ContentTypes/Footer/index.d.ts +91 -0
- package/types/cms/ContentTypes/Header/index.d.ts +62 -0
- package/types/cms/ContentTypes/HelpButton/index.d.ts +48 -0
- package/types/cms/ContentTypes/LPLojas/index.d.ts +12 -0
- package/types/cms/ContentTypes/LookbookPage/index.d.ts +43 -0
- package/types/cms/ContentTypes/Multimarcas/index.d.ts +5 -0
- package/types/cms/ContentTypes/NotFoundPage/index.d.ts +17 -0
- package/types/cms/ContentTypes/PDP/index.d.ts +21 -0
- package/types/cms/ContentTypes/PLP/index.d.ts +47 -0
- package/types/cms/ContentTypes/PolicyPage/index.d.ts +38 -0
- package/types/cms/ContentTypes/PreHome/index.d.ts +21 -0
- package/types/cms/ContentTypes/Redirects/index.d.ts +25 -0
- package/types/cms/ContentTypes/Search/index.d.ts +31 -0
- package/types/cms/ContentTypes/Tipbar/index.d.ts +55 -0
- package/types/cms/ContentTypes/Wishlist/index.d.ts +17 -0
- package/types/cms/Factories/index.d.ts +69 -0
- package/types/cms/Sections/Banner/index.d.ts +50 -0
- package/types/cms/Sections/BannerCarousel/index.d.ts +37 -0
- package/types/cms/Sections/BennefitsBar/index.d.ts +23 -0
- package/types/cms/Sections/EmbedLive/index.d.ts +13 -0
- package/types/cms/Sections/HeaderSubmenu/index.d.ts +35 -0
- package/types/cms/Sections/ImageGrid/index.d.ts +10 -0
- package/types/cms/Sections/ListProductsBanners/index.d.ts +13 -0
- package/types/cms/Sections/Newsletter/index.d.ts +26 -0
- package/types/cms/Sections/PopupModal/index.d.ts +26 -0
- package/types/cms/Sections/ProductCarousel/index.d.ts +84 -0
- package/types/cms/Sections/SectionZone/index.d.ts +83 -0
- package/types/cms/Sections/TextAccordion/index.d.ts +15 -0
- package/types/cms/Sections/TextContent/index.d.ts +35 -0
- package/types/cms/Sections/_common/index.d.ts +8 -0
- package/types/constants.d.ts +378 -0
- package/types/contexts/contexts/cart/index.d.ts +17 -0
- package/types/contexts/contexts/cms/FlagsAndTags.d.ts +9 -0
- package/types/contexts/contexts/global.d.ts +20 -0
- package/types/contexts/contexts/header.d.ts +32 -0
- package/types/contexts/contexts/next.d.ts +11 -0
- package/types/contexts/contexts/pdp.d.ts +77 -0
- package/types/contexts/contexts/plp.d.ts +99 -0
- package/types/contexts/contexts/search.d.ts +84 -0
- package/types/contexts/contexts/session.d.ts +87 -0
- package/types/contexts/hooks/index.d.ts +19 -0
- package/types/contexts/store/cart.d.ts +212 -0
- package/types/contexts/store/header.d.ts +18 -0
- package/types/contexts/store/helpers.d.ts +7 -0
- package/types/contexts/store/pdp.d.ts +21 -0
- package/types/contexts/store/wishlist.d.ts +17 -0
- package/types/data/api/catalog/kit/index.d.ts +0 -0
- package/types/data/api/catalog/portal/index.d.ts +26 -0
- package/types/data/api/catalog/product/index.d.ts +50 -0
- package/types/data/api/checkout/address/index.d.ts +20 -0
- package/types/data/api/checkout/order-form/index.d.ts +328 -0
- package/types/data/api/checkout/order-form/profile/index.d.ts +17 -0
- package/types/data/api/checkout/order-form/shipping/index.d.ts +23 -0
- package/types/data/api/checkout/simulation/index.d.ts +64 -0
- package/types/data/api/cms/index.d.ts +18 -0
- package/types/data/api/dito-ingest/index.d.ts +65 -0
- package/types/data/api/index.d.ts +16 -0
- package/types/data/api/search/facets/index.d.ts +89 -0
- package/types/data/api/search/index.d.ts +149 -0
- package/types/data/api/search/product/index.d.ts +70 -0
- package/types/data/events/index.d.ts +113 -0
- package/types/data/helpers/index.d.ts +42 -0
- package/types/global/product/index.d.ts +419 -0
- package/types/layout/team-components/AddToCart/index.d.ts +87 -0
- package/types/layout/team-components/BackToTop/index.d.ts +11 -0
- package/types/layout/team-components/BuyPackage/index.d.ts +61 -0
- package/types/layout/team-components/Filter/Item/Price/index.d.ts +6 -0
- package/types/layout/team-components/Filter/Item/index.d.ts +29 -0
- package/types/layout/team-components/Filter/index.d.ts +76 -0
- package/types/layout/team-components/Footer/index.d.ts +61 -0
- package/types/layout/team-components/Form/index.d.ts +45 -0
- package/types/layout/team-components/FreightCalculation/index.d.ts +284 -0
- package/types/layout/team-components/Header/index.d.ts +81 -0
- package/types/layout/team-components/HelpButton/index.d.ts +31 -0
- package/types/layout/team-components/ImageZoom/index.d.ts +70 -0
- package/types/layout/team-components/Media/index.d.ts +12 -0
- package/types/layout/team-components/Menu/Desktop/index.d.ts +15 -0
- package/types/layout/team-components/Menu/Mobile/Body/Category/index.d.ts +23 -0
- package/types/layout/team-components/Menu/Mobile/Body/index.d.ts +3 -0
- package/types/layout/team-components/Menu/Mobile/index.d.ts +52 -0
- package/types/layout/team-components/Menu/index.d.ts +13 -0
- package/types/layout/team-components/Newsletter/index.d.ts +101 -0
- package/types/layout/team-components/Notify/index.d.ts +52 -0
- package/types/layout/team-components/PLPNavigation/index.d.ts +27 -0
- package/types/layout/team-components/PreHome/index.d.ts +6 -0
- package/types/layout/team-components/ProductCard/Selectors/index.d.ts +49 -0
- package/types/layout/team-components/ProductCard/index.d.ts +86 -0
- package/types/layout/team-components/ProductList/index.d.ts +53 -0
- package/types/layout/team-components/ProductVariationList/index.d.ts +15 -0
- package/types/layout/team-components/Sort/index.d.ts +21 -0
- package/types/layout/team-components/Table/index.d.ts +22 -0
- package/types/layout/team-components/Timer/index.d.ts +15 -0
- package/types/layout/team-components/TipBar/index.d.ts +69 -0
- package/types/layout/team-components/UserMenu/index.d.ts +57 -0
- package/types/layout/templates/LPCadastro/index.d.ts +33 -0
- package/types/layout/templates/MiniCart/index.d.ts +198 -0
- package/types/layout/templates/Multimarcas/index.d.ts +28 -0
- package/types/layout/templates/PDP/index.d.ts +149 -0
- package/types/layout/templates/PLP/index.d.ts +124 -0
- package/types/layout/templates/QuickShop/index.d.ts +22 -0
- package/types/layout/templates/SearchModal/index.d.ts +41 -0
- package/types/layout/templates/SearchResult/index.d.ts +44 -0
- package/types/layout/templates/Wishlist/index.d.ts +21 -0
- package/types/layout/utils/index.d.ts +47 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CommonPageContentProps } from '../../../types/cms/ContentTypes/CommonPage';
|
|
2
|
+
|
|
3
|
+
export declare const CommonPageContent: ({ slug, SectionZone, COMMON_PAGE_COLUMN_GAP, identifyWhoIsFirst, ...props }: CommonPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataScreeningProps } from '../../../types/cms/ContentTypes/CommonPage';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* TODO: remove SectionZone as props
|
|
5
|
+
*/
|
|
6
|
+
export declare const DataScreening: ({ slug, data, SectionZone, COMMON_PAGE_COLUMN_GAP, identifyWhoIsFirst }: DataScreeningProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FooterContentProps } from '../../../types/cms/ContentTypes/Footer';
|
|
2
|
+
|
|
3
|
+
export declare const FooterContent: ({ className, PAYMENT_FLAGS_DICTIONARY, PAYMENT_FLAGS, LEGAL_INFORMATION_TEXT, ICONS, SectionZone, Footer, FooterSupport, hasFooterStamps, ...props }: FooterContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IContentTypeResponseBase } from '../../../types/cms/Factories';
|
|
2
|
+
|
|
3
|
+
export declare const formatHelpButtonContent: (data: IContentTypeResponseBase[]) => {
|
|
4
|
+
iconLabel: string;
|
|
5
|
+
label: string;
|
|
6
|
+
content: never[];
|
|
7
|
+
helpButtonSize?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
iconLabel: any;
|
|
10
|
+
label: any;
|
|
11
|
+
helpButtonSize: any;
|
|
12
|
+
content: any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LPCadastroContentTypeProps } from '../../../types/layout/templates/LPCadastro';
|
|
2
|
+
|
|
3
|
+
declare const LPCadastroContent: ({ SectionZone, LPCadastro, ...props }: LPCadastroContentTypeProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
4
|
+
export default LPCadastroContent;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PDPContentProps } from '../../../types/cms/ContentTypes/PDP';
|
|
2
|
+
|
|
3
|
+
export declare const PDPContent: ({ children, productId, COMMON_PAGE_COLUMN_GAP, SectionZone, PDPContentProvider, ...props }: PDPContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PLPContentProps } from '../../../types/cms/ContentTypes/PLP';
|
|
2
|
+
|
|
3
|
+
export declare const PLPContent: ({ className, children, slug, SectionZone, COMMON_PAGE_COLUMN_GAP_PDC, PLPContentProvider, ...props }: PLPContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Redirects } from '../../../../types/cms/ContentTypes/Redirects';
|
|
2
|
+
|
|
3
|
+
export declare const getRedirectData: ({ slug, ...props }: Redirects) => Promise<{
|
|
4
|
+
slug: string;
|
|
5
|
+
query: null;
|
|
6
|
+
redirect: boolean;
|
|
7
|
+
collectionId?: undefined;
|
|
8
|
+
filters?: undefined;
|
|
9
|
+
sort?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
slug: string;
|
|
12
|
+
query: null;
|
|
13
|
+
redirect: boolean;
|
|
14
|
+
collectionId: null;
|
|
15
|
+
filters: null;
|
|
16
|
+
sort: null;
|
|
17
|
+
} | {
|
|
18
|
+
slug: string;
|
|
19
|
+
query: string;
|
|
20
|
+
redirect: boolean;
|
|
21
|
+
collectionId: number;
|
|
22
|
+
filters: {
|
|
23
|
+
key: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
sort: string;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const getPLPSynteticMetaData: ({ slug, ...props }: Redirects) => Promise<{
|
|
29
|
+
slug: string;
|
|
30
|
+
title: string;
|
|
31
|
+
description: string;
|
|
32
|
+
} | null>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Schema, Configuration, ConfigurationSchemaSet, IContentType } from '../../types/cms/Factories';
|
|
2
|
+
|
|
3
|
+
declare const ContentType: {
|
|
4
|
+
base: (props: IContentType) => IContentType;
|
|
5
|
+
configurationSchemaSet: (props: ConfigurationSchemaSet) => ConfigurationSchemaSet;
|
|
6
|
+
configuration: (props: Configuration) => Configuration;
|
|
7
|
+
schema: (props: Schema) => Schema;
|
|
8
|
+
};
|
|
9
|
+
export default ContentType;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BannerSectionType, IBannerSectionTypeComponent } from '../../../types/cms/Sections/Banner';
|
|
3
|
+
|
|
4
|
+
export declare const BannerSection: ({ data, className, priority, creative, ...props }: IBannerSectionTypeComponent & {
|
|
5
|
+
imgStyles?: HTMLAttributes<HTMLImageElement>["style"];
|
|
6
|
+
} & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SingleBannerSection: (data: BannerSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BannerContentProps } from '../../../../types/cms/Sections/Banner';
|
|
3
|
+
|
|
4
|
+
export declare const BannerContent: ({ data, videoUrl, priority, videoRef, ICONS, TEXTCONTENT_EXPANDED, TIME_ZONE, className, ...props }: BannerContentProps & HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ContentAlignment, Position } from '../../../types/cms/Sections/Banner';
|
|
2
|
+
|
|
3
|
+
export declare const positionAdapter: (position: Position) => {
|
|
4
|
+
verticalAlignment: string;
|
|
5
|
+
horizontalAlignment: string;
|
|
6
|
+
} | {
|
|
7
|
+
verticalAlignment: string;
|
|
8
|
+
horizontalAlignment: string;
|
|
9
|
+
} | {
|
|
10
|
+
verticalAlignment: string;
|
|
11
|
+
horizontalAlignment: string;
|
|
12
|
+
} | {
|
|
13
|
+
verticalAlignment: string;
|
|
14
|
+
horizontalAlignment: string;
|
|
15
|
+
} | {
|
|
16
|
+
verticalAlignment: string;
|
|
17
|
+
horizontalAlignment: string;
|
|
18
|
+
} | {
|
|
19
|
+
verticalAlignment: string;
|
|
20
|
+
horizontalAlignment: string;
|
|
21
|
+
} | {
|
|
22
|
+
verticalAlignment: string;
|
|
23
|
+
horizontalAlignment: string;
|
|
24
|
+
} | {
|
|
25
|
+
verticalAlignment: string;
|
|
26
|
+
horizontalAlignment: string;
|
|
27
|
+
} | {
|
|
28
|
+
verticalAlignment: string;
|
|
29
|
+
horizontalAlignment: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const alignmentAdapter: (alignment: ContentAlignment) => string;
|
|
32
|
+
export declare const colorModeAdapter: (colorMode: "Padr\u00E3o(preto)" | "Invertido(branco)") => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICONSType } from '../../../types/constants';
|
|
2
|
+
|
|
3
|
+
export declare function generateBannerSection({ ICONS }: {
|
|
4
|
+
ICONS: ICONSType;
|
|
5
|
+
}): import('../../../types/cms/Factories').ISection;
|
|
6
|
+
export declare const Component: {
|
|
7
|
+
Banner: (data: import('../../../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { BannerCarouselControllersType } from '../../../../types/cms/Sections/BannerCarousel';
|
|
2
|
+
|
|
3
|
+
export declare const Controllers: ({ prevOnClick, nextOnClick, onBulletClick, currentPage, totalPages, position, hideControllers, left, isFirst, ICONS, }: BannerCarouselControllersType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICONSType } from '../../../types/constants';
|
|
2
|
+
|
|
3
|
+
export declare function generateBannerCarousel({ ICONS }: {
|
|
4
|
+
ICONS: ICONSType;
|
|
5
|
+
}): import('../../../types/cms/Factories').ISection;
|
|
6
|
+
export declare const Component: {
|
|
7
|
+
[x: string]: (data: import('../../../types/cms/Sections/BannerCarousel').BannerCarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICONSType } from '../../../types/constants';
|
|
2
|
+
|
|
3
|
+
export declare function generateBennefitsBarSection({ ICONS }: {
|
|
4
|
+
ICONS: ICONSType;
|
|
5
|
+
}): import('../../../types/cms/Factories').ISection;
|
|
6
|
+
export declare const Component: {
|
|
7
|
+
'Bennefits Bar': ({ data, CONSTANTS }: import('../../../types/cms/Sections/BennefitsBar').BennefitsBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ErrorInfo, PropsWithChildren, ReactNode, Component } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ErrorBoundaryCMSProps extends PropsWithChildren {
|
|
4
|
+
debugger?: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
fallback?: ReactNode | null;
|
|
7
|
+
}
|
|
8
|
+
interface ErrorBoundaryState {
|
|
9
|
+
hasError: boolean;
|
|
10
|
+
error: unknown | null;
|
|
11
|
+
}
|
|
12
|
+
declare class ErrorBoundary extends Component<ErrorBoundaryCMSProps, ErrorBoundaryState> {
|
|
13
|
+
state: ErrorBoundaryState;
|
|
14
|
+
static getDerivedStateFromError(): ErrorBoundaryState;
|
|
15
|
+
componentDidCatch(error: unknown, errorInfo: ErrorInfo): void;
|
|
16
|
+
render(): ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export default ErrorBoundary;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IRecomendationShelf } from '../../../../types/cms/Sections/ProductCarousel';
|
|
2
|
+
|
|
3
|
+
declare const RecommendationShelf: ({ recommendationSearch, title, CONSTANTS, }: IRecomendationShelf) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export default RecommendationShelf;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ProductCarouselProps, PDPProductCarouselProps } from '../../../types/cms/Sections/ProductCarousel';
|
|
2
|
+
|
|
3
|
+
export declare const PDPProductCarousel: ({ data, CONSTANTS, }: PDPProductCarouselProps) => import("react/jsx-runtime").JSX.Element[] | null;
|
|
4
|
+
export declare const ProductCarousel: ({ data, CONSTANTS, searchModal, }: ProductCarouselProps) => import("react/jsx-runtime").JSX.Element[] | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type Params = {
|
|
2
|
+
count: number;
|
|
3
|
+
sort: string;
|
|
4
|
+
};
|
|
5
|
+
type CollectionSearchArgs = {
|
|
6
|
+
type: 'collectionSearch';
|
|
7
|
+
term?: string;
|
|
8
|
+
facets?: {
|
|
9
|
+
key: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}[];
|
|
12
|
+
params?: Params;
|
|
13
|
+
};
|
|
14
|
+
type RecommendationSearchArgs = {
|
|
15
|
+
type: 'recommendationSearch';
|
|
16
|
+
facets?: {
|
|
17
|
+
key: 'whosawalsosaw' | 'whosawalsobought' | 'whoboughtalsobought' | 'accessories' | 'similars' | 'showtogether' | 'suggestions' | undefined;
|
|
18
|
+
value: string | undefined;
|
|
19
|
+
}[];
|
|
20
|
+
params?: Params;
|
|
21
|
+
};
|
|
22
|
+
type ProductsApiArgs = CollectionSearchArgs | RecommendationSearchArgs;
|
|
23
|
+
export declare const productsApi: (args: ProductsApiArgs) => Promise<any>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICONSType } from '../../../types/constants';
|
|
2
|
+
|
|
3
|
+
export declare function generateTextStructureFragment({ ICONS }: {
|
|
4
|
+
ICONS: ICONSType;
|
|
5
|
+
}): {
|
|
6
|
+
borderTop: import('../../../types/cms/Factories').Property;
|
|
7
|
+
textStructure: import('../../../types/cms/Factories').Property;
|
|
8
|
+
textStructureReduced: import('../../../types/cms/Factories').Property;
|
|
9
|
+
textStructureMode: import('../../../types/cms/Factories').Property;
|
|
10
|
+
textStructureButtonSize: import('../../../types/cms/Factories').Property;
|
|
11
|
+
enableIcon: import('../../../types/cms/Factories').Property;
|
|
12
|
+
textStructureButtonIcon: import('../../../types/cms/Factories').Property;
|
|
13
|
+
textStructureButtonLabel: import('../../../types/cms/Factories').Property;
|
|
14
|
+
textStructureButtonHref: import('../../../types/cms/Factories').Property;
|
|
15
|
+
showTextStructureExpander: import('../../../types/cms/Factories').Property;
|
|
16
|
+
textStructureAlignment: import('../../../types/cms/Factories').Property;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ContentState, EditorState } from 'draft-js';
|
|
2
|
+
|
|
3
|
+
export declare const CREATE_CONTENT: (jsonData: string) => EditorState;
|
|
4
|
+
export declare const GET_CONTENT_STATE: (jsonData: string) => ContentState;
|
|
5
|
+
export declare const EXTENDED_BLOCK_RENDER_MAP: Immutable.Map<any, any>;
|
|
6
|
+
export declare const controllersPositionsAdapter: (position: string) => {
|
|
7
|
+
position: string;
|
|
8
|
+
shouldRender: string;
|
|
9
|
+
alignItems: string;
|
|
10
|
+
left: string;
|
|
11
|
+
};
|
package/cms/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as helpers from './helpers';
|
|
2
|
+
export declare const clientCMS: {
|
|
3
|
+
Components: {
|
|
4
|
+
Banner: {
|
|
5
|
+
Banner: (data: import('../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
BannerSection: ({ data, className, priority, creative, ...props }: import('../types/cms/Sections/Banner').IBannerSectionTypeComponent & {
|
|
8
|
+
imgStyles?: import('react').HTMLAttributes<HTMLImageElement>["style"];
|
|
9
|
+
} & import('react').HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
BennefitsBarSection: ({ data, CONSTANTS }: import('../types/cms/Sections/BennefitsBar').BennefitsBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
SingleBannerSection: (data: import('../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
TextContentSection: ({ data, ICONS, TEXTCONTENT_EXPANDED, className, }: import('../types/cms/Sections/TextContent').TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
BannerCarousel: (data: import('../types/cms/Sections/BannerCarousel').BannerCarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
TextAccordionSection: ({ data, id: sectionId, ICONS, className }: import('../types/cms/Sections/TextAccordion').TextAccordionSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
TipbarScreening: ({ CONSTANTS, data }: import('../types/cms/ContentTypes/Tipbar').TipbarScreeningProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
ImageGrid: (data: import('../types/cms/Sections/ImageGrid').ImageGridSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
SearchPageScreening: ({ children, data, SectionZone, className, }: import('../types/cms/ContentTypes/Search').SearchPageScrenningProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
SearchContent: ({ SectionZone, name, storeId, previewId, }: import('../types/cms/ContentTypes/Search').SearchContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
NewsletterSection: ({ data: { componentIndex, ...props }, CONSTANTS, }: import('../types/cms/Sections/Newsletter').NewsLetterSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
PDPProductCarousel: ({ data, CONSTANTS, }: import('../types/cms/Sections/ProductCarousel').PDPProductCarouselProps) => import("react/jsx-runtime").JSX.Element[] | null;
|
|
21
|
+
ProductCarousel: ({ data, CONSTANTS, searchModal, }: import('../types/cms/Sections/ProductCarousel').ProductCarouselProps) => import("react/jsx-runtime").JSX.Element[] | null;
|
|
22
|
+
EmbedLive: ({ data }: import('../types/cms/Sections/EmbedLive').EmbedLiveProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
PopupModalSection: ({ data, CONSTANTS, }: import('../types/cms/Sections/PopupModal').PopupModalSectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
SectionZone: import('react').FunctionComponent<import('../types/cms/Sections/SectionZone').SectionZoneProps>;
|
|
25
|
+
};
|
|
26
|
+
helpers: typeof helpers;
|
|
27
|
+
};
|
package/cms/server.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const serverCMS: {
|
|
2
|
+
Components: {
|
|
3
|
+
CommonPageContent: ({ slug, SectionZone, COMMON_PAGE_COLUMN_GAP, identifyWhoIsFirst, ...props }: import('../types/cms/ContentTypes/CommonPage').CommonPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
4
|
+
CartContent: ({ children, ClientCartProvider, ...props }: import('../types/cms/ContentTypes/Cart').CartContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
5
|
+
FlagsAndTagsContent: ({ children, ClientFlagsAndTagsProvider, ...props }: import('../types/cms/ContentTypes/FlagsAndTags').FlagsAndTagsContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
6
|
+
HeaderContent: ({ children, ClientHeaderProvider, ...props }: import('../types/cms/ContentTypes/Header').HeaderContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
TipbarContent: ({ ClientTipbarContent, ...props }: import('../types/cms/ContentTypes/Tipbar').TipbarContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
FooterContent: ({ className, PAYMENT_FLAGS_DICTIONARY, PAYMENT_FLAGS, LEGAL_INFORMATION_TEXT, ICONS, SectionZone, Footer, FooterSupport, hasFooterStamps, ...props }: import('../types/cms/ContentTypes/Footer').FooterContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
9
|
+
PLPContent: ({ className, children, slug, SectionZone, COMMON_PAGE_COLUMN_GAP_PDC, PLPContentProvider, ...props }: import('../types/cms/ContentTypes/PLP').PLPContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
10
|
+
PDPContent: ({ children, productId, COMMON_PAGE_COLUMN_GAP, SectionZone, PDPContentProvider, ...props }: import('../types/cms/ContentTypes/PDP').PDPContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
11
|
+
getRedirectData: ({ slug, ...props }: import('../types/cms/ContentTypes/Redirects').Redirects) => Promise<{
|
|
12
|
+
slug: string;
|
|
13
|
+
query: null;
|
|
14
|
+
redirect: boolean;
|
|
15
|
+
collectionId?: undefined;
|
|
16
|
+
filters?: undefined;
|
|
17
|
+
sort?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
slug: string;
|
|
20
|
+
query: null;
|
|
21
|
+
redirect: boolean;
|
|
22
|
+
collectionId: null;
|
|
23
|
+
filters: null;
|
|
24
|
+
sort: null;
|
|
25
|
+
} | {
|
|
26
|
+
slug: string;
|
|
27
|
+
query: string;
|
|
28
|
+
redirect: boolean;
|
|
29
|
+
collectionId: number;
|
|
30
|
+
filters: {
|
|
31
|
+
key: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[];
|
|
34
|
+
sort: string;
|
|
35
|
+
}>;
|
|
36
|
+
getPLPSynteticMetaData: ({ slug, ...props }: import('../types/cms/ContentTypes/Redirects').Redirects) => Promise<{
|
|
37
|
+
slug: string;
|
|
38
|
+
title: string;
|
|
39
|
+
description: string;
|
|
40
|
+
} | null>;
|
|
41
|
+
SearchPageContent: ({ children, SectionZone, className, ...props }: import('../types/cms/ContentTypes/Search').SearchPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
42
|
+
HelpButtonContent: ({ HelpButton, ICONS, className, ...props }: import('../types/cms/ContentTypes/HelpButton').HelpButtonContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
43
|
+
LPCadastroContent: ({ SectionZone, LPCadastro, ...props }: import('../types/layout/templates/LPCadastro').LPCadastroContentTypeProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
44
|
+
};
|
|
45
|
+
};
|
package/constants.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ICONSType } from './types/constants';
|
|
2
|
+
import { LOGIN_MENU_OPTIONS_ARRAYProps } from './types/layout/team-components/UserMenu';
|
|
3
|
+
|
|
4
|
+
export declare const PLP_FILTERS_SORT: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
options: {
|
|
7
|
+
score_desc: string;
|
|
8
|
+
orders_desc: string;
|
|
9
|
+
price_desc: string;
|
|
10
|
+
price_asc: string;
|
|
11
|
+
release_desc: string;
|
|
12
|
+
discount_desc: string;
|
|
13
|
+
name_asc: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const PDPShelfType: readonly ["whosawalsosaw", "whosawalsobought", "whoboughtalsobought", "accessories", "similars", "showtogether", "suggestions"];
|
|
17
|
+
export declare const FACET_CROSS_SELLING_MAP: {
|
|
18
|
+
readonly buy: "whoboughtalsobought";
|
|
19
|
+
readonly view: "whosawalsosaw";
|
|
20
|
+
readonly similars: "similars";
|
|
21
|
+
readonly viewAndBought: "whosawalsobought";
|
|
22
|
+
readonly accessories: "accessories";
|
|
23
|
+
readonly suggestions: "suggestions";
|
|
24
|
+
};
|
|
25
|
+
export declare const ObjectFitsDefault: readonly ["contain", "cover", "fill", "none"];
|
|
26
|
+
export declare const SEARCH_PAGE_DEFAULT_PAGINATION: {
|
|
27
|
+
nextPage: boolean;
|
|
28
|
+
previousPage: boolean;
|
|
29
|
+
startCursor: string;
|
|
30
|
+
endCursor: string;
|
|
31
|
+
count: number;
|
|
32
|
+
total: number;
|
|
33
|
+
};
|
|
34
|
+
export declare const DEFAULT_IMAGE_ALT_TEXT = "Imagem do produto";
|
|
35
|
+
export declare const PLP_TOP_CONTENT_LENGTH = 1;
|
|
36
|
+
export declare const LOGOUT_TEXT = "Sair";
|
|
37
|
+
export declare const LOGOUT_ICON: (ICONS: ICONSType) => string;
|
|
38
|
+
export declare const LOGIN_MENU_OPTIONS_ARRAY: ({ ICONS, storeConfig, }: LOGIN_MENU_OPTIONS_ARRAYProps) => {
|
|
39
|
+
icon: string;
|
|
40
|
+
label: string;
|
|
41
|
+
href: string;
|
|
42
|
+
needToBeAuth: boolean;
|
|
43
|
+
deviceShown: string;
|
|
44
|
+
}[];
|
|
45
|
+
export declare const LOGIN_MENU_TITLE: (signed: boolean, userName?: string) => string;
|
|
46
|
+
export declare const LOGIN_MENU_DESCRIPTION: (signed: boolean) => string;
|
|
47
|
+
export declare const POPUP_MODAL_TERMS_DESCRIPTION = "Marque a caixa para aceitar os termos de pol\u00EDtica de privacidade.";
|
|
48
|
+
export declare const POPUP_MODAL_ERROR_FEEDBACK = "Algumas informa\u00E7\u00F5es est\u00E3o incorretas ou n\u00E3o foram preenchidas";
|
|
49
|
+
export declare const POPUP_MODAL_BUTTON_LABEL = "Enviar";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GlobalContextProps, GlobalProviderProps, MediatorEventHandler } from '../../types/contexts/contexts/global';
|
|
2
|
+
|
|
3
|
+
export declare class Mediator {
|
|
4
|
+
private events;
|
|
5
|
+
private prevData;
|
|
6
|
+
subscribe<T>(event: string, handler: MediatorEventHandler<T>): () => void;
|
|
7
|
+
publish<T>(event: string, data: T): void;
|
|
8
|
+
}
|
|
9
|
+
declare const GlobalContext: import('react').Context<GlobalContextProps>;
|
|
10
|
+
declare const GlobalProvider: ({ children, headerConfigs, pathname, ...props }: GlobalProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const useGlobalContext: () => GlobalContextProps;
|
|
12
|
+
export { GlobalContext, GlobalProvider, useGlobalContext };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NextProviderProps } from '../../types/contexts/contexts/next';
|
|
2
|
+
|
|
3
|
+
declare const NextContext: import('react').Context<{
|
|
4
|
+
pathname: string;
|
|
5
|
+
nextimage: React.ComponentType<any>;
|
|
6
|
+
router: import('next/dist/shared/lib/app-router-context.shared-runtime').AppRouterInstance;
|
|
7
|
+
}>;
|
|
8
|
+
declare const NextProvider: ({ children, ...props }: NextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const useNextContext: () => {
|
|
10
|
+
pathname: string;
|
|
11
|
+
nextimage: React.ComponentType<any>;
|
|
12
|
+
router: import('next/dist/shared/lib/app-router-context.shared-runtime').AppRouterInstance;
|
|
13
|
+
};
|
|
14
|
+
export { NextContext, NextProvider, useNextContext };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ISessionContext, SessionProviderProps } from '../../types/contexts/contexts/session';
|
|
2
|
+
|
|
3
|
+
declare const SessionProvider: ({ children, AUTH_TOKEN_COOKIE, accountName, }: SessionProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const useSession: () => ISessionContext;
|
|
5
|
+
export { SessionProvider, useSession };
|