@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,198 @@
|
|
|
1
|
+
import { ButtonProps } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
|
|
2
|
+
import { ToggleSizeProps } from '@soma-vertical-web/core-components/src/lib/ToggleSize/interfaces';
|
|
3
|
+
import { CartContextProps, CartItemStore, NotificationsStore, NotificationStore } from '../../../contexts/store/cart';
|
|
4
|
+
import { ICONSType, MESSAGE_CASHBACKType, MINICART_CONFIGType, NAME_SPLIT_SYMBOLType, PLP_NOT_RESULTType, StoreConfigType, TEXTURE_IMAGEType, TIPBAR_CONFIGSType, TOGGLE_STYLE_MODIFIERType, Z_INDEX_WARType } from '../../../constants';
|
|
5
|
+
import { InputCustomProps } from '@soma-vertical-web/core-components/src/lib/TextField/interfaces';
|
|
6
|
+
import { PropsWithChildren } from 'react';
|
|
7
|
+
|
|
8
|
+
export interface ModalMiniCartProps {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
setModalIsOpen: (isOpen: boolean) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface VariationListProps {
|
|
13
|
+
variations: {
|
|
14
|
+
name: string;
|
|
15
|
+
value: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
export interface ProductQuantityProps {
|
|
20
|
+
quantity: number;
|
|
21
|
+
updateQuantity: (quantity: number) => void;
|
|
22
|
+
}
|
|
23
|
+
type CartActionType = 'favorite-true' | 'favorite-false' | 'delete' | 'add' | 'minus';
|
|
24
|
+
export interface ButtonActionProps extends ButtonProps {
|
|
25
|
+
icon: CartActionType;
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
iconPosition?: 'Start' | 'End';
|
|
28
|
+
}
|
|
29
|
+
export interface ProductsProps {
|
|
30
|
+
addToCart: CartContextProps['addToCart'];
|
|
31
|
+
product: CartItemStore;
|
|
32
|
+
index: number;
|
|
33
|
+
available: boolean;
|
|
34
|
+
removeProduct(id: string, message?: string, callback?: () => void): void;
|
|
35
|
+
updateProductQuantity: (quantity: number) => void;
|
|
36
|
+
}
|
|
37
|
+
interface InputState {
|
|
38
|
+
value: string;
|
|
39
|
+
error: boolean;
|
|
40
|
+
valid: boolean;
|
|
41
|
+
isLoading?: boolean;
|
|
42
|
+
isValidated?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export type ActionAlias = 'sellerCode' | 'couponCode' | 'freightCalculation';
|
|
45
|
+
export type StatePromocode = {
|
|
46
|
+
[key in ActionAlias]: InputState;
|
|
47
|
+
};
|
|
48
|
+
export declare enum ActionType {
|
|
49
|
+
SET_INPUT_VALUE = "SET_INPUT_VALUE",
|
|
50
|
+
CLEAR_INPUT_VALUE = "CLEAR_INPUT_VALUE",
|
|
51
|
+
SET_INPUT_ERROR = "SET_INPUT_ERROR",
|
|
52
|
+
SET_INPUT_VALID = "SET_INPUT_VALID",
|
|
53
|
+
SET_IS_LOADING = "SET_IS_LOADING"
|
|
54
|
+
}
|
|
55
|
+
export type Action = {
|
|
56
|
+
type: ActionType.SET_INPUT_VALUE;
|
|
57
|
+
alias: keyof StatePromocode;
|
|
58
|
+
value?: string;
|
|
59
|
+
} | {
|
|
60
|
+
type: ActionType.CLEAR_INPUT_VALUE;
|
|
61
|
+
alias: keyof StatePromocode;
|
|
62
|
+
} | {
|
|
63
|
+
type: ActionType.SET_INPUT_ERROR;
|
|
64
|
+
alias: keyof StatePromocode;
|
|
65
|
+
value?: boolean;
|
|
66
|
+
} | {
|
|
67
|
+
type: ActionType.SET_INPUT_VALID;
|
|
68
|
+
alias: keyof StatePromocode;
|
|
69
|
+
value?: boolean;
|
|
70
|
+
} | {
|
|
71
|
+
type: ActionType.SET_IS_LOADING;
|
|
72
|
+
alias: keyof StatePromocode;
|
|
73
|
+
value?: boolean;
|
|
74
|
+
};
|
|
75
|
+
export type OptionType = 'color' | 'size' | 'texture' | 'image';
|
|
76
|
+
export interface OptionProps extends React.HTMLAttributes<HTMLElement> {
|
|
77
|
+
fill?: string;
|
|
78
|
+
src?: string;
|
|
79
|
+
text?: string;
|
|
80
|
+
active?: boolean;
|
|
81
|
+
size?: ToggleSizeProps['size'];
|
|
82
|
+
type: OptionType;
|
|
83
|
+
}
|
|
84
|
+
export type FieldState = 'error' | 'valid' | 'value' | 'isLoading';
|
|
85
|
+
export type MiniCartProps = {
|
|
86
|
+
ICONS: ICONSType;
|
|
87
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
88
|
+
NAME_SPLIT_SYMBOL: NAME_SPLIT_SYMBOLType;
|
|
89
|
+
PLP_NOT_RESULT: PLP_NOT_RESULTType;
|
|
90
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
91
|
+
TIPBAR_CONFIGS: TIPBAR_CONFIGSType;
|
|
92
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
93
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
94
|
+
storeConfig: StoreConfigType;
|
|
95
|
+
minicartStyleModifiers?: string;
|
|
96
|
+
};
|
|
97
|
+
export type CommonActionConstants = Pick<MiniCartProps, 'ICONS' | 'MINICART_CONFIG'>;
|
|
98
|
+
export interface ActionsProps extends Pick<StepperProps, 'handleSendEvent'>, Pick<ButtonProps, 'size' | 'variant'>, CommonActionConstants {
|
|
99
|
+
product: CartItemStore;
|
|
100
|
+
}
|
|
101
|
+
export interface StepperProps {
|
|
102
|
+
handleSendEvent(event: string, type: 'productEvents' | 'skuEvents'): void;
|
|
103
|
+
product: CartItemStore;
|
|
104
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
105
|
+
}
|
|
106
|
+
export interface CardProps extends Pick<ActionsProps, 'product'>, Omit<SkuCardProps, 'product'>, CommonActionConstants {
|
|
107
|
+
index: number;
|
|
108
|
+
available: boolean;
|
|
109
|
+
}
|
|
110
|
+
export type StyleCardProps = {
|
|
111
|
+
product: CartItemStore;
|
|
112
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
113
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
114
|
+
};
|
|
115
|
+
export interface SkuCardProps extends StyleCardProps {
|
|
116
|
+
NAME_SPLIT_SYMBOL: NAME_SPLIT_SYMBOLType;
|
|
117
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
118
|
+
}
|
|
119
|
+
export interface GiftProps extends Pick<CartItemStore, 'bundleItems' | 'offerings'>, CommonActionConstants {
|
|
120
|
+
uniqueId: string;
|
|
121
|
+
ICONS: ICONSType;
|
|
122
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
123
|
+
}
|
|
124
|
+
export interface WishlistActionProps extends ActionsProps {
|
|
125
|
+
handleSendEvent: StepperProps['handleSendEvent'];
|
|
126
|
+
onHandleRemove: (info: Record<string, string>, quantity: number, callback?: () => void) => void;
|
|
127
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
128
|
+
}
|
|
129
|
+
export interface CouponSellerProps {
|
|
130
|
+
type: 'coupon' | 'seller';
|
|
131
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
132
|
+
ICONS: ICONSType;
|
|
133
|
+
}
|
|
134
|
+
export interface InputProps extends Omit<FieldProps, 'MINICART_CONFIG'> {
|
|
135
|
+
feedback?: InputCustomProps['feedback'];
|
|
136
|
+
}
|
|
137
|
+
export interface FieldProps {
|
|
138
|
+
type?: 'cep' | 'coupon' | 'seller';
|
|
139
|
+
hasSuccess: boolean;
|
|
140
|
+
hasError: boolean;
|
|
141
|
+
isLoading: boolean;
|
|
142
|
+
onHandler(value: string): void;
|
|
143
|
+
title: string;
|
|
144
|
+
value: string | number;
|
|
145
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
146
|
+
ICONS: ICONSType;
|
|
147
|
+
}
|
|
148
|
+
export type DiscountProps = PropsWithChildren<{
|
|
149
|
+
className?: string;
|
|
150
|
+
ICONS: ICONSType;
|
|
151
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
152
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
153
|
+
}>;
|
|
154
|
+
export interface ResumeItemsProps {
|
|
155
|
+
discount: number;
|
|
156
|
+
shipping?: number;
|
|
157
|
+
total: number;
|
|
158
|
+
}
|
|
159
|
+
export interface ModalFooterProps extends PropsWithChildren {
|
|
160
|
+
storeConfig: StoreConfigType;
|
|
161
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
162
|
+
}
|
|
163
|
+
export interface ModalBodyProps extends PropsWithChildren {
|
|
164
|
+
ICONS: ICONSType;
|
|
165
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
166
|
+
NAME_SPLIT_SYMBOL: NAME_SPLIT_SYMBOLType;
|
|
167
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
168
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
169
|
+
TIPBAR_CONFIGS: TIPBAR_CONFIGSType;
|
|
170
|
+
PLP_NOT_RESULT: PLP_NOT_RESULTType;
|
|
171
|
+
}
|
|
172
|
+
export type ModalHeaderProps = {
|
|
173
|
+
ICONS: ICONSType;
|
|
174
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
175
|
+
};
|
|
176
|
+
export interface NotificationItemProps {
|
|
177
|
+
item: NotificationStore;
|
|
178
|
+
removeNotification: NotificationsStore['actions']['removeNotification'];
|
|
179
|
+
ICONS: ICONSType;
|
|
180
|
+
}
|
|
181
|
+
export type NotificationsProps = {
|
|
182
|
+
ICONS: ICONSType;
|
|
183
|
+
};
|
|
184
|
+
export type ShippingProps = {
|
|
185
|
+
ICONS: ICONSType;
|
|
186
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
187
|
+
};
|
|
188
|
+
export type CashbackProps = {
|
|
189
|
+
ICONS: ICONSType;
|
|
190
|
+
MESSAGE_CASHBACK: MESSAGE_CASHBACKType;
|
|
191
|
+
type?: 'positive' | 'alert';
|
|
192
|
+
};
|
|
193
|
+
export type FeedbackProps = {
|
|
194
|
+
ICONS: ICONSType;
|
|
195
|
+
MINICART_CONFIG: MINICART_CONFIGType;
|
|
196
|
+
PLP_NOT_RESULT: PLP_NOT_RESULTType;
|
|
197
|
+
};
|
|
198
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface BannerProps {
|
|
2
|
+
src: string;
|
|
3
|
+
text: string;
|
|
4
|
+
align: 'right' | 'left';
|
|
5
|
+
}
|
|
6
|
+
export interface TitleProps {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IMultimarcasContent {
|
|
11
|
+
pageTitle: string;
|
|
12
|
+
pageSubtitle: string;
|
|
13
|
+
bannerText: Array<{
|
|
14
|
+
text: string;
|
|
15
|
+
bannerDesk: string;
|
|
16
|
+
bannerMobile: string;
|
|
17
|
+
}>;
|
|
18
|
+
formTitle: string;
|
|
19
|
+
tableTitle: string;
|
|
20
|
+
bannerDesk: string;
|
|
21
|
+
bannerMobile: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IMultimarcas {
|
|
24
|
+
sections: Array<any>;
|
|
25
|
+
content: {
|
|
26
|
+
['conteúdo']: IMultimarcasContent;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { BUY_BUTTON_LABELSType, CURRENCYType, DELIVERY_INFO_BOXES_ALLOWEDType, FREIGHT_CALCULATIONType, ICONSType, MEASUREMENTS_SIZESType, NEWSLETTER_CONFIGSType, NOTIFY_INFOType, PDP_INFOType, PLP_SIZE_ORDERType, PRODUCT_CARD_TEXTSType, PRODUCT_IMAGE_DIMENSIONSType, TEXTURE_IMAGEType, TIME_ZONEType, TOGGLE_STYLE_MODIFIERType, Z_INDEX_WARType } from '../../../constants';
|
|
2
|
+
import { Sizes as BtnSizes } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
|
|
3
|
+
import { ProductInfoProps } from '@soma-vertical-web/core-components/src/lib/ProductInfo/interfaces';
|
|
4
|
+
import { Dispatch, HTMLAttributes, PropsWithChildren, SetStateAction } from 'react';
|
|
5
|
+
import { ImageType } from '../../../global/product';
|
|
6
|
+
import { SimilarType } from '../../../../types/data/api/catalog/product';
|
|
7
|
+
import { ImageZoomRootProps } from '../../team-components/ImageZoom';
|
|
8
|
+
|
|
9
|
+
export type BreadCrumbProps = {
|
|
10
|
+
className?: string;
|
|
11
|
+
ICONS: ICONSType;
|
|
12
|
+
device: 'mobile' | 'desktop';
|
|
13
|
+
};
|
|
14
|
+
export type CreditsProps = {
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
17
|
+
export type SimilarsType = {
|
|
18
|
+
currentSimilarInfo: {
|
|
19
|
+
images: ImageType[];
|
|
20
|
+
color: string[];
|
|
21
|
+
};
|
|
22
|
+
productId: string;
|
|
23
|
+
};
|
|
24
|
+
type SelectedSkuInfoType = {
|
|
25
|
+
productId: string;
|
|
26
|
+
name: string;
|
|
27
|
+
size: string;
|
|
28
|
+
sku: string;
|
|
29
|
+
sellerId: string;
|
|
30
|
+
sellerName: string;
|
|
31
|
+
available: boolean;
|
|
32
|
+
quantity: number;
|
|
33
|
+
};
|
|
34
|
+
export interface PDPContextProps {
|
|
35
|
+
selectedSkuInfo: SelectedSkuInfoType;
|
|
36
|
+
setSelectedSkuInfo: Dispatch<SetStateAction<SelectedSkuInfoType>>;
|
|
37
|
+
openLetMeKnow: boolean;
|
|
38
|
+
setOpenLetMeKnow: Dispatch<SetStateAction<boolean>>;
|
|
39
|
+
showBottomNavigation: boolean;
|
|
40
|
+
setShowBottomNavigation: Dispatch<SetStateAction<boolean>>;
|
|
41
|
+
handleShowNavigation: (show: boolean) => void;
|
|
42
|
+
showNotify: boolean;
|
|
43
|
+
setShowNotify: Dispatch<SetStateAction<boolean>>;
|
|
44
|
+
sizesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
45
|
+
openMeasurements: boolean;
|
|
46
|
+
setOpenMeasurements: Dispatch<SetStateAction<boolean>>;
|
|
47
|
+
}
|
|
48
|
+
export type PDPPriceProps = ProductInfoProps;
|
|
49
|
+
export type Installments = {
|
|
50
|
+
count: number;
|
|
51
|
+
value: number;
|
|
52
|
+
};
|
|
53
|
+
export type PricesInfos = {
|
|
54
|
+
price: number;
|
|
55
|
+
listPrice: number;
|
|
56
|
+
installments: Installments;
|
|
57
|
+
};
|
|
58
|
+
export interface SubSectionProps extends PropsWithChildren {
|
|
59
|
+
className?: string;
|
|
60
|
+
type: 'product-info' | 'similars' | 'sizes' | 'actions';
|
|
61
|
+
}
|
|
62
|
+
export interface GalleryWrapperProps extends Omit<ImageZoomRootProps, 'images' | 'setShowImageZoom' | 'initialSelectedImageIndex'> {
|
|
63
|
+
productImgs: ImageType[];
|
|
64
|
+
PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
|
|
65
|
+
}
|
|
66
|
+
export type GalleryProps = Omit<GalleryWrapperProps, 'productImgs'>;
|
|
67
|
+
export interface PDPActionsProps {
|
|
68
|
+
showWishlist?: boolean;
|
|
69
|
+
callBack?: Function;
|
|
70
|
+
addToCartBtnSize?: {
|
|
71
|
+
mobile: BtnSizes;
|
|
72
|
+
desktop: BtnSizes;
|
|
73
|
+
};
|
|
74
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
75
|
+
ICONS: ICONSType;
|
|
76
|
+
TIME_ZONE: TIME_ZONEType;
|
|
77
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
78
|
+
}
|
|
79
|
+
export interface AddToCartProps {
|
|
80
|
+
addToCartBtnSize?: {
|
|
81
|
+
mobile: BtnSizes;
|
|
82
|
+
desktop: BtnSizes;
|
|
83
|
+
};
|
|
84
|
+
onAddCallBack?: Function;
|
|
85
|
+
onDisabledClickCallBack?: Function;
|
|
86
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
87
|
+
}
|
|
88
|
+
export type AddToWishlistProps = {
|
|
89
|
+
ICONS: ICONSType;
|
|
90
|
+
};
|
|
91
|
+
export interface BottomNavigationProps {
|
|
92
|
+
addToCartBtnSize?: {
|
|
93
|
+
mobile: BtnSizes;
|
|
94
|
+
desktop: BtnSizes;
|
|
95
|
+
};
|
|
96
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
97
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
98
|
+
TIME_ZONE: TIME_ZONEType;
|
|
99
|
+
}
|
|
100
|
+
export type BottomNavigationActionsProps = Omit<BottomNavigationProps, 'TIME_ZONE' | 'Z_INDEX_WAR'>;
|
|
101
|
+
export type PDPLinksProps = {
|
|
102
|
+
ICONS: ICONSType;
|
|
103
|
+
PDP_INFO: PDP_INFOType;
|
|
104
|
+
className?: string;
|
|
105
|
+
hasIcons?: boolean;
|
|
106
|
+
};
|
|
107
|
+
export type DescriptionProps = {
|
|
108
|
+
title: string;
|
|
109
|
+
text: string;
|
|
110
|
+
};
|
|
111
|
+
export type ProductMeasurementsProps = {
|
|
112
|
+
ICONS: ICONSType;
|
|
113
|
+
SIZES: MEASUREMENTS_SIZESType;
|
|
114
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
115
|
+
};
|
|
116
|
+
export interface PDPSimilarsType extends PropsWithChildren {
|
|
117
|
+
apiUrl: string;
|
|
118
|
+
productId: string;
|
|
119
|
+
ClientItems: React.ComponentType<ItemsProps>;
|
|
120
|
+
PDP_INFO: PDP_INFOType;
|
|
121
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
122
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
123
|
+
}
|
|
124
|
+
export type ItemsProps = {
|
|
125
|
+
productId: string;
|
|
126
|
+
similars: SimilarType[];
|
|
127
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
128
|
+
};
|
|
129
|
+
export interface ToggleWrapperProps extends PropsWithChildren {
|
|
130
|
+
link: string | null;
|
|
131
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
132
|
+
}
|
|
133
|
+
export type PDPSizesProps = {
|
|
134
|
+
ICONS: ICONSType;
|
|
135
|
+
NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
|
|
136
|
+
NOTIFY_INFO: NOTIFY_INFOType;
|
|
137
|
+
PDP_INFO: PDP_INFOType;
|
|
138
|
+
PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
|
|
139
|
+
PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
|
|
140
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
141
|
+
};
|
|
142
|
+
export type FreightProps = {
|
|
143
|
+
CURRENCY: CURRENCYType;
|
|
144
|
+
DELIVERY_INFO_BOXES_ALLOWED: DELIVERY_INFO_BOXES_ALLOWEDType;
|
|
145
|
+
FREIGHT_CALCULATION: FREIGHT_CALCULATIONType;
|
|
146
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
147
|
+
};
|
|
148
|
+
export type PDPCommonContainerProps = HTMLAttributes<HTMLDivElement>;
|
|
149
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
import { AvailabilityNotifyProps } from '../../../../types/layout/team-components/Notify';
|
|
3
|
+
import { BannerType } from '../../../cms/Sections/Banner';
|
|
4
|
+
import { BUY_BUTTON_LABELSType, ICONSType, ITEMS_DEFAULT_SORTType, ITEMS_PER_PAGEType, ITEMS_PER_SECTIONType, MAIN_IMAGEType, NEWSLETTER_CONFIGSType, NOTIFY_INFOType, PLP_GRID_SCROLL_BACKType, PLP_INFINITE_SCROLLType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SHOW_VIDEO_ON_PRODUCT_CARDType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType, PRODUCT_CARD_TEXTSType, PRODUCT_CARD_TOP_WISHLIST_TOGGLEType, PRODUCT_IMAGE_DIMENSIONSType, SEARCH_PAGE_ITEM_THRESHOLDType, SECOND_IMAGEType, StoreConfigType, TEXTURE_IMAGEType, VARIANT_PAGINATIONType, PLP_NOT_RESULTType, Z_INDEX_WARType, PLP_SIZE_ORDERType } from '../../../constants';
|
|
5
|
+
import { Page, PLPConstantsContextProps } from '../../../contexts/contexts/plp';
|
|
6
|
+
import { ProductType_PDC } from '../../../global/product';
|
|
7
|
+
import { ProductCardProps } from '../../team-components/ProductCard';
|
|
8
|
+
|
|
9
|
+
export type PLPNavigationRootProps = {
|
|
10
|
+
searchParams: {
|
|
11
|
+
[key: string]: string | string[] | undefined;
|
|
12
|
+
};
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
export type PLPProps = {
|
|
16
|
+
slug: string[] | string;
|
|
17
|
+
searchParams: URLSearchParams;
|
|
18
|
+
collectionId?: number | null;
|
|
19
|
+
brand?: string | null;
|
|
20
|
+
};
|
|
21
|
+
export interface BannerPropsExtended extends BannerType {
|
|
22
|
+
columns: number;
|
|
23
|
+
position_grid: number;
|
|
24
|
+
}
|
|
25
|
+
export interface BannersProps extends HTMLAttributes<HTMLDivElement> {
|
|
26
|
+
gap: number;
|
|
27
|
+
isMobile: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface InfiniteBannersProps extends HTMLAttributes<HTMLDivElement> {
|
|
30
|
+
columns: number;
|
|
31
|
+
count: number;
|
|
32
|
+
gap: number;
|
|
33
|
+
}
|
|
34
|
+
export interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
35
|
+
infinite?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface PageSentinelProps extends HTMLAttributes<HTMLDivElement> {
|
|
38
|
+
page: Page;
|
|
39
|
+
}
|
|
40
|
+
export interface PageCardProps {
|
|
41
|
+
first?: boolean;
|
|
42
|
+
last?: boolean;
|
|
43
|
+
gap: number;
|
|
44
|
+
index: number;
|
|
45
|
+
isMobile?: boolean;
|
|
46
|
+
item: ProductCardProps;
|
|
47
|
+
order: number;
|
|
48
|
+
page?: Page;
|
|
49
|
+
showVideo?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface PageProps {
|
|
52
|
+
count: number;
|
|
53
|
+
gap: number;
|
|
54
|
+
page: Page;
|
|
55
|
+
}
|
|
56
|
+
export interface NotificationProps extends Pick<AvailabilityNotifyProps, 'open' | 'sku' | 'setSku' | 'setVisible'> {
|
|
57
|
+
skus: ProductType_PDC['isVariantOf']['hasVariant'];
|
|
58
|
+
ICONS: ICONSType;
|
|
59
|
+
NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
|
|
60
|
+
NOTIFY_INFO: NOTIFY_INFOType;
|
|
61
|
+
PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
|
|
62
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
63
|
+
}
|
|
64
|
+
export interface LayoutProps extends PropsWithChildren {
|
|
65
|
+
endPage: number;
|
|
66
|
+
page: number;
|
|
67
|
+
total: number;
|
|
68
|
+
selectedPage(page: number): void;
|
|
69
|
+
ITEMS_PER_SECTION: ITEMS_PER_SECTIONType;
|
|
70
|
+
}
|
|
71
|
+
export interface PagesProps {
|
|
72
|
+
currentPage: number;
|
|
73
|
+
searchParams: URLSearchParams;
|
|
74
|
+
pages: number[];
|
|
75
|
+
VARIANT_PAGINATION: VARIANT_PAGINATIONType;
|
|
76
|
+
}
|
|
77
|
+
export type PaginantionOptionsProps = {
|
|
78
|
+
currentPage: number;
|
|
79
|
+
total: number;
|
|
80
|
+
maxVisiblePages: number;
|
|
81
|
+
SEARCH_PAGE_ITEM_THRESHOLD: SEARCH_PAGE_ITEM_THRESHOLDType;
|
|
82
|
+
};
|
|
83
|
+
export interface PaginationProps extends HTMLAttributes<HTMLDivElement> {
|
|
84
|
+
query?: string;
|
|
85
|
+
type?: 'search' | 'default';
|
|
86
|
+
searchParams: URLSearchParams;
|
|
87
|
+
ITEMS_DEFAULT_SORT: ITEMS_DEFAULT_SORTType;
|
|
88
|
+
ITEMS_PER_SECTION: ITEMS_PER_SECTIONType;
|
|
89
|
+
ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
|
|
90
|
+
SEARCH_PAGE_ITEM_THRESHOLD: SEARCH_PAGE_ITEM_THRESHOLDType;
|
|
91
|
+
VARIANT_PAGINATION: VARIANT_PAGINATIONType;
|
|
92
|
+
}
|
|
93
|
+
export interface ProductsProps {
|
|
94
|
+
items: {
|
|
95
|
+
node: ProductCardProps;
|
|
96
|
+
}[];
|
|
97
|
+
isMobile?: boolean;
|
|
98
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
99
|
+
ICONS: ICONSType;
|
|
100
|
+
MAIN_IMAGE: MAIN_IMAGEType;
|
|
101
|
+
NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
|
|
102
|
+
NOTIFY_INFO: NOTIFY_INFOType;
|
|
103
|
+
PLP_GRID_SCROLL_BACK: PLP_GRID_SCROLL_BACKType;
|
|
104
|
+
PLP_INFINITE_SCROLL: PLP_INFINITE_SCROLLType;
|
|
105
|
+
PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
|
|
106
|
+
PLP_SHOW_VIDEO_ON_PRODUCT_CARD: PLP_SHOW_VIDEO_ON_PRODUCT_CARDType;
|
|
107
|
+
PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
|
|
108
|
+
PRODUCT_CARD_IMAGE_ASPECT_RATIO: PRODUCT_CARD_IMAGE_ASPECT_RATIOType;
|
|
109
|
+
PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
|
|
110
|
+
PRODUCT_CARD_TOP_WISHLIST_TOGGLE: PRODUCT_CARD_TOP_WISHLIST_TOGGLEType;
|
|
111
|
+
PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
|
|
112
|
+
SECOND_IMAGE: SECOND_IMAGEType;
|
|
113
|
+
StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
|
|
114
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
115
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
116
|
+
}
|
|
117
|
+
export interface PLPRootProps extends PLPConstantsContextProps {
|
|
118
|
+
className?: string;
|
|
119
|
+
}
|
|
120
|
+
export type EmptyProps = {
|
|
121
|
+
className?: string;
|
|
122
|
+
ICONS: ICONSType;
|
|
123
|
+
PLP_NOT_RESULT: PLP_NOT_RESULTType;
|
|
124
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BUY_BUTTON_LABELSType, ICONSType, QUICKSHOPType, TEXTURE_IMAGEType, TIME_ZONEType, TOGGLE_STYLE_MODIFIERType } from '../../../constants';
|
|
2
|
+
import { PDPSizesProps } from '../PDP';
|
|
3
|
+
|
|
4
|
+
export type SimilarsProps = {
|
|
5
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
6
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
7
|
+
};
|
|
8
|
+
export interface BodyProps extends PDPSizesProps, SimilarsProps {
|
|
9
|
+
callBackProductAdded?: Function;
|
|
10
|
+
BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
|
|
11
|
+
TIME_ZONE: TIME_ZONEType;
|
|
12
|
+
}
|
|
13
|
+
export interface QuickShopProps extends BodyProps {
|
|
14
|
+
QUICKSHOP: QUICKSHOPType;
|
|
15
|
+
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
16
|
+
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
17
|
+
}
|
|
18
|
+
export interface QuickShopHeaderProps {
|
|
19
|
+
headerTitle: string;
|
|
20
|
+
isMobile?: boolean;
|
|
21
|
+
ICONS: ICONSType;
|
|
22
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ComponentType, Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
import { ICONSType, ITEMS_DEFAULT_SORTType, ITEMS_PER_PAGEType, SEARCH_MODALType } from '../../../../types/constants';
|
|
3
|
+
import { SearchContentProps } from '../../../cms/ContentTypes/Search';
|
|
4
|
+
|
|
5
|
+
export interface SearchModalProps extends PropsWithChildren, Pick<SearchContentProps, 'SectionZone'> {
|
|
6
|
+
Recommendations?: ComponentType<any>;
|
|
7
|
+
trends?: boolean;
|
|
8
|
+
CONSTANTS: {
|
|
9
|
+
SEARCH_MODAL: SEARCH_MODALType;
|
|
10
|
+
ICONS: ICONSType;
|
|
11
|
+
ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
|
|
12
|
+
ITEMS_DEFAULT_SORT: ITEMS_DEFAULT_SORTType;
|
|
13
|
+
};
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SearchModalHeaderProps {
|
|
17
|
+
title: string;
|
|
18
|
+
ICONS: ICONSType;
|
|
19
|
+
}
|
|
20
|
+
export interface SearchModalAutoCompleteProps {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
noResultsTitle: string;
|
|
23
|
+
noResultsLabel: string;
|
|
24
|
+
noResultsTermUrl: string;
|
|
25
|
+
noResultsTermText: string;
|
|
26
|
+
handleClose: () => void;
|
|
27
|
+
setTerm: Dispatch<SetStateAction<string>>;
|
|
28
|
+
ICONS: ICONSType;
|
|
29
|
+
ITEMS_DEFAULT_SORT: ITEMS_DEFAULT_SORTType;
|
|
30
|
+
ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
|
|
31
|
+
SEARCH_MODAL: SEARCH_MODALType;
|
|
32
|
+
}
|
|
33
|
+
export interface TrendsModalProps {
|
|
34
|
+
title: string;
|
|
35
|
+
allTermsLabel: string;
|
|
36
|
+
allTermsUrl: string;
|
|
37
|
+
qtyTrends: number;
|
|
38
|
+
handleClose: () => void;
|
|
39
|
+
ICONS: ICONSType;
|
|
40
|
+
ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { SearchSort } from '../../../data/api/search';
|
|
3
|
+
import { SearchConstantsContextProps } from '../../../contexts/contexts/search';
|
|
4
|
+
|
|
5
|
+
export interface ISearchEmpty {
|
|
6
|
+
term?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ISearchSort {
|
|
9
|
+
term?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ISearchLoading {
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
quantity: number;
|
|
14
|
+
term?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SearchResultContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
isMobile?: boolean;
|
|
18
|
+
banners?: any[];
|
|
19
|
+
sort?: SearchSort;
|
|
20
|
+
query?: string;
|
|
21
|
+
currentPage: number;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IPaginationProps {
|
|
25
|
+
currentPage: number;
|
|
26
|
+
firstPageSpread: boolean;
|
|
27
|
+
lastPageSpread: boolean;
|
|
28
|
+
totalPages: number;
|
|
29
|
+
onPageChange: (page: number) => void;
|
|
30
|
+
hasNextPage: boolean;
|
|
31
|
+
hasPreviousPage: boolean;
|
|
32
|
+
slices: {
|
|
33
|
+
start: number;
|
|
34
|
+
end: number;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface SearchProps {
|
|
38
|
+
className?: string;
|
|
39
|
+
searchParams: URLSearchParams;
|
|
40
|
+
CONSTANTS: SearchConstantsContextProps;
|
|
41
|
+
}
|
|
42
|
+
export type SearchContentProps = {
|
|
43
|
+
className?: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IconProps } from '@soma-vertical-web/core-components/src/lib/Icon/interfaces';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
import { ProductType_PDC } from '../../../global/product';
|
|
4
|
+
import { ICONSType, WISHLIST_NOT_RESULTType } from '../../../constants';
|
|
5
|
+
import { ProductListCard_CONSTANTS } from '../../../layout/team-components/ProductList';
|
|
6
|
+
|
|
7
|
+
export interface ToggleProps {
|
|
8
|
+
product: ProductType_PDC;
|
|
9
|
+
priceInfo: Record<string, string | number>;
|
|
10
|
+
size?: IconProps['size'];
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
variant: 'card' | 'modal';
|
|
13
|
+
ICONS: ICONSType;
|
|
14
|
+
}
|
|
15
|
+
export interface WishListGrid_CONSTANTS extends ProductListCard_CONSTANTS {
|
|
16
|
+
WISHLIST_NOT_RESULT: WISHLIST_NOT_RESULTType;
|
|
17
|
+
ICONS: ICONSType;
|
|
18
|
+
}
|
|
19
|
+
export interface WishListGridProps {
|
|
20
|
+
CONSTANTS: WishListGrid_CONSTANTS;
|
|
21
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { StructureProps, ContentProps } from '@soma-vertical-web/core-components/src/lib/SnackBar/interfaces';
|
|
2
|
+
import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
3
|
+
import { SendDatalayerEventType } from '../../data/events';
|
|
4
|
+
import { ICONSType, Z_INDEX_WARType } from '../../constants';
|
|
5
|
+
import { RootProps } from '../team-components/ProductCard';
|
|
6
|
+
import { ProductListCardProps } from '../team-components/ProductList';
|
|
7
|
+
import { ProductType_PDC } from '../../global/product';
|
|
8
|
+
import { ContentState } from 'draft-js';
|
|
9
|
+
|
|
10
|
+
export interface ObserverProps extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
observerOptions?: {
|
|
12
|
+
threshold?: number;
|
|
13
|
+
delay?: number;
|
|
14
|
+
};
|
|
15
|
+
eventData?: SendDatalayerEventType;
|
|
16
|
+
callBackWhenVisible?: VoidFunction;
|
|
17
|
+
stopOnIntersection?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ExternalScriptsProps extends PropsWithChildren {
|
|
20
|
+
ONE_TRUST: {
|
|
21
|
+
policyScript: string;
|
|
22
|
+
policyId: string;
|
|
23
|
+
siteId: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface SnackBarComponentProps extends StructureProps {
|
|
27
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
28
|
+
subtitle?: string;
|
|
29
|
+
adornment?: ContentProps['adornment'];
|
|
30
|
+
supportChildren?: ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface CardProps extends Omit<ProductListCardProps, 'CONSTANTS'>, Pick<RootProps, 'size' | 'shelfTitle' | 'CONSTANTS'> {
|
|
33
|
+
onSkuSelection?: (sku: ProductType_PDC | null, skuList?: ProductType_PDC[]) => void;
|
|
34
|
+
}
|
|
35
|
+
export interface ShelfProps extends PropsWithChildren {
|
|
36
|
+
title?: string;
|
|
37
|
+
itemsPerPage: {
|
|
38
|
+
desktop: number;
|
|
39
|
+
mobile: number;
|
|
40
|
+
};
|
|
41
|
+
ICONS: ICONSType;
|
|
42
|
+
}
|
|
43
|
+
export interface DraftLinkWrapperProps {
|
|
44
|
+
children: ReactNode;
|
|
45
|
+
contentState: ContentState;
|
|
46
|
+
entityKey: string;
|
|
47
|
+
}
|