@ubnt/store.core 9.59.0-new-design.1 → 9.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -125
- package/lib/_virtual/_virtual_multi-entry.js +10 -13
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +11 -13
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.d.ts +2 -12
- package/lib/apis/smartcat.js +4 -27
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +4 -27
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-globe.svg.js} +6 -6
- package/lib/assets/icons/menu/icon-globe.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-globe.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +1 -0
- package/lib/assets/logoUnifi.svg +2 -10
- package/lib/assets/poe2.svg +2 -3
- package/lib/assets/poe3.svg +3 -2
- package/lib/assets/port.svg +2 -4
- package/lib/assets/port2.svg +4 -2
- 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.js +4 -4
- package/lib/components/Avatar/Avatar.js +2 -2
- package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
- package/lib/components/Button/Button.js +5 -12
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.mjs +1 -8
- package/lib/components/Button/Button.mjs.map +1 -1
- package/lib/components/Button/CartButton.d.ts +1 -3
- package/lib/components/Button/CartButton.js +6 -11
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +4 -8
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.js +9 -16
- package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.mjs +9 -16
- package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +6 -10
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +20 -60
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +20 -60
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
- package/lib/components/CardSection/Card/Card.js +6 -6
- package/lib/components/CardSection/CardSection.js +2 -2
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CartIcon/CartIcon.js +2 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +2 -4
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +5 -8
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +6 -7
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +4 -4
- package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
- package/lib/components/Compare/Compare.styles.d.ts +5 -5
- package/lib/components/Container/Container.d.ts +1 -1
- package/lib/components/Container/Container.js +4 -5
- package/lib/components/Container/Container.js.map +1 -1
- package/lib/components/Container/Container.mjs +4 -5
- package/lib/components/Container/Container.mjs.map +1 -1
- package/lib/components/Container/index.stories.d.ts +5 -5
- package/lib/components/CustomImage/CustomImage.js +12 -12
- package/lib/components/Explore/Explore.js +5 -5
- package/lib/components/Explore/ExploreData.js +12 -12
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +12 -12
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/hooks/useFooterContent.js +5 -5
- package/lib/components/Gallery/Gallery.context.js +17 -17
- package/lib/components/Gallery/Gallery.js +9 -9
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
- package/lib/components/GridGallery/GridGallery.js +8 -8
- package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
- package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
- package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
- package/lib/components/Header/AccountMenu/AccountMenu.js +20 -30
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +3 -13
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
- package/lib/components/Header/CartModalV2/CartModal.js +5 -5
- package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/Header/Header.js +43 -43
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +9 -9
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.styles.d.ts +12 -7
- package/lib/components/Header/Header.styles.js +32 -10
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +31 -10
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +5 -29
- package/lib/components/Header/Header.types.js +1 -2
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +1 -2
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.d.ts +0 -1
- package/lib/components/Header/IsolatedHeader.js +50 -50
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +46 -47
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
- package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +109 -116
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +104 -111
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +0 -9
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +1 -15
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +2 -13
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +6 -12
- package/lib/components/Header/Overlay/Overlay.js +3 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +5 -9
- package/lib/components/Header/ProHeader/ProHeader.js +189 -270
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +171 -251
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +25 -30
- package/lib/components/Header/ProHeader/ProHeader.styles.js +66 -119
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +65 -112
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +1 -4
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +2 -4
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +1 -4
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +2 -4
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +1 -4
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +2 -4
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +1 -7
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +2 -6
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +1 -4
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +2 -4
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +1 -4
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +2 -4
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +1 -4
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +2 -4
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +1 -4
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +2 -4
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +1 -4
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +2 -4
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +1 -4
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +2 -4
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -4
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -4
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +5 -5
- package/lib/components/Hero/Hero.styles.d.ts +2 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
- package/lib/components/HeroVideo/HeroVideo.js +5 -5
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
- package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
- package/lib/components/ImageSequence/ImageSequence.js +8 -8
- package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
- package/lib/components/LandingPage/Cards/Cards.js +10 -10
- package/lib/components/LandingPage/LandingPage.js +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
- package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
- package/lib/components/LoaderDots/LoaderDots.js +1 -3
- package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.mjs +1 -3
- package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.d.ts +1 -2
- package/lib/components/LoaderDots/LoaderDots.styles.js +1 -11
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -11
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -2
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
- package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
- package/lib/components/Microsites/MicrositePageContext.js +2 -2
- package/lib/components/Microsites/MicrositeProductPage.js +3 -3
- package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
- package/lib/components/MobileModal/MobileModal.js +4 -4
- package/lib/components/Modal/Modal.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
- package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
- 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/assets/poe.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/poe.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/port.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/port.svg.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/cloudKeyEnterprise.js +2 -4
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.js +3 -3
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +1 -1
- package/lib/components/Pagination/Pagination.js +3 -3
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
- package/lib/components/ProductCard/ProductCard.js +7 -7
- package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
- package/lib/components/ProductCompare/ProductCompare.js +7 -7
- package/lib/components/ProductDetails/ProductDetails.js +5 -5
- package/lib/components/ProductGrid/ProductGrid.js +10 -10
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
- package/lib/components/ProductWizard/Options/Options.js +3 -3
- package/lib/components/ProductWizard/ProductWizard.js +2 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
- package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
- package/lib/components/QuantityControls/QuantityControls.js +6 -6
- package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
- package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -6
- package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -6
- package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
- package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- 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 +8 -8
- 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/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +4 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +25 -33
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
- package/lib/components/Search/Input/Input.d.ts +1 -1
- package/lib/components/Search/Input/Input.js +8 -8
- package/lib/components/Search/Input/Input.js.map +1 -1
- package/lib/components/Search/Input/Input.mjs +4 -4
- package/lib/components/Search/Input/Input.mjs.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +1 -0
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.mjs +1 -0
- package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
- package/lib/components/Search/Input/Input.types.d.ts +2 -3
- package/lib/components/Search/Modal/Modal.js +3 -3
- package/lib/components/StorageSliders/Slider/Slider.js +3 -3
- package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
- package/lib/components/StorageSliders/StorageSliders.js +4 -4
- package/lib/components/Tooltip/Tooltip.js +5 -5
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
- package/lib/components/VariantSelector/Variant/Variant.js +40 -40
- package/lib/components/VariantSelector/VariantSelector.js +16 -16
- package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +0 -2
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -17
- package/lib/constants/proStoreCategories/mapping/filters.js +0 -17
- package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -17
- package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -4
- package/lib/constants/proStoreCategories/mapping/index.js +51 -50
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -5
- package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -7
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +4 -7
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +3 -55
- package/lib/constants/proStoreFilters/mapping.js +10 -140
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +10 -140
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/constants/theme.js +0 -4
- package/lib/constants/theme.js.map +1 -1
- package/lib/constants/theme.mjs +0 -4
- package/lib/constants/theme.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +34 -34
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +1 -1
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/helpers/index.js +0 -1
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +1 -1
- package/lib/helpers/proStoreCategories.js +2 -2
- package/lib/helpers/ux.d.ts +0 -8
- package/lib/helpers/ux.js +0 -15
- package/lib/helpers/ux.js.map +1 -1
- package/lib/helpers/ux.mjs +1 -15
- package/lib/helpers/ux.mjs.map +1 -1
- package/lib/hooks/useHasTouch.js +3 -3
- package/lib/hooks/useHddRetentionCalculator.js +5 -5
- package/lib/hooks/useHorizontalScroll.js +2 -2
- package/lib/hooks/useLockBodyScrollCustom.js +3 -3
- package/lib/hooks/useScrollToY.js +2 -2
- package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
- package/lib/hooks/useTranslation.js +6 -6
- package/lib/utils/nextjs/ssr/registry.js +2 -2
- package/package.json +1 -1
- package/lib/assets/cart-secondary.svg +0 -5
- package/lib/assets/icon-location-pin.svg +0 -5
- package/lib/assets/icons/cart-secondary.svg.js +0 -27
- package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
- package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
- package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
- package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
- package/lib/components/ButtonGroupBasic/index.stories.d.ts +0 -6
- package/lib/components/Header/Header.stories.d.ts +0 -111
- package/lib/components/Header/LogoIcon/LogoIcon.d.ts +0 -7
- package/lib/components/Header/LogoIcon/LogoIcon.js +0 -46
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +0 -1
- package/lib/components/Header/LogoIcon/LogoIcon.mjs +0 -36
- package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +0 -1
- package/lib/components/Header/LogoIcon/index.d.ts +0 -1
- package/lib/components/Header/LogoIcon/index.js +0 -6
- package/lib/components/Header/LogoIcon/index.js.map +0 -1
- package/lib/components/Header/LogoIcon/index.mjs +0 -3
- package/lib/components/Header/LogoIcon/index.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -79
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -71
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +0 -5
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -86
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -72
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
- package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
- package/lib/components/ProductTechSpecsV2/index.js +0 -6
- package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
- package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udw.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport {
|
|
1
|
+
{"version":3,"file":"udw.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/bigCompare/udw.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udw: Product = {\n id: \"udw\",\n title: \"udw.title\",\n description: \"udw.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.UniFiCloudGateways}/udw`,\n ],\n storePathParts: {\n category: \"all-unifi-cloud-gateways\",\n productSlug: \"udw\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n notes: [\"udw.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udw.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udw.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udw.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"udw.powerRedundancy\",\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udw.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udw.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["udw","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","UniFiCloudGateways","storePathParts","category","productSlug","image","src","width","height","notes","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBO,MAAMA,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,kBAAkB,MAAA,CAC9C;EACAC,cAAgB,EAAA;IACdC,QAAU,EAAA,0BAAA;IACVC,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAA,EAAO,CAAC,WAAW,CAAA;EACnBC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAA,aAAA,CAAAlB,EAAA;IAC1BmB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQE,iBAAkB,CAAAA,iBAAA,EAAA;QAAAT,GAAA,EAAKU;QAAcR,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEI,YAAYM,UAAW,CAAAA,UAAA,CAAAvB,EAAA;IACvBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYO,gBAAiB,CAAAA,gBAAA,CAAAxB,EAAA;IAC7BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYQ,YAAa,CAAAA,YAAA,CAAAzB,EAAA;IACzBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,aAAc,CAAAA,aAAA,CAAA1B,EAAA;IAC1BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,QAAS,CAAAA,QAAA,CAAA3B,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,QAAS,CAAAA,QAAA,CAAA5B,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,gBAAiB,CAAAA,gBAAA,CAAA7B,EAAA;IAC7BmB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYa,OAAQ,CAAAA,OAAA,CAAA9B,EAAA;IACpBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,eAAgB,CAAAA,eAAA,CAAA/B,EAAA;IAC5BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,QAAS,CAAAA,QAAA,CAAAhC,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYgB,eAAgB,CAAAA,eAAA,CAAAjC,EAAA;IAC5BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
3
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
4
3
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
5
4
|
import '../../../StyleableSvgImage/index.mjs';
|
|
6
5
|
import '../../assets/applications.svg.mjs';
|
|
@@ -17,6 +16,7 @@ import { throughput } from '../properties/throughput.mjs';
|
|
|
17
16
|
import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
18
17
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
19
18
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
19
|
+
import { UniFiCategoryId } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
20
20
|
import image__default from "../../../../assets/udw2.jpg";
|
|
21
21
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
22
22
|
import applications__default from "../../../../assets/applications.svg";
|
|
@@ -26,9 +26,9 @@ const udw = {
|
|
|
26
26
|
id: "udw",
|
|
27
27
|
title: "udw.title",
|
|
28
28
|
description: "udw.description",
|
|
29
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.
|
|
29
|
+
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.UniFiCloudGateways}/udw`],
|
|
30
30
|
storePathParts: {
|
|
31
|
-
category:
|
|
31
|
+
category: "all-unifi-cloud-gateways",
|
|
32
32
|
productSlug: "udw"
|
|
33
33
|
},
|
|
34
34
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udw.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport {
|
|
1
|
+
{"version":3,"file":"udw.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/udw.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/bigCompare/udw.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udw: Product = {\n id: \"udw\",\n title: \"udw.title\",\n description: \"udw.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.UniFiCloudGateways}/udw`,\n ],\n storePathParts: {\n category: \"all-unifi-cloud-gateways\",\n productSlug: \"udw\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n notes: [\"udw.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"udw.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"udw.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"udw.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"udw.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"translation\",\n value: \"udw.storage\",\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"translation\",\n value: \"udw.powerRedundancy\",\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"udw.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"udw.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["udw","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","UniFiCloudGateways","storePathParts","category","productSlug","image","src","width","height","notes","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAmBO,MAAMA,GAAe,GAAA;EAC1BC,EAAI,EAAA,KAAA;EACJC,KAAO,EAAA,WAAA;EACPC,WAAa,EAAA,iBAAA;EACbC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,kBAAkB,MAAA,CAC9C;EACAC,cAAgB,EAAA;IACdC,QAAU,EAAA,0BAAA;IACVC,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAA,EAAO,CAAC,WAAW,CAAA;EACnBC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAlB,EAAA;IAC1BmB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,qBAAQE,iBAAkB,EAAA;QAAAT,GAAA,EAAKU;QAAcR,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEI,YAAYM,UAAW,CAAAvB,EAAA;IACvBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYO,gBAAiB,CAAAxB,EAAA;IAC7BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYQ,YAAa,CAAAzB,EAAA;IACzBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,aAAc,CAAA1B,EAAA;IAC1BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,QAAS,CAAA3B,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,QAAS,CAAA5B,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,gBAAiB,CAAA7B,EAAA;IAC7BmB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYa,OAAQ,CAAA9B,EAAA;IACpBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,eAAgB,CAAA/B,EAAA;IAC5BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,QAAS,CAAAhC,EAAA;IACrBmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYgB,eAAgB,CAAAjC,EAAA;IAC5BmB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var Pagination_styles = require('./Pagination.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const PAGE_STEP = 1;
|
|
@@ -11,14 +11,14 @@ const Pagination = function Pagination2({
|
|
|
11
11
|
onChange,
|
|
12
12
|
activePage
|
|
13
13
|
}) {
|
|
14
|
-
const onPaginationChange =
|
|
14
|
+
const onPaginationChange = react.useCallback(value => {
|
|
15
15
|
window.scrollTo({
|
|
16
16
|
top: 0,
|
|
17
17
|
behavior: "smooth"
|
|
18
18
|
});
|
|
19
19
|
onChange(value);
|
|
20
20
|
}, [onChange]);
|
|
21
|
-
const parsedPages =
|
|
21
|
+
const parsedPages = react.useMemo(() => {
|
|
22
22
|
const pages = [];
|
|
23
23
|
const addPages = (startIndex, endIndex) => {
|
|
24
24
|
for (let i = startIndex; i < endIndex; i++) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var MultiSlider = require('@ubnt/ui-components/MultiSlider');
|
|
5
|
-
var
|
|
5
|
+
var react = require('react');
|
|
6
6
|
require('../../assets/icons/sliderThumb.svg.js');
|
|
7
7
|
require('../../utils/money/index.js');
|
|
8
8
|
var PriceRangeSlider_styles = require('./PriceRangeSlider.styles.js');
|
|
@@ -26,16 +26,16 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
26
26
|
title,
|
|
27
27
|
currency
|
|
28
28
|
}) {
|
|
29
|
-
const fullRange =
|
|
30
|
-
const priceToPercentage =
|
|
29
|
+
const fullRange = react.useMemo(() => maxValue.amount - minValue.amount, [maxValue.amount, minValue.amount]);
|
|
30
|
+
const priceToPercentage = react.useCallback(priceAmount => {
|
|
31
31
|
return (priceAmount - minValue.amount) / fullRange * 100;
|
|
32
32
|
}, [fullRange, minValue.amount]);
|
|
33
|
-
const percentageToPrice =
|
|
33
|
+
const percentageToPrice = react.useCallback(percentage => {
|
|
34
34
|
return Math.floor(percentage * fullRange / 100 + minValue.amount);
|
|
35
35
|
}, [fullRange, minValue.amount]);
|
|
36
|
-
const [fromSliderValue, setFromSliderValue] =
|
|
37
|
-
const [toSliderValue, setToSliderValue] =
|
|
38
|
-
const getFormattedPriceFrom =
|
|
36
|
+
const [fromSliderValue, setFromSliderValue] = react.useState(priceFrom && priceToPercentage(priceFrom.amount) || 0);
|
|
37
|
+
const [toSliderValue, setToSliderValue] = react.useState(priceTo && priceToPercentage(priceTo.amount) || 100);
|
|
38
|
+
const getFormattedPriceFrom = react.useCallback(priceAmount => {
|
|
39
39
|
return format.formatPrice({
|
|
40
40
|
currency,
|
|
41
41
|
amount: priceAmount
|
|
@@ -43,7 +43,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
43
43
|
removeFractions: true
|
|
44
44
|
});
|
|
45
45
|
}, [currency]);
|
|
46
|
-
const getFormattedPriceTo =
|
|
46
|
+
const getFormattedPriceTo = react.useCallback(priceAmount => {
|
|
47
47
|
return `${format.formatPrice({
|
|
48
48
|
currency,
|
|
49
49
|
amount: priceAmount
|
|
@@ -51,13 +51,13 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
51
51
|
removeFractions: true
|
|
52
52
|
})}${toSliderValue === 100 ? "+" : ""}`;
|
|
53
53
|
}, [currency, toSliderValue]);
|
|
54
|
-
const [fromInputValue, setFromInputValue] =
|
|
55
|
-
const [toInputValue, setToInputValue] =
|
|
56
|
-
|
|
54
|
+
const [fromInputValue, setFromInputValue] = react.useState(getFormattedPriceFrom((priceFrom !== void 0 ? priceFrom?.amount : minValue.amount) || 0));
|
|
55
|
+
const [toInputValue, setToInputValue] = react.useState(getFormattedPriceTo((priceTo !== void 0 ? priceTo?.amount : maxValue.amount) || 0));
|
|
56
|
+
react.useEffect(() => {
|
|
57
57
|
setFromInputValue(getFormattedPriceFrom(priceFrom?.amount || minValue.amount));
|
|
58
58
|
setFromSliderValue(priceToPercentage(priceFrom?.amount || 0));
|
|
59
59
|
}, [getFormattedPriceFrom, minValue.amount, priceFrom?.amount, priceToPercentage]);
|
|
60
|
-
|
|
60
|
+
react.useEffect(() => {
|
|
61
61
|
const newPercentageValue = priceToPercentage(priceTo?.amount || maxValue.amount);
|
|
62
62
|
setToInputValue(`${format.formatPrice({
|
|
63
63
|
currency,
|
|
@@ -67,7 +67,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
67
67
|
})}${newPercentageValue === 100 ? "+" : ""}`);
|
|
68
68
|
setToSliderValue(newPercentageValue || 100);
|
|
69
69
|
}, [currency, maxValue.amount, priceTo?.amount, priceToPercentage]);
|
|
70
|
-
const handleSliderChange =
|
|
70
|
+
const handleSliderChange = react.useCallback(([valFrom, valTo]) => {
|
|
71
71
|
const newData = {
|
|
72
72
|
...(priceFrom && {
|
|
73
73
|
priceFrom: {
|
|
@@ -98,7 +98,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
98
98
|
};
|
|
99
99
|
onChange(newData);
|
|
100
100
|
}, [maxValue.currency, minValue.currency, onChange, percentageToPrice, priceFrom, priceTo]);
|
|
101
|
-
const handleInputBlur =
|
|
101
|
+
const handleInputBlur = react.useCallback((inputValue, inputType) => {
|
|
102
102
|
const val = parseInt(inputValue.replace(/^\D+/g, ""));
|
|
103
103
|
if (typeof val === "number" && !Number.isNaN(val)) {
|
|
104
104
|
let parsedDinero = misc.parseFloatToDinero(val, currency).toJSON();
|
|
@@ -141,13 +141,13 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
141
141
|
onChange(newData);
|
|
142
142
|
}
|
|
143
143
|
}, [currency, maxValue, minValue, onChange, priceFrom, priceTo]);
|
|
144
|
-
const handleSliderDrag =
|
|
144
|
+
const handleSliderDrag = react.useCallback(([valFrom, valTo]) => {
|
|
145
145
|
setFromInputValue(getFormattedPriceFrom(percentageToPrice(valFrom)));
|
|
146
146
|
setFromSliderValue(valFrom);
|
|
147
147
|
setToInputValue(getFormattedPriceTo(percentageToPrice(valTo)));
|
|
148
148
|
setToSliderValue(valTo);
|
|
149
149
|
}, [getFormattedPriceFrom, getFormattedPriceTo, percentageToPrice]);
|
|
150
|
-
const handleInputChange =
|
|
150
|
+
const handleInputChange = react.useCallback(inputType => e => {
|
|
151
151
|
const value = e.target.value;
|
|
152
152
|
const regex = /[a-zA-Z]/;
|
|
153
153
|
if (regex.test(value)) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var merge = require('lodash/merge');
|
|
5
|
-
var
|
|
5
|
+
var react = require('react');
|
|
6
6
|
var reactUse = require('react-use');
|
|
7
7
|
require('../../assets/icons/previouslyPurchasedStar.svg.js');
|
|
8
8
|
var variant = require('../../utils/variant.js');
|
|
@@ -45,23 +45,23 @@ const ProductCard = ({
|
|
|
45
45
|
onAddToCart,
|
|
46
46
|
renderImage
|
|
47
47
|
}) => {
|
|
48
|
-
const translations =
|
|
48
|
+
const translations = react.useMemo(() => {
|
|
49
49
|
return merge__default["default"](ProductCard_constants.defaultProductCardTranslations, initialTranslations);
|
|
50
50
|
}, [initialTranslations]);
|
|
51
|
-
const hasManyVariants =
|
|
51
|
+
const hasManyVariants = react.useMemo(() => {
|
|
52
52
|
return variants.length > 1;
|
|
53
53
|
}, [variants.length]);
|
|
54
|
-
const isInStock =
|
|
54
|
+
const isInStock = react.useMemo(() => {
|
|
55
55
|
return !!isSubscription || !!variants?.some(variant => variant.isInStock);
|
|
56
56
|
}, [isSubscription, variants]);
|
|
57
|
-
const isComingSoon =
|
|
57
|
+
const isComingSoon = react.useMemo(() => {
|
|
58
58
|
return !isInStock && !!variants?.some(variant => variant.isComingSoon);
|
|
59
59
|
}, [isInStock, variants]);
|
|
60
|
-
const isEarlyAccess =
|
|
60
|
+
const isEarlyAccess = react.useMemo(() => {
|
|
61
61
|
return !!variants?.some(variant => variant?.isEarlyAccess);
|
|
62
62
|
}, [variants]);
|
|
63
63
|
const localQuantity = 1;
|
|
64
|
-
const handleAddToCart =
|
|
64
|
+
const handleAddToCart = react.useCallback(() => {
|
|
65
65
|
const quantity = hasManyVariants ? null : localQuantity;
|
|
66
66
|
onAddToCart(slug, quantity);
|
|
67
67
|
}, [hasManyVariants, localQuantity, onAddToCart, slug]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var array = require('../../utils/array.js');
|
|
6
6
|
require('../../utils/money/index.js');
|
|
7
7
|
var variant = require('../../utils/variant.js');
|
|
@@ -42,13 +42,13 @@ const ProductCardPopupInternal = ({
|
|
|
42
42
|
const {
|
|
43
43
|
jumpToSlide
|
|
44
44
|
} = Gallery_context.useGalleryControls();
|
|
45
|
-
const imagesParsed =
|
|
45
|
+
const imagesParsed = react.useMemo(() => {
|
|
46
46
|
return Gallery.parseGalleryEntries(images ?? [], GALLERY_FADE);
|
|
47
47
|
}, [images]);
|
|
48
|
-
const currentVariant =
|
|
48
|
+
const currentVariant = react.useMemo(() => {
|
|
49
49
|
return variants?.find(variant => variant.sku === activePopupVariantSku);
|
|
50
50
|
}, [activePopupVariantSku, variants]);
|
|
51
|
-
const variantOptions =
|
|
51
|
+
const variantOptions = react.useMemo(() => {
|
|
52
52
|
return options?.map(option => {
|
|
53
53
|
const selectedOption = option.values.find(value => currentVariant?.optionValueIds?.includes(value.id));
|
|
54
54
|
const values = option.values.map(value => {
|
|
@@ -67,13 +67,13 @@ const ProductCardPopupInternal = ({
|
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
69
|
}, [currentVariant?.optionValueIds, options, variants]);
|
|
70
|
-
const updateGalleryImage =
|
|
70
|
+
const updateGalleryImage = react.useCallback(imageId => {
|
|
71
71
|
const imageIndex = imagesParsed.findIndex(image => image.id === imageId);
|
|
72
72
|
if (imageIndex !== -1) {
|
|
73
73
|
jumpToSlide(imageIndex);
|
|
74
74
|
}
|
|
75
75
|
}, [imagesParsed, jumpToSlide]);
|
|
76
|
-
const handleOptionChange =
|
|
76
|
+
const handleOptionChange = react.useCallback((prevValueId, nextValueId) => {
|
|
77
77
|
if (!prevValueId || !nextValueId || prevValueId === nextValueId) {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -93,7 +93,7 @@ const ProductCardPopupInternal = ({
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}, [currentVariant?.optionValueIds, onVariantChange, updateGalleryImage, variants]);
|
|
96
|
-
const renderOption =
|
|
96
|
+
const renderOption = react.useCallback(({
|
|
97
97
|
option,
|
|
98
98
|
onClick,
|
|
99
99
|
isFocused,
|
|
@@ -109,7 +109,7 @@ const ProductCardPopupInternal = ({
|
|
|
109
109
|
})]
|
|
110
110
|
}, option.value);
|
|
111
111
|
}, [wizardProps?.translations.addToCartButton.soldOut]);
|
|
112
|
-
const addToCartBtnText =
|
|
112
|
+
const addToCartBtnText = react.useMemo(() => {
|
|
113
113
|
if (wizardProps?.isVariantSoldOut) {
|
|
114
114
|
return wizardProps?.translations.addToCartButton.soldOut;
|
|
115
115
|
} else if (wizardProps?.isVariantComingSoon) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var merge = require('lodash/merge');
|
|
5
|
-
var
|
|
5
|
+
var react = require('react');
|
|
6
6
|
var iconParsing = require('../../helpers/shopify/iconParsing.js');
|
|
7
7
|
require('../../utils/money/index.js');
|
|
8
8
|
require('../Button/index.js');
|
|
@@ -34,27 +34,27 @@ const ProductCompare = function ProductCompare2({
|
|
|
34
34
|
onVariantLearnMore,
|
|
35
35
|
onVariantAddToCart
|
|
36
36
|
}) {
|
|
37
|
-
const translations =
|
|
37
|
+
const translations = react.useMemo(() => {
|
|
38
38
|
return merge__default["default"](ProductCompare_constants.defaultProductCompareTranslations, initialTranslations);
|
|
39
39
|
}, [initialTranslations]);
|
|
40
|
-
const getVariantImage =
|
|
40
|
+
const getVariantImage = react.useCallback(variant => {
|
|
41
41
|
return variant.images?.find(el => !el.isVideo);
|
|
42
42
|
}, []);
|
|
43
|
-
const parsedVariants =
|
|
43
|
+
const parsedVariants = react.useMemo(() => {
|
|
44
44
|
return ProductCompare_utils.parseProductCompareVariants(variants);
|
|
45
45
|
}, [variants]);
|
|
46
|
-
const section =
|
|
46
|
+
const section = react.useMemo(() => {
|
|
47
47
|
for (const parsedVariant of parsedVariants) {
|
|
48
48
|
return mapping.PRODUCT_COMPARE_MAPPING.sections.find(section2 => section2.id === parsedVariant.compareSectionId) ?? null;
|
|
49
49
|
}
|
|
50
50
|
return null;
|
|
51
51
|
}, [parsedVariants]);
|
|
52
|
-
const getPrice =
|
|
52
|
+
const getPrice = react.useCallback(variant => {
|
|
53
53
|
const price = format.formatPrice(variant.displayPrice);
|
|
54
54
|
const fromPrice = variant.fromPrice ? translations.fromPrice(format.formatPrice(variant.fromPrice)) : void 0;
|
|
55
55
|
return fromPrice || price;
|
|
56
56
|
}, [translations]);
|
|
57
|
-
const allRowHeights =
|
|
57
|
+
const allRowHeights = react.useRef(parsedVariants.reduce((map, variant) => {
|
|
58
58
|
for (let row = 0; row < variant.compare.features.length; row++) {
|
|
59
59
|
if (!map[row]) {
|
|
60
60
|
map[row] = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var product = require('../../helpers/shopify/product.js');
|
|
6
6
|
require('../ProductKeyFeatures/index.js');
|
|
7
7
|
var ProductDetails_styles = require('./ProductDetails.styles.js');
|
|
@@ -12,8 +12,8 @@ const ProductDetails = function ProductDetails2({
|
|
|
12
12
|
description,
|
|
13
13
|
asKeyFeatures
|
|
14
14
|
}) {
|
|
15
|
-
const root =
|
|
16
|
-
const openLinkInNewTab =
|
|
15
|
+
const root = react.useRef(null);
|
|
16
|
+
const openLinkInNewTab = react.useCallback(e => {
|
|
17
17
|
if (e.target instanceof HTMLElement) {
|
|
18
18
|
const el = e.target;
|
|
19
19
|
const anchor = el.closest("a");
|
|
@@ -26,10 +26,10 @@ const ProductDetails = function ProductDetails2({
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}, []);
|
|
29
|
-
const keyFeatures =
|
|
29
|
+
const keyFeatures = react.useMemo(() => {
|
|
30
30
|
return product.getDescriptionKeyFeatures(description);
|
|
31
31
|
}, [description]);
|
|
32
|
-
const parsedInnerHtmlObject =
|
|
32
|
+
const parsedInnerHtmlObject = react.useMemo(() => {
|
|
33
33
|
let html = description;
|
|
34
34
|
if (!asKeyFeatures && keyFeatures) {
|
|
35
35
|
html = keyFeatures.description;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var layout = require('../../constants/layout.js');
|
|
6
6
|
require('../Pagination/index.js');
|
|
7
7
|
require('../ProductCard/index.js');
|
|
@@ -36,7 +36,7 @@ const ProductGrid = ({
|
|
|
36
36
|
const {
|
|
37
37
|
areProductsLoading,
|
|
38
38
|
products
|
|
39
|
-
} =
|
|
39
|
+
} = react.useMemo(() => {
|
|
40
40
|
if (props.products === void 0) {
|
|
41
41
|
return {
|
|
42
42
|
areProductsLoading: true,
|
|
@@ -54,27 +54,27 @@ const ProductGrid = ({
|
|
|
54
54
|
products: props.products
|
|
55
55
|
};
|
|
56
56
|
}, [props?.products]);
|
|
57
|
-
const [popupProduct, setPopupProduct] =
|
|
58
|
-
const isPopupOpen =
|
|
59
|
-
|
|
57
|
+
const [popupProduct, setPopupProduct] = react.useState(activePopupProduct);
|
|
58
|
+
const isPopupOpen = react.useMemo(() => !!activePopupProduct, [activePopupProduct]);
|
|
59
|
+
react.useEffect(() => {
|
|
60
60
|
if (activePopupProduct !== void 0) {
|
|
61
61
|
setPopupProduct(activePopupProduct);
|
|
62
62
|
}
|
|
63
63
|
}, [activePopupProduct]);
|
|
64
|
-
const pageCount =
|
|
64
|
+
const pageCount = react.useMemo(() => {
|
|
65
65
|
return Math.ceil((products?.length || 0) / PAGINATION_LIMIT);
|
|
66
66
|
}, [products?.length]);
|
|
67
|
-
const paginatedProducts =
|
|
67
|
+
const paginatedProducts = react.useMemo(() => {
|
|
68
68
|
const prevRange = (paginationValue - 1) * PAGINATION_LIMIT;
|
|
69
69
|
const currRange = paginationValue * PAGINATION_LIMIT;
|
|
70
70
|
return products?.filter((_product, index) => {
|
|
71
71
|
return !!(index >= prevRange && index < currRange);
|
|
72
72
|
});
|
|
73
73
|
}, [paginationValue, products]);
|
|
74
|
-
const handleSortOptionChange =
|
|
74
|
+
const handleSortOptionChange = react.useCallback(option => {
|
|
75
75
|
onSortOptionChange(typeof option.value === "string" ? option.value : option.value.toString());
|
|
76
76
|
}, [onSortOptionChange]);
|
|
77
|
-
const sortOptions =
|
|
77
|
+
const sortOptions = react.useMemo(() => {
|
|
78
78
|
return [{
|
|
79
79
|
value: ProductGrid_types.ProductGridSortOption.highestPrice,
|
|
80
80
|
label: translations.sortOptions.highestPrice
|
|
@@ -99,7 +99,7 @@ const ProductGrid = ({
|
|
|
99
99
|
* // },
|
|
100
100
|
*/];
|
|
101
101
|
}, [translations.sortOptions]);
|
|
102
|
-
const productCount =
|
|
102
|
+
const productCount = react.useMemo(() => {
|
|
103
103
|
if (hasFilters) {
|
|
104
104
|
return products?.length;
|
|
105
105
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var ProductKeyFeatures_styles = require('./ProductKeyFeatures.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const ProductKeyFeatures = function ProductKeyFeatures2({
|
|
@@ -9,8 +9,8 @@ const ProductKeyFeatures = function ProductKeyFeatures2({
|
|
|
9
9
|
disableHeader,
|
|
10
10
|
keyFeatures
|
|
11
11
|
}) {
|
|
12
|
-
const [keyFeaturesHtml, setKeyFeaturesHtml] =
|
|
13
|
-
|
|
12
|
+
const [keyFeaturesHtml, setKeyFeaturesHtml] = react.useState(keyFeatures);
|
|
13
|
+
react.useEffect(() => {
|
|
14
14
|
if (typeof keyFeatures === "string") {
|
|
15
15
|
const el = document.createElement("div");
|
|
16
16
|
el.innerHTML = keyFeatures;
|
|
@@ -2,7 +2,7 @@ export declare const PRODUCT_SECTION_NAVIGATION_HEIGHT = 48;
|
|
|
2
2
|
export declare const PRODUCT_SECTION_NAVIGATION_ANIMATION_MS = 300;
|
|
3
3
|
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
4
4
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
5
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const NavItemWrapOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const NavItemWrapInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const NavItem: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
2
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
3
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const Item: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
require('../ScrollWrapper/index.js');
|
|
6
6
|
var ProductSectionTabs_styles = require('./ProductSectionTabs.styles.js');
|
|
7
7
|
var ScrollWrapper = require('../ScrollWrapper/ScrollWrapper.js');
|
|
@@ -12,7 +12,7 @@ const ProductSectionTabs = function ProductSectionTabs2({
|
|
|
12
12
|
className,
|
|
13
13
|
disableScroll
|
|
14
14
|
}) {
|
|
15
|
-
const htmlItems =
|
|
15
|
+
const htmlItems = react.useMemo(() => {
|
|
16
16
|
return items.map((item, index) => {
|
|
17
17
|
let type;
|
|
18
18
|
if (index === 0) {
|
|
@@ -10,8 +10,8 @@ export declare const SpecData: import("styled-components").StyledComponent<"div"
|
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const SpecsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
12
|
export declare const SectionWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
13
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
export declare const GradientButton: import("styled-components").StyledComponent<({ children, active, className, ...props }: import("../GradientButton/GradientButton.types").GradientButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
15
15
|
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon,
|
|
16
|
+
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
17
17
|
export declare const ScrollOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var optionIcons = require('../../../constants/optionIcons.js');
|
|
6
6
|
var asset = require('../../../utils/asset.js');
|
|
7
7
|
require('../../ButtonGroup/index.js');
|
|
@@ -15,7 +15,7 @@ const ProductWizardOptions = function ProductWizardOptions2({
|
|
|
15
15
|
onlyIcons,
|
|
16
16
|
className
|
|
17
17
|
}) {
|
|
18
|
-
const getOptionIcon =
|
|
18
|
+
const getOptionIcon = react.useCallback((optionSlug, optionValueSlug) => {
|
|
19
19
|
const option = optionSlug.toLowerCase();
|
|
20
20
|
const value = optionValueSlug.toLowerCase();
|
|
21
21
|
const icon = optionIcons.OPTION_ICONS[option]?.[value];
|
|
@@ -24,7 +24,7 @@ const ProductWizardOptions = function ProductWizardOptions2({
|
|
|
24
24
|
}
|
|
25
25
|
return asset.imageSrc(icon);
|
|
26
26
|
}, []);
|
|
27
|
-
const getItemsWithIcons =
|
|
27
|
+
const getItemsWithIcons = react.useCallback(option => option.values.map(({
|
|
28
28
|
id,
|
|
29
29
|
title,
|
|
30
30
|
slug,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
require('../../assets/icons/wizard/index.js');
|
|
6
6
|
require('../NormalisedImage/index.js');
|
|
7
7
|
require('../ProductWizardFootnotes/index.js');
|
|
@@ -43,7 +43,7 @@ const ProductWizard = function ProductWizard2({
|
|
|
43
43
|
updateQuantity,
|
|
44
44
|
translations
|
|
45
45
|
}) {
|
|
46
|
-
const addToCartBtnText =
|
|
46
|
+
const addToCartBtnText = react.useMemo(() => {
|
|
47
47
|
if (isVariantSoldOut) {
|
|
48
48
|
return translations.addToCartButton.soldOut;
|
|
49
49
|
}
|