@ubnt/store.core 9.31.0-dts-fix.0 → 9.31.0-dts-fix.2
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/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- 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/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/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/package.json +2 -2
- package/lib/_virtual/_virtual_multi-entry.js +0 -203
- package/lib/_virtual/_virtual_multi-entry.js.map +0 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +0 -176
- package/lib/_virtual/_virtual_multi-entry.mjs.map +0 -1
- package/lib/apis/smartcat.test.d.ts +0 -1
- package/lib/components/Accordion/Accordion.types.d.ts +0 -36
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -21
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
- package/lib/components/AppDownloadBanner/index.d.ts +0 -1
- package/lib/components/Avatar/Avatar.types.d.ts +0 -10
- package/lib/components/BackInStock/BackInStock.types.d.ts +0 -26
- package/lib/components/Banner/Banner.types.d.ts +0 -22
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
- package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
- package/lib/components/Button/Button.types.d.ts +0 -23
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -33
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -16
- package/lib/components/CardSection/CardSection.types.d.ts +0 -13
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
- package/lib/components/CarouselGallery/index.d.ts +0 -1
- package/lib/components/CartIcon/CartIcon.types.d.ts +0 -8
- package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
- package/lib/components/CategoryTabs/CategoryTabs.types.d.ts +0 -24
- package/lib/components/Checkbox/Checkbox.types.d.ts +0 -8
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
- package/lib/components/Compare/Compare.d.ts +0 -2
- package/lib/components/Compare/Compare.styles.d.ts +0 -36
- package/lib/components/Compare/Compare.types.d.ts +0 -34
- package/lib/components/Compare/CompareData.d.ts +0 -22
- package/lib/components/Compare/ProductTable.d.ts +0 -6
- package/lib/components/Compare/index.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -37
- package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
- package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
- package/lib/components/CompareChart/index.d.ts +0 -2
- package/lib/components/CompareSection/CompareSection.d.ts +0 -5
- package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
- package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -17
- package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
- package/lib/components/CompareSection/index.d.ts +0 -1
- package/lib/components/Container/Container.types.d.ts +0 -11
- package/lib/components/CustomImage/CustomImage.types.d.ts +0 -88
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
- package/lib/components/DeploymentGallery/index.d.ts +0 -1
- package/lib/components/Explore/Explore.test.d.ts +0 -1
- package/lib/components/Explore/Explore.types.d.ts +0 -11
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
- package/lib/components/Gallery/GalleryControls/GalleryControls.types.d.ts +0 -16
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.types.d.ts +0 -7
- package/lib/components/GradientButton/GradientButton.types.d.ts +0 -4
- package/lib/components/GridGallery/GridModal/GridModal.types.d.ts +0 -8
- package/lib/components/Header/AccountFrame/AccountFrame.types.d.ts +0 -8
- package/lib/components/Header/AccountMenu/AccountMenu.types.d.ts +0 -9
- package/lib/components/Header/CartModal/CartModal.d.ts +0 -2
- package/lib/components/Header/CartModal/CartModal.styles.d.ts +0 -14
- package/lib/components/Header/CartModal/CartModal.types.d.ts +0 -9
- package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +0 -6
- package/lib/components/Header/CartModal/Item/Item.d.ts +0 -7
- package/lib/components/Header/CartModal/Item/Item.styles.d.ts +0 -12
- package/lib/components/Header/CartModal/Item/index.d.ts +0 -1
- package/lib/components/Header/CartModal/index.d.ts +0 -1
- package/lib/components/Header/CartModalV2/CartModal.types.d.ts +0 -8
- package/lib/components/Header/CartModalV2/Item/Item.types.d.ts +0 -7
- package/lib/components/Header/LanguageFrame/LanguageFrame.types.d.ts +0 -6
- package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +0 -1
- package/lib/components/Header/LinksModal/LinksModal.d.ts +0 -2
- package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +0 -6
- package/lib/components/Header/LinksModal/LinksModal.types.d.ts +0 -11
- package/lib/components/Header/LinksModal/index.d.ts +0 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -31
- package/lib/components/Header/Navigation/Carousel/Carousel.types.d.ts +0 -16
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.types.d.ts +0 -35
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +0 -11
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +0 -40
- package/lib/components/Header/Overlay/Overlay.types.d.ts +0 -6
- package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
- package/lib/components/Header/SearchTab/index.d.ts +0 -1
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
- package/lib/components/HeroFadeGallery/index.d.ts +0 -1
- package/lib/components/HeroVideo/HeroVideo.types.d.ts +0 -9
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
- package/lib/components/HowToUseSection/index.d.ts +0 -1
- package/lib/components/ImageCarousel/ImageCarousel.types.d.ts +0 -11
- package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
- package/lib/components/InputSelect/InputSelect.types.d.ts +0 -13
- package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
- package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -65
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
- package/lib/components/LayoutRendererV1/index.d.ts +0 -1
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -55
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
- package/lib/components/LayoutRendererV2/index.d.ts +0 -1
- package/lib/components/Loader/Loader.types.d.ts +0 -9
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -4
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.types.d.ts +0 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.types.d.ts +0 -46
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.types.d.ts +0 -12
- package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +0 -2
- package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +0 -26
- package/lib/components/MicrositeFeatureProgressBar/index.d.ts +0 -1
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +0 -15
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -4
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +0 -1
- package/lib/components/MicrositeSection/Features/Features.d.ts +0 -2
- package/lib/components/MicrositeSection/Features/Features.styles.d.ts +0 -24
- package/lib/components/MicrositeSection/Features/Features.types.d.ts +0 -18
- package/lib/components/MicrositeSection/Features/index.d.ts +0 -1
- package/lib/components/MicrositeSection/MicrositeSection.d.ts +0 -11
- package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +0 -43
- package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +0 -103
- package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +0 -32
- package/lib/components/MicrositeSection/index.d.ts +0 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.types.d.ts +0 -9
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.types.d.ts +0 -5
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +0 -42
- package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +0 -9
- package/lib/components/MobileModal/MobileModal.types.d.ts +0 -15
- package/lib/components/ModelCompareV3/CheckWithNote.d.ts +0 -3
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -592
- package/lib/components/ModelCompareV3/data/products/8PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +0 -11
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +0 -2
- package/lib/components/ModelCompareV3/translations/index.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
- package/lib/components/NewToUnifiBox/index.d.ts +0 -1
- package/lib/components/Pagination/Pagination.types.d.ts +0 -5
- package/lib/components/Popover/Popover.types.d.ts +0 -8
- package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
- package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
- package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
- package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +0 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +0 -13
- package/lib/components/ProductTechSpecs/index.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -19
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
- package/lib/components/ProductUpsell/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
- package/lib/components/ProgressCircle/ProgressCircle.types.d.ts +0 -9
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +0 -11
- package/lib/components/QuantityInput/QuantityInput.types.d.ts +0 -10
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -25
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -20
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -22
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +0 -36
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +0 -7
- package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.types.d.ts +0 -9
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.types.d.ts +0 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -54
- package/lib/components/Search/Input/Input.types.d.ts +0 -19
- package/lib/components/SearchInput/Input.styles.d.ts +0 -18
- package/lib/components/StaticModal/StaticModal.types.d.ts +0 -10
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
- package/lib/components/TabinationButtons/index.d.ts +0 -1
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
- package/lib/components/TopologyScheme/index.d.ts +0 -2
- package/lib/components/UICare/UICare.types.d.ts +0 -52
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
- package/lib/components/VariantSelector/utils.d.ts +0 -11
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -35
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV1/index.d.ts +0 -1
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -21
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV2/index.d.ts +0 -1
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
- package/lib/components/VideoPlayer/index.d.ts +0 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +0 -14
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
- package/lib/components/YouTubePlayer/index.d.ts +0 -1
- package/lib/constants/postalCode.test.d.ts +0 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -128
- package/lib/constants/storybook.d.ts +0 -11
- package/lib/contexts/MenuContext/mapping.test.d.ts +0 -1
- package/lib/contexts/MenuContext/utils.test.d.ts +0 -1
- package/lib/helpers/jsx.d.ts +0 -6
- package/lib/helpers/routes.d.ts +0 -1
- package/lib/types/utils.test.d.ts +0 -1
- package/lib/utils/address.data.d.ts +0 -17
- package/lib/utils/address.test.d.ts +0 -1
- package/lib/utils/array.test.d.ts +0 -1
- package/lib/utils/canvas.d.ts +0 -8
- package/lib/utils/cdn.d.ts +0 -5
- package/lib/utils/collectionSlug.test.d.ts +0 -1
- package/lib/utils/countriesAndZones.test.d.ts +0 -1
- package/lib/utils/langauge.test.d.ts +0 -1
- package/lib/utils/measures.test.d.ts +0 -1
- package/lib/utils/money/allocators/fixedAmount.test.d.ts +0 -1
- package/lib/utils/money/allocators/productAmount.test.d.ts +0 -1
- package/lib/utils/money/constants.test.d.ts +0 -1
- package/lib/utils/money/exchangeRate.test.d.ts +0 -1
- package/lib/utils/money/format.test.d.ts +0 -1
- package/lib/utils/money/misc.test.d.ts +0 -1
- package/lib/utils/money/shipping.test.d.ts +0 -1
- package/lib/utils/money/tax.private.test.d.ts +0 -1
- package/lib/utils/money/tax.test.d.ts +0 -1
- package/lib/utils/nextjs/createInlineScript.test.d.ts +0 -1
- package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +0 -1
- package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +0 -1
- package/lib/utils/nextjs/stringifyForInject.test.d.ts +0 -1
- package/lib/utils/number.test.d.ts +0 -1
- package/lib/utils/storeId.test.d.ts +0 -1
- package/lib/utils/string.test.d.ts +0 -1
- package/lib/utils/tags.test.d.ts +0 -1
- package/lib/utils/tax/index.test.d.ts +0 -1
- package/lib/utils/url.test.d.ts +0 -1
- package/lib/utils/validations/index.d.ts +0 -5
- package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +0 -1
- package/lib/utils/variant.test.d.ts +0 -1
- package/lib/utils/wattage.test.d.ts +0 -1
- package/lib/utils/zod.test.d.ts +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,35 +0,0 @@
|
|
|
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>;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { CustomImageAsset, RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
-
import type { ProductKeyFeaturesProps } from "../ProductKeyFeatures/ProductKeyFeatures.types";
|
|
3
|
-
export declare enum ModelViews {
|
|
4
|
-
newerModels = "newerModels",
|
|
5
|
-
olderModels = "olderModels"
|
|
6
|
-
}
|
|
7
|
-
export type Variant = {
|
|
8
|
-
id: string | null;
|
|
9
|
-
baseSku?: string;
|
|
10
|
-
title: string;
|
|
11
|
-
price?: string;
|
|
12
|
-
priceWithVAT?: string;
|
|
13
|
-
images?: CustomImageAsset[];
|
|
14
|
-
techSpecsImages?: CustomImageAsset[];
|
|
15
|
-
keyFeatures?: ProductKeyFeaturesProps["keyFeatures"];
|
|
16
|
-
/**
|
|
17
|
-
* Additional variant IDs/SKUs which are used to determine if
|
|
18
|
-
* the current variant is selected.
|
|
19
|
-
*/
|
|
20
|
-
otherIds?: string[];
|
|
21
|
-
/**
|
|
22
|
-
* Currently it is used for adding data-test-id="product-card-${slug}" attribute
|
|
23
|
-
* to product selector. Optional since it is not required in Shopify.
|
|
24
|
-
*/
|
|
25
|
-
slug?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Flags
|
|
28
|
-
*/
|
|
29
|
-
isSoldOut?: boolean;
|
|
30
|
-
isEarlyAccess?: boolean;
|
|
31
|
-
isComingSoon?: boolean;
|
|
32
|
-
isLegacy?: boolean;
|
|
33
|
-
isTopPerformer?: boolean;
|
|
34
|
-
isBestPricePerformance?: boolean;
|
|
35
|
-
isMostVersatile?: boolean;
|
|
36
|
-
isTopPerformanceHighDensity?: boolean;
|
|
37
|
-
isHighestClientCapacity?: boolean;
|
|
38
|
-
/** Used for "None" variant items for Related Products */
|
|
39
|
-
isNoneVariant?: boolean;
|
|
40
|
-
};
|
|
41
|
-
type Section = {
|
|
42
|
-
id: string;
|
|
43
|
-
title: string;
|
|
44
|
-
variants: Variant[];
|
|
45
|
-
};
|
|
46
|
-
export interface VariantSelectorProps {
|
|
47
|
-
sections: Section[];
|
|
48
|
-
selectedVariant: string | null;
|
|
49
|
-
onVariantSelect: (variantId: string | null) => void;
|
|
50
|
-
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
51
|
-
translations: {
|
|
52
|
-
soldOut: string;
|
|
53
|
-
earlyAccess: string;
|
|
54
|
-
comingSoon: string;
|
|
55
|
-
topPerformer: string;
|
|
56
|
-
bestPricePerformance: string;
|
|
57
|
-
mostVersatile: string;
|
|
58
|
-
topPerformanceHighDensity: string;
|
|
59
|
-
highestClientCapacity: string;
|
|
60
|
-
newerModels: string;
|
|
61
|
-
olderModels: string;
|
|
62
|
-
eaModels: string;
|
|
63
|
-
};
|
|
64
|
-
disableKeyFeatures?: boolean;
|
|
65
|
-
}
|
|
66
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VariantSelector } from "./VariantSelector";
|
|
@@ -1,21 +0,0 @@
|
|
|
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 Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
|
-
variantCount?: number;
|
|
6
|
-
}, never>;
|
|
7
|
-
export declare const Variant: import("styled-components").StyledComponent<({ children, ...props }: import("react").PropsWithChildren<import("../VariantSelectorItem/VariantSelectorItem.types").VariantSelectorItemProps>) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const VariantHeading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export declare const Image: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
-
export declare const Details: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
export declare const ProductTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
export declare const PriceWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
-
export declare const Price: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
-
export declare const PriceWithVAT: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
-
export declare const BadgeWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const ProductKeyFeatures: import("styled-components").StyledComponent<({ className, disableHeader, keyFeatures, }: import("../ProductKeyFeatures/ProductKeyFeatures.types").ProductKeyFeaturesProps) => JSX.Element | null, import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
-
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>> & {
|
|
18
|
-
ref?: React.Ref<HTMLElement> | undefined;
|
|
19
|
-
}) => React.ReactElement<T, string | React.JSXElementConstructor<any>>), import("styled-components").DefaultTheme, {
|
|
20
|
-
contentClassName: string;
|
|
21
|
-
}, "contentClassName">;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { CustomImageAsset, RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
2
|
-
import type { ProductKeyFeaturesProps } from "../ProductKeyFeatures/ProductKeyFeatures.types";
|
|
3
|
-
export declare enum ModelViews {
|
|
4
|
-
newerModels = "newerModels",
|
|
5
|
-
olderModels = "olderModels"
|
|
6
|
-
}
|
|
7
|
-
export type Variant = {
|
|
8
|
-
id: string | null;
|
|
9
|
-
baseSku?: string;
|
|
10
|
-
title: string;
|
|
11
|
-
price?: string;
|
|
12
|
-
priceWithVAT?: string;
|
|
13
|
-
images?: CustomImageAsset[];
|
|
14
|
-
techSpecsImages?: CustomImageAsset[];
|
|
15
|
-
keyFeatures?: ProductKeyFeaturesProps["keyFeatures"];
|
|
16
|
-
/**
|
|
17
|
-
* Additional variant IDs/SKUs which are used to determine if
|
|
18
|
-
* the current variant is selected.
|
|
19
|
-
*/
|
|
20
|
-
otherIds?: string[];
|
|
21
|
-
/**
|
|
22
|
-
* Currently it is used for adding data-test-id="product-card-${slug}" attribute
|
|
23
|
-
* to product selector. Optional since it is not required in Shopify.
|
|
24
|
-
*/
|
|
25
|
-
slug?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Flags
|
|
28
|
-
*/
|
|
29
|
-
isSoldOut?: boolean;
|
|
30
|
-
isEarlyAccess?: boolean;
|
|
31
|
-
isComingSoon?: boolean;
|
|
32
|
-
isLegacy?: boolean;
|
|
33
|
-
isTopPerformer?: boolean;
|
|
34
|
-
isBestPricePerformance?: boolean;
|
|
35
|
-
isMostVersatile?: boolean;
|
|
36
|
-
isTopPerformanceHighDensity?: boolean;
|
|
37
|
-
isHighestClientCapacity?: boolean;
|
|
38
|
-
/** Used for "None" variant items for Related Products */
|
|
39
|
-
isNoneVariant?: boolean;
|
|
40
|
-
};
|
|
41
|
-
type Section = {
|
|
42
|
-
id: string;
|
|
43
|
-
title: string;
|
|
44
|
-
variants: Variant[];
|
|
45
|
-
};
|
|
46
|
-
export interface VariantSelectorProps {
|
|
47
|
-
sections: Section[];
|
|
48
|
-
selectedVariant: string | null;
|
|
49
|
-
onVariantSelect: (variantId: string | null) => void;
|
|
50
|
-
renderImage: (imageProps: RenderImageProps) => React.ReactNode;
|
|
51
|
-
translations: {
|
|
52
|
-
soldOut: string;
|
|
53
|
-
earlyAccess: string;
|
|
54
|
-
comingSoon: string;
|
|
55
|
-
topPerformer: string;
|
|
56
|
-
bestPricePerformance: string;
|
|
57
|
-
mostVersatile: string;
|
|
58
|
-
topPerformanceHighDensity: string;
|
|
59
|
-
highestClientCapacity: string;
|
|
60
|
-
newerModels: string;
|
|
61
|
-
olderModels: string;
|
|
62
|
-
eaModels: string;
|
|
63
|
-
};
|
|
64
|
-
disableKeyFeatures?: boolean;
|
|
65
|
-
}
|
|
66
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VariantSelector } from "./VariantSelector";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const ButtonLink: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
|
|
2
|
-
children?: import("react").ReactNode;
|
|
3
|
-
} & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const OrTextWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const WatchAnchor: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const IconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./VideoCookiesConsent";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface VideoPlayerProps {
|
|
2
|
-
videoSrc?: string;
|
|
3
|
-
showCookiesConsentOptions: () => void;
|
|
4
|
-
videoNoCookiesConsent: boolean;
|
|
5
|
-
aspectRatio?: [number, number];
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const VideoPlayer: ({ showCookiesConsentOptions, videoSrc, videoNoCookiesConsent, aspectRatio, className, }: VideoPlayerProps) => JSX.Element | null;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const centerContentFragment: import("styled-components").FlattenSimpleInterpolation;
|
|
2
|
-
export declare const VideoPlayerWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const VideoScaler: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
-
$hasVideo: boolean;
|
|
5
|
-
$aspectRatio?: [number, number];
|
|
6
|
-
}, never>;
|
|
7
|
-
export declare const IframeWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./VideoPlayer";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Motif } from "@ubnt/ui-components/utils/commonTypes";
|
|
2
|
-
export interface VideoPlayerProps {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
showCloseButton?: boolean;
|
|
6
|
-
motif?: Motif;
|
|
7
|
-
title?: string;
|
|
8
|
-
src: {
|
|
9
|
-
hd: string;
|
|
10
|
-
uhd?: string;
|
|
11
|
-
};
|
|
12
|
-
poster?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type YouTubeProgress = {
|
|
2
|
-
currentTime: number;
|
|
3
|
-
duration: number;
|
|
4
|
-
/** Rounded integer [0-100] */
|
|
5
|
-
percentage: number;
|
|
6
|
-
/** Raw decimal of the percentage [0-1] */
|
|
7
|
-
percentageRaw: number;
|
|
8
|
-
};
|
|
9
|
-
export type Props = {
|
|
10
|
-
src: string;
|
|
11
|
-
autoplay?: boolean;
|
|
12
|
-
/** First time played after ready (triggered only once) */
|
|
13
|
-
onStarted?: () => void;
|
|
14
|
-
/** First time ended by being complete */
|
|
15
|
-
onEnded?: () => void;
|
|
16
|
-
onProgress?: (progress: YouTubeProgress) => void;
|
|
17
|
-
videoNoCookiesConsent: boolean;
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./YouTubePlayer";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import type { StaticImageData } from "next/image";
|
|
2
|
-
import type { ProductLine, StoreId } from "../../../types";
|
|
3
|
-
import type { AmpliFiCategoryId, AmpliFiCategorySlug, AmpliFiChildCategorySlug } from "./amplifi";
|
|
4
|
-
import type { FilterId } from "./filters";
|
|
5
|
-
import type { UISPAddonCategoryIdAndSlug, UISPCategoryId, UISPCategorySlug, UISPChildCategorySlug } from "./uisp";
|
|
6
|
-
import type { UnifiAddonCategoryIdAndSlug, UniFiCategoryId, UniFiCategorySlug, UniFiChildCategorySlug } from "./unifi";
|
|
7
|
-
export type PrimaryCategoryId = UniFiCategoryId | UISPCategoryId | AmpliFiCategoryId;
|
|
8
|
-
export type PrimaryCategorySlug = UniFiCategorySlug | UISPCategorySlug | AmpliFiCategorySlug;
|
|
9
|
-
export type ChildCategorySlug = UniFiChildCategorySlug | UISPChildCategorySlug | AmpliFiChildCategorySlug;
|
|
10
|
-
export type AddonCategoryIdAndSlug = UnifiAddonCategoryIdAndSlug | UISPAddonCategoryIdAndSlug;
|
|
11
|
-
export type CategorySlug = PrimaryCategorySlug | ChildCategorySlug | AddonCategoryIdAndSlug;
|
|
12
|
-
type CategoryItemCore<Id extends string> = {
|
|
13
|
-
/**
|
|
14
|
-
* Unique ID across category mapping
|
|
15
|
-
*
|
|
16
|
-
* TODO: Add tests like it is done for Header mapping in store.core to verify
|
|
17
|
-
* uniqueness of IDs.
|
|
18
|
-
*/
|
|
19
|
-
id: Id;
|
|
20
|
-
/**
|
|
21
|
-
* Label to be displayed for this category.
|
|
22
|
-
*/
|
|
23
|
-
label: string;
|
|
24
|
-
/**
|
|
25
|
-
* Stores where this category should not be displayed.
|
|
26
|
-
*/
|
|
27
|
-
disabledStores?: StoreId[];
|
|
28
|
-
/**
|
|
29
|
-
* Category contains accessories
|
|
30
|
-
*/
|
|
31
|
-
isAccessories?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Marks category as store only (visible only in store.ui.com)
|
|
34
|
-
*/
|
|
35
|
-
storeOnly?: boolean;
|
|
36
|
-
};
|
|
37
|
-
export type CategorySubItem<Id extends string = ChildCategorySlug> = CategoryItemCore<Id> & {
|
|
38
|
-
/**
|
|
39
|
-
* Collection slugs
|
|
40
|
-
* At least one slug is required.
|
|
41
|
-
*/
|
|
42
|
-
collectionSlugs: [string, ...string[]];
|
|
43
|
-
/**
|
|
44
|
-
* Flag for product grouping in product grid view
|
|
45
|
-
* @see https://www.figma.com/file/J9vG9MNPR28EacFhU35elG/Site-Polish?type=design&node-id=477-44006&t=fMtKDNeNxwA1xN7w-0
|
|
46
|
-
* Currently used in "Cameras & NVRs" / "Theta" & "Accessory Tech" / "Cables" category
|
|
47
|
-
* Can pass boolean to enable for all stores or array of store ids to enable for specific stores
|
|
48
|
-
*/
|
|
49
|
-
enableProductGrouping?: boolean | StoreId[];
|
|
50
|
-
};
|
|
51
|
-
export type CategoryItem = CategoryItemCore<PrimaryCategoryId> & {
|
|
52
|
-
/**
|
|
53
|
-
* Hides the sub-items of this category.
|
|
54
|
-
*/
|
|
55
|
-
hideSubItems?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Used as a main slug for "all"
|
|
58
|
-
*/
|
|
59
|
-
slug?: PrimaryCategorySlug;
|
|
60
|
-
/**
|
|
61
|
-
* Addons for this category.
|
|
62
|
-
*/
|
|
63
|
-
addons?: {
|
|
64
|
-
id: AddonCategoryIdAndSlug;
|
|
65
|
-
/**
|
|
66
|
-
* Collection slug for this category addons
|
|
67
|
-
*/
|
|
68
|
-
collectionSlug: string;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Icon to be displayed for this category.
|
|
72
|
-
*/
|
|
73
|
-
icon: {
|
|
74
|
-
src: string | StaticImageData;
|
|
75
|
-
height: number;
|
|
76
|
-
width: number;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Sub-items of this category.
|
|
80
|
-
*/
|
|
81
|
-
items?: CategorySubItem[];
|
|
82
|
-
filters?: FilterId[];
|
|
83
|
-
/**
|
|
84
|
-
* (optionally) Hide the auto-generated "All" category in cases where category has multiple items
|
|
85
|
-
*/
|
|
86
|
-
hideAllCategory?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Optional tech specs properties until they are moved to a mapping panel in BE
|
|
89
|
-
*/
|
|
90
|
-
techSpecFeatures?: {
|
|
91
|
-
hasViewAll?: boolean;
|
|
92
|
-
hasPerformanceGuide?: boolean;
|
|
93
|
-
};
|
|
94
|
-
} & ({
|
|
95
|
-
/**
|
|
96
|
-
* Optional list of specific filters to use on category, if left empty and didn't use `hideFiltersAndSort`
|
|
97
|
-
* option it will still display the "in-stock" filter.
|
|
98
|
-
*
|
|
99
|
-
* ! To completely remove all filters and sort use `hideFiltersAndSort`
|
|
100
|
-
*/
|
|
101
|
-
filters?: FilterId[];
|
|
102
|
-
hideFiltersAndSort?: never;
|
|
103
|
-
} | {
|
|
104
|
-
filters?: never;
|
|
105
|
-
/**
|
|
106
|
-
* Removes filters & sort from parent category ("all" page) and all of it's subcategory pages
|
|
107
|
-
*/
|
|
108
|
-
hideFiltersAndSort: true;
|
|
109
|
-
});
|
|
110
|
-
export type CategoryMapping = Record<ProductLine, CategoryItem[]>;
|
|
111
|
-
export type ParsedCategoryStandardSubItem = CategorySubItem & {
|
|
112
|
-
/**
|
|
113
|
-
* Flag for determining if subcategory is programmatically added "All" category
|
|
114
|
-
*/
|
|
115
|
-
all?: never;
|
|
116
|
-
};
|
|
117
|
-
export type ParsedCategoryCombinedSubItem = CategorySubItem<PrimaryCategorySlug> & {
|
|
118
|
-
/**
|
|
119
|
-
* Flag for determining if subcategory is programmatically added "All" category
|
|
120
|
-
*/
|
|
121
|
-
all: true;
|
|
122
|
-
};
|
|
123
|
-
export type ParsedCategorySubItem = ParsedCategoryStandardSubItem | ParsedCategoryCombinedSubItem;
|
|
124
|
-
export type ParsedCategoryItem = Omit<CategoryItem, "items"> & {
|
|
125
|
-
items: ParsedCategorySubItem[];
|
|
126
|
-
};
|
|
127
|
-
export type ParsedCategoryMapping = Record<ProductLine, ParsedCategoryItem[]>;
|
|
128
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CustomImageAsset } from "../components/CustomImage/CustomImage.types";
|
|
2
|
-
export declare const STORYBOOK_PRODUCT_DATASHEET = "\n <table class=\"data-table\" id=\"product-attribute-specs-table\">\n <colgroup>\n <col width=\"25%\" />\n <col />\n </colgroup>\n <tbody>\n <tr>\n <th colspan=\"100%\">Mechanical</th>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Dimensions</td>\n <td class=\"\u201Cvalue\u201C\">147 x 101.6 x 26.1 mm (5.79 x 4 x 1.03\")</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Weight</td>\n <td class=\"\u201Cvalue\u201C\">0.72 kg (1.58 lb)</td>\n </tr>\n <tr>\n <th colspan=\"100%\">Hardware</th>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Management interface</td>\n <td class=\"\u201Cvalue\u201C\">SATA 6Gb/s</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Rotation speed</td>\n <td class=\"\u201Cvalue\u201C\">7200 RPM</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Power method</td>\n <td class=\"\u201Cvalue\u201C\">5V/12V input</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Supported voltage range</td>\n <td class=\"\u201Cvalue\u201C\">5V \u00B1 5%/12V \u00B1 5%</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Power consumption</td>\n <td class=\"\u201Cvalue\u201C\">Read/write: 8.6W</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Operating temperature</td>\n <td class=\"\u201Cvalue\u201C\">0 to 65\u00B0 C (32 to 149\u00B0 F)</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Operating humidity</td>\n <td class=\"\u201Cvalue\u201C\">5 - 95% noncondensing</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Certifications</td>\n <td class=\"\u201Cvalue\u201C\">FCC, CE, UL, TUV, RCM, KC, BSMI</td>\n </tr>\n </tbody>\n </table>\n";
|
|
3
|
-
/**
|
|
4
|
-
* @see https://store.ui.com/products/udm-pro
|
|
5
|
-
*/
|
|
6
|
-
export declare const STORYBOOK_PRODUCT_ASSETS_CONSOLE: CustomImageAsset[];
|
|
7
|
-
/**
|
|
8
|
-
* @see https://store.ui.com/products/u6-lite-us
|
|
9
|
-
*/
|
|
10
|
-
export declare const STORYBOOK_PRODUCT_ASSETS_WIFI: CustomImageAsset[];
|
|
11
|
-
export declare const STORYBOOK_PRODUCT_ASSETS: CustomImageAsset[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/helpers/jsx.d.ts
DELETED
package/lib/helpers/routes.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const prepareSearchTerm: (searchTerm: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Taken from "countriesAndZones.generated.json" file
|
|
3
|
-
* !!! This can be used for just for testing purposes
|
|
4
|
-
* !!! Don't import this file in production code because
|
|
5
|
-
* !!! it will increase the bundle size
|
|
6
|
-
*/
|
|
7
|
-
export declare const countries: {
|
|
8
|
-
name: string;
|
|
9
|
-
code: string;
|
|
10
|
-
continent: string;
|
|
11
|
-
phoneNumberPrefix: number;
|
|
12
|
-
provinceKey: string;
|
|
13
|
-
zones: {
|
|
14
|
-
name: string;
|
|
15
|
-
code: string;
|
|
16
|
-
}[];
|
|
17
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/utils/canvas.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const canvasDrawImageFitHorizontal: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement) => void;
|
|
2
|
-
export declare const canvasDrawImageFitVertical: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement) => void;
|
|
3
|
-
/**
|
|
4
|
-
* Canvas image fitting like background-size cover and contain
|
|
5
|
-
*
|
|
6
|
-
* @see https://stackoverflow.com/a/60066003
|
|
7
|
-
*/
|
|
8
|
-
export declare const canvasDrawImageFit: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement, type: "cover" | "contain") => void;
|
package/lib/utils/cdn.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|