@ubnt/store.core 9.31.0-dts-fix.2 → 9.31.0
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/CHANGELOG.md +0 -3
- package/lib/_virtual/_virtual_multi-entry.js +203 -0
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -0
- package/lib/_virtual/_virtual_multi-entry.mjs +176 -0
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -0
- package/lib/apis/smartcat.test.d.ts +1 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/components/Accordion/Accordion.types.d.ts +36 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +2 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +30 -0
- package/lib/components/AppDownloadBanner/index.d.ts +1 -0
- package/lib/components/Avatar/Avatar.types.d.ts +10 -0
- package/lib/components/BackInStock/BackInStock.types.d.ts +26 -0
- package/lib/components/Banner/Banner.types.d.ts +22 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +16 -0
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +2 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +10 -0
- package/lib/components/BuiltFeaturesSection/index.d.ts +1 -0
- package/lib/components/Button/Button.types.d.ts +23 -0
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +33 -0
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +16 -0
- package/lib/components/CardSection/CardSection.types.d.ts +13 -0
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +2 -0
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +17 -0
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +12 -0
- package/lib/components/CarouselGallery/index.d.ts +1 -0
- package/lib/components/CartIcon/CartIcon.types.d.ts +8 -0
- package/lib/components/CartSummary/CartSummary.types.d.ts +11 -0
- package/lib/components/CategoryTabs/CategoryTabs.types.d.ts +24 -0
- package/lib/components/Checkbox/Checkbox.types.d.ts +8 -0
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +35 -0
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +10 -0
- package/lib/components/Compare/Compare.d.ts +2 -0
- package/lib/components/Compare/Compare.styles.d.ts +36 -0
- package/lib/components/Compare/Compare.types.d.ts +34 -0
- package/lib/components/Compare/CompareData.d.ts +22 -0
- package/lib/components/Compare/ProductTable.d.ts +6 -0
- package/lib/components/Compare/index.d.ts +2 -0
- package/lib/components/CompareChart/CompareChart.d.ts +2 -0
- package/lib/components/CompareChart/CompareChart.styles.d.ts +37 -0
- package/lib/components/CompareChart/CompareChart.types.d.ts +17 -0
- package/lib/components/CompareChart/CompareChartData.d.ts +69 -0
- package/lib/components/CompareChart/index.d.ts +2 -0
- package/lib/components/CompareSection/CompareSection.d.ts +5 -0
- package/lib/components/CompareSection/CompareSection.data.d.ts +10 -0
- package/lib/components/CompareSection/CompareSection.styles.d.ts +17 -0
- package/lib/components/CompareSection/CompareSection.types.d.ts +20 -0
- package/lib/components/CompareSection/index.d.ts +1 -0
- package/lib/components/Container/Container.types.d.ts +11 -0
- package/lib/components/CustomImage/CustomImage.types.d.ts +88 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +2 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -0
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +6 -0
- package/lib/components/DeploymentGallery/index.d.ts +1 -0
- package/lib/components/Explore/Explore.test.d.ts +1 -0
- package/lib/components/Explore/Explore.types.d.ts +11 -0
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +18 -0
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +89 -0
- package/lib/components/Gallery/GalleryControls/GalleryControls.types.d.ts +16 -0
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.types.d.ts +7 -0
- package/lib/components/GradientButton/GradientButton.types.d.ts +4 -0
- package/lib/components/GridGallery/GridModal/GridModal.types.d.ts +8 -0
- package/lib/components/Header/AccountFrame/AccountFrame.types.d.ts +8 -0
- package/lib/components/Header/AccountMenu/AccountMenu.types.d.ts +9 -0
- package/lib/components/Header/CartModal/CartModal.d.ts +2 -0
- package/lib/components/Header/CartModal/CartModal.styles.d.ts +14 -0
- package/lib/components/Header/CartModal/CartModal.types.d.ts +9 -0
- package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +6 -0
- package/lib/components/Header/CartModal/Item/Item.d.ts +7 -0
- package/lib/components/Header/CartModal/Item/Item.styles.d.ts +12 -0
- package/lib/components/Header/CartModal/Item/index.d.ts +1 -0
- package/lib/components/Header/CartModal/index.d.ts +1 -0
- package/lib/components/Header/CartModalV2/CartModal.types.d.ts +8 -0
- package/lib/components/Header/CartModalV2/Item/Item.types.d.ts +7 -0
- package/lib/components/Header/LanguageFrame/LanguageFrame.types.d.ts +6 -0
- package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +1 -0
- package/lib/components/Header/LinksModal/LinksModal.d.ts +2 -0
- package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +6 -0
- package/lib/components/Header/LinksModal/LinksModal.types.d.ts +11 -0
- package/lib/components/Header/LinksModal/index.d.ts +1 -0
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +31 -0
- package/lib/components/Header/Navigation/Carousel/Carousel.types.d.ts +16 -0
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.types.d.ts +35 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +11 -0
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +40 -0
- package/lib/components/Header/Overlay/Overlay.types.d.ts +6 -0
- package/lib/components/Header/SearchTab/SearchTab.d.ts +2 -0
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +4 -0
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +13 -0
- package/lib/components/Header/SearchTab/index.d.ts +1 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +2 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +20 -0
- package/lib/components/HeroFadeGallery/index.d.ts +1 -0
- package/lib/components/HeroVideo/HeroVideo.types.d.ts +9 -0
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +2 -0
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +13 -0
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +46 -0
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +15 -0
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +11 -0
- package/lib/components/HowToUseSection/index.d.ts +1 -0
- package/lib/components/ImageCarousel/ImageCarousel.types.d.ts +11 -0
- package/lib/components/ImageModal/ImageModal.types.d.ts +10 -0
- package/lib/components/InputSelect/InputSelect.types.d.ts +13 -0
- package/lib/components/LandingPage/Block/Block.types.d.ts +11 -0
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +19 -0
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +19 -0
- package/lib/components/LandingPage/LandingPage.types.d.ts +16 -0
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +39 -0
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +20 -0
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +92 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +9 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +120 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +65 -0
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +91 -0
- package/lib/components/LayoutRendererV1/index.d.ts +1 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +6 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +55 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +93 -0
- package/lib/components/LayoutRendererV2/index.d.ts +1 -0
- package/lib/components/Loader/Loader.types.d.ts +9 -0
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +4 -0
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.types.d.ts +7 -0
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.types.d.ts +46 -0
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types.d.ts +12 -0
- package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +2 -0
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +26 -0
- package/lib/components/MicrositeFeatureProgressBar/index.d.ts +1 -0
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +15 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +2 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +4 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +1 -0
- package/lib/components/MicrositeSection/Features/Features.d.ts +2 -0
- package/lib/components/MicrositeSection/Features/Features.styles.d.ts +24 -0
- package/lib/components/MicrositeSection/Features/Features.types.d.ts +18 -0
- package/lib/components/MicrositeSection/Features/index.d.ts +1 -0
- package/lib/components/MicrositeSection/MicrositeSection.d.ts +11 -0
- package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +43 -0
- package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +103 -0
- package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +32 -0
- package/lib/components/MicrositeSection/index.d.ts +1 -0
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +9 -0
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.types.d.ts +5 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +42 -0
- package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +9 -0
- package/lib/components/MobileModal/MobileModal.types.d.ts +15 -0
- package/lib/components/ModelCompareV3/CheckWithNote.d.ts +3 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +592 -0
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/8PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +11 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +6 -0
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +6 -0
- package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +2 -0
- package/lib/components/ModelCompareV3/translations/index.d.ts +11 -0
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +11 -0
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -0
- package/lib/components/NewToUnifiBox/index.d.ts +1 -0
- package/lib/components/Pagination/Pagination.types.d.ts +5 -0
- package/lib/components/Popover/Popover.types.d.ts +8 -0
- package/lib/components/ProductCard/ProductCard.types.d.ts +9 -0
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +36 -0
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +17 -0
- package/lib/components/ProductCompare/mapping.test.d.ts +1 -0
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +6 -0
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +19 -0
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +17 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +2 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +10 -0
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +25 -0
- package/lib/components/ProductSectionNavigation/index.d.ts +1 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +2 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +10 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +21 -0
- package/lib/components/ProductSectionNavigationV2/index.d.ts +2 -0
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +25 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +6 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +13 -0
- package/lib/components/ProductTechSpecs/index.d.ts +2 -0
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +2 -0
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +19 -0
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +38 -0
- package/lib/components/ProductUpsell/index.d.ts +1 -0
- package/lib/components/ProductWizard/Options/Options.types.d.ts +8 -0
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +99 -0
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +7 -0
- package/lib/components/ProgressCircle/ProgressCircle.types.d.ts +9 -0
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +11 -0
- package/lib/components/QuantityInput/QuantityInput.types.d.ts +10 -0
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +32 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +11 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +25 -0
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +32 -0
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +13 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +20 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +30 -0
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +13 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +22 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +31 -0
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +2 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +2 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +1 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +36 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +7 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.types.d.ts +9 -0
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.types.d.ts +5 -0
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +54 -0
- package/lib/components/Search/Input/Input.types.d.ts +19 -0
- package/lib/components/SearchInput/Input.styles.d.ts +18 -0
- package/lib/components/StaticModal/StaticModal.types.d.ts +10 -0
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +5 -0
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +2 -0
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +13 -0
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +22 -0
- package/lib/components/TabinationButtons/index.d.ts +1 -0
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +2 -0
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +20 -0
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +35 -0
- package/lib/components/TopologyScheme/index.d.ts +2 -0
- package/lib/components/UICare/UICare.types.d.ts +52 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +6 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +11 -0
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +1 -0
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +11 -0
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +18 -0
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +38 -0
- package/lib/components/VariantSelector/utils.d.ts +11 -0
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +5 -0
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +2 -0
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +35 -0
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +66 -0
- package/lib/components/VariantSelectorV1/index.d.ts +1 -0
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +2 -0
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +21 -0
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +66 -0
- package/lib/components/VariantSelectorV2/index.d.ts +1 -0
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +7 -0
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +7 -0
- package/lib/components/VideoCookiesConsent/index.d.ts +1 -0
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +8 -0
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +7 -0
- package/lib/components/VideoPlayer/index.d.ts +1 -0
- package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +14 -0
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +2 -0
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +18 -0
- package/lib/components/YouTubePlayer/index.d.ts +1 -0
- package/lib/constants/address.d.ts +2 -2
- package/lib/constants/address.js +3 -3
- package/lib/constants/address.js.map +1 -1
- package/lib/constants/address.mjs +3 -3
- package/lib/constants/address.mjs.map +1 -1
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/postalCode.test.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +128 -0
- package/lib/constants/storybook.d.ts +11 -0
- package/lib/contexts/MenuContext/mapping.test.d.ts +1 -0
- package/lib/contexts/MenuContext/utils.test.d.ts +1 -0
- package/lib/helpers/jsx.d.ts +6 -0
- package/lib/helpers/routes.d.ts +1 -0
- package/lib/types/utils.test.d.ts +1 -0
- package/lib/utils/address.data.d.ts +17 -0
- package/lib/utils/address.test.d.ts +1 -0
- package/lib/utils/array.test.d.ts +1 -0
- package/lib/utils/canvas.d.ts +8 -0
- package/lib/utils/cdn.d.ts +5 -0
- package/lib/utils/collectionSlug.test.d.ts +1 -0
- package/lib/utils/countriesAndZones.test.d.ts +1 -0
- package/lib/utils/langauge.test.d.ts +1 -0
- package/lib/utils/measures.test.d.ts +1 -0
- package/lib/utils/money/allocators/fixedAmount.test.d.ts +1 -0
- package/lib/utils/money/allocators/productAmount.test.d.ts +1 -0
- package/lib/utils/money/constants.test.d.ts +1 -0
- package/lib/utils/money/exchangeRate.test.d.ts +1 -0
- package/lib/utils/money/format.test.d.ts +1 -0
- package/lib/utils/money/misc.test.d.ts +1 -0
- package/lib/utils/money/shipping.test.d.ts +1 -0
- package/lib/utils/money/tax.private.test.d.ts +1 -0
- package/lib/utils/money/tax.test.d.ts +1 -0
- package/lib/utils/nextjs/createInlineScript.test.d.ts +1 -0
- package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +1 -0
- package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +1 -0
- package/lib/utils/nextjs/stringifyForInject.test.d.ts +1 -0
- package/lib/utils/number.test.d.ts +1 -0
- package/lib/utils/storeId.test.d.ts +1 -0
- package/lib/utils/string.test.d.ts +1 -0
- package/lib/utils/tags.test.d.ts +1 -0
- package/lib/utils/tax/index.test.d.ts +1 -0
- package/lib/utils/url.test.d.ts +1 -0
- package/lib/utils/validations/index.d.ts +5 -0
- package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +1 -0
- package/lib/utils/variant.test.d.ts +1 -0
- package/lib/utils/wattage.test.d.ts +1 -0
- package/lib/utils/zod.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CustomMediaAsset, RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
+
interface GalleryItem {
|
|
3
|
+
images: (string | CustomMediaAsset)[];
|
|
4
|
+
optionTitle?: string;
|
|
5
|
+
optionImage?: string | CustomMediaAsset;
|
|
6
|
+
}
|
|
7
|
+
export interface Gallery {
|
|
8
|
+
title1?: string;
|
|
9
|
+
title2?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* There can be multiple galleries for one collection (Option switcher with icon + title)
|
|
13
|
+
*/
|
|
14
|
+
galleries: GalleryItem[];
|
|
15
|
+
}
|
|
16
|
+
export interface HeroFadeGalleryProps {
|
|
17
|
+
gallery: Gallery;
|
|
18
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HeroFadeGallery } from "./HeroFadeGallery";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AccordionProps } from "../Accordion/Accordion.types";
|
|
2
|
+
interface HowToUseSectionLang {
|
|
3
|
+
faq?: AccordionProps["items"];
|
|
4
|
+
}
|
|
5
|
+
interface HowToUseSection {
|
|
6
|
+
[language: string]: HowToUseSectionLang;
|
|
7
|
+
}
|
|
8
|
+
interface HowToUseSectionData {
|
|
9
|
+
[collectionSlug: string]: HowToUseSection;
|
|
10
|
+
}
|
|
11
|
+
export declare const DATA: HowToUseSectionData;
|
|
12
|
+
export declare const getHowToUseSectionData: (collectionSlug?: string, language?: string) => HowToUseSectionLang | undefined;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { AccordionProps } from "../Accordion/Accordion.types";
|
|
3
|
+
import type { AppDownloadBannerProps } from "../AppDownloadBanner/AppDownloadBanner.types";
|
|
4
|
+
import type { Gallery } from "../HeroFadeGallery/HeroFadeGallery.types";
|
|
5
|
+
import { ConnectionType, FirstItemType, ProductTabHash } from "../TopologyScheme";
|
|
6
|
+
interface Video {
|
|
7
|
+
title: string;
|
|
8
|
+
url: string;
|
|
9
|
+
thumbnail: string;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
interface TopologyDescription {
|
|
13
|
+
icon: string | StaticImageData;
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
interface HowToUseSection {
|
|
17
|
+
apps?: AppDownloadBannerProps["apps"];
|
|
18
|
+
faq?: AccordionProps["items"];
|
|
19
|
+
videos?: Video[];
|
|
20
|
+
topology?: {
|
|
21
|
+
image?: string | StaticImageData;
|
|
22
|
+
descriptions?: TopologyDescription[];
|
|
23
|
+
schemes?: {
|
|
24
|
+
title?: string;
|
|
25
|
+
firstItemType?: FirstItemType.UnifiApp | FirstItemType.UnifiPortal;
|
|
26
|
+
items: {
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
url: string;
|
|
30
|
+
hash?: ProductTabHash.TechSpecs | ProductTabHash.Compare;
|
|
31
|
+
connectionType?: ConnectionType.Poe | ConnectionType.Wifi;
|
|
32
|
+
image: string | StaticImageData;
|
|
33
|
+
buttonText: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
deploymentGallery?: Gallery;
|
|
38
|
+
}
|
|
39
|
+
interface HowToUseSectionData {
|
|
40
|
+
[collectionSlug: string]: {
|
|
41
|
+
[language: string]: HowToUseSection;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export declare const DATA: HowToUseSectionData;
|
|
45
|
+
export declare const getHowToUseSectionData: (collectionSlug?: string, language?: string) => HowToUseSection | undefined;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const TopologyContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const SectionTitle: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {
|
|
4
|
+
extraMargin?: boolean;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const VideoGrid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const VideoItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const VideoThumbnail: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const VideoTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const TopologyTitle: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const TopologyImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const FaqContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const DescriptionItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const DescriptionIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const DescriptionIconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export interface HowToUseSectionProps {
|
|
3
|
+
language?: string;
|
|
4
|
+
collectionSlug?: string;
|
|
5
|
+
onVideoClick?: (url: string) => void;
|
|
6
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
7
|
+
translations: {
|
|
8
|
+
frequentlyAskedQuestions: string;
|
|
9
|
+
videos: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./HowToUseSection";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CustomMediaAsset, RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export interface ImageCarouselProps {
|
|
3
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
4
|
+
items: CustomMediaAsset[];
|
|
5
|
+
activeGalleryImageId?: string | null;
|
|
6
|
+
handleActiveGalleryImageId?: (id: string | null) => void;
|
|
7
|
+
imageCarouselFullScreen?: boolean;
|
|
8
|
+
handleShowImageCarouselFullScreen?: (show: boolean) => void;
|
|
9
|
+
slideBackgroundColor?: string;
|
|
10
|
+
initialActiveIndex?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CustomImageAsset, RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
3
|
+
export interface ImageModalProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
renderImage?: RenderImageFn;
|
|
7
|
+
isOpen?: boolean;
|
|
8
|
+
onRequestClose?: () => void;
|
|
9
|
+
asset?: CustomImageAsset;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Key } from "react";
|
|
2
|
+
interface DropdownOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface InputSelectProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
options: DropdownOption[];
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
setValue?: (value: Key) => void;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LandingPageCardItem } from "../Cards/Card/Card.types";
|
|
2
|
+
import type { defaultLandingPageTranslations } from "../LandingPage.constants";
|
|
3
|
+
export type BlockType = "hero" | "collection" | "design" | "support";
|
|
4
|
+
export interface LandingPageBlockProps {
|
|
5
|
+
translations: typeof defaultLandingPageTranslations;
|
|
6
|
+
className?: string;
|
|
7
|
+
type: BlockType;
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
cards: LandingPageCardItem[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { StaticImageData } from "next/image";
|
|
3
|
+
import type { BlockType } from "../../Block/Block.types";
|
|
4
|
+
import type { defaultLandingPageTranslations } from "../../LandingPage.constants";
|
|
5
|
+
export interface LandingPageCardProps {
|
|
6
|
+
translations: typeof defaultLandingPageTranslations;
|
|
7
|
+
className?: string;
|
|
8
|
+
motif: Motif;
|
|
9
|
+
type: BlockType;
|
|
10
|
+
title: string;
|
|
11
|
+
url: string;
|
|
12
|
+
image?: string | StaticImageData | null;
|
|
13
|
+
imageMobile?: string | StaticImageData | null;
|
|
14
|
+
subtitle?: string | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
price?: string | null;
|
|
17
|
+
scrollbarWidth?: number;
|
|
18
|
+
}
|
|
19
|
+
export type LandingPageCardItem = Omit<LandingPageCardProps, "type" | "translations">;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { BlockType } from "../Block/Block.types";
|
|
3
|
+
import type { defaultLandingPageTranslations } from "../LandingPage.constants";
|
|
4
|
+
import type { LandingPageCardItem } from "./Card/Card.types";
|
|
5
|
+
export type LandingPageCardProps = PreDefinedCardProps | CustomCardProps;
|
|
6
|
+
export interface PreDefinedCardProps {
|
|
7
|
+
translations: typeof defaultLandingPageTranslations;
|
|
8
|
+
className?: string;
|
|
9
|
+
type: BlockType;
|
|
10
|
+
/**
|
|
11
|
+
* ! IMPORTANT: when passing in custom cards, `CARD_CLASS_NAME` needs to be added as a className to each custom card
|
|
12
|
+
*/
|
|
13
|
+
cards: LandingPageCardItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface CustomCardProps {
|
|
16
|
+
className?: string;
|
|
17
|
+
type: "custom";
|
|
18
|
+
cards: ReactNode | ReactNode[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LandingPageCardItem } from "./Cards/Card/Card.types";
|
|
2
|
+
import type { defaultLandingPageTranslations } from "./LandingPage.constants";
|
|
3
|
+
export interface LandingPageProps {
|
|
4
|
+
translations?: typeof defaultLandingPageTranslations;
|
|
5
|
+
className?: string;
|
|
6
|
+
heroBlock?: {
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle: string;
|
|
9
|
+
cards: LandingPageCardItem[];
|
|
10
|
+
};
|
|
11
|
+
collectionBlocks?: Array<{
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
cards: LandingPageCardItem[];
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Nullish } from "../../types";
|
|
2
|
+
import type { Money } from "../../utils/money";
|
|
3
|
+
import type { CustomImageAsset } from "../CustomImage/CustomImage.types";
|
|
4
|
+
export interface ProductVariant {
|
|
5
|
+
id: string;
|
|
6
|
+
sku: string;
|
|
7
|
+
title: string;
|
|
8
|
+
displayPriceFormatted: string;
|
|
9
|
+
displayPrice: Money;
|
|
10
|
+
optionValueIds: Nullish<string[]>;
|
|
11
|
+
isInStock?: boolean;
|
|
12
|
+
isEarlyAccess?: boolean;
|
|
13
|
+
isComingSoon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Product {
|
|
16
|
+
id: string;
|
|
17
|
+
baseSku: string;
|
|
18
|
+
slug: string;
|
|
19
|
+
defaultCollectionSlug: string;
|
|
20
|
+
title: string;
|
|
21
|
+
shortDescription: string;
|
|
22
|
+
images?: Nullish<CustomImageAsset[]>;
|
|
23
|
+
/** Lowest price of all variants */
|
|
24
|
+
displayPriceFormatted: string;
|
|
25
|
+
/** Lowest price of all variants */
|
|
26
|
+
displayPrice: Money;
|
|
27
|
+
isNew?: boolean;
|
|
28
|
+
isPreviouslyPurchased?: boolean;
|
|
29
|
+
variants: ProductVariant[];
|
|
30
|
+
options?: {
|
|
31
|
+
id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
values: {
|
|
34
|
+
id: string;
|
|
35
|
+
title: string;
|
|
36
|
+
isDisabled?: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
}[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { defaultSearchTranslations, Search, SearchItem } from "../LandingPageSearch.types";
|
|
3
|
+
export interface SearchModalProps {
|
|
4
|
+
translations: typeof defaultSearchTranslations;
|
|
5
|
+
searchTabActive?: boolean;
|
|
6
|
+
searchTerm: string;
|
|
7
|
+
formattedQuerySearchTerm: string;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onSearchResultsAction: (searchTerm: string) => void;
|
|
10
|
+
search: Search;
|
|
11
|
+
mobileMenu?: boolean;
|
|
12
|
+
renderImage: RenderImageFn;
|
|
13
|
+
disableShowMoreResults?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface SearchItemProps extends SearchItem {
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
translations: typeof defaultSearchTranslations;
|
|
18
|
+
renderImage: RenderImageFn;
|
|
19
|
+
renderSeparationBorder: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { Currency, Nullish } from "../../types";
|
|
2
|
+
import type { Money } from "../../utils/money";
|
|
3
|
+
import type { ProductGridProps } from "../ProductGrid/ProductGrid.types";
|
|
4
|
+
export interface LandingPageSidebarProps {
|
|
5
|
+
translations: SidebarTranslations;
|
|
6
|
+
categoriesBlock?: CategoriesProps;
|
|
7
|
+
filtersBlock?: FiltersProps;
|
|
8
|
+
categories: Category[];
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
isSearchUsed: boolean;
|
|
11
|
+
productCount?: number;
|
|
12
|
+
productTypeProps: ProductTypeProps;
|
|
13
|
+
isCartSummaryOpen?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Category {
|
|
16
|
+
label: string;
|
|
17
|
+
id: string;
|
|
18
|
+
items: {
|
|
19
|
+
slug: string;
|
|
20
|
+
label: string;
|
|
21
|
+
products: ProductGridProps["products"];
|
|
22
|
+
}[];
|
|
23
|
+
products?: ProductGridProps["products"];
|
|
24
|
+
}
|
|
25
|
+
export interface SidebarTranslations {
|
|
26
|
+
categoriesAndFilters?: string;
|
|
27
|
+
allProducts?: string;
|
|
28
|
+
categories?: string;
|
|
29
|
+
filters?: string;
|
|
30
|
+
clearAll?: string;
|
|
31
|
+
MSRPRange?: string;
|
|
32
|
+
myPurchaseHistory?: string;
|
|
33
|
+
inStock?: string;
|
|
34
|
+
earlyAccess?: string;
|
|
35
|
+
close?: string;
|
|
36
|
+
updateFilters?: string;
|
|
37
|
+
all?: string;
|
|
38
|
+
allResults?: string;
|
|
39
|
+
results: (count: number) => string;
|
|
40
|
+
}
|
|
41
|
+
export declare enum QueryKey {
|
|
42
|
+
category = "category",
|
|
43
|
+
filters = "filters",
|
|
44
|
+
priceFrom = "priceFrom",
|
|
45
|
+
priceTo = "priceTo"
|
|
46
|
+
}
|
|
47
|
+
export interface CategoriesProps {
|
|
48
|
+
onChange: (activeCategory: string | null) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Undefined - not initialized
|
|
51
|
+
* Null - no data
|
|
52
|
+
* <Value> - data
|
|
53
|
+
*/
|
|
54
|
+
activeCategory: Nullish<string>;
|
|
55
|
+
}
|
|
56
|
+
export interface ProductTypeProps {
|
|
57
|
+
onChange: (activeCategory: string | null) => void;
|
|
58
|
+
activeType: Nullish<string>;
|
|
59
|
+
}
|
|
60
|
+
export interface CategoryProps {
|
|
61
|
+
title: string;
|
|
62
|
+
items: CategoryItemProps[];
|
|
63
|
+
id: string;
|
|
64
|
+
}
|
|
65
|
+
export interface CategoryItemProps {
|
|
66
|
+
title: string;
|
|
67
|
+
id: string;
|
|
68
|
+
}
|
|
69
|
+
export interface FeatureItemProps {
|
|
70
|
+
title: string;
|
|
71
|
+
id: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ReturnFiltersData {
|
|
74
|
+
[QueryKey.filters]?: string[];
|
|
75
|
+
[QueryKey.priceFrom]?: {
|
|
76
|
+
displayPrice?: Money;
|
|
77
|
+
};
|
|
78
|
+
[QueryKey.priceTo]?: {
|
|
79
|
+
displayPrice?: Money;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface FiltersProps {
|
|
83
|
+
onChange: (activeFilters: ReturnFiltersData) => void;
|
|
84
|
+
activeFilters: ReturnFiltersData;
|
|
85
|
+
minValue: {
|
|
86
|
+
displayPrice?: Money;
|
|
87
|
+
};
|
|
88
|
+
maxValue: {
|
|
89
|
+
displayPrice: Money;
|
|
90
|
+
};
|
|
91
|
+
currency: Currency | undefined;
|
|
92
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { LayoutRendererProps } from "./LayoutRenderer.types";
|
|
3
|
+
import { Tabs } from "./LayoutRenderer.types";
|
|
4
|
+
export declare const TabIcons: Record<keyof typeof Tabs, string | StaticImageData>;
|
|
5
|
+
/**
|
|
6
|
+
* Layout Renderer
|
|
7
|
+
* @version 1
|
|
8
|
+
*/
|
|
9
|
+
export declare const LayoutRenderer: ({ currentProduct, collection, productSectionNavigationProps, onBreadcrumbClick, variantSelectorProps, renderImage, wizardProps, uiCareProps, upsellProps, layout, categories, activeCategories, categoryChangeHandler, translations, language, showCookiesConsentOptions, videoNoCookiesConsent, onGalleryChange, }: LayoutRendererProps) => JSX.Element;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
import type { BreadcrumbsProps } from "../Breadcrumbs/Breadcrumbs.types";
|
|
4
|
+
import type { CompareProps } from "../Compare/Compare.types";
|
|
5
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
6
|
+
import type { HeroProps, Image } from "../Hero/Hero.types";
|
|
7
|
+
import type { HowToUseSectionProps } from "../HowToUseSection/HowToUseSection.types";
|
|
8
|
+
import type { ProductSectionNavigationProps } from "../ProductSectionNavigation/ProductSectionNavigation.types";
|
|
9
|
+
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
10
|
+
import type { RelatedProductsProps } from "../RelatedProducts/RelatedProducts.types";
|
|
11
|
+
import type { UICareProps } from "../UICare/UICare.types";
|
|
12
|
+
import type { VariantSelectorProps } from "../VariantSelectorV1/VariantSelector.types";
|
|
13
|
+
interface SubCategory {
|
|
14
|
+
title: string;
|
|
15
|
+
id: string;
|
|
16
|
+
shortDescription?: string;
|
|
17
|
+
items?: SubCategory[];
|
|
18
|
+
}
|
|
19
|
+
interface Category {
|
|
20
|
+
sectionTitle: string;
|
|
21
|
+
id: string;
|
|
22
|
+
items: SubCategory[];
|
|
23
|
+
}
|
|
24
|
+
type ComparePropsWithoutImage = Omit<CompareProps, "renderImage">;
|
|
25
|
+
export interface LayoutRendererProps {
|
|
26
|
+
heroProps: {
|
|
27
|
+
title: string;
|
|
28
|
+
titleColor?: string;
|
|
29
|
+
highlightedImage: Image;
|
|
30
|
+
backgroundString: string;
|
|
31
|
+
backgroundGradientStartColor?: string;
|
|
32
|
+
backgroundGradientEndColor?: string;
|
|
33
|
+
ellipseBackgroundString?: string;
|
|
34
|
+
isSimpleBackground: boolean;
|
|
35
|
+
videoButtonColor?: string;
|
|
36
|
+
videoButtonBackground?: string;
|
|
37
|
+
videoButtonHoverBackground?: string;
|
|
38
|
+
};
|
|
39
|
+
collection?: {
|
|
40
|
+
title?: string;
|
|
41
|
+
descriptionHtml?: string;
|
|
42
|
+
videoUrl?: string;
|
|
43
|
+
slug: string;
|
|
44
|
+
};
|
|
45
|
+
onBreadcrumbClick: BreadcrumbsProps["onBreadcrumbClick"];
|
|
46
|
+
currentProduct: {
|
|
47
|
+
title: string;
|
|
48
|
+
videoUrl?: string;
|
|
49
|
+
shortDescription: string;
|
|
50
|
+
descriptionHtml?: string;
|
|
51
|
+
techSpecsImages?: Image[];
|
|
52
|
+
images?: Image[];
|
|
53
|
+
datasheet?: {
|
|
54
|
+
sku: string;
|
|
55
|
+
html: string;
|
|
56
|
+
};
|
|
57
|
+
hasUICare?: boolean;
|
|
58
|
+
tags?: string[];
|
|
59
|
+
relatedProductsProps?: Omit<RelatedProductsProps, "renderImage" | "translations">;
|
|
60
|
+
inTheBoxImages?: Image[];
|
|
61
|
+
} | null;
|
|
62
|
+
videoButton?: HeroProps["videoButton"];
|
|
63
|
+
productSectionNavigationProps: ProductSectionNavigationProps;
|
|
64
|
+
variantSelectorProps: Omit<VariantSelectorProps, "renderImage">;
|
|
65
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
66
|
+
wizardProps?: ProductWizardProps;
|
|
67
|
+
uiCareProps?: Omit<UICareProps, "renderImage">;
|
|
68
|
+
layout?: Layout;
|
|
69
|
+
categories?: Category[];
|
|
70
|
+
activeCategories?: string[];
|
|
71
|
+
micrositeComponent?: React.ReactNode;
|
|
72
|
+
categoryChangeHandler: (id: string) => void;
|
|
73
|
+
howToUseSectionProps: Omit<HowToUseSectionProps, "renderImage">;
|
|
74
|
+
compareProps: ComparePropsWithoutImage;
|
|
75
|
+
language: string;
|
|
76
|
+
showCookiesConsentOptions: () => void;
|
|
77
|
+
videoNoCookiesConsent: boolean;
|
|
78
|
+
hideDefaultVariant?: boolean;
|
|
79
|
+
translations: {
|
|
80
|
+
productSpecification?: string;
|
|
81
|
+
whatIsInsideBox?: string;
|
|
82
|
+
whatIsInsideBoxExplanation?: string;
|
|
83
|
+
fullSpecification: string;
|
|
84
|
+
newToUnifi: string;
|
|
85
|
+
newToUnifiText: string;
|
|
86
|
+
newToUnifiLinkText: string;
|
|
87
|
+
/** For AppDownloadBanner component - `title` prop */
|
|
88
|
+
appDownloadBannerTitle: string;
|
|
89
|
+
/** For DeploymentGallery component - `title` prop */
|
|
90
|
+
deploymentGalleryTitle: string;
|
|
91
|
+
/** For Topology scheme component - UniFi APP and UniFi Portal text */
|
|
92
|
+
unifiApp: string;
|
|
93
|
+
unifiPortal: string;
|
|
94
|
+
/** For RelatedProducts component - `title` prop */
|
|
95
|
+
relatedProducts: RelatedProductsProps["translations"];
|
|
96
|
+
tabs: Record<keyof typeof Tabs, string>;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export declare enum ProductScreenSectionHash {
|
|
100
|
+
BuyNow = "#",
|
|
101
|
+
HowToUse = "#how-to-use",
|
|
102
|
+
TechSpecs = "#tech-specs",
|
|
103
|
+
Compare = "#compare"
|
|
104
|
+
}
|
|
105
|
+
export declare enum Layout {
|
|
106
|
+
product = "product",
|
|
107
|
+
accessories = "accessories"
|
|
108
|
+
}
|
|
109
|
+
export declare enum Tabs {
|
|
110
|
+
intro = "intro",
|
|
111
|
+
deployment = "deployment",
|
|
112
|
+
photos = "photos"
|
|
113
|
+
}
|
|
114
|
+
export declare const TabIcons: Record<keyof typeof Tabs, string | StaticImageData>;
|
|
115
|
+
/**
|
|
116
|
+
* Layout Renderer
|
|
117
|
+
* @version 0.1
|
|
118
|
+
*/
|
|
119
|
+
export declare const LayoutRenderer: ({ currentProduct, collection, onBreadcrumbClick, variantSelectorProps, renderImage, wizardProps, uiCareProps, layout, categories, activeCategories, categoryChangeHandler, translations, language, showCookiesConsentOptions, videoNoCookiesConsent, }: LayoutRendererProps) => JSX.Element;
|
|
120
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
|
|
2
|
+
imageCarouselFullScreen?: boolean;
|
|
3
|
+
}, never>;
|
|
4
|
+
export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
|
|
5
|
+
imageCarouselFullScreen?: boolean;
|
|
6
|
+
}, never>;
|
|
7
|
+
export declare const ProductSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
marginTop?: boolean;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const ProductDetailWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
|
+
gap?: string;
|
|
12
|
+
}, never>;
|
|
13
|
+
export declare const ProductShortDescriptionDesktop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const ProductDescriptionDesktop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const ProductTitle: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
+
export declare const ProductDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
+
export declare const LeftSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
+
export declare const LeftSideAccessories: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
|
+
export declare const TechSpecsImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
+
export declare const RightSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
+
export declare const UICare: import("styled-components").StyledComponent<({ className, isModalOpen, translations, renderImage, onAddToCart, onCancel, onClickOutside, }: import("../UICare/UICare.types").UICareProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
23
|
+
export declare const AccessoriesImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
24
|
+
export declare const ImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
25
|
+
export declare const FullScreenWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
26
|
+
export declare const AccessoriesDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
27
|
+
export declare const ProductCategories: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
28
|
+
export declare const ProductCategory: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
29
|
+
export declare const ProductCategoryTitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
30
|
+
export declare const ProductCategoriesButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
31
|
+
export declare const ProductCategoryButtons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
32
|
+
export declare const ProductSpecificationsSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
33
|
+
export declare const ProductSpecificationsSectionTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
34
|
+
export declare const ProductSpecificationsSectionContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
35
|
+
$motif?: import("@ubnt/ui-components").Motif;
|
|
36
|
+
}, never>;
|
|
37
|
+
export declare const ProductAccordion: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
38
|
+
export declare const TopologyImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
39
|
+
export declare const VideoContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
40
|
+
export declare const TopologyScheme: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
41
|
+
export declare const DescriptionItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
42
|
+
export declare const DescriptionIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
43
|
+
export declare const DescriptionIconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
44
|
+
export declare const BREADCRUMBS_HEIGHT: number;
|
|
45
|
+
export declare const LAYOUT_DIVIDER_HEIGHT = 1;
|
|
46
|
+
export declare const ProductLayoutDivider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
47
|
+
export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
48
|
+
export declare const ProductLayoutBreadcrumbs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Breadcrumbs/Breadcrumbs.types").BreadcrumbsProps & import("react").RefAttributes<HTMLDivElement | null>>, import("styled-components").DefaultTheme, {
|
|
49
|
+
showDivider?: boolean;
|
|
50
|
+
}, never>;
|
|
51
|
+
export declare const ProductLayoutProductSectionWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
52
|
+
export declare const ProductLayoutLeftSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
53
|
+
export declare const ProductLayoutRightSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
54
|
+
export declare const ProductLayoutTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
55
|
+
export declare const ProductLayoutDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
56
|
+
export declare const ProductLayoutGalleryContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
57
|
+
$height?: number;
|
|
58
|
+
$width?: number;
|
|
59
|
+
}, never>;
|
|
60
|
+
export declare const ProductLayoutVideoPlayer: import("styled-components").StyledComponent<({ showCookiesConsentOptions, videoSrc, videoNoCookiesConsent, aspectRatio, className, }: import("../VideoPlayer").VideoPlayerProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
61
|
+
export declare const ProductLayoutTabinationButtonsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
62
|
+
export declare const ProductLayoutTabinationButtons: import("styled-components").StyledComponent<({ className, variant, tabs, activeTabId, onTabClick, }: import("../TabinationButtons/TabinationButtons.types").TabinationButtonsProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
63
|
+
export declare const ProductLayoutTitleWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
64
|
+
tablet: boolean;
|
|
65
|
+
}, never>;
|