@ubnt/store.core 9.31.0-dts-fix.2 → 9.31.0-dts-fix.3
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/close2.svg +2 -3
- package/lib/assets/close3.svg +3 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- 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.types.d.ts +30 -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.types.d.ts +16 -0
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +10 -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.types.d.ts +12 -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.types.d.ts +34 -0
- package/lib/components/CompareChart/CompareChart.types.d.ts +17 -0
- package/lib/components/CompareSection/CompareSection.types.d.ts +20 -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.types.d.ts +6 -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.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +89 -0
- 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/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.types.d.ts +9 -0
- package/lib/components/Header/CartModal/Empty/Empty.types.d.ts +6 -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/LinksModal/LinksModal.types.d.ts +11 -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.types.d.ts +13 -0
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +20 -0
- package/lib/components/HeroVideo/HeroVideo.types.d.ts +9 -0
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +11 -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.types.d.ts +91 -0
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +93 -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/MicrositeFeatureIcons/MicrositeFeatureIcons.types.d.ts +26 -0
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts +15 -0
- package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.types.d.ts +4 -0
- package/lib/components/MicrositeSection/Features/Features.types.d.ts +18 -0
- package/lib/components/MicrositeSection/MicrositeSection.types.d.ts +103 -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.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.types.d.ts +42 -0
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/MobileModal/MobileModal.types.d.ts +15 -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/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/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/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.types.d.ts +25 -0
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +21 -0
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +25 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.types.d.ts +13 -0
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +38 -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.types.d.ts +32 -0
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +30 -0
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +31 -0
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +19 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.types.d.ts +36 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.types.d.ts +7 -0
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.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/StaticModal/StaticModal.types.d.ts +10 -0
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +5 -0
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +22 -0
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +35 -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/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/VariantSelectorItem/VariantSelectorItem.types.d.ts +5 -0
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +66 -0
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +66 -0
- package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.types.d.ts +14 -0
- 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/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { BlockType } from "../Block/Block.types";
|
|
3
|
+
import type { defaultLandingPageTranslations } from "../LandingPage.constants";
|
|
4
|
+
import type { LandingPageCardItem } from "./Card/Card.types";
|
|
5
|
+
export type LandingPageCardProps = PreDefinedCardProps | CustomCardProps;
|
|
6
|
+
export interface PreDefinedCardProps {
|
|
7
|
+
translations: typeof defaultLandingPageTranslations;
|
|
8
|
+
className?: string;
|
|
9
|
+
type: BlockType;
|
|
10
|
+
/**
|
|
11
|
+
* ! IMPORTANT: when passing in custom cards, `CARD_CLASS_NAME` needs to be added as a className to each custom card
|
|
12
|
+
*/
|
|
13
|
+
cards: LandingPageCardItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface CustomCardProps {
|
|
16
|
+
className?: string;
|
|
17
|
+
type: "custom";
|
|
18
|
+
cards: ReactNode | ReactNode[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LandingPageCardItem } from "./Cards/Card/Card.types";
|
|
2
|
+
import type { defaultLandingPageTranslations } from "./LandingPage.constants";
|
|
3
|
+
export interface LandingPageProps {
|
|
4
|
+
translations?: typeof defaultLandingPageTranslations;
|
|
5
|
+
className?: string;
|
|
6
|
+
heroBlock?: {
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle: string;
|
|
9
|
+
cards: LandingPageCardItem[];
|
|
10
|
+
};
|
|
11
|
+
collectionBlocks?: Array<{
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
cards: LandingPageCardItem[];
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Nullish } from "../../types";
|
|
2
|
+
import type { Money } from "../../utils/money";
|
|
3
|
+
import type { CustomImageAsset } from "../CustomImage/CustomImage.types";
|
|
4
|
+
export interface ProductVariant {
|
|
5
|
+
id: string;
|
|
6
|
+
sku: string;
|
|
7
|
+
title: string;
|
|
8
|
+
displayPriceFormatted: string;
|
|
9
|
+
displayPrice: Money;
|
|
10
|
+
optionValueIds: Nullish<string[]>;
|
|
11
|
+
isInStock?: boolean;
|
|
12
|
+
isEarlyAccess?: boolean;
|
|
13
|
+
isComingSoon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Product {
|
|
16
|
+
id: string;
|
|
17
|
+
baseSku: string;
|
|
18
|
+
slug: string;
|
|
19
|
+
defaultCollectionSlug: string;
|
|
20
|
+
title: string;
|
|
21
|
+
shortDescription: string;
|
|
22
|
+
images?: Nullish<CustomImageAsset[]>;
|
|
23
|
+
/** Lowest price of all variants */
|
|
24
|
+
displayPriceFormatted: string;
|
|
25
|
+
/** Lowest price of all variants */
|
|
26
|
+
displayPrice: Money;
|
|
27
|
+
isNew?: boolean;
|
|
28
|
+
isPreviouslyPurchased?: boolean;
|
|
29
|
+
variants: ProductVariant[];
|
|
30
|
+
options?: {
|
|
31
|
+
id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
values: {
|
|
34
|
+
id: string;
|
|
35
|
+
title: string;
|
|
36
|
+
isDisabled?: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
}[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RenderImageFn } from "../../CustomImage/CustomImage.types";
|
|
2
|
+
import type { defaultSearchTranslations, Search, SearchItem } from "../LandingPageSearch.types";
|
|
3
|
+
export interface SearchModalProps {
|
|
4
|
+
translations: typeof defaultSearchTranslations;
|
|
5
|
+
searchTabActive?: boolean;
|
|
6
|
+
searchTerm: string;
|
|
7
|
+
formattedQuerySearchTerm: string;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onSearchResultsAction: (searchTerm: string) => void;
|
|
10
|
+
search: Search;
|
|
11
|
+
mobileMenu?: boolean;
|
|
12
|
+
renderImage: RenderImageFn;
|
|
13
|
+
disableShowMoreResults?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface SearchItemProps extends SearchItem {
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
translations: typeof defaultSearchTranslations;
|
|
18
|
+
renderImage: RenderImageFn;
|
|
19
|
+
renderSeparationBorder: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { Currency, Nullish } from "../../types";
|
|
2
|
+
import type { Money } from "../../utils/money";
|
|
3
|
+
import type { ProductGridProps } from "../ProductGrid/ProductGrid.types";
|
|
4
|
+
export interface LandingPageSidebarProps {
|
|
5
|
+
translations: SidebarTranslations;
|
|
6
|
+
categoriesBlock?: CategoriesProps;
|
|
7
|
+
filtersBlock?: FiltersProps;
|
|
8
|
+
categories: Category[];
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
isSearchUsed: boolean;
|
|
11
|
+
productCount?: number;
|
|
12
|
+
productTypeProps: ProductTypeProps;
|
|
13
|
+
isCartSummaryOpen?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface Category {
|
|
16
|
+
label: string;
|
|
17
|
+
id: string;
|
|
18
|
+
items: {
|
|
19
|
+
slug: string;
|
|
20
|
+
label: string;
|
|
21
|
+
products: ProductGridProps["products"];
|
|
22
|
+
}[];
|
|
23
|
+
products?: ProductGridProps["products"];
|
|
24
|
+
}
|
|
25
|
+
export interface SidebarTranslations {
|
|
26
|
+
categoriesAndFilters?: string;
|
|
27
|
+
allProducts?: string;
|
|
28
|
+
categories?: string;
|
|
29
|
+
filters?: string;
|
|
30
|
+
clearAll?: string;
|
|
31
|
+
MSRPRange?: string;
|
|
32
|
+
myPurchaseHistory?: string;
|
|
33
|
+
inStock?: string;
|
|
34
|
+
earlyAccess?: string;
|
|
35
|
+
close?: string;
|
|
36
|
+
updateFilters?: string;
|
|
37
|
+
all?: string;
|
|
38
|
+
allResults?: string;
|
|
39
|
+
results: (count: number) => string;
|
|
40
|
+
}
|
|
41
|
+
export declare enum QueryKey {
|
|
42
|
+
category = "category",
|
|
43
|
+
filters = "filters",
|
|
44
|
+
priceFrom = "priceFrom",
|
|
45
|
+
priceTo = "priceTo"
|
|
46
|
+
}
|
|
47
|
+
export interface CategoriesProps {
|
|
48
|
+
onChange: (activeCategory: string | null) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Undefined - not initialized
|
|
51
|
+
* Null - no data
|
|
52
|
+
* <Value> - data
|
|
53
|
+
*/
|
|
54
|
+
activeCategory: Nullish<string>;
|
|
55
|
+
}
|
|
56
|
+
export interface ProductTypeProps {
|
|
57
|
+
onChange: (activeCategory: string | null) => void;
|
|
58
|
+
activeType: Nullish<string>;
|
|
59
|
+
}
|
|
60
|
+
export interface CategoryProps {
|
|
61
|
+
title: string;
|
|
62
|
+
items: CategoryItemProps[];
|
|
63
|
+
id: string;
|
|
64
|
+
}
|
|
65
|
+
export interface CategoryItemProps {
|
|
66
|
+
title: string;
|
|
67
|
+
id: string;
|
|
68
|
+
}
|
|
69
|
+
export interface FeatureItemProps {
|
|
70
|
+
title: string;
|
|
71
|
+
id: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ReturnFiltersData {
|
|
74
|
+
[QueryKey.filters]?: string[];
|
|
75
|
+
[QueryKey.priceFrom]?: {
|
|
76
|
+
displayPrice?: Money;
|
|
77
|
+
};
|
|
78
|
+
[QueryKey.priceTo]?: {
|
|
79
|
+
displayPrice?: Money;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface FiltersProps {
|
|
83
|
+
onChange: (activeFilters: ReturnFiltersData) => void;
|
|
84
|
+
activeFilters: ReturnFiltersData;
|
|
85
|
+
minValue: {
|
|
86
|
+
displayPrice?: Money;
|
|
87
|
+
};
|
|
88
|
+
maxValue: {
|
|
89
|
+
displayPrice: Money;
|
|
90
|
+
};
|
|
91
|
+
currency: Currency | undefined;
|
|
92
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { BreadcrumbsProps } from "../Breadcrumbs/Breadcrumbs.types";
|
|
2
|
+
import type { BuiltFeaturesSectionProps } from "../BuiltFeaturesSection/BuiltFeaturesSection.types";
|
|
3
|
+
import type { CompareSectionProps } from "../CompareSection/CompareSection.types";
|
|
4
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
5
|
+
import type { Image } from "../Hero/Hero.types";
|
|
6
|
+
import type { ProductSectionNavigationProps } from "../ProductSectionNavigation/ProductSectionNavigation.types";
|
|
7
|
+
import type { ProductUpsellProps } from "../ProductUpsell/ProductUpsell.types";
|
|
8
|
+
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
9
|
+
import type { RelatedProductsVariantSelectorsProps } from "../RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types";
|
|
10
|
+
import type { UICareProps } from "../UICare/UICare.types";
|
|
11
|
+
import type { VariantSelectorProps } from "../VariantSelectorV1/VariantSelector.types";
|
|
12
|
+
export interface SubCategory {
|
|
13
|
+
title: string;
|
|
14
|
+
id: string;
|
|
15
|
+
shortDescription?: string;
|
|
16
|
+
items?: SubCategory[];
|
|
17
|
+
}
|
|
18
|
+
interface Category {
|
|
19
|
+
sectionTitle: string;
|
|
20
|
+
id: string;
|
|
21
|
+
items: SubCategory[];
|
|
22
|
+
}
|
|
23
|
+
export declare enum Layout {
|
|
24
|
+
product = "product",
|
|
25
|
+
accessories = "accessories"
|
|
26
|
+
}
|
|
27
|
+
export declare enum Tabs {
|
|
28
|
+
photos = "photos",
|
|
29
|
+
intro = "intro",
|
|
30
|
+
deployment = "deployment"
|
|
31
|
+
}
|
|
32
|
+
export declare const PRODUCT_PAGE = "product-page";
|
|
33
|
+
export interface LayoutRendererProps {
|
|
34
|
+
collection?: {
|
|
35
|
+
title?: string;
|
|
36
|
+
descriptionHtml?: string;
|
|
37
|
+
videoUrl?: string;
|
|
38
|
+
images?: Image[];
|
|
39
|
+
slug: string;
|
|
40
|
+
};
|
|
41
|
+
currentProduct: {
|
|
42
|
+
title: string;
|
|
43
|
+
videoUrl?: string;
|
|
44
|
+
shortDescription: string;
|
|
45
|
+
descriptionHtml?: string;
|
|
46
|
+
images?: Image[];
|
|
47
|
+
datasheet?: {
|
|
48
|
+
sku: string;
|
|
49
|
+
html: string;
|
|
50
|
+
};
|
|
51
|
+
hasUICare?: boolean;
|
|
52
|
+
relatedProductsVariantSelectorsProps?: Omit<RelatedProductsVariantSelectorsProps, "renderImage" | "translations">;
|
|
53
|
+
topologyImages?: Image[];
|
|
54
|
+
deploymentImages?: Image[];
|
|
55
|
+
techSpecsImages?: Image[];
|
|
56
|
+
inTheBoxImages?: Image[];
|
|
57
|
+
} | null;
|
|
58
|
+
productSectionNavigationProps: Omit<ProductSectionNavigationProps, "items">;
|
|
59
|
+
onBreadcrumbClick: BreadcrumbsProps["onBreadcrumbClick"];
|
|
60
|
+
variantSelectorProps: Omit<VariantSelectorProps, "renderImage" | "translations">;
|
|
61
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
62
|
+
wizardProps?: ProductWizardProps;
|
|
63
|
+
uiCareProps?: Omit<UICareProps, "renderImage">;
|
|
64
|
+
upsellProps?: Omit<ProductUpsellProps, "renderImage">;
|
|
65
|
+
layout?: Layout;
|
|
66
|
+
categories?: Category[];
|
|
67
|
+
activeCategories?: string[];
|
|
68
|
+
categoryChangeHandler: (id: string) => void;
|
|
69
|
+
language: string;
|
|
70
|
+
showCookiesConsentOptions: () => void;
|
|
71
|
+
videoNoCookiesConsent: boolean;
|
|
72
|
+
translations: {
|
|
73
|
+
productSpecification?: string;
|
|
74
|
+
/** Variant Selector translations */
|
|
75
|
+
variantSelector: VariantSelectorProps["translations"];
|
|
76
|
+
/** Related Products Variant selector translations */
|
|
77
|
+
relatedProductsVariantSelectors: RelatedProductsVariantSelectorsProps["translations"];
|
|
78
|
+
/** For DeploymentGallery component - `title` prop */
|
|
79
|
+
deploymentGalleryTitle: string;
|
|
80
|
+
/** For RelatedProducts component - `title` prop */
|
|
81
|
+
tabs: Record<keyof typeof Tabs, string>;
|
|
82
|
+
compareSection: CompareSectionProps["translations"];
|
|
83
|
+
topLevelBreadcrumb: string;
|
|
84
|
+
builtFeaturesSection: BuiltFeaturesSectionProps["translations"];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Called when gallery item changes
|
|
88
|
+
*/
|
|
89
|
+
onGalleryChange?: () => void;
|
|
90
|
+
}
|
|
91
|
+
export {};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { BreadcrumbsProps } from "../Breadcrumbs/Breadcrumbs.types";
|
|
2
|
+
import type { BuiltFeaturesSectionProps } from "../BuiltFeaturesSection/BuiltFeaturesSection.types";
|
|
3
|
+
import type { CompareSectionProps } from "../CompareSection/CompareSection.types";
|
|
4
|
+
import type { RenderImageProps } from "../CustomImage/CustomImage.types";
|
|
5
|
+
import type { Image } from "../Hero/Hero.types";
|
|
6
|
+
import type { ProductSectionNavigationProps } from "../ProductSectionNavigation/ProductSectionNavigation.types";
|
|
7
|
+
import type { ProductUpsellProps } from "../ProductUpsell/ProductUpsell.types";
|
|
8
|
+
import type { ProductWizardProps } from "../ProductWizard/ProductWizard.types";
|
|
9
|
+
import type { RelatedProductsVariantSelectorsProps } from "../RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types";
|
|
10
|
+
import type { UICareProps } from "../UICare/UICare.types";
|
|
11
|
+
import type { VariantSelectorProps } from "../VariantSelectorV1/VariantSelector.types";
|
|
12
|
+
export interface SubCategory {
|
|
13
|
+
title: string;
|
|
14
|
+
id: string;
|
|
15
|
+
shortDescription?: string;
|
|
16
|
+
items?: SubCategory[];
|
|
17
|
+
}
|
|
18
|
+
interface Category {
|
|
19
|
+
sectionTitle: string;
|
|
20
|
+
id: string;
|
|
21
|
+
items: SubCategory[];
|
|
22
|
+
}
|
|
23
|
+
export declare enum Layout {
|
|
24
|
+
product = "product",
|
|
25
|
+
accessories = "accessories"
|
|
26
|
+
}
|
|
27
|
+
export declare enum Tabs {
|
|
28
|
+
"3d" = "3d",
|
|
29
|
+
photos = "photos",
|
|
30
|
+
intro = "intro",
|
|
31
|
+
deployment = "deployment"
|
|
32
|
+
}
|
|
33
|
+
export declare const PRODUCT_PAGE = "product-page";
|
|
34
|
+
export interface LayoutRendererProps {
|
|
35
|
+
collection?: {
|
|
36
|
+
title?: string;
|
|
37
|
+
descriptionHtml?: string;
|
|
38
|
+
videoUrl?: string;
|
|
39
|
+
images?: Image[];
|
|
40
|
+
slug: string;
|
|
41
|
+
};
|
|
42
|
+
currentProduct: {
|
|
43
|
+
title: string;
|
|
44
|
+
videoUrl?: string;
|
|
45
|
+
shortDescription: string;
|
|
46
|
+
descriptionHtml?: string;
|
|
47
|
+
images?: Image[];
|
|
48
|
+
datasheet?: {
|
|
49
|
+
sku: string;
|
|
50
|
+
html: string;
|
|
51
|
+
};
|
|
52
|
+
hasUICare?: boolean;
|
|
53
|
+
relatedProductsVariantSelectorsProps?: Omit<RelatedProductsVariantSelectorsProps, "renderImage" | "translations">;
|
|
54
|
+
topologyImages?: Image[];
|
|
55
|
+
deploymentImages?: Image[];
|
|
56
|
+
techSpecsImages?: Image[];
|
|
57
|
+
inTheBoxImages?: Image[];
|
|
58
|
+
} | null;
|
|
59
|
+
productSectionNavigationProps: Omit<ProductSectionNavigationProps, "items">;
|
|
60
|
+
onBreadcrumbClick: BreadcrumbsProps["onBreadcrumbClick"];
|
|
61
|
+
variantSelectorProps: Omit<VariantSelectorProps, "renderImage" | "translations">;
|
|
62
|
+
renderImage: (props: RenderImageProps) => React.ReactNode;
|
|
63
|
+
wizardProps?: ProductWizardProps;
|
|
64
|
+
uiCareProps?: Omit<UICareProps, "renderImage">;
|
|
65
|
+
upsellProps?: Omit<ProductUpsellProps, "renderImage">;
|
|
66
|
+
layout?: Layout;
|
|
67
|
+
categories?: Category[];
|
|
68
|
+
activeCategories?: string[];
|
|
69
|
+
categoryChangeHandler: (id: string) => void;
|
|
70
|
+
language: string;
|
|
71
|
+
showCookiesConsentOptions: () => void;
|
|
72
|
+
videoNoCookiesConsent: boolean;
|
|
73
|
+
translations: {
|
|
74
|
+
productSpecification?: string;
|
|
75
|
+
/** Variant Selector translations */
|
|
76
|
+
variantSelector: VariantSelectorProps["translations"];
|
|
77
|
+
/** Related Products Variant selector translations */
|
|
78
|
+
relatedProductsVariantSelectors: RelatedProductsVariantSelectorsProps["translations"];
|
|
79
|
+
/** For DeploymentGallery component - `title` prop */
|
|
80
|
+
deploymentGalleryTitle: string;
|
|
81
|
+
/** For RelatedProducts component - `title` prop */
|
|
82
|
+
tabs: Record<keyof typeof Tabs, string>;
|
|
83
|
+
compareSection: CompareSectionProps["translations"];
|
|
84
|
+
topLevelBreadcrumb: string;
|
|
85
|
+
builtFeaturesSection: BuiltFeaturesSectionProps["translations"];
|
|
86
|
+
specifications: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Called when gallery item changes
|
|
90
|
+
*/
|
|
91
|
+
onGalleryChange?: () => void;
|
|
92
|
+
}
|
|
93
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type LoaderSize = "small" | "medium" | "large";
|
|
2
|
+
export type LoaderAlign = "left" | "center" | "right";
|
|
3
|
+
export interface Props {
|
|
4
|
+
className?: string;
|
|
5
|
+
size?: LoaderSize;
|
|
6
|
+
align?: LoaderAlign;
|
|
7
|
+
/** Display the spinner handle on both sides */
|
|
8
|
+
mirrored?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type Episode = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
season: number;
|
|
6
|
+
episode: number;
|
|
7
|
+
thumbnailSrc: string;
|
|
8
|
+
previewVideo: {
|
|
9
|
+
src: string;
|
|
10
|
+
posterSrc: string;
|
|
11
|
+
};
|
|
12
|
+
video: {
|
|
13
|
+
src: {
|
|
14
|
+
hd: string;
|
|
15
|
+
uhd?: string;
|
|
16
|
+
};
|
|
17
|
+
posterSrc: string;
|
|
18
|
+
};
|
|
19
|
+
hasShadow?: boolean;
|
|
20
|
+
color?: string;
|
|
21
|
+
};
|
|
22
|
+
export interface MeetUniFiVideoPlayerProps {
|
|
23
|
+
title?: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
background?: {
|
|
26
|
+
desktop?: string;
|
|
27
|
+
mobile?: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Determines if need to add "Next Episode - coming soon" card
|
|
31
|
+
*/
|
|
32
|
+
comingSoon?: {
|
|
33
|
+
backgroundSrc: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* List of episodes
|
|
37
|
+
* Minimum 1 episode
|
|
38
|
+
*/
|
|
39
|
+
episodes: [Episode, ...Episode[]];
|
|
40
|
+
isInView?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Flips block title and episode title position and styling
|
|
43
|
+
*/
|
|
44
|
+
flipTitle?: boolean;
|
|
45
|
+
className?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { MicrositeBuyButtonProps } from "../MicrositeBuyButton";
|
|
2
|
+
import type { MicrositeFeatureProgressBarProps } from "../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.types";
|
|
3
|
+
interface MicrositeColumnFeatureBlockProps {
|
|
4
|
+
title: string;
|
|
5
|
+
features: MicrositeFeatureProgressBarProps[];
|
|
6
|
+
}
|
|
7
|
+
export interface MicrositeColumnFeatureProgressBarProps {
|
|
8
|
+
blocks: MicrositeColumnFeatureBlockProps[];
|
|
9
|
+
blockMinWidth?: number;
|
|
10
|
+
buyButton?: MicrositeBuyButtonProps;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { MicrositeBuyButtonProps } from "../MicrositeBuyButton";
|
|
3
|
+
export interface MicrositeFeatureIconProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
subTitle?: string;
|
|
8
|
+
action?: ReactNode;
|
|
9
|
+
isLongLanguage?: boolean;
|
|
10
|
+
icons: {
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* The icon to show
|
|
14
|
+
*/
|
|
15
|
+
src: string;
|
|
16
|
+
height: number;
|
|
17
|
+
width: number;
|
|
18
|
+
label: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* The width of the label for correct text wrapping
|
|
21
|
+
*/
|
|
22
|
+
labelWidth?: number;
|
|
23
|
+
className?: string;
|
|
24
|
+
}[];
|
|
25
|
+
buyButton?: MicrositeBuyButtonProps;
|
|
26
|
+
}
|
package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.types.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MicrositeFeatureProgressBarProps } from "../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.types";
|
|
2
|
+
export interface MicrositeProductLearnMoreBlockProps {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
button?: {
|
|
7
|
+
href: string;
|
|
8
|
+
label: string;
|
|
9
|
+
onClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;
|
|
10
|
+
};
|
|
11
|
+
backgroundImage?: string;
|
|
12
|
+
mobileBackgroundImage?: string;
|
|
13
|
+
features?: MicrositeFeatureProgressBarProps[];
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { StaticImageData } from "next/image";
|
|
3
|
+
export type FeaturesType = "vertical" | "horizontal" | "static";
|
|
4
|
+
export interface FeatureItem {
|
|
5
|
+
sub: string;
|
|
6
|
+
subSide?: string;
|
|
7
|
+
main: string;
|
|
8
|
+
mainSide?: string;
|
|
9
|
+
filled?: boolean;
|
|
10
|
+
icon?: string | StaticImageData;
|
|
11
|
+
}
|
|
12
|
+
export interface FeaturesProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
type: FeaturesType;
|
|
15
|
+
items: FeatureItem[];
|
|
16
|
+
motif?: Motif;
|
|
17
|
+
onAllFeatures?: () => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { Motif } from "@ubnt/ui-components/utils";
|
|
2
|
+
import type { StaticImageData } from "next/image";
|
|
3
|
+
import type { ReactNode } from "react";
|
|
4
|
+
import type { FeatureItem, FeaturesType } from "./Features/Features.types";
|
|
5
|
+
export type AllFeaturesButtonPosition = "heading" | "features";
|
|
6
|
+
export interface FeatureSegmentItem {
|
|
7
|
+
id: string;
|
|
8
|
+
/** Override section heading */
|
|
9
|
+
heading?: string;
|
|
10
|
+
/** Override section sub-heading */
|
|
11
|
+
subHeading?: string;
|
|
12
|
+
motif?: Motif;
|
|
13
|
+
/**
|
|
14
|
+
* Apply a gradient within the "safe area"
|
|
15
|
+
* ```
|
|
16
|
+
* __________________1440x700
|
|
17
|
+
* |__________760x560 |
|
|
18
|
+
* | | |
|
|
19
|
+
* | | |
|
|
20
|
+
* |__________|_______|
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
gradient?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Will fade out near the end to reveal the next item
|
|
26
|
+
* Note: Does not work well with motif changes
|
|
27
|
+
*/
|
|
28
|
+
fadeOut?: boolean;
|
|
29
|
+
canvas: {
|
|
30
|
+
frames: (string | StaticImageData)[];
|
|
31
|
+
looping?: boolean;
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
};
|
|
34
|
+
feature: FeatureItem;
|
|
35
|
+
}
|
|
36
|
+
export interface MicrositeSectionProps {
|
|
37
|
+
className?: string;
|
|
38
|
+
heading?: string;
|
|
39
|
+
subHeading?: string;
|
|
40
|
+
featuresType?: FeaturesType;
|
|
41
|
+
frameRate?: number;
|
|
42
|
+
segments?: FeatureSegmentItem[];
|
|
43
|
+
/**
|
|
44
|
+
* Start playback by a screen factor earlier
|
|
45
|
+
*/
|
|
46
|
+
startEarly?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Screen height multiplier of how early to start animating
|
|
49
|
+
* Default is 0.5 - when the section is half visible
|
|
50
|
+
*/
|
|
51
|
+
startEarlyFactor?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Image will float-down as scrolling in the view
|
|
54
|
+
*/
|
|
55
|
+
floatIn?: boolean;
|
|
56
|
+
allFeaturesButton?: {
|
|
57
|
+
/**
|
|
58
|
+
* The "features" option is not supported if using "static" featuresType
|
|
59
|
+
*/
|
|
60
|
+
position: AllFeaturesButtonPosition;
|
|
61
|
+
onClick: () => void;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Motif transitions during segments
|
|
65
|
+
*/
|
|
66
|
+
onMotifChange?: (motif: Motif) => void;
|
|
67
|
+
/**
|
|
68
|
+
* Scrolled out of view above
|
|
69
|
+
*/
|
|
70
|
+
onExitAbove?: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* Scrolled out of view below
|
|
73
|
+
*/
|
|
74
|
+
onExitBelow?: () => void;
|
|
75
|
+
overlay?: {
|
|
76
|
+
show: boolean;
|
|
77
|
+
onClose: () => void;
|
|
78
|
+
render: () => ReactNode;
|
|
79
|
+
};
|
|
80
|
+
marginTop?: number;
|
|
81
|
+
marginBottom?: number;
|
|
82
|
+
metaMarginBottom?: number;
|
|
83
|
+
zIndex?: number;
|
|
84
|
+
}
|
|
85
|
+
export interface ParsedSegmentItem extends FeatureSegmentItem {
|
|
86
|
+
frameCount: number;
|
|
87
|
+
/** Based on total frame count */
|
|
88
|
+
from: number;
|
|
89
|
+
/** Based on total frame count */
|
|
90
|
+
to: number;
|
|
91
|
+
}
|
|
92
|
+
export interface MicrositeSectionCache {
|
|
93
|
+
isInFullView: boolean;
|
|
94
|
+
motif: Motif | null;
|
|
95
|
+
currentSegmentIndex: number | null;
|
|
96
|
+
currentImageSrc: string | null;
|
|
97
|
+
currentLoopIndex: number;
|
|
98
|
+
currentLoopFrameSkipCount: number;
|
|
99
|
+
frameImages: Array<{
|
|
100
|
+
segmentId: string;
|
|
101
|
+
images: HTMLImageElement[];
|
|
102
|
+
}>;
|
|
103
|
+
}
|
|
@@ -11,7 +11,7 @@ require('./assets/play.svg.js');
|
|
|
11
11
|
var MicrositeVideoSlideshow_styles = require('./MicrositeVideoSlideshow.styles.js');
|
|
12
12
|
var MicrositeSectionWrap = require('../MicrositeSectionWrap/MicrositeSectionWrap.js');
|
|
13
13
|
var PlayIcon = require("../../assets/play.svg");
|
|
14
|
-
var PauseIcon = require("../../assets/
|
|
14
|
+
var PauseIcon = require("../../assets/pause2.svg");
|
|
15
15
|
var ActiveIconBox = require("../../assets/active-icon-box.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
@@ -9,7 +9,7 @@ import './assets/play.svg.mjs';
|
|
|
9
9
|
import { VideoBlock, Video, VideoControls, VideoInnerWrap, ProgressCircle, PlayIcon, PauseIcon, SlideRow, Slide, FeatureIconWrap, FeatureIconActiveBackground, FeatureIcon, FeatureTitle, MicrositeBuyButton } from './MicrositeVideoSlideshow.styles.mjs';
|
|
10
10
|
import { MicrositeSectionWrap } from '../MicrositeSectionWrap/MicrositeSectionWrap.mjs';
|
|
11
11
|
import PlayIcon__default from "../../assets/play.svg";
|
|
12
|
-
import PauseIcon__default from "../../assets/
|
|
12
|
+
import PauseIcon__default from "../../assets/pause2.svg";
|
|
13
13
|
import ActiveIconBox__default from "../../assets/active-icon-box.svg";
|
|
14
14
|
"use strict";
|
|
15
15
|
const MicrositeVideoSlideshow = ({
|