@ubnt/store.core 9.44.2 → 9.44.3-new-design
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 +57 -0
- package/lib/apis/smartcat.d.ts +4 -4
- package/lib/apis/smartcat.js +1 -1
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +1 -1
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/cart-secondary.svg +5 -0
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/icon-location-pin.svg +5 -0
- package/lib/assets/icons/cart-secondary.svg.js +27 -0
- package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
- package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
- package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
- package/lib/assets/icons/menu/{icon-globe.svg.js → icon-location-pin.svg.js} +6 -6
- package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
- package/lib/assets/logoUnifi.svg +10 -2
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/port.svg +4 -2
- package/lib/assets/port2.svg +2 -4
- package/lib/components/Accordion/Accordion.js +2 -2
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mjs +2 -2
- package/lib/components/Accordion/Accordion.mjs.map +1 -1
- package/lib/components/BackInStock/BackInStock.types.d.ts +1 -0
- package/lib/components/Button/Button.js +7 -0
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.mjs +8 -1
- package/lib/components/Button/Button.mjs.map +1 -1
- package/lib/components/Button/CartButton.d.ts +3 -1
- package/lib/components/Button/CartButton.js +9 -4
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +8 -4
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +16 -4
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +17 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +4 -0
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- 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 -3
- package/lib/components/Container/Container.js.map +1 -1
- package/lib/components/Container/Container.mjs +5 -4
- package/lib/components/Container/Container.mjs.map +1 -1
- package/lib/components/CustomImage/CustomImage.js +4 -4
- package/lib/components/CustomImage/CustomImage.js.map +1 -1
- package/lib/components/CustomImage/CustomImage.mjs +4 -4
- package/lib/components/CustomImage/CustomImage.mjs.map +1 -1
- 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/FeaturesSection.js +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/Gallery/Gallery.context.js.map +1 -1
- package/lib/components/Gallery/Gallery.context.mjs.map +1 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +3 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +1 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +3 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.js +3 -3
- package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
- package/lib/components/Header/AccountFrame/AccountFrame.mjs +3 -3
- package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.js +11 -1
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/Header/Header.js +12 -12
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +12 -12
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.styles.d.ts +7 -12
- package/lib/components/Header/Header.styles.js +10 -32
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +10 -31
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +30 -6
- package/lib/components/Header/Header.types.js +2 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +2 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.d.ts +1 -0
- package/lib/components/Header/IsolatedHeader.js +44 -44
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +47 -46
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.js.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.mjs.map +1 -1
- package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
- package/lib/components/Header/LogoIcon/index.d.ts +1 -0
- package/lib/components/Header/LogoIcon/index.js +6 -0
- package/lib/components/Header/LogoIcon/index.js.map +1 -0
- package/lib/components/Header/LogoIcon/index.mjs +3 -0
- package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
- 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 +1 -0
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +2 -2
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +2 -2
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- 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 +110 -103
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
- package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
- package/lib/components/Header/ProHeader/ProHeader.js +260 -175
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +261 -177
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
- package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +4 -1
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +4 -2
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +4 -1
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +4 -2
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +4 -1
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +4 -2
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +7 -1
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +6 -2
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +4 -1
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +4 -2
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +4 -1
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +4 -2
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +4 -1
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +4 -2
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +4 -1
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +4 -2
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +4 -1
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +4 -1
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +1 -1
- package/lib/components/Hero/Hero.js.map +1 -1
- package/lib/components/Hero/Hero.mjs +1 -1
- package/lib/components/Hero/Hero.mjs.map +1 -1
- 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/HeroVideo/HeroVideo.js.map +1 -1
- package/lib/components/HeroVideo/HeroVideo.mjs +5 -5
- package/lib/components/HeroVideo/HeroVideo.mjs.map +1 -1
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
- package/lib/components/ImageCarousel/ImageCarousel.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.mjs.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.js +4 -1
- package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +4 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +8 -8
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +1 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +8 -8
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +1 -1
- 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 +3 -1
- package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
- package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +4 -4
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.mjs +4 -4
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.mjs.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.js +2 -2
- package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.mjs +2 -2
- package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
- package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/Microsites/Microsites.types.js.map +1 -1
- package/lib/components/Microsites/Microsites.types.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +37 -26
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +37 -26
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +16 -8
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs +16 -8
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/context.d.ts +3 -3
- package/lib/components/ModelCompareV3/StickyGrid/context.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/context.mjs.map +1 -1
- 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/products/cloudKeyEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +4 -2
- 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 +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +3 -1
- 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 +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +5 -41
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +5 -21
- 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/redundantRj45Port.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +1 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +2 -2
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +1 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +1 -1
- package/lib/components/ProductCard/ProductCard.js +1 -1
- package/lib/components/ProductCard/ProductCard.js.map +1 -1
- package/lib/components/ProductCard/ProductCard.mjs +2 -2
- package/lib/components/ProductCard/ProductCard.mjs.map +1 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.js +2 -2
- package/lib/components/ProductCardPopup/ProductCardPopup.js.map +1 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs +2 -2
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +1 -1
- 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 +6 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +1 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +6 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
- package/lib/components/ProductWizard/ProductWizard.js +3 -3
- package/lib/components/ProductWizard/ProductWizard.js.map +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +3 -3
- package/lib/components/ProductWizard/ProductWizard.mjs.map +1 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +17 -4
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +1 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +17 -4
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +1 -1
- 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/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +87 -64
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs +87 -64
- package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
- package/lib/components/Search/Input/Input.d.ts +1 -1
- package/lib/components/Search/Input/Input.js +4 -4
- 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 +0 -1
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.mjs +0 -1
- package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
- package/lib/components/Search/Input/Input.types.d.ts +3 -2
- package/lib/components/StorageSliders/StorageSliders.context.js +17 -14
- package/lib/components/StorageSliders/StorageSliders.context.js.map +1 -1
- package/lib/components/StorageSliders/StorageSliders.context.mjs +17 -14
- package/lib/components/StorageSliders/StorageSliders.context.mjs.map +1 -1
- package/lib/components/StorybookUtils/StoryFaker.js.map +1 -1
- package/lib/components/StorybookUtils/StoryFaker.mjs.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.js +4 -4
- package/lib/components/VariantSelector/VariantSelector.js.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.mjs +4 -4
- package/lib/components/VariantSelector/VariantSelector.mjs.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.js +14 -16
- package/lib/components/VideoPlayerNew/VideoPlayer.js.map +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +14 -16
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs.map +1 -1
- 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/constants/address.d.ts +1 -1
- package/lib/constants/address.js +34 -34
- package/lib/constants/address.js.map +1 -1
- package/lib/constants/address.mjs +34 -34
- package/lib/constants/address.mjs.map +1 -1
- package/lib/constants/postalCode.js +10 -10
- package/lib/constants/postalCode.js.map +1 -1
- package/lib/constants/postalCode.mjs +10 -10
- package/lib/constants/postalCode.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.d.ts +16 -0
- package/lib/constants/proStoreCategories/mapping/filters.js +16 -0
- package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.mjs +16 -0
- package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +3 -2
- package/lib/constants/proStoreCategories/mapping/index.js +45 -51
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +44 -49
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
- package/lib/constants/proStoreCategories/mapping/redirects.js +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +8 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +8 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +8 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +4 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +4 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +45 -3
- package/lib/constants/proStoreFilters/mapping.js +119 -9
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +119 -9
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/constants/theme.js +4 -0
- package/lib/constants/theme.js.map +1 -1
- package/lib/constants/theme.mjs +4 -0
- package/lib/constants/theme.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +28 -27
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +28 -27
- 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/ux.d.ts +8 -11
- package/lib/helpers/ux.js +15 -4
- package/lib/helpers/ux.js.map +1 -1
- package/lib/helpers/ux.mjs +15 -4
- package/lib/helpers/ux.mjs.map +1 -1
- package/lib/hooks/useScrollToY.js.map +1 -1
- package/lib/hooks/useScrollToY.mjs.map +1 -1
- package/lib/utils/collectionSlug.js +2 -2
- package/lib/utils/collectionSlug.js.map +1 -1
- package/lib/utils/collectionSlug.mjs +2 -2
- package/lib/utils/collectionSlug.mjs.map +1 -1
- package/lib/utils/errors.js.map +1 -1
- package/lib/utils/errors.mjs.map +1 -1
- package/lib/utils/measures.js +1 -0
- package/lib/utils/measures.js.map +1 -1
- package/lib/utils/measures.mjs +1 -0
- package/lib/utils/measures.mjs.map +1 -1
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs.map +1 -1
- package/lib/utils/money/misc.js +1 -1
- package/lib/utils/money/misc.js.map +1 -1
- package/lib/utils/money/misc.mjs +1 -1
- package/lib/utils/money/misc.mjs.map +1 -1
- package/lib/utils/nextjs/ssr/transform-css-module.js.map +1 -1
- package/lib/utils/nextjs/ssr/transform-css-module.mjs.map +1 -1
- package/lib/utils/number.js.map +1 -1
- package/lib/utils/number.mjs.map +1 -1
- package/lib/utils/product.js +4 -4
- package/lib/utils/product.js.map +1 -1
- package/lib/utils/product.mjs +4 -4
- package/lib/utils/product.mjs.map +1 -1
- package/lib/utils/tags.js +2 -2
- package/lib/utils/tags.js.map +1 -1
- package/lib/utils/tags.mjs +2 -2
- package/lib/utils/tags.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport checkIconSvg from \"./assets/check.svg\";\nimport minusIconSvg from \"./assets/minus.svg\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport type {\n MutatedProperty,\n MutatedPropertyValue,\n} from \"./ModelCompareV3.types\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon =\n typeof checkIconSvg === \"string\" ? checkIconSvg : checkIconSvg.src;\nconst minusIcon =\n typeof minusIconSvg === \"string\" ? minusIconSvg : minusIconSvg.src;\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value $disableOverflow={productProperty?.value.type === \"boolean\"}>\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n
|
|
1
|
+
{"version":3,"file":"ModelComparePropertyValueGridItem.js","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport checkIconSvg from \"./assets/check.svg\";\nimport minusIconSvg from \"./assets/minus.svg\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport type {\n MutatedProperty,\n MutatedPropertyValue,\n} from \"./ModelCompareV3.types\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon =\n typeof checkIconSvg === \"string\" ? checkIconSvg : checkIconSvg.src;\nconst minusIcon =\n typeof minusIconSvg === \"string\" ? minusIconSvg : minusIconSvg.src;\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value $disableOverflow={productProperty?.value.type === \"boolean\"}>\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case \"custom\": {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case \"boolean\": {\n const icon = productProperty.value.value\n ? {\n src: checkIcon,\n width: 16,\n height: 12,\n }\n : {\n src: minusIcon,\n width: 11,\n height: 8,\n };\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case \"string\": {\n return (\n <Stack>\n {productProperty.value.value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","checkIconSvg","src","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","width","height","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","PropertyValueComponent","GridItem","languageDirection","useMenu","asterisks","useMemo","asterisk","i","push","join","jsxs","Fragment","BooleanWrap","BooleanAsterisks","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAMA,SACJ,GAAA,OAAOC,qBAAAA,CAAAA,SAAAA,CAAiB,KAAA,QAAA,GAAWA,qBAAAA,CAAAA,SAAAA,IAAeA,qBAAAA,CAAAA,SAAAA,CAAa,CAAAC,GAAA;AACjE,MAAMC,SACJ,GAAA,OAAOC,qBAAAA,CAAAA,SAAAA,CAAiB,KAAA,QAAA,GAAWA,qBAAAA,CAAAA,SAAAA,IAAeA,qBAAAA,CAAAA,SAAAA,CAAa,CAAAF,GAAA;AAE1D,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,sCACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,UAAA,CAAAA,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAAC,eAAAA,UAAAA,CAAAA,GAAA,CAAAE,iBAAAA,CAAAA,iBAAA,EAAA;UAAkBC,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAb,GAAA,EAAKM,QAAS,CAAAQ;QAAA,CAAM;MAChE,CAAA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,mBAAmBQ,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAQTS,uCAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -61,32 +61,43 @@ function PropertyValueComponent({
|
|
|
61
61
|
}
|
|
62
62
|
return asterisks2.join("");
|
|
63
63
|
}, [productProperty?.value.asterisk]);
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
64
|
+
switch (productProperty?.value.type) {
|
|
65
|
+
case "custom":
|
|
66
|
+
{
|
|
67
|
+
return /* @__PURE__ */jsxs(Fragment, {
|
|
68
|
+
children: [productProperty.value.value, asterisks]
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
case "boolean":
|
|
72
|
+
{
|
|
73
|
+
const icon = productProperty.value.value ? {
|
|
74
|
+
src: checkIcon,
|
|
75
|
+
width: 16,
|
|
76
|
+
height: 12
|
|
77
|
+
} : {
|
|
78
|
+
src: minusIcon,
|
|
79
|
+
width: 11,
|
|
80
|
+
height: 8
|
|
81
|
+
};
|
|
82
|
+
return /* @__PURE__ */jsxs(BooleanWrap, {
|
|
83
|
+
children: [/* @__PURE__ */jsx(StyleableSvgImage, {
|
|
84
|
+
...icon
|
|
85
|
+
}), asterisks && /* @__PURE__ */jsx(BooleanAsterisks, {
|
|
86
|
+
children: asterisks
|
|
87
|
+
})]
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
case "string":
|
|
91
|
+
{
|
|
92
|
+
return /* @__PURE__ */jsx(Stack, {
|
|
93
|
+
children: productProperty.value.value.split("\n").map((row, i, arr) => /* @__PURE__ */jsxs("div", {
|
|
94
|
+
dir: languageDirection,
|
|
95
|
+
children: [row, arr.length - 1 === i ? asterisks : null]
|
|
96
|
+
}, i))
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return null;
|
|
90
101
|
}
|
|
91
102
|
const Stack = styled.div`
|
|
92
103
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport checkIconSvg from \"./assets/check.svg\";\nimport minusIconSvg from \"./assets/minus.svg\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport type {\n MutatedProperty,\n MutatedPropertyValue,\n} from \"./ModelCompareV3.types\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon =\n typeof checkIconSvg === \"string\" ? checkIconSvg : checkIconSvg.src;\nconst minusIcon =\n typeof minusIconSvg === \"string\" ? minusIconSvg : minusIconSvg.src;\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value $disableOverflow={productProperty?.value.type === \"boolean\"}>\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n
|
|
1
|
+
{"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport checkIconSvg from \"./assets/check.svg\";\nimport minusIconSvg from \"./assets/minus.svg\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport type {\n MutatedProperty,\n MutatedPropertyValue,\n} from \"./ModelCompareV3.types\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon =\n typeof checkIconSvg === \"string\" ? checkIconSvg : checkIconSvg.src;\nconst minusIcon =\n typeof minusIconSvg === \"string\" ? minusIconSvg : minusIconSvg.src;\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value $disableOverflow={productProperty?.value.type === \"boolean\"}>\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case \"custom\": {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case \"boolean\": {\n const icon = productProperty.value.value\n ? {\n src: checkIcon,\n width: 16,\n height: 12,\n }\n : {\n src: minusIcon,\n width: 11,\n height: 8,\n };\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case \"string\": {\n return (\n <Stack>\n {productProperty.value.value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","checkIconSvg","src","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","width","height","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","PropertyValueComponent","GridItem","languageDirection","useMenu","asterisks","useMemo","asterisk","i","push","join","jsxs","Fragment","BooleanWrap","BooleanAsterisks","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;AAeA,MAAMA,SACJ,GAAA,OAAOC,qBAAiB,KAAA,QAAA,GAAWA,wBAAeA,qBAAa,CAAAC,GAAA;AACjE,MAAMC,SACJ,GAAA,OAAOC,qBAAiB,KAAA,QAAA,GAAWA,wBAAeA,qBAAa,CAAAF,GAAA;AAE1D,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,2BACGE,cACC,EAAA;MAA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
26
26
|
stickX
|
|
27
|
-
}) =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
}) => {
|
|
28
|
+
if (stickX === true) {
|
|
29
|
+
return styled.css`
|
|
30
|
+
position: sticky;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
if (typeof stickX === "string") {
|
|
36
|
+
return styled.css`
|
|
37
|
+
position: sticky;
|
|
38
|
+
left: ${stickX};
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
return void 0;
|
|
42
|
+
}}
|
|
35
43
|
`;
|
|
36
44
|
exports.StickyGridItem = StickyGridItem;
|
|
37
45
|
//# sourceMappingURL=StickyGridItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridItem.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX })
|
|
1
|
+
{"version":3,"file":"StickyGridItem.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX }) => {\n if (stickX === true) {\n return css`\n position: sticky;\n left: 0;\n right: 0;\n `;\n }\n\n if (typeof stickX === \"string\") {\n return css`\n position: sticky;\n left: ${stickX};\n `;\n }\n\n return undefined;\n }}\n`;\n"],"names":["StickyGridItem","stickX","props","ref","useRef","jsx","StyledStickyGridItem","styled","div","css"],"mappings":";;;;;;;;;;;;AAIO,SAASA,cAAeA,CAAA;EAC7BC,MAAA;EACA,GAAGC;AACL,CAEG,EAAA;EACK,MAAAC,GAAA,GAAMC,aAAuB,IAAI,CAAA;EAEvC,OAAQC,eAAAA,UAAAA,CAAAA,GAAA,CAAAC,oBAAA,EAAA;IAAqBH,GAAW;IAAA,GAAGD;IAAOD;EAAgB,CAAA,CAAA;AACpE;AAEA,MAAMK,uBAAuBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,IAChC,CAAC;EAAEP;CAAa,KAAA;EAChB,IAAIA,WAAW,IAAM,EAAA;IACZ,OAAAQ,UAAA;AAAA;AAAA;AAAA;AAAA,OAAA;EAKT;EAEI,IAAA,OAAOR,WAAW,QAAU,EAAA;IACvB,OAAAQ,UAAA;AAAA;AAAA,gBAEGR,MAAM;AAAA,OAAA;EAElB;EAEO,OAAA,KAAA,CAAA;AACT,CAAC;AAAA,CAAA;"}
|
|
@@ -16,14 +16,22 @@ function StickyGridItem({
|
|
|
16
16
|
const StyledStickyGridItem = styled.div`
|
|
17
17
|
${({
|
|
18
18
|
stickX
|
|
19
|
-
}) =>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
}) => {
|
|
20
|
+
if (stickX === true) {
|
|
21
|
+
return css`
|
|
22
|
+
position: sticky;
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
`;
|
|
26
|
+
}
|
|
27
|
+
if (typeof stickX === "string") {
|
|
28
|
+
return css`
|
|
29
|
+
position: sticky;
|
|
30
|
+
left: ${stickX};
|
|
31
|
+
`;
|
|
32
|
+
}
|
|
33
|
+
return void 0;
|
|
34
|
+
}}
|
|
27
35
|
`;
|
|
28
36
|
export { StickyGridItem };
|
|
29
37
|
//# sourceMappingURL=StickyGridItem.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyGridItem.mjs","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX })
|
|
1
|
+
{"version":3,"file":"StickyGridItem.mjs","sources":["../../../../src/components/ModelCompareV3/StickyGrid/StickyGridItem.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\nimport { useRef } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nexport function StickyGridItem({\n stickX,\n ...props\n}: { stickY?: boolean; stickX?: boolean | string } & ComponentProps<\n typeof StyledStickyGridItem\n>) {\n const ref = useRef<HTMLDivElement>(null);\n\n return <StyledStickyGridItem ref={ref} {...props} stickX={stickX} />;\n}\n\nconst StyledStickyGridItem = styled.div<{ stickX?: boolean | string }>`\n ${({ stickX }) => {\n if (stickX === true) {\n return css`\n position: sticky;\n left: 0;\n right: 0;\n `;\n }\n\n if (typeof stickX === \"string\") {\n return css`\n position: sticky;\n left: ${stickX};\n `;\n }\n\n return undefined;\n }}\n`;\n"],"names":["StickyGridItem","stickX","props","ref","useRef","jsx","StyledStickyGridItem","styled","div","css"],"mappings":";;;;AAIO,SAASA,cAAeA,CAAA;EAC7BC,MAAA;EACA,GAAGC;AACL,CAEG,EAAA;EACK,MAAAC,GAAA,GAAMC,OAAuB,IAAI,CAAA;EAEvC,OAAQ,eAAAC,GAAA,CAAAC,oBAAA,EAAA;IAAqBH,GAAW;IAAA,GAAGD;IAAOD;EAAgB,CAAA,CAAA;AACpE;AAEA,MAAMK,uBAAuBC,MAAO,CAAAC,GAAA;AAAA,IAChC,CAAC;EAAEP;CAAa,KAAA;EAChB,IAAIA,WAAW,IAAM,EAAA;IACZ,OAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA,OAAA;EAKT;EAEI,IAAA,OAAOR,WAAW,QAAU,EAAA;IACvB,OAAAQ,GAAA;AAAA;AAAA,gBAEGR,MAAM;AAAA,OAAA;EAElB;EAEO,OAAA,KAAA,CAAA;AACT,CAAC;AAAA,CAAA;"}
|
|
@@ -9,9 +9,9 @@ export type StickyGridContextType = {
|
|
|
9
9
|
setIsAtMaxX: (value: boolean) => void;
|
|
10
10
|
setIsAtMinX: (value: boolean) => void;
|
|
11
11
|
scrollTo: (offset: {
|
|
12
|
-
top?: number
|
|
13
|
-
left?: number
|
|
14
|
-
behavior?: "smooth"
|
|
12
|
+
top?: number;
|
|
13
|
+
left?: number;
|
|
14
|
+
behavior?: "smooth";
|
|
15
15
|
}) => void;
|
|
16
16
|
scrollGroupItemsRef: RefObject<ScrollGroupItem[]>;
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/context.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { createContext, useContext } from \"react\";\n\nimport type { ScrollGroupItem } from \"../ScrollGroup/context\";\n\nexport const StickyGridContext = createContext<StickyGridContextType | null>(\n null,\n);\n\nexport type StickyGridContextType = {\n templateColumns: string;\n gap: string | undefined;\n isAtMinX: boolean;\n isAtMaxX: boolean;\n setIsAtMaxX: (value: boolean) => void;\n setIsAtMinX: (value: boolean) => void;\n scrollTo: (offset: {\n top?: number
|
|
1
|
+
{"version":3,"file":"context.js","sources":["../../../../src/components/ModelCompareV3/StickyGrid/context.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { createContext, useContext } from \"react\";\n\nimport type { ScrollGroupItem } from \"../ScrollGroup/context\";\n\nexport const StickyGridContext = createContext<StickyGridContextType | null>(\n null,\n);\n\nexport type StickyGridContextType = {\n templateColumns: string;\n gap: string | undefined;\n isAtMinX: boolean;\n isAtMaxX: boolean;\n setIsAtMaxX: (value: boolean) => void;\n setIsAtMinX: (value: boolean) => void;\n scrollTo: (offset: {\n top?: number;\n left?: number;\n behavior?: \"smooth\";\n }) => void;\n scrollGroupItemsRef: RefObject<ScrollGroupItem[]>;\n};\n\nexport function useStickyGrid() {\n const value = useContext(StickyGridContext);\n if (!value) {\n throw new Error(\"Please wrap this component in <StickyGrid />\");\n }\n return value;\n}\n"],"names":["StickyGridContext","createContext","useStickyGrid","value","useContext","Error"],"mappings":";;;;AAKO,MAAMA,iBAAoB,GAAAC,KAAA,CAAAA,aAAA,CAC/B,IACF,CAAA;AAiBO,SAASC,aAAgBA,CAAA,EAAA;EACxB,MAAAC,KAAA,GAAQC,iBAAWJ,iBAAiB,CAAA;EAC1C,IAAI,CAACG,KAAO,EAAA;IACJ,MAAA,IAAIE,MAAM,8CAA8C,CAAA;EAChE;EACO,OAAAF,KAAA;AACT;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.mjs","sources":["../../../../src/components/ModelCompareV3/StickyGrid/context.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { createContext, useContext } from \"react\";\n\nimport type { ScrollGroupItem } from \"../ScrollGroup/context\";\n\nexport const StickyGridContext = createContext<StickyGridContextType | null>(\n null,\n);\n\nexport type StickyGridContextType = {\n templateColumns: string;\n gap: string | undefined;\n isAtMinX: boolean;\n isAtMaxX: boolean;\n setIsAtMaxX: (value: boolean) => void;\n setIsAtMinX: (value: boolean) => void;\n scrollTo: (offset: {\n top?: number
|
|
1
|
+
{"version":3,"file":"context.mjs","sources":["../../../../src/components/ModelCompareV3/StickyGrid/context.tsx"],"sourcesContent":["import type { RefObject } from \"react\";\nimport { createContext, useContext } from \"react\";\n\nimport type { ScrollGroupItem } from \"../ScrollGroup/context\";\n\nexport const StickyGridContext = createContext<StickyGridContextType | null>(\n null,\n);\n\nexport type StickyGridContextType = {\n templateColumns: string;\n gap: string | undefined;\n isAtMinX: boolean;\n isAtMaxX: boolean;\n setIsAtMaxX: (value: boolean) => void;\n setIsAtMinX: (value: boolean) => void;\n scrollTo: (offset: {\n top?: number;\n left?: number;\n behavior?: \"smooth\";\n }) => void;\n scrollGroupItemsRef: RefObject<ScrollGroupItem[]>;\n};\n\nexport function useStickyGrid() {\n const value = useContext(StickyGridContext);\n if (!value) {\n throw new Error(\"Please wrap this component in <StickyGrid />\");\n }\n return value;\n}\n"],"names":["StickyGridContext","createContext","useStickyGrid","value","useContext","Error"],"mappings":";;AAKO,MAAMA,iBAAoB,GAAAC,aAAA,CAC/B,IACF,CAAA;AAiBO,SAASC,aAAgBA,CAAA,EAAA;EACxB,MAAAC,KAAA,GAAQC,WAAWJ,iBAAiB,CAAA;EAC1C,IAAI,CAACG,KAAO,EAAA;IACJ,MAAA,IAAIE,MAAM,8CAA8C,CAAA;EAChE;EACO,OAAAF,KAAA;AACT;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/port.svg";
|
|
2
|
+
export { default } from "../../../assets/port.svg";
|
|
3
3
|
//# sourceMappingURL=port.svg.mjs.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('../../../../constants/proStoreCategories/index.js');
|
|
4
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
3
5
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
4
6
|
require('../../assets/CloudKeys/cloudKeyEnterprise.jpg.js');
|
|
5
7
|
var deployment = require('../properties/deployment.js');
|
|
@@ -17,10 +19,10 @@ var image__default = /*#__PURE__*/_interopDefault(image);
|
|
|
17
19
|
const cloudKeyEnterprise = {
|
|
18
20
|
id: "cloudKeyEnterprise",
|
|
19
21
|
title: "cloudKeyEnterprise.title",
|
|
20
|
-
techspecsPath: [mapping.SiteId.TechSpecs,
|
|
22
|
+
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.AdvancedHosting}/cloud-key-enterprise`],
|
|
21
23
|
storePathParts: {
|
|
22
24
|
productSlug: "cloud-key-enterprise",
|
|
23
|
-
category:
|
|
25
|
+
category: unifi.UniFiCategorySlug.AdvancedHosting
|
|
24
26
|
},
|
|
25
27
|
sku: "CK-Enterprise",
|
|
26
28
|
description: "cloudKeyEnterprise.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudKeyEnterprise.js","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyEnterprise.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyEnterprise.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyEnterprise: Product = {\n id: \"cloudKeyEnterprise\",\n title: \"cloudKeyEnterprise.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n
|
|
1
|
+
{"version":3,"file":"cloudKeyEnterprise.js","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyEnterprise.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyEnterprise.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyEnterprise: Product = {\n id: \"cloudKeyEnterprise\",\n title: \"cloudKeyEnterprise.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.AdvancedHosting}/cloud-key-enterprise`,\n ],\n storePathParts: {\n productSlug: \"cloud-key-enterprise\",\n category: UniFiCategorySlug.AdvancedHosting,\n },\n sku: \"CK-Enterprise\",\n description: \"cloudKeyEnterprise.description\",\n descriptionMaxWidth: 300,\n image: {\n src: image,\n width: 342,\n height: 140,\n },\n propertyValues: [\n {\n propertyId: unifiDevices.id,\n value: { type: \"string\", value: \"1,000+\" },\n },\n {\n propertyId: networkingInterface.id,\n value: { type: \"string\", value: \"(1) 10G SFP+\\n(1) GbE\" },\n },\n {\n propertyId: formFactor.id,\n value: { type: \"translation\", value: \"cloudKeyEnterprise.formFactor\" },\n },\n {\n propertyId: deployment.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyEnterprise.deployment\",\n },\n },\n ],\n};\n"],"names":["cloudKeyEnterprise","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","AdvancedHosting","storePathParts","productSlug","category","UniFiCategorySlug","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiDevices","value","type","networkingInterface","formFactor","deployment"],"mappings":";;;;;;;;;;;;;;;;;;AAUO,MAAMA,kBAA8B,GAAA;EACzCC,EAAI,EAAA,oBAAA;EACJC,KAAO,EAAA,0BAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,eAAe,uBAAA,CAC3C;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,sBAAA;IACbC,UAAUC,KAAkB,CAAAA,iBAAA,CAAAJ;EAC9B,CAAA;EACAK,GAAK,EAAA,eAAA;EACLC,WAAa,EAAA,gCAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,YAAa,CAAAA,YAAA,CAAApB,EAAA;IACzBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYI,mBAAoB,CAAAA,mBAAA,CAAAvB,EAAA;IAChCqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAwB;EAC1D,CAAA,EACA;IACEF,YAAYK,UAAW,CAAAA,UAAA,CAAAxB,EAAA;IACvBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAgC;EACvE,CAAA,EACA;IACEF,YAAYM,UAAW,CAAAA,UAAA,CAAAzB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '../../../../constants/proStoreCategories/index.mjs';
|
|
2
|
+
import { UniFiCategoryId, UniFiCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
1
3
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
2
4
|
import '../../assets/CloudKeys/cloudKeyEnterprise.jpg.mjs';
|
|
3
5
|
import { deployment } from '../properties/deployment.mjs';
|
|
@@ -9,10 +11,10 @@ import image__default from "../../../../assets/cloudKeyEnterprise.jpg";
|
|
|
9
11
|
const cloudKeyEnterprise = {
|
|
10
12
|
id: "cloudKeyEnterprise",
|
|
11
13
|
title: "cloudKeyEnterprise.title",
|
|
12
|
-
techspecsPath: [SiteId.TechSpecs,
|
|
14
|
+
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.AdvancedHosting}/cloud-key-enterprise`],
|
|
13
15
|
storePathParts: {
|
|
14
16
|
productSlug: "cloud-key-enterprise",
|
|
15
|
-
category:
|
|
17
|
+
category: UniFiCategorySlug.AdvancedHosting
|
|
16
18
|
},
|
|
17
19
|
sku: "CK-Enterprise",
|
|
18
20
|
description: "cloudKeyEnterprise.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudKeyEnterprise.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyEnterprise.tsx"],"sourcesContent":["import { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyEnterprise.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyEnterprise: Product = {\n id: \"cloudKeyEnterprise\",\n title: \"cloudKeyEnterprise.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n
|
|
1
|
+
{"version":3,"file":"cloudKeyEnterprise.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyEnterprise.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyEnterprise.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyEnterprise: Product = {\n id: \"cloudKeyEnterprise\",\n title: \"cloudKeyEnterprise.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.AdvancedHosting}/cloud-key-enterprise`,\n ],\n storePathParts: {\n productSlug: \"cloud-key-enterprise\",\n category: UniFiCategorySlug.AdvancedHosting,\n },\n sku: \"CK-Enterprise\",\n description: \"cloudKeyEnterprise.description\",\n descriptionMaxWidth: 300,\n image: {\n src: image,\n width: 342,\n height: 140,\n },\n propertyValues: [\n {\n propertyId: unifiDevices.id,\n value: { type: \"string\", value: \"1,000+\" },\n },\n {\n propertyId: networkingInterface.id,\n value: { type: \"string\", value: \"(1) 10G SFP+\\n(1) GbE\" },\n },\n {\n propertyId: formFactor.id,\n value: { type: \"translation\", value: \"cloudKeyEnterprise.formFactor\" },\n },\n {\n propertyId: deployment.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyEnterprise.deployment\",\n },\n },\n ],\n};\n"],"names":["cloudKeyEnterprise","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","AdvancedHosting","storePathParts","productSlug","category","UniFiCategorySlug","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiDevices","value","type","networkingInterface","formFactor","deployment"],"mappings":";;;;;;;;;;AAUO,MAAMA,kBAA8B,GAAA;EACzCC,EAAI,EAAA,oBAAA;EACJC,KAAO,EAAA,0BAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,eAAe,uBAAA,CAC3C;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,sBAAA;IACbC,UAAUC,iBAAkB,CAAAJ;EAC9B,CAAA;EACAK,GAAK,EAAA,eAAA;EACLC,WAAa,EAAA,gCAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,YAAa,CAAApB,EAAA;IACzBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAS;EAC3C,CAAA,EACA;IACEF,YAAYI,mBAAoB,CAAAvB,EAAA;IAChCqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAwB;EAC1D,CAAA,EACA;IACEF,YAAYK,UAAW,CAAAxB,EAAA;IACvBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAgC;EACvE,CAAA,EACA;IACEF,YAAYM,UAAW,CAAAzB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -19,10 +19,10 @@ var image__default = /*#__PURE__*/_interopDefault(image);
|
|
|
19
19
|
const cloudKeyG2Plus = {
|
|
20
20
|
id: "cloudKeyG2Plus",
|
|
21
21
|
title: "cloudKeyG2Plus.title",
|
|
22
|
-
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.
|
|
22
|
+
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.AdvancedHosting}/uck-g2-ssd`],
|
|
23
23
|
storePathParts: {
|
|
24
24
|
productSlug: "uck-g2-ssd",
|
|
25
|
-
category: unifi.UniFiCategorySlug.
|
|
25
|
+
category: unifi.UniFiCategorySlug.AdvancedHosting
|
|
26
26
|
},
|
|
27
27
|
sku: "UCK-G2-PLUS",
|
|
28
28
|
description: "cloudKeyG2Plus.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudKeyG2Plus.js","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyG2Plus.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyG2Plus.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyG2Plus: Product = {\n id: \"cloudKeyG2Plus\",\n title: \"cloudKeyG2Plus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.
|
|
1
|
+
{"version":3,"file":"cloudKeyG2Plus.js","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyG2Plus.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyG2Plus.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyG2Plus: Product = {\n id: \"cloudKeyG2Plus\",\n title: \"cloudKeyG2Plus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.AdvancedHosting}/uck-g2-ssd`,\n ],\n storePathParts: {\n productSlug: \"uck-g2-ssd\",\n category: UniFiCategorySlug.AdvancedHosting,\n },\n sku: \"UCK-G2-PLUS\",\n description: \"cloudKeyG2Plus.description\",\n descriptionMaxWidth: 320,\n image: {\n src: image,\n width: 342,\n height: 140,\n },\n propertyValues: [\n {\n propertyId: unifiDevices.id,\n value: { type: \"string\", value: \"40+\" },\n },\n {\n propertyId: networkingInterface.id,\n value: { type: \"string\", value: \"(1) GbE PoE\" },\n },\n {\n propertyId: formFactor.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyG2Plus.formFactor\",\n },\n },\n {\n propertyId: deployment.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyG2Plus.deployment\",\n },\n },\n ],\n};\n"],"names":["cloudKeyG2Plus","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","AdvancedHosting","storePathParts","productSlug","category","UniFiCategorySlug","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiDevices","value","type","networkingInterface","formFactor","deployment"],"mappings":";;;;;;;;;;;;;;;;;;AAUO,MAAMA,cAA0B,GAAA;EACrCC,EAAI,EAAA,gBAAA;EACJC,KAAO,EAAA,sBAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,eAAe,aAAA,CAC3C;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,YAAA;IACbC,UAAUC,KAAkB,CAAAA,iBAAA,CAAAJ;EAC9B,CAAA;EACAK,GAAK,EAAA,aAAA;EACLC,WAAa,EAAA,4BAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,YAAa,CAAAA,YAAA,CAAApB,EAAA;IACzBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAM;EACxC,CAAA,EACA;IACEF,YAAYI,mBAAoB,CAAAA,mBAAA,CAAAvB,EAAA;IAChCqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAc;EAChD,CAAA,EACA;IACEF,YAAYK,UAAW,CAAAA,UAAA,CAAAxB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYM,UAAW,CAAAA,UAAA,CAAAzB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -11,10 +11,10 @@ import image__default from "../../../../assets/cloudKeyG2Plus.jpg";
|
|
|
11
11
|
const cloudKeyG2Plus = {
|
|
12
12
|
id: "cloudKeyG2Plus",
|
|
13
13
|
title: "cloudKeyG2Plus.title",
|
|
14
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.
|
|
14
|
+
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.AdvancedHosting}/uck-g2-ssd`],
|
|
15
15
|
storePathParts: {
|
|
16
16
|
productSlug: "uck-g2-ssd",
|
|
17
|
-
category: UniFiCategorySlug.
|
|
17
|
+
category: UniFiCategorySlug.AdvancedHosting
|
|
18
18
|
},
|
|
19
19
|
sku: "UCK-G2-PLUS",
|
|
20
20
|
description: "cloudKeyG2Plus.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudKeyG2Plus.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyG2Plus.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyG2Plus.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyG2Plus: Product = {\n id: \"cloudKeyG2Plus\",\n title: \"cloudKeyG2Plus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.
|
|
1
|
+
{"version":3,"file":"cloudKeyG2Plus.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/cloudKeyG2Plus.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/CloudKeys/cloudKeyG2Plus.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { deployment } from \"../properties/deployment\";\nimport { formFactor } from \"../properties/formFactor\";\nimport { networkingInterface } from \"../properties/networkingInterface\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\n\nexport const cloudKeyG2Plus: Product = {\n id: \"cloudKeyG2Plus\",\n title: \"cloudKeyG2Plus.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.AdvancedHosting}/uck-g2-ssd`,\n ],\n storePathParts: {\n productSlug: \"uck-g2-ssd\",\n category: UniFiCategorySlug.AdvancedHosting,\n },\n sku: \"UCK-G2-PLUS\",\n description: \"cloudKeyG2Plus.description\",\n descriptionMaxWidth: 320,\n image: {\n src: image,\n width: 342,\n height: 140,\n },\n propertyValues: [\n {\n propertyId: unifiDevices.id,\n value: { type: \"string\", value: \"40+\" },\n },\n {\n propertyId: networkingInterface.id,\n value: { type: \"string\", value: \"(1) GbE PoE\" },\n },\n {\n propertyId: formFactor.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyG2Plus.formFactor\",\n },\n },\n {\n propertyId: deployment.id,\n value: {\n type: \"translation\",\n value: \"cloudKeyG2Plus.deployment\",\n },\n },\n ],\n};\n"],"names":["cloudKeyG2Plus","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","AdvancedHosting","storePathParts","productSlug","category","UniFiCategorySlug","sku","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiDevices","value","type","networkingInterface","formFactor","deployment"],"mappings":";;;;;;;;;;AAUO,MAAMA,cAA0B,GAAA;EACrCC,EAAI,EAAA,gBAAA;EACJC,KAAO,EAAA,sBAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,eAAe,aAAA,CAC3C;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,YAAA;IACbC,UAAUC,iBAAkB,CAAAJ;EAC9B,CAAA;EACAK,GAAK,EAAA,aAAA;EACLC,WAAa,EAAA,4BAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,YAAa,CAAApB,EAAA;IACzBqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAM;EACxC,CAAA,EACA;IACEF,YAAYI,mBAAoB,CAAAvB,EAAA;IAChCqB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAc;EAChD,CAAA,EACA;IACEF,YAAYK,UAAW,CAAAxB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYM,UAAW,CAAAzB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var styled = require('styled-components');
|
|
5
5
|
require('../../../../constants/proStoreCategories/index.js');
|
|
6
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
6
7
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
7
8
|
require('../../../StyleableSvgImage/index.js');
|
|
8
9
|
require('../../assets/Consoles/bigCompare/express.jpg.js');
|
|
@@ -20,7 +21,6 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
20
21
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
21
22
|
var wanPorts = require('../properties/wanPorts.js');
|
|
22
23
|
var StyleableSvgImage$1 = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
23
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
24
24
|
var image = require("../../../../assets/express.jpg");
|
|
25
25
|
var applications = require("../../../../assets/wifi-device.svg");
|
|
26
26
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
@@ -40,9 +40,9 @@ const express = {
|
|
|
40
40
|
id: "express",
|
|
41
41
|
title: "express.title",
|
|
42
42
|
description: "express.description",
|
|
43
|
-
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.
|
|
43
|
+
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/ux`],
|
|
44
44
|
storePathParts: {
|
|
45
|
-
category:
|
|
45
|
+
category: unifi.UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
46
46
|
productSlug: "ux"
|
|
47
47
|
},
|
|
48
48
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"express.js","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/express.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\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\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const express: Product = {\n id: \"express\",\n title: \"express.title\",\n description: \"express.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.
|
|
1
|
+
{"version":3,"file":"express.js","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { UniFiChildCategorySlug } from \"../../../../constants/proStoreCategories/mapping/unifi\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/express.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\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\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const express: Product = {\n id: \"express\",\n title: \"express.title\",\n description: \"express.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/ux`,\n ],\n storePathParts: {\n category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,\n productSlug: \"ux\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n notes: [\"express.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: \"express.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"express.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"express.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.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: \"boolean\",\n value: false,\n },\n },\n // {\n // propertyId: power.id,\n // value: {\n // type: \"string\",\n // value: \"USB type C (5V DC/3A) 10W\",\n // },\n // },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"express.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"express.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","express","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiChildCategorySlug","CloudGatewaysWifiIntegrated","productSlug","image","src","width","height","notes","propertyValues","propertyId","unifiAppSuite","value","type","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAMA,iBAAA,GAAoBC,eAAAA,CAAAA,SAAAA,EAAOC,mBAAAA,CAAAA,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,OAAmB,GAAA;EAC9BC,EAAI,EAAA,SAAA;EACJC,KAAO,EAAA,eAAA;EACPC,WAAa,EAAA,qBAAA;EACbC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,aAAa,KAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,KAAuB,CAAAA,sBAAA,CAAAC,2BAAA;IACjCC,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,eAAe,CAAA;EACvBC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAA,aAAA,CAAApB,EAAA;IAC1BqB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQzB,iBAAkB,EAAA;QAAAkB,GAAA,EAAKS;QAAcP,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEI,YAAYK,UAAW,CAAAA,UAAA,CAAAxB,EAAA;IACvBqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYM,gBAAiB,CAAAA,gB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A;IAC5BqB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
4
|
+
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
4
5
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
5
6
|
import '../../../StyleableSvgImage/index.mjs';
|
|
6
7
|
import '../../assets/Consoles/bigCompare/express.jpg.mjs';
|
|
@@ -18,7 +19,6 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
18
19
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
19
20
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
20
21
|
import { StyleableSvgImage as StyleableSvgImage$1 } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
21
|
-
import { UniFiCategoryId } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
22
22
|
import image__default from "../../../../assets/express.jpg";
|
|
23
23
|
import applications__default from "../../../../assets/wifi-device.svg";
|
|
24
24
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
@@ -30,9 +30,9 @@ const express = {
|
|
|
30
30
|
id: "express",
|
|
31
31
|
title: "express.title",
|
|
32
32
|
description: "express.description",
|
|
33
|
-
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.
|
|
33
|
+
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.CloudGateways}/ux`],
|
|
34
34
|
storePathParts: {
|
|
35
|
-
category:
|
|
35
|
+
category: UniFiChildCategorySlug.CloudGatewaysWifiIntegrated,
|
|
36
36
|
productSlug: "ux"
|
|
37
37
|
},
|
|
38
38
|
image: {
|