@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,9 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Grid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
+
imageCount: number;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const ImageContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const ImageWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const CustomImage: 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 FullScreenWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
+
import type { Image } from "../Hero/Hero.types";
|
|
3
|
+
export declare const DEFAULT_TRANSLATIONS: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
export interface BuiltFeaturesSectionProps {
|
|
7
|
+
images?: Image[];
|
|
8
|
+
renderImage: RenderImageFn;
|
|
9
|
+
translations: typeof DEFAULT_TRANSLATIONS;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BuiltFeaturesSection } from "./BuiltFeaturesSection";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { MouseEvent } from "react";
|
|
2
|
+
export type ButtonVariants = "primary" | "secondary" | "link" | "cancel" | "tertiary" | "delete" | "unavailable" | "comingSoon" | "gray";
|
|
3
|
+
export type ButtonSizes = "medium" | "large";
|
|
4
|
+
export interface ButtonProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
variant: ButtonVariants;
|
|
7
|
+
size?: ButtonSizes;
|
|
8
|
+
full?: boolean;
|
|
9
|
+
bold?: boolean;
|
|
10
|
+
type?: "button" | "submit" | "reset";
|
|
11
|
+
/** Render as anchor - same as `as="a"` */
|
|
12
|
+
anchor?: boolean;
|
|
13
|
+
href?: string;
|
|
14
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Explicitly setting loading will overwrite loadAfterAction behavior */
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
/** On click set as loading and disable the button for a period of time */
|
|
19
|
+
loadAfterAction?: boolean;
|
|
20
|
+
/** Remove any padding */
|
|
21
|
+
flush?: boolean;
|
|
22
|
+
target?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface ButtonGroupItem {
|
|
2
|
+
title: string;
|
|
3
|
+
shortDescription?: string;
|
|
4
|
+
id: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ButtonItemProps {
|
|
9
|
+
onClick?: (id: string) => void;
|
|
10
|
+
activeId?: string | string[];
|
|
11
|
+
height?: number;
|
|
12
|
+
buttonMaxWidth?: number;
|
|
13
|
+
id: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
shortDescription?: string;
|
|
16
|
+
icon?: React.ReactNode;
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
disableGradient?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export type ButtonGroupProps = {
|
|
21
|
+
className?: string;
|
|
22
|
+
items: ButtonGroupItem[];
|
|
23
|
+
onClick?: (id: string) => void;
|
|
24
|
+
activeId?: string | string[];
|
|
25
|
+
height?: number;
|
|
26
|
+
buttonMaxWidth?: number;
|
|
27
|
+
/**
|
|
28
|
+
* It makes buttons no-wrap and adds scroll container when buttons are not fitting the screen
|
|
29
|
+
*/
|
|
30
|
+
noWrap?: boolean;
|
|
31
|
+
disableGradient?: boolean;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface ButtonGroupBasicItem {
|
|
2
|
+
title: string;
|
|
3
|
+
id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ButtonItemProps {
|
|
6
|
+
onClick?: (id: string) => void;
|
|
7
|
+
activeId?: string | string[];
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
11
|
+
export type ButtonGroupBasicProps = {
|
|
12
|
+
items: ButtonGroupBasicItem[];
|
|
13
|
+
onClick?: (id: string) => void;
|
|
14
|
+
activeId?: string | string[];
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CardProps } from "./Card/Card.types";
|
|
3
|
+
export type CardSectionProps = {
|
|
4
|
+
sectionTitle?: {
|
|
5
|
+
primary: string;
|
|
6
|
+
subdued: string;
|
|
7
|
+
};
|
|
8
|
+
banner?: ReactNode;
|
|
9
|
+
cardsProps: CardProps[];
|
|
10
|
+
onLinkClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;
|
|
11
|
+
beforeFollowCardLink?: (url: string) => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const ANIMATION_DELAY_MS = 400;
|
|
2
|
+
export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const GradientLeft: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const GradientRight: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const ImagesContainerWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const ImagesContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const Image: 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>;
|
|
8
|
+
export declare const ImageWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
+
$offset: number;
|
|
10
|
+
$animatePrev?: boolean;
|
|
11
|
+
$animateNext?: boolean;
|
|
12
|
+
}, never>;
|
|
13
|
+
export declare const ControlsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const Control: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
15
|
+
$disabled?: boolean;
|
|
16
|
+
$mirror?: boolean;
|
|
17
|
+
}, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CustomImageAsset, RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export interface CarouselGalleryProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
renderImage: RenderImageFn;
|
|
5
|
+
assets: CustomImageAsset[];
|
|
6
|
+
priority?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ActiveAssetItem {
|
|
9
|
+
id: string;
|
|
10
|
+
offset: number;
|
|
11
|
+
Image: JSX.Element;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CarouselGallery";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ContainerProps } from "../Container/Container.types";
|
|
2
|
+
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
3
|
+
export interface CartSummaryProps {
|
|
4
|
+
/** As complete text, e.g. "3 items" */
|
|
5
|
+
itemCount?: string;
|
|
6
|
+
price?: string;
|
|
7
|
+
priceWithVAT?: string;
|
|
8
|
+
productWizardProps: ProductWizardProps;
|
|
9
|
+
onAction?: () => void;
|
|
10
|
+
containerSize?: ContainerProps["size"];
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
type Href = {
|
|
4
|
+
pathname: string;
|
|
5
|
+
query?: Record<string, string | string[] | number | number[]>;
|
|
6
|
+
};
|
|
7
|
+
type Category = {
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
icon: {
|
|
11
|
+
src: string | StaticImageData;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
href?: Href;
|
|
16
|
+
};
|
|
17
|
+
export interface CategoryTabsProps {
|
|
18
|
+
categories: Category[];
|
|
19
|
+
activeIndex?: number;
|
|
20
|
+
renderLink?: (children: ReactNode, href?: Href) => ReactNode;
|
|
21
|
+
asAnchor?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CheckboxProps as CheckboxPropsBase } from "@ubnt/ui-components/Checkbox/Checkbox";
|
|
2
|
+
export type CheckboxProps = Omit<CheckboxPropsBase, "id"> & {
|
|
3
|
+
name: string;
|
|
4
|
+
/**
|
|
5
|
+
* Functionally still works as a checkbox but visually is a radio
|
|
6
|
+
*/
|
|
7
|
+
radio?: boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AccordionProps } from "../Accordion/Accordion.types";
|
|
2
|
+
import type { CustomImageAsset, CustomMediaAsset, RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
3
|
+
import type { MicrositePageBlocks } from "../Microsites/Microsites.types";
|
|
4
|
+
import type { ProductCompareProps } from "../ProductCompare/ProductCompare.types";
|
|
5
|
+
import type { SectionTab } from "./CloserLookSection";
|
|
6
|
+
import type { defaultCloserLookSectionTranslations } from "./CloserLookSection.constants";
|
|
7
|
+
import type { RecommendedAddonsProps } from "./RecommendedAddons/RecommendedAddons.types";
|
|
8
|
+
export interface AssetWithTime extends CustomMediaAsset {
|
|
9
|
+
videoStartTime?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface CloserLookSectionProps {
|
|
12
|
+
className?: string;
|
|
13
|
+
translations?: typeof defaultCloserLookSectionTranslations;
|
|
14
|
+
renderImage: RenderImageFn;
|
|
15
|
+
glanceAssets: MicrositePageBlocks[];
|
|
16
|
+
photosAssets: AssetWithTime[];
|
|
17
|
+
deploymentAssets: CustomImageAsset[];
|
|
18
|
+
inTheBoxAssets: CustomImageAsset[];
|
|
19
|
+
buildFeatureAssets: CustomImageAsset[];
|
|
20
|
+
installationAssets: CustomMediaAsset[];
|
|
21
|
+
performanceAssets: CustomImageAsset[];
|
|
22
|
+
capacityCalculator: React.ReactNode;
|
|
23
|
+
productCompareProps?: Omit<ProductCompareProps, "renderImage">;
|
|
24
|
+
recommendedAddonsProps?: RecommendedAddonsProps;
|
|
25
|
+
faq?: Pick<AccordionProps, "items">;
|
|
26
|
+
onTabClick?: (tabId: SectionTab) => void;
|
|
27
|
+
onTabChange?: (tabId: SectionTab | undefined) => void;
|
|
28
|
+
onGalleryModalToggle?: (tabId: SectionTab, src: string) => void;
|
|
29
|
+
bannerHtml?: React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export interface AssetsListProps {
|
|
32
|
+
renderImage: RenderImageFn;
|
|
33
|
+
assets: CustomImageAsset[];
|
|
34
|
+
maxWidth?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { ProductCardProps } from "../../ProductCard/ProductCard.types";
|
|
3
|
+
import type { ProductCardPopupProps } from "../../ProductCardPopup/ProductCardPopup.types";
|
|
4
|
+
import type { defaultRecommendedAddonsTranslations } from "./RecommendedAddons.constants";
|
|
5
|
+
export interface RecommendedAddonsProps {
|
|
6
|
+
renderImage?: RenderImageFn;
|
|
7
|
+
translations?: Partial<typeof defaultRecommendedAddonsTranslations>;
|
|
8
|
+
products: Omit<ProductCardProps, "renderImage" | "translations" | "small">[];
|
|
9
|
+
activePopupProduct?: Omit<ProductCardPopupProps, "translations" | "renderImage" | "isOpen">;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ContainerButtonGroup: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const ContainerTable: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const ContainerChart: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const TableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const CompareTable: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const Cell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, {
|
|
8
|
+
columns: number;
|
|
9
|
+
image?: boolean;
|
|
10
|
+
titleCell?: boolean;
|
|
11
|
+
}, never>;
|
|
12
|
+
export declare const RowContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const Row: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, {
|
|
14
|
+
noBackground?: boolean;
|
|
15
|
+
}, never>;
|
|
16
|
+
export declare const CellLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
+
export declare const IconWrap: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
+
export declare const Line: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
+
export declare const CellTextualValue: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
|
+
export declare const TableButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
21
|
+
active: boolean;
|
|
22
|
+
}, never>;
|
|
23
|
+
export declare const TableNote: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
24
|
+
export declare const ButtonGroupWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
25
|
+
export declare const InTheBoxTitle: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
26
|
+
export declare const InTheBoxImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
27
|
+
export declare const InTheBoxAccordion: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
28
|
+
export declare const InTheBoxSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
29
|
+
export declare const ProductSpecsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
30
|
+
export declare const ProductSpecsTitle: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
31
|
+
export declare const ProductSpecs: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
32
|
+
$motif?: import("@ubnt/ui-components").Motif;
|
|
33
|
+
}, never>;
|
|
34
|
+
export declare const CompareTableIcon: import("styled-components").StyledComponent<({ src, width, height, renderedHeight, className, }: import("../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
35
|
+
export declare const CompareTableIconText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
36
|
+
export declare const BuyNowButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CustomImageAsset, RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export interface Link {
|
|
3
|
+
title: string;
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CompareProduct {
|
|
7
|
+
id: string;
|
|
8
|
+
sku: string;
|
|
9
|
+
title: string;
|
|
10
|
+
image: CustomImageAsset;
|
|
11
|
+
inTheBoxHtml: string | null;
|
|
12
|
+
inTheBoxImage: CustomImageAsset | null;
|
|
13
|
+
specsHtml: string | null;
|
|
14
|
+
price: string;
|
|
15
|
+
}
|
|
16
|
+
export type CompareProps = {
|
|
17
|
+
products: {
|
|
18
|
+
list: CompareProduct[];
|
|
19
|
+
};
|
|
20
|
+
slugId: string;
|
|
21
|
+
language: string;
|
|
22
|
+
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
23
|
+
initialProductId: string;
|
|
24
|
+
compareCategories?: {
|
|
25
|
+
id: string;
|
|
26
|
+
title: string;
|
|
27
|
+
}[];
|
|
28
|
+
translations?: {
|
|
29
|
+
whatIsInsideBox: string;
|
|
30
|
+
whatIsInsideBoxExplanation: string;
|
|
31
|
+
fullSpecification: string;
|
|
32
|
+
};
|
|
33
|
+
onProductSelect?: (sku: string) => void;
|
|
34
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
export interface FeatureWithIcon {
|
|
3
|
+
icon: string | StaticImageData;
|
|
4
|
+
text?: string;
|
|
5
|
+
height: number;
|
|
6
|
+
width: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ProductWithFeatures {
|
|
9
|
+
id: string[];
|
|
10
|
+
featureValues: (string | number | boolean | FeatureWithIcon)[];
|
|
11
|
+
}
|
|
12
|
+
export interface CompareProducts {
|
|
13
|
+
featureKeys: string[];
|
|
14
|
+
products: ProductWithFeatures[];
|
|
15
|
+
note?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CompareData {
|
|
18
|
+
[key: string]: {
|
|
19
|
+
[key: string]: CompareProducts;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare const compareData: CompareData;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
3
|
+
import type { CompareProduct } from "./Compare.types";
|
|
4
|
+
import type { CompareProducts } from "./CompareData";
|
|
5
|
+
declare const ProductTable: (compareProducts: CompareProduct[], columnCount: number, renderImage: (imageProps: RenderImageProps) => React.ReactNode, compareData: CompareProducts, onProductSelect?: (sku: string) => void) => JSX.Element[];
|
|
6
|
+
export default ProductTable;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const CompareChartContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const ScrollWrapperContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const CompareChartGroupNotes: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const CompareChartGroupNoteItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const CompareChartFeatureNotes: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const ChartItemIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const CompareChartFeatureNoteItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const CompareChartInnerContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const CompareChart: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const HorizontalLines: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const HorizontalLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const HorizontalLineTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const HorizontalLineMiddle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const HorizontalLineTitleMiddle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const HorizontalLineTitleMiddleInner: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const VerticalLines: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
+
export declare const VerticalGroupLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
+
export declare const VerticalGroupItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
+
export declare const VerticalLineFirst: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
|
+
export declare const VerticalLineSecond: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
+
export declare const VerticalRegular: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
+
export declare const VerticalLineRegular: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
23
|
+
export declare const VerticalLineTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
24
|
+
black?: boolean;
|
|
25
|
+
}, never>;
|
|
26
|
+
export declare const VerticalLineIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
27
|
+
export declare const VerticalLineIcon: import("styled-components").StyledComponent<({ src, width, height, renderedHeight, className, }: import("../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
28
|
+
export declare const ChartItemIcon: import("styled-components").StyledComponent<({ src, width, height, renderedHeight, className, }: import("../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
29
|
+
export declare const ChartItemGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
30
|
+
export declare const ChartItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
31
|
+
export declare const ChartItemImage: import("styled-components").StyledComponent<({ src, width, height, ...rest }: import("../NormalisedImage").NormalisedImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
32
|
+
export declare const ChartItemTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
33
|
+
isActive: boolean;
|
|
34
|
+
}, never>;
|
|
35
|
+
export declare const ChartItemGroupRegular: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
36
|
+
isMultiple: boolean;
|
|
37
|
+
}, never>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface CompareChartProps {
|
|
2
|
+
activeProducts: string[];
|
|
3
|
+
language: string;
|
|
4
|
+
}
|
|
5
|
+
interface YValue {
|
|
6
|
+
group: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CompareChartItem {
|
|
10
|
+
slug: string[];
|
|
11
|
+
title: string;
|
|
12
|
+
img: string;
|
|
13
|
+
xValue: string | null;
|
|
14
|
+
yValue: YValue;
|
|
15
|
+
features?: string[];
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const compareChartData: {
|
|
2
|
+
en: {
|
|
3
|
+
yAxis: {
|
|
4
|
+
title: string;
|
|
5
|
+
groups: ({
|
|
6
|
+
type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
categories: string[];
|
|
10
|
+
} | {
|
|
11
|
+
type: string;
|
|
12
|
+
title: string;
|
|
13
|
+
categories: string[];
|
|
14
|
+
description?: undefined;
|
|
15
|
+
})[];
|
|
16
|
+
};
|
|
17
|
+
xAxis: {
|
|
18
|
+
categories: string[];
|
|
19
|
+
icon: string | import("next/image").StaticImageData;
|
|
20
|
+
noCategory: string;
|
|
21
|
+
};
|
|
22
|
+
items: ({
|
|
23
|
+
slug: string[];
|
|
24
|
+
title: string;
|
|
25
|
+
img: string | import("next/image").StaticImageData;
|
|
26
|
+
xValue: null;
|
|
27
|
+
yValue: {
|
|
28
|
+
group: string;
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
features?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
slug: string[];
|
|
34
|
+
title: string;
|
|
35
|
+
img: string | import("next/image").StaticImageData;
|
|
36
|
+
features: string[];
|
|
37
|
+
xValue: null;
|
|
38
|
+
yValue: {
|
|
39
|
+
group: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
} | {
|
|
43
|
+
slug: string[];
|
|
44
|
+
title: string;
|
|
45
|
+
img: string | import("next/image").StaticImageData;
|
|
46
|
+
features: string[];
|
|
47
|
+
xValue: string;
|
|
48
|
+
yValue: {
|
|
49
|
+
group: string;
|
|
50
|
+
value: string;
|
|
51
|
+
};
|
|
52
|
+
} | {
|
|
53
|
+
slug: string[];
|
|
54
|
+
title: string;
|
|
55
|
+
img: string | import("next/image").StaticImageData;
|
|
56
|
+
xValue: string;
|
|
57
|
+
yValue: {
|
|
58
|
+
group: string;
|
|
59
|
+
value: string;
|
|
60
|
+
};
|
|
61
|
+
features?: undefined;
|
|
62
|
+
})[];
|
|
63
|
+
features: {
|
|
64
|
+
title: string;
|
|
65
|
+
id: string;
|
|
66
|
+
icon: string | import("next/image").StaticImageData;
|
|
67
|
+
}[];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CompareSectionProps } from "./CompareSection.types";
|
|
2
|
+
/**
|
|
3
|
+
* The new new design Compare section
|
|
4
|
+
*/
|
|
5
|
+
export declare const CompareSection: ({ products, datasheetHtml, collectionSlug, language, renderImage, translations, }: CompareSectionProps) => JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Product = {
|
|
2
|
+
slugs: string[];
|
|
3
|
+
features: (string | React.ReactNode)[];
|
|
4
|
+
};
|
|
5
|
+
type CompareData = {
|
|
6
|
+
title?: string;
|
|
7
|
+
products: Product[];
|
|
8
|
+
};
|
|
9
|
+
export declare const getCompareSectionData: (collectionSlug?: string, language?: string) => CompareData | undefined;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const TabinationButtons: import("styled-components").StyledComponent<({ className, variant, tabs, activeTabId, onTabClick, }: import("../TabinationButtons/TabinationButtons.types").TabinationButtonsProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const CustomImage: 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>;
|
|
5
|
+
export declare const ProductTitle: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Table: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
|
+
columns?: number;
|
|
8
|
+
}, never>;
|
|
9
|
+
export declare const Cell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
10
|
+
rowIndex: number;
|
|
11
|
+
}, never>;
|
|
12
|
+
export declare const ProductDatasheet: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
13
|
+
$motif?: import("@ubnt/ui-components").Motif;
|
|
14
|
+
}, never>;
|
|
15
|
+
export declare const EmptyLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const ViewingAngleText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
+
export declare const TableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CustomImageAsset, RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export declare enum Tabs {
|
|
3
|
+
features = "features",
|
|
4
|
+
specifications = "specifications"
|
|
5
|
+
}
|
|
6
|
+
type Product = {
|
|
7
|
+
title: string;
|
|
8
|
+
slug?: string;
|
|
9
|
+
image?: CustomImageAsset;
|
|
10
|
+
price?: string;
|
|
11
|
+
};
|
|
12
|
+
export interface CompareSectionProps {
|
|
13
|
+
products: Product[];
|
|
14
|
+
datasheetHtml?: string;
|
|
15
|
+
language?: string;
|
|
16
|
+
collectionSlug?: string;
|
|
17
|
+
renderImage: RenderImageFn;
|
|
18
|
+
translations: Record<keyof typeof Tabs, string>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CompareSection } from "./CompareSection";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type WrapSize = "mobile" | "tablet" | "desktop" | "full" | "accounts" | "products";
|
|
2
|
+
export interface ContainerProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
size: WrapSize;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
fullHeight?: boolean;
|
|
8
|
+
noVerticalMargin?: boolean;
|
|
9
|
+
withExtraMargin?: boolean;
|
|
10
|
+
noPaddings?: boolean;
|
|
11
|
+
}
|