@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,378 @@
|
|
|
1
|
+
import { Size } from '@soma-vertical-web/core-components/src/lib/TextField/interfaces';
|
|
2
|
+
import { EditorState } from 'draft-js';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
4
|
+
import { FACET_CROSS_SELLING_MAP, ObjectFitsDefault, PLP_FILTERS_SORT } from '../constants';
|
|
5
|
+
import { VariantsExtended } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
|
|
6
|
+
import { ToggleSizeProps } from '@soma-vertical-web/core-components/src/lib/ToggleSize/interfaces';
|
|
7
|
+
|
|
8
|
+
export interface CrossSellingFacet {
|
|
9
|
+
key: keyof typeof FACET_CROSS_SELLING_MAP;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TODO: remove 'textarea-size' from InputSizes in core-compoennts
|
|
14
|
+
*/
|
|
15
|
+
export type InputSizes = Exclude<Size, 'textarea-size'>;
|
|
16
|
+
export type ACCESSIBILITY_INFOType = boolean;
|
|
17
|
+
export type ACTIVE_BENNEFITS_BAR_TITLEType = boolean;
|
|
18
|
+
export type ADD_TO_CARTType = Record<string, Record<string, string>>;
|
|
19
|
+
export type ALIGNMENT_MENUType = 'flex-start' | 'center' | 'flex-end';
|
|
20
|
+
export type AUTH_TOKEN_COOKIEType = string;
|
|
21
|
+
export type BENNEFITS_BAR_TITLEType = string;
|
|
22
|
+
export type BUY_BUTTON_LABELSType = Record<string, string>;
|
|
23
|
+
export type BUY_PACKAGEType = {
|
|
24
|
+
header: {
|
|
25
|
+
title: string;
|
|
26
|
+
subTitle: string;
|
|
27
|
+
};
|
|
28
|
+
group_cart: {
|
|
29
|
+
select_all_product: string;
|
|
30
|
+
select_product: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type COMMON_PAGE_COLUMN_GAPType = CSSProperties['gap'];
|
|
34
|
+
export type COMMON_PAGE_COLUMN_GAP_PDCType = CSSProperties['gap'];
|
|
35
|
+
export type COMPONENT_LISTType = Record<string, string>;
|
|
36
|
+
export type CREATE_CONTENTType = (jsonData: string) => EditorState;
|
|
37
|
+
export type CURRENCYType = string;
|
|
38
|
+
export type DELIVERY_INFO_BOXES_ALLOWEDType = boolean;
|
|
39
|
+
export type EXTENDED_BLOCK_RENDER_MAPType = Immutable.Map<any, any>;
|
|
40
|
+
export type FREIGHT_CALCULATIONType = {
|
|
41
|
+
messages: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
icons: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
inputSize: {
|
|
48
|
+
mobile: InputSizes;
|
|
49
|
+
desktop: InputSizes;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export type ICONSType = Record<string, string>;
|
|
53
|
+
export type ITEMS_DEFAULT_SORTType = PLP_SORT_DEFAULTType;
|
|
54
|
+
export type ITEMS_PER_PAGEType = number;
|
|
55
|
+
export type ITEMS_PER_SECTIONType = number;
|
|
56
|
+
export type LEGAL_INFORMATION_TEXTType = string;
|
|
57
|
+
export type MAIN_IMAGEType = string;
|
|
58
|
+
export type MENU_MOB_BTN_SIDEType = 'left' | 'right';
|
|
59
|
+
export type MENU_INFOType = {
|
|
60
|
+
login: {
|
|
61
|
+
button_text: string;
|
|
62
|
+
button_icon: string;
|
|
63
|
+
};
|
|
64
|
+
bag: {
|
|
65
|
+
button_text: string;
|
|
66
|
+
button_icon: string;
|
|
67
|
+
};
|
|
68
|
+
store: {
|
|
69
|
+
button_text: string;
|
|
70
|
+
button_icon: string;
|
|
71
|
+
};
|
|
72
|
+
mobile: {
|
|
73
|
+
navLinks_login: string;
|
|
74
|
+
navLinks_loggedIn: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export type MENU_NAVIGATION_BAR_ALLOWEDType = boolean;
|
|
78
|
+
export type MESSAGE_CASHBACKType = {
|
|
79
|
+
title: string;
|
|
80
|
+
};
|
|
81
|
+
export type MINICART_CONFIGType = {
|
|
82
|
+
has_gift_option: boolean;
|
|
83
|
+
has_wishlist_button: boolean;
|
|
84
|
+
notification_timeout: number;
|
|
85
|
+
promotion_input_starts_open: boolean;
|
|
86
|
+
messages: {
|
|
87
|
+
title: string;
|
|
88
|
+
empty_card: string;
|
|
89
|
+
remove: string;
|
|
90
|
+
remove_button: string;
|
|
91
|
+
add_wishlist: string;
|
|
92
|
+
add_wishlist_button: string;
|
|
93
|
+
empty_bag: string;
|
|
94
|
+
keep_buing_button: string;
|
|
95
|
+
checkout_button: string;
|
|
96
|
+
sellers_code_placeholder: string;
|
|
97
|
+
descount_cupom_placeholder: string;
|
|
98
|
+
shipping_calculation_placeholder: string;
|
|
99
|
+
promo_code_title: string;
|
|
100
|
+
promo_code_subtitle: string;
|
|
101
|
+
promo_code_button: string;
|
|
102
|
+
giftPackage: string;
|
|
103
|
+
};
|
|
104
|
+
product_card: {
|
|
105
|
+
sku: {
|
|
106
|
+
size: ToggleSizeProps['size'];
|
|
107
|
+
variation: ToggleSizeProps['variation'];
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
export type NAME_SPLIT_SYMBOLType = string;
|
|
112
|
+
export type NEWSLETTER_CONFIGSType = {
|
|
113
|
+
messages: {
|
|
114
|
+
success_title: string;
|
|
115
|
+
success_description: string;
|
|
116
|
+
invalid_name: string;
|
|
117
|
+
invalid_email: string;
|
|
118
|
+
invalid_generic: string;
|
|
119
|
+
required_field: string;
|
|
120
|
+
error: string;
|
|
121
|
+
accept_terms_and_conditions: string;
|
|
122
|
+
terms_and_conditions_not_accepted: string;
|
|
123
|
+
lgpd: string;
|
|
124
|
+
notify: string;
|
|
125
|
+
};
|
|
126
|
+
inputNamePlaceholder: string;
|
|
127
|
+
inputEmailPlaceholder: string;
|
|
128
|
+
submitLabel: string;
|
|
129
|
+
hasTermsAndConditions: boolean;
|
|
130
|
+
hasLoadingState: boolean;
|
|
131
|
+
interactionSizeDesk: string;
|
|
132
|
+
interactionSizeMob: string;
|
|
133
|
+
form: {
|
|
134
|
+
status: {
|
|
135
|
+
error: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export type NOTIFY_INFOType = {
|
|
140
|
+
title: string;
|
|
141
|
+
subtitle: string;
|
|
142
|
+
description: string;
|
|
143
|
+
legal: string;
|
|
144
|
+
selector_label: string;
|
|
145
|
+
email_placeholder: string;
|
|
146
|
+
button: string;
|
|
147
|
+
};
|
|
148
|
+
export type OBJECT_FITS_DEFAULTType = (typeof ObjectFitsDefault)[number];
|
|
149
|
+
export type PAYMENT_FLAGS_DICTIONARYType = Record<string, string>;
|
|
150
|
+
export type PAYMENT_FLAGSType = any;
|
|
151
|
+
export type PLP_FILTERSType = {
|
|
152
|
+
key: string;
|
|
153
|
+
label: string;
|
|
154
|
+
eventLabel: string;
|
|
155
|
+
order: number;
|
|
156
|
+
}[];
|
|
157
|
+
export type PLP_FILTERS_COLORSType = {
|
|
158
|
+
value: string;
|
|
159
|
+
color: string;
|
|
160
|
+
}[];
|
|
161
|
+
export type PLP_FILTERS_EMPTYType = Record<string, string>;
|
|
162
|
+
export type PLP_FILTERS_SORTType = typeof PLP_FILTERS_SORT;
|
|
163
|
+
export type PLP_FILTERS_SORT_OPTIONtype = keyof typeof PLP_FILTERS_SORT.options;
|
|
164
|
+
export type PLP_FILTERS_TITLEType = string;
|
|
165
|
+
export type PLP_GRID_SCROLL_BACKType = Record<string, string>;
|
|
166
|
+
export type PLP_NOT_RESULTType = {
|
|
167
|
+
link: string;
|
|
168
|
+
text: string;
|
|
169
|
+
title: string;
|
|
170
|
+
subtitle: string;
|
|
171
|
+
};
|
|
172
|
+
export type PDP_INFOType = Record<string, Record<string, string>>;
|
|
173
|
+
export type PLP_INFINITE_SCROLLType = boolean;
|
|
174
|
+
export type PLP_INFINITE_SCROLL_TIMEOUT_MSType = number;
|
|
175
|
+
export type PDC_NAVIGATIONType = {
|
|
176
|
+
filter_button: string;
|
|
177
|
+
breadcrumb: string;
|
|
178
|
+
};
|
|
179
|
+
export type PLP_PRODUCT_SIMILAR_DELAYType = number;
|
|
180
|
+
export type PLP_SHOW_VIDEO_ON_PRODUCT_CARDType = boolean;
|
|
181
|
+
export type PLP_SIZE_ORDERType = string[];
|
|
182
|
+
export type PLP_SORT_DEFAULTType = 'score:desc' | 'orders:desc' | 'price:desc' | 'price:asc' | 'release:desc' | 'discount:desc' | 'name:asc';
|
|
183
|
+
export type PRODUCT_CARD_IMAGE_ASPECT_RATIOType = string;
|
|
184
|
+
export type PRODUCT_CARD_TEXTSType = {
|
|
185
|
+
disabled: string;
|
|
186
|
+
notify: string;
|
|
187
|
+
error: {
|
|
188
|
+
title: string;
|
|
189
|
+
subtitle: string;
|
|
190
|
+
};
|
|
191
|
+
success: {
|
|
192
|
+
title: string;
|
|
193
|
+
subtitle: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
export type PRODUCT_CARD_TOP_WISHLIST_TOGGLEType = boolean;
|
|
197
|
+
export type PRODUCT_IMAGE_DIMENSIONSType = {
|
|
198
|
+
product_card: {
|
|
199
|
+
width: number;
|
|
200
|
+
height: number;
|
|
201
|
+
};
|
|
202
|
+
pdp: {
|
|
203
|
+
width: number;
|
|
204
|
+
height: number;
|
|
205
|
+
};
|
|
206
|
+
image_zoom: {
|
|
207
|
+
desktop: {
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
};
|
|
211
|
+
mobile: {
|
|
212
|
+
width: number;
|
|
213
|
+
height: number;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
export type QUICKSHOPType = {
|
|
218
|
+
title: string;
|
|
219
|
+
};
|
|
220
|
+
export type SEARCH_MODALType = {
|
|
221
|
+
HEADER: {
|
|
222
|
+
TITLE: string;
|
|
223
|
+
};
|
|
224
|
+
AUTOCOMPLETE: {
|
|
225
|
+
PLACEHOLDER: string;
|
|
226
|
+
NO_RESULTS: {
|
|
227
|
+
NO_RESULTS_TERM_TEXT: string;
|
|
228
|
+
NO_RESULTS_TERM_URL: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
EMPTY: {
|
|
232
|
+
ALL_TERMS: string;
|
|
233
|
+
ALL_TERMS_LABEL: string;
|
|
234
|
+
NOT_FOUND: string;
|
|
235
|
+
NOT_FOUND_P: string;
|
|
236
|
+
};
|
|
237
|
+
TRENDS: {
|
|
238
|
+
TITLE: string;
|
|
239
|
+
ALL_TERMS_URL: string;
|
|
240
|
+
ALL_TERMS_LABEL: string;
|
|
241
|
+
QTY_TERMS: number;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
export type SEARCH_PAGE_ITEM_THRESHOLDType = number;
|
|
245
|
+
export type SEARCH_RESULTType = {
|
|
246
|
+
EMPTY: {
|
|
247
|
+
ALL_TERMS: string;
|
|
248
|
+
ALL_TERMS_LABEL: string;
|
|
249
|
+
NOT_FOUND: string;
|
|
250
|
+
NOT_FOUND_P: string;
|
|
251
|
+
};
|
|
252
|
+
SEARCH: {
|
|
253
|
+
SEARCHING: string;
|
|
254
|
+
SEARCHED: string;
|
|
255
|
+
SEARCHED_P_START: string;
|
|
256
|
+
SEARCHED_P_END: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
export type SEARCH_TOTAL_PORTAL_IDType = string;
|
|
260
|
+
export type SECOND_IMAGEType = string;
|
|
261
|
+
export type MEASUREMENTS_SIZESType = {
|
|
262
|
+
bannerImage: string;
|
|
263
|
+
title: string;
|
|
264
|
+
descriptions: {
|
|
265
|
+
title: string;
|
|
266
|
+
text: string;
|
|
267
|
+
}[];
|
|
268
|
+
head: string[];
|
|
269
|
+
rows: string[][];
|
|
270
|
+
};
|
|
271
|
+
export type TEXTURE_IMAGEType = string[];
|
|
272
|
+
export type TIME_ZONEType = string;
|
|
273
|
+
export type TIPBAR_CONFIGSType = {
|
|
274
|
+
snackbar_timeout: number;
|
|
275
|
+
coupon_default_message: string;
|
|
276
|
+
coupon_applied_message: string;
|
|
277
|
+
coupon_error_title: string;
|
|
278
|
+
coupon_error_message: string;
|
|
279
|
+
coupon_cart_empty_title: string;
|
|
280
|
+
coupon_cart_empty_message: string;
|
|
281
|
+
};
|
|
282
|
+
export type TOGGLE_STYLE_MODIFIERType = React.CSSProperties;
|
|
283
|
+
export type VARIANT_PAGINATIONType = {
|
|
284
|
+
active: VariantsExtended;
|
|
285
|
+
default: VariantsExtended;
|
|
286
|
+
};
|
|
287
|
+
export type Z_INDEX_WARType = {
|
|
288
|
+
menu_mobile_navigation_bar: number;
|
|
289
|
+
plp_navigation: number;
|
|
290
|
+
product_card_header: number;
|
|
291
|
+
fixed_buttons: number;
|
|
292
|
+
pdp_bottom_navigation: number;
|
|
293
|
+
header: number;
|
|
294
|
+
header_desktop: number;
|
|
295
|
+
user_menu: number;
|
|
296
|
+
user_menu_mobile: number;
|
|
297
|
+
menu_desktop: number;
|
|
298
|
+
snackbar: number;
|
|
299
|
+
add_to_cart_feedback: number;
|
|
300
|
+
pdp_image_zoom: number;
|
|
301
|
+
minicart: number;
|
|
302
|
+
header_mobile: number;
|
|
303
|
+
menu_mobile: number;
|
|
304
|
+
modal: number;
|
|
305
|
+
};
|
|
306
|
+
export type StoreConfigType = {
|
|
307
|
+
checkoutUrl: string;
|
|
308
|
+
secureSubdomain: string;
|
|
309
|
+
storeUrl: string;
|
|
310
|
+
mainSeller: {
|
|
311
|
+
id: string;
|
|
312
|
+
name: string;
|
|
313
|
+
};
|
|
314
|
+
wishlistConfig: {
|
|
315
|
+
path: string;
|
|
316
|
+
label: string;
|
|
317
|
+
};
|
|
318
|
+
termsConfig: {
|
|
319
|
+
path: string;
|
|
320
|
+
label: string;
|
|
321
|
+
};
|
|
322
|
+
api: {
|
|
323
|
+
storeId: string;
|
|
324
|
+
workspace: string;
|
|
325
|
+
environment: string;
|
|
326
|
+
hideUnavailableItems: boolean;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
export type MASTER_DATA_ENTITY = {
|
|
330
|
+
newsletter: string;
|
|
331
|
+
client: string;
|
|
332
|
+
address: string;
|
|
333
|
+
stores: string;
|
|
334
|
+
sellers: string;
|
|
335
|
+
};
|
|
336
|
+
export type NEWSLETTER_CONFIGS = {
|
|
337
|
+
messages: {
|
|
338
|
+
success_title: string;
|
|
339
|
+
success_description: string;
|
|
340
|
+
invalid_name: string;
|
|
341
|
+
invalid_email: string;
|
|
342
|
+
invalid_generic: string;
|
|
343
|
+
required_field: string;
|
|
344
|
+
error: string;
|
|
345
|
+
accept_terms_and_conditions: string;
|
|
346
|
+
terms_and_conditions_not_accepted: string;
|
|
347
|
+
lgpd: string;
|
|
348
|
+
notify: string;
|
|
349
|
+
};
|
|
350
|
+
inputNamePlaceholder: string;
|
|
351
|
+
inputEmailPlaceholder: string;
|
|
352
|
+
submitLabel: string;
|
|
353
|
+
hasTermsAndConditions: boolean;
|
|
354
|
+
hasLoadingState: boolean;
|
|
355
|
+
interactionSizeDesk: string;
|
|
356
|
+
interactionSizeMob: string;
|
|
357
|
+
form: {
|
|
358
|
+
status: {
|
|
359
|
+
error: string;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
export type TEXTCONTENT_EXPANDEDType = {
|
|
364
|
+
less: string;
|
|
365
|
+
more: string;
|
|
366
|
+
};
|
|
367
|
+
export type WISHLIST_INFOType = {
|
|
368
|
+
messages: {
|
|
369
|
+
add: string;
|
|
370
|
+
remove: string;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
export type WISHLIST_NOT_RESULTType = {
|
|
374
|
+
link: string;
|
|
375
|
+
text: string;
|
|
376
|
+
title: string;
|
|
377
|
+
subtitle: string;
|
|
378
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction, HTMLAttributes } from 'react';
|
|
2
|
+
import { CartItemStore, AddToCart } from '../../store/cart';
|
|
3
|
+
import { ItemType_APICatalog } from '../../../global/product';
|
|
4
|
+
|
|
5
|
+
export interface UIContextProps {
|
|
6
|
+
recentlyAddedProducts: CartItemStore[];
|
|
7
|
+
setRecentlyAdded: Dispatch<SetStateAction<AddToCart[]>>;
|
|
8
|
+
}
|
|
9
|
+
export type UIProviderProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
export interface MiniCartDataContextProps {
|
|
11
|
+
handleUpdateItemQuantityEvent: ({ cartItem, fullData, oldQuantity, newQuantity, }: {
|
|
12
|
+
cartItem: CartItemStore;
|
|
13
|
+
fullData?: ItemType_APICatalog;
|
|
14
|
+
oldQuantity: number;
|
|
15
|
+
newQuantity: number;
|
|
16
|
+
}) => void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IFlagsAndTagsContent } from '../../../cms/ContentTypes/FlagsAndTags';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
export type FlagsAndTagsContextType = {
|
|
5
|
+
tags: IFlagsAndTagsContent["config"];
|
|
6
|
+
};
|
|
7
|
+
export type FlagsAndTagsProviderProps = PropsWithChildren & {
|
|
8
|
+
data: IFlagsAndTagsContent;
|
|
9
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PropsWithChildren, RefObject } from 'react';
|
|
2
|
+
import { VariantsType } from '@soma-vertical-web/core-components/src/lib/Header/interfaces';
|
|
3
|
+
import { Mediator } from '../../../contexts/contexts/GlobalContext';
|
|
4
|
+
import { HeaderConfigsType, HeaderPositionsType } from '../../layout/team-components/Header';
|
|
5
|
+
|
|
6
|
+
export type MediatorEventHandler<T = any> = (data: T) => void;
|
|
7
|
+
export interface GlobalContextProps extends PropsWithChildren {
|
|
8
|
+
isMobile: boolean | null;
|
|
9
|
+
mediatorRef: RefObject<Mediator>;
|
|
10
|
+
currentHeaderConfigsRef: RefObject<{
|
|
11
|
+
headerVariant: VariantsType;
|
|
12
|
+
bannerVariant: VariantsType;
|
|
13
|
+
position: HeaderPositionsType;
|
|
14
|
+
}>;
|
|
15
|
+
deviceValidated: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface GlobalProviderProps extends PropsWithChildren {
|
|
18
|
+
headerConfigs: HeaderConfigsType;
|
|
19
|
+
pathname: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PaginationController } from '@soma-vertical-web/core-components/src/lib/Carousel/extend/PaginationController';
|
|
2
|
+
import { Dispatch, PropsWithChildren, RefObject, SetStateAction } from 'react';
|
|
3
|
+
import { ITipbarRepeatableContent } from '../../cms/ContentTypes/Tipbar';
|
|
4
|
+
import { Mode } from '@soma-vertical-web/foundations';
|
|
5
|
+
import { TipBarProps } from '../../layout/team-components/TipBar';
|
|
6
|
+
|
|
7
|
+
export type ModeType = (typeof Mode)[number];
|
|
8
|
+
export interface MenuMobileContextProps extends PropsWithChildren {
|
|
9
|
+
bodyRef: RefObject<HTMLDivElement | null>;
|
|
10
|
+
documentBodyRef: RefObject<HTMLElement | null>;
|
|
11
|
+
handleCloseSubMenu: () => void;
|
|
12
|
+
}
|
|
13
|
+
export type MenuMobileProviderProps = PropsWithChildren;
|
|
14
|
+
export interface TipBarContextProps {
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
17
|
+
slices: ITipbarRepeatableContent[];
|
|
18
|
+
hasCarousel: boolean;
|
|
19
|
+
backgroundStyle: Record<string, string>;
|
|
20
|
+
handleCloseTipbar: () => void;
|
|
21
|
+
mode: ModeType;
|
|
22
|
+
slideTranstionTimer: number;
|
|
23
|
+
showCarouselArrows: boolean;
|
|
24
|
+
hasCloseBtn: boolean;
|
|
25
|
+
carouselProps: {
|
|
26
|
+
initialize: (el: HTMLDivElement | null) => void;
|
|
27
|
+
controller?: PaginationController;
|
|
28
|
+
itemsStyles: Record<string, string>;
|
|
29
|
+
};
|
|
30
|
+
CONSTANTS: TipBarProps['CONSTANTS'];
|
|
31
|
+
}
|
|
32
|
+
export type TipBarProviderProps = TipBarProps & PropsWithChildren;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppRouterInstance } from 'next/dist/shared/lib/app-router-context.shared-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
type CommonType = {
|
|
5
|
+
pathname: string;
|
|
6
|
+
nextimage: React.ComponentType<any>;
|
|
7
|
+
router: AppRouterInstance;
|
|
8
|
+
};
|
|
9
|
+
export type NextContextProps = CommonType;
|
|
10
|
+
export type NextProviderProps = CommonType & PropsWithChildren;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { ImageType, ProductType_PDP } from '../../global/product';
|
|
3
|
+
import { FlagGoldenPdp, TagCommercialConsumer } from '../../cms/ContentTypes/FlagsAndTags';
|
|
4
|
+
import { UseBackPDCProps } from '../hooks';
|
|
5
|
+
import { PDP_INFOType, NAME_SPLIT_SYMBOLType, TEXTURE_IMAGEType } from '../../constants';
|
|
6
|
+
|
|
7
|
+
export interface PDPContextProps {
|
|
8
|
+
sizesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
9
|
+
}
|
|
10
|
+
export interface PDPProviderProps extends PropsWithChildren, UseBackPDCProps {
|
|
11
|
+
}
|
|
12
|
+
export type Installments = {
|
|
13
|
+
count: number;
|
|
14
|
+
value: number;
|
|
15
|
+
};
|
|
16
|
+
export type PricesInfos = {
|
|
17
|
+
price: number;
|
|
18
|
+
listPrice: number;
|
|
19
|
+
installments: Installments;
|
|
20
|
+
};
|
|
21
|
+
export type Sizes = {
|
|
22
|
+
name: string;
|
|
23
|
+
sku: string;
|
|
24
|
+
value: string;
|
|
25
|
+
available: boolean;
|
|
26
|
+
sellerId: string;
|
|
27
|
+
sellerName: string;
|
|
28
|
+
}[];
|
|
29
|
+
export type DescriptionContent = {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
content: string | TrustedHTML;
|
|
33
|
+
}[];
|
|
34
|
+
export type PDPDataContextProps = {
|
|
35
|
+
productData: ProductType_PDP;
|
|
36
|
+
productId: string;
|
|
37
|
+
productName: string;
|
|
38
|
+
productReference: string;
|
|
39
|
+
tag?: {
|
|
40
|
+
commercial?: {
|
|
41
|
+
key: string;
|
|
42
|
+
value: string;
|
|
43
|
+
icon: string;
|
|
44
|
+
};
|
|
45
|
+
institucional?: {
|
|
46
|
+
key: string;
|
|
47
|
+
value: string;
|
|
48
|
+
icon: string;
|
|
49
|
+
};
|
|
50
|
+
flagPdp?: TagCommercialConsumer;
|
|
51
|
+
flagGoldenPdp?: FlagGoldenPdp;
|
|
52
|
+
};
|
|
53
|
+
items: ProductType_PDP['items'];
|
|
54
|
+
sizes: Sizes;
|
|
55
|
+
allSizesAvailable: boolean;
|
|
56
|
+
installments: Installments;
|
|
57
|
+
price: number;
|
|
58
|
+
listPrice: number;
|
|
59
|
+
images: ImageType[];
|
|
60
|
+
video: string;
|
|
61
|
+
descriptionContent: DescriptionContent;
|
|
62
|
+
breadcrumbList: string[];
|
|
63
|
+
thumbImage?: ImageType;
|
|
64
|
+
isKit: boolean;
|
|
65
|
+
colorName: string;
|
|
66
|
+
handleViewItemEvent: (args: {
|
|
67
|
+
sku?: string;
|
|
68
|
+
size?: string;
|
|
69
|
+
}) => void;
|
|
70
|
+
};
|
|
71
|
+
export interface PDPDataProviderProps extends PropsWithChildren {
|
|
72
|
+
productData: ProductType_PDP;
|
|
73
|
+
isKit: boolean;
|
|
74
|
+
PDP_INFO: PDP_INFOType;
|
|
75
|
+
NAME_SPLIT_SYMBOL: NAME_SPLIT_SYMBOLType;
|
|
76
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
77
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
import { ProductSearchResultPage } from '../../data/api/search/product';
|
|
3
|
+
import { State } from '../../data/api/search';
|
|
4
|
+
import { BannerType } from '../../cms/Sections/Banner';
|
|
5
|
+
import { HasVariant, ProductType_PDC } from '../../global/product';
|
|
6
|
+
import { BUY_BUTTON_LABELSType, ICONSType, ITEMS_DEFAULT_SORTType, ITEMS_PER_PAGEType, ITEMS_PER_SECTIONType, MAIN_IMAGEType, NEWSLETTER_CONFIGSType, NOTIFY_INFOType, PDC_NAVIGATIONType, PLP_FILTERS_COLORSType, PLP_FILTERS_EMPTYType, PLP_FILTERS_TITLEType, PLP_FILTERSType, PLP_GRID_SCROLL_BACKType, PLP_INFINITE_SCROLLType, PLP_NOT_RESULTType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SHOW_VIDEO_ON_PRODUCT_CARDType, PLP_SIZE_ORDERType, PLP_SORT_DEFAULTType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType, PRODUCT_CARD_TEXTSType, PRODUCT_CARD_TOP_WISHLIST_TOGGLEType, PRODUCT_IMAGE_DIMENSIONSType, SEARCH_PAGE_ITEM_THRESHOLDType, SEARCH_TOTAL_PORTAL_IDType, SECOND_IMAGEType, StoreConfigType, TEXTCONTENT_EXPANDEDType, TEXTURE_IMAGEType, TIME_ZONEType, VARIANT_PAGINATIONType, Z_INDEX_WARType } from '../../constants';
|
|
7
|
+
|
|
8
|
+
export type PLPBanners = ({
|
|
9
|
+
columns: number;
|
|
10
|
+
position_grid: number;
|
|
11
|
+
} & BannerType)[];
|
|
12
|
+
export interface Page {
|
|
13
|
+
page: number;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
products: any[];
|
|
16
|
+
pagination: {
|
|
17
|
+
nextPage?: boolean;
|
|
18
|
+
previousPage?: boolean;
|
|
19
|
+
startCursor: string;
|
|
20
|
+
endCursor: string;
|
|
21
|
+
count: number;
|
|
22
|
+
total: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export type PositionsGrid = {
|
|
26
|
+
banners: number[];
|
|
27
|
+
products: number[];
|
|
28
|
+
};
|
|
29
|
+
export type DataLayerEvent = (data: ProductSearchResultPage) => void;
|
|
30
|
+
export interface PageState {
|
|
31
|
+
addPage: (state: State, positions: PositionsGrid, callback?: DataLayerEvent, itemsPerPage?: number) => void;
|
|
32
|
+
banners: number[];
|
|
33
|
+
createPages: (state: State, positions: PositionsGrid, callback?: DataLayerEvent, itemsPerPage?: number) => void;
|
|
34
|
+
load: boolean;
|
|
35
|
+
pages: Page[];
|
|
36
|
+
products: number[];
|
|
37
|
+
total: number;
|
|
38
|
+
updateProducts: (state: State, callback?: DataLayerEvent) => void;
|
|
39
|
+
}
|
|
40
|
+
export interface PLPInfiniteContextProps extends PropsWithChildren<Omit<PageState, 'init'>> {
|
|
41
|
+
addNewPage(page: Page): void;
|
|
42
|
+
columns: number;
|
|
43
|
+
gap: number;
|
|
44
|
+
updateParamPage(page: Page): void;
|
|
45
|
+
updatePage(page: Page): void;
|
|
46
|
+
handleNotify(skus: ProductType_PDC['isVariantOf']['hasVariant'], item: HasVariant | null): void;
|
|
47
|
+
}
|
|
48
|
+
export interface PLPInfiniteProviderProps extends PropsWithChildren {
|
|
49
|
+
banners: PLPBanners;
|
|
50
|
+
}
|
|
51
|
+
export interface PLPContextProps {
|
|
52
|
+
openFilters: boolean;
|
|
53
|
+
setOpenFilters: Dispatch<SetStateAction<boolean>>;
|
|
54
|
+
}
|
|
55
|
+
export interface PLPProviderProps extends PropsWithChildren {
|
|
56
|
+
slug: string[] | string;
|
|
57
|
+
PLP_SORT_DEFAULT: PLP_SORT_DEFAULTType;
|
|
58
|
+
searchParams?: URLSearchParams;
|
|
59
|
+
collectionId?: number | null;
|
|
60
|
+
itemsPerPage?: number;
|
|
61
|
+
brand?: string | null;
|
|
62
|
+
}
|
|
63
|
+
export interface PLPConstantsProviderProps extends PropsWithChildren {
|
|
64
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
65
|
+
ICONS: ICONSType;
|
|
66
|
+
ITEMS_DEFAULT_SORT: ITEMS_DEFAULT_SORTType;
|
|
67
|
+
ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
|
|
68
|
+
ITEMS_PER_SECTION: ITEMS_PER_SECTIONType;
|
|
69
|
+
MAIN_IMAGE: MAIN_IMAGEType;
|
|
70
|
+
NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
|
|
71
|
+
NOTIFY_INFO: NOTIFY_INFOType;
|
|
72
|
+
PDC_NAVIGATION: PDC_NAVIGATIONType;
|
|
73
|
+
PLP_FILTERS: PLP_FILTERSType;
|
|
74
|
+
PLP_FILTERS_COLORS: PLP_FILTERS_COLORSType;
|
|
75
|
+
PLP_FILTERS_EMPTY: PLP_FILTERS_EMPTYType;
|
|
76
|
+
PLP_FILTERS_TITLE: PLP_FILTERS_TITLEType;
|
|
77
|
+
PLP_GRID_SCROLL_BACK: PLP_GRID_SCROLL_BACKType;
|
|
78
|
+
PLP_INFINITE_SCROLL: PLP_INFINITE_SCROLLType;
|
|
79
|
+
PLP_NOT_RESULT: PLP_NOT_RESULTType;
|
|
80
|
+
PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
|
|
81
|
+
PLP_SHOW_VIDEO_ON_PRODUCT_CARD: PLP_SHOW_VIDEO_ON_PRODUCT_CARDType;
|
|
82
|
+
PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
|
|
83
|
+
PLP_SORT_DEFAULT: PLP_SORT_DEFAULTType;
|
|
84
|
+
PRODUCT_CARD_IMAGE_ASPECT_RATIO: PRODUCT_CARD_IMAGE_ASPECT_RATIOType;
|
|
85
|
+
PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
|
|
86
|
+
PRODUCT_CARD_TOP_WISHLIST_TOGGLE: PRODUCT_CARD_TOP_WISHLIST_TOGGLEType;
|
|
87
|
+
PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
|
|
88
|
+
SEARCH_PAGE_ITEM_THRESHOLD: SEARCH_PAGE_ITEM_THRESHOLDType;
|
|
89
|
+
SEARCH_TOTAL_PORTAL_ID: SEARCH_TOTAL_PORTAL_IDType;
|
|
90
|
+
SECOND_IMAGE: SECOND_IMAGEType;
|
|
91
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
92
|
+
TEXTCONTENT_EXPANDED?: TEXTCONTENT_EXPANDEDType;
|
|
93
|
+
TIME_ZONE: TIME_ZONEType;
|
|
94
|
+
VARIANT_PAGINATION: VARIANT_PAGINATIONType;
|
|
95
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
96
|
+
StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
|
|
97
|
+
searchParams: URLSearchParams;
|
|
98
|
+
}
|
|
99
|
+
export type PLPConstantsContextProps = Omit<PLPConstantsProviderProps, 'children'>;
|