@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
package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
2
|
+
import type { ProductCardPopupProps } from "../ProductCardPopup/ProductCardPopup.types";
|
|
3
|
+
import type { RelatedProductsVariantSelectorProps } from "../RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types";
|
|
4
|
+
type Section = Pick<RelatedProductsVariantSelectorProps, "title" | "variants"> & {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
export interface RelatedProductsVariantSelectorsProps {
|
|
8
|
+
sections: Section[];
|
|
9
|
+
/** Stores selected variants + the quantity */
|
|
10
|
+
selectedVariants: RelatedProductsVariantSelectorProps["selectedVariants"];
|
|
11
|
+
onOptionSelect: (productId: string) => void;
|
|
12
|
+
onVariantSelect: RelatedProductsVariantSelectorProps["onVariantSelect"];
|
|
13
|
+
activePopupProduct?: Omit<ProductCardPopupProps, "translations" | "renderImage" | "isOpen">;
|
|
14
|
+
renderImage: RenderImageFn;
|
|
15
|
+
translations: RelatedProductsVariantSelectorProps["translations"] & {
|
|
16
|
+
productCardPopup: ProductCardPopupProps["translations"];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RelatedProductsVariantSelectors } from "./RelatedProductsVariantSelectors";
|
|
@@ -12,7 +12,7 @@ require('./assets/attention.svg.js');
|
|
|
12
12
|
var InputCard_styles = require('./InputCard.styles.js');
|
|
13
13
|
require('./InputSections/index.js');
|
|
14
14
|
var CustomImage = require('../../../../CustomImage/CustomImage.js');
|
|
15
|
-
var attentionIcon = require("../../../../../assets/
|
|
15
|
+
var attentionIcon = require("../../../../../assets/attention.svg");
|
|
16
16
|
var OptionSelectSection = require('./InputSections/OptionSelectSection.js');
|
|
17
17
|
var SliderSection = require('./InputSections/SliderSection.js');
|
|
18
18
|
var CounterSection = require('./InputSections/CounterSection.js');
|
|
@@ -10,7 +10,7 @@ import './assets/attention.svg.mjs';
|
|
|
10
10
|
import { Card, Header, HeaderHeadingSection, HeadingIcon, HeadingTitle, HeaderActionSection, SubduedInfo, OverlayFilter, NotAvailableNoteWrap, NotAvailableNoteIcon, InputBody, InputSectionSpacing, Footer, FooterContent, FooterNote } from './InputCard.styles.mjs';
|
|
11
11
|
import './InputSections/index.mjs';
|
|
12
12
|
import { CustomImage } from '../../../../CustomImage/CustomImage.mjs';
|
|
13
|
-
import attentionIcon__default from "../../../../../assets/
|
|
13
|
+
import attentionIcon__default from "../../../../../assets/attention.svg";
|
|
14
14
|
import { OptionSelectSection } from './InputSections/OptionSelectSection.mjs';
|
|
15
15
|
import { SliderSection } from './InputSections/SliderSection.mjs';
|
|
16
16
|
import { CounterSection } from './InputSections/CounterSection.mjs';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { CheckboxSectionProps, CounterSectionProps, OptionSelectSectionProps, SliderSectionProps } from "./InputSections";
|
|
3
|
+
export type InputSectionProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
verticalLabel?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disabledOpacity?: number;
|
|
8
|
+
hide?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type InputSectionWrapProps = {
|
|
11
|
+
marginBottom?: number;
|
|
12
|
+
};
|
|
13
|
+
type CustomInputSection = InputSectionProps & {
|
|
14
|
+
type: "custom";
|
|
15
|
+
element: JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export type InputSection = (Omit<CheckboxSectionProps, "id"> & InputSectionWrapProps) | (Omit<SliderSectionProps, "id"> & InputSectionWrapProps) | (Omit<CounterSectionProps, "id"> & InputSectionWrapProps) | (Omit<OptionSelectSectionProps, "id"> & InputSectionWrapProps) | (Omit<CustomInputSection, "id"> & InputSectionWrapProps);
|
|
18
|
+
export type InputCardProps = {
|
|
19
|
+
id: string;
|
|
20
|
+
header?: {
|
|
21
|
+
icon?: string | StaticImageData;
|
|
22
|
+
title?: string | JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
inputSections: InputSection[];
|
|
25
|
+
footer?: {
|
|
26
|
+
className?: string;
|
|
27
|
+
note?: string;
|
|
28
|
+
content?: JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
notAvailable?: boolean;
|
|
31
|
+
notAvailableNote?: string;
|
|
32
|
+
active: boolean;
|
|
33
|
+
forceActive?: boolean;
|
|
34
|
+
onToggleEnabled?: (active: boolean) => void;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var attentionIcon = require("../../../../../../assets/
|
|
6
|
+
var attentionIcon = require("../../../../../../assets/attention.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/attention.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/attention.svg";
|
|
3
3
|
//# sourceMappingURL=attention.svg.mjs.map
|
|
@@ -6,7 +6,7 @@ var asset = require('../../../../../utils/asset.js');
|
|
|
6
6
|
require('./assets/attention.svg.js');
|
|
7
7
|
var Part = require('./Part.js');
|
|
8
8
|
var ProgressBarChart_styles = require('./ProgressBarChart.styles.js');
|
|
9
|
-
var attentionIcon = require("../../../../../assets/
|
|
9
|
+
var attentionIcon = require("../../../../../assets/attention2.svg");
|
|
10
10
|
function _interopDefault(e) {
|
|
11
11
|
return e && e.__esModule ? e : {
|
|
12
12
|
default: e
|
|
@@ -4,7 +4,7 @@ import { imageSrc } from '../../../../../utils/asset.mjs';
|
|
|
4
4
|
import './assets/attention.svg.mjs';
|
|
5
5
|
import { PART_GAP_PX, PART_WIDTH_PX, Part } from './Part.mjs';
|
|
6
6
|
import { ProgressBarChartContainer, ProgressBarChartHeader, ProgressBarChartTitle, ProgressBarWrapper, ProgressBarPartsContainer, ProgressBarAttentionLabel, ProgressBarAttentionLabelIcon } from './ProgressBarChart.styles.mjs';
|
|
7
|
-
import attentionIcon__default from "../../../../../assets/
|
|
7
|
+
import attentionIcon__default from "../../../../../assets/attention2.svg";
|
|
8
8
|
"use strict";
|
|
9
9
|
const ProgressBarChart = ({
|
|
10
10
|
title,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var attentionIcon = require("../../../../../../assets/
|
|
6
|
+
var attentionIcon = require("../../../../../../assets/attention2.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/attention2.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/attention2.svg";
|
|
3
3
|
//# sourceMappingURL=attention.svg.mjs.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type ScrollWrapperAlign = "left" | "center" | "right";
|
|
4
|
+
export type ScrollWrapperDirection = "horizontal" | "vertical";
|
|
5
|
+
export type ScrollWrapperFillType = "gradient" | "solid";
|
|
6
|
+
export type ScrollChangeFn = ({ scrollX, scrollY, }: {
|
|
7
|
+
scrollWidth: number;
|
|
8
|
+
scrollX: number;
|
|
9
|
+
scrollY: number;
|
|
10
|
+
}) => void;
|
|
11
|
+
interface ScrollWrapperItem {
|
|
12
|
+
id: string;
|
|
13
|
+
render: () => ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export interface ScrollWrapperProps {
|
|
16
|
+
/** Default alignment that will change based on necessity */
|
|
17
|
+
align: ScrollWrapperAlign;
|
|
18
|
+
/** In what direction the scroll happens */
|
|
19
|
+
direction: ScrollWrapperDirection;
|
|
20
|
+
items: ScrollWrapperItem[];
|
|
21
|
+
fillType?: ScrollWrapperFillType;
|
|
22
|
+
fillColor?: string;
|
|
23
|
+
accentColor?: string;
|
|
24
|
+
arrowColor?: string;
|
|
25
|
+
scrollStepType?: "scrollScreen" | "itemWidth" | "visibleItemsWidth" | "nextItem";
|
|
26
|
+
gap?: number;
|
|
27
|
+
className?: string;
|
|
28
|
+
arrowFadeColor?: string;
|
|
29
|
+
activeIndex?: number;
|
|
30
|
+
circleArrowBackground?: boolean;
|
|
31
|
+
arrowGap?: number;
|
|
32
|
+
gradientSize?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Hide control arrows
|
|
35
|
+
*/
|
|
36
|
+
hideArrows?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Called on scroll container size change
|
|
39
|
+
*/
|
|
40
|
+
onScrollChange?: ScrollChangeFn;
|
|
41
|
+
/**
|
|
42
|
+
* Enable horizontal wheel scroll
|
|
43
|
+
*/
|
|
44
|
+
enableWheelScroll?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Custom arrow icon
|
|
47
|
+
*/
|
|
48
|
+
arrowIcon?: {
|
|
49
|
+
icon: string | StaticImageData;
|
|
50
|
+
height: number;
|
|
51
|
+
width: number;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { ChangeEventHandler, Dispatch, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, SetStateAction } from "react";
|
|
3
|
+
export interface SearchInputProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onValueChange: ChangeEventHandler<HTMLInputElement>;
|
|
6
|
+
onCancelClick?: MouseEventHandler<HTMLDivElement>;
|
|
7
|
+
height?: number;
|
|
8
|
+
width?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
showCancel: boolean;
|
|
11
|
+
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
12
|
+
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
13
|
+
onKeyPress?: KeyboardEventHandler<HTMLInputElement>;
|
|
14
|
+
setInputRef?: Dispatch<SetStateAction<HTMLInputElement | null>>;
|
|
15
|
+
motif?: Motif;
|
|
16
|
+
transparent?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
export declare const SearchInputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
+
height?: number;
|
|
4
|
+
width?: number;
|
|
5
|
+
transparent?: boolean;
|
|
6
|
+
motif: Motif;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const IconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
+
show: boolean;
|
|
10
|
+
motif: Motif;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
}, never>;
|
|
13
|
+
export declare const CancelIconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
14
|
+
show: boolean;
|
|
15
|
+
motif: Motif;
|
|
16
|
+
active?: boolean;
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const IconAfterWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface Props {
|
|
3
|
+
show: boolean;
|
|
4
|
+
/** Set specific width, otherwise, applies auto */
|
|
5
|
+
width?: number;
|
|
6
|
+
minHeight?: number;
|
|
7
|
+
/** Remove shadows, backgrounds, etc */
|
|
8
|
+
clean?: boolean;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TabinationButtonsVariant } from "./TabinationButtons.types";
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
+
$variant: TabinationButtonsVariant;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const Icon: import("styled-components").StyledComponent<({ src, width, height, renderedHeight, className, }: import("../StyleableSvgImage").StyleableSvgImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const SubTitle: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const Pill: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
9
|
+
$active?: boolean;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
12
|
+
$active?: boolean;
|
|
13
|
+
}, never>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
export interface TabinationButtonsTab {
|
|
3
|
+
id: string;
|
|
4
|
+
hash?: `#${string}`;
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
* Only for "buttons" variant
|
|
8
|
+
*/
|
|
9
|
+
subTitle?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Only for "pills" variant
|
|
12
|
+
*/
|
|
13
|
+
icon?: string | StaticImageData;
|
|
14
|
+
}
|
|
15
|
+
export type TabinationButtonsVariant = "pills" | "buttons";
|
|
16
|
+
export interface TabinationButtonsProps {
|
|
17
|
+
variant: TabinationButtonsVariant;
|
|
18
|
+
tabs: TabinationButtonsTab[];
|
|
19
|
+
activeTabId?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
onTabClick: (tabId: string) => void;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabinationButtons } from "./TabinationButtons";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const ScrollInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Item: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const ItemBoxWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const ItemBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
+
isDefaultItem?: boolean;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const ConnectorImageWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const ConnectorImage: 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, {
|
|
10
|
+
width: number;
|
|
11
|
+
}, never>;
|
|
12
|
+
export declare const BoxDefaultImage: 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>;
|
|
13
|
+
export declare const BoxImage: 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>;
|
|
14
|
+
export declare const ItemTitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const ItemDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const BoxButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
+
export declare const TabsHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
+
export declare const TabsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
19
|
+
isActive: boolean;
|
|
20
|
+
}, never>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { StaticImageData } from "next/image";
|
|
2
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
3
|
+
export declare enum ConnectionType {
|
|
4
|
+
Poe = "poe",
|
|
5
|
+
Wifi = "wifi"
|
|
6
|
+
}
|
|
7
|
+
export declare enum FirstItemType {
|
|
8
|
+
UnifiPortal = "unifi-portal",
|
|
9
|
+
UnifiApp = "unifi-app"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ProductTabHash {
|
|
12
|
+
Compare = "compare",
|
|
13
|
+
TechSpecs = "tech-specs"
|
|
14
|
+
}
|
|
15
|
+
export interface TopologySchemeProps {
|
|
16
|
+
data: {
|
|
17
|
+
title?: string;
|
|
18
|
+
items: {
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
hash?: ProductTabHash.TechSpecs | ProductTabHash.Compare;
|
|
22
|
+
connectionType?: ConnectionType.Poe | ConnectionType.Wifi;
|
|
23
|
+
url: string;
|
|
24
|
+
image: string | StaticImageData;
|
|
25
|
+
buttonText: string;
|
|
26
|
+
}[];
|
|
27
|
+
firstItemType?: FirstItemType.UnifiApp | FirstItemType.UnifiPortal;
|
|
28
|
+
}[];
|
|
29
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
30
|
+
translations?: {
|
|
31
|
+
unifiApp: string;
|
|
32
|
+
unifiPortal: string;
|
|
33
|
+
};
|
|
34
|
+
onCompareClick: (slug: string, hash: string | undefined) => void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
+
export interface UICareProps {
|
|
3
|
+
/**
|
|
4
|
+
* Class name for banner
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Set to true to open the modal
|
|
9
|
+
*/
|
|
10
|
+
isModalOpen: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Image renderer
|
|
13
|
+
*/
|
|
14
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Fires when add to cart button is clicked
|
|
17
|
+
*/
|
|
18
|
+
onAddToCart: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* Fires when cancel button is clicked
|
|
21
|
+
*/
|
|
22
|
+
onCancel: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Fires when clicked outside of the modal
|
|
25
|
+
*/
|
|
26
|
+
onClickOutside: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* Translations
|
|
29
|
+
*/
|
|
30
|
+
translations: {
|
|
31
|
+
title: string;
|
|
32
|
+
price: string;
|
|
33
|
+
description: string;
|
|
34
|
+
modal?: {
|
|
35
|
+
description?: string;
|
|
36
|
+
benefits?: {
|
|
37
|
+
priorityRmaService?: string;
|
|
38
|
+
freeReturnShipping?: string;
|
|
39
|
+
unlimitedReplacements?: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
buttons: {
|
|
43
|
+
addToCart: string;
|
|
44
|
+
cancel: string;
|
|
45
|
+
/**
|
|
46
|
+
* Provide link element here with translated text since
|
|
47
|
+
* Next.js has a special Link component, but Shopify does not.
|
|
48
|
+
*/
|
|
49
|
+
learnMore: string | React.ReactNode;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as ar } from "./ar.json";
|
|
2
|
+
export { default as de } from "./de.json";
|
|
3
|
+
export { default as el } from "./el.json";
|
|
4
|
+
export { default as en } from "./en.json";
|
|
5
|
+
export { default as es } from "./es.json";
|
|
6
|
+
export { default as fr } from "./fr.json";
|
|
7
|
+
export { default as it } from "./it.json";
|
|
8
|
+
export { default as ja } from "./ja.json";
|
|
9
|
+
export { default as pt } from "./pt-BR.json";
|
|
10
|
+
export { default as zh } from "./zh-Hans.json";
|
|
11
|
+
export { default as tw } from "./zh-Hant-TW.json";
|
package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { VariantCompatibleProduct } from "../../../LayoutRenderer/LayoutRenderer.types";
|
|
3
|
+
export interface VariantCompatibilityProps {
|
|
4
|
+
renderImage: RenderImageFn;
|
|
5
|
+
compatibleProducts: VariantCompatibleProduct[];
|
|
6
|
+
hideBottomSeparator?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface CompatibleProductLinkProps {
|
|
9
|
+
renderImage: RenderImageFn;
|
|
10
|
+
product: VariantCompatibleProduct;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { LayoutRendererProps, LayoutVariant, OnVariantAddToCartFn } from "../../LayoutRenderer/LayoutRenderer.types";
|
|
3
|
+
import type { VariantSelectorItemProps } from "../../VariantSelectorItem/VariantSelectorItem.types";
|
|
4
|
+
import type { VariantSelectorProps } from "../VariantSelector.types";
|
|
5
|
+
export interface VariantSelectorVariantProps extends VariantSelectorItemProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
renderImage: RenderImageFn;
|
|
8
|
+
variant: LayoutVariant;
|
|
9
|
+
description?: string;
|
|
10
|
+
disableKeyFeatures?: boolean;
|
|
11
|
+
onVariantAddToCart: OnVariantAddToCartFn;
|
|
12
|
+
categoryChangeHandler: LayoutRendererProps["categoryChangeHandler"];
|
|
13
|
+
activeCategories: LayoutRendererProps["activeCategories"];
|
|
14
|
+
wizardProps: VariantSelectorProps["wizardProps"];
|
|
15
|
+
translations: NonNullable<VariantSelectorProps["translations"]>;
|
|
16
|
+
backInStockProps: VariantSelectorProps["backInStockProps"];
|
|
17
|
+
getEndPrice: VariantSelectorProps["getEndPrice"];
|
|
18
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Money } from "../../utils/money";
|
|
2
|
+
import type { BackInStockProps } from "../BackInStock/BackInStock.types";
|
|
3
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
4
|
+
import type { LayoutRendererProps, LayoutVariant, OnVariantAddToCartFn } from "../LayoutRenderer/LayoutRenderer.types";
|
|
5
|
+
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
6
|
+
import type { defaultVariantSelectorTranslations } from "./VariantSelector.constants";
|
|
7
|
+
export declare enum ModelViews {
|
|
8
|
+
newerModels = "newerModels",
|
|
9
|
+
olderModels = "olderModels"
|
|
10
|
+
}
|
|
11
|
+
type Section = {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
variants: LayoutVariant[];
|
|
15
|
+
};
|
|
16
|
+
export interface VariantSelectorProps {
|
|
17
|
+
sections: Section[];
|
|
18
|
+
selectedVariant: string | null;
|
|
19
|
+
onVariantSelect: (variantId: string | null) => void;
|
|
20
|
+
onVariantAddToCart: OnVariantAddToCartFn;
|
|
21
|
+
categoryChangeHandler: LayoutRendererProps["categoryChangeHandler"];
|
|
22
|
+
activeCategories: LayoutRendererProps["activeCategories"];
|
|
23
|
+
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
24
|
+
translations?: typeof defaultVariantSelectorTranslations;
|
|
25
|
+
disableKeyFeatures?: boolean;
|
|
26
|
+
getEndPrice: (price: Money, showFromText?: boolean) => {
|
|
27
|
+
price: Money;
|
|
28
|
+
priceWithTax: Money | null;
|
|
29
|
+
formattedPrice: string;
|
|
30
|
+
formattedPriceWithTax: string | null;
|
|
31
|
+
};
|
|
32
|
+
wizardProps?: Pick<ProductWizardProps, "options" | "selectedOptionIds" | "onOptionSelect" | "translations">;
|
|
33
|
+
backInStockProps?: BackInStockProps;
|
|
34
|
+
collectionSlug?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
language?: string;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LayoutVariant } from "../LayoutRenderer/LayoutRenderer.types";
|
|
2
|
+
/**
|
|
3
|
+
* Selects feature text like "All-in-one", "Best price", etc.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getVariantFeatureText: (variant: LayoutVariant, translations: {
|
|
6
|
+
bestPricePerformance: string;
|
|
7
|
+
highestClientCapacity: string;
|
|
8
|
+
mostVersatile: string;
|
|
9
|
+
topPerformer: string;
|
|
10
|
+
topPerformanceHighDensity: string;
|
|
11
|
+
}) => string | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Heading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const SectionTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const CompareOptions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Variant: import("styled-components").StyledComponent<({ children, ...props }: import("react").PropsWithChildren<import("../VariantSelectorItem/VariantSelectorItem.types").VariantSelectorItemProps>) => JSX.Element, import("styled-components").DefaultTheme, {
|
|
7
|
+
isSoldOut?: boolean;
|
|
8
|
+
isNoneVariant?: boolean;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const VariantDetailsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const Image: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const Details: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const DetailsDefault: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
+
export declare const ProductTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const PriceWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
16
|
+
tablet: boolean;
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const Price: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
+
export declare const PriceWithVAT: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
|
+
export declare const BadgeWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
+
export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {
|
|
22
|
+
selected?: boolean;
|
|
23
|
+
}, never>;
|
|
24
|
+
export declare const Button: import("styled-components").StyledComponent<(<T extends React.ElementType<any> = "button">(p: import("@ubnt/ui-components/Button").LocalButtonProps<T> & Omit<React.PropsWithoutRef<React.ComponentProps<T>>, keyof import("@ubnt/ui-components/Button").LocalButtonProps<C>> & {
|
|
25
|
+
ref?: React.Ref<HTMLElement> | undefined;
|
|
26
|
+
}) => React.ReactElement<T, string | React.JSXElementConstructor<any>>), import("styled-components").DefaultTheme, {
|
|
27
|
+
contentClassName: string;
|
|
28
|
+
}, "contentClassName">;
|
|
29
|
+
export declare const VariantImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
30
|
+
selected?: boolean;
|
|
31
|
+
}, never>;
|
|
32
|
+
export declare const ImageSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
33
|
+
hasPaddings?: boolean;
|
|
34
|
+
}, never>;
|
|
35
|
+
export declare const FullScreenWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|